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.
Eh?? What do you mean by that??
http://www.keil.com/support/man/docs/uv4/uv4_dg_adscc.htm
Thank you sir for the response. It was NOT wrong from Keil, I understand. I have not been open my cubemx generated code accordance with Keil ide. Now problem is fixed.
I have a question arise in my mind is, if my project have some state/mainfiles/utilities depending on HAL library of STM that have been made in coocox ide, can it be possible to add those file in my project in KEIL? Dont you think HAL configuration will not conflict?
I mean if I have to add some state dependencies to my main, will it work in Keil?