2023-04-07 00:43:20 +02:00
|
|
|
; 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
|
2023-04-15 23:56:13 +02:00
|
|
|
|
2023-04-17 02:07:18 +02:00
|
|
|
[platformio]
|
|
|
|
globallib_dir = lib
|
2023-09-17 16:44:01 +02:00
|
|
|
default_envs = esp32cam, ESP32-2432S028R, NerminerV2, ESP32-devKitv1, NerminerV2-S3-DONGLE, NerminerV2-S3-AMOLED, NerminerV2-T-QT, NerdminerV2-T-Display_V1, ESP32-2432S028R
|
2023-04-07 00:43:20 +02:00
|
|
|
|
2023-09-21 17:02:15 +02:00
|
|
|
;--------------------------------------------------------------------
|
|
|
|
|
2023-04-17 02:07:18 +02:00
|
|
|
[env:NerminerV2]
|
2023-04-07 00:43:20 +02:00
|
|
|
platform = espressif32
|
|
|
|
board = esp32-s3-devkitc-1
|
|
|
|
framework = arduino
|
2023-04-23 10:34:18 +02:00
|
|
|
monitor_filters =
|
|
|
|
esp32_exception_decoder
|
|
|
|
time
|
2023-05-29 22:37:14 +02:00
|
|
|
log2file
|
2023-04-07 00:43:20 +02:00
|
|
|
board_build.arduino.memory_type = qio_opi
|
2023-04-17 02:07:18 +02:00
|
|
|
monitor_speed = 115200
|
2023-04-18 14:08:58 +02:00
|
|
|
upload_speed = 115200
|
2023-05-03 21:11:59 +02:00
|
|
|
# 2 x 4.5MB app, 6.875MB SPIFFS
|
|
|
|
;board_build.partitions = large_spiffs_16MB.csv
|
|
|
|
;board_build.partitions = default_8MB.csv
|
2023-04-17 23:24:42 +02:00
|
|
|
board_build.partitions = huge_app.csv
|
2023-05-03 21:11:59 +02:00
|
|
|
;board_build.partitions = default.csv
|
2023-04-17 02:07:18 +02:00
|
|
|
build_flags =
|
|
|
|
-D LV_LVGL_H_INCLUDE_SIMPLE
|
|
|
|
-D BOARD_HAS_PSRAM
|
2023-05-01 22:26:01 +02:00
|
|
|
-D ARDUINO_USB_MODE=1
|
|
|
|
-D ARDUINO_USB_CDC_ON_BOOT=1
|
2023-08-11 13:37:25 +02:00
|
|
|
-D NERDMINERV2=1
|
2023-05-03 21:11:59 +02:00
|
|
|
;-D DEBUG_MINING=1
|
2023-04-07 00:43:20 +02:00
|
|
|
lib_deps =
|
|
|
|
https://github.com/takkaO/OpenFontRender
|
2023-04-15 23:56:13 +02:00
|
|
|
bblanchon/ArduinoJson@^6.21.2
|
2023-09-21 17:02:15 +02:00
|
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
|
2023-05-12 10:27:36 +02:00
|
|
|
mathertel/OneButton @ ^2.0.3
|
2023-06-07 14:12:45 +02:00
|
|
|
arduino-libraries/NTPClient
|
2023-08-03 01:13:52 +02:00
|
|
|
;https://github.com/golden-guy/Arduino_wolfssl.git#v5.5.4
|
2023-07-10 22:58:34 +02:00
|
|
|
|
2023-09-21 17:02:15 +02:00
|
|
|
;--------------------------------------------------------------------
|
|
|
|
|
2023-07-11 11:49:25 +02:00
|
|
|
[env:ESP32-devKitv1]
|
2023-07-10 22:58:34 +02:00
|
|
|
platform = espressif32
|
2023-07-11 11:49:25 +02:00
|
|
|
board = esp32dev
|
2023-07-10 22:58:34 +02:00
|
|
|
framework = arduino
|
|
|
|
monitor_filters =
|
|
|
|
esp32_exception_decoder
|
|
|
|
time
|
|
|
|
log2file
|
2023-07-11 11:49:25 +02:00
|
|
|
;board_build.arduino.memory_type = qio_opi
|
2023-07-10 22:58:34 +02:00
|
|
|
monitor_speed = 115200
|
|
|
|
upload_speed = 115200
|
|
|
|
# 2 x 4.5MB app, 6.875MB SPIFFS
|
2023-08-03 01:13:52 +02:00
|
|
|
board_build.partitions = huge_app.csv
|
2023-07-11 11:49:25 +02:00
|
|
|
build_flags =
|
2023-08-11 13:37:25 +02:00
|
|
|
-D DEVKITV1=1
|
2023-07-10 22:58:34 +02:00
|
|
|
;-D DEBUG_MINING=1
|
|
|
|
lib_deps =
|
|
|
|
https://github.com/takkaO/OpenFontRender
|
|
|
|
bblanchon/ArduinoJson@^6.21.2
|
2023-09-21 17:02:15 +02:00
|
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
|
2023-07-10 22:58:34 +02:00
|
|
|
mathertel/OneButton @ ^2.0.3
|
|
|
|
arduino-libraries/NTPClient
|
2023-08-27 11:21:26 +02:00
|
|
|
|
2023-09-21 17:02:15 +02:00
|
|
|
;--------------------------------------------------------------------
|
|
|
|
|
2023-07-10 22:58:34 +02:00
|
|
|
[env:TTGO-T-Display]
|
|
|
|
platform = espressif32
|
2023-08-03 01:13:52 +02:00
|
|
|
board = esp32dev ;esp-wrover-kit
|
2023-07-10 22:58:34 +02:00
|
|
|
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
|
2023-08-11 13:37:25 +02:00
|
|
|
build_flags =
|
2023-07-10 22:58:34 +02:00
|
|
|
;-D DEBUG_MINING=1
|
2023-08-11 13:37:25 +02:00
|
|
|
-D TDISPLAY=1
|
2023-07-10 22:58:34 +02:00
|
|
|
lib_deps =
|
|
|
|
https://github.com/takkaO/OpenFontRender
|
|
|
|
bblanchon/ArduinoJson@^6.21.2
|
2023-09-21 17:02:15 +02:00
|
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
|
2023-07-10 22:58:34 +02:00
|
|
|
mathertel/OneButton @ ^2.0.3
|
|
|
|
arduino-libraries/NTPClient
|
2023-08-28 22:54:13 +02:00
|
|
|
;https://github.com/golden-guy/Arduino_wolfssl.git#v5.5.4
|
|
|
|
|
2023-09-21 17:02:15 +02:00
|
|
|
;--------------------------------------------------------------------
|
|
|
|
|
2023-08-28 22:54:13 +02:00
|
|
|
[env:NerminerV2-S3-AMOLED]
|
|
|
|
platform = espressif32
|
2023-09-09 13:44:26 +02:00
|
|
|
board = lilygo-t-amoled
|
2023-08-28 22:54:13 +02:00
|
|
|
framework = arduino
|
2023-08-31 17:44:58 +02:00
|
|
|
board_build.partitions = huge_app.csv
|
2023-08-28 22:54:13 +02:00
|
|
|
build_flags =
|
|
|
|
-DNERMINER_S3_AMOLED
|
|
|
|
-DBOARD_HAS_PSRAM
|
|
|
|
-DARDUINO_USB_CDC_ON_BOOT
|
|
|
|
lib_deps =
|
|
|
|
https://github.com/takkaO/OpenFontRender
|
|
|
|
bblanchon/ArduinoJson@^6.21.2
|
2023-09-21 17:02:15 +02:00
|
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
|
2023-08-28 22:54:13 +02:00
|
|
|
mathertel/OneButton @ ^2.0.3
|
|
|
|
arduino-libraries/NTPClient
|
|
|
|
https://github.com/golden-guy/Arduino_wolfssl.git#v5.5.4
|
2023-08-31 17:44:58 +02:00
|
|
|
|
2023-09-21 17:02:15 +02:00
|
|
|
;--------------------------------------------------------------------
|
|
|
|
|
2023-08-31 17:44:58 +02:00
|
|
|
[env:NerminerV2-S3-DONGLE]
|
|
|
|
platform = espressif32
|
|
|
|
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
|
|
|
|
lib_deps =
|
|
|
|
https://github.com/takkaO/OpenFontRender
|
|
|
|
bblanchon/ArduinoJson@^6.21.2
|
2023-09-21 17:02:15 +02:00
|
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
|
2023-08-31 17:44:58 +02:00
|
|
|
mathertel/OneButton @ ^2.0.3
|
|
|
|
arduino-libraries/NTPClient
|
2023-09-02 01:01:42 +02:00
|
|
|
https://github.com/FastLED/FastLED
|
2023-09-14 22:29:57 +02:00
|
|
|
;https://github.com/golden-guy/Arduino_wolfssl.git#v5.5.4
|
2023-09-12 03:27:31 +02:00
|
|
|
|
2023-09-21 17:02:15 +02:00
|
|
|
;--------------------------------------------------------------------
|
|
|
|
|
2023-09-12 03:27:31 +02:00
|
|
|
[env:esp32cam]
|
2023-09-14 22:29:57 +02:00
|
|
|
platform = espressif32 ;(ESP32-D0WD-V3)
|
2023-09-12 03:27:31 +02:00
|
|
|
board = esp32cam
|
|
|
|
framework = arduino
|
|
|
|
monitor_filters =
|
|
|
|
esp32_exception_decoder
|
|
|
|
time
|
|
|
|
log2file
|
|
|
|
monitor_speed = 115200
|
2023-09-14 22:29:57 +02:00
|
|
|
upload_speed = 921600
|
2023-09-12 03:27:31 +02:00
|
|
|
board_build.partitions = huge_app.csv
|
2023-09-21 17:02:15 +02:00
|
|
|
board_build.arduino.memory_type = dio_qspi
|
2023-09-12 03:27:31 +02:00
|
|
|
build_flags =
|
2023-09-14 22:29:57 +02:00
|
|
|
-D ESP32_CAM
|
2023-09-21 17:02:15 +02:00
|
|
|
-D BOARD_HAS_PSRAM
|
2023-09-12 03:27:31 +02:00
|
|
|
-D MONITOR_SPEED=${this.monitor_speed}
|
2023-09-21 17:02:15 +02:00
|
|
|
;-D DEBUG_MINING
|
|
|
|
;-D DEBUG_MEMORY
|
2023-09-12 03:27:31 +02:00
|
|
|
lib_deps =
|
|
|
|
bblanchon/ArduinoJson@^6.21.2
|
2023-09-21 17:02:15 +02:00
|
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
|
2023-09-12 03:27:31 +02:00
|
|
|
mathertel/OneButton @ ^2.0.3
|
2023-09-12 04:00:18 +02:00
|
|
|
arduino-libraries/NTPClient
|
2023-09-21 18:03:22 +02:00
|
|
|
https://github.com/takkaO/OpenFontRender
|
2023-09-12 04:00:18 +02:00
|
|
|
lib_ignore =
|
2023-09-21 18:03:22 +02:00
|
|
|
;TFT_eSPI
|
2023-09-11 00:48:09 +02:00
|
|
|
|
2023-09-21 17:02:15 +02:00
|
|
|
;--------------------------------------------------------------------
|
|
|
|
|
2023-09-08 17:48:10 +02:00
|
|
|
[env:NerminerV2-T-QT]
|
2023-09-11 00:48:09 +02:00
|
|
|
platform = espressif32
|
2023-09-08 17:48:10 +02:00
|
|
|
board = esp32-s3-t-qt-pro
|
2023-09-11 00:48:09 +02:00
|
|
|
framework = arduino
|
|
|
|
monitor_filters =
|
|
|
|
esp32_exception_decoder
|
|
|
|
time
|
|
|
|
log2file
|
2023-09-08 17:48:10 +02:00
|
|
|
;board_build.arduino.memory_type = qio_opi
|
|
|
|
monitor_speed = 115200
|
|
|
|
upload_speed = 115200
|
|
|
|
|
|
|
|
build_flags =
|
2023-09-08 18:28:47 +02:00
|
|
|
-D BOARD_HAS_PSRAM
|
|
|
|
-D NERMINER_T_QT=1
|
2023-09-08 17:48:10 +02:00
|
|
|
|
|
|
|
lib_deps =
|
|
|
|
https://github.com/takkaO/OpenFontRender
|
|
|
|
bblanchon/ArduinoJson@^6.21.2
|
2023-09-21 17:02:15 +02:00
|
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
|
2023-09-08 17:48:10 +02:00
|
|
|
mathertel/OneButton @ ^2.0.3
|
2023-09-09 17:13:53 +02:00
|
|
|
arduino-libraries/NTPClient
|
2023-09-21 17:02:15 +02:00
|
|
|
|
|
|
|
;--------------------------------------------------------------------
|
|
|
|
|
2023-09-12 12:43:10 +02:00
|
|
|
[env:ESP32-2432S028R]
|
|
|
|
platform = espressif32
|
|
|
|
board = esp32dev
|
2023-09-12 15:21:10 +02:00
|
|
|
framework = arduino
|
2023-09-11 00:48:09 +02:00
|
|
|
monitor_speed = 115200
|
|
|
|
upload_speed = 921600
|
|
|
|
;build_type = debug
|
|
|
|
board_build.partitions = huge_app.csv
|
|
|
|
build_flags =
|
|
|
|
-D ESP32_2432S028R=1
|
|
|
|
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
|
|
|
|
-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
|
|
|
|
-DTOUCH_CS=33
|
|
|
|
-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
|
|
|
|
bblanchon/ArduinoJson@^6.21.2
|
2023-09-21 17:02:15 +02:00
|
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
|
2023-09-11 00:48:09 +02:00
|
|
|
mathertel/OneButton @ ^2.0.3
|
|
|
|
arduino-libraries/NTPClient
|
2023-09-12 12:43:10 +02:00
|
|
|
bodmer/TFT_eSPI @ ^2.5.31
|
|
|
|
|
2023-09-21 17:02:15 +02:00
|
|
|
;--------------------------------------------------------------------
|
|
|
|
|
2023-09-09 17:49:47 +02:00
|
|
|
[env:NerdminerV2-T-Display_V1]
|
2023-09-09 17:13:53 +02:00
|
|
|
platform = espressif32
|
|
|
|
board = ttgo-lora32-v1
|
|
|
|
framework = arduino
|
|
|
|
|
|
|
|
monitor_speed = 115200
|
|
|
|
upload_speed = 115200
|
|
|
|
|
|
|
|
board_build.partitions = huge_app.csv
|
|
|
|
|
|
|
|
build_flags =
|
2023-09-09 17:49:47 +02:00
|
|
|
-D NERDMINER_T_DISPLAY_V1=1
|
2023-09-09 17:13:53 +02:00
|
|
|
-D DEBUG_MINING=1
|
|
|
|
|
|
|
|
lib_deps =
|
|
|
|
https://github.com/takkaO/OpenFontRender
|
|
|
|
bblanchon/ArduinoJson@^6.21.2
|
2023-09-21 17:02:15 +02:00
|
|
|
https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
|
2023-09-09 17:13:53 +02:00
|
|
|
mathertel/OneButton @ ^2.0.3
|
2023-09-12 12:43:10 +02:00
|
|
|
https://github.com/arduino-libraries/NTPClient
|