Skip to main content
barmy
Associate II
July 9, 2019
Solved

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

  • July 9, 2019
  • 2 replies
  • 2860 views

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

This topic has been closed for replies.
Best answer by Tesla DeLorean

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.

2 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
July 9, 2019

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
barmy
barmyAuthor
Associate II
July 10, 2019

problem solved .

thank you