sam4e8e: Fix bug in sam4e gpio.c (#563)

The bank_id was calculated erroneously. Also unify gpio_in_setup and gpio_out_setup a bit. Also disable make flash for the sam4e8e port as it currently references a version of bossac that is not present on all systems.

Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
This commit is contained in:
Florian Heilmann
2018-08-24 19:17:53 +02:00
committed by KevinOConnor
parent a8a912fbb5
commit b065f51454
2 changed files with 14 additions and 5 deletions

View File

@@ -33,5 +33,5 @@ $(OUT)klipper.bin: $(OUT)klipper.elf
$(Q)$(OBJCOPY) -O binary $< $@
flash: $(OUT)klipper.bin
@echo " Flashing $^ to $(FLASH_DEVICE) via bossac"
$(Q)tools/bossa/bin/bossac --port="$(FLASH_DEVICE)" -b -U -e -w -v $(OUT)klipper.bin -R
@echo ""
@echo " The SAM4E8E build does not currently support 'make flash'"