Skip to content

Commit

Permalink
updated esp32s3 build params
Browse files Browse the repository at this point in the history
  • Loading branch information
hpsaturn committed Jul 16, 2023
1 parent adbe60e commit f8b4381
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions examples/ttgo_tdisplay_s3/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,33 +18,35 @@ extra_configs = ../../unified-lib-deps.ini
ssid = ${sysenv.PIO_WIFI_SSID}
password = ${sysenv.PIO_WIFI_PASSWORD}

[env]
[common]
platform = espressif32
framework = arduino
upload_speed = 1500000
monitor_speed = 115200
build_flags =
'-DWIFI_SSID="${wifi.ssid}"'
'-DWIFI_PASS="${wifi.password}"'
-D ARDUINO_ESP32_DEV=1
-D CORE_DEBUG_LEVEL=0
lib_deps = ${commonlibs.lib_deps}

[env:esp32s3]
framework = ${env.framework}
upload_speed = ${env.upload_speed}
monitor_speed = ${env.monitor_speed}
platform = espressif32 @ 5.0.0
[esp32_common]
platform = ${common.platform}
board = lolin32
framework = ${common.framework}
upload_speed = ${common.upload_speed}
monitor_speed = ${common.monitor_speed}
build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps}
board_build.partitions = min_spiffs.csv

[env:ESP32S3]
extends = esp32_common
board = esp32-s3-devkitc-1
platform_packages = framework-arduinoespressif32@https://github.com/espressif/arduino-esp32.git#2.0.3
lib_deps = ${env.lib_deps}
build_flags =
${env.build_flags}
-DBOARD_HAS_PSRAM
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1

board_build.partitions = default_8MB.csv
board_build.arduino.memory_type = qspi_opi
board_build.flash_size = 8MB
board_build.psram_type = opi
; change microcontroller
board_build.mcu = esp32s3
; change MCU frequency
board_build.f_cpu = 240000000L



0 comments on commit f8b4381

Please sign in to comment.