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