How to put codes in different memory

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

How to put codes in different memory

695 Views
leexiao
Contributor I

I am now using MIMXRT1050 Evaluation board under MCUXpresso. How can I put some of my codes in the SRAM_OC? When I was using LPCXpresso I can implement it using the following instruction.

__TEXT_EXT(RAM3,initSPI) void initSPI(void)

But it did not work for the MCUXpresso and MIMXRT1050 Evaluation board. Your help will be appreciated.

Regards.

Lee Xiao

0 Kudos
Reply
1 Reply

598 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Lee,

Please try using the __RAMFUNC(RAM3) Macro, you can find more information on this link:

https://community.nxp.com/message/630735 


Hope it helps!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 Kudos
Reply