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

@@ -28,9 +28,10 @@ CFLAGS = -Os -g -Wall -Wextra -I../../../include -fno-common \
-ffunction-sections -fdata-sections -MD -DSTM32F2
# ARFLAGS = rcsv
ARFLAGS = rcs
OBJS = rcc.o gpio2.o usart.o spi.o flash.o \
i2c.o exti2.o timer.o
OBJS = rcc.o gpio.o usart.o spi.o flash.o \
i2c.o exti2.o timer.o \
gpio_common_all.o gpio_common_f24.o
VPATH += ../../usb:../:../../cm3
VPATH += ../../usb:../:../../cm3:../common
include ../../Makefile.include