1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/esp32: add esp_jtag pseudomodule and feature

Available on esp32-wrover-kit and esp32-ethernet-kit boards.
This commit is contained in:
Erik Ekman 2020-07-12 13:26:07 +02:00
parent d9c40ba47a
commit db91be6ef8
3 changed files with 7 additions and 0 deletions

View File

@ -9,4 +9,5 @@ FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_pwm
# unique features provided by the board
FEATURES_PROVIDED += esp_jtag
FEATURES_PROVIDED += esp_spi_ram

View File

@ -11,6 +11,7 @@ FEATURES_PROVIDED += periph_spi
# unique features provided by the board
FEATURES_PROVIDED += sdcard_spi
FEATURES_PROVIDED += esp_jtag
FEATURES_PROVIDED += esp_spi_ram
FEATURES_PROVIDED += esp_rtc_timer_32k

View File

@ -26,6 +26,7 @@ PSEUDOMODULES += esp_gdbstub
PSEUDOMODULES += esp_hw_counter
PSEUDOMODULES += esp_i2c_hw
PSEUDOMODULES += esp_idf_newlib
PSEUDOMODULES += esp_jtag
PSEUDOMODULES += esp_rtc_timer_32k
PSEUDOMODULES += esp_spi_ram
PSEUDOMODULES += esp_wifi_enterprise
@ -49,6 +50,10 @@ ifneq (,$(filter esp_eth,$(USEMODULE)))
INCLUDES += -I$(ESP32_SDK_DIR)/components/ethernet/include
endif
ifneq (,$(filter esp_jtag,$(USEMODULE)))
FEATURES_REQUIRED += esp_jtag
endif
CFLAGS += -DSDK_NOT_USED -DCONFIG_FREERTOS_UNICORE=1 -DESP_PLATFORM
CFLAGS += -DLOG_TAG_IN_BRACKETS