mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-27 19:57:38 +00:00
[ESP-IDF5.1] Convert PVS Studio test builds to use IDF5.1
This commit is contained in:
+34
-17
@@ -75,24 +75,23 @@ extra_scripts = ${extra_scripts_esp8266.extra_scripts}
|
||||
|
||||
|
||||
[env:spec_debug_custom_ESP32_16M8M]
|
||||
extends = esp32_common
|
||||
extends = esp32_common_LittleFS
|
||||
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
|
||||
platform = ${esp32_common_LittleFS.platform}
|
||||
build_flags = ${esp32_common_LittleFS.build_flags} ${debug_pio.build_flags} -DPLUGIN_BUILD_CUSTOM
|
||||
board = esp32_16M8M
|
||||
extra_scripts = ${esp32_common.extra_scripts}
|
||||
extra_scripts = ${esp32_common_LittleFS.extra_scripts}
|
||||
pre:tools/pio/pre_custom_esp32.py
|
||||
|
||||
[env:spec_debug_max_ESP32_16M8M]
|
||||
extends = esp32_base
|
||||
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_always.lib_ignore}
|
||||
ESP32_ping
|
||||
build_flags = ${esp32_base.build_flags}
|
||||
lib_ignore = ${esp32_common_LittleFS.lib_ignore}
|
||||
build_flags = ${esp32_base_idf5.build_flags}
|
||||
${debug_pio.build_flags}
|
||||
-DESP32_CLASSIC
|
||||
-DUSE_LITTLEFS
|
||||
@@ -109,13 +108,12 @@ board = esp32_16M8M
|
||||
|
||||
|
||||
[env:spec_debug_minimal_ESP32_16M8M]
|
||||
extends = esp32_base
|
||||
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_always.lib_ignore}
|
||||
ESP32_ping
|
||||
build_flags = ${esp32_base.build_flags}
|
||||
lib_ignore = ${esp32_common_LittleFS.lib_ignore}
|
||||
build_flags = ${esp32_base_idf5.build_flags}
|
||||
${debug_pio.build_flags}
|
||||
-DESP32_CLASSIC
|
||||
-DUSE_LITTLEFS
|
||||
@@ -130,13 +128,33 @@ board = esp32_16M8M
|
||||
|
||||
|
||||
[env:spec_debug_display_ESP32_16M8M]
|
||||
extends = esp32_base
|
||||
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_always.lib_ignore}
|
||||
ESP32_ping
|
||||
build_flags = ${esp32_base.build_flags}
|
||||
lib_ignore = ${esp32_common_LittleFS.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.lib_ignore}
|
||||
build_flags = ${esp32_base_idf5.build_flags}
|
||||
${debug_pio.build_flags}
|
||||
-DESP32_CLASSIC
|
||||
-DUSE_LITTLEFS
|
||||
@@ -153,7 +171,6 @@ board = esp32_16M8M
|
||||
|
||||
|
||||
|
||||
|
||||
; 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
|
||||
|
||||
Reference in New Issue
Block a user