diff options
| author | Damien George | 2014-01-19 17:40:35 +0000 |
|---|---|---|
| committer | Damien George | 2014-01-19 17:40:35 +0000 |
| commit | b2ebb161d494864cdbee05ee8b74a775845e238e (patch) | |
| tree | 26b91e9c0570fc1ff94ee89221e62fec828458e5 /stm/Makefile | |
| parent | 127775381282c854031302173eedbd5046eb1601 (diff) | |
stm: Upgrade ST peripheral library from 1.1.0 to 1.3.0.
Diffstat (limited to 'stm/Makefile')
| -rw-r--r-- | stm/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stm/Makefile b/stm/Makefile index 0883f5705..3ea1472dc 100644 --- a/stm/Makefile +++ b/stm/Makefile @@ -22,7 +22,7 @@ LD = arm-none-eabi-ld OBJCOPY = arm-none-eabi-objcopy SIZE = arm-none-eabi-size -CFLAGS_CORTEX_M4 = -mthumb -mtune=cortex-m4 -mabi=aapcs-linux -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fsingle-precision-constant -Wdouble-promotion -DSTM32F40XX -DHSE_VALUE=8000000 +CFLAGS_CORTEX_M4 = -mthumb -mtune=cortex-m4 -mabi=aapcs-linux -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fsingle-precision-constant -Wdouble-promotion -DSTM32F40_41xxx -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=8000000 CFLAGS = -I. -I$(PY_SRC) -I$(FATFSSRC) -I$(CMSIS) -I$(STMSRC) -Wall -ansi -std=gnu99 $(CFLAGS_CORTEX_M4) -D$(TARGET) #CFLAGS += -I$(STMOTGSRC) -DUSE_HOST_MODE -DUSE_OTG_MODE @@ -85,6 +85,7 @@ SRC_STM = \ stm32f4xx_spi.c \ stm32f4xx_dac.c \ stm32f4xx_rng.c \ + stm32f4xx_i2c.c \ usb_core.c \ usb_dcd.c \ usb_dcd_int.c \ |
