From a838aaeb842edaaa480f1b24c1e8e68f6866d35f Mon Sep 17 00:00:00 2001 From: Tobias Badertscher Date: Tue, 15 Mar 2016 15:09:02 +0100 Subject: [PATCH] Added new lines for building for l4 series. --- stmhal/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/stmhal/Makefile b/stmhal/Makefile index 7e001bc307018..7a67a1c57e7d3 100644 --- a/stmhal/Makefile +++ b/stmhal/Makefile @@ -47,6 +47,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)