hi guys,
i'm having a problem when compiling my program the error is as follow :
compiling SPI_STM32F4xx.c... C:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\1.0.8\RTE_Driver\SPI_STM32F4xx.c(36): error: #5: cannot open source input file "cmsis_os.h": No such file or directory #include "cmsis_os.h" C:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\1.0.8\RTE_Driver\SPI_STM32F4xx.c: 0 warnings, 1 error ".\Objects\untitled.axf" - 1 Error(s), 144 Warning(s). Target not created.
i really need help as soon as possible!!
in option for target (Alt + F7) in C/C++ you must add your header file path
i'm sorry, i'm new with keil could you tell me please what's this header file path and where can i find it?
C:\Keil\ARM\CMSIS\RTOS or C:\Keil\ARM\Pack\ARM\CMSIS\3.20.3\CMSIS\RTOS\Template or C:\Keil\ARM\Pack\ARM\CMSIS\3.20.3\CMSIS_RTX\INC
But note that he seems to have already solved his include issue. Now it's a linker issue.
View all questions in Keil forum