Hi,
When reviewing the code generated for MPC5643L,I can't find the definitions as follows.
_IVPR_VALUE
_SRAM_BASE_ADDR
_SRAM_SIZE
_BSS_SIZE
_BSS_START
_DATA_SIZE
_DATA_ROM_ADDR
_DATA_SRAM_ADDR
_SDATA_SIZE
_SDATA_ROM_ADDR
_SDATA_SRAM_ADDR
_SP_INIT
_DATA_RAM
_DATA_ROM
_DATA_END
_BSS_END
Can you help me find it?
Thanks a lot.
Hj
Original Attachment has been moved to: 170622.rar
Hi Razvan,
There're the symbols' address in the can_simple_block.map file,but what I want to find is the place where the symbols are defined.And I try to use the symbols in other files,which is the reason why I must find their derivations .Do you kown the files where the symbols are defined?
Thank you!
Hj
Hi hjhjhj
Those symbols are defined in the linker command files (aka linker scripts)
To access them from the other C-source files is quite easy: please check this out:
Accessing GNU Linker Script Symbols from C/C++ | MCU on Eclipse
Best regards,
Daniel