mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-27 19:57:38 +00:00
[Cleanup] Small optimizations to reduce bin size
This commit is contained in:
@@ -74,34 +74,42 @@ lib_ignore = ${regular_platform.lib_ignore}
|
||||
extra_scripts = ${extra_scripts_esp8266.extra_scripts}
|
||||
|
||||
|
||||
[env:spec_debug_custom_ESP32_4M316k]
|
||||
[env:spec_debug_custom_ESP32_16M8M]
|
||||
extends = esp32_common
|
||||
build_type = ${debug_pio.build_type}
|
||||
check_tool = ${debug_pio.check_tool}
|
||||
check_flags = ${debug_pio.check_flags}
|
||||
platform = ${esp32_common.platform}
|
||||
build_flags = ${esp32_common.build_flags} ${debug_pio.build_flags} -DPLUGIN_BUILD_CUSTOM
|
||||
board = esp32dev
|
||||
board = esp32_16M8M
|
||||
board_upload.maximum_size = 4194304
|
||||
extra_scripts = ${esp32_common.extra_scripts}
|
||||
pre:tools/pio/pre_custom_esp32.py
|
||||
|
||||
[env:spec_debug_max_ESP32_16M8M]
|
||||
extends = esp32_common
|
||||
extends = esp32_base
|
||||
build_type = ${debug_pio.build_type}
|
||||
check_tool = ${debug_pio.check_tool}
|
||||
check_flags = ${debug_pio.check_flags}
|
||||
lib_ignore = ${esp32_always.lib_ignore}
|
||||
ESP32_ping
|
||||
board_upload.maximum_size = 4194304
|
||||
build_flags = ${esp32_common.build_flags}
|
||||
build_flags = ${esp32_base.build_flags}
|
||||
${debug_pio.build_flags}
|
||||
-DUSE_LITTLEFS
|
||||
-DFEATURE_ARDUINO_OTA
|
||||
-DPLUGIN_BUILD_MAX_ESP32
|
||||
-DPLUGIN_BUILD_IR_EXTENDED
|
||||
lib_deps = ${esp32_base.lib_deps}
|
||||
LittleFS
|
||||
board_build.filesystem = littlefs
|
||||
|
||||
; TODO: To enable PS-RAM Support needs more build flags than these 2, for now define BOARD_HAS_PSRAM is used to en/disable detecting PS-Ram size on Info page
|
||||
; -DBOARD_HAS_PSRAM // both flags already enabled for Lolin D32 Pro board by PlatformIO
|
||||
; -mfix-esp32-psram-cache-issue
|
||||
board = lolin_d32_pro
|
||||
;board = lolin_d32_pro
|
||||
board = esp32_16M8M
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user