forked from ESPresense/ESPresense
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
105 lines (97 loc) · 2.44 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
; 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 = esp32
[common_env_data]
lib_deps_external =
haimoz/SoftFilters@^0.1.0
marvinroger/AsyncMqttClient@^0.9.0
bblanchon/ArduinoJson@^6.17.3
juerd/ESP-WiFiSettings@^3.7.2
h2zero/NimBLE-Arduino@^1.2.0
me-no-dev/AsyncTCP@^1.1.1
bbx10/DNSServer@^1.1.0
[env:esp32]
platform = espressif32
framework = arduino
board = esp32dev
lib_deps = ${common_env_data.lib_deps_external}
board_build.partitions = partitions_singleapp.csv
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
build_flags =
-D FIRMWARE='"esp32"'
-Wall
[env:esp32-noupdate]
platform = espressif32
framework = arduino
board = esp32dev
lib_deps = ${common_env_data.lib_deps_external}
board_build.partitions = partitions_singleapp.csv
monitor_speed = 115200
build_flags =
-D FIRMWARE='"esp32-noupdate"'
-D NOUPDATE
-Wall
[env:esp32-verbose]
platform = espressif32
framework = arduino
board = esp32dev
lib_deps = ${common_env_data.lib_deps_external}
board_build.partitions = partitions_singleapp.csv
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
build_flags =
-D FIRMWARE='"esp32-verbose"'
-D VERBOSE
-Wall
[env:m5stickc]
platform = espressif32
framework = arduino
board = m5stick-c
lib_deps =
m5stack/M5StickC@^0.2.0
${common_env_data.lib_deps_external}
board_build.partitions = partitions_singleapp.csv
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
build_flags =
-D M5STICK
-D FIRMWARE='"m5stickc"'
-Wall
[env:m5stickc-plus]
platform = espressif32
framework = arduino
board = m5stick-c
lib_deps =
m5stack/M5StickCPlus@^0.0.2
${common_env_data.lib_deps_external}
board_build.partitions = partitions_singleapp.csv
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
build_flags =
-D M5STICK
-D PLUS
-D FIRMWARE='"m5stickc-plus"'
-Wall
[env:m5atom-matrix]
platform = espressif32
framework = arduino
board = m5stack-atom
lib_deps =
${common_env_data.lib_deps_external}
board_build.partitions = partitions_singleapp.csv
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
build_flags =
-D M5ATOM
-D MATRIX
-D FIRMWARE='"m5atom-matrix"'
-Wall