- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wonder how this example can be used with the external gcc compiler.
I would like to use the LMU ram for initialized and uninitialized variables.
Do I have to modify the linker file for it?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi juanjqh,
If you use ADS(Aurix Development Studio), the default compiler is Tasking.
i.e.
You can get details from compiler user manual here
The prefix depends on the type of the section and determines if the section is initialized, constant or uninitialized and which addressing mode is used. The symbol_name is either the name of an object or the name of a function.
You can also use Hightec compiler and do migrate as this link: https://free-entry-toolchain.hightec-rt.com/
For other compiler, do you have specific requirement? Please ask for 3rd party to consult.
dw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi juanjqh,
If you use ADS(Aurix Development Studio), the default compiler is Tasking.
i.e.
You can get details from compiler user manual here
The prefix depends on the type of the section and determines if the section is initialized, constant or uninitialized and which addressing mode is used. The symbol_name is either the name of an object or the name of a function.
You can also use Hightec compiler and do migrate as this link: https://free-entry-toolchain.hightec-rt.com/
For other compiler, do you have specific requirement? Please ask for 3rd party to consult.
dw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, thank you for you reply, I´m using ADS with Free entry HTC.
I try to put uninitialized and initilized variables using that, but don´t works.
#pragma section ".zbss" awzB
uint32 var1;
#pragma section
#pragma section ".zdata" awz
uint32 var2 = 0xAA;
#pragma section
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi juanjqh,
What I have posted is for Tasking compiler, for Hightec, please refer to appropriate user manual.
For #pragma, could you please refer to below thread
dw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks 😁