cancel
Showing results for 
Search instead for 
Did you mean: 

Build time error Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:30:23: fatal error: stm32l0xx.h: No such file or directory.

barmy
Associate II

hi

Every time I build my program an error shown as.

Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:30:23: fatal error: stm32l0xx.h: No such file or directory.

how to rectify that.

I can't find file or directory named "stm32l0xx.h" manually also.

thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions

STM32Cube_FW_L0_V1.11.2\Drivers\CMSIS\Device\ST\STM32L0xx\Include\stm32l0xx.h

Set the "Include Paths" properly so the compiler can find the files, and consider a file manager so you can.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

2 REPLIES 2

STM32Cube_FW_L0_V1.11.2\Drivers\CMSIS\Device\ST\STM32L0xx\Include\stm32l0xx.h

Set the "Include Paths" properly so the compiler can find the files, and consider a file manager so you can.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
barmy
Associate II

problem solved .

thank you