-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathplatformio.ini
More file actions
122 lines (106 loc) · 3.23 KB
/
Copy pathplatformio.ini
File metadata and controls
122 lines (106 loc) · 3.23 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
; 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 = m5stick-c
[env]
platform = espressif32 @ 6.12.0
framework = arduino
upload_speed = 1500000
monitor_speed = 115200
board_build.f_flash = 80000000L
board_build.filesystem = spiffs
board_build.partitions = default_16MB.csv
build_flags = -DCORE_DEBUG_LEVEL=4
lib_deps =
meganetaaan/M5Stack-Avatar@0.10.0
;m5stack/M5Unified@0.2.10
m5stack/M5Unified@0.2.5
lib_ldf_mode = deep
[env:m5stack-core2]
board = m5stack-core2
[env:m5stack-grey]
; Flash16MBのBasicはこちらを使ってください。
board = m5stack-grey
[env:m5stack-fire]
; fireはespressif32最新版(5.x)で動かない場合は下記の1行をコメントアウトしてください。
; platform = espressif32 @ 4.4.0
board = m5stack-fire
[env:m5stack-core-esp32]
; Flash 16MBのBasicはm5stack-greyを使ってください。
board = m5stack-core-esp32
board_build.partitions = huge_app.csv
[env:m5stick-c]
; Flash 16MBのBasicはm5stack-greyを使ってください。
board = m5stick-c
board_build.partitions = huge_app.csv
[env:m5atoms3]
board = esp32-s3-devkitc-1
build_flags = -DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
;monitor_port = COM6
monitor_rts = 1
monitor_dtr = 1
board_build.partitions = huge_app.csv
[env:m5atoms3-release]
board = esp32-s3-devkitc-1
board_build.partitions = huge_app.csv
[env:m5stack-cores3]
board = m5stack-cores3
build_flags =
${env.build_flags}
lib_deps =
${env.lib_deps}
https://github.com/GOB52/gob_unifiedButton
[env:m5stack-dial]
board = esp32-s3-devkitc-1
board_build.partitions = default_8MB.csv
build_flags =
${env.build_flags}
-DARDUINO_M5Stack_StampS3
[env:m5stickc-plus2]
board = m5stick-c
board_upload.flash_size = 8MB
board_upload.maximum_size = 8388608
board_build.f_flash = 80000000L
board_build.filesystem = spiffs
build_flags =
-DCORE_DEBUG_LEVEL=4
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
-mfix-esp32-psram-cache-strategy=memw
board_build.partitions = default_8MB.csv
[env:m5stack-atoms3r]
board = esp32-s3-devkitc-1
board_upload.flash_size = 8MB
board_upload.maximum_size = 8388608
board_build.arduino.memory_type = qio_opi
build_flags =
-DESP32S3
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
-DCORE_DEBUG_LEVEL=5
; -DARDUINO_USB_CDC_ON_BOOT=1
; -DARDUINO_USB_MODE=1
board_build.partitions = default_8MB.csv
[env:native]
platform = native
framework =
build_type = debug
build_flags = -O0 -std=c++14 -lSDL2
-I"/usr/local/include/SDL2" ; for intel mac homebrew SDL2
-L"/usr/local/lib" ; for intel mac homebrew SDL2
-I"${sysenv.HOMEBREW_PREFIX}/include/SDL2" ; for arm mac homebrew SDL2
-L"${sysenv.HOMEBREW_PREFIX}/lib" ; for arm mac homebrew SDL2
-DM5GFX_BOARD=board_M5Stack
[env:native_release_Windows]
platform = native
build_type = release
build_flags = -O3 -c++ -std=c++14 -lSDL2 -mwindows
-DM5GFX_BOARD=board_M5Stack