platformio/platformio-core
Voir sur GitHubRemote Upload and Monitor not using environment config
Open
#4 840 ouverte le 30 août 2023
help wantedremote
Métriques du dépôt
- Stars
- (7 329 stars)
- Métriques de merge PR
- (Merge moyen 109j 16h) (5 PRs mergées en 30 j)
Description
I want 2 different environments, for local and remote.
I have this in my platformio.ini :
[env:remote]
upload_port = /dev/ttyUSB1
monitor_port = /dev/ttyUSB1
[env:local]
upload_port = COM4
monitor_port = COM4
By using the remote monitor (or upload, but it behaves the same), the port used will be the first specified (in this case, /dev/ttyUSB1).
It seems that upload_port and monitor_port aren't taken into account properly when using remote actions.
It works when using monitor on the current machine however : the right port is used.
Can you please fix the remote actions so that it uses the ports I specify in the environments ?