1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

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.
This commit is contained in:
Gunar Schorcht 2022-07-22 06:25:06 +02:00
parent ea9382c12b
commit 6d74895825

View File

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