mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-06 11:36:51 +03:00
Add USB port to readme
This commit is contained in:
@@ -18,16 +18,14 @@ platformio run --environment esp32cam
|
|||||||
|
|
||||||
### Upload
|
### Upload
|
||||||
```
|
```
|
||||||
pio run --target upload
|
pio run --target upload --upload-port /dev/ttyUSB0
|
||||||
```
|
```
|
||||||
|
|
||||||
If it doesnt find the device:
|
Alternatively you also can set the UART device in `platformio.ini`, eg. `upload_port = /dev/ttyUSB0`
|
||||||
1. make sure it is in bootloader mode
|
|
||||||
1. set the UART device correctly: In `platformio.ini`, set `upload_port` correctly, eg. `upload_port = /dev/ttyUSB0`
|
|
||||||
|
|
||||||
### Monitor UART Log
|
### Monitor UART Log
|
||||||
```
|
```
|
||||||
pio device monitor
|
pio device monitor -p /dev/ttyUSB0
|
||||||
```
|
```
|
||||||
|
|
||||||
## Build and Flash with Visual Code IDE
|
## Build and Flash with Visual Code IDE
|
||||||
|
|||||||
Reference in New Issue
Block a user