forked from ESPresense/ESPresense
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
123 lines (114 loc) · 3.32 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
; 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]
platform = espressif32
framework = arduino
lib_deps_external =
haimoz/SoftFilters@^0.1.0
marvinroger/AsyncMqttClient@^0.9.0
bblanchon/ArduinoJson@^6.17.3
https://github.com/ESPresense/ESP-WiFiSettings.git
https://github.com/h2zero/NimBLE-Arduino.git#1.3.3
me-no-dev/AsyncTCP@^1.1.1
bbx10/DNSServer@^1.1.0
adafruit/Adafruit Unified Sensor @ ^1.1.4
beegee-tokyo/DHT sensor library for ESPx @ ^1.18
starmbi/hp_BH1750 @ ^1.0.0
build_flags =
-D CONFIG_BT_NIMBLE_PINNED_TO_CORE=1
[env:esp32]
platform = ${common_env_data.platform}
framework = ${common_env_data.framework}
board = esp32dev
lib_deps = ${common_env_data.lib_deps_external}
board_build.partitions = partitions_singleapp.csv
monitor_speed = 115200
upload_speed = 115200
monitor_filters = esp32_exception_decoder
build_flags =
-D FIRMWARE='"esp32"'
[env:adafruit-huzzah32]
platform = ${common_env_data.platform}
framework = ${common_env_data.framework}
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='"adafruit-huzzah32"'
-D HUZZAH32
[env:esp32-verbose]
platform = ${common_env_data.platform}
framework = ${common_env_data.framework}
board = esp32dev
lib_deps = ${common_env_data.lib_deps_external}
board_build.partitions = partitions_singleapp.csv
monitor_speed = 115200
upload_speed = 1500000
monitor_filters = esp32_exception_decoder
build_flags =
-D CORE_DEBUG_LEVEL=2
-D FIRMWARE='"esp32-verbose"'
-D VERBOSE
[env:m5stickc]
platform = ${common_env_data.platform}
framework = ${common_env_data.framework}
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"'
[env:m5stickc-plus]
platform = ${common_env_data.platform}
framework = ${common_env_data.framework}
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"'
[env:m5atom-matrix]
platform = ${common_env_data.platform}
framework = ${common_env_data.framework}
board = m5stack-atom
lib_deps =
fastled/FastLED@^3.4.0
m5stack/m5atom@^0.0.5
${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"'
[env:macchina-a0]
platform = ${common_env_data.platform}
framework = ${common_env_data.framework}
board = esp32dev
lib_deps = ${common_env_data.lib_deps_external}
board_build.partitions = partitions_singleapp.csv
monitor_speed = 115200
build_flags =
-D MACCHINA_A0
-D FIRMWARE='"macchina-a0"'