Skip to content
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

Possible fix for stm32H7 crashes #9962

Merged
merged 1 commit into from
Jan 16, 2025
Merged

Conversation

snkYmkrct
Copy link

From this open issue #5470 and discussions in the Adafruit discord server, it looks like the builds for the stm32H7 family have been broken for a while.

Based on my tests, it seems the problem is using the ITCM memory -- it generates a hard fault at runtime. Using the default code placement with no ITCM allows CircuitPython to run correctly.

I am still investigating what causes the hard fault -- help would be welcome -- but these changes are a temporary workaround to make the existing stm32H7 builds usable again.

@tannewt tannewt self-requested a review January 16, 2025 17:50
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix! I'm hoping to move STM32 over to zephyr pretty quickly.

@tannewt tannewt merged commit ce84b7d into adafruit:main Jan 16, 2025
36 checks passed
@TheRegularDX
Copy link

nice!

@snkYmkrct snkYmkrct deleted the Stm32H7-fix branch January 17, 2025 17:45
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.

3 participants