2087997_en-US

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

2087997_en-US

2087997_en-US

fatal error: Spi.h: No such file or directory

"fatal error: Spi.h: No such file or directory" error occurs when building /BMS_K322_M7_0/RTD/include/sbc_spi_external_access.h


RTD Information:

SW Version: 3.0.0
Build Version: S32K3_RTD_3_0_0_P07_D2306_ASR_REL_4_7_REV_0000_20230629

SBC_FS26 Driver Info:

SW Version: 3.0.0
Build Version: S32K3_RTD_3_0_0_P07_D2306_ASR_REL_4_7_REV_0000_20230629


We are not using AUTOSAR, so we are not using MCAL.


Re: fatal error: Spi.h: No such file or directory

Hi

Since you are using non-AUTOSAR, you should not use Spi.h. Try to add USE_IPV_LPSPI in Preprocessor:

USE_IPV_LPSPI defined in Preprocessor.png


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 12:59 PM
Updated by: