-
-
Notifications
You must be signed in to change notification settings - Fork 853
Closed
Description
Operating system:
macOS
PlatformIO Version (platformio --version):
3.6.0
Description of problem
When trying to do pio run -t monitor -e envname the first monitor_port found in the file is always used, independent of the environment chosen.
Steps to Reproduce
With the below ini file, executing pio run -t monitor -e strip the monitor always connects to the monitor_port listed in env:string
Swapping the order of the environments in the ini file changes to the first one listed.
If problems with PlatformIO Build System:
The content of platformio.ini:
[platformio]
#env_default = string
[common]
libs =
file://../NTPClient
file://../Switch
file://../WiFiThing
file://../Console
file://../Clock
file://../Timezone
Time
file://../FastLED
ESP8266Wifi
ESP8266mDNS
ESP8266HTTPClient
ArduinoOTA
[env:string]
platform = espressif8266
framework = arduino
board = d1_mini
lib_deps = ${common.libs}
upload_port = razzlestring.local
monitor_port = socket://razzlestring.local:23
[env:strip]
platform = espressif8266
framework = arduino
board = d1_mini
lib_deps = ${common.libs}
upload_port = razzlestrip.local
monitor_port = socket://razzlestrip.local:23Reactions are currently unavailable