Expand and harden full companion profiles
This commit is contained in:
1 parent
f2d4ffbb7e
commit
dc92ee61ef
44 files changed
+1522
-226
No files matched your search
@@ -104,6 +104,35 @@ lib_deps =
|
||||
extends = esp32_base
|
||||
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.13-1/platform-espressif32.zip
|
||||
|
||||
; ESP32-S3 Full Companion images use the ROM-compatible dual-I/O flash mode.
|
||||
; This is independent of the board's PSRAM type and of whether the USB
|
||||
; connector exposes the S3 native USB peripheral. Ordinary non-Full profiles
|
||||
; keep their existing board-specific flash mode.
|
||||
[esp32_s3_full]
|
||||
board_build.flash_mode = dio
|
||||
|
||||
; Full Companion profiles on boards whose connector is wired to the ESP32-S3
|
||||
; native USB peripheral use Arduino-ESP32 3.x TinyUSB. This supplies two real
|
||||
; CDC ACM interfaces: CDC 0 for framed Companion traffic and optional CDC 1
|
||||
; for plaintext diagnostics. Do not apply this section to USB-UART-bridge
|
||||
; boards; firmware cannot add an interface to an external bridge chip.
|
||||
[esp32_s3_dual_cdc_full]
|
||||
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.311/platform-espressif32.zip
|
||||
; Pin the matching Arduino core as an explicit project dependency. Standard
|
||||
; ESP32 profiles use Arduino 2.x under the same PlatformIO package name, so an
|
||||
; alternating build otherwise can leave this Arduino 3.x profile resolving the
|
||||
; wrong global framework directory (or no compatible directory at all).
|
||||
platform_packages =
|
||||
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32/releases/download/3.3.11/esp32-core-3.3.11.tar.xz
|
||||
framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.3.11/esp32-core-3.3.11-libs.tar.xz
|
||||
board_build.flash_mode = ${esp32_s3_full.board_build.flash_mode}
|
||||
build_unflags =
|
||||
-D ARDUINO_USB_MODE=1
|
||||
-D ARDUINO_USB_CDC_ON_BOOT=0
|
||||
build_flags =
|
||||
-D ARDUINO_USB_MODE=0
|
||||
-D ARDUINO_USB_CDC_ON_BOOT=1
|
||||
|
||||
; ----------------- NRF52 ---------------------
|
||||
|
||||
[nrf52_base]
|
||||
|
||||
Reference in new issue
Block a user