We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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!!
actually, i'm happy that you brought that up because with coocox when you wanna add some driver like li302dl or any other driver all you have to do is just click on it and it's library or code is automatically generated which is not the case with keil because i didn't know how to add it so can you tell me please how to do it?
Well you'll need to track down where CooCox magically pulls it's files, then Right-Click "Add existing file to Group" to add it to your project. If you need to specify additional Include Paths for the compiler to search, you'd do that in the Options->C/C++ pane.
ok i'll try to do it wish me luck