From 1b07a9c00ba6d5e878e5b33dcbf89bff493cde26 Mon Sep 17 00:00:00 2001 From: Aly Smith <63546997+alyssadev@users.noreply.github.com> Date: Fri, 12 Jul 2024 19:11:55 +1000 Subject: [PATCH] Update README.md (#170) Instructions needed clarification for esp-idf's venv --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f1d251c8..d8aadebc 100644 --- a/README.md +++ b/README.md @@ -121,8 +121,11 @@ See running the CLI for information on how to run cspot on a desktop computer. The ESP32 target is built using the [esp-idf](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html) toolchain ```shell +# Follow the instructions for setting up esp-idf for your operating system, up to `. ./export.sh` or equivalent +# esp-idf has a Python virtualenv, install nanopb's dependencies in it +$ pip3 install protobuf grpcio-tools # update submodules after each code pull to avoid build errors -$ git submodule update +$ git submodule update --init --recursive # navigate to the targets/esp32 directory $ cd targets/esp32 # run once after pulling the repo