-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
56 lines (50 loc) · 1.61 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
; 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 = m5stack-core1
[common]
monitor_speed = 115200
lib_deps_external =
arduino-libraries/ArduinoBLE@^1.3.5
m5stack/M5Unified@^0.1.11
hideakitai/TaskManager@^0.5.2
https://github.com/meganetaaan/m5stack-avatar.git
[env:m5stack-core1]
platform = espressif32
board = m5stack-core-esp32
framework = arduino
monitor_speed = ${common.monitor_speed}
lib_deps =
${common.lib_deps_external}
madhephaestus/ESP32Servo@^0.13.0
[env:m5stack-core2]
platform = espressif32
board = m5stack-core2
framework = arduino
monitor_speed = ${common.monitor_speed}
lib_deps =
${common.lib_deps_external}
madhephaestus/ESP32Servo@^0.13.0
[env:m5stack-core2-feetech]
platform = espressif32
board = m5stack-core2
framework = arduino
build_flags = FEETECH
monitor_speed = ${common.monitor_speed}
lib_deps = ${common.lib_deps_external}
[env:native]
platform = native
build_type = debug
build_flags = -O0 -xc++ -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
lib_deps = ${common.lib_deps_external}