forked from Xinyuan-LilyGO/T-Deck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
79 lines (61 loc) · 1.78 KB
/
platformio.ini
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
; 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]
; default_envs = T-Keyboard
; src_dir = examples/Keyboard_ESP32C3
; Please comment out the following when compiling the T-Keyboard
default_envs = T-Deck
; default_envs = T-Deck-868M
; default_envs = T-Deck-915M
; default_envs = T-Deck-433M
;; Examples only one is valid
src_dir = examples/UnitTest
; src_dir = examples/Microphone
; src_dir = examples/Touchpad
; src_dir = examples/Keyboard_T_Deck_Master
; src_dir = examples/LvglArduinoVNC_VGA
; [env:T-Keyboard]
; platform = espressif32
; board = ttgo-t-oi-plus
; framework = arduino
[env]
platform = [email protected]
board = esp32s3box
framework = arduino
upload_speed = 921600
monitor_speed = 115200
board_build.partitions = default_8MB.csv
build_flags =
-DBOARD_HAS_PSRAM
; Enable UARDUINO_ USB_ CDC_ ON_ BOOT will start printing and wait for terminal access during startup
; -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
-DDISABLE_ALL_LIBRARY_WARNINGS
extra_scripts = ./script/pos_extra_script.py
[env:T-Deck]
extends = env
build_flags =
${env.build_flags}
[env:T-Deck-868M]
extends = env
build_flags =
${env.build_flags}
-DRADIO_FREQ=868.0
[env:T-Deck-915M]
extends = env
build_flags =
${env.build_flags}
-DRADIO_FREQ=915.0
[env:T-Deck-433M]
extends = env
build_flags =
${env.build_flags}
-DRADIO_FREQ=433.0