Files
MultiRoombaRover/esp32/rover-gpio-peripheral/platformio.ini
T
2026-09-08 21:10:04 -04:00

29 lines
983 B
INI

[platformio]
default_envs = esp32dev
[env]
platform = espressif32
framework = arduino
monitor_speed = 115200
lib_extra_dirs = ../libraries
lib_deps =
; 3.2.0 targets the Arduino 2.x core shipped by PlatformIO's stable ESP32
; platform. ConfigurableFirmata 3.4.0 switched its bundled PWM source to the
; Arduino 3.x LEDC API even when that unused source is compiled as a dependency.
https://github.com/firmata/ConfigurableFirmata.git#3.2.0
bblanchon/ArduinoJson@^7.4.2
madhephaestus/ESP32Servo@^3.0.8
; This is the generic ESP32-WROOM-32/DevKitC target used by boards carrying a
; CH340 or CP210x USB-to-UART bridge. Linux normally exposes it as ttyUSB*.
[env:esp32dev]
board = esp32dev
; Native USB boards use the same sketch and Firmata stream. These flags make the
; ESP32-S3's USB CDC serial port active at boot, normally appearing as ttyACM*.
[env:esp32-s3-devkitc-1]
board = esp32-s3-devkitc-1
build_flags =
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1