Proposed deduplication of peripherals, GPIO example

See rambling post on dev list for justification
This commit is contained in:
Ken Sarkies
2012-11-03 15:56:35 +10:30
committed by Ken Sarkies
parent d08d366e75
commit 4ab5c94b90
13 changed files with 163 additions and 731 deletions

View File

@@ -29,11 +29,12 @@ CFLAGS = -Os -g -Wall -Wextra -I../../../include -fno-common \
-ffunction-sections -fdata-sections -MD -DSTM32F4
# ARFLAGS = rcsv
ARFLAGS = rcs
OBJS = rcc.o gpio2.o usart.o spi.o flash.o \
OBJS = rcc.o gpio.o usart.o spi.o flash.o \
i2c.o exti2.o pwr.o timer.o \
usb.o usb_standard.o usb_control.o usb_fx07_common.o usb_f107.o \
usb_f207.o adc.o dma.o
usb_f207.o adc.o dma.o \
gpio_common_all.o gpio_common_f24.o
VPATH += ../../usb:../:../../cm3
VPATH += ../../usb:../:../../cm3:../common
include ../../Makefile.include