diff options
author | Damien George <damien.p.george@gmail.com> | 2017-06-28 15:44:29 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-06-28 15:44:29 +1000 |
commit | 05a08506ae38453af7f41752b1f7e245a7badacb (patch) | |
tree | 3a6eac2805b65825c9646d7fda812a9797e77098 | |
parent | 703370ebc5419af918754a402f4b0122c3e0a3c0 (diff) | |
download | micropython-05a08506ae38453af7f41752b1f7e245a7badacb.tar.gz micropython-05a08506ae38453af7f41752b1f7e245a7badacb.zip |
stmhal/Makefile: Add CFLAGS_EXTRA to CFLAGS so cmdline can add options.
-rw-r--r-- | stmhal/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/Makefile b/stmhal/Makefile index 78de62ff11..ae1db2ae95 100644 --- a/stmhal/Makefile +++ b/stmhal/Makefile @@ -63,7 +63,7 @@ CFLAGS_MCU_f4 = $(CFLAGS_CORTEX_M) -mtune=cortex-m4 -mcpu=cortex-m4 -DMCU_SERIES CFLAGS_MCU_f7 = $(CFLAGS_CORTEX_M) -mtune=cortex-m7 -mcpu=cortex-m7 -DMCU_SERIES_F7 CFLAGS_MCU_l4 = $(CFLAGS_CORTEX_M) -mtune=cortex-m4 -mcpu=cortex-m4 -DMCU_SERIES_L4 -CFLAGS = $(INC) -Wall -Wpointer-arith -Werror -std=gnu99 -nostdlib $(CFLAGS_MOD) +CFLAGS = $(INC) -Wall -Wpointer-arith -Werror -std=gnu99 -nostdlib $(CFLAGS_MOD) $(CFLAGS_EXTRA) CFLAGS += -D$(CMSIS_MCU) CFLAGS += $(CFLAGS_MCU_$(MCU_SERIES)) CFLAGS += $(COPT) |