Does anyone know the purpose of the .sfr files in the 430/config
directory (same directory as the linker command files?) The only
mention of them that I found in the IAR documentation is that they are
there.
I noticed that the .xcl files do not define segments for
non-initialized absolute data, does the linker use these files to
define the DATA16_AN segment? Thanks in advance.
Chris
IAR .sfr files
Started by ●July 26, 2006
Reply by ●July 31, 20062006-07-31
cmdamour wrote:
> Does anyone know the purpose of the .sfr files in the 430/config
> directory (same directory as the linker command files?) The only
> mention of them that I found in the IAR documentation is that they are
> there.
They are used by the C-SPY simulator.
> I noticed that the .xcl files do not define segments for
> non-initialized absolute data, does the linker use these files to
> define the DATA16_AN segment? Thanks in advance.
No, they are automatically defined by the compiler when you use located
variables using the "@" or "pragma location". You do not have to speicy
them in the linker command file (the .xcl file) since the address is
already known.
The same goes for XXX_AC segments. _AN stands for "absolutely placed
no_init", _AC means "absolutely placed constants".
-- Anders Lindgren, IAR Systems
--
Disclaimer: Opinions expressed in this posting are strictly my own and
not necessarily those of my employer.
> Does anyone know the purpose of the .sfr files in the 430/config
> directory (same directory as the linker command files?) The only
> mention of them that I found in the IAR documentation is that they are
> there.
They are used by the C-SPY simulator.
> I noticed that the .xcl files do not define segments for
> non-initialized absolute data, does the linker use these files to
> define the DATA16_AN segment? Thanks in advance.
No, they are automatically defined by the compiler when you use located
variables using the "@" or "pragma location". You do not have to speicy
them in the linker command file (the .xcl file) since the address is
already known.
The same goes for XXX_AC segments. _AN stands for "absolutely placed
no_init", _AC means "absolutely placed constants".
-- Anders Lindgren, IAR Systems
--
Disclaimer: Opinions expressed in this posting are strictly my own and
not necessarily those of my employer.