NXP, Linker scripts, and MCUxpresso extension for VS Code

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

NXP, Linker scripts, and MCUxpresso extension for VS Code

453 Views
litch
Contributor I

Edit: Currently hand editing the linker scripts and it works, but wondering if there isn't something "better" i should be doing.

I am trying to use the 256KB secondary SRAM region (m_data2 in the linker scripts) as my .bss segment

Normally, I'd just edit the linker scripts for my projects and go from there. That's what I do on my STM32 environments.

But before I go and start ripping up project files, are the contents of the ./armgcc folder under the project regenerated ever? (I doubt it, I just want to check my assumptions)

And also, if they are regenerated, or otherwise, is there a better way to use the secondary 256KB SDRAM region on my chip? By default it seems it's not mapped to any region in my code.

0 Kudos
Reply
1 Reply

366 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @litch 

Which chip you are using?

BR

Harry

0 Kudos
Reply