-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
99 lines (93 loc) · 2.49 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
; 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
[env]
framework = arduino
monitor_speed = 115200
debug_speed = 115200
build_flags =
-Wno-unused-function -Wno-unused-variable -Wno-unused-parameter
-Wno-missing-field-initializers
; デフォがOsなので最適化オプション不要
[env:m5stack-atom]
platform = espressif32
board = m5stack-atom
framework = arduino
lib_deps =
wasm3/Wasm3@^0.5.0
lovyan03/LovyanGFX@^1.1.9
build_flags =
${env.build_flags}
-DESP32
-DM5STACKATOM
[env:pico-w]
; Arduino公式はWをサポートしていないのでサードパーティ版を使う
; https://github.com/earlephilhower/arduino-pico/blob/master/docs/platformio.rstO
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = pico
framework = arduino
board_build.core = earlephilhower
; platform = raspberrypi
; board = pico
; framework = arduino
lib_deps =
wasm3/Wasm3@^0.5.0
lovyan03/LovyanGFX@^1.1.9
upload_port = /media/usuyuki/RPI-RP2
build_flags =
${env.build_flags}
-DPICOW
-DRP2040
[env:m5stack-atoms3]
platform = espressif32
board = m5stack-atoms3
framework = arduino
lib_deps =
; m5stack/M5AtomS3の依存でFastLEDが必要(内部で自動解決してくれないので明示的に依存に追加,インクルードすら不要)
fastled/FastLED@^3.6.0
; m5stack/M5AtomS3の依存でM5Unifiedが必要(内部で自動解決してくれないので明示的に依存に追加,インクルードすら不要)
m5stack/M5Unified@^0.1.12
; ↓意味がない
; m5stack/M5AtomS3@^1.0.0
wasm3/Wasm3@^0.5.0
lovyan03/LovyanGFX@^1.1.9
build_flags =
${env.build_flags}
-DESP32
-DM5ATOMS3
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
[env:seeed_xiao_esp32c3]
platform = espressif32
board = seeed_xiao_esp32c3
framework = arduino
lib_deps =
wasm3/Wasm3@^0.5.0
lovyan03/LovyanGFX@^1.1.9
check_skip_packages = yes
build_flags =
${env.build_flags}
-DESP32
-DESP32C3
-DSEEED_STUDIO_ESP32C3
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
[env:m5stack-core2]
platform = espressif32
board = m5stack-core2
framework = arduino
lib_deps =
m5stack/M5Core2@^0.1.8
wasm3/Wasm3@^0.5.0
lovyan03/LovyanGFX@^1.1.9
build_flags =
${env.build_flags}
-DESP32
-DMAHIWA_WIFI
-DM5CORE2