.noinit Section

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

.noinit Section

Jump to solution
1,145 Views
Mennazz
Contributor II

How to use .noinit sec in MPC5744P My aim is to protect a variable from being cleared after a reset.

0 Kudos
Reply
1 Solution
1,117 Views
stanish
NXP Employee
NXP Employee

Hi,

please have a look here:

EXAMPLE: S32K144 .noinit section usage - NXP Community

 

It's is aimed to gcc for Arm but should be applicable to PPC gcc tools as well.

 

Hope it helps.

Stan

View solution in original post

0 Kudos
Reply
2 Replies
503 Views
zhangzhixing
Contributor III

Has this issue been resolved? Could you share your solution?‌

Tags (1)
0 Kudos
Reply
1,118 Views
stanish
NXP Employee
NXP Employee

Hi,

please have a look here:

EXAMPLE: S32K144 .noinit section usage - NXP Community

 

It's is aimed to gcc for Arm but should be applicable to PPC gcc tools as well.

 

Hope it helps.

Stan

0 Kudos
Reply