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

Merge pull request #18356 from gschorcht/tests/change_mcu_for_esp32x

tests/{periph_gpio_ll,pkg_fff}: change CPU_FAM to MCU for ESP32x SoCs
This commit is contained in:
Marian Buschsieweke 2022-07-22 08:22:40 +02:00 committed by GitHub
commit 1bf3f75300
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

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

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