NerdNos-Firmware/platformio.ini

162 lines
3.8 KiB
INI
Raw Normal View History

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
[platformio]
globallib_dir = lib
2023-09-12 04:00:18 +02:00
default_envs = esp32cam ;NerminerV2, ESP32-devKitv1
2023-04-07 00:43:20 +02:00
[env:NerminerV2]
2023-04-07 00:43:20 +02:00
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
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
monitor_speed = 115200
2023-04-18 14:08:58 +02:00
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
2023-08-11 13:37:25 +02:00
-D NERDMINERV2=1
;-D DEBUG_MINING=1
2023-04-07 00:43:20 +02:00
lib_deps =
https://github.com/takkaO/OpenFontRender
bblanchon/ArduinoJson@^6.21.2
https://github.com/tzapu/WiFiManager.git
mathertel/OneButton @ ^2.0.3
arduino-libraries/NTPClient
;https://github.com/golden-guy/Arduino_wolfssl.git#v5.5.4
2023-07-11 11:49:25 +02:00
[env:ESP32-devKitv1]
platform = espressif32
2023-07-11 11:49:25 +02:00
board = esp32dev
framework = arduino
monitor_filters =
esp32_exception_decoder
time
log2file
2023-07-11 11:49:25 +02:00
;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-07-11 11:49:25 +02:00
build_flags =
2023-08-11 13:37:25 +02:00
-D DEVKITV1=1
;-D DEBUG_MINING=1
lib_deps =
https://github.com/takkaO/OpenFontRender
bblanchon/ArduinoJson@^6.21.2
https://github.com/tzapu/WiFiManager.git
mathertel/OneButton @ ^2.0.3
arduino-libraries/NTPClient
2023-08-27 11:21:26 +02:00
[env:TTGO-T-Display]
platform = espressif32
board = esp32dev ;esp-wrover-kit
framework = arduino
monitor_filters =
esp32_exception_decoder
time
log2file
board_build.arduino.memory_type = qio_opi
monitor_speed = 115200
upload_speed = 115200
2023-08-03 00:08:53 +02:00
# 2 x 4.5MB app, 6.875MB SPIFFS
board_build.partitions = huge_app.csv
2023-08-11 13:37:25 +02:00
build_flags =
;-D DEBUG_MINING=1
2023-08-11 13:37:25 +02:00
-D TDISPLAY=1
lib_deps =
https://github.com/takkaO/OpenFontRender
bblanchon/ArduinoJson@^6.21.2
https://github.com/tzapu/WiFiManager.git
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
[env:NerminerV2-S3-AMOLED]
platform = espressif32
board = lilygo-t-display-s3
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
https://github.com/tzapu/WiFiManager.git
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
[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
https://github.com/tzapu/WiFiManager.git
mathertel/OneButton @ ^2.0.3
arduino-libraries/NTPClient
https://github.com/golden-guy/Arduino_wolfssl.git#v5.5.4
2023-09-02 01:01:42 +02:00
https://github.com/FastLED/FastLED
2023-09-12 03:27:31 +02:00
[env:esp32cam]
platform = espressif32
board = esp32cam
framework = arduino
monitor_filters =
esp32_exception_decoder
time
log2file
monitor_speed = 115200
upload_speed = 230400
board_build.partitions = huge_app.csv
build_flags =
2023-09-12 04:00:18 +02:00
-D ESP32_CAM=1
2023-09-12 03:27:31 +02:00
-D MONITOR_SPEED=${this.monitor_speed}
lib_deps =
bblanchon/ArduinoJson@^6.21.2
https://github.com/tzapu/WiFiManager.git
mathertel/OneButton @ ^2.0.3
2023-09-12 04:00:18 +02:00
arduino-libraries/NTPClient
lib_ignore =
TFT_eSPI