bitcoin_dashboard/platformio.ini

30 lines
768 B
INI

; PlatformIO Project Configuration File
; Bitcoin Dashboard for Elecrow 7-inch HMI Display
; Based on working Arduino example
[env:elecrow_7inch_hmi]
platform = espressif32@6.8.1
board = esp32-s3-devkitc-1
framework = arduino
; Libraries
lib_deps =
lovyan03/LovyanGFX@^1.1.8
monitor_speed = 115200
; Critical settings for the N4R8 module (from working example)
board_upload.flash_size = 4MB
board_build.arduino.memory_type = qio_opi
board_build.f_flash = 80000000L
board_build.flash_mode = qio
; Use Huge APP partition (3MB No OTA/1MB SPIFFS)
board_build.partitions = huge_app.csv
; Required build flags for S3 display stability
build_flags =
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue