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

tests/periph_gpio_ll: Account for extra thread needed for ESP32

This commit is contained in:
Marian Buschsieweke 2022-06-15 09:59:29 +02:00
parent 91afd31425
commit f59e910fd2
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

@ -44,7 +44,13 @@ CFLAGS += -DPIN_IN_0=$(PIN_IN_0)
CFLAGS += -DPIN_IN_1=$(PIN_IN_1)
CFLAGS += -DPIN_OUT_0=$(PIN_OUT_0)
CFLAGS += -DPIN_OUT_1=$(PIN_OUT_1)
# We only need 1 thread (+ the Idle thread on some platforms) and we really want
# this app working on all boards.
CFLAGS += -DMAXTHREADS=2
CFLAGS += -DLOW_ROM=$(LOW_ROM)
ifneq ($(CPU_FAM),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
CFLAGS += -DMAXTHREADS=3
endif