From 2c475a38d5fa22fbabbb576e0e6d4d547988ef4f Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Tue, 18 Nov 2014 21:47:36 +0000 Subject: [PATCH] stm32:l0: Correctly compile as m0+, not m0. Committed to binutils back in 2012, so even though it has no real impact, it at least does the right thing for future compilers to make better decisions. Signed-off-by: Karl Palsson --- lib/stm32/l0/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stm32/l0/Makefile b/lib/stm32/l0/Makefile index 9690d0a5..6e1fa5ff 100644 --- a/lib/stm32/l0/Makefile +++ b/lib/stm32/l0/Makefile @@ -29,7 +29,7 @@ CFLAGS = -Os -g \ -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \ -Wundef -Wshadow \ -I../../../include -fno-common \ - -mcpu=cortex-m0 $(FP_FLAGS) -mthumb -Wstrict-prototypes \ + -mcpu=cortex-m0plus $(FP_FLAGS) -mthumb -Wstrict-prototypes \ -ffunction-sections -fdata-sections -MD -DSTM32L0 ARFLAGS = rcs