Skip to content

Commit 4af79db

Browse files
rzrhobinjk
authored andcommitted
example: Set monitor baudrate in LED config
It was tested sucessfully on esp32, nodemcu and wemos d1 Change-Id: I5aadbfa62ec74d5f65a65dbbcac890b78022ec74 Signed-off-by: Philippe Coval <[email protected]>
1 parent a8a2a99 commit 4af79db

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

examples/PlatformIO/LED/platformio.ini

+15-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
[platformio]
1212
; uncomment below to build a one env
13+
; env_default= d1
1314
; env_default= nodemcuv2
1415
; env_default= esp32dev
1516
; env_default= samd21g18a
@@ -18,6 +19,18 @@
1819
lib_deps =
1920
https://github.com/mozilla-iot/webthing-arduino.git
2021
ArduinoJson
22+
monitor_speed = 115200
23+
24+
[env:d1]
25+
platform = espressif8266
26+
board = d1
27+
framework = arduino
28+
lib_deps =
29+
${global.lib_deps}
30+
ESP Async WebServer
31+
lib_ignore = WiFi101
32+
lib_ldf_mode = deep+
33+
monitor_speed = ${global.monitor_speed}
2134

2235
[env:nodemcuv2]
2336
platform = espressif8266
@@ -30,6 +43,7 @@ lib_ignore =
3043
ArduinoMDNS
3144
WiFi101
3245
lib_ldf_mode = deep+
46+
monitor_speed = ${global.monitor_speed}
3347

3448
[env:esp32dev]
3549
platform = espressif32
@@ -40,6 +54,7 @@ lib_deps =
4054
ESP Async WebServer
4155
lib_ignore = WiFi101
4256
lib_ldf_mode = deep+
57+
monitor_speed = ${global.monitor_speed}
4358

4459
[env:samd21g18a]
4560
platform = atmelsam
@@ -50,4 +65,3 @@ lib_deps =
5065
WiFi101
5166
ArduinoMDNS
5267
lib_ldf_mode = deep+
53-

0 commit comments

Comments
 (0)