title: No such file error in System Workbench for STM32
body: <p>I get an error saying 
  <code>fatal error: stm32l0xx_hw_conf.h: No such file or directory</code>
  even though I have included <code>stm32l0xx_hw_conf.h</code> in the same project. How do I solve this error?</p>
  
  <p><a href="https://i.stack.imgur.com/jPfH6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jPfH6.png" alt="enter image description here"></a></p>
  
  <p>Edit: The console output for this error is:</p>
  
  <blockquote>
    <p>Invoking: MCU GCC Compiler
    /home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Debug
    arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -mfloat-abi=soft
    -DHAL_OK -DSTM32L0 -DSTM32L071xx -DUSE_MIROMICO_FMLR -DUSE_HAL_DRIVER -DUSE_BAND_868 -DSENSOR_ENABLED -DDEBUG -I"/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/inc"
    -I/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Drivers/STM32L0xx_HAL_Driver/Inc/Legacy
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Drivers/STM32L0xx_HAL_Driver/Inc"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Drivers/STM32L0xx_HAL_Driver/Inc/Legacy"
    -I/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Drivers/STM32L0xx_HAL_Driver/Inc
    -I/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Drivers/STM32L0xx_HAL_Driver/Inc/Legacy
    -I/home/dinesh/fmlr_bitbucket/lorawan/Drivers/STM32L0xx_HAL_Driver/Inc/Legacy
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Drivers/STM32L0xx_HAL_Driver/Inc/Legacy"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Drivers/STM32L0xx_HAL_Driver/Inc"
    -I../../../../../../../../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/CMSIS/Device/ST/STM32L0xx/Include"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/BSP/FMLR" -I../../../../../../../../Drivers/STM32L1xx_HAL_Driver/Inc -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/STM32L0xx_HAL_Driver/Inc"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/CMSIS/Include" -I"/home/dinesh/fmlr_bitbucket/lorawan/Middlewares/Third_Party/Lora/Crypto"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Middlewares/Third_Party/Lora/Mac"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Middlewares/Third_Party/Lora/Phy"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Middlewares/Third_Party/Lora/Utilities"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/BSP/Components/Common" -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/BSP/Components/sts_sht_21"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/BSP/Components/bmp280" -I"/home/dinesh/fmlr_bitbucket/lorawan/Middlewares/Third_Party/Lora/Core"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/BSP/sx1272mb2das" -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/BSP/sx1272mb2das/Phy"  -Og -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Projects/MultiSensorHub/src/debug.d" -MT"Projects/MultiSensorHub/src/debug.o" -o "Projects/MultiSensorHub/src/debug.o"
    "/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/src/debug.c"
    /home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Debug
    arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -mfloat-abi=soft
    -DHAL_OK -DSTM32L0 -DSTM32L071xx -DUSE_MIROMICO_FMLR -DUSE_HAL_DRIVER -DUSE_BAND_868 -DSENSOR_ENABLED -DDEBUG -I"/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/inc"
    -I/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Drivers/STM32L0xx_HAL_Driver/Inc/Legacy
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Drivers/STM32L0xx_HAL_Driver/Inc"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Drivers/STM32L0xx_HAL_Driver/Inc/Legacy"
    -I/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Drivers/STM32L0xx_HAL_Driver/Inc
    -I/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Drivers/STM32L0xx_HAL_Driver/Inc/Legacy
    -I/home/dinesh/fmlr_bitbucket/lorawan/Drivers/STM32L0xx_HAL_Driver/Inc/Legacy
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Drivers/STM32L0xx_HAL_Driver/Inc/Legacy"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Drivers/STM32L0xx_HAL_Driver/Inc"
    -I../../../../../../../../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/CMSIS/Device/ST/STM32L0xx/Include"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/BSP/FMLR" -I../../../../../../../../Drivers/STM32L1xx_HAL_Driver/Inc -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/STM32L0xx_HAL_Driver/Inc"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/CMSIS/Include" -I"/home/dinesh/fmlr_bitbucket/lorawan/Middlewares/Third_Party/Lora/Crypto"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Middlewares/Third_Party/Lora/Mac"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Middlewares/Third_Party/Lora/Phy"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Middlewares/Third_Party/Lora/Utilities"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/BSP/Components/Common" -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/BSP/Components/sts_sht_21"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/BSP/Components/bmp280" -I"/home/dinesh/fmlr_bitbucket/lorawan/Middlewares/Third_Party/Lora/Core"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/BSP/sx1272mb2das" -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/BSP/sx1272mb2das/Phy"  -Og -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Projects/MultiSensorHub/src/hw_gpio.d" -MT"Projects/MultiSensorHub/src/hw_gpio.o" -o "Projects/MultiSensorHub/src/hw_gpio.o"
    "/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/src/hw_gpio.c"
    /home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Debug
    arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -mfloat-abi=soft
    -DHAL_OK -DSTM32L0 -DSTM32L071xx -DUSE_MIROMICO_FMLR -DUSE_HAL_DRIVER -DUSE_BAND_868 -DSENSOR_ENABLED -DDEBUG -I"/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/inc"
    -I/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Drivers/STM32L0xx_HAL_Driver/Inc/Legacy
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Drivers/STM32L0xx_HAL_Driver/Inc"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Drivers/STM32L0xx_HAL_Driver/Inc/Legacy"
    -I/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Drivers/STM32L0xx_HAL_Driver/Inc
    -I/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Drivers/STM32L0xx_HAL_Driver/Inc/Legacy
    -I/home/dinesh/fmlr_bitbucket/lorawan/Drivers/STM32L0xx_HAL_Driver/Inc/Legacy
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Drivers/STM32L0xx_HAL_Driver/Inc/Legacy"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Drivers/STM32L0xx_HAL_Driver/Inc"
    -I../../../../../../../../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/CMSIS/Device/ST/STM32L0xx/Include"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/BSP/FMLR" -I../../../../../../../../Drivers/STM32L1xx_HAL_Driver/Inc -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/STM32L0xx_HAL_Driver/Inc"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/CMSIS/Include" -I"/home/dinesh/fmlr_bitbucket/lorawan/Middlewares/Third_Party/Lora/Crypto"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Middlewares/Third_Party/Lora/Mac"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Middlewares/Third_Party/Lora/Phy"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Middlewares/Third_Party/Lora/Utilities"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/BSP/Components/Common" -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/BSP/Components/sts_sht_21"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/BSP/Components/bmp280" -I"/home/dinesh/fmlr_bitbucket/lorawan/Middlewares/Third_Party/Lora/Core"
    -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/BSP/sx1272mb2das" -I"/home/dinesh/fmlr_bitbucket/lorawan/Drivers/BSP/sx1272mb2das/Phy"  -Og -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Projects/MultiSensorHub/src/bsp.d" -MT"Projects/MultiSensorHub/src/bsp.o" -o "Projects/MultiSensorHub/src/bsp.o"
    "/home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/src/bsp.c"
    In file included from
    /home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/inc/hw.h:72:0,from
    /home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/src/bsp.c:50:
    /home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/inc/hw_conf.h:123:10:
    fatal error: stm32l0xx_hw_conf.h: No such file or directory #include
    "stm32l0xx_hw_conf.h"</p>
  </blockquote>