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:07] – 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 62: | Line 62: | ||
</ | </ | ||
- | ===Finalise=== | + | 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:// |