File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,21 @@ It's possible to specify a serial port and/or USB VID/PID values by setting them
100
100
| macOS | ` $HOME/Library/Application Support/rs.esp.espflash/espflash.toml ` |
101
101
| Windows | ` %APPDATA%\esp\espflash\espflash.toml ` |
102
102
103
+ ### Configuration examples
104
+
105
+ You can either configure the serial port name like so:
106
+ ```
107
+ [connection]
108
+ serial = "/dev/ttyUSB0"
109
+ ```
110
+
111
+ Or specify one or more USB ` vid ` /` pid ` couple:
112
+ ```
113
+ [[usb_device]]
114
+ vid = "303a"
115
+ pid = "1001"
116
+ ```
117
+
103
118
## Windows Subsystem for Linux
104
119
105
120
It is not currently possible to use ` cargo-espflash ` from within WSL1.
Original file line number Diff line number Diff line change @@ -94,6 +94,21 @@ It's possible to specify a serial port and/or USB VID/PID values by setting them
94
94
| macOS | ` $HOME/Library/Application Support/rs.esp.espflash/espflash.toml ` |
95
95
| Windows | ` %APPDATA%\esp\espflash\espflash.toml ` |
96
96
97
+ ### Configuration examples
98
+
99
+ You can either configure the serial port name like so:
100
+ ```
101
+ [connection]
102
+ serial = "/dev/ttyUSB0"
103
+ ```
104
+
105
+ Or specify one or more USB ` vid ` /` pid ` couple:
106
+ ```
107
+ [[usb_device]]
108
+ vid = "303a"
109
+ pid = "1001"
110
+ ```
111
+
97
112
## Windows Subsystem for Linux
98
113
99
114
It is not currently possible to use ` espflash ` from within WSL1.
You can’t perform that action at this time.
0 commit comments