From ea9382c12bda82a08db80157a0d4941b684145a7 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Fri, 22 Jul 2022 06:24:20 +0200 Subject: [PATCH] tests/pkg_fff: 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/pkg_fff/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/pkg_fff/Makefile b/tests/pkg_fff/Makefile index b644207afa..81a603aaf0 100644 --- a/tests/pkg_fff/Makefile +++ b/tests/pkg_fff/Makefile @@ -5,10 +5,10 @@ FEATURES_BLACKLIST += periph_i2c include $(RIOTBASE)/Makefile.include -ifneq ($(CPU_FAM),esp32) +ifneq ($(MCU),esp32) # only two threads used 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