Repository navigation
configs: bring up SDRAM early with negative driver_order - #3
Merged
Merged
Conversation
FMC pins now use driver_order=-9 and the SDRAM controller -8, so the external SDRAM heap starts right after dmclk (-10) instead of after the order-0 drivers, which otherwise exhaust DTCM first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CV8sEDamRQuQ1KTge3vQDR
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.
In
stm32f746g-disco/sdram.ini, the FMC pin sections now usedriver_order=-9and the[sdram]controller uses-8. The external SDRAM heap therefore starts right after dmclk (-10), instead of after the drivers that use order 0. The examples inconfigs/README.mdanddocs/configuration.mdare updated to match.The pins stay strictly before the controller (-9 < -8), so the pins-before-FMC guarantee is kept.
Companion PRs: choco-technologies/dmclk, choco-technologies/dmgpio (same branch).
🤖 Generated with Claude Code
https://claude.ai/code/session_01CV8sEDamRQuQ1KTge3vQDR
Generated by Claude Code