Update pio ini
This commit is contained in:
+21
-7
@@ -8,22 +8,36 @@
|
|||||||
; Please visit documentation for the other options and examples
|
; Please visit documentation for the other options and examples
|
||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
[platformio]
|
[platformio]
|
||||||
|
; default_envs = T-Keyboard
|
||||||
|
; src_dir = examples/Keyboard_ESP32C3
|
||||||
|
|
||||||
|
|
||||||
|
; Please comment out the following when compiling the T-Keyboard
|
||||||
|
default_envs = T-Deck
|
||||||
|
;; Examples only one is valid
|
||||||
src_dir = examples/UnitTest
|
src_dir = examples/UnitTest
|
||||||
; src_dir = examples/Microphone
|
; src_dir = examples/Microphone
|
||||||
|
|
||||||
|
|
||||||
[env:esp32s3box]
|
|
||||||
|
[env:T-Keyboard]
|
||||||
|
platform = espressif32
|
||||||
|
board = ttgo-t-oi-plus
|
||||||
|
framework = arduino
|
||||||
|
|
||||||
|
|
||||||
|
[env:T-Deck]
|
||||||
platform = espressif32
|
platform = espressif32
|
||||||
board = esp32s3box
|
board = esp32s3box
|
||||||
framework = arduino
|
framework = arduino
|
||||||
|
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
|
|
||||||
|
|
||||||
board_build.partitions = default_16MB.csv
|
board_build.partitions = default_16MB.csv
|
||||||
build_flags =
|
build_flags =
|
||||||
-DBOARD_HAS_PSRAM
|
-DBOARD_HAS_PSRAM
|
||||||
-DARDUINO_USB_MODE=1
|
|
||||||
; -DARDUINO_USB_CDC_ON_BOOT=1
|
; Enable UARDUINO_ USB_ CDC_ ON_ BOOT will start printing and wait for terminal access during startup
|
||||||
-UARDUINO_USB_CDC_ON_BOOT
|
-DARDUINO_USB_CDC_ON_BOOT=1
|
||||||
|
|
||||||
|
; Enable UARDUINO_USB_CDC_ON_BOOT will turn off printing and will not block when using the battery
|
||||||
|
; -UARDUINO_USB_CDC_ON_BOOT
|
||||||
|
|||||||
Reference in New Issue
Block a user