mirror of
https://github.com/EyeTrackVR/OpenIris.git
synced 2025-11-04 15:39:42 +08:00
fix: completed esp32s3 boards config
* feat: enable usb cdc on boot * fix: memory_type has to be octal qio_opi for psram to init * fix: cannot flash from platformio without --no-stub flag
This commit is contained in:
parent
b9791506c7
commit
3dd441e2f1
@ -146,31 +146,31 @@ upload_flags =
|
||||
--port=${ota.otaserverport}
|
||||
--auth=${ota.otapassword}
|
||||
|
||||
[env:wrovers3]
|
||||
[env:esp32s3]
|
||||
board = esp32-s3-devkitc-1
|
||||
#board_build.f_flash = 80000000L
|
||||
#board_build.flash_mode = qio
|
||||
board_build.arduino.memory_type = qio_opi
|
||||
build_type = debug
|
||||
build_flags = ${env.build_flags}
|
||||
-DCORE_DEBUG_LEVEL=4 ; set the debug level
|
||||
-DDEBUG_MODE=1 ; Set the debug mode
|
||||
; CAMERA PINOUT DEFINITIONS
|
||||
-DCORE_DEBUG_LEVEL=4
|
||||
-DDEBUG_MODE=1
|
||||
-DARDUINO_USB_CDC_ON_BOOT=1
|
||||
${pinoutsESPS3WROVER.build_flags}
|
||||
upload_flags = --no-stub
|
||||
|
||||
[env:wrovers3_release]
|
||||
[env:esp32s3_release]
|
||||
board = esp32-s3-devkitc-1
|
||||
#board_build.f_flash = 80000000L
|
||||
#board_build.flash_mode = qio
|
||||
board_build.arduino.memory_type = qio_opi
|
||||
build_type = release
|
||||
build_flags = ${env.build_flags}
|
||||
-DDEBUG_MODE=0 ; Set the debug mode
|
||||
-DDEBUG_MODE=0
|
||||
-DCORE_DEBUG_LEVEL=1
|
||||
-DARDUINO_USB_CDC_ON_BOOT=1
|
||||
-DDEBUG_ESP_OTA
|
||||
; CAMERA PINOUT DEFINITIONS
|
||||
${pinoutsESPS3WROVER.build_flags}
|
||||
upload_flags = --no-stub
|
||||
|
||||
[env:wrovers3_OTA]
|
||||
extends = env:wrover_release
|
||||
[env:esp32s3_OTA]
|
||||
extends = env:esp32s3_release
|
||||
upload_port = ${ota.otaserverip}
|
||||
upload_protocol = espota
|
||||
upload_flags =
|
||||
|
||||
Loading…
Reference in New Issue
Block a user