-
Notifications
You must be signed in to change notification settings - Fork 8.2k
boards: st: correct or add RAM/Flash sizes in some ST boards YAML files #98198
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
boards: st: correct or add RAM/Flash sizes in some ST boards YAML files #98198
Conversation
Fix several RAM size that are wrong regarding what is defined in the related board device tree. In many cases, SoC DTSI files have been changed to split internal RAMs and related boards YAML file was not updated accordingly. This is the case of H5xx, H7xx In the case of stm32g081b_eval, polarity bytes are not default enabled hence the internal SRAM size of 36kB, not 32kB. Stm32mp135f was wrongly set with 256KB RAM and Flash whereas the board assigns 256MB for each. Stm32mp157c_dk2 assigned SRAM1, SRAM2 and SRAM3 to Zephyr hence providing 320kB of system RAM. Fix several typos setting RAM size to 786 whereas 768 is expected. Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Add system flash size and/or RAM size tags in ST boards YAML files where the information is missing. Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
a8fc13f to
a3cd6e9
Compare
|
| - usart | ||
| - tsc | ||
| ram: 40 | ||
| ram: 32 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The two SRAMs are split in distinct node in DTSI but they are contiguous. Maybe DT needs a revision (out of PR scope)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, i'll propose something in a dedicated P-R.
| - zephyr | ||
| sysbuild: true | ||
| ram: 640 | ||
| ram: 256 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto here.
|
FYI @etienne-lms: |
|
Ok, i'll fill it. |
|
Review comments addressed. |



Correct the Zephyr RAM and flash sizes defined in ST boards YAML files to help twister with these boards constraints.