Our project is written for the LPC4370 microcontroller using the LPCOpen library. We encountered the following problem: when compiling a project, only a block of 128 KB of RAM is available with a total memory of 282 KB. Please explain how we can use the remaining memory for the needs of global variables?
Solved! Go to Solution.
Hi Vitaliy Livnov,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
It's freely for you place the global variables in the specific area in the RAM via managing the linker file.
To make it, I'd highly recommend you to review the corresponding IDE's user guide.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Vitaliy Livnov,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
It's freely for you place the global variables in the specific area in the RAM via managing the linker file.
To make it, I'd highly recommend you to review the corresponding IDE's user guide.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you. We used macro __BSS(RAMx) from <cr_section_macros.h> to place our data in different RAM banks.