Skip to content

Update to 4.2.0-rc3 #154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jul 17, 2025
Merged

Update to 4.2.0-rc3 #154

merged 8 commits into from
Jul 17, 2025

Conversation

pillo79
Copy link

@pillo79 pillo79 commented Jul 16, 2025

  • Zephyr 4.2.0-rc3 + usual patches
  • Flexible python tool to get the addresses of symbols from the Zephyr binary and create the files with PROVIDE(...) entries
  • Renamed "llext" to "dynamic" and "linked" to "static" in the menus
  • Added undefined reference to...-style checks to dynamic builds (needs a not-yet-released arduino-cli)

pillo79 added 8 commits July 16, 2025 12:57
Switch to 4.2.0-rc3 + outstanding PRs.
Add a new Python script `extra/gen_provides.py` to generate the
provides.ld file for linked builds, replacing the previous
approach that used 'readelf' and 'gdb'.

Signed-off-by: Luca Burelli <[email protected]>
Stop the build when a sketch exceeds the maximum size defined by the
'user_sketch' node in the device tree.

Signed-off-by: Luca Burelli <[email protected]>
- compiler.zephyr.arch.define is always included in generated
  cflags/cxxflags
- compiler.zephyr is always empty
- build.extra_extra_ldflags is not used anywhere
Refactor C33 'linked' mode into a common 'static' build, and the usual
LLEXT mode as 'dynamic' build.
This commit adds compile-time checking of the sketch to verify that all
symbols not directly resolved in the sketch are defined in the Zephyr
core. This reuses the 'linked' logic, but defines the llext-specific
symbols only.

Signed-off-by: Luca Burelli <[email protected]>
@facchinm facchinm merged commit a3fa5b8 into arduino:arduino Jul 17, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants