1
0
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:
Gunar Schorcht 2022-06-25 23:51:56 +02:00
parent c4132573f4
commit 4b86ae3b5e
4 changed files with 15 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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."

View File

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