Skip to content

Commit 2b62e43

Browse files
authored
Merge pull request #246 from magnmaeh/fix-mistake-from-last-pr
Fix mistake from last PR
2 parents 0e838d7 + a17a6e9 commit 2b62e43

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

versioned_docs/version-0.6.0/embedded/zephyr.mdx

+11-12
Original file line numberDiff line numberDiff line change
@@ -36,41 +36,40 @@ are going to create next.
3636
git clone https://github.com/lf-lang/lf-west-template lf-zephyr-workspace && cd lf-zephyr-workspace
3737
```
3838

39-
2. Setup the virtual environment
39+
2. Setup the virtual environment and activate it
4040
```
4141
python3 -m venv .venv
42-
```
43-
44-
3. Activate the virtual environment and source Zephyr's environment
45-
```
4642
source .venv/bin/activate
47-
source deps/zephyr/zephyr-env.sh
4843
```
4944

50-
4. Install `west`
45+
3. Install `west`
5146
```
5247
pip3 install west
5348
```
5449

5550
Now `west` is installed within a virtual environment. **This environment has to
56-
be activated every time you want to use west with LF; use `source env.sh` as a
57-
shorthand to activate both.**
51+
be activated every time you want to use west with LF.**
5852

59-
5. Get the Zephyr source code
53+
4. Get the Zephyr source code
6054
```
6155
west update
6256
```
6357

64-
6. Export CMake packages for Zephyr
58+
5. Export CMake packages for Zephyr
6559
```
6660
west zephyr-export
6761
```
6862

69-
7. Install Python dependencies
63+
6. Install Python dependencies
7064
```
7165
pip install -r deps/zephyr/scripts/requirements.txt
7266
```
7367

68+
7. Source Zephyr's environment
69+
```
70+
source deps/zephyr/zephyr-env.sh
71+
```
72+
7473
## Workspace organization
7574
Now you should have the following installed:
7675
-`west`; Verify with `west boards`

0 commit comments

Comments
 (0)