Hi experts,
How to extern a variable from scatter file in between the sections.
For illustration,
region 0x0 0x1000
{
sec1 +0
*(+ZI)
<addr1>
*(+RO)
<addr2;>
}
In the above scatter file I want to extern a variable addr1 & addr2 points to the current address pointer after zero initialized & read only sections respectively. As per my understanding only start,end and length of "sec1" will be generated as symbols. Kindly specify syntax to get the intermediate address.