Open
Conversation
Flash mode (RAM) has always been a hack; get rid of it with a better syncronization with arduino-router and arduino-appl-cli, gpio based
5 tasks
Built
|
| Artifact | Board | Core | Tests | RAM | Sketches | Warnings | Errors |
|---|---|---|---|---|---|---|---|
✅* zephyr_contrib |
ek_ra8d1
| 📗 | ✅* |
11.9% |
2 | 2 | - |
frdm_mcxn947
| 3 🏷️ | ✅* |
57.9% |
2 | 2 | - | |
frdm_rw612
| 1 🏷️ | ✅* |
83.0% |
2 | 2 | - | |
✔️* zephyr_main |
giga
| 4 🏷️ | ✅* |
54.5% |
44 | 14 | - |
nano33ble
| 1 🏷️ | ✅* |
78.7% |
22 | 10 | - | |
nano_matter
| 📗 | ✔️* |
|
20 | 10 | (2*) | |
niclasense
| 2 🏷️ | ✅* |
|
20 | 10 | - | |
opta
| 4 🏷️ | ✔️* |
46.6% |
54 | 26 | (2*) | |
portentac33
| 3 🏷️ | ✔️* |
|
56 | 28 | (8*) | |
portentah7
| 3 🏷️ | ✔️* |
47.3% |
58 | 28 | (2*) | |
✅* zephyr_unoq |
unoq
| 📗 | ✅* |
26.3% |
52 | 10 | - |
Legend
Board Test Status description 🔥 🔥 Test run failed to complete. ❌ 🔴 Test completed with unexpected errors. ✔️* 🚫 Test completed with errors, but all are known/expected. ✅* 🟡 Test completed with some warnings; no errors detected. ✅ 🟢 Test passed successfully, with no warnings or errors. 🌑 🌑 Test was skipped.
lucarin91
reviewed
Mar 2, 2026
| // wait for another pin toggle | ||
| while (gpio_pin_get_dt(&spec) != 0) { | ||
| k_sleep(K_MSEC(10)); | ||
| } |
There was a problem hiding this comment.
Maybe we should make this more robust by setting a max length of the LOW state, e.g., 200ms?
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The current implementation of "Flash Mode=RAM" was meant to syncronize the startup of the microcontroller with an application launched by AppLab.
However, it has a bunch of limitiations which make it basically useless for bigger projects.
Replace it with another step of (gpio-based) syncronization, so AppLab can safely decide when to unlock the boot.
@lucarin91 @pillo79