Repository navigation
Expand file tree
/
Copy pathplatformio.ini
More file actions
172 lines (145 loc) · 4.9 KB
/
Copy pathplatformio.ini
File metadata and controls
172 lines (145 loc) · 4.9 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
[platformio]
default_envs =
sunton-8048s043-dccex
[env:sunton-8048s043-dccex]
; Arduino-ESP32 3.1.1 / ESP-IDF 5.3.2 via pioarduino.
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.11/platform-espressif32.zip
board = esp32-s3-devkitc-1
framework = arduino
; Espressif high-performance SDK matching Arduino-ESP32 3.1.1.
; The -h SDK enables, among other things:
; CONFIG_COMPILER_OPTIMIZATION_PERF=y
; CONFIG_ESP32S3_DATA_CACHE_LINE_64B=y
; and on ESP32-S3R8 enables PSRAM XIP support.
platform_packages =
platformio/framework-arduinoespressif32-libs@https://dl.espressif.com/AE/esp-arduino-libs/esp32-3.1.1-h.zip
monitor_speed = 115200
upload_speed = 921600
board_build.filesystem = littlefs
board_build.flash_size = 16MB
board_upload.flash_size = 16MB
board_build.partitions = default_16MB.csv
; ESP32-S3 N16R8: QIO flash + Octal PSRAM.
board_build.arduino.memory_type = qio_opi
board_build.psram_type = opi
board_build.flash_mode = qio
board_build.f_flash = 80000000L
board_build.f_cpu = 240000000L
board_upload.maximum_size = 16777216
debug_tool = esp-builtin
debug_init_break = tbreak setup
lib_deps =
bblanchon/ArduinoJson @ ^7.2.1
ESP32Async/AsyncTCP
ESP32Async/ESPAsyncWebServer
moononournation/GFX Library for Arduino @ 1.5.6
build_src_filter =
+<*>
-<Z21CommandCenter.cpp>
-<YaMoRcZ21CommandCenter.cpp>
-<LocoNetClient.cpp>
-<CommandCenterManager.cpp>
-<CommandCenterFactory.cpp>
build_flags =
-D CORE_DEBUG_LEVEL=3
-D BOARD_HAS_PSRAM
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1
-D HUB_USE_DISPLAY=1
-D HUB_DISPLAY_SUNTON_8048S043=1
-D HUB_TARGET_SUNTON_8048S043=1
-D HUB_CC_DCCEX=1
[env:sunton-8048s043-z21]
; Arduino-ESP32 3.1.1 / ESP-IDF 5.3.2 via pioarduino.
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.11/platform-espressif32.zip
board = esp32-s3-devkitc-1
framework = arduino
; Espressif high-performance SDK matching Arduino-ESP32 3.1.1.
; The -h SDK enables, among other things:
; CONFIG_COMPILER_OPTIMIZATION_PERF=y
; CONFIG_ESP32S3_DATA_CACHE_LINE_64B=y
; and on ESP32-S3R8 enables PSRAM XIP support.
platform_packages =
platformio/framework-arduinoespressif32-libs@https://dl.espressif.com/AE/esp-arduino-libs/esp32-3.1.1-h.zip
monitor_speed = 115200
upload_speed = 921600
board_build.filesystem = littlefs
board_build.flash_size = 16MB
board_upload.flash_size = 16MB
board_build.partitions = default_16MB.csv
; ESP32-S3 N16R8: QIO flash + Octal PSRAM.
board_build.arduino.memory_type = qio_opi
board_build.psram_type = opi
board_build.flash_mode = qio
board_build.f_flash = 80000000L
board_build.f_cpu = 240000000L
board_upload.maximum_size = 16777216
debug_tool = esp-builtin
debug_init_break = tbreak setup
lib_deps =
bblanchon/ArduinoJson @ ^7.2.1
ESP32Async/AsyncTCP
ESP32Async/ESPAsyncWebServer
moononournation/GFX Library for Arduino @ 1.5.6
build_src_filter =
+<*>
-<DccExBridge.cpp>
-<YaMoRcZ21CommandCenter.cpp>
-<LocoNetClient.cpp>
-<CommandCenterManager.cpp>
-<CommandCenterFactory.cpp>
build_flags =
-D CORE_DEBUG_LEVEL=3
-D BOARD_HAS_PSRAM
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1
-D HUB_USE_DISPLAY=1
-D HUB_DISPLAY_SUNTON_8048S043=1
-D HUB_TARGET_SUNTON_8048S043=1
-D HUB_CC_Z21=1
[env:sunton-8048s043-yamorc7010]
; Arduino-ESP32 3.1.1 / ESP-IDF 5.3.2 via pioarduino.
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.11/platform-espressif32.zip
board = esp32-s3-devkitc-1
framework = arduino
; Espressif high-performance SDK matching Arduino-ESP32 3.1.1.
; The -h SDK enables, among other things:
; CONFIG_COMPILER_OPTIMIZATION_PERF=y
; CONFIG_ESP32S3_DATA_CACHE_LINE_64B=y
; and on ESP32-S3R8 enables PSRAM XIP support.
platform_packages =
platformio/framework-arduinoespressif32-libs@https://dl.espressif.com/AE/esp-arduino-libs/esp32-3.1.1-h.zip
monitor_speed = 115200
upload_speed = 921600
board_build.filesystem = littlefs
board_build.flash_size = 16MB
board_upload.flash_size = 16MB
board_build.partitions = default_16MB.csv
; ESP32-S3 N16R8: QIO flash + Octal PSRAM.
board_build.arduino.memory_type = qio_opi
board_build.psram_type = opi
board_build.flash_mode = qio
board_build.f_flash = 80000000L
board_build.f_cpu = 240000000L
board_upload.maximum_size = 16777216
debug_tool = esp-builtin
debug_init_break = tbreak setup
lib_deps =
bblanchon/ArduinoJson @ ^7.2.1
ESP32Async/AsyncTCP
ESP32Async/ESPAsyncWebServer
moononournation/GFX Library for Arduino @ 1.5.6
build_src_filter =
+<*>
-<DccExBridge.cpp>
-<CommandCenterManager.cpp>
-<CommandCenterFactory.cpp>
build_flags =
-D CORE_DEBUG_LEVEL=3
-D BOARD_HAS_PSRAM
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1
-D HUB_USE_DISPLAY=1
-D HUB_DISPLAY_SUNTON_8048S043=1
-D HUB_TARGET_SUNTON_8048S043=1
-D HUB_CC_YAMORC7010=1