82 lines
2.1 KiB
INI
82 lines
2.1 KiB
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:esp32-s3-devkitc-1]
|
|
#platform = espressif32
|
|
platform = espressif32 @ 6.5.0
|
|
board = esp32-s3-devkitc-1
|
|
framework = arduino
|
|
platform_packages = toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
|
|
board_build.arduino.memory_type = qio_opi
|
|
board_build.psram = enabled
|
|
board_upload.psram_size = 8MB
|
|
board_upload.flash_size = 16MB
|
|
; usb 调试
|
|
; board_build.embed_usb_device = true
|
|
|
|
board_build.embed_usb_device = true
|
|
board_build.embed_usb_serial_jtag = true
|
|
build_flags = -D LV_LVGL_H_INCLUDE_SIMPLE
|
|
-DBOARD_HAS_PSRAM
|
|
|
|
; -DCONFIG_USB_HOST_ENABLED
|
|
; -DCONFIG_USB_UVC_ENABLED
|
|
|
|
; ; usb 调试
|
|
-DARDUINO_USB_CDC_ON_BOOT=1
|
|
-DARDUINO_USB_MODE=1
|
|
|
|
|
|
lib_deps =
|
|
|
|
|
|
; knolleary/PubSubClient@^2.8
|
|
; arduino-libraries/ArduinoHttpClient@^0.4.0
|
|
; bblanchon/ArduinoJson@^6.20.1
|
|
|
|
; ; lvgl/lvgl@8.4.0
|
|
|
|
; esphome/ESP32-audioI2S @ ^2.0.7
|
|
; tamctec/TAMC_GT911 @ ^1.0.2
|
|
|
|
; esp-arduino-libs/ESP32_USB_STREAM @ ^0.0.1
|
|
|
|
; adafruit/RTClib @ ^2.1.4
|
|
; enjoyneering/AHT10 @ ^1.1.0
|
|
|
|
|
|
; bodmer/TJpg_Decoder @ 1.1.0
|
|
|
|
; ; pio run --target uploadfs
|
|
; ; debug_port=esp-builtin
|
|
|
|
monitor_filters = esp32_exception_decoder
|
|
monitor_speed = 921600
|
|
|
|
; # Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
|
|
; # Name, Type, SubType, Offset, Size, Flags
|
|
; nvs, data, nvs, 0x9000, 24k
|
|
; phy_init, data, phy, 0xf000, 4k
|
|
; factory, app, factory, , 8M
|
|
; storage, data, spiffs, , 3M
|
|
|
|
|
|
; # Name, Type, SubType, Offset, Size
|
|
; nvs, data, nvs, 0x9000, 0x8000
|
|
; otadata, data, ota, 0x11000, 0x2000
|
|
; phy_init, data, phy, 0x13000, 0x1000
|
|
; app0, app, ota_0, 0x14000, 0x300000
|
|
; app1, app, ota_1, 0x314000, 0x300000
|
|
; spiffs, data, spiffs, 0x614000, 0x700000
|
|
|
|
|
|
|
|
|