[ESP-IDF 5.x] Fix detection of ESP32-rev3

This commit is contained in:
TD-er
2024-08-26 12:06:28 +02:00
parent 00983d7346
commit e0f6b2916d
2 changed files with 28 additions and 43 deletions
-36
View File
@@ -28,29 +28,6 @@ lib_ignore = ${regular_platform.lib_ignore}
LittleFS(esp8266)
extra_scripts = ${extra_scripts_esp8266.extra_scripts}
[env:spec_debug_custom_IR_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 = ESP32_ping
ESP32WebServer
ServoESP32
ESP32HTTPUpdateServer
adafruit/Adafruit GFX Library@^1.11.1
LOLIN_EPD
Adafruit ILI9341
adafruit/Adafruit BusIO
Adafruit NeoPixel
Adafruit Motor Shield V2 Library
extra_scripts = ${extra_scripts_esp8266.extra_scripts}
[env:spec_debug_beta_custom_ESP8266_4M1M]
extends = esp8266_4M1M
@@ -167,16 +144,3 @@ board_build.filesystem = littlefs
;board = lolin_d32_pro
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
[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 -DFEATURE_NON_STANDARD_24_TASKS=1 -DTASKS_MAX=24
extra_scripts = pre:tools/pio/pre_memanalyze.py
pre:tools/pio/generate-compiletime-defines.py