diff --git a/cpu/stm32/stm32_info.mk b/cpu/stm32/stm32_info.mk index 62617a0dc4..92e15f0a55 100644 --- a/cpu/stm32/stm32_info.mk +++ b/cpu/stm32/stm32_info.mk @@ -22,7 +22,7 @@ else ifneq (,$(filter $(CPU_FAM),g4 wb)) CPU_CORE = cortex-m4 else ifeq (f7,$(CPU_FAM)) CPU_CORE = cortex-m7 -else ifneq (,$(CPU_FAM),g0 l0) +else ifneq (,$(filter $(CPU_FAM),g0 l0)) CPU_CORE = cortex-m0plus else $(error Not supported CPU family: 'stm32$(CPU_FAM)')