Memory Configuration and Linker Script

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

Memory Configuration and Linker Script

328 Views
KAVIN_M
Contributor II

I'm working on the iMXRT1176 using MCUXpresso IDE, need to add 2 new parts with existing Board Flash.
For example, Memory A (0x30000000), Board Flash (0x30040000), Memory C (0x30080000) it is done within the MCU settings (properties).

Question:
     Now My code's text section needs to map to Board Flash. How to do it?

0 Kudos
Reply
2 Replies

291 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @KAVIN_M ,

Thanks for your interest in NXP MIMXRT series!

We recommend you to check this post first, he will help you in your application scenario: https://mcuoneclipse.com/2021/05/26/placing-code-in-sections-with-managed-gnu-linker-scripts/

Best regards,
Gavin

0 Kudos
Reply

282 Views
KAVIN_M
Contributor II

Hi @Gavin_Jia 
Thanks for your response

I read it and shifted my section from Flash 1 to Flash 2 (refer the img).
But in debug.ld still the content in the Flash 1 remains the same. Then the %age used in clear
Is it ok to accept this as correct change ?

KAVIN_M_0-1739355618317.png

KAVIN_M_1-1739355669644.png

 

 

Tags (1)
0 Kudos
Reply