add version (fix build error), improve readability

This commit is contained in:
elmo128 2023-09-21 17:02:15 +02:00
parent 0f65433875
commit 9e819923c8

View File

@ -12,6 +12,8 @@
globallib_dir = lib globallib_dir = lib
default_envs = esp32cam, ESP32-2432S028R, NerminerV2, ESP32-devKitv1, NerminerV2-S3-DONGLE, NerminerV2-S3-AMOLED, NerminerV2-T-QT, NerdminerV2-T-Display_V1, ESP32-2432S028R default_envs = esp32cam, ESP32-2432S028R, NerminerV2, ESP32-devKitv1, NerminerV2-S3-DONGLE, NerminerV2-S3-AMOLED, NerminerV2-T-QT, NerdminerV2-T-Display_V1, ESP32-2432S028R
;--------------------------------------------------------------------
[env:NerminerV2] [env:NerminerV2]
platform = espressif32 platform = espressif32
board = esp32-s3-devkitc-1 board = esp32-s3-devkitc-1
@ -38,11 +40,13 @@ build_flags =
lib_deps = lib_deps =
https://github.com/takkaO/OpenFontRender https://github.com/takkaO/OpenFontRender
bblanchon/ArduinoJson@^6.21.2 bblanchon/ArduinoJson@^6.21.2
https://github.com/tzapu/WiFiManager.git https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
mathertel/OneButton @ ^2.0.3 mathertel/OneButton @ ^2.0.3
arduino-libraries/NTPClient arduino-libraries/NTPClient
;https://github.com/golden-guy/Arduino_wolfssl.git#v5.5.4 ;https://github.com/golden-guy/Arduino_wolfssl.git#v5.5.4
;--------------------------------------------------------------------
[env:ESP32-devKitv1] [env:ESP32-devKitv1]
platform = espressif32 platform = espressif32
board = esp32dev board = esp32dev
@ -62,10 +66,12 @@ build_flags =
lib_deps = lib_deps =
https://github.com/takkaO/OpenFontRender https://github.com/takkaO/OpenFontRender
bblanchon/ArduinoJson@^6.21.2 bblanchon/ArduinoJson@^6.21.2
https://github.com/tzapu/WiFiManager.git https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
mathertel/OneButton @ ^2.0.3 mathertel/OneButton @ ^2.0.3
arduino-libraries/NTPClient arduino-libraries/NTPClient
;--------------------------------------------------------------------
[env:TTGO-T-Display] [env:TTGO-T-Display]
platform = espressif32 platform = espressif32
board = esp32dev ;esp-wrover-kit board = esp32dev ;esp-wrover-kit
@ -85,11 +91,13 @@ build_flags =
lib_deps = lib_deps =
https://github.com/takkaO/OpenFontRender https://github.com/takkaO/OpenFontRender
bblanchon/ArduinoJson@^6.21.2 bblanchon/ArduinoJson@^6.21.2
https://github.com/tzapu/WiFiManager.git https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
mathertel/OneButton @ ^2.0.3 mathertel/OneButton @ ^2.0.3
arduino-libraries/NTPClient arduino-libraries/NTPClient
;https://github.com/golden-guy/Arduino_wolfssl.git#v5.5.4 ;https://github.com/golden-guy/Arduino_wolfssl.git#v5.5.4
;--------------------------------------------------------------------
[env:NerminerV2-S3-AMOLED] [env:NerminerV2-S3-AMOLED]
platform = espressif32 platform = espressif32
board = lilygo-t-amoled board = lilygo-t-amoled
@ -102,11 +110,13 @@ build_flags =
lib_deps = lib_deps =
https://github.com/takkaO/OpenFontRender https://github.com/takkaO/OpenFontRender
bblanchon/ArduinoJson@^6.21.2 bblanchon/ArduinoJson@^6.21.2
https://github.com/tzapu/WiFiManager.git https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
mathertel/OneButton @ ^2.0.3 mathertel/OneButton @ ^2.0.3
arduino-libraries/NTPClient arduino-libraries/NTPClient
https://github.com/golden-guy/Arduino_wolfssl.git#v5.5.4 https://github.com/golden-guy/Arduino_wolfssl.git#v5.5.4
;--------------------------------------------------------------------
[env:NerminerV2-S3-DONGLE] [env:NerminerV2-S3-DONGLE]
platform = espressif32 platform = espressif32
board = esp32-s3-devkitc-1 board = esp32-s3-devkitc-1
@ -119,12 +129,14 @@ build_flags =
lib_deps = lib_deps =
https://github.com/takkaO/OpenFontRender https://github.com/takkaO/OpenFontRender
bblanchon/ArduinoJson@^6.21.2 bblanchon/ArduinoJson@^6.21.2
https://github.com/tzapu/WiFiManager.git https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
mathertel/OneButton @ ^2.0.3 mathertel/OneButton @ ^2.0.3
arduino-libraries/NTPClient arduino-libraries/NTPClient
https://github.com/FastLED/FastLED https://github.com/FastLED/FastLED
;https://github.com/golden-guy/Arduino_wolfssl.git#v5.5.4 ;https://github.com/golden-guy/Arduino_wolfssl.git#v5.5.4
;--------------------------------------------------------------------
[env:esp32cam] [env:esp32cam]
platform = espressif32 ;(ESP32-D0WD-V3) platform = espressif32 ;(ESP32-D0WD-V3)
board = esp32cam board = esp32cam
@ -136,18 +148,23 @@ monitor_filters =
monitor_speed = 115200 monitor_speed = 115200
upload_speed = 921600 upload_speed = 921600
board_build.partitions = huge_app.csv board_build.partitions = huge_app.csv
board_build.arduino.memory_type = dio_qspi
build_flags = build_flags =
-D ESP32_CAM -D ESP32_CAM
-D BOARD_HAS_PSRAM
-D MONITOR_SPEED=${this.monitor_speed} -D MONITOR_SPEED=${this.monitor_speed}
;-D DEBUG_MINING
;-D DEBUG_MEMORY
lib_deps = lib_deps =
;https://github.com/takkaO/OpenFontRender
bblanchon/ArduinoJson@^6.21.2 bblanchon/ArduinoJson@^6.21.2
https://github.com/tzapu/WiFiManager.git https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
mathertel/OneButton @ ^2.0.3 mathertel/OneButton @ ^2.0.3
arduino-libraries/NTPClient arduino-libraries/NTPClient
lib_ignore = lib_ignore =
TFT_eSPI TFT_eSPI
;--------------------------------------------------------------------
[env:NerminerV2-T-QT] [env:NerminerV2-T-QT]
platform = espressif32 platform = espressif32
board = esp32-s3-t-qt-pro board = esp32-s3-t-qt-pro
@ -167,10 +184,12 @@ build_flags =
lib_deps = lib_deps =
https://github.com/takkaO/OpenFontRender https://github.com/takkaO/OpenFontRender
bblanchon/ArduinoJson@^6.21.2 bblanchon/ArduinoJson@^6.21.2
https://github.com/tzapu/WiFiManager.git https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
mathertel/OneButton @ ^2.0.3 mathertel/OneButton @ ^2.0.3
arduino-libraries/NTPClient arduino-libraries/NTPClient
;--------------------------------------------------------------------
[env:ESP32-2432S028R] [env:ESP32-2432S028R]
platform = espressif32 platform = espressif32
board = esp32dev board = esp32dev
@ -204,11 +223,13 @@ build_flags =
lib_deps = lib_deps =
https://github.com/takkaO/OpenFontRender https://github.com/takkaO/OpenFontRender
bblanchon/ArduinoJson@^6.21.2 bblanchon/ArduinoJson@^6.21.2
https://github.com/tzapu/WiFiManager.git https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
mathertel/OneButton @ ^2.0.3 mathertel/OneButton @ ^2.0.3
arduino-libraries/NTPClient arduino-libraries/NTPClient
bodmer/TFT_eSPI @ ^2.5.31 bodmer/TFT_eSPI @ ^2.5.31
;--------------------------------------------------------------------
[env:NerdminerV2-T-Display_V1] [env:NerdminerV2-T-Display_V1]
platform = espressif32 platform = espressif32
board = ttgo-lora32-v1 board = ttgo-lora32-v1
@ -226,7 +247,6 @@ build_flags =
lib_deps = lib_deps =
https://github.com/takkaO/OpenFontRender https://github.com/takkaO/OpenFontRender
bblanchon/ArduinoJson@^6.21.2 bblanchon/ArduinoJson@^6.21.2
https://github.com/tzapu/WiFiManager.git https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
mathertel/OneButton @ ^2.0.3 mathertel/OneButton @ ^2.0.3
https://github.com/arduino-libraries/NTPClient https://github.com/arduino-libraries/NTPClient