mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-28 04:07:47 +00:00
72 lines
3.5 KiB
INI
72 lines
3.5 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 --lic-file=../pvs_studio.lic
|
|
build_flags = ${compiler_warnings.build_flags}
|
|
|
|
|
|
[env:spec_debug_custom_ESP8266_4M1M]
|
|
extends = esp8266_4M1M, debug_pio
|
|
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}, IRremoteESP8266, HeatpumpIR, LittleFS(esp8266)
|
|
extra_scripts = ${extra_scripts_esp8266.extra_scripts}
|
|
|
|
[env:spec_debug_custom_IR_ESP8266_4M1M]
|
|
extends = esp8266_4M1M, debug_pio
|
|
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 = LittleFS, ESP32_ping, ESP32WebServer, ServoESP32, ESP32HTTPUpdateServer, Adafruit GFX Library, LOLIN_EPD, Adafruit ILI9341, Adafruit BusIO, Adafruit NeoPixel, Adafruit Motor Shield V2 Library, RN2xx3 Arduino Library
|
|
extra_scripts = ${extra_scripts_esp8266.extra_scripts}
|
|
|
|
|
|
[env:spec_debug_beta_custom_ESP8266_4M1M]
|
|
extends = esp8266_4M1M, debug_pio
|
|
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}, IRremoteESP8266, HeatpumpIR, SD(esp8266), SDFS, LittleFS(esp8266)
|
|
extra_scripts = ${extra_scripts_esp8266.extra_scripts}
|
|
|
|
|
|
[env:spec_debug_custom_ESP32_4M316k]
|
|
extends = esp32_common, debug_pio
|
|
platform = ${esp32_common.platform}
|
|
build_flags = ${esp32_common.build_flags} ${debug_pio.build_flags} -DPLUGIN_BUILD_CUSTOM
|
|
board = esp32dev
|
|
extra_scripts = ${esp32_common.extra_scripts}
|
|
pre:tools/pio/pre_custom_esp32.py
|
|
|
|
|
|
|
|
|
|
; Special env for memory analysis
|
|
; This may generate builds which cannot be run, so do not upload to a node.
|
|
; Has the same lib_ignore as the IR builds, or else those cannot be built for testing
|
|
[env:spec_memanalyze_ESP8266]
|
|
extends = esp8266_4M1M
|
|
platform = ${regular_platform.platform}
|
|
platform_packages = ${regular_platform.platform_packages}
|
|
lib_ignore = ${regular_platform.lib_ignore}
|
|
build_flags = ${esp8266_4M1M.build_flags} -DMEMORY_ANALYSIS -DPLUGIN_BUILD_CUSTOM -w -DUSE_NON_STANDARD_24_TASKS -DTASKS_MAX=24
|
|
extra_scripts = pre:tools/pio/pre_memanalyze.py
|
|
pre:tools/pio/generate-compiletime-defines.py
|