summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal
diff options
context:
space:
mode:
authorTobias Badertscher <python@baerospace.ch>2016-03-15 15:09:02 +0100
committerDamien George <damien.p.george@gmail.com>2016-04-16 22:14:12 +0100
commit69f26c68c97d9ddd052b95b835c8b87871c21d7c (patch)
treee56180d97fe4ac904cf68f23cea203b464dc41c7 /stmhal
parent0b6e28c999ef2cb72ea323aea8d451ef0ac2f4a8 (diff)
downloadmicropython-69f26c68c97d9ddd052b95b835c8b87871c21d7c.tar.gz
micropython-69f26c68c97d9ddd052b95b835c8b87871c21d7c.zip
stmhal: L4: Add line to Makefile for building L4 series.
Diffstat (limited to 'stmhal')
-rw-r--r--stmhal/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/stmhal/Makefile b/stmhal/Makefile
index 61e1055dce..ef1379030f 100644
--- a/stmhal/Makefile
+++ b/stmhal/Makefile
@@ -50,6 +50,7 @@ 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 -DMCU_SERIES_F4
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 -ansi -std=gnu99 -nostdlib $(CFLAGS_MOD)
CFLAGS += -D$(CMSIS_MCU)