Aurix Design Studio V1.5, TC367: how to create section in .lsl file to allocate variables and function to specified location?

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

cross mob
zhouyi_NJ
Level 3
Level 3
50 sign-ins 10 questions asked 10 replies posted

Hello . Dear friend:

Could you please help me on this question?

Aurix Design Studio V1.5, TC367,  Windows 10. 

My questions are:

I'd like to allocate global variables and functions to specified location with #pragma as below:

#pragma section all "Calib_Data"

unsigned int speedThreshold = 100u;

#pragma section all restore

How to create RAM and ROM sections in .lsl file? It's appreciated that you  give me an example project. 

thanks and BR

ZhouYi

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

Hi Zhouyi,

DLMU/ LMU/ PSPR example you can refer to this thread.

dw

View solution in original post

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

Hi Zhouyi,

DLMU/ LMU/ PSPR example you can refer to this thread.

dw

0 Likes