How to enable VARIANT-PRE-COMPILE for certain peripherals?

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

How to enable VARIANT-PRE-COMPILE for certain peripherals?

跳至解决方案
167 次查看
durga_choudhury
Contributor III

(Sorry, this is a duplicate post. My original post appears completely blank and the 'robot verification' fails moments after I verified it. Not sure why it is even needed when I need a 2 factor authenticator to even log in)

 

Our product is static in nature and we only care about the PRE_COMPILE variant. However, it seems that certain peripherals only allow POST_BUILD variant; please see the screen shot below.

durga_choudhury_0-1760715966071.png

 

Also, for certain other peripherals, even when the PRE_COMPILE variant is selected, POST_BUILD variant code is generated anyway and this code is actually used in the RTD examples to initialize the peripheral.

 

Why can't a static configuration be used, especially when that is what the user wants?

 

标记 (2)
0 项奖励
回复
1 解答
111 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @durga_choudhury,

For Config Time Support, please implement the MCAL layer of the drivers:

Snag_fb6a81c.png

Some low-level interface drivers do not support variant handling, as this is an AUTOSAR specification, and LLD are not compliant.

Best regards,
Julián

在原帖中查看解决方案

0 项奖励
回复
1 回复
112 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @durga_choudhury,

For Config Time Support, please implement the MCAL layer of the drivers:

Snag_fb6a81c.png

Some low-level interface drivers do not support variant handling, as this is an AUTOSAR specification, and LLD are not compliant.

Best regards,
Julián

0 项奖励
回复