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

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.
This commit is contained in:
Gunar Schorcht 2022-07-22 06:24:20 +02:00
parent 2b56495db0
commit ea9382c12b

View File

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