<p></p>
<p><b>@chrysn</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/12751#discussion_r518718154">boards/common/particle-mesh/Makefile.include</a>:</p>
<pre style='color:#555'>> -  # option is passed explicitly
-  FLASH_TARGET_TYPE ?= -t nrf52840
-  include $(RIOTMAKE)/tools/pyocd.inc.mk
-else ifeq (openocd,$(PROGRAMMER))
-  DEBUG_ADAPTER ?= dap
+ifeq (1,$(PARTICLE_MONOFIRMWARE))
+  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
</pre>
<p>Waah, asynchronous communication :-)</p>
<p>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 <code>usb_board_reset.mk</code> (for it sure is newly available), and will take the steps you neatly laid out to a separate PR.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/12751#discussion_r518718154">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYDMOVST32IFPYHVJLTSOPTGTANCNFSM4JPRK5VA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYCYUBHKIY5LJ5NMFZDSOPTGTA5CNFSM4JPRK5VKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOD5GHK4Y.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/12751#discussion_r518718154",
"url": "https://github.com/RIOT-OS/RIOT/pull/12751#discussion_r518718154",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>