Hello, my problem is very basic but i can't move forward without solving it.
When i write USE_STDPERIPH_DRIVER to the options for target>> c/c++ >> define section, i have an error at #include "stm32f4xx.h" line. It says "fatal error in include chain: 'stm32f4xx_conf.h' file not found". What would be the problem? Thank you
It can't find the stm32f4xx_conf.h file, which should be in your project directory? In the ST example templates there is such a file, and it pulls in the other library include files.
In my project directory>>RTE>>Device>>STM32F407VG there is a header file stm32f4xx_conf. Isn't it in the correct place?
Well the compiler is evidently complaining that it can't find it, so it's either in the wrong place, or you don't have an adequate list of "include paths" for it to be found. In ST's model of the world it exists in the same directory as your main.c file in the root of the project directory.
Directory of C:\Keil422\ARM\Examples\ST\STM32F4xx_DSP_StdPeriph_Lib_V1.5.0\Project\STM32F4xx_StdPeriph_Templates 03/11/2015 09:18 AM <DIR> . 03/11/2015 09:18 AM <DIR> .. 02/13/2015 03:59 PM 5,236 main.c 02/13/2015 03:59 PM 1,853 main.h 03/11/2015 09:18 AM <DIR> MDK-ARM 03/10/2015 04:20 PM 3,502 readme.txt 03/06/2015 11:26 AM 29,638 Release_Notes.html 03/06/2015 05:10 PM 4,810 stm32f4xx_conf.h 02/13/2015 03:59 PM 4,576 stm32f4xx_it.c 02/13/2015 03:59 PM 2,221 stm32f4xx_it.h 03/06/2015 09:09 AM 53,272 system_stm32f4xx.c
Merhaba Tugrul bey,
Forumda yazmis oldugunuz hatanin aynisini ben de aliyorum. Size verilen cevaptan ve arastirmalarim sonucunda sorunu hala çözemedim.
Konu hakkinda yardimlarinizi rica ederim.
Lütfen mail yoluyla olumlu veya olumsuz cevabinizi bekliyorum.
Haldun Turan turan_haldun@hotmail.com