cancel
Showing results for 
Search instead for 
Did you mean: 

Get section size from linker file (IAR 5.11)

cgrenier
Associate II
Posted on May 22, 2009 at 11:23

Get section size from linker file (IAR 5.11)

1 REPLY 1
cgrenier
Associate II
Posted on May 17, 2011 at 13:12

Hello,

I need to read the section size from the linker file.

I defined many sections there. I would like to have a #define for each section size.

For example,

I defined in the ICF file the REGION A : from 0x800C800 to 0x800D7FF

I'd like to have in the source code a #define REGION_A_SIZE = 0x800D7FF - 0x800C800 + 1

I don't know if we can do it.

Regards