1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/pkg_fff/Makefile
Gunar Schorcht ea9382c12b 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.
2022-07-22 06:24:20 +02:00

15 lines
359 B
Makefile

include ../Makefile.tests_common
USEPKG += fff
# If periph_i2c is pulled in the real implementation conflicts with the mock
FEATURES_BLACKLIST += periph_i2c
include $(RIOTBASE)/Makefile.include
ifneq ($(MCU),esp32)
# only two threads used
CFLAGS += -DMAXTHREADS=2
else
# ESP32x SoCs uses an extra thread for esp_timer
CFLAGS += -DMAXTHREADS=3
endif