Move object to the ITCM

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

Move object to the ITCM

1,602 Views
michaeldkfowler
Contributor IV

Hello,

 I have followed he instructions here: https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Relocating-code-from-FLASH-to-RAM/m-p/473993 under "Relocating particular objects into RAM" to relocate some code into RAM. The code was loaded into RAM, but into the ".data" section. I have the ".data" section configured to be in the DTCM, but I want the code in the ITCM. How do I modify the .ldt files to put the code in the ITCM?

Tags (1)
0 Kudos
Reply
1 Reply

1,579 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @michaeldkfowler ,

You can refer to RT1060 flexspi_nor_polling_transfer demo. It put some of flexspi related code in RAM. The .ldt file is in linkscripts folder. For more detail of .ldt file, please refer to MCUXpresso IDE reference manual.

 

Regards,

Jing

0 Kudos
Reply