From ec97eb84474e743188ea18ca14f601ca738977e0 Mon Sep 17 00:00:00 2001 From: Gilles DOFFE Date: Sun, 27 Sep 2020 20:05:55 +0200 Subject: [PATCH] cpu/stm32: set CPU_LINE for stm32mp157c Set CPU_LINE variable according to informations extracted from stm32_info.mk. Signed-off-by: Gilles DOFFE --- cpu/stm32/stm32_line.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cpu/stm32/stm32_line.mk b/cpu/stm32/stm32_line.mk index 543106131c..50f0e91e27 100644 --- a/cpu/stm32/stm32_line.mk +++ b/cpu/stm32/stm32_line.mk @@ -137,3 +137,10 @@ ifeq (L,$(STM32_TYPE)) endif endif endif +ifeq (MP,$(STM32_TYPE)) + ifeq (157,$(STM32_MODEL)) + ifeq (C,$(STM32_MODEL2)) + CPU_LINE = STM32MP157Cxx + endif + endif +endif