33 lines
953 B
INI
33 lines
953 B
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
|
|
|
|
[env:elecrow_7inch_hmi]
|
|
platform = espressif32@6.8.1
|
|
board = esp32-s3-devkitc-1
|
|
framework = arduino
|
|
lib_deps = lovyan03/LovyanGFX@^1.1.8
|
|
|
|
monitor_speed = 115200
|
|
|
|
# Critical settings for the N4R8 module
|
|
board_upload.flash_size = 4MB
|
|
board_build.arduino.memory_type = qio_opi
|
|
board_build.f_flash = 80000000L
|
|
board_build.flash_mode = qio
|
|
|
|
# Memory and partition adjustments
|
|
board_build.partitions = default_8MB.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
|