I would like to find the last address of the used ram and the end address of the configured ram (so the unused part), using uVision with the ARM v5 compiler.
The actual used ram by my application, I can find using
Image$$RW_IRAM1$$ZI$$Limit
But how do I find the actual configured RAM at runtime? My current device has 0x50000 of ram. How do I get the 0x20050000 address at runtime? This number can be different for different targets. I see in the generate scatter file, the length is shown. But I would like to get this value in code?
thank you!