From cd1c36c0e24d1734b84cf7bbc2666e082a835118 Mon Sep 17 00:00:00 2001 From: ailurux Date: Thu, 6 Oct 2022 15:40:50 +1100 Subject: [PATCH] Update readme for vscode --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ff7b0c41..f14da8b3 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,17 @@ to correctly set up your environment for building. ``` . ./.env ``` +**For VSCode:** -3. You can now build the project using `idf.py build`. Or to flash the project +When using the Espressif IDF extension, you may want to set the following in your settings.json file: +``` + "idf.espAdfPath": "${workspaceFolder}/lib/esp-adf", + "idf.espAdfPathWin": "${workspaceFolder}/lib/esp-adf", + "idf.espIdfPath": "${workspaceFolder}/lib/esp-adf/esp-idf", + "idf.espIdfPathWin": "${workspaceFolder}/lib/esp-adf/esp-idf" +``` + +4. You can now build the project using `idf.py build`. Or to flash the project onto your board, something like: ``` idf.py -p /dev/ttyUSB0 -b 115200 flash