group more nrf52840 boards

This commit is contained in:
hathach
2020-11-28 01:06:10 +07:00
parent 658194ccc4
commit f0ffe7b984
21 changed files with 259 additions and 809 deletions
@@ -1,2 +1,7 @@
$(BUILD)/$(BOARD)-firmware.zip: $(BUILD)/$(BOARD)-firmware.hex
adafruit-nrfutil dfu genpkg --dev-type 0x0052 --sd-req 0xFFFE --application $^ $@
# flash using adafruit-nrfutil dfu
flash: flash-adafruit-nrfutil
flash-adafruit-nrfutil: $(BUILD)/$(BOARD)-firmware.zip
@:$(call check_defined, SERIAL, example: SERIAL=/dev/ttyACM0)
adafruit-nrfutil --verbose dfu serial --package $^ -p $(SERIAL) -b 115200 --singlebank --touch 1200