-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
289 lines (268 loc) · 7.66 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
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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
; 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]
src_dir = cmakeProject/lib/IoAbstraction/examples/avrEepromExample
;src_dir = cmakeProject/lib/tcMenu/examples/arduino32/stm32DuinoOneButton
;src_dir = cmakeProject/lib/LiquidCrystalIO/examples/aw9523Example
;src_dir = cmakeProject/lib/IoAbstraction/examples/touchScreenFT6206Lib
;src_dir = cmakeProject/lib/TaskManagerIO/examples/taskManagement
;src_dir = cmakeProject/lib/IoAbstraction/examples/abstractingPinsPCF8574
;src_dir = cmakeProject/lib/IoAbstraction/examples/spiAndExtras
;src_dir = cmakeProject/lib/TaskManagerIO/examples/tasksUsingExecutable
;src_dir = cmakeProject/lib/SimpleCollections/examples/circularBuffer
;src_dir = cmakeProject/lib/TaskManagerIO/tests/timerInterruptTest
;src_dir = cmakeProject/lib/TaskManagerIO/tests/taskMgrTests
;src_dir = cmakeProject/lib/tcMenu/test/test_core_items
;src_dir = cmakeProject/lib/IoAbstraction/tests/ioaCoreTests
;src_dir = cmakeProject/lib/IoAbstraction/test/test_ioa_core
;src_dir = cmakeProject/lib/IoAbstraction/tests/simpleTestTest
;src_dir = cmakeProject/lib/SimpleCollections/examples/circularBuffer
;src_dir = cmakeProject/lib/SimpleCollections/tests/collectionTests
;src_dir = cmakeProject/lib/SimpleCollections/tests/stm32ThreadedTests
;src_dir = cmakeProject/lib/tcUnicodeHelper/tests/utf8Processing
;src_dir = cmakeProject/lib/tcUnicodeHelper/examples/utf8decoder
;src_dir = cmakeProject/lib/TcMenuLog/examples/textUtilities
;src_dir = cmakeProject/lib/TcMenuLog/test/test_text_utils
;src_dir = i2cScanner
;src_dir = experimental
;src_dir = adaAvrTest
;src_dir = turboBagDog
lib_dir = cmakeProject/lib
[env:uno]
platform = atmelavr
board = uno
framework = arduino
monitor_speed = 115200
lib_ldf_mode = chain+
[env:uno_r4_wifi]
platform = renesas-ra
board = uno_r4_wifi
framework = arduino
monitor_speed = 115200
build_flags = -DIO_LOGGING_DEBUG=1
lib_deps =
SPI
Wire
adafruit/Adafruit GFX Library
Adafruit ST7735 and ST7789 Library
adafruit/Adafruit BusIO
[env:WIZATmega2560]
platform = atmelavr
board = megaatmega2560
framework = arduino
monitor_speed = 115200
lib_ldf_mode = chain+
lib_deps =
872
SPI
Wire
adafruit/Adafruit GFX Library
Adafruit ST7735 and ST7789 Library
adafruit/Adafruit BusIO
build_flags = -DIO_LOGGING_DEBUG=1
[env:UIPATmega2560]
platform = atmelavr
board = megaatmega2560
framework = arduino
monitor_speed = 115200
lib_deps =
872
adafruit/Adafruit GFX Library
adafruit/Adafruit PCD8544 Nokia 5110 LCD library @ ^1.2.0
adafruit/Adafruit BusIO @ ^1.5.0
uipethernet/UIPEthernet @ ^2.0.8
build_flags = -DIO_LOGGING_DEBUG=1, -DDEFAULT_TASK_SIZE=3
[env:Mkr1300]
platform = atmelsam
board = mkrwan1300
framework = arduino
monitor_speed = 115200
debug_init_break = tbreak loop
lib_deps =
Wire
SPI
arduino-libraries/Ethernet
adafruit/Adafruit BusIO
adafruit/Adafruit GFX Library
Adafruit ST7735 and ST7789 Library
build_flags = -DIO_LOGGING_DEBUG=1
debug_tool = jlink
debug_server =
C:\Users\dave\.platformio\packages\tool-jlink/JLinkGDBServerCL
-singlerun
-if SWD
-select USB
-port 2331
-device ATSAMD21G18
; -jlinkscriptfile C:\Users\dave\Documents\Arduino\tcLibraryDev\blink\segger-script.JLinkScript
[env:Stm32Duino-429]
platform = ststm32
board = nucleo_f429zi
upload_protocol = stlink
monitor_speed = 115200
framework = arduino
;build_flags = -DIO_LOGGING_DEBUG=1 -DSC_DEBUG_CHECKER -DIOA_EXCLUDE_I2C_TESTS -DIOA_ENABLE_STM32_HAL_EXTRAS
build_flags = -DSC_DEBUG_CHECKER -DIOA_EXCLUDE_I2C_TESTS -DIOA_ENABLE_STM32_HAL_EXTRAS
# -DHAL_LTDC_MODULE_ENABLED -DHAL_SDRAM_MODULE_ENABLED -DHAL_DMA2D_MODULE_ENABLED -DNEED_32BIT_COLOR_T_ALPHA
-DTC_LOCALE_FR -DHEARTBEAT_INTERVAL=1500
lib_deps = Stm32Ethernet
STM32duino LwIP
u8g2
SPI
Wire
# stm32duino/STM32Duino FreeRTOS
[env:Disco429]
platform = ststm32
board = disco_f429zi
upload_protocol = stlink
framework = mbed
lib_extra_dirs = cmakeProject/mbed_libs
build_flags = -DPIO_FRAMEWORK_MBED_RTOS_PRESENT -DBUILD_FOR_MBED_6
-DIO_LOGGING_DEBUG=1 -DNEED_32BIT_COLOR_T_ALPHA
-DMBED_CONF_RTOS_PRESENT -DMBED_CONF_RTOS_API_PRESENT
-DIOA_ENABLE_STM32_HAL_EXTRAS -DTM_ENABLE_CAPTURED_LAMBDAS
lib_deps = mbed-st/BSP_DISCO_F429ZI
[env:STM439]
platform = ststm32
board = nucleo_f439zi
framework = mbed
monitor_speed = 115200
lib_deps = mbed-st/BSP_DISCO_F429ZI
lib_extra_dirs = cmakeProject/mbed_lib
build_flags = -DPIO_FRAMEWORK_MBED_RTOS_PRESENT -DBUILD_FOR_MBED_6
-DIO_LOGGING_DEBUG -DIOA_ENABLE_STM32_HAL_EXTRAS
-DMBED_CONF_RTOS_PRESENT -DMBED_CONF_RTOS_API_PRESENT
-DTM_ENABLE_CAPTURED_LAMBDAS
[env:NodeMCU]
upload_protocol = esptool
platform = espressif8266
framework = arduino
upload_port = COM4
board = nodemcuv2
monitor_speed = 115200
build_flags = -DIO_LOGGING_DEBUG=1
lib_deps =
u8g2
Wire
SPI
;TFT_eSPI
;thingpulse/ThingPulse XPT2046 Touch
[env:Wifi32]
platform = espressif32
board = heltec_wifi_kit_32
framework = arduino
monitor_speed = 115200
debug_port = /dev/cu.usbserial-401
build_flags = -DIO_LOGGING_DEBUG=1
lib_deps =
Wire
SPI
adafruit/Adafruit GFX Library
adafruit/Adafruit BusIO
adafruit/Adafruit ILI9341
[env:esp32-s2]
platform = espressif32
board = esp32-s2-saola-1
framework = arduino
monitor_speed = 115200
lib_ldf_mode = chain+
build_flags = -DIO_LOGGING_DEBUG=1 -D_POSIX_THREADS
;build_flags = -DIO_LOGGING_DEBUG=1 -DIOA_USE_ESP32_EXTRAS, -D_POSIX_THREADS
lib_deps = Wire
WiFi
u8g2
Wire
SPI
[env:mini-s3]
platform = espressif32
board = um_tinys3
framework = arduino
monitor_speed = 115200
lib_ldf_mode = chain+
build_flags = -DIO_LOGGING_DEBUG=1 -D_POSIX_THREADS
;build_flags = -DIO_LOGGING_DEBUG=1 -DIOA_USE_ESP32_EXTRAS, -D_POSIX_THREADS
lib_deps = WiFi
Wire
SPI
adafruit/Adafruit GFX Library @ ^1.10.1
Adafruit ST7735 and ST7789 Library
adafruit/Adafruit BusIO @ ^1.5.0
[env:ESP32Wrover]
platform = espressif32
board = esp-wrover-kit
debug_tool = esp-prog
monitor_speed = 115200
framework = arduino
build_flags = -DIO_LOGGING_DEBUG=1 -DIOA_USE_ESP32_EXTRAS, -D_POSIX_THREADS -DTC_TOUCH_DEBUG
lib_ldf_mode = chain+
lib_deps =
Wire
SPI
TFT_eSPI
FS
WiFi
adafruit/Adafruit FT6206 Library
adafruit/Adafruit BusIO
[env:nano33ble]
platform = nordicnrf52@9.5.0
board = nano33ble
framework = arduino
monitor_speed = 115200
build_flags = -DIO_LOGGING_DEBUG=1
lib_ldf_mode = chain
lib_deps =
Arduino_HTS221
Arduino_LPS22HB
Arduino_LSM9DS1
ArduinoBLE
olikraus/U8g2@^2.28.8
Wire
SPI
[env:seeed_wio_lite_mg126]
platform = atmelsam
board = seeed_wio_lite_mg126
monitor_speed = 115200
framework = arduino
build_flags = -DIO_LOGGING_DEBUG=1
lib_ldf_mode = chain+
lib_deps = Wire
SPI
adafruit/Adafruit GFX Library @ ^1.10.1
Adafruit ST7735 and ST7789 Library
adafruit/Adafruit BusIO @ ^1.5.0
Adafruit Zero DMA Library
[env:pi_pico]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
build_flags = -DIO_LOGGING_DEBUG=1 -DLoggingPort=Serial1
-DTC_LOCALE_FR
board = pico
framework = arduino
board_build.core = earlephilhower
upload_protocol = picoprobe
debug_tool = picoprobe
lib_ldf_mode = chain+
monitor_speed = 115200
lib_deps = ;TFT_eSPI
SPI
Wire
adafruit/Adafruit GFX Library
adafruit/Adafruit BusIO
adafruit/Adafruit ILI9341
;[env:uno_wifi_rev2]
;platform = atmelmegaavr
;board = uno_wifi_rev2
;framework = arduino
;monitor_speed = 115200
;build_flags = -DIO_LOGGING_DEBUG=1
;[env:due]
;platform = atmelsam
;board = due
;framework = arduino
;build_flags = -DIO_LOGGING_DEBUG=1