diff --git a/platformio_core_defs.ini b/platformio_core_defs.ini index b693fe52b2..8a476b24fc 100644 --- a/platformio_core_defs.ini +++ b/platformio_core_defs.ini @@ -275,7 +275,7 @@ lib_ignore = ;platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/1732/framework-arduinoespressif32-release_v5.1-4cafc60a00.zip ;platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/1752/framework-arduinoespressif32-release_v5.1_no_SECP256R1-e97d377907.zip platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.10.12/platform-espressif32.zip -platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/1785/framework-arduinoespressif32-release_v5.1-02b9e1c552.zip +platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/1786/framework-arduinoespressif32-release_v5.1-02b9e1c552.zip build_flags = -DESP32_STAGE -DESP_IDF_VERSION_MAJOR=5 -DLIBRARIES_NO_LOG=1 diff --git a/src/include/esp32x_fixes.h b/src/include/esp32x_fixes.h index 8bf04469f1..ad77261203 100644 --- a/src/include/esp32x_fixes.h +++ b/src/include/esp32x_fixes.h @@ -74,7 +74,7 @@ # define SPI_HOST SPI1_HOST # define HSPI_HOST SPI2_HOST # define VSPI_HOST SPI2_HOST /* No SPI3_host on C3 */ -# if ESP_IDF_VERSION_MAJOR < 5 +//# if ESP_IDF_VERSION_MAJOR < 5 // fix a bug in esp-idf 4.4 for esp32c3 # ifndef REG_SPI_BASE @@ -83,7 +83,7 @@ // SPI_MOSI_DLEN_REG is not defined anymore in esp32c3, instead use SPI_MS_DLEN_REG # define SPI_MOSI_DLEN_REG(x) SPI_MS_DLEN_REG(x) # endif // REG_SPI_BASE -# endif // ESP_IDF_VERSION_MAJOR < 5 +//# endif // ESP_IDF_VERSION_MAJOR < 5 #elif CONFIG_IDF_TARGET_ESP32C2 || CONFIG_IDF_TARGET_ESP32C6 # define SPI_HOST SPI1_HOST