This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

HAL library is not supporting / C files cant find H files

Hello,

I am using from KEIL as follows,

µVision V5.21.1.0
MDK-ARM Professional (Eval) Version: 5.21a
Toolchain Path: C:\Keil_v5\ARM\ARMCC\Bin
C Compiler: Armcc.exe V5.06 update 3 (build 300)
Assembler: Armasm.exe V5.06 update 3 (build 300)

Seems my build has problems take a look,

compiling system_stm32f0xx.c...
C:\Keil_v5\ARM\PACK\Keil\STM32F0xx_DFP\1.5.0\Device\Include\stm32f070xb.h(130): error: #5: cannot open source input file "core_cm0.h": No such file or directory #include "core_cm0.h" /* Cortex-M0 processor and core peripherals */
CMSIS\system_stm32f0xx.c: 0 warnings, 1 error
compiling stm32f0xx_hal_cortex.c...
STM32F0xx_HAL_Driver\stm32f0xx_hal_cortex.c(101): error: #5: cannot open source input file "stm32f0xx_hal.h": No such file or directory #include "stm32f0xx_hal.h"
STM32F0xx_HAL_Driver\stm32f0xx_hal_cortex.c: 0 warnings, 1 error
compiling stm32f0xx_hal_dma.c...

and so on ...
C:\Keil_v5\ARM\PACK\Keil\STM32F0xx_DFP\1.5.0\Device\Include\stm32f070xb.h(130): error: #5: cannot open source input file "core_cm0.h": No such file or directory
#include "core_cm0.h" /* Cortex-M0 processor and core peripherals */
RTE\Device\STM32F070RB\system_stm32f0xx.c: 0 warnings, 1 error
".\Rice_heat_circuit.axf" - 31 Error(s), 0 Warning(s).
Target not created.

Is there any problem if I make some header, c and state file folder in project directory means a group ?

In Keil, include path setting is not available.
Seems my c files are not getting reference from header files.

Help me please.