Skip to content

Comments

Multi sdk#5

Draft
pillo79 wants to merge 5 commits intomainfrom
multi-sdk
Draft

Multi sdk#5
pillo79 wants to merge 5 commits intomainfrom
multi-sdk

Conversation

@pillo79
Copy link
Owner

@pillo79 pillo79 commented Feb 16, 2026

No description provided.

@pillo79 pillo79 force-pushed the multi-sdk branch 4 times, most recently from c7e5216 to 8e5eafd Compare February 16, 2026 14:46
The bootstrap script currently limits the SDK install to arm-zephyr-eabi
as an hardcoded value.

This commit reuses the same logic currently used for HALs to get a list
of needed toolchains from the boards.txt file, and installs all of them.
This allows for other toolchains to be added in the future.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
Move shared common functions to a common file to reduce duplication.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
This commit introduces a mechanism to auto-generate board-specific
properties in a new file called `boards.local.txt` during the build
process. The `build.sh` script now extracts relevant information from
the generated files and updates `boards.local.txt` with properties such
as upload address, maximum sketch size, maximum data size, and
machine-specific flags (architecture, MCU, FPU, float ABI).

The `package_core.yml` workflow has been updated to gather all relevant
fields from each build's local files and append them to the official
'boards.txt' that is released.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
Use the 'west blobs' machinery for Zephyr modules to provide the
interface for downloading the Zephyr API. This allows us to remove the
submodule and the install script, and to avoid having to rely on a
symlink or manual steps in the installation instructions.

During the build process, the source archive is extracted in a
version-specific directory under zephyr/blobs/ArduinoCore-API, and then
copied into the cores/arduino/api folder. This is done only once per
API version.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
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.

1 participant