forked from Xinyuan-LilyGO/T-Dongle-S3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
62 lines (48 loc) · 1.77 KB
/
Copy pathplatformio.ini
File metadata and controls
62 lines (48 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
; `1` Uncomment one of the following lines to set the default environment
default_envs = T-Dongle-S3
; default_envs = T-Dongle-S3-Dual
; default_envs = T-Dongle-S3-Plus
; `2` Set the source directory to one of the example folders below
; Applicable variants: T-Dongle-S3 or T-Dongle-S3-Plus
src_dir = examples/factory_screen
; Applicable variants: T-Dongle-S3-Dual
; src_dir = examples/factory_no_screen
; Applicable variants: only T-Dongle-S3-Plus
; src_dir = examples/ir_send
; ! Microphone example please use the Arduino IDE and upgrade the ESP32 core to version 3.3.0 or higher.
; src_dir = examples/microphone
; Applicable variants: T-Dongle-S3 or T-Dongle-S3-Plus or T-Dongle-S3-Dual
; src_dir = examples/sd_card
; src_dir = examples/led
; src_dir = examples/fs_webserver
; src_dir = examples/wireless_sd_storage
; ! USB example please use the Arduino IDE and upgrade the ESP32 core to version 3.3.0 or higher.
; src_dir = examples/usb_hid_mouse
; src_dir = examples/usb_hid_keyboard
; src_dir = examples/usb_mass_storage
; src_dir = examples/usb_mass_storage_led
[env:T-Dongle-S3]
platform = espressif32@6.12.0
framework = arduino
board = dongles3
build_flags =
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
[env:T-Dongle-S3-Dual]
platform = espressif32@6.12.0
framework = arduino
board = dongles3-dual
[env:T-Dongle-S3-Plus]
platform = espressif32@6.12.0
framework = arduino
board = dongles3-plus