mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/esp_common: add module esp_riscv to makefiles
This commit is contained in:
parent
c4132573f4
commit
4b86ae3b5e
@ -21,4 +21,8 @@ ifneq (,$(filter esp_xtensa,$(USEMODULE)))
|
||||
DIRS += esp-xtensa
|
||||
endif
|
||||
|
||||
ifneq (,$(filter esp_riscv,$(USEMODULE)))
|
||||
DIRS += esp-riscv
|
||||
endif
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
||||
|
@ -25,6 +25,10 @@ ifeq (xtensa,$(CPU_ARCH))
|
||||
USEMODULE += xtensa
|
||||
endif
|
||||
|
||||
ifeq (riscv_esp32,$(CPU_ARCH))
|
||||
USEMODULE += esp_riscv
|
||||
endif
|
||||
|
||||
# Features used by ESP*
|
||||
|
||||
FEATURES_REQUIRED += newlib
|
||||
|
@ -28,6 +28,10 @@ ifeq (xtensa,$(CPU_ARCH))
|
||||
FEATURES_PROVIDED += arch_esp_xtensa
|
||||
endif
|
||||
|
||||
ifeq (riscv_esp32,$(CPU_ARCH))
|
||||
FEATURES_PROVIDED += arch_esp_riscv
|
||||
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-riscv/Makefile
Normal file
3
cpu/esp_common/esp-riscv/Makefile
Normal file
@ -0,0 +1,3 @@
|
||||
MODULE=esp_riscv
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
Loading…
Reference in New Issue
Block a user