diff options
| author | Dave Hylands | 2015-08-03 15:07:20 -0700 |
|---|---|---|
| committer | Damien George | 2015-08-07 08:52:42 +0100 |
| commit | 8f59bacb92cb705d79f08f29f4d64c0a774ab78f (patch) | |
| tree | d58104222746d8f1a61ebb7297a9501cbf0dcdfd /stmhal/Makefile | |
| parent | be66a9ecf60eac18e08eda7bddf4b3481459c9f2 (diff) | |
stamhal: Add definitions for MCU_SERIES_F4 and MCU_SERIES_F7
Diffstat (limited to 'stmhal/Makefile')
| -rw-r--r-- | stmhal/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/Makefile b/stmhal/Makefile index 9c278cc4f..c3460c8c5 100644 --- a/stmhal/Makefile +++ b/stmhal/Makefile @@ -45,8 +45,8 @@ INC += -I../lib/netutils INC += -I../lib/timeutils CFLAGS_CORTEX_M = -mthumb -mabi=aapcs-linux -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fsingle-precision-constant -Wdouble-promotion -CFLAGS_MCU_f4 = $(CFLAGS_CORTEX_M) -mtune=cortex-m4 -mcpu=cortex-m4 -CFLAGS_MCU_f7 = $(CFLAGS_CORTEX_M) -mtune=cortex-m7 -mcpu=cortex-m7 +CFLAGS_MCU_f4 = $(CFLAGS_CORTEX_M) -mtune=cortex-m4 -mcpu=cortex-m4 -DMCU_SERIES_F4 +CFLAGS_MCU_f7 = $(CFLAGS_CORTEX_M) -mtune=cortex-m7 -mcpu=cortex-m7 -DMCU_SERIES_F7 CFLAGS = $(INC) -Wall -Wpointer-arith -Werror -ansi -std=gnu99 -nostdlib $(CFLAGS_MOD) CFLAGS += $(CFLAGS_MCU_$(MCU_SERIES)) |
