-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
56 lines (48 loc) · 1.38 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
; 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]
[com]
esp32_platform = [email protected]
[libraries]
ble = https://github.com/h2zero/NimBLE-Arduino.git#1.3.3
IotWebConf = https://github.com/prampec/IotWebConf.git
pubsubclient = [email protected]
[env]
framework = arduino
lib_ldf_mode = chain
build_flags =
-include user_include.h
'-DSTFBUFFER_0=STF_BUFFER1(systemBuffer, 32, Main, SystemProvider)'
[env:esp32-m5atom]
platform = ${com.esp32_platform}
board = pico32
board_build.partitions = min_spiffs.csv
lib_deps =
${libraries.ble}
${libraries.IotWebConf}
${libraries.pubsubclient}
build_flags =
${env.build_flags}
'-DSTFBUFFER_1=STF_BUFFER1(btBuffer, 64, Main, BTProvider)'
monitor_speed = 115200
upload_speed = 115200
[env:wemos_d1_mini32]
platform = ${com.esp32_platform}
board = wemos_d1_mini32
board_build.partitions = min_spiffs.csv
lib_deps =
${libraries.ble}
${libraries.IotWebConf}
${libraries.pubsubclient}
build_flags =
${env.build_flags}
'-DSTFBUFFER_1=STF_BUFFER1(btBuffer, 64, Main, BTProvider)'
monitor_speed = 115200
upload_speed = 345600