How place RTD RAM on DTCM memory

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How place RTD RAM on DTCM memory

Jump to solution
386 Views
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.

 

 

 

 

 

Tags (1)
0 Kudos
Reply
1 Solution
348 Views
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. 

View solution in original post

0 Kudos
Reply
1 Reply
349 Views
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 Kudos
Reply