Files
HH3CAM/platformio.ini
2026-07-13 17:14:27 +08:00

40 lines
1.2 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 = http://172.16.0.251/esp32/platform-espressif32_arduino3.1.1.zip
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
build_flags = -D LV_LVGL_H_INCLUDE_SIMPLE
-DBOARD_HAS_PSRAM
-DCONFIG_USB_HOST_ENABLED
; -DCCONFIG_USB_DEVICE_ENABLED
; ; usb 调试
-D CONFIG_ESP_CONSOLE_USB_CDC
-D ARDUINO_USB_CDC_ON_BOOT=1
lib_deps =
; espressif/esp32-camera @ 2.0.4
; adafruit/Adafruit TinyUSB Library @ 3.7.6
; baracodadailyhealthtech/tinyusb @ 0.17.0
; bertmelis/USBHostSerial @ 0.1.0
adafruit/Adafruit TinyUSB Library @ 3.7.7
monitor_filters = esp32_exception_decoder