How to generate configuration structures used by SDK as "const"

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

How to generate configuration structures used by SDK as "const"

Jump to solution
961 Views
RehabSoliman
Contributor I

Hi

I want to generate configuration structures used by SDK as "const"  

All the structures generated by SDK config tool are "not const" and therefore, put in RAM. We wonder if there's a way to generate them as "const"

 Is it possible to do that or not ?

I am using S32K142 EVB and s32kDS3.4

0 Kudos
1 Solution
922 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

I'm afraid the answer is no. This is hardcoded, there's no such configuration.

Regards,

Lukas

View solution in original post

0 Kudos
6 Replies
951 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Rehab,

it's possible only if you can see such option directly in the configuration tool. For example:

lukaszadrapa_0-1663682166130.png

Regards,

Lukas

0 Kudos
943 Views
RehabSoliman
Contributor I

Hi Lukas 

Yes you are right but what about the pin configuration? is it possible to do it for pin also?

 

0 Kudos
940 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

I can't see such option for pin configuration.

Regards,

Lukas

0 Kudos
929 Views
RehabSoliman
Contributor I

yes There is no option.

As you know that s32k DS generates  pin_mux.c file  after I configure it from pin configuration tool  and It is an array and its type is struct so when I configure another pin the position of the last pin may be changed so I want if I configure pins after that they are placed on the end after the pins exist on the array Is it possible to to that or not ? 

0 Kudos
923 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

I'm afraid the answer is no. This is hardcoded, there's no such configuration.

Regards,

Lukas

0 Kudos
917 Views
RehabSoliman
Contributor I

Ok thanks for your support 

0 Kudos