Using AURIX_Memory_Access_Performance_1_KIT_TC275_LK example with Hightec Compiler...

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
juanjqh
Level 1
Level 1
10 sign-ins 5 replies posted 5 sign-ins
 
 
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?
0 Likes
1 Solution
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

Hi juanjqh,

If you use ADS(Aurix Development Studio), the default compiler is Tasking.

i.e.

dw_0-1660115642275.png

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

View solution in original post

4 Replies
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

Hi juanjqh,

If you use ADS(Aurix Development Studio), the default compiler is Tasking.

i.e.

dw_0-1660115642275.png

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

juanjqh
Level 1
Level 1
10 sign-ins 5 replies posted 5 sign-ins

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

0 Likes
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

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

https://community.infineon.com/t5/AURIX/Aurix-Development-studio-pragma-data-core-association/td-p/3...

dw

juanjqh
Level 1
Level 1
10 sign-ins 5 replies posted 5 sign-ins

thanks 😁

0 Likes