extra: check-size: use ELF section flags instead of name matching#385
Open
gibix wants to merge 1 commit intoarduino:mainfrom
Open
extra: check-size: use ELF section flags instead of name matching#385gibix wants to merge 1 commit intoarduino:mainfrom
gibix wants to merge 1 commit intoarduino:mainfrom
Conversation
Select sections by their ELF flags (SHF_ALLOC, SHF_WRITE) rather than matching against a hardcoded list of section names. This is more robust as it automatically handles renamed or custom sections. - Static mode: SHF_ALLOC + SHF_WRITE (writable RAM sections) - Dynamic mode: SHF_ALLOC (all loaded sections go to LLEXT heap) - NO_RELOC: .llext.rodata.noreloc still excluded by name 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 | - | - |
frdm_mcxn947
| 3 🏷️ | ✅ |
58.0% |
2 | - | - | |
frdm_rw612
| 1 🏷️ | ✅ |
83.0% |
2 | - | - | |
✔️* zephyr_main |
giga
| 4 🏷️ | ✅* |
54.5% |
44 | 12 | - |
nano33ble
| 1 🏷️ | ✅* |
78.7% |
22 | 8 | - | |
nano_matter
| 📗 | ✔️* |
|
20 | 8 | (2*) | |
niclasense
| 2 🏷️ | ✅* |
|
20 | 8 | - | |
opta
| 4 🏷️ | ✔️* |
46.7% |
54 | 26 | (2*) | |
portentac33
| 3 🏷️ | ✔️* |
|
56 | 26 | (8*) | |
portentah7
| 3 🏷️ | ✔️* |
47.3% |
58 | 26 | (2*) | |
✅* zephyr_unoq |
unoq
| 📗 | ✅* |
26.3% |
52 | 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.
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.
Select sections by their ELF flags (SHF_ALLOC, SHF_WRITE) rather than matching against a hardcoded list of section names. This is more robust as it automatically handles renamed or custom sections.