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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
3,754件の閲覧回数
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 件の賞賛
返信
1 解決策
3,715件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

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

Regards,

Lukas

元の投稿で解決策を見る

0 件の賞賛
返信
6 返答(返信)
3,744件の閲覧回数
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 件の賞賛
返信
3,736件の閲覧回数
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 件の賞賛
返信
3,733件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

I can't see such option for pin configuration.

Regards,

Lukas

0 件の賞賛
返信
3,718件の閲覧回数
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 件の賞賛
返信
3,716件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

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

Regards,

Lukas

0 件の賞賛
返信
3,706件の閲覧回数
RehabSoliman
Contributor I

Ok thanks for your support 

0 件の賞賛
返信