mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-10-26 22:10:45 +00:00
[ESP-IDF] Move to IDF5.5 for all ESP32-xx builds
This commit is contained in:
1 parent
920d54afeb
commit
fa8b6ac807
8 files changed
+39
-105
No files matched your search
@@ -162,37 +162,6 @@ extra_scripts = ${esp82xx_common.extra_scripts}
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
; ESP_IDF 5.4.1
|
|
||||||
[core_esp32_IDF5_4_1__3_2_0_LittleFS]
|
|
||||||
platform = https://github.com/Jason2866/platform-espressif32.git#Arduino/IDF54
|
|
||||||
platform_packages =
|
|
||||||
;platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/3743/framework-arduinoespressif32-all-release_v5.4-a4437683.zip
|
|
||||||
build_flags = -DESP32_STAGE
|
|
||||||
-DESP_IDF_VERSION_MAJOR=5
|
|
||||||
-DLIBRARIES_NO_LOG=1
|
|
||||||
-DDISABLE_SC16IS752_SPI
|
|
||||||
; -DCONFIG_PM_ENABLE=0
|
|
||||||
-DETH_TYPE_JL1101_SUPPORTED
|
|
||||||
; PR_9453_FLUSH_TO_CLEAR_REVERTED
|
|
||||||
-DPR_9453_FLUSH_TO_CLEAR=clear
|
|
||||||
; -DCONFIG_LWIP_L2_TO_L3_COPY
|
|
||||||
; -DETH_SPI_SUPPORTS_NO_IRQ=1
|
|
||||||
-DCONFIG_FREERTOS_USE_TICKLESS_IDLE=1
|
|
||||||
-DCONFIG_FREERTOS_IDLE_TIME_BEFORE_SLEEP=3
|
|
||||||
-DNEOPIXEL_ESP32_RMT_DEFAULT
|
|
||||||
-DCRON_USE_LOCAL_TIME
|
|
||||||
-I$PROJECT_DIR/src/include
|
|
||||||
-include "sdkconfig.h"
|
|
||||||
-include "ESPEasy_config.h"
|
|
||||||
-include "esp32x_fixes.h"
|
|
||||||
-DUPDATE_NOCRYPT
|
|
||||||
; -Wnull-dereference
|
|
||||||
lib_ignore =
|
|
||||||
lib_extra_dirs =
|
|
||||||
lib/lib_ssl
|
|
||||||
|
|
||||||
|
|
||||||
; ESP_IDF 5.5.0
|
; ESP_IDF 5.5.0
|
||||||
[core_esp32_IDF5_5_0__3_2_0_LittleFS]
|
[core_esp32_IDF5_5_0__3_2_0_LittleFS]
|
||||||
platform = https://github.com/Jason2866/platform-espressif32.git#0b2bdf30cd0744b0b37907ee022ee7e30bb8f8bc
|
platform = https://github.com/Jason2866/platform-espressif32.git#0b2bdf30cd0744b0b37907ee022ee7e30bb8f8bc
|
||||||
|
|||||||
@@ -1,38 +1,3 @@
|
|||||||
[esp32_base_idf5]
|
|
||||||
extends = common, core_esp32_IDF5_4_1__3_2_0_LittleFS
|
|
||||||
upload_speed = 460800
|
|
||||||
upload_before_reset = default_reset
|
|
||||||
upload_after_reset = hard_reset
|
|
||||||
extra_scripts = pre:tools/pio/pre_esp32.py
|
|
||||||
post:tools/pio/post_esp32.py
|
|
||||||
${extra_scripts_default.extra_scripts}
|
|
||||||
post:tools/pio/copy_files.py
|
|
||||||
; you can disable debug linker flag to reduce binary size (comment out line below), but the backtraces will become less readable
|
|
||||||
; tools/pio/extra_linker_flags.py
|
|
||||||
; fix the platform package to use gcc-ar and gcc-ranlib to enable lto linker plugin
|
|
||||||
; more detail: https://embeddedartistry.com/blog/2020/04/13/prefer-gcc-ar-to-ar-in-your-buildsystems/
|
|
||||||
; pre:tools/pio/apply_patches.py
|
|
||||||
|
|
||||||
; When using LTO, make sure NOT to use -mtext-section-literals
|
|
||||||
; -mtext-section-literals may be required when building large builds
|
|
||||||
; However LTO cannot optimize builds with text section literals and thus will result in quite a lot larger builds (80k - 140k larger)
|
|
||||||
build_unflags = -Wall
|
|
||||||
-fno-lto
|
|
||||||
build_flags = ${core_esp32_IDF5_4_1__3_2_0_LittleFS.build_flags}
|
|
||||||
; ${mqtt_flags.build_flags}
|
|
||||||
-DMQTT_MAX_PACKET_SIZE=2048
|
|
||||||
-DCONFIG_FREERTOS_ASSERT_DISABLE
|
|
||||||
-DCONFIG_LWIP_ESP_GRATUITOUS_ARP
|
|
||||||
-fno-strict-aliasing
|
|
||||||
-flto=auto
|
|
||||||
-Wswitch
|
|
||||||
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
|
|
||||||
-DLWIP_IPV6=1
|
|
||||||
monitor_filters = esp32_exception_decoder
|
|
||||||
lib_ignore =
|
|
||||||
${core_esp32_IDF5_4_1__3_2_0_LittleFS.lib_ignore}
|
|
||||||
|
|
||||||
|
|
||||||
[esp32_base_idf5_5]
|
[esp32_base_idf5_5]
|
||||||
@@ -84,22 +49,22 @@ lib_ignore = ESP8266Ping
|
|||||||
TinyWireM
|
TinyWireM
|
||||||
LittleFS_esp32
|
LittleFS_esp32
|
||||||
Adafruit NeoPixel
|
Adafruit NeoPixel
|
||||||
${esp32_base_idf5.lib_ignore}
|
${esp32_base_idf5_5.lib_ignore}
|
||||||
|
|
||||||
|
|
||||||
[esp32_common_LittleFS]
|
[esp32_common_LittleFS]
|
||||||
extends = esp32_base_idf5
|
extends = esp32_base_idf5_5
|
||||||
build_flags = ${esp32_base_idf5.build_flags}
|
build_flags = ${esp32_base_idf5_5.build_flags}
|
||||||
; -mtext-section-literals
|
; -mtext-section-literals
|
||||||
-DESP32_CLASSIC
|
-DESP32_CLASSIC
|
||||||
-DUSE_LITTLEFS
|
-DUSE_LITTLEFS
|
||||||
build_unflags = ${esp32_base_idf5.build_unflags}
|
build_unflags = ${esp32_base_idf5_5.build_unflags}
|
||||||
extra_scripts = ${esp32_base_idf5.extra_scripts}
|
extra_scripts = ${esp32_base_idf5_5.extra_scripts}
|
||||||
board_build.filesystem = littlefs
|
board_build.filesystem = littlefs
|
||||||
lib_ignore = ${esp32_always.lib_ignore}
|
lib_ignore = ${esp32_always.lib_ignore}
|
||||||
ESP32_ping
|
ESP32_ping
|
||||||
ESP32 BLE Arduino
|
ESP32 BLE Arduino
|
||||||
${esp32_base_idf5.lib_ignore}
|
${esp32_base_idf5_5.lib_ignore}
|
||||||
|
|
||||||
|
|
||||||
[esp32_common_LittleFS_ETH]
|
[esp32_common_LittleFS_ETH]
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
|
|
||||||
; IDF 5.3.1
|
; IDF 5.3.1
|
||||||
[esp32_solo1_common_LittleFS]
|
[esp32_solo1_common_LittleFS]
|
||||||
extends = esp32_base_idf5
|
extends = esp32_base_idf5_5
|
||||||
board = esp32_solo1_4M
|
board = esp32_solo1_4M
|
||||||
;platform = https://github.com/Jason2866/platform-espressif32.git#Arduino/IDF53
|
;platform = https://github.com/Jason2866/platform-espressif32.git#Arduino/IDF53
|
||||||
;platform_packages = framework-arduino-solo1 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/3507/framework-arduinoespressif32-solo1-release_v5.3-2952ac93.zip
|
;platform_packages = framework-arduino-solo1 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/3507/framework-arduinoespressif32-solo1-release_v5.3-2952ac93.zip
|
||||||
build_flags = ${esp32_base_idf5.build_flags}
|
build_flags = ${esp32_base_idf5_5.build_flags}
|
||||||
-DFEATURE_ARDUINO_OTA=1
|
-DFEATURE_ARDUINO_OTA=1
|
||||||
-DUSE_LITTLEFS
|
-DUSE_LITTLEFS
|
||||||
-DCORE32SOLO1
|
-DCORE32SOLO1
|
||||||
lib_ignore = ${esp32_base_idf5.lib_ignore}
|
lib_ignore = ${esp32_base_idf5_5.lib_ignore}
|
||||||
extra_scripts = ${esp32_base_idf5.extra_scripts}
|
extra_scripts = ${esp32_base_idf5_5.extra_scripts}
|
||||||
build_unflags = ${esp32_base_idf5.build_unflags}
|
build_unflags = ${esp32_base_idf5_5.build_unflags}
|
||||||
-fexceptions
|
-fexceptions
|
||||||
board_build.filesystem = littlefs
|
board_build.filesystem = littlefs
|
||||||
|
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
; No Ethernet for ESP32-C2 as this one already hasn't much RAM.
|
; No Ethernet for ESP32-C2 as this one already hasn't much RAM.
|
||||||
; Thus Jason removed Ethernet support for ESP32-C2 from the PIO platform_packages
|
; Thus Jason removed Ethernet support for ESP32-C2 from the PIO platform_packages
|
||||||
[esp32c2_common_LittleFS]
|
[esp32c2_common_LittleFS]
|
||||||
extends = esp32_base_idf5
|
extends = esp32_base_idf5_5
|
||||||
build_flags = ${esp32_base_idf5.build_flags}
|
build_flags = ${esp32_base_idf5_5.build_flags}
|
||||||
-DFEATURE_ARDUINO_OTA=1
|
-DFEATURE_ARDUINO_OTA=1
|
||||||
-DESP32C2
|
-DESP32C2
|
||||||
extra_scripts = ${esp32_base_idf5.extra_scripts}
|
extra_scripts = ${esp32_base_idf5_5.extra_scripts}
|
||||||
build_unflags = ${esp32_base_idf5.build_unflags}
|
build_unflags = ${esp32_base_idf5_5.build_unflags}
|
||||||
-fexceptions
|
-fexceptions
|
||||||
board_build.filesystem = littlefs
|
board_build.filesystem = littlefs
|
||||||
lib_ignore = ${esp32_base_idf5.lib_ignore}
|
lib_ignore = ${esp32_base_idf5_5.lib_ignore}
|
||||||
NeoPixelBus
|
NeoPixelBus
|
||||||
NeoPixelBus_wrapper
|
NeoPixelBus_wrapper
|
||||||
Adafruit NeoMatrix via NeoPixelBus
|
Adafruit NeoMatrix via NeoPixelBus
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
[esp32c3_common_LittleFS]
|
[esp32c3_common_LittleFS]
|
||||||
extends = esp32_base_idf5
|
extends = esp32_base_idf5_5
|
||||||
build_flags = ${esp32_base_idf5.build_flags}
|
build_flags = ${esp32_base_idf5_5.build_flags}
|
||||||
-DFEATURE_ARDUINO_OTA=1
|
-DFEATURE_ARDUINO_OTA=1
|
||||||
-DFEATURE_ETHERNET=1
|
-DFEATURE_ETHERNET=1
|
||||||
-DUSE_LITTLEFS
|
-DUSE_LITTLEFS
|
||||||
-DESP32C3
|
-DESP32C3
|
||||||
extra_scripts = ${esp32_base_idf5.extra_scripts}
|
extra_scripts = ${esp32_base_idf5_5.extra_scripts}
|
||||||
build_unflags = ${esp32_base_idf5.build_unflags}
|
build_unflags = ${esp32_base_idf5_5.build_unflags}
|
||||||
-fexceptions
|
-fexceptions
|
||||||
board_build.filesystem = littlefs
|
board_build.filesystem = littlefs
|
||||||
lib_ignore = ${esp32_base_idf5.lib_ignore}
|
lib_ignore = ${esp32_base_idf5_5.lib_ignore}
|
||||||
board = esp32c3cdc
|
board = esp32c3cdc
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
[esp32c6_common_LittleFS]
|
[esp32c6_common_LittleFS]
|
||||||
extends = esp32_base_idf5
|
extends = esp32_base_idf5_5
|
||||||
build_flags = ${esp32_base_idf5.build_flags}
|
build_flags = ${esp32_base_idf5_5.build_flags}
|
||||||
-DFEATURE_ARDUINO_OTA=1
|
-DFEATURE_ARDUINO_OTA=1
|
||||||
-DUSE_LITTLEFS
|
-DUSE_LITTLEFS
|
||||||
-DESP32C6
|
-DESP32C6
|
||||||
-DFEATURE_ETHERNET
|
-DFEATURE_ETHERNET
|
||||||
extra_scripts = ${esp32_base_idf5.extra_scripts}
|
extra_scripts = ${esp32_base_idf5_5.extra_scripts}
|
||||||
build_unflags = ${esp32_base_idf5.build_unflags}
|
build_unflags = ${esp32_base_idf5_5.build_unflags}
|
||||||
-fexceptions
|
-fexceptions
|
||||||
board_build.filesystem = littlefs
|
board_build.filesystem = littlefs
|
||||||
lib_ignore = ${esp32_base_idf5.lib_ignore}
|
lib_ignore = ${esp32_base_idf5_5.lib_ignore}
|
||||||
board = esp32c6cdc
|
board = esp32c6cdc
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
[esp32s2_common_LittleFS]
|
[esp32s2_common_LittleFS]
|
||||||
extends = esp32_base_idf5
|
extends = esp32_base_idf5_5
|
||||||
build_flags = ${esp32_base_idf5.build_flags}
|
build_flags = ${esp32_base_idf5_5.build_flags}
|
||||||
-DFEATURE_ARDUINO_OTA=1
|
-DFEATURE_ARDUINO_OTA=1
|
||||||
-DFEATURE_ETHERNET=1
|
-DFEATURE_ETHERNET=1
|
||||||
-DUSE_LITTLEFS
|
-DUSE_LITTLEFS
|
||||||
-DESP32S2
|
-DESP32S2
|
||||||
extra_scripts = ${esp32_base_idf5.extra_scripts}
|
extra_scripts = ${esp32_base_idf5_5.extra_scripts}
|
||||||
build_unflags = ${esp32_base_idf5.build_unflags}
|
build_unflags = ${esp32_base_idf5_5.build_unflags}
|
||||||
-fexceptions
|
-fexceptions
|
||||||
board_build.filesystem = littlefs
|
board_build.filesystem = littlefs
|
||||||
lib_ignore = ${esp32_base_idf5.lib_ignore}
|
lib_ignore = ${esp32_base_idf5_5.lib_ignore}
|
||||||
|
|
||||||
|
|
||||||
[env:neopixel_ESP32s2_4M316k_LittleFS_ETH]
|
[env:neopixel_ESP32s2_4M316k_LittleFS_ETH]
|
||||||
|
|||||||
@@ -61,12 +61,12 @@ extra_scripts = ${esp32_common_LittleFS_ETH.extra_scripts}
|
|||||||
pre:tools/pio/pre_custom_esp32.py
|
pre:tools/pio/pre_custom_esp32.py
|
||||||
|
|
||||||
[env:spec_debug_max_ESP32_16M8M]
|
[env:spec_debug_max_ESP32_16M8M]
|
||||||
extends = esp32_base_idf5
|
extends = esp32_base_idf5_5
|
||||||
build_type = ${debug_pio.build_type}
|
build_type = ${debug_pio.build_type}
|
||||||
check_tool = ${debug_pio.check_tool}
|
check_tool = ${debug_pio.check_tool}
|
||||||
check_flags = ${debug_pio.check_flags}
|
check_flags = ${debug_pio.check_flags}
|
||||||
lib_ignore = ${esp32_common_LittleFS_ETH.lib_ignore}
|
lib_ignore = ${esp32_common_LittleFS_ETH.lib_ignore}
|
||||||
build_flags = ${esp32_base_idf5.build_flags}
|
build_flags = ${esp32_base_idf5_5.build_flags}
|
||||||
${debug_pio.build_flags}
|
${debug_pio.build_flags}
|
||||||
-DESP32_CLASSIC
|
-DESP32_CLASSIC
|
||||||
-DUSE_LITTLEFS
|
-DUSE_LITTLEFS
|
||||||
@@ -83,12 +83,12 @@ board = esp32_16M8M
|
|||||||
|
|
||||||
|
|
||||||
[env:spec_debug_minimal_ESP32_16M8M]
|
[env:spec_debug_minimal_ESP32_16M8M]
|
||||||
extends = esp32_base_idf5
|
extends = esp32_base_idf5_5
|
||||||
build_type = ${debug_pio.build_type}
|
build_type = ${debug_pio.build_type}
|
||||||
check_tool = ${debug_pio.check_tool}
|
check_tool = ${debug_pio.check_tool}
|
||||||
check_flags = ${debug_pio.check_flags}
|
check_flags = ${debug_pio.check_flags}
|
||||||
lib_ignore = ${esp32_common_LittleFS_ETH.lib_ignore}
|
lib_ignore = ${esp32_common_LittleFS_ETH.lib_ignore}
|
||||||
build_flags = ${esp32_base_idf5.build_flags}
|
build_flags = ${esp32_base_idf5_5.build_flags}
|
||||||
${debug_pio.build_flags}
|
${debug_pio.build_flags}
|
||||||
-DESP32_CLASSIC
|
-DESP32_CLASSIC
|
||||||
-DUSE_LITTLEFS
|
-DUSE_LITTLEFS
|
||||||
@@ -103,12 +103,12 @@ board = esp32_16M8M
|
|||||||
|
|
||||||
|
|
||||||
[env:spec_debug_display_ESP32_16M8M]
|
[env:spec_debug_display_ESP32_16M8M]
|
||||||
extends = esp32_base_idf5
|
extends = esp32_base_idf5_5
|
||||||
build_type = ${debug_pio.build_type}
|
build_type = ${debug_pio.build_type}
|
||||||
check_tool = ${debug_pio.check_tool}
|
check_tool = ${debug_pio.check_tool}
|
||||||
check_flags = ${debug_pio.check_flags}
|
check_flags = ${debug_pio.check_flags}
|
||||||
lib_ignore = ${esp32_common_LittleFS_ETH.lib_ignore}
|
lib_ignore = ${esp32_common_LittleFS_ETH.lib_ignore}
|
||||||
build_flags = ${esp32_base_idf5.build_flags}
|
build_flags = ${esp32_base_idf5_5.build_flags}
|
||||||
${debug_pio.build_flags}
|
${debug_pio.build_flags}
|
||||||
-DESP32_CLASSIC
|
-DESP32_CLASSIC
|
||||||
-DUSE_LITTLEFS
|
-DUSE_LITTLEFS
|
||||||
@@ -124,12 +124,12 @@ board_build.filesystem = littlefs
|
|||||||
board = esp32_16M8M
|
board = esp32_16M8M
|
||||||
|
|
||||||
[env:spec_debug_neopixel_ESP32_16M8M]
|
[env:spec_debug_neopixel_ESP32_16M8M]
|
||||||
extends = esp32_base_idf5
|
extends = esp32_base_idf5_5
|
||||||
build_type = ${debug_pio.build_type}
|
build_type = ${debug_pio.build_type}
|
||||||
check_tool = ${debug_pio.check_tool}
|
check_tool = ${debug_pio.check_tool}
|
||||||
check_flags = ${debug_pio.check_flags}
|
check_flags = ${debug_pio.check_flags}
|
||||||
lib_ignore = ${esp32_common_LittleFS_ETH.lib_ignore}
|
lib_ignore = ${esp32_common_LittleFS_ETH.lib_ignore}
|
||||||
build_flags = ${esp32_base_idf5.build_flags}
|
build_flags = ${esp32_base_idf5_5.build_flags}
|
||||||
${debug_pio.build_flags}
|
${debug_pio.build_flags}
|
||||||
-DESP32_CLASSIC
|
-DESP32_CLASSIC
|
||||||
-DUSE_LITTLEFS
|
-DUSE_LITTLEFS
|
||||||
|
|||||||
Reference in new issue
Block a user