forked from MicroBlocksCN/smallvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
1138 lines (1047 loc) · 24.6 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
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
; PlatformIO Project Configuration File
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
; To build 'cd' to the the 'smallvm' folder and run a command like:
; pio run -e microbit -t upload
; to build and install the MicroBlocks VM a given board (e.g. microbit) or
; pio run
; to compile MicroBlocks for all platforms.
;
; Framework patches:
; The following two framework files must be patched to increase their serial buffer sizes:
;
; framework-arduinonordicnrf5/cores/nRF5/RingBuffer.h:
; framework-n-able-arduino/cores/nRF5/RingBuffer.h:
; In each file, change SERIAL_BUFFER_SIZE from 64 to 256 bytes:
; #define SERIAL_BUFFER_SIZE 256
;
; This patches helps to avoid dropped bytes if the CPU blocked by a long-running operation such
; as an I2C sensor read with clock stretching. The maximum tolerable CPU block is ~20 msecs.
[platformio]
src_dir = vm
[env]
framework = arduino
monitor_speed = 115200
[env:microbit]
platform = nordicnrf51
board = bbcmicrobit
; build_flags = -Wl,-Map,output.map
[env:calliope]
platform = nordicnrf51
board = calliope_mini
[env:calliopeV3]
; platform = nordicnrf52
; board = CalliopeminiV3
platform = https://github.com/platformio/platform-nordicnrf52.git
board = calliopemini_v3
; Note: Flags -UNRF52 -DNRF52_SERIES are required to make the
; arduinonordicnrf5 framework use code for the NRF52833 chip.
build_flags = -UNRF52 -DNRF52_SERIES -D ARDUINO_GENERIC -D USE_LFSYNT -D CALLIOPE_V3 -D OLED_128_64
lib_deps =
Adafruit GFX Library
Adafruit SSD1306
Adafruit BusIO
[env:calliopeV3-ble]
platform = https://github.com/h2zero/platform-n-able.git#1.0.0
board = calliopemini_v3
board_build.variants_dir = boards
build_flags = -D CALLIOPE_V3 -D OLED_128_64 -D BLE_IDE
lib_deps =
Adafruit GFX Library
Adafruit SSD1306
Adafruit BusIO
h2zero/NimBLE-Arduino@^1.4.0
[env:cpx]
platform = atmelsam
board = adafruit_circuitplayground_m0
lib_deps =
Servo
arduino-libraries/Keyboard
arduino-libraries/Mouse
arduino-libraries/MIDIUSB
https://github.com/adafruit/Adafruit_ZeroPDM.git
[env:gemma]
platform = atmelsam
board = adafruit_gemma_m0
lib_deps =
arduino-libraries/Servo
arduino-libraries/Keyboard
arduino-libraries/Mouse
arduino-libraries/MIDIUSB
[env:itsybitsy]
platform = atmelsam
board = adafruit_itsybitsy_m0
lib_deps =
arduino-libraries/Servo
arduino-libraries/Keyboard
arduino-libraries/Mouse
arduino-libraries/MIDIUSB
[env:trinket]
platform = atmelsam
board = adafruit_trinket_m0
lib_deps =
arduino-libraries/Servo
arduino-libraries/Keyboard
arduino-libraries/Mouse
arduino-libraries/MIDIUSB
[env:due]
platform = atmelsam
board = due
lib_deps =
arduino-libraries/Servo
arduino-libraries/Keyboard
arduino-libraries/Mouse
arduino-libraries/MIDIUSB
[env:mkrzero]
platform = atmelsam
board = mkrzero
lib_deps =
arduino-libraries/Servo
arduino-libraries/Keyboard
arduino-libraries/Mouse
arduino-libraries/MIDIUSB
[env:mkr1000]
platform = atmelsam
board = mkr1000USB
lib_deps =
arduino-libraries/Servo
arduino-libraries/Keyboard
arduino-libraries/Mouse
arduino-libraries/MIDIUSB
WiFi101
[env:zero]
platform = atmelsam
board = zero
lib_deps =
arduino-libraries/Servo
arduino-libraries/Keyboard
arduino-libraries/Mouse
arduino-libraries/MIDIUSB
[env:nodemcu]
platform = espressif8266
board = nodemcuv2
board_build.ldscript = eagle.flash.4m3m.ld
lib_deps =
paulstoffregen/OneWire
256dpi/MQTT
[env:d1mini]
platform = espressif8266
board = d1_mini
board_build.ldscript = eagle.flash.4m3m.ld
lib_deps =
paulstoffregen/OneWire
Adafruit GFX Library
Adafruit ST7735 and ST7789 Library
Adafruit BusIO
256dpi/MQTT
lib_ignore =
Adafruit STMPE610
Adafruit seesaw Library
Adafruit TouchScreen
SD
[env:iot-bus]
platform = espressif32
board = lolin32
board_build.partitions = microblocks_partitions.csv
build_flags = -D ARDUINO_IOT_BUS -D BLE_IDE
lib_deps =
paulstoffregen/OneWire
Adafruit GFX Library
571 ; Adafruit ILI9341
Adafruit BusIO
https://github.com/iot-bus/XPT2046_Touchscreen
WebSockets
256dpi/MQTT
NimBLE-Arduino
lib_ignore =
Adafruit STMPE610
Adafruit TouchScreen
[env:esp32]
platform = espressif32
board = esp32doit-devkit-v1
board_build.partitions = microblocks_partitions.csv
build_flags = -D BLE_IDE
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
[env:esp32-ble-keyboard]
platform = espressif32
board = esp32doit-devkit-v1
board_build.partitions = microblocks_partitions.csv
build_flags = -D USE_NIMBLE -D BLE_KEYBOARD
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
t-vk/ESP32 BLE Keyboard@^0.3.2
[env:esp32-esp-now]
platform = espressif32
board = esp32doit-devkit-v1
board_build.partitions = microblocks_partitions.csv
build_flags = -D BLE_IDE -D ESP_NOW_PRIMS
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
WifiEspNow
[env:databot]
platform = espressif32
board = esp32doit-devkit-v1
board_build.partitions = microblocks_partitions.csv
build_flags = -D DATABOT -D BLE_IDE
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
[env:esp32-pico-d4]
platform = espressif32
board = pico32
board_build.partitions = microblocks_partitions.csv
build_flags = -D BLE_IDE
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
[env:mbits]
platform = espressif32
board = esp32doit-devkit-v1
board_build.partitions = microblocks_partitions.csv
build_flags = -D ARDUINO_Mbits -D BLE_IDE
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
[env:halocode]
platform = espressif32
board = esp32doit-devkit-v1
board_build.partitions = microblocks_partitions.csv
build_flags =
-D HALOCODE
-D BLE_IDE
-D BOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
[env:sinobit]
platform = nordicnrf51
board = Sinobit
[env:ed1]
platform = espressif32
board = esp32doit-devkit-v1
board_build.partitions = microblocks_partitions.csv
build_flags = -D ARDUINO_CITILAB_ED1 -D BLE_IDE
lib_deps =
paulstoffregen/OneWire
Adafruit GFX Library
Adafruit ST7735 and ST7789 Library
Adafruit BusIO
WebSockets
256dpi/MQTT
NimBLE-Arduino
lib_ignore =
Adafruit STMPE610
Adafruit seesaw Library
Adafruit TouchScreen
SD
[env:ed1-esp-now]
platform = espressif32
board = esp32doit-devkit-v1
board_build.partitions = microblocks_partitions.csv
build_flags = -D ARDUINO_CITILAB_ED1 -D BLE_IDE -D ESP_NOW_PRIMS
lib_deps =
paulstoffregen/OneWire
Adafruit GFX Library
Adafruit ST7735 and ST7789 Library
Adafruit BusIO
WebSockets
256dpi/MQTT
NimBLE-Arduino
WifiEspNow
lib_ignore =
Adafruit STMPE610
Adafruit seesaw Library
Adafruit TouchScreen
SD
[env:ed1-ble-keyboard]
platform = espressif32
board = esp32doit-devkit-v1
board_build.partitions = microblocks_partitions.csv
build_flags = -D ARDUINO_CITILAB_ED1 -D USE_NIMBLE -D BLE_KEYBOARD
lib_deps =
paulstoffregen/OneWire
Adafruit GFX Library
Adafruit ST7735 and ST7789 Library
Adafruit BusIO
WebSockets
256dpi/MQTT
NimBLE-Arduino
t-vk/ESP32 BLE Keyboard@^0.3.2
lib_ignore =
Adafruit STMPE610
Adafruit seesaw Library
Adafruit TouchScreen
SD
[env:samw25x]
platform = atmelsam
board = samd21g18a
build_flags = -D ARDUINO_SAMD_ATMEL_SAMW25_XPRO
lib_deps =
arduino-libraries/Servo
arduino-libraries/Keyboard
arduino-libraries/Mouse
arduino-libraries/MIDIUSB
WiFi101
[env:m5stack]
platform = espressif32
board = m5stack-core-esp32
board_build.partitions = microblocks_partitions.csv
build_flags = -D BLE_IDE
lib_deps =
paulstoffregen/OneWire
Adafruit GFX Library
571 ; Adafruit ILI9341
Adafruit BusIO
WebSockets
256dpi/MQTT
NimBLE-Arduino
lib_ignore =
Adafruit STMPE610
Adafruit seesaw Library
Adafruit TouchScreen
[env:m5core2]
platform = espressif32
board = m5stack-core2
board_build.partitions = microblocks_partitions.csv
build_flags = -D BLE_IDE
lib_deps =
paulstoffregen/OneWire
Adafruit GFX Library
571 ; Adafruit ILI9341
Adafruit BusIO
WebSockets
256dpi/MQTT
NimBLE-Arduino
lib_ignore =
Adafruit STMPE610
Adafruit seesaw Library
Adafruit TouchScreen
[env:m5stick]
platform = espressif32
board = m5stick-c
board_build.partitions = microblocks_partitions.csv
build_flags = -D BLE_IDE
-D BM8563_RTC
lib_deps =
paulstoffregen/OneWire
Adafruit GFX Library
Adafruit ST7735 and ST7789 Library
Adafruit BusIO
WebSockets
256dpi/MQTT
NimBLE-Arduino
lib_ignore =
Adafruit STMPE610
Adafruit seesaw Library
Adafruit TouchScreen
SD
[env:m5stick-plus]
platform = espressif32
board = m5stick-c
board_build.partitions = microblocks_partitions.csv
build_flags =
-D ARDUINO_M5Stick_Plus
-D BLE_IDE
-D BM8563_RTC
lib_deps =
paulstoffregen/OneWire
Adafruit GFX Library
Adafruit ST7735 and ST7789 Library
Adafruit BusIO
WebSockets
256dpi/MQTT
NimBLE-Arduino
lib_ignore =
Adafruit STMPE610
Adafruit seesaw Library
Adafruit TouchScreen
SD
[env:m5ink]
platform = espressif32
board = esp32doit-devkit-v1
board_build.partitions = microblocks_partitions.csv
build_flags = -D ARDUINO_M5CoreInk -D BLE_IDE
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
[env:m5atom]
platform = espressif32
board = esp32doit-devkit-v1
board_build.partitions = microblocks_partitions.csv
build_flags = -D ARDUINO_M5Atom_Matrix_ESP32 -D BLE_IDE
upload_speed = 115200
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
[env:m5atom-lite]
platform = espressif32
board = esp32doit-devkit-v1
board_build.partitions = microblocks_partitions.csv
build_flags = -D ARDUINO_M5Atom_Lite_ESP32 -D BLE_IDE
upload_speed = 115200
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
[env:mpython]
platform = espressif32
board = labplus_mpython
board_build.partitions = microblocks_partitions.csv
build_flags =
-D BLE_IDE
-D ARDUINO_Labplus_mPython
-D OLED_1106
; -D MATRIXBIT
; -D OLED_128_64
; -D QIANKUN
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
Adafruit GFX Library
Adafruit SSD1306
Adafruit SH110X
NimBLE-Arduino
[env:clue]
platform = nordicnrf52
board = adafruit_clue_nrf52840
build_flags = -D SERIAL_BUFFER_SIZE=256
lib_deps =
Adafruit GFX Library
Adafruit ST7735 and ST7789 Library
Adafruit BusIO
lib_ignore =
Servo
Adafruit STMPE610
Adafruit seesaw Library
Adafruit TouchScreen
SD
[env:clue-ble]
platform = https://github.com/h2zero/platform-n-able.git#1.0.0
board = adafruit_clue_nrf52840
board_bootloader = none
board_build.ldscript = $PROJECT_DIR/boards/adafruit/nrf52840_s140_v6.ld
build_flags = -D SERIAL_BUFFER_SIZE=256 -D BLE_IDE
lib_deps =
Adafruit GFX Library
Adafruit ST7735 and ST7789 Library
Adafruit BusIO
h2zero/NimBLE-Arduino@^1.4.0
lib_ignore =
Servo
Adafruit STMPE610
Adafruit seesaw Library
Adafruit TouchScreen
SD
[env:cplay52-no-ble]
platform = nordicnrf52
board = adafruit_cplaynrf52840
build_flags = -D SERIAL_BUFFER_SIZE=256
[env:cplay52]
platform = https://github.com/h2zero/platform-n-able.git#1.0.0
board = adafruit_cplaynrf52840
board_bootloader = none
board_build.ldscript = $PROJECT_DIR/boards/adafruit/nrf52840_s140_v6.ld
build_flags = -D SERIAL_BUFFER_SIZE=256 -D BLE_IDE
lib_deps =
h2zero/NimBLE-Arduino@^1.4.0
[env:feather52]
platform = nordicnrf52
board = adafruit_feather_nrf52840
build_flags = -D SERIAL_BUFFER_SIZE=256
[env:azul]
platform = nordicnrf52
board = adafruit_feather_nrf52840
build_flags = -D SERIAL_BUFFER_SIZE=256 -D SCOUT_MAKES_AZUL
lib_deps =
Adafruit GFX Library
Adafruit SSD1306
Adafruit BusIO
; [env:teensy31]
; platform = teensy
; board = teensy31
; upload_protocol = teensy-cli
[env:teensy40]
platform = teensy
board = teensy40
upload_protocol = teensy-cli
[env:teensy41]
platform = teensy
board = teensy41
upload_protocol = teensy-cli
; [env:m0pro]
; platform = atmelsam
; board = mzeropro
; lib_deps =
; arduino-libraries/Servo
; arduino-libraries/Keyboard
; arduino-libraries/Mouse
; arduino-libraries/MIDIUSB
[env:microbitV2]
platform = nordicnrf52
board = bbcmicrobit_v2
; Note: Flags -UNRF52 -DNRF52_SERIES are required to make the
; arduinonordicnrf5 framework use code for the NRF52833 chip.
build_flags = -UNRF52 -DNRF52_SERIES -D ARDUINO_GENERIC -D OLED_128_64
lib_deps =
Adafruit GFX Library
Adafruit SSD1306
Adafruit BusIO
[env:microbitV2-ble]
platform = https://github.com/h2zero/platform-n-able.git#1.0.0
board = bbcmicrobitv2
; Note: Flags -UNRF52 -DNRF52_SERIES are required to make the
; arduinonordicnrf5 framework use code for the NRF52833 chip.
build_flags = -UNRF52 -DNRF52_SERIES -D ARDUINO_GENERIC -D OLED_128_64 -D BLE_IDE
lib_deps =
Adafruit GFX Library
Adafruit SSD1306
Adafruit BusIO
h2zero/NimBLE-Arduino@^1.4.0
[env:metroM0]
platform = atmelsam
board = adafruit_metro_m0
build_flags = -D ADAFRUIT_METRO_M0_EXPRESS -D OLED_128_64
lib_deps =
Adafruit GFX Library
Adafruit SSD1306
Adafruit BusIO
arduino-libraries/Servo
arduino-libraries/Keyboard
arduino-libraries/Mouse
arduino-libraries/MIDIUSB
[env:seeduino]
platform = atmelsam
board = seeed_zero
lib_deps =
arduino-libraries/Servo
arduino-libraries/Keyboard
arduino-libraries/Mouse
arduino-libraries/MIDIUSB
lib_ignore =
Seeed_Arduino_LCD
[env:makerportV1]
platform = atmelsam
board = makerport
lib_deps =
arduino-libraries/Servo
arduino-libraries/Keyboard
arduino-libraries/Mouse
arduino-libraries/MIDIUSB
board_build.variants_dir = boards
board_build.ldscript = boards/makerport/flash_with_bootloader.ld
[env:makerportV2]
platform = atmelsam
board = makerport2
lib_deps =
arduino-libraries/Servo
arduino-libraries/Keyboard
arduino-libraries/Mouse
arduino-libraries/MIDIUSB
board_build.variants_dir = boards
board_build.ldscript = boards/makerport/flash_with_bootloader.ld
[env:makerportV3]
platform = atmelsam
board = makerport3
lib_deps =
arduino-libraries/Servo
arduino-libraries/Keyboard
arduino-libraries/Mouse
arduino-libraries/MIDIUSB
board_build.variants_dir = boards
board_build.ldscript = boards/makerport/flash_with_bootloader.ld
[env:pico]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = pico
board_build.filesystem_size = 1m
lib_ldf_mode = chain+
build_flags = -Os -D OLED_128_64
board_build.core = earlephilhower
lib_deps =
Adafruit GFX Library
Adafruit SSD1306
Adafruit BusIO
[env:pico-w]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = rpipicow
board_build.filesystem_size = 1m
lib_ldf_mode = chain
build_flags = -Os -D PICO_WIFI -D OLED_128_64
board_build.core = earlephilhower
lib_deps =
Adafruit GFX Library
Adafruit SSD1306
Adafruit BusIO
256dpi/MQTT
links2004/WebSockets
lib_ignore =
BTstack
lwIP_ESPHost
[env:pico-w-ble]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = rpipicow
board_build.filesystem_size = 1m
lib_ldf_mode = chain
build_flags = -Os -D PICO_WIFI -D OLED_128_64 -D BLE_PICO -D PIO_FRAMEWORK_ARDUINO_ENABLE_BLUETOOTH
board_build.core = earlephilhower
lib_deps =
Adafruit GFX Library
Adafruit SSD1306
Adafruit BusIO
256dpi/MQTT
links2004/WebSockets
lib_ignore =
lwIP_ESPHost
[env:pico-xrp]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = rpipicow
board_build.filesystem_size = 1m
lib_ldf_mode = chain
build_flags = -Os -D XRP -D PICO_WIFI -D OLED_128_64 -D BLE_PICO -D PIO_FRAMEWORK_ARDUINO_ENABLE_BLUETOOTH
board_build.core = earlephilhower
lib_deps =
Adafruit GFX Library
Adafruit SSD1306
Adafruit BusIO
256dpi/MQTT
links2004/WebSockets
lib_ignore =
lwIP_ESPHost
[env:wukong2040]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = pico
board_build.filesystem_size = 1.5m
lib_ldf_mode = chain+
build_flags = -Os -D WUKONG2040 -D OLED_128_64
board_build.core = earlephilhower
lib_deps =
Adafruit GFX Library
Adafruit SSD1306
Adafruit BusIO
[env:pico-ed]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = pico
board_build.filesystem_size = 1.5m
lib_ldf_mode = chain+
build_flags = -Os -D PICO_ED
board_build.core = earlephilhower
lib_deps =
Adafruit GFX Library
Adafruit BusIO
[env:ttgo-display]
platform = espressif32
board = esp32doit-devkit-v1
board_build.partitions = microblocks_partitions.csv
build_flags = -D TTGO_DISPLAY -D BLE_IDE
lib_deps =
paulstoffregen/OneWire
Adafruit GFX Library
Adafruit ST7735 and ST7789 Library
Adafruit BusIO
WebSockets
256dpi/MQTT
NimBLE-Arduino
[env:esp32-gamepad]
platform = espressif32
board = esp32doit-devkit-v1
board_build.partitions = microblocks_partitions.csv
build_flags = -D GAMEPAD_DISPLAY -D BLE_IDE
lib_deps =
paulstoffregen/OneWire
Adafruit GFX Library
Adafruit ST7735 and ST7789 Library
Adafruit BusIO
WebSockets
256dpi/MQTT
NimBLE-Arduino
[env:ttgo-rp2040]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = pico
board_build.filesystem_size = 1.5m
lib_ldf_mode = chain+
build_flags = -D TTGO_RP2040
board_build.core = earlephilhower
lib_deps =
Adafruit GFX Library
Adafruit ST7735 and ST7789 Library
Adafruit BusIO
[env:ttgo-d1]
platform = espressif32
board = ttgo-t-oi-plus
board_build.partitions = microblocks_partitions.csv
build_flags = -D BLE_IDE
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
[env:m5stamp]
platform = espressif32
board = pico32
board_build.partitions = microblocks_partitions.csv
build_flags = -D M5STAMP -D BLE_IDE
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
[env:freenoveCamera]
platform = espressif32
board = esp32doit-devkit-v1
board_build.partitions = microblocks_partitions.csv
build_flags = -D BOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -D HAS_CAMERA -D BLE_IDE
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
[env:esp32-s2]
platform = espressif32
board = esp32-s2-saola-1
board_build.partitions = microblocks_partitions.csv
; NOTE: ESP32-S2 hardware does not support BLE.
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
[env:esp32-s3]
platform = espressif32
board = esp32-s3-devkitc-1
board_build.partitions = microblocks_partitions.csv
build_flags = -D BLE_IDE
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
[env:esp32-c3]
platform = espressif32
board = esp32-c3-devkitc-02
board_build.partitions = microblocks_partitions.csv
build_flags = -D BLE_IDE
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
[env:esp32-flashCodeStore]
platform = espressif32
board = esp32doit-devkit-v1
board_build.partitions = microblocks_partitions.csv
build_flags = -D BLE_IDE -D ESP32_FLASH_CODESTORE
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
; cn only
[env:esp32-c3-devkit]
platform = espressif32
board = esp32-c3-devkitc-02
board_build.partitions = microblocks_partitions.csv
build_flags = -D ESP32_C3 -D BLE_IDE
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
[env:esp32-c3-airm2m]
platform = espressif32
board = airm2m_core_esp32c3
board_build.partitions = microblocks_partitions.csv
build_flags =
-D AIRM2MC3
-D ESP32_C3
-D BLE_IDE
;-D ARDUINO_USB_CDC_ON_BOOT=1
;简约版如果需要使用USB连接IDE,请取消上一行注释,否则只能使用蓝牙无线连接
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
;upload_port = /dev/cu.wchusbserial57280423201
[env:cocorobo]
platform = espressif32
board = esp32doit-devkit-v1
board_build.partitions = microblocks_partitions.csv
build_flags =
-D BLE_IDE
-D COCOROBO
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
[env:m5stamps3]
platform = espressif32
board = m5stack-stamps3
platform_packages = framework-arduinoespressif32 @ https://github.com/bsergei/arduino-esp32.git#issue-8185
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
[env:m5stack-fire]
platform = espressif32
board = m5stack-fire
board_build.partitions = microblocks_partitions.csv
build_flags = -D BLE_IDE
lib_deps =
paulstoffregen/OneWire
Adafruit GFX Library
571 ; Adafruit ILI9341
Adafruit BusIO
WebSockets
256dpi/MQTT
NimBLE-Arduino
lib_ignore =
Adafruit STMPE610
Adafruit seesaw Library
Adafruit TouchScreen
[env:mingbai]
platform = espressif32
board = esp32doit-devkit-v1
board_build.partitions = microblocks_partitions.csv
build_flags =
-D BLE_IDE
-D MINGBAI
lib_deps =
Adafruit GFX Library
Adafruit ST7735 and ST7789 Library
Adafruit BusIO
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
[env:m5-cardputer]
platform = espressif32
board = m5stack-stamps3
platform_packages = framework-arduinoespressif32 @ https://github.com/bsergei/arduino-esp32.git#issue-8185
build_flags =
-D M5_CARDPUTER
-D ARDUINO_USB_CDC_ON_BOOT=1
-D BLE_IDE
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
Adafruit GFX Library
Adafruit ST7735 and ST7789 Library
Adafruit BusIO
[env:m5-atom-s3-lite]
platform = espressif32
board = m5stack-stamps3
platform_packages = framework-arduinoespressif32 @ https://github.com/bsergei/arduino-esp32.git#issue-8185
build_flags =
-D M5_ATOMS3LITE
-D ARDUINO_USB_CDC_ON_BOOT=1
-D BLE_IDE
-D OLED_128_64
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
Adafruit GFX Library
Adafruit SSD1306
Adafruit BusIO
[env:future-lite]
platform = espressif32
board = esp32-s3-devkitc-1
board_build.partitions = microblocks_partitions.csv
build_flags =
-D BLE_IDE
-D FUTURE_LITE
-D ARDUINO_USB_CDC_ON_BOOT=1
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
Adafruit GFX Library
Adafruit ST7735 and ST7789 Library
Adafruit BusIO
[env:m5-atom-s3]
platform = espressif32
board = m5stack-stamps3
board_build.partitions = microblocks_partitions.csv
platform_packages = framework-arduinoespressif32 @ https://github.com/bsergei/arduino-esp32.git#issue-8185
build_flags =
-D M5_ATOMS3
-D ARDUINO_USB_CDC_ON_BOOT=1
-D BLE_IDE
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
moononournation/GFX Library for Arduino@^1.4.9
[env:tx-ft-box]
platform = espressif32
board = esp32-s3-devkitc-1
board_build.partitions = microblocks_partitions.csv
build_flags =
-D BLE_IDE
-D TX_FT_BOX
-D ARDUINO_USB_CDC_ON_BOOT=1
lib_deps =
paulstoffregen/OneWire
WebSockets
256dpi/MQTT
NimBLE-Arduino
[env:m5stack-Din-Meter]