1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:32:45 +01:00

cpu/esp_common: add module esp_xtensa to makefiles

This commit is contained in:
Gunar Schorcht 2022-06-25 19:43:01 +02:00
parent b37c30378b
commit 6aafc1e362
4 changed files with 13 additions and 1 deletions

View File

@ -17,4 +17,8 @@ ifneq (,$(filter esp_wifi,$(USEMODULE)))
DIRS += esp-wifi
endif
ifneq (,$(filter esp_xtensa,$(USEMODULE)))
DIRS += esp-xtensa
endif
include $(RIOTBASE)/Makefile.base

View File

@ -20,7 +20,8 @@ ifeq (,$(filter stdio_% slipdev_stdio,$(USEMODULE)))
USEMODULE += stdio_uart
endif
ifneq (,$(filter esp8266 esp32 esp32s%,$(CPU)))
ifeq (xtensa,$(CPU_ARCH))
USEMODULE += esp_xtensa
USEMODULE += xtensa
endif

View File

@ -24,6 +24,10 @@ FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart_modecfg
FEATURES_PROVIDED += ssp
ifeq (xtensa,$(CPU_ARCH))
FEATURES_PROVIDED += arch_esp_xtensa
endif
FEATURES_CONFLICT += esp_wifi_ap:esp_now
FEATURES_CONFLICT_MSG += "ESP_NOW and ESP_WIFI_AP can not be used at the same time."

View File

@ -0,0 +1,3 @@
MODULE=esp_xtensa
include $(RIOTBASE)/Makefile.base