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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
3,744 次查看
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,705 次查看
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,734 次查看
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,726 次查看
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,723 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

I can't see such option for pin configuration.

Regards,

Lukas

0 项奖励
回复
3,708 次查看
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,706 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

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

Regards,

Lukas

0 项奖励
回复
3,696 次查看
RehabSoliman
Contributor I

Ok thanks for your support 

0 项奖励
回复