From a34cafc034fb22bcf30419e9b9a4a7b017056c35 Mon Sep 17 00:00:00 2001 From: Robert McMahon Date: Sun, 28 Dec 2025 18:00:13 -0800 Subject: [PATCH] Add note that get_idf must be run before all idf.py commands --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 41d2894..452b81a 100644 --- a/README.md +++ b/README.md @@ -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