AnsweredAssumed Answered

How to allocate C++ code to ITCM

Question asked by Takashi Kashiwagi on Sep 26, 2018
Latest reply on Oct 1, 2018 by Takashi Kashiwagi

Hi MCUXpresso IDE Team.

 

I have using IMXRT1050-EVKB with MCUXpresso IDE.

 

I allocate  most C code to SDRAM, and a part of C code (kernel and tasks...) to ITC by attribute keyword. And I want to allocate C++ code to ITC.

But I can't, becase C++ code references ".ARM.exidx" in SDRAM(0x8004673c ~).

 

Please tell me how to solve with MCUXpresso IDE.

 

 

MCUXpresso IDE's error message:

--

(.ARM.exidx.ramfunc.$SRAM_ITC+0x0): relocation truncated to fit: R_ARM_PREL31 against `.ramfunc.$SRAM_ITC'

--

 

 

Best regards,

T.Kashiwagi

Outcomes