dist/testbed-support: add reset after flash for IoT-LAB nodes#22287
dist/testbed-support: add reset after flash for IoT-LAB nodes#22287baptleduc wants to merge 1 commit into
Conversation
Without an explicit flash-recipe, the default was used which skips the node reset. The iotlab-flash-recipe now runs reset after flash to ensure the firmware starts correctly. Signed-off-by: Baptiste Le Duc <baptiste.le-duc@vates.tech>
|
🤔 I wonder whether this also fixes some release test weirdness with iotlab |
There is only one way to find out... Do another release! 😈 |
Could I help you in any way ? |
That was just a joke. The release tests can be run without doing a release too :D |
Oops 😅😂 But do you want me to open a PR in te iot lab repo ? |
|
Hello, |
makefile.iotlab.single.inc.mkdoes not defineflash-recipe, so it falls back to the default defined inMakefile.include:832:This default doesn't reset the board after flashing. As a result, the node does not restart automatically and produces no output until a manual reset is triggered.
This was observed on
b-l072z-lrwan1nodes at the IoT-LAB Saclay site:examples/basic/hello-worldproduced no serial output aftermake flash termuntil the node was reset manually.Fix: define an
iotlab-flash-recipethat appends a reset step after flashing.Testing procedure
Tested on
b-l072z-lrwan1at IoT-LAB Saclay. After flashing, the node now resets automatically and serial output appears immediately without manual intervention.Issues/PRs references
Originally posted in #22271 (comment)
Declaration of AI Tools / LLMs usage