Add note that get_idf must be run before all idf.py commands
This commit is contained in:
parent
78a98d8ca6
commit
a34cafc034
|
|
@ -54,7 +54,12 @@ After adding the function, reload your shell configuration and run `get_idf` to
|
|||
|
||||
### Building
|
||||
|
||||
**Note:** All `idf.py` commands require the ESP-IDF environment to be activated first by running `get_idf`.
|
||||
|
||||
```bash
|
||||
# Activate ESP-IDF environment (required before all idf.py commands)
|
||||
get_idf
|
||||
|
||||
# Set target (e.g., esp32c5, esp32s3, esp32)
|
||||
idf.py set-target esp32c5
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue