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.
Dear Sir,
After I fix the previous problem, things turns noisy for this reason,
*** Using Compiler 'V5.06 update 3 (build 300)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Build target 'rc_2016' compiling stm32f0xx_hal_tim_ex.c... ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.c(100): error: #5: cannot open source input file "stm32f0xx_hal.h": No such file or directory #include "stm32f0xx_hal.h" ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.c: 0 warnings, 1 error
Continues same reason for unavailability of stm32f0xx_hal.h !!
What I did is ..
1. Search this file in C:\MDK5-projects....its exists 2. Locate this file in Optipn for target ...include paths...no changes !!
Do you think, its from preprocesssor setting errors?
If so, can you can you tell me where I need to set those functions ?
Regards Hasan