Move object to the ITCM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Move object to the ITCM

1,114 次查看
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?

标记 (1)
0 项奖励
回复
1 回复

1,091 次查看
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 项奖励
回复