Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:espidf [2023/10/03 16:27] – [Test] darrontools:espidf [2024/10/02 00:38] (current) – [Setup] darron
Line 19: Line 19:
 </code> </code>
  
-Debian bullseye has python 3 but on buster python 3 will need to be the default version. +Python3 will need to be the [[:tools:python|default]] version.
- +
-<code> +
-update-alternatives --remove-all python +
-update-alternatives --install /usr/bin/python python /usr/bin/python3 2 +
-update-alternatives --install /usr/bin/python python /usr/bin/python2 1 +
-update-alternatives --config python +
-python -V +
-Python 3.7.3 +
-</code>+
  
 === User === === User ===
Line 52: Line 43:
 === Install=== === Install===
  
-Clone dev kit into home dir.+Login as user esp
  
 <code> <code>
 /bin/su - esp /bin/su - esp
 +</code>
 +
 +Clone dev kit into home dir.
 +
 +<code>
 git clone --recursive https://github.com/espressif/esp-idf git clone --recursive https://github.com/espressif/esp-idf
 </code> </code>
Line 67: Line 63:
  
 Finalise installation Finalise installation
 +
 +<code>
 +. ~/esp-idf/export.sh
 +</code>
 +
 +If it complains about openocd...
 +
 +<code>
 +/usr/bin/python3 /home/esp/esp-idf/tools/idf_tools.py export --prefer-system
 +</code>
 +
 +Save the configuration
  
 <code> <code>
Line 99: Line 107:
  
 === Resources === === Resources ===
 +
 +[[https://www.espressif.com/sites/default/files/documentation/esp32_technical_reference_manual_en.pdf|MCU reference manual]]
  
 [[https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html|Get Started with ESP-IDF]] [[https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html|Get Started with ESP-IDF]]
  
 +[[https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/linux-macos-setup.html#get-started-linux-macos-first-steps|First project with ESP-IDF]]