[riot-notifications] [RIOT-OS/RIOT] Particle boards: Support monofirmware builds and uploads (#12751)
notifications at github.com
Fri Nov 6 13:24:09 CET 2020
@chrysn commented on this pull request.
> - # option is passed explicitly
- FLASH_TARGET_TYPE ?= -t nrf52840
- include $(RIOTMAKE)/tools/pyocd.inc.mk
-else ifeq (openocd,$(PROGRAMMER))
- DEBUG_ADAPTER ?= dap
+ CFLAGS += -DPARTICLE_MONOFIRMWARE
+ ROM_OFFSET = 0x30000
+ FW_ROM_LEN = 0xc4000
+ FLASHFILE = $(BINFILE)-checksummed
+ # Setting DFU_ARGS won't work as the implied --reset causes errors.
+ FFLAGS = -d 0x2B04:0xD00E -a 0 -s 0x30000:leave -D $(FLASHFILE)
+ PROGRAMMER = dfu-util
+ include $(RIOTMAKE)/tools/dfu.inc.mk
+ USEMODULE += usb_board_reset
Waah, asynchronous communication :-)
It's still something completely different than what is in this PR (if nothing else, it'd be missing from the changelogs if changed here), so if it's all the same to you, I'd leave that as is up to the point of having included the `usb_board_reset.mk` (for it sure is newly available), and will take the steps you neatly laid out to a separate PR.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications