Skip to content

bootstrap / build.sh cleanups #121

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 5 commits into from
May 14, 2025
Merged

Conversation

pillo79
Copy link

@pillo79 pillo79 commented May 13, 2025

  • Make bootstrap.sh install the Zephyr SDK automatically
  • Make build.sh take at least one argument, print list of targets if no argument or -h/--help given
  • Document these changes in the README.md of the repo

pillo79 added 2 commits May 13, 2025 17:54
This commit updates the build.sh script to require a board argument, and
print a list of available targets when no argument is given. The script
also updates the README.md file to document this change.

Signed-off-by: Luca Burelli <[email protected]>
This commit adds the command to install the Zephyr SDK using the `west` tool
in the `bootstrap.sh` script. This reduces the complexity of the installation
process and ensures that the correct version of the SDK is used.

Signed-off-by: Luca Burelli <[email protected]>
@pillo79 pillo79 force-pushed the pr-bootstrap-cleanup branch from dd34251 to 5c9bace Compare May 14, 2025 06:55
@pillo79 pillo79 force-pushed the pr-bootstrap-cleanup branch 6 times, most recently from ceabab9 to 9e077e9 Compare May 14, 2025 14:47
@pillo79 pillo79 force-pushed the pr-bootstrap-cleanup branch from 9e077e9 to ddfa8b0 Compare May 14, 2025 14:54
@pillo79 pillo79 marked this pull request as ready for review May 14, 2025 15:04
@pillo79 pillo79 merged commit 8349ff2 into arduino:arduino May 14, 2025
15 checks passed
@KurtE
Copy link

KurtE commented May 16, 2025

@pillo79 and all - Thought I would mention,
I updated my RPI5 with SSD to the current stuff.

I deleted my old ArduinoCore-zephyr and then cloned it.
I then did your updated bootstrap.sh

The one thing that the bootstrap did not do was to set the ZEPHYR_SDK_INSTALL_DIR location.
So I added it to the .bashrc file...

I was able to to run the build_all.sh script and was able to flash the bootloader for an H7 and program the blink example sketch.

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