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:
parent
b37c30378b
commit
6aafc1e362
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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."
|
||||
|
||||
|
3
cpu/esp_common/esp-xtensa/Makefile
Normal file
3
cpu/esp_common/esp-xtensa/Makefile
Normal file
@ -0,0 +1,3 @@
|
||||
MODULE=esp_xtensa
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
Loading…
Reference in New Issue
Block a user