[riot-notifications] [RIOT-OS/RIOT] make: verify before flash (#11093)

Gaƫtan Harter notifications at github.com
Wed Mar 6 08:32:24 CET 2019


I tested, and with `edbg` it does not break incremental flashing like done in `makefiles/boot/riotboot.mk`. The file currently does not use `flash-recipe` but I updated it do to it.

@jcarrano On `edbg` it resets the board on the check.

Both these case should be documented as requirements.

Another solution is to allow overwriting `flash-recipe` and currently overwrite it for `edbg` only.
I think would just need to replace the current recipe name by `default-flash-recipe` and do `flash-recipe ?= default-flash-recipe`. And then in `edbg.inc.mk` do `flash-recipe = edbg-flash-recipe` that defines the new behavior.

-- 
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/11093#issuecomment-469999895
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190305/8126ed9f/attachment.html>


More information about the notifications mailing list