826 lines
20 KiB
INI
826 lines
20 KiB
INI
; PlatformIO Project Configuration File
|
|
;
|
|
; Build options: build flags, source filter
|
|
; Upload options: custom upload port, speed and extra flags
|
|
; Library options: dependencies, extra library storages
|
|
; Advanced options: extra scripting
|
|
;
|
|
; Please visit documentation for the other options and examples
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
|
|
[platformio]
|
|
globallib_dir = lib
|
|
|
|
default_envs = NerdminerV2-T-HMI, wt32-sc01, wt32-sc01-plus, han_m5stack, M5Stick-C, esp32cam, ESP32-2432S028R, ESP32_2432S028_2USB, NerminerV2, Lilygo-T-Embed, ESP32-devKitv1, NerminerV2-S3-DONGLE, NerminerV2-S3-GEEK, NerminerV2-S3-AMOLED, NerminerV2-S3-AMOLED-TOUCH, NerminerV2-T-QT, NerdminerV2-T-Display_V1, ESP32-2432S028R, M5-StampS3, ESP32-S3-devKitv1, ESP32-S3-mini-wemos, ESP32-S2-mini-wemos, ESP32-S3-mini-weact, ESP32-D0WD-V3-weact, ESP32-C3-devKitmv1, ESP32-C3-super-mini
|
|
|
|
[env:M5Stick-C]
|
|
platform = espressif32@6.6.0
|
|
board = m5stick-c
|
|
framework = arduino
|
|
monitor_filters =
|
|
esp32_exception_decoder
|
|
time
|
|
log2file
|
|
;board_build.arduino.memory_type = qio_opi
|
|
monitor_speed = 115200
|
|
upload_speed = 1500000
|
|
# 2 x 4.5MB app, 6.875MB SPIFFS
|
|
board_build.partitions = huge_app.csv
|
|
build_flags =
|
|
-D M5STICK_C=1
|
|
;-D DEBUG_MINING=1
|
|
lib_deps =
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
m5stack/M5StickC@^0.2.5
|
|
lib_ignore =
|
|
TFT_eSPI
|
|
SD
|
|
SD_MMC
|
|
rm67162
|
|
HANSOLOminerv2
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:wt32-sc01]
|
|
platform = espressif32@6.6.0
|
|
board = esp-wrover-kit
|
|
framework = arduino
|
|
monitor_filters =
|
|
esp32_exception_decoder
|
|
time
|
|
log2file
|
|
monitor_speed = 115200
|
|
upload_speed = 921600
|
|
board_build.partitions = huge_app.csv
|
|
lib_deps =
|
|
fbiego/ESP32Time@^2.0.6
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
lvgl/lvgl@^8.4.0
|
|
lovyan03/LovyanGFX@^1.1.12
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
mathertel/OneButton@^2.5.0
|
|
build_flags =
|
|
-D BOARD_HAS_PSRAM
|
|
-mfix-esp32-psram-cache-issue
|
|
-I lib
|
|
-D LV_MEM_SIZE="(64U * 1024U)"
|
|
;-D DEBUG_MINING=1
|
|
-D HAN=1
|
|
-D WT32_BOARD=1
|
|
lib_ignore =
|
|
TFT_eSPI
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:wt32-sc01-plus]
|
|
platform = espressif32@6.6.0
|
|
board = esp32-s3-devkitc-1
|
|
framework = arduino
|
|
monitor_filters =
|
|
esp32_exception_decoder
|
|
time
|
|
log2file
|
|
monitor_speed = 115200
|
|
upload_speed = 921600
|
|
board_build.partitions = default_8MB.csv
|
|
board_build.mcu = esp32s3
|
|
board_build.f_cpu = 240000000L
|
|
lib_deps =
|
|
fbiego/ESP32Time@^2.0.6
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
lvgl/lvgl@^8.4.0
|
|
lovyan03/LovyanGFX@^1.1.12
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
mathertel/OneButton@^2.5.0
|
|
build_flags =
|
|
-D BOARD_HAS_PSRAM
|
|
-mfix-esp32-psram-cache-issue
|
|
-I lib
|
|
-D LV_MEM_SIZE="(96U * 1024U)"
|
|
;-D DEBUG_MINING=1
|
|
-D HAN=1
|
|
-D WT32_BOARD=1
|
|
-D PLUS=1
|
|
lib_ignore =
|
|
TFT_eSPI
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:ESP32-S3-mini-wemos]
|
|
platform = espressif32@6.6.0
|
|
board = lolin_s3_mini
|
|
framework = arduino
|
|
monitor_filters =
|
|
esp32_exception_decoder
|
|
time
|
|
log2file
|
|
board_build.arduino.memory_type = qio_opi
|
|
monitor_speed = 115200
|
|
upload_speed = 115200
|
|
board_build.partitions = huge_app.csv
|
|
build_flags =
|
|
-D BOARD_HAS_PSRAM
|
|
-D ARDUINO_USB_MODE=1
|
|
-D ARDUINO_USB_CDC_ON_BOOT=1
|
|
-D ESP32RGB=1
|
|
-D RGB_LED_PIN=47
|
|
;-D DEBUG_MINING=1
|
|
lib_deps =
|
|
https://github.com/takkaO/OpenFontRender#v1.2
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
fastled/FastLED@^3.6.0
|
|
lib_ignore =
|
|
TFT_eSPI
|
|
HANSOLOminerv2
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:han_m5stack]
|
|
platform = espressif32@6.6.0
|
|
board = m5stack-core-esp32
|
|
framework = arduino
|
|
monitor_filters =
|
|
esp32_exception_decoder
|
|
time
|
|
log2file
|
|
;board_build.arduino.memory_type = qio_opi
|
|
monitor_speed = 115200
|
|
upload_speed = 115200
|
|
# 2 x 4.5MB app, 6.875MB SPIFFS
|
|
board_build.partitions = huge_app.csv
|
|
build_flags =
|
|
-D HAN=1
|
|
-D M5STACK_BOARD=1
|
|
;-D DEBUG_MINING=1
|
|
lib_deps =
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
m5stack/M5Stack@^0.4.6
|
|
lib_ignore =
|
|
TFT_eSPI
|
|
HANSOLOminerv2
|
|
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:ESP32-S2-mini-wemos]
|
|
platform = espressif32@6.6.0
|
|
board = lolin_s2_mini
|
|
framework = arduino
|
|
monitor_filters =
|
|
esp32_exception_decoder
|
|
time
|
|
log2file
|
|
monitor_speed = 115200
|
|
upload_speed = 115200
|
|
board_build.partitions = huge_app.csv
|
|
build_flags =
|
|
-D BOARD_HAS_PSRAM
|
|
-D DEVKITV1=1
|
|
-D PIN_BUTTON_1=0
|
|
-D LED_PIN=15
|
|
;-D DEBUG_MINING=1
|
|
lib_deps =
|
|
https://github.com/takkaO/OpenFontRender#v1.2
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
lib_ignore =
|
|
TFT_eSPI
|
|
HANSOLOminerv2
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:ESP32-S3-mini-weact]
|
|
platform = espressif32@6.6.0
|
|
board = lolin_s3_mini
|
|
framework = arduino
|
|
monitor_filters =
|
|
esp32_exception_decoder
|
|
time
|
|
log2file
|
|
board_build.arduino.memory_type = qio_opi
|
|
monitor_speed = 115200
|
|
upload_speed = 115200
|
|
board_build.partitions = huge_app.csv
|
|
build_flags =
|
|
-D BOARD_HAS_PSRAM
|
|
-D ARDUINO_USB_MODE=1
|
|
-D ARDUINO_USB_CDC_ON_BOOT=1
|
|
-D ESP32RGB=1
|
|
-D RGB_LED_PIN=48
|
|
;-D DEBUG_MINING=1
|
|
lib_deps =
|
|
https://github.com/takkaO/OpenFontRender#v1.2
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
fastled/FastLED@^3.6.0
|
|
lib_ignore =
|
|
TFT_eSPI
|
|
HANSOLOminerv2
|
|
|
|
|
|
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:ESP32-D0WD-V3-weact]
|
|
platform = espressif32@6.6.0
|
|
board = esp32dev
|
|
framework = arduino
|
|
monitor_filters =
|
|
esp32_exception_decoder
|
|
time
|
|
log2file
|
|
monitor_speed = 115200
|
|
upload_speed = 115200
|
|
board_build.partitions = huge_app.csv
|
|
build_flags =
|
|
-D DEVKITV1=1
|
|
-D PIN_BUTTON_1=0
|
|
-D LED_PIN=22
|
|
-D ACTIVE_LED=LOW
|
|
-D INACTIVE_LED=HIGH
|
|
lib_deps =
|
|
https://github.com/takkaO/OpenFontRender#v1.2
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
lib_ignore =
|
|
TFT_eSPI
|
|
HANSOLOminerv2
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:ESP32-C3-super-mini]
|
|
platform = espressif32@6.6.0
|
|
board = seeed_xiao_esp32c3
|
|
framework = arduino
|
|
monitor_filters =
|
|
esp32_exception_decoder
|
|
time
|
|
log2file
|
|
monitor_speed = 115200
|
|
upload_speed = 115200
|
|
board_build.partitions = huge_app.csv
|
|
build_flags =
|
|
-D ARDUINO_USB_MODE=1
|
|
-D ARDUINO_USB_CDC_ON_BOOT=1
|
|
-D DEVKITV1=1
|
|
-D PIN_BUTTON_1=9
|
|
-D LED_PIN=8
|
|
;-D DEBUG_MINING=1
|
|
lib_deps =
|
|
https://github.com/takkaO/OpenFontRender#v1.2
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
lib_ignore =
|
|
TFT_eSPI
|
|
HANSOLOminerv2
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:ESP32-C3-devKitmv1]
|
|
platform = espressif32@6.6.0
|
|
board = esp32-c3-devkitm-1
|
|
framework = arduino
|
|
monitor_filters =
|
|
esp32_exception_decoder
|
|
time
|
|
log2file
|
|
monitor_speed = 115200
|
|
upload_speed = 115200
|
|
board_build.partitions = huge_app.csv
|
|
build_flags =
|
|
-D ARDUINO_USB_MODE=1
|
|
-D ARDUINO_USB_CDC_ON_BOOT=1
|
|
-D ESP32RGB=1
|
|
-D PIN_BUTTON_1=9
|
|
-D RGB_LED_PIN=8
|
|
;-D DEBUG_MINING=1
|
|
lib_deps =
|
|
https://github.com/takkaO/OpenFontRender#v1.2
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
fastled/FastLED@^3.6.0
|
|
lib_ignore =
|
|
TFT_eSPI
|
|
HANSOLOminerv2
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:ESP32-S3-devKitv1]
|
|
platform = espressif32@6.6.0
|
|
board = esp32-s3-devkitc-1
|
|
framework = arduino
|
|
monitor_filters =
|
|
esp32_exception_decoder
|
|
time
|
|
log2file
|
|
board_build.arduino.memory_type = qio_opi
|
|
monitor_speed = 115200
|
|
upload_speed = 115200
|
|
board_build.partitions = huge_app.csv
|
|
build_flags =
|
|
-D BOARD_HAS_PSRAM
|
|
-D ARDUINO_USB_MODE=1
|
|
-D ARDUINO_USB_CDC_ON_BOOT=1
|
|
-D ESP32RGB=1
|
|
-D RGB_LED_PIN=48
|
|
;-D DEBUG_MINING=1
|
|
lib_deps =
|
|
https://github.com/takkaO/OpenFontRender#v1.2
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
fastled/FastLED@^3.6.0
|
|
lib_ignore =
|
|
TFT_eSPI
|
|
HANSOLOminerv2
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:NerminerV2]
|
|
platform = espressif32@6.6.0
|
|
board = esp32-s3-devkitc-1
|
|
framework = arduino
|
|
monitor_filters =
|
|
esp32_exception_decoder
|
|
time
|
|
log2file
|
|
board_build.arduino.memory_type = qio_opi
|
|
monitor_speed = 115200
|
|
upload_speed = 115200
|
|
# 2 x 4.5MB app, 6.875MB SPIFFS
|
|
;board_build.partitions = large_spiffs_16MB.csv
|
|
;board_build.partitions = default_8MB.csv
|
|
board_build.partitions = huge_app.csv
|
|
;board_build.partitions = default.csv
|
|
build_flags =
|
|
-D LV_LVGL_H_INCLUDE_SIMPLE
|
|
-D BOARD_HAS_PSRAM
|
|
-D ARDUINO_USB_MODE=1
|
|
-D ARDUINO_USB_CDC_ON_BOOT=1
|
|
-D NERDMINERV2=1
|
|
;-D DEBUG_MINING=1
|
|
lib_deps =
|
|
https://github.com/takkaO/OpenFontRender#v1.2
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
lib_ignore =
|
|
HANSOLOminerv2
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:Lilygo-T-Embed]
|
|
platform = espressif32@6.6.0
|
|
board = esp32-s3-devkitc-1
|
|
framework = arduino
|
|
monitor_filters =
|
|
esp32_exception_decoder
|
|
time
|
|
log2file
|
|
board_build.arduino.memory_type = qio_opi
|
|
monitor_speed = 115200
|
|
upload_speed = 115200
|
|
# 2 x 4.5MB app, 6.875MB SPIFFS
|
|
;board_build.partitions = large_spiffs_16MB.csv
|
|
;board_build.partitions = default_8MB.csv
|
|
board_build.partitions = huge_app.csv
|
|
;board_build.partitions = default.csv
|
|
build_flags =
|
|
-D LV_LVGL_H_INCLUDE_SIMPLE
|
|
-D BOARD_HAS_PSRAM
|
|
-D ARDUINO_USB_MODE=1
|
|
-D ARDUINO_USB_CDC_ON_BOOT=1
|
|
-D LILYGO_S3_T_EMBED=1
|
|
;-D DEBUG_MINING=1
|
|
lib_deps =
|
|
https://github.com/takkaO/OpenFontRender#v1.2
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
lib_ignore =
|
|
HANSOLOminerv2
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:ESP32-devKitv1]
|
|
platform = espressif32@6.6.0
|
|
board = esp32dev
|
|
framework = arduino
|
|
monitor_filters =
|
|
esp32_exception_decoder
|
|
time
|
|
log2file
|
|
;board_build.arduino.memory_type = qio_opi
|
|
monitor_speed = 115200
|
|
upload_speed = 115200
|
|
# 2 x 4.5MB app, 6.875MB SPIFFS
|
|
board_build.partitions = huge_app.csv
|
|
build_flags =
|
|
-D DEVKITV1=1
|
|
;-D DEBUG_MINING=1
|
|
lib_deps =
|
|
https://github.com/takkaO/OpenFontRender#v1.2
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
lib_ignore =
|
|
HANSOLOminerv2
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:TTGO-T-Display]
|
|
platform = espressif32@6.6.0
|
|
board = esp32dev ;esp-wrover-kit
|
|
framework = arduino
|
|
monitor_filters =
|
|
esp32_exception_decoder
|
|
time
|
|
log2file
|
|
# Commenting out 'board_build.arduino.memory_type' fixes missing 'sdkconfig.h' errors:
|
|
;board_build.arduino.memory_type = qio_opi
|
|
monitor_speed = 115200
|
|
upload_speed = 115200
|
|
# 2 x 4.5MB app, 6.875MB SPIFFS
|
|
board_build.partitions = huge_app.csv
|
|
build_flags =
|
|
;-D DEBUG_MINING=1
|
|
# Switching from 'TDISPLAY' to 'NERDMINER_T_DISPLAY_V1' fixes font related compile errors
|
|
;-D TDISPLAY=1
|
|
-D NERDMINER_T_DISPLAY_V1=1
|
|
lib_deps =
|
|
https://github.com/takkaO/OpenFontRender#v1.2
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
lib_ignore =
|
|
HANSOLOminerv2
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:NerminerV2-S3-AMOLED]
|
|
platform = espressif32@6.6.0
|
|
board = lilygo-t-amoled
|
|
framework = arduino
|
|
board_build.partitions = huge_app.csv
|
|
build_flags =
|
|
-DNERMINER_S3_AMOLED
|
|
-DTOUCH=0
|
|
-DBOARD_HAS_PSRAM
|
|
-DARDUINO_USB_CDC_ON_BOOT
|
|
lib_deps =
|
|
https://github.com/takkaO/OpenFontRender#v1.2
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
https://github.com/golden-guy/Arduino_wolfssl.git#v5.5.4
|
|
lib_ignore =
|
|
HANSOLOminerv2
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:NerminerV2-S3-AMOLED-TOUCH]
|
|
platform = espressif32@6.6.0
|
|
board = lilygo-t-amoled
|
|
framework = arduino
|
|
board_build.partitions = huge_app.csv
|
|
build_flags =
|
|
-DNERMINER_S3_AMOLED
|
|
-DTOUCH=1
|
|
-DBOARD_HAS_PSRAM
|
|
-DARDUINO_USB_CDC_ON_BOOT
|
|
lib_deps =
|
|
https://github.com/takkaO/OpenFontRender#v1.2
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
https://github.com/golden-guy/Arduino_wolfssl.git#v5.5.4
|
|
lib_ignore =
|
|
HANSOLOminerv2
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:NerminerV2-S3-DONGLE]
|
|
platform = espressif32@6.6.0
|
|
board = esp32-s3-devkitc-1
|
|
framework = arduino
|
|
board_build.partitions = huge_app.csv
|
|
build_flags =
|
|
-DNERMINER_S3_DONGLE
|
|
-DBOARD_HAS_PSRAM
|
|
-DARDUINO_USB_CDC_ON_BOOT
|
|
-DTFT_BACKLIGHT_ON=LOW
|
|
-DTFT_BL=38
|
|
lib_deps =
|
|
https://github.com/takkaO/OpenFontRender#v1.2
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
fastled/FastLED@^3.6.0
|
|
lib_ignore =
|
|
HANSOLOminerv2
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:NerminerV2-S3-GEEK]
|
|
platform = espressif32@6.6.0
|
|
board = esp32-s3-devkitc-1
|
|
framework = arduino
|
|
board_build.partitions = huge_app.csv
|
|
build_flags =
|
|
-DNERMINER_S3_GEEK
|
|
-DBOARD_HAS_PSRAM
|
|
-DARDUINO_USB_CDC_ON_BOOT
|
|
-DTFT_BACKLIGHT_ON=HIGH
|
|
-DSDSPI_CLK=36
|
|
-DSDSPI_MOSI=35
|
|
-DSDSPI_MISO=37
|
|
-DSDSPI_CS=34
|
|
-DSD_ID=HSPI
|
|
lib_deps =
|
|
https://github.com/takkaO/OpenFontRender#v1.2
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
lib_ignore =
|
|
HANSOLOminerv2
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:esp32cam]
|
|
platform = espressif32@6.6.0 ;(ESP32-D0WD-V3)
|
|
board = esp32cam
|
|
framework = arduino
|
|
monitor_filters =
|
|
esp32_exception_decoder
|
|
time
|
|
log2file
|
|
monitor_speed = 115200
|
|
upload_speed = 921600
|
|
board_build.partitions = huge_app.csv
|
|
board_build.arduino.memory_type = dio_qspi
|
|
build_flags =
|
|
-D ESP32_CAM
|
|
-D BOARD_HAS_PSRAM
|
|
-D MONITOR_SPEED=${this.monitor_speed}
|
|
;-D DEBUG_MINING
|
|
;-D DEBUG_MEMORY
|
|
lib_deps =
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
https://github.com/takkaO/OpenFontRender#v1.2
|
|
lib_ignore =
|
|
HANSOLOminerv2
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:NerminerV2-T-QT]
|
|
platform = espressif32@6.6.0
|
|
board = esp32-s3-t-qt-pro
|
|
framework = arduino
|
|
monitor_filters =
|
|
esp32_exception_decoder
|
|
time
|
|
log2file
|
|
;board_build.arduino.memory_type = qio_opi
|
|
monitor_speed = 115200
|
|
upload_speed = 115200
|
|
build_flags =
|
|
-D BOARD_HAS_PSRAM
|
|
-D NERMINER_T_QT=1
|
|
lib_deps =
|
|
https://github.com/takkaO/OpenFontRender#v1.2
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
lib_ignore =
|
|
HANSOLOminerv2
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
; This env is just for another type of the popular ESP32_2432S028 which need different settings than others
|
|
; like TFT inversion
|
|
; and different gamma settings
|
|
|
|
[env:ESP32_2432S028_2USB]
|
|
platform = espressif32@6.6.0
|
|
board = esp32dev
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
upload_speed = 921600
|
|
;build_type = debug
|
|
board_build.partitions = huge_app.csv
|
|
build_flags =
|
|
;-DDEBUG_MEMORY=1
|
|
-D ESP32_2432S028_2USB=1
|
|
-DTFT_INVERSION_ON
|
|
-DUSER_SETUP_LOADED=1
|
|
-DILI9341_2_DRIVER=1
|
|
-DTFT_WIDTH=240
|
|
-DTFT_HEIGHT=320
|
|
-DTFT_BACKLIGHT_ON=HIGH
|
|
-DTFT_MOSI=13
|
|
-DTFT_SCLK=14
|
|
-DTFT_CS=15
|
|
-DTFT_DC=2
|
|
-DTFT_RST=12
|
|
-DTFT_BL=21
|
|
-DETOUCH_CS=33
|
|
-DTOUCH_CLK=25
|
|
-DTOUCH_MISO=39
|
|
-DTOUCH_MOSI=32
|
|
-DTOUCH_IRQ=36
|
|
-DLOAD_GLCD=1
|
|
-DLOAD_FONT2=1
|
|
-DLOAD_GFXFF=1
|
|
-DSMOOTH_FONT=1
|
|
-DSPI_FREQUENCY=55000000
|
|
-DSPI_READ_FREQUENCY=20000000
|
|
-DSPI_TOUCH_FREQUENCY=2500000
|
|
lib_deps =
|
|
https://github.com/takkaO/OpenFontRender#v1.2
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
bodmer/TFT_eSPI@^2.5.43
|
|
https://github.com/achillhasler/TFT_eTouch
|
|
lib_ignore =
|
|
HANSOLOminerv2
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:ESP32-2432S028R]
|
|
platform = espressif32@6.6.0
|
|
board = esp32dev
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
monitor_filters =
|
|
esp32_exception_decoder
|
|
time
|
|
colorize
|
|
;debug
|
|
upload_speed = 921600
|
|
;build_type = debug
|
|
board_build.partitions = huge_app.csv
|
|
build_flags =
|
|
;-DDEBUG_MEMORY=1
|
|
-D ESP32_2432S028R=1
|
|
-DUSER_SETUP_LOADED=1
|
|
-DILI9341_2_DRIVER=1
|
|
-DTFT_WIDTH=240
|
|
-DTFT_HEIGHT=320
|
|
-DTFT_BACKLIGHT_ON=HIGH
|
|
-DTFT_MOSI=13
|
|
-DTFT_SCLK=14
|
|
-DTFT_CS=15
|
|
-DTFT_DC=2
|
|
-DTFT_RST=12
|
|
-DTFT_BL=21
|
|
-DETOUCH_CS=33
|
|
-DTOUCH_CLK=25
|
|
-DTOUCH_MISO=39
|
|
-DTOUCH_MOSI=32
|
|
-DTOUCH_IRQ=36
|
|
-DLOAD_GLCD=1
|
|
-DLOAD_FONT2=1
|
|
-DLOAD_GFXFF=1
|
|
-DSMOOTH_FONT=1
|
|
-DSPI_FREQUENCY=55000000
|
|
-DSPI_READ_FREQUENCY=20000000
|
|
-DSPI_TOUCH_FREQUENCY=2500000
|
|
|
|
lib_deps =
|
|
https://github.com/takkaO/OpenFontRender#v1.2
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
bodmer/TFT_eSPI@^2.5.43
|
|
https://github.com/achillhasler/TFT_eTouch
|
|
lib_ignore =
|
|
HANSOLOminerv2
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:NerdminerV2-T-HMI]
|
|
platform = espressif32@6.6.0
|
|
board = lilygo-t-hmi
|
|
framework = arduino
|
|
board_build.partitions = default_16MB.csv
|
|
monitor_filters =
|
|
esp32_exception_decoder
|
|
time
|
|
log2file
|
|
|
|
monitor_speed = 115200
|
|
upload_speed = 921600
|
|
upload_port = /dev/ttyACM0
|
|
|
|
build_flags =
|
|
-D ARDUINO_USB_MODE=1
|
|
-D ARDUINO_USB_CDC_ON_BOOT=1
|
|
-D BOARD_HAS_PSRAM
|
|
-D NERDMINER_T_HMI=1
|
|
-D USER_SETUP_LOADED=1
|
|
-include $PROJECT_LIBDEPS_DIR/$PIOENV/TFT_eSPI/User_Setups/Setup207_LilyGo_T_HMI.h
|
|
|
|
board_build.arduino.memory_type = qio_opi
|
|
lib_deps =
|
|
https://github.com/liangyingy/arduino_xpt2046_library
|
|
https://github.com/takkaO/OpenFontRender
|
|
bblanchon/ArduinoJson@^6.21.2
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
|
|
mathertel/OneButton @ ^2.5.0
|
|
arduino-libraries/NTPClient
|
|
bodmer/TFT_eSPI @ ^2.5.31
|
|
https://github.com/achillhasler/TFT_eTouch
|
|
lib_ignore =
|
|
HANSOLOminerv2
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:NerdminerV2-T-Display_V1]
|
|
platform = espressif32@6.6.0
|
|
board = ttgo-lora32-v1
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
upload_speed = 115200
|
|
board_build.partitions = huge_app.csv
|
|
build_flags =
|
|
-D NERDMINER_T_DISPLAY_V1=1
|
|
-D DEBUG_MINING=1
|
|
lib_deps =
|
|
https://github.com/takkaO/OpenFontRender#v1.2
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
https://github.com/arduino-libraries/NTPClient@^3.2.1
|
|
lib_ignore =
|
|
HANSOLOminerv2
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
[env:M5-StampS3]
|
|
platform = espressif32@6.6.0
|
|
board = m5stack-stamps3
|
|
framework = arduino
|
|
monitor_filters =
|
|
esp32_exception_decoder
|
|
time
|
|
log2file
|
|
monitor_speed = 115200
|
|
upload_speed = 115200
|
|
board_build.partitions = huge_app.csv
|
|
build_flags =
|
|
-D ARDUINO_USB_MODE=1
|
|
-D ARDUINO_USB_CDC_ON_BOOT=1
|
|
-D ESP32RGB=1
|
|
-D RGB_LED_PIN=21
|
|
lib_deps =
|
|
bblanchon/ArduinoJson@^6.21.5
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.17
|
|
mathertel/OneButton@^2.5.0
|
|
arduino-libraries/NTPClient@^3.2.1
|
|
fastled/FastLED@^3.6.0
|
|
lib_ignore =
|
|
TFT_eSPI
|
|
SD
|
|
rm67162
|
|
SPI
|
|
HANSOLOminerv2
|
|
|