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

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

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

Jump to solution
135 Views
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?

 

Tags (2)
0 Kudos
Reply
1 Solution
79 Views
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

View solution in original post

0 Kudos
Reply
1 Reply
80 Views
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 Kudos
Reply