From 6d74895825a133aabf37df1dd6cbb260fdbebfa6 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Fri, 22 Jul 2022 06:25:06 +0200 Subject: [PATCH] tests/periph_gpio_ll: use MCU instead of CPU_FAM for ESP32x SoC To be able to compile the test for different ESP32x variants without defining each ESP32x variant, MCU has to be used instead of CPU_FAM. --- tests/periph_gpio_ll/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/periph_gpio_ll/Makefile b/tests/periph_gpio_ll/Makefile index f106f192f3..a87abfd096 100644 --- a/tests/periph_gpio_ll/Makefile +++ b/tests/periph_gpio_ll/Makefile @@ -46,11 +46,11 @@ CFLAGS += -DPIN_OUT_0=$(PIN_OUT_0) CFLAGS += -DPIN_OUT_1=$(PIN_OUT_1) CFLAGS += -DLOW_ROM=$(LOW_ROM) -ifneq ($(CPU_FAM),esp32) +ifneq ($(MCU),esp32) # We only need 1 thread (+ the Idle thread on some platforms) and we really # want this app working on all boards. CFLAGS += -DMAXTHREADS=2 else - # ESP32 uses an extra thread for esp_timer + # ESP32x SoCs uses an extra thread for esp_timer CFLAGS += -DMAXTHREADS=3 endif