2017-11-23 02:31 AM
Dear all,
I'm using STM32H743ZI (nucleo-H743ZI board)
This µc have 1Mb of SRAM (512 Kbytes of user sram ?)
When i declare array of 100k uint16
I have this error message :
'section `.bss' will not fit in region `DTCMRAM''
region `DTCMRAM' overflowed by 79544 bytes
How I can place this array in User SRAM ? Not in DTCMRAM ?
Thanks in advance
Solved! Go to Solution.
2017-11-23 05:05 AM
I resolved my problem
I define my variable in specific sections
.mysection:
{ KEEP(*(.MysectionSection)) /* keep my variable even if not referenced */ } > RAM_D1It's now ok,
Thanks
2017-11-23 04:52 AM
Use the attribute setting to direct the allocation into a different section?
Look at what you have defined in your linker script or scatter file.
2017-11-23 05:05 AM
I resolved my problem
I define my variable in specific sections
.mysection:
{ KEEP(*(.MysectionSection)) /* keep my variable even if not referenced */ } > RAM_D1It's now ok,
Thanks