tools: sketch: build .ota update files#480
Conversation
Built
|
| Artifact | Board | Core | Tests | RAM | Sketches | Warnings | Errors |
|---|---|---|---|---|---|---|---|
✅* zephyr_contrib |
ek_ra8d1
| 📗 | ✅* |
11.9% |
2 | 2 | - |
frdm_mcxn947
| 7 🏷️ | ✅* |
58.0% |
2 | 2 | - | |
frdm_rw612
| 2 🏷️ | ✅* |
83.0% |
2 | 2 | - | |
✔️* zephyr_main |
giga
| 5 🏷️ | ✅* |
54.7% |
58 | 16 | - |
nano33ble
| 1 🏷️ | ✅* |
78.8% |
30 | 10 | - | |
nano_matter
| 1 🏷️ | ✅* |
|
22 | 8 | - | |
nicla_vision
| 5 🏷️ | ✔️* |
57.0% |
52 | 8 | (10*) | |
niclasense
| 2 🏷️ | ✅* |
|
26 | 10 | - | |
opta
| 5 🏷️ | ✅* |
57.7% |
62 | 18 | - | |
portentac33
| 3 🏷️ | ✔️* |
|
66 | 8 | (8*) | |
portentah7
| 4 🏷️ | ✅* |
58.4% |
74 | 16 | - | |
✅* zephyr_unoq |
unoq
| 📗 | ✅* |
26.9% |
56 | 8 | - |
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.
Built
|
| Artifact | Board | Core | Tests | RAM | Sketches | Warnings | Errors |
|---|---|---|---|---|---|---|---|
✅* zephyr_contrib |
ek_ra8d1
| 📗 | ✅* |
11.9% |
2 | 2 | - |
frdm_mcxn947
| 7 🏷️ | ✅* |
58.0% |
2 | 2 | - | |
frdm_rw612
| 2 🏷️ | ✅* |
83.0% |
2 | 2 | - | |
✔️* zephyr_main |
giga
| 5 🏷️ | ✅* |
54.7% |
58 | 16 | - |
nano33ble
| 1 🏷️ | ✅* |
78.8% |
30 | 10 | - | |
nano_matter
| 1 🏷️ | ✅* |
|
22 | 8 | - | |
nicla_vision
| 5 🏷️ | ✔️* |
57.0% |
52 | 8 | (10*) | |
niclasense
| 2 🏷️ | ✅* |
|
26 | 12 | - | |
opta
| 5 🏷️ | ✅* |
57.7% |
62 | 18 | - | |
portentac33
| 3 🏷️ | ✔️* |
|
66 | 8 | (8*) | |
portentah7
| 4 🏷️ | ✅* |
58.5% |
74 | 16 | - | |
✅* zephyr_unoq |
unoq
| 📗 | ✅* |
26.9% |
56 | 8 | - |
Legend
Board Test Status description 🔥 🔥 Test run failed to complete. ❌ 🔴 Test completed with unexpected errors. ⁉️ ⁉️ Test was expected to fail but passed; exception entry is outdated. ✔️* 🚫 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.
| var otaLoader = flag.String("loader", "", "[ota] loader binary path") | ||
| var otaSketch = flag.String("sketch", "", "[ota] sketch binary path (the mangled -zsk.bin artifact)") | ||
| var otaOffset = flag.String("offset", "", "[ota] sketch offset in merged binary (hex)") | ||
| var otaMagic = flag.String("magic", "", "[ota] board magic number (hex, 32-bit)") | ||
| var otaOutput = flag.String("ota-output", "", "[ota] output base path (default: derived from -sketch)") |
There was a problem hiding this comment.
Add ota- prefix to all sub-options. Also, what is the difference between output and ota-output?
There was a problem hiding this comment.
a leftover because originally was a separate tool, but we can remove it
| {".loader.ota", merged, false, "loader+sketch"}, | ||
| {".loader.lzss.ota", merged, true, "loader+sketch (LZSS)"}, |
There was a problem hiding this comment.
Maybe use _bundle.ota or something similar?
There was a problem hiding this comment.
you mean bundle instead of loader and also get rid of the first dot?
There was a problem hiding this comment.
yes (it's not the loader but loader + sketch). also, it would be one extension less for the cloud 🤣
Built
|
| Artifact | Board | Core | Tests | RAM | Sketches | Warnings | Errors |
|---|---|---|---|---|---|---|---|
✅* zephyr_contrib |
ek_ra8d1
| 📗 | ✅* |
11.9% |
2 | 2 | - |
frdm_mcxn947
| 7 🏷️ | ✅* |
58.0% |
2 | 2 | - | |
frdm_rw612
| 2 🏷️ | ✅* |
83.0% |
2 | 2 | - | |
✔️* zephyr_main |
giga
| 5 🏷️ | ✅* |
54.7% |
58 | 16 | - |
nano33ble
| 1 🏷️ | ✅* |
78.8% |
30 | 10 | - | |
nano_matter
| 1 🏷️ | ✅* |
|
22 | 8 | - | |
nicla_sense
| 2 🏷️ | ✅* |
|
18 | 12 | - | |
nicla_vision
| 5 🏷️ | ✔️* |
57.0% |
52 | 16 | (2*) | |
opta
| 5 🏷️ | ✅* |
57.7% |
62 | 18 | - | |
portentac33
| 3 🏷️ | ✅* |
|
66 | 16 | - | |
portentah7
| 4 🏷️ | ✅* |
58.5% |
74 | 16 | - | |
✅* zephyr_unoq |
unoq
| 📗 | ✅* |
26.9% |
56 | 8 | - |
Legend
Board Test Status description 🔥 🔥 Test run failed to complete. ❌ 🔴 Test completed with unexpected errors. ⁉️ ⁉️ Test was expected to fail but passed; exception entry is outdated. ✔️* 🚫 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.
Wraps a sketch (and optionally the loader) in the 20-byte Arduino OTA header and LZSS-compresses the payload. Invoked from postobjcopy hooks in platform.txt. Signed-off-by: Gilberto Conti <g.conti@arduino.cc>
Built
|
| Artifact | Board | Core | Tests | RAM | Sketches | Warnings | Errors |
|---|---|---|---|---|---|---|---|
✅* zephyr_contrib |
ek_ra8d1
| 📗 | ✅* |
11.9% |
2 | 2 | - |
frdm_mcxn947
| 7 🏷️ | ✅* |
58.0% |
2 | 2 | - | |
frdm_rw612
| 2 🏷️ | ✅* |
83.0% |
2 | 2 | - | |
✔️* zephyr_main |
giga
| 5 🏷️ | ✅* |
54.7% |
58 | 16 | - |
nano33ble
| 1 🏷️ | ✅* |
78.8% |
30 | 8 | - | |
nano_matter
| 1 🏷️ | ✅* |
|
22 | 8 | - | |
nicla_sense
| 2 🏷️ | ✅* |
|
18 | 8 | - | |
nicla_vision
| 5 🏷️ | ✔️* |
57.0% |
52 | 16 | (2*) | |
opta
| 5 🏷️ | ✅* |
57.7% |
62 | 18 | - | |
portentac33
| 3 🏷️ | ✅* |
|
66 | 16 | - | |
portentah7
| 4 🏷️ | ✅* |
58.5% |
74 | 16 | - | |
✅* zephyr_unoq |
unoq
| 📗 | ✅* |
26.9% |
56 | 8 | - |
Legend
Board Test Status description 🔥 🔥 Test run failed to complete. ❌ 🔴 Test completed with unexpected errors. ⁉️ ⁉️ Test was expected to fail but passed; exception entry is outdated. ✔️* 🚫 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.
|
Memory usage change @ 1aeefdf
Click for full report table
Click for full report CSV |
Wraps a sketch (and optionally the loader) in the 20-byte Arduino OTA header and LZSS-compresses the payload. Invoked from postobjcopy hooks in platform.txt.