AnsweredAssumed Answered

stm32f4xx.h:6965:30: fatal error: stm32f4xx_conf.h: No such file or directory

Question asked by Daniel on Aug 19, 2013
Latest reply on Aug 19, 2013 by Clive One
Hi, I'm new with ARM and STM32F4.

I'm trying to setup a free STM32F4 development environment with Eclipse and GCC ARM Toolchain based in this tutorial:

I've changed make file to adequate from stm32f0 to stm32f4. When I give the command "make" from DOS, it returns me code below:

make arm-none-eabi-gcc -x assembler-with-cpp -c -mcpu=cortex-m4 -g -gdwarf-2 -mthumb -Wa,-amhls=.\startup\startup_stm32f4xx.lst   .\startup\startup_stm32f4xx.s -o .\startup\startup_stm32f4xx.o arm-none-eabi-gcc -c -mcpu=cortex-m4 -Os -gdwarf-2 -mthumb   -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm -Wa,-ahlms=.\src\main.lst -DSTM32F4XX-DUSE_STDPERIPH_DRIVER -DUSE_FULL_ASSERT  -DRUN_FROM_FLASH=1 -MD -MP -MF .dep\main.o.d
-I .
.\src\main.c -o
In file included from .\src\main.c:23:0:..\..\STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\ST\STM32F4xx\Include/stm32f4xx.h
:6965:30: fatal error: stm32f4xx_conf.h: No such file or directorycompilation terminated.make: *** [.\src\main.o] Error 1

I think this problem could be in this peace of code in stm32fxx.h:

  #include "stm32f4xx_conf.h"

Could someone help me please?