-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
59 lines (49 loc) · 1.13 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
[platformio]
src_dir = examples/AllFaces
; src_dir = examples/Blink
; src_dir = examples/Bow
; src_dir = examples/Digits
; src_dir = examples/Greeting
; src_dir = examples/Happy
default_envs = examples
[env]
platform = espressif32
framework = arduino
board = m5stack-atom
monitor_speed = 115200
monitor_filters = time, esp32_exception_decoder
upload_speed = 1500000
board_build.f_flash = 80000000L
src_filter = +<*.cpp> +<*.h>
lib_extra_dirs = ../../src
lib_ldf_mode = deep+
lib_deps =
m5stack/M5Atom
fastled/FastLED
build_type = release
; build_type = debug
build_flags =
; -DDEBUG
[env:examples]
build_flags =
${env.build_flags}
; upload_port = COM17
; monitor_port = ${env:m5atom.upload_port}
[env:greeting]
build_flags =
${env.build_flags}
src_filter =
${env.src_filter}
+<../../src/plugins/PIR.h>
+<../../src/plugins/PIR.cpp>
; upload_port = COM18
; monitor_port = ${env:m5atom.upload_port}
[env:happy]
build_flags =
${env.build_flags}
src_filter =
${env.src_filter}
+<../../src/plugins/EspNow.h>
+<../../src/plugins/EspNow.cpp>
; upload_port = COM16
; monitor_port = ${env:m5atom.upload_port}