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:
commit
1bf3f75300
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user