How do I put the BSS part of the SRAM in the dtcm

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

How do I put the BSS part of the SRAM in the dtcm

352 Views
zenging
Contributor I

HI,NXP

企业微信截图_17283578082919.png

On the S32K311 chip, I imported a library that took up about 70KB of BSS segment. I would like to ask if there is any way to put the BSS part of SRAM in the dtcm.

0 Kudos
Reply
1 Reply

329 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

We don’t have example code for this specific configuration, but I can offer example code for using DTCM/ITCM memories in the project:

https://community.nxp.com/t5/S32K-Knowledge-Base/Example-Siul2-Port-Ip-Example-S32K344-ITCM-DTCM-S32...

Modification has been done in following files:

- main.c

- startup_cm7.s

- linker_flash_s32k344.ld

Modifying of linker command file in order to put .bss section should not be difficult.

0 Kudos
Reply