diff options
| author | Abel Tim <git@abeltim.com> | 2025-05-27 14:57:06 +0200 |
|---|---|---|
| committer | Abel Tim <git@abeltim.com> | 2025-05-27 14:57:06 +0200 |
| commit | c3b4f159df6b52ac8045fbadaf424a88a2b329a8 (patch) | |
| tree | 9af7e3ddf529d2aeb5e17ce39f9a824327913688 /code/main/how_to_build_zephr.txt | |
| parent | e836ff283a67c7b43a4506f8a6654be5e8500648 (diff) | |
| download | robotica-c3b4f159df6b52ac8045fbadaf424a88a2b329a8.tar.gz robotica-c3b4f159df6b52ac8045fbadaf424a88a2b329a8.zip | |
zephyr
Multi-line description of commit,
feel free to be detailed.
Signed-off-by: Abel Tim <git@abeltim.com>
Diffstat (limited to 'code/main/how_to_build_zephr.txt')
| -rw-r--r-- | code/main/how_to_build_zephr.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/code/main/how_to_build_zephr.txt b/code/main/how_to_build_zephr.txt new file mode 100644 index 0000000..d971097 --- /dev/null +++ b/code/main/how_to_build_zephr.txt @@ -0,0 +1,25 @@ +https://docs.zephyrproject.org/latest/boards/pjrc/teensy4/doc/index.html +https://docs.zephyrproject.org/latest/develop/getting_started/index.html + +replace /path/to/project/ with the actual path to you project + +Create, configure and enter virtual enviorment + python3 -m venv /path/to/project/.venv + source /path/to/project/.venv/bin/activate + pip install west + west init /path/to/project/ + cd /path/to/project/ + west update + west zephyr-export + west packages pip --install + +Install zephyr SDK + cd /path/to/project/zephyr + west sdk install + +build project for teensy 4.1: + west build -b teensy41 /path/to/project/ + +flash project onto the device: + cd /path/to/project/ + west flash |
