I know that when creating the sample from MCUXpresso SDK, we can config memory. But I created the sample, I changed many files in this sample and now I want to change memory configuration for my sample (I could not create new the sample, set memory and change files again because the number of changed files is very large).
Whether I can config memory configuration after creating the sample and how? Thank you.
I found this method Right click to project => Properties → C/C++ Build → MCU settings. Is that correct?
Hi @nnxxpp ,
Thanks for your interest in NXP MIMXRT series!
Yes, the memory configuration can be changed after the SDK example has been created. There is no need to recreate the project.
After updating the Memory Configuration, please clean and rebuild the project, and verify the generated linker script and map file.
This applies when the project uses MCUXpresso managed linker scripts. If a custom .ld file is used, please modify that linker script directly.
In addition, I’d like to mention the image view window provided by the IDE, which allows you to easily check whether the layout of the generated image meets your requirements:
Best regards,
Gavin