S32K116, RTD footprint, FlexRam, linker file

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

S32K116, RTD footprint, FlexRam, linker file

381 Views
francoisdugue
Contributor III

Hi all.

I'm working with S32K116 device and RTD from NXP.

i'm shocked regarding size of generated drivers...

Adding 3/4 RTD drivers [adc; i2c; pwm; can; timer...], not MCAL, lead to have more than 60% of RAM and Flash occupied

Maybe I have miss configure something. Please don't hesitate if you have some tips

I have another question, FlexRam usage.

I understood risk as there is no ECC.

I'm able to create memory region in the linker file and perform basic usage of it.

int_flexRam : ORIGIN = 0x14000000, LENGTH = 0x000007FF /* FlexRam Space */
volatile uint32_t __attribute__((section(".flexram"))) u32MyVar[10] ;

 

I would like to tel the linker to use the FlexRam in addition to the sram.

Is there a way to do something like bellow?

{

/* data, bss,... sections*/

} > int_sram, int_flexram

 

Thanks in advance for your answers.

Regards.

0 Kudos
0 Replies