How place RTD RAM on DTCM memory

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How place RTD RAM on DTCM memory

跳至解决方案
468 次查看
francescovico
Contributor III

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.

 

 

 

 

 

标记 (1)
0 项奖励
回复
1 解答
430 次查看
carlos_o
NXP TechSupport
NXP TechSupport

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)

 

image (2).png

- Check the "Remove unused sections" (Project Properties > C/C++ Build > Settings > Standard S32DS C Linker > Miscellaneous)

image (3).png

 

Let me know if you have more questions. 

在原帖中查看解决方案

0 项奖励
回复
1 回复
431 次查看
carlos_o
NXP TechSupport
NXP TechSupport

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)

 

image (2).png

- Check the "Remove unused sections" (Project Properties > C/C++ Build > Settings > Standard S32DS C Linker > Miscellaneous)

image (3).png

 

Let me know if you have more questions. 

0 项奖励
回复