Hello,
I'm using RTD , but adding RTDs components the RAM the compiler had this error:
Ld error: region `int_sram_no_cacheable_c0' overflowed by 2380 bytes
This RAM it's full (it's only 8KB).
DTCM instead is 60 KB
For this reason, I would like move all RTD variables in DTCM memory.
How I can do this ?
Regards.
Solved! Go to Solution.
Hi @francescovico,
Thanks for your question
The suggestion is to not move the RTD RAM on D-TCM
To achieve your you goal to have enough space you could try to optimize your app, you could use as reference S32K3xx How to optimization APP code for get more high performance - NXP Community
Also, you could try the following configuration:
- Remove the "-fno-short-enums" option (Project Properties > C/C++ Build > Settings > Optimization)
- Check the "Remove unused sections" (Project Properties > C/C++ Build > Settings > Standard S32DS C Linker > Miscellaneous)
Let me know if you have more questions.
Hi @francescovico,
Thanks for your question
The suggestion is to not move the RTD RAM on D-TCM
To achieve your you goal to have enough space you could try to optimize your app, you could use as reference S32K3xx How to optimization APP code for get more high performance - NXP Community
Also, you could try the following configuration:
- Remove the "-fno-short-enums" option (Project Properties > C/C++ Build > Settings > Optimization)
- Check the "Remove unused sections" (Project Properties > C/C++ Build > Settings > Standard S32DS C Linker > Miscellaneous)
Let me know if you have more questions.