[riot-notifications] [RIOT-OS/RIOT] cpu/esp32: Add openocd programming support (#16911)

Erik Ekman notifications at github.com
Wed Sep 29 20:22:18 CEST 2021


@yarrick commented on this pull request.



> @@ -49,7 +49,14 @@ ifneq (,$(OPENOCD_CMD_RESET_RUN))
   $(call target-export-variables,reset,OPENOCD_CMD_RESET_RUN)
 endif
 
-OPENOCD_FLASH_TARGETS = flash flash-only
+OPENOCD_DEBUG_TARGETS = debug debugr debug-server
+
+ifneq (,$(OPENOCD_DBG_EXTRA_CMD))
+  # Export OPENOCD_DBG_EXTRA_CMD only to the flash/flash-only target
+  $(call target-export-variables,$(OPENOCD_DEBUG_TARGETS),OPENOCD_DBG_EXTRA_CMD)
+endif
+
+OPENOCD_FLASH_TARGETS = flash flashr

I didn't see flash-only elsewhere in the file (except in comments) so I assumed it was left here when removed elsewhere.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16911#discussion_r718775946
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210929/93f9dfc5/attachment.htm>


More information about the notifications mailing list