[riot-notifications] [RIOT-OS/RIOT] edbg: verify before flash (#12301)

Dylan Laduranty notifications at github.com
Wed Sep 25 21:07:43 CEST 2019


dylad requested changes on this pull request.

I found a nice one.

>  
 ifeq ($(RIOT_EDBG),$(FLASHER))
   FLASHDEPS += $(RIOT_EDBG)
 endif
 RESET ?= $(EDBG)
-RESET_FLAGS ?= $(EDBG_ARGS) -t $(EDBG_DEVICE_TYPE)
+RESET_FLAGS ?= $(EDBG_ARGS) --target $(EDBG_DEVICE_TYPE)
+
+define edbg-flash-recipe
+  $(call check_cmd,$(FLASHER),Flash program)
+  $(FLASHER) $(FFLAGS) --verify || $(FLASHER) $(FFLAGS) --verify --program
+endef

I am not a makefile specialist but THIS !

-- 
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/12301#pullrequestreview-293300617
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190925/9ddc699b/attachment-0001.htm>


More information about the notifications mailing list