1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #15108 from aabadie/pr/cpu/stm32_info_fix

cpu/stm32: fix minor bug in Makefile logic when determining CPU_CORE
This commit is contained in:
Alexandre Abadie 2020-09-28 21:20:26 +02:00 committed by GitHub
commit 7dc1286ae0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)')