Conversation
c7e5216 to
8e5eafd
Compare
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>
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.
No description provided.