File tree Expand file tree Collapse file tree
content/learning-paths/embedded-and-microcontrollers/observing-ethos-u-on-nxp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ Use a Docker container to build ExecuTorch:
5757 ``` bash { output_lines = "2-3" }
5858 docker run -it ubuntu-24-container /bin/bash
5959 # Output will be the Docker container prompt
60- root @< CONTAINER ID> :/#
60+ ubuntu @< CONTAINER ID> :/#
6161 ```
6262
6363 [ OPTIONAL] If you already have an existing container:
@@ -76,6 +76,12 @@ Use a Docker container to build ExecuTorch:
7676
7777{{% /notice %}}
7878
79+ After logging in to the Docker container, navigate to the ubuntu home directory:
80+
81+ ` ` ` bash
82+ cd /home/ubuntu
83+ ` ` `
84+
79851. ** Install dependencies:**
8086
8187 ` ` ` bash { output_lines = " 1" }
@@ -92,12 +98,16 @@ Use a Docker container to build ExecuTorch:
9298
93992. Clone ExecuTorch:
94100 ` ` ` bash
95- git clone --depth 1 https://github.com/pytorch/executorch.git
101+ git clone https://github.com/pytorch/executorch.git
102+ cd executorch
103+ git fetch --tags
104+ git checkout v1.0.0
105+ git submodule sync
106+ git submodule update --init --recursive
96107 ` ` `
97108
981093. Create a Virtual Environment:
99- ` ` ` bash { output_lines = " 4" }
100- cd executorch
110+ ` ` ` bash { output_lines = " 3" }
101111 python3 -m venv .venv
102112 source .venv/bin/activate
103113 # Your prompt will prefix with (.venv)
You can’t perform that action at this time.
0 commit comments