make: allow to override RESET and RESET_FLAGS for all boards and tools#11649
make: allow to override RESET and RESET_FLAGS for all boards and tools#11649cladmi merged 10 commits intoRIOT-OS:masterfrom
Conversation
|
heh piling up those commits 😆 |
that's (really) just so we can identify and revert if a certain board or tool fails 😬 |
|
Would be good to verify all the values are still the same with |
|
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. And the output of The |
|
It is also a task I would like to have with |
|
thanks @cladmi for review and merge!! |
Contribution description
This PR adapts Makefiles to allow for overriding the RESET command (or tool) and required RESET_FLAGS (if any present). For some boards like sam0 based once this is already possible, this PR adds this for all remaining.
This is required to allow for custom or special reset commands, for instance when running hardware-in-the-loop tests in a well known (special) environment which might allow to reset a board by controlling the power via a side-channel.
Testing procedure
try to run
make resetfor you favourite board that should still work. You may also try to runRESET="" RESET_FLAGS="" make resetwhich than should fail to reset the board.Issues/PRs references