mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-28 04:07:47 +00:00
[ESP-IDF5.3] Fix build platform for Solo1
This commit is contained in:
@@ -196,9 +196,11 @@ lib_extra_dirs =
|
||||
|
||||
|
||||
; ESP_IDF 5.3.1
|
||||
[core_esp32_IDF5_3_1__3_0_5_LittleFS]
|
||||
platform = https://github.com/tasmota/platform-espressif32/releases/download/2024.10.31/platform-espressif32.zip
|
||||
platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/3184/framework-arduinoespressif32-all-release_v5.3-35321e8b.zip
|
||||
[core_esp32_IDF5_3_2__3_1_0_LittleFS]
|
||||
platform = https://github.com/tasmota/platform-espressif32/releases/download/2024.12.30/platform-espressif32.zip
|
||||
platform_packages =
|
||||
;platform = https://github.com/tasmota/platform-espressif32/releases/download/2024.10.31/platform-espressif32.zip
|
||||
;platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/3184/framework-arduinoespressif32-all-release_v5.3-35321e8b.zip
|
||||
build_flags = -DESP32_STAGE
|
||||
-DESP_IDF_VERSION_MAJOR=5
|
||||
-DLIBRARIES_NO_LOG=1
|
||||
|
||||
@@ -34,7 +34,7 @@ lib_ignore =
|
||||
|
||||
|
||||
[esp32_base_idf5]
|
||||
extends = common, core_esp32_IDF5_3_1__3_0_5_LittleFS
|
||||
extends = common, core_esp32_IDF5_3_2__3_1_0_LittleFS
|
||||
upload_speed = 460800
|
||||
upload_before_reset = default_reset
|
||||
upload_after_reset = hard_reset
|
||||
@@ -51,7 +51,7 @@ extra_scripts = post:tools/pio/post_esp32.py
|
||||
; 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_3_1__3_0_5_LittleFS.build_flags}
|
||||
build_flags = ${core_esp32_IDF5_3_2__3_1_0_LittleFS.build_flags}
|
||||
; ${mqtt_flags.build_flags}
|
||||
-DMQTT_MAX_PACKET_SIZE=2048
|
||||
-DCONFIG_FREERTOS_ASSERT_DISABLE
|
||||
@@ -65,7 +65,7 @@ build_flags = ${core_esp32_IDF5_3_1__3_0_5_LittleFS.build_flags}
|
||||
-DLWIP_IPV6=1
|
||||
monitor_filters = esp32_exception_decoder
|
||||
lib_ignore =
|
||||
${core_esp32_IDF5_3_1__3_0_5_LittleFS.lib_ignore}
|
||||
${core_esp32_IDF5_3_2__3_1_0_LittleFS.lib_ignore}
|
||||
|
||||
|
||||
; -flto cannot be used for ESP32 C3!
|
||||
@@ -116,7 +116,7 @@ board_build.filesystem = littlefs
|
||||
lib_ignore = ${esp32_always.lib_ignore}
|
||||
ESP32_ping
|
||||
ESP32 BLE Arduino
|
||||
${core_esp32_IDF5_3_1__3_0_5_LittleFS.lib_ignore}
|
||||
${core_esp32_IDF5_3_2__3_1_0_LittleFS.lib_ignore}
|
||||
|
||||
|
||||
[esp32_IRExt]
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
; IDF 5.3.1
|
||||
[esp32_solo1_common_LittleFS]
|
||||
extends = esp32_base_idf5
|
||||
platform = https://github.com/tasmota/platform-espressif32/releases/download/2024.10.31/platform-espressif32.zip
|
||||
platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/3185/framework-arduinoespressif32-solo1-release_v5.3-35321e8b.zip
|
||||
platform = https://github.com/tasmota/platform-espressif32/releases/download/2024.12.30/platform-espressif32.zip
|
||||
platform_packages =
|
||||
build_flags = ${esp32_base_idf5.build_flags}
|
||||
-DFEATURE_ARDUINO_OTA=1
|
||||
-DUSE_LITTLEFS
|
||||
|
||||
Reference in New Issue
Block a user