mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-27 19:57:38 +00:00
147 lines
6.9 KiB
INI
147 lines
6.9 KiB
INI
;Special build environment definitions.
|
|
;These are used for analysis and debugging.
|
|
;
|
|
;!! DO NOT LOAD THESE ONTO A MODULE !!
|
|
|
|
[debug_pio]
|
|
build_type = debug
|
|
;check_tool = clangtidy
|
|
check_tool = pvs-studio
|
|
check_flags =
|
|
pvs-studio: --analysis-mode=4 --errors-off=V532,V586,V795,V1042 --lic-file=../pvs_studio.lic
|
|
build_flags = ${compiler_warnings.build_flags}
|
|
|
|
|
|
[env:spec_debug_custom_ESP8266_4M1M]
|
|
extends = esp8266_4M1M
|
|
build_type = ${debug_pio.build_type}
|
|
check_tool = ${debug_pio.check_tool}
|
|
check_flags = ${debug_pio.check_flags}
|
|
platform = ${regular_platform.platform}
|
|
platform_packages = ${regular_platform.platform_packages}
|
|
build_flags = ${regular_platform.build_flags}
|
|
${debug_pio.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DPLUGIN_BUILD_CUSTOM
|
|
lib_ignore = ${regular_platform.lib_ignore}
|
|
${no_ir.lib_ignore}
|
|
LittleFS(esp8266)
|
|
extra_scripts = ${extra_scripts_esp8266.extra_scripts}
|
|
|
|
|
|
[env:spec_debug_beta_custom_ESP8266_4M1M]
|
|
extends = esp8266_4M1M
|
|
build_type = ${debug_pio.build_type}
|
|
check_tool = ${debug_pio.check_tool}
|
|
check_flags = ${debug_pio.check_flags}
|
|
platform = ${beta_platform.platform}
|
|
platform_packages = ${beta_platform.platform_packages}
|
|
build_flags = ${beta_platform.build_flags}
|
|
${debug_pio.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DPLUGIN_BUILD_CUSTOM
|
|
lib_ignore = ${regular_platform.lib_ignore}
|
|
${no_ir.lib_ignore}
|
|
SD(esp8266)
|
|
SD
|
|
SDFS
|
|
LittleFS(esp8266)
|
|
extra_scripts = ${extra_scripts_esp8266.extra_scripts}
|
|
|
|
|
|
[env:spec_debug_custom_ESP32_16M8M]
|
|
extends = esp32_common_LittleFS_ETH
|
|
build_type = ${debug_pio.build_type}
|
|
check_tool = ${debug_pio.check_tool}
|
|
check_flags = ${debug_pio.check_flags}
|
|
platform = ${esp32_common_LittleFS_ETH.platform}
|
|
build_flags = ${esp32_common_LittleFS_ETH.build_flags} ${debug_pio.build_flags} -DPLUGIN_BUILD_CUSTOM
|
|
board = esp32_16M8M
|
|
extra_scripts = ${esp32_common_LittleFS_ETH.extra_scripts}
|
|
pre:tools/pio/pre_custom_esp32.py
|
|
|
|
[env:spec_debug_max_ESP32_16M8M]
|
|
extends = esp32_base_idf5
|
|
build_type = ${debug_pio.build_type}
|
|
check_tool = ${debug_pio.check_tool}
|
|
check_flags = ${debug_pio.check_flags}
|
|
lib_ignore = ${esp32_common_LittleFS_ETH.lib_ignore}
|
|
build_flags = ${esp32_base_idf5.build_flags}
|
|
${debug_pio.build_flags}
|
|
-DESP32_CLASSIC
|
|
-DUSE_LITTLEFS
|
|
-DFEATURE_ARDUINO_OTA=1
|
|
-DPLUGIN_BUILD_MAX_ESP32
|
|
-DPLUGIN_BUILD_IR_EXTENDED
|
|
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 = esp32_16M8M
|
|
|
|
|
|
[env:spec_debug_minimal_ESP32_16M8M]
|
|
extends = esp32_base_idf5
|
|
build_type = ${debug_pio.build_type}
|
|
check_tool = ${debug_pio.check_tool}
|
|
check_flags = ${debug_pio.check_flags}
|
|
lib_ignore = ${esp32_common_LittleFS_ETH.lib_ignore}
|
|
build_flags = ${esp32_base_idf5.build_flags}
|
|
${debug_pio.build_flags}
|
|
-DESP32_CLASSIC
|
|
-DUSE_LITTLEFS
|
|
-DPLUGIN_BUILD_MINIMAL_OTA
|
|
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 = esp32_16M8M
|
|
|
|
|
|
[env:spec_debug_display_ESP32_16M8M]
|
|
extends = esp32_base_idf5
|
|
build_type = ${debug_pio.build_type}
|
|
check_tool = ${debug_pio.check_tool}
|
|
check_flags = ${debug_pio.check_flags}
|
|
lib_ignore = ${esp32_common_LittleFS_ETH.lib_ignore}
|
|
build_flags = ${esp32_base_idf5.build_flags}
|
|
${debug_pio.build_flags}
|
|
-DESP32_CLASSIC
|
|
-DUSE_LITTLEFS
|
|
-D PLUGIN_DISPLAY_COLLECTION
|
|
-D WEBSERVER_USE_CDN_JS_CSS
|
|
-D BUILD_NO_DEBUG
|
|
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 = esp32_16M8M
|
|
|
|
[env:spec_debug_neopixel_ESP32_16M8M]
|
|
extends = esp32_base_idf5
|
|
build_type = ${debug_pio.build_type}
|
|
check_tool = ${debug_pio.check_tool}
|
|
check_flags = ${debug_pio.check_flags}
|
|
lib_ignore = ${esp32_common_LittleFS_ETH.lib_ignore}
|
|
build_flags = ${esp32_base_idf5.build_flags}
|
|
${debug_pio.build_flags}
|
|
-DESP32_CLASSIC
|
|
-DUSE_LITTLEFS
|
|
-D PLUGIN_DISPLAY_COLLECTION
|
|
-D WEBSERVER_USE_CDN_JS_CSS
|
|
-D BUILD_NO_DEBUG
|
|
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 = esp32_16M8M
|
|
|