S32K311_LD_FILE_modification

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

S32K311_LD_FILE_modification

1,031 Views
nirmal_masilamani
Contributor IV

Hello,

I have attached the ld file from S32K146, we want to use the same configuration in S32K311.

Could you please support us in modifiying .ld file for S32K311?

Tags (3)
0 Kudos
Reply
2 Replies

1,016 Views
nirmal_masilamani
Contributor IV

Hi,

I am trying to run 7 task using FREERTOS, but unable to increase heap size in OS Config. If i increase more then 8KB, getting .ld error.

 

How to increase int_sram size to full my OS required?

nirmal_masilamani_0-1748260443824.png

nirmal_masilamani_1-1748260484649.png

 

 

Tags (2)
0 Kudos
Reply

994 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @nirmal_masilamani,

The size of sram_bss occupied by your program has exceeded the length of the int_sram space you defined. You need to either increase the sram size in the linker file, or place it somewhere else.

There is a community post explaining how to move the heap into DTCM, please refer to it: HOWTO: Move FreeRTOS Heap into DTCM memory - S32K3xx + RTD - NXP Community.

There is also this other post showcasing how to implement ITCM & DTCM into the project: Example Siul2_Port_Ip_Example_S32K344_ITCM_DTCM S32DS3.4 RTD300 - NXP Community.

Best regards,

Hi @nirmal_masilamani,

The size of sram_bss occupied by your program has exceeded the length of the int_sram space you defined. You need to either increase the sram size in the linker file, or place it somewhere else.

There is a community post explaining how to move the heap into DTCM, please refer to it: HOWTO: Move FreeRTOS Heap into DTCM memory - S32K3xx + RTD - NXP Community.

There is also this other post showcasing how to implement ITCM & DTCM into the project: Example Siul2_Port_Ip_Example_S32K344_ITCM_DTCM S32DS3.4 RTD300 - NXP Community.

Best regards,
Julián

 

0 Kudos
Reply