Hello,
I would like to implement some memory test functions from a software library (SafeTlib). Several tests require specific linker support. Section alignment and memory section reservations are assumed to be defined by the linker script. I guess the linker script is generated dynamically by Erika (\Debug\master\ee_tc27x_gnu_relocable.ld)
Is there a way to insert own entries or to make changes in the linker script?
Thanks in advance!
Best regards,
Stephan
P.S.: I´m working with Erika Enterprise 2.6.0, GNU compiler and AURIX TC277 microcontroller.
Changing linker script (AURIX)
Moderator: paolo.gai
Re: Changing linker script (AURIX)
You can use LINKERSCRIPT = "your_linker_script.ld"; entry in CPU_DATA OIL construct.
http://erika.tuxfamily.org/wiki/index.p ... _Aurix#CPU
If you are building as single ELF (As does it seems since you are pointing to a generated file of the single ELF build toolchain) you need to provide the final linkerscript even in the MCU_DATA construct. A good starting point for this linker script is the one you find in the Debug folder, at the end of a normal ERIKA build.
Errico Guidieri
http://erika.tuxfamily.org/wiki/index.p ... _Aurix#CPU
If you are building as single ELF (As does it seems since you are pointing to a generated file of the single ELF build toolchain) you need to provide the final linkerscript even in the MCU_DATA construct. A good starting point for this linker script is the one you find in the Debug folder, at the end of a normal ERIKA build.
Errico Guidieri