Explicitly including stm32f0xx_conf.h in Libraries makefile fixes compile warings/errors

This commit is contained in:
Mike Szczys 2012-06-16 16:57:48 -05:00
parent 318f60da62
commit a9df1314e9
4 changed files with 2 additions and 3 deletions

View File

@ -8,7 +8,7 @@ vpath %.c STM32F0xx_StdPeriph_Driver/src
CFLAGS = -g -O2 -Wall
CFLAGS += -mlittle-endian -mthumb -mcpu=cortex-m0 -march=armv6s-m
CFLAGS += -ffreestanding -nostdlib
CFLAGS += -I../Device -ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include -ISTM32F0xx_StdPeriph_Driver/inc
CFLAGS += -includestm32f0xx_conf.h -ICMSIS/Include -ICMSIS/Device/ST/STM32F0xx/Include -ISTM32F0xx_StdPeriph_Driver/inc
SRCS = stm32f0xx_adc.c stm32f0xx_cec.c stm32f0xx_comp.c stm32f0xx_crc.c \

View File

@ -98,7 +98,6 @@
/* Includes ------------------------------------------------------------------*/
#include "stm32f0xx_dac.h"
#include "stm32f0xx_rcc.h"
/** @addtogroup STM32F0xx_StdPeriph_Driver
* @{

View File

@ -26,7 +26,7 @@ vpath %.a Libraries
ROOT=$(shell pwd)
CFLAGS += -Iinc -IDevice -ILibraries/CMSIS/Device/ST/STM32F0xx/Include
CFLAGS += -Iinc -ILibraries -ILibraries/CMSIS/Device/ST/STM32F0xx/Include
CFLAGS += -ILibraries/CMSIS/Include -ILibraries/STM32F0xx_StdPeriph_Driver/inc
SRCS += Device/startup_stm32f0xx.s # add startup file to build