Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:espidf [2023/10/03 16:09] – [Install] darron | tools:espidf [2024/10/02 00:38] (current) – [Setup] darron | ||
---|---|---|---|
Line 19: | Line 19: | ||
</ | </ | ||
- | Debian bullseye has python 3 but on buster python 3 will need to be the default version. | + | Python3 |
- | + | ||
- | < | + | |
- | update-alternatives --remove-all python | + | |
- | update-alternatives --install / | + | |
- | update-alternatives --install / | + | |
- | update-alternatives --config python | + | |
- | python -V | + | |
- | Python 3.7.3 | + | |
- | </ | + | |
=== User === | === User === | ||
Line 39: | Line 30: | ||
Append paths to .profile | Append paths to .profile | ||
+ | |||
+ | < | ||
+ | vi ~esp/ | ||
+ | </ | ||
< | < | ||
Line 48: | Line 43: | ||
=== Install=== | === Install=== | ||
- | Clone dev kit into home dir. | + | Login as user esp |
< | < | ||
/bin/su - esp | /bin/su - esp | ||
+ | </ | ||
+ | |||
+ | Clone dev kit into home dir. | ||
+ | |||
+ | < | ||
git clone --recursive https:// | git clone --recursive https:// | ||
</ | </ | ||
Line 63: | Line 63: | ||
Finalise installation | Finalise installation | ||
+ | |||
< | < | ||
- | . ./export.sh | + | . ~/esp-idf/export.sh |
</ | </ | ||
- | ===Finalise=== | ||
- | TODO | + | If it complains about openocd... |
< | < | ||
- | sh export.sh | + | / |
+ | </ | ||
+ | |||
+ | Save the configuration | ||
+ | |||
+ | < | ||
+ | echo ". ~/esp-idf/export.sh" >> ~/ | ||
+ | </ | ||
+ | |||
+ | Logout from user esp | ||
+ | |||
+ | < | ||
+ | exit | ||
+ | </ | ||
+ | |||
+ | ===Test=== | ||
+ | |||
+ | Login as user esp | ||
+ | |||
+ | < | ||
+ | /bin/su - esp | ||
+ | </ | ||
+ | |||
+ | Enter the hello world example dir | ||
+ | |||
+ | < | ||
+ | cd ~/ | ||
+ | </ | ||
+ | |||
+ | Build | ||
+ | |||
+ | < | ||
+ | idf.py build | ||
</ | </ | ||
=== Resources === | === Resources === | ||
+ | |||
+ | [[https:// | ||
[[https:// | [[https:// | ||
+ | [[https:// |