This article is for the TriCore toolset. A
similar approach applies to SmartCode as well. However, the keywords or code snippets would be different.
This application note provides several helpful tips and tricks to help you use Linker Script Language (LSL) effectively in a TriCore VX-toolset.
The key topics include:
- LSL code core association and data core association
- Using the overflow keyword for distributed output sections
- Using the overlay keyword for running code from RAM
- Precautions when using the section_setup keyword
- Using LSL symbols
- Using the reserved keyword to prevent section placement
- Dedicated placement of ROM copy sections for initialized data
- Changing section attributes at the link stage / prevent initialization of sections