diff options
| author | Damien George | 2014-01-21 22:32:51 +0000 |
|---|---|---|
| committer | Damien George | 2014-01-21 22:32:51 +0000 |
| commit | d51cfd155c09771a6abb4e7a058522f4677fc7cb (patch) | |
| tree | b55776e0c30b9bf12678938347214bb79f7e431d /stm/Makefile | |
| parent | eb380d7261d40ee54fda198143d766f20e599024 (diff) | |
stm: Put HSE_VALUE and other defines in mpconfigport.h.
mpconfigport.h is now included by stm32f4xx.h so that all STM files have
access to these defines.
Diffstat (limited to 'stm/Makefile')
| -rw-r--r-- | stm/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/stm/Makefile b/stm/Makefile index 75fdee7c6..8b9e98fa0 100644 --- a/stm/Makefile +++ b/stm/Makefile @@ -17,7 +17,6 @@ STMSRC=lib FATFSSRC=fatfs CC3KSRC=cc3k DFU=../tools/dfu.py -OSC_VALUE=8000000 AS = arm-none-eabi-as CC = arm-none-eabi-gcc @@ -25,7 +24,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 -DSTM32F40_41xxx -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=$(OSC_VALUE) +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 CFLAGS = -I. -I$(PY_SRC) -I$(FATFSSRC) -I$(CMSIS) -I$(STMSRC) -Wall -ansi -std=gnu99 $(CFLAGS_CORTEX_M4) #CFLAGS += -I$(STMOTGSRC) -DUSE_HOST_MODE -DUSE_OTG_MODE |
