platformio.ini: adding some optional flags
can be used to reduce compile time, and to reduce FLASH size.
This commit is contained in:
@@ -556,6 +556,13 @@ build_flags_min =
|
||||
-D USERMOD_CUSTOMEFFECTS ; WLEDMM usermod
|
||||
; -D WLED_DEBUG ; lots of generic debug messages
|
||||
; -D SR_DEBUG ; some extra debug messages from audioreactive
|
||||
; -D MIC_LOGGER ; for sound input monitoring & debugging (use arduino serial plotter)
|
||||
; -D WLED_DISABLE_LOXONE
|
||||
; -D WLED_DISABLE_ALEXA
|
||||
; -D WLED_DISABLE_HUESYNC
|
||||
; -D WLED_DISABLE_MQTT
|
||||
; -D WLED_DISABLE_INFRARED
|
||||
; -D WLED_ENABLE_DMX
|
||||
|
||||
lib_deps_min =
|
||||
https://github.com/kosme/arduinoFFT#develop @ 1.9.2 ; used for USERMOD_AUDIOREACTIVE
|
||||
@@ -617,6 +624,7 @@ lib_deps = ${esp32.lib_depsV4} ${common_mm.lib_deps_min}
|
||||
board_build.partitions = ${esp32.default_partitions}
|
||||
board_build.f_flash = 80000000L ; use full 80MHz speed for flash (default = 40Mhz)
|
||||
board_build.flash_mode = dio ; (dio = dual i/o; more compatible than qio = quad i/o)
|
||||
;lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
|
||||
|
||||
[env:esp32_4MB_V4_max_base]
|
||||
extends = env:esp32_4MB_V4_min_base
|
||||
@@ -669,6 +677,12 @@ build_flags = ${env:esp32_4MB_max_base.build_flags}
|
||||
; -D WLED_DEBUG
|
||||
; -D SR_DEBUG
|
||||
; -D MIC_LOGGER
|
||||
; -D WLED_DISABLE_LOXONE
|
||||
; -D WLED_DISABLE_ALEXA
|
||||
; -D WLED_DISABLE_HUESYNC
|
||||
; -D WLED_DISABLE_MQTT
|
||||
; -D WLED_DISABLE_INFRARED
|
||||
;lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
|
||||
|
||||
; esp8266_4MB_min: bin entry for 8266, with 2D (WIP)
|
||||
[env:esp8266_4MB_min]
|
||||
@@ -710,6 +724,7 @@ build_flags = ${env:esp32_4MB_V4_min_base.build_flags}
|
||||
; -D MIC_LOGGER
|
||||
; RAM: [== ] 24.2% (used 79372 bytes from 327680 bytes)
|
||||
; Flash: [========= ] 88.8% (used 1396073 bytes from 1572864 bytes)
|
||||
;lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
|
||||
|
||||
; esp32_4MB_V4_max: bin entry compiled with ESP-IDF 4.4.1, uses esp32_4MB_V4_max_base
|
||||
[env:esp32_4MB_V4_max]
|
||||
@@ -727,6 +742,7 @@ build_flags = ${env:esp32_4MB_V4_max_base.build_flags}
|
||||
; Flash: [==========] 95.8% (used 1506893 bytes from 1572864 bytes)
|
||||
;-D WLED_DISABLE_MQTT ; RAM 216 bytes; FLASH 16496 bytes
|
||||
;-D WLED_DISABLE_INFRARED ;RAM 136 bytes; FLASH 24492 bytes
|
||||
;lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
|
||||
|
||||
; esp32_16MB_max: bin entry compiled with ESP-IDF 4.4.1, uses esp32_4MB_V4_max_base and adds 16MB settings
|
||||
[env:esp32_16MB_V4_max]
|
||||
|
||||
Reference in New Issue
Block a user