Refactor inching towards risc-v fault handling.

This commit is contained in:
Brad Nelson
2023-02-05 11:58:48 -08:00
parent 9ef1ea9f90
commit 2b05d7794e
3 changed files with 67 additions and 8 deletions

View File

@ -27,6 +27,7 @@
#define ENABLE_LEDC_SUPPORT
#define ENABLE_SD_SUPPORT
#define ENABLE_SPI_FLASH_SUPPORT
#define ENABLE_ESP32_FORTH_FAULT_HANDLING
// SD_MMC does not work on ESP32-S2 / ESP32-C3
#if !defined(CONFIG_IDF_TARGET_ESP32S2) && !defined(CONFIG_IDF_TARGET_ESP32C3)
@ -54,7 +55,6 @@
// ESP32-C3 doesn't support fault handling yet.
#if !defined(CONFIG_IDF_TARGET_ESP32C3)
# define ENABLE_ESP32_FORTH_FAULT_HANDLING
#endif
// Uncomment this #define for OLED Support.