Add note that get_idf must be run before all idf.py commands

This commit is contained in:
Robert McMahon 2025-12-28 18:00:13 -08:00
parent e0c9dc5f2a
commit 2118556fbd
1 changed files with 5 additions and 0 deletions

View File

@ -54,7 +54,12 @@ After adding the function, reload your shell configuration and run `get_idf` to
### Building ### Building
**Note:** All `idf.py` commands require the ESP-IDF environment to be activated first by running `get_idf`.
```bash ```bash
# Activate ESP-IDF environment (required before all idf.py commands)
get_idf
# Set target (e.g., esp32c5, esp32s3, esp32) # Set target (e.g., esp32c5, esp32s3, esp32)
idf.py set-target esp32c5 idf.py set-target esp32c5