[riot-notifications] [RIOT-OS/RIOT] make: allow to override RESET and RESET_FLAGS for all boards and tools (#11649)

Gaƫtan Harter notifications at github.com
Fri Jun 7 12:08:32 CEST 2019


If you want to prevent the pattern to be re-appearing in the future, you can add a detection for it in https://github.com/cladmi/RIOT/blob/master/dist/tools/buildsystem_sanity_check/check.sh

I checked the output right now.

```
#! /bin/sh
BOARDS=$(find boards/* -maxdepth 0 -type d \! -name "common" -exec basename {} \;)

list_all_variables() {
    for BOARD in ${BOARDS}
    do
        export BOARD
        echo ${BOARD}
        make --no-print-directory -C examples/hello-world/ info-debug-variable-RESET info-debug-variable-RESET_FLAGS
    done
}

list_all_variables | tee $1_output_simple
PROGRAMMER=jlink list_all_variables | tee $1_output_jlink
```

And the output of `RESET` and `RESET_FLAGS` is the same also with `PROGRAMMER=jlink`.

The `uniflash 3` looks good even if not re-tested locally.

-- 
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/11649#issuecomment-499831262
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190607/79f281b9/attachment.html>


More information about the notifications mailing list