Mercurial > ~darius > hgwebdir.cgi > stm32temp
comparison BSDmakefile @ 76:f1c9a51e368a
Add EEPROM emulation from AN2594.
Fix emulated EEPROM size on large parts.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Mon, 22 Apr 2013 23:17:40 +0930 |
parents | d7207a9d3c3b |
children | 1a4573062b37 |
comparison
equal
deleted
inserted
replaced
75:85f16813c730 | 76:f1c9a51e368a |
---|---|
2 | 2 |
3 SRCS= 1wire.c \ | 3 SRCS= 1wire.c \ |
4 comm.c \ | 4 comm.c \ |
5 core_cm3.c \ | 5 core_cm3.c \ |
6 delay.c \ | 6 delay.c \ |
7 eeprom.c \ | |
7 fatfs_sd.c \ | 8 fatfs_sd.c \ |
8 ff.c \ | 9 ff.c \ |
9 flash.c \ | 10 flash.c \ |
10 hw.c \ | 11 hw.c \ |
11 lcd.c \ | 12 lcd.c \ |
21 tempctrl.c \ | 22 tempctrl.c \ |
22 touch.c | 23 touch.c |
23 | 24 |
24 #SRCS+= ccsbcs.c | 25 #SRCS+= ccsbcs.c |
25 | 26 |
26 STM32LIBS= usart gpio rcc rtc pwr bkp fsmc spi tim i2c crc sdio dma | 27 STM32LIBS= usart gpio rcc rtc pwr bkp fsmc spi tim i2c crc sdio dma flash |
27 | 28 |
28 .for f in ${STM32LIBS} | 29 .for f in ${STM32LIBS} |
29 SRCS+= stm32f10x_${f}.c | 30 SRCS+= stm32f10x_${f}.c |
30 CFLAGS+= -DSTM32F10X_${f:U}_EN | 31 CFLAGS+= -DSTM32F10X_${f:U}_EN |
31 .endfor | 32 .endfor |