- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I defined a Flash section in the scatter file (.ld) of my project:
RomTrim (rx) : ORIGIN = 0x0003f800, LENGTH = 512
.TrimClock : ALIGN (4)
{
KEEP(*(.TrimClock))
} >RomTrim
There's a predefined macro to calculate the number of bytes contained into a FLASH section?
Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can refer to <project>.map file produced by the linker. It contains informations on how the device's memory was used, where functions and variables were placed and other details. You can refer to this file to confirm memory section size and observe memory section overlap, if any. The steps to place arrays or functions in custom memory region is elaborated in section: 9.2 Placement Procedure of PSoC Arm Cortex Code Optimization Application Note.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can refer to <project>.map file produced by the linker. It contains informations on how the device's memory was used, where functions and variables were placed and other details. You can refer to this file to confirm memory section size and observe memory section overlap, if any. The steps to place arrays or functions in custom memory region is elaborated in section: 9.2 Placement Procedure of PSoC Arm Cortex Code Optimization Application Note.