Move object to the ITCM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Move object to the ITCM

1,046件の閲覧回数
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,023件の閲覧回数
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 件の賞賛
返信