Skip to content

zephyr: update to zephyr-arduino-20250520 #125

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 3 commits into from
May 20, 2025

Conversation

pillo79
Copy link

@pillo79 pillo79 commented May 20, 2025

  • fix build.sh requiring Python env or ZEPHYR_SDK_INSTALL_DIR
  • fix readelf not being found in CI
  • add missing cmsis_6 submodule
  • fix DCMI overlays
  • fix merged shield name

pillo79 added 3 commits May 20, 2025 11:23
The SDK is now automatically chosen, installed and detected by the
scripts. This hardcoded path was causing issues with readelf not
being found anymore.

Also, this was hiding the fact that the environment was being activated
too late in the workflow, requiring the user to manually source the
venv/bin/activate script or have the ZEPHYR_SDK_INSTALL_DIR variable
in the environment.
The sketch partition size was slightly overflowing the original
"image-1" partition, causing corruption on the storage partition.
- add missing cmsis_6 submodule
- fix DCMI overlays
- fix merged shield name
@pillo79 pillo79 merged commit 5a4a6fb into arduino:arduino May 20, 2025
15 checks passed
@KurtE
Copy link

KurtE commented May 20, 2025

I synced up my windows machine this morning, and did the west update
I did a build_all.sh
And copied the stuff back to the windows version.

Built blink on Portenta H7, reflashed reprogrammed and now:

*** Booting Zephyr OS build v3.7.0-16360-gd851814b6c4d ***
[00:00:00.207,000] <err> flash_stm32h7: Range ovelaps flash bank discontinuity
[00:00:00.218,000] <err> flash_stm32h7: Read range invalid. Offset: 917504, len:                                                                                16
Failed to read header, rc -22
uart:~$

Will try on a linux machine.

@KurtE
Copy link

KurtE commented May 20, 2025

@pillo79 - just synced up Ubuntu machine and did the same and same failure

@pillo79
Copy link
Author

pillo79 commented May 20, 2025

Thanks for the quick feedback. Confirmed, looking for a fix now!

@pillo79
Copy link
Author

pillo79 commented May 20, 2025

@KurtE you spotted a bug in ST's driver! 🥇
Issue should be now fixed by this commit in our Zephyr fork. Can you do a west update (or re-run sync-zephyr-artifacts to get the new ones!) and try again? Thanks!

@KurtE
Copy link

KurtE commented May 20, 2025

Looks like it is working on my Ubuntu machine.

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