comparison BSDmakefile @ 18:afdd22502c2a

Add i2c test code
author Daniel O'Connor <darius@dons.net.au>
date Wed, 14 Nov 2012 12:30:58 +1030
parents 96c345d304af
children 35cf31794a42
comparison
equal deleted inserted replaced
17:b62eaa3131b1 18:afdd22502c2a
13 startup_stm32f10x_md_mthomas.c \ 13 startup_stm32f10x_md_mthomas.c \
14 syscalls.c \ 14 syscalls.c \
15 system_stm32f10x.c \ 15 system_stm32f10x.c \
16 touch.c 16 touch.c
17 17
18 STM32LIBS= usart gpio rcc rtc pwr bkp fsmc spi tim 18 STM32LIBS= usart gpio rcc rtc pwr bkp fsmc spi tim i2c
19 19
20 .for f in ${STM32LIBS} 20 .for f in ${STM32LIBS}
21 SRCS+= stm32f10x_${f}.c 21 SRCS+= stm32f10x_${f}.c
22 CFLAGS+= -DSTM32F10X_${f:U}_EN 22 CFLAGS+= -DSTM32F10X_${f:U}_EN
23 .endfor 23 .endfor