expressif sdk
This commit is contained in:
parent
ad54b0cc07
commit
7f8cff044c
1 changed files with 26 additions and 0 deletions
|
|
@ -51,6 +51,8 @@ To demonstrate compilation, I have copied one of the demo projects provided:
|
|||
cp -r /opt/esp-idf/examples/get-started/hello_world .
|
||||
```
|
||||
|
||||
### Initialise the project
|
||||
|
||||
To initialise the project, run:
|
||||
|
||||
```sh
|
||||
|
|
@ -59,3 +61,27 @@ idf.py set-target esp32
|
|||
|
||||
> Python is used as the client for automated processes/bootstrapping etc, even
|
||||
> though the code that runs on the device is written in C.
|
||||
|
||||
### Check ESP32 is registered as connected to computer you are programming on
|
||||
|
||||
Check that ESP32 is registered as connected (after plugging in);
|
||||
|
||||
```sh
|
||||
lsusb
|
||||
```
|
||||
|
||||
Current device listed as `ID 10c4:ea60 Silicon Labs CP210x UART Bridge`
|
||||
|
||||
> `Silicon Labs CP210x` is the USB-to-serial chip on the ESP32 board
|
||||
|
||||
Then run:
|
||||
|
||||
```sh
|
||||
ls /dev/ttyUSB*
|
||||
```
|
||||
|
||||
It should return something like:
|
||||
|
||||
```
|
||||
crw-rw---- 1 root uucp 188, 0 Dec 15 17:57 /dev/ttyUSB0
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue