Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
tools:espidf [2023/10/03 16:11]
darron [Test]
tools:espidf [2023/10/03 16:29]
darron [Install]
Line 39: Line 39:
  
 Append paths to .profile Append paths to .profile
 +
 +<code>
 +vi ~esp/.profile
 +</code>
  
 <code> <code>
Line 63: Line 67:
  
 Finalise installation Finalise installation
 +
 <code> <code>
-./export.sh+~/esp-idf/export.sh
 </code> </code>
 +
 +If it complains about openocd...
 +
 +<code>
 +/usr/bin/python3 /home/esp/esp-idf/tools/idf_tools.py export --prefer-system
 +</code>
 +
 +Save the environment configuration
 +
 +<code>
 +echo ". ~/esp-idf/export.sh" >> ~/.profile
 +</code>
 +
 +Logout from user esp
 +
 +<code>
 +exit
 +</code>
 +
 ===Test=== ===Test===
  
-Build the blinky test.+Login as user esp 
 + 
 +<code> 
 +/bin/su - esp 
 +</code> 
 + 
 +Enter the hello world example dir 
 + 
 +<code> 
 +cd ~/esp-idf/examples/get-started/hello_world  
 +</code> 
 + 
 +Build
  
 <code> <code>
-cd ~/esp-idf/examples/get-started/blink 
 idf.py build idf.py build
 </code> </code>
  
-Expect this to take some time. 
 === Resources === === Resources ===
  
 [[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]]