31 lines
777 B
INI
31 lines
777 B
INI
# Financial Dashboard with MQTT
|
|
# Based on bitcoin_dashboard with MQTT client support
|
|
|
|
[env:elecrow_7inch_hmi]
|
|
platform = espressif32@6.8.1
|
|
board = esp32-s3-devkitc-1
|
|
framework = arduino
|
|
|
|
; Libraries
|
|
lib_deps =
|
|
lovyan03/LovyanGFX@^1.1.8
|
|
knolleary/PubSubClient@^2.8
|
|
bblanchon/ArduinoJson@^7.0
|
|
|
|
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
|