File tree 1 file changed +11
-12
lines changed
versioned_docs/version-0.6.0/embedded
1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -36,41 +36,40 @@ are going to create next.
36
36
git clone https://github.com/lf-lang/lf-west-template lf-zephyr-workspace && cd lf-zephyr-workspace
37
37
```
38
38
39
- 2 . Setup the virtual environment
39
+ 2 . Setup the virtual environment and activate it
40
40
```
41
41
python3 -m venv .venv
42
- ```
43
-
44
- 3 . Activate the virtual environment and source Zephyr's environment
45
- ```
46
42
source .venv/bin/activate
47
- source deps/zephyr/zephyr-env.sh
48
43
```
49
44
50
- 4 . Install ` west `
45
+ 3 . Install ` west `
51
46
```
52
47
pip3 install west
53
48
```
54
49
55
50
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.**
58
52
59
- 5 . Get the Zephyr source code
53
+ 4 . Get the Zephyr source code
60
54
```
61
55
west update
62
56
```
63
57
64
- 6 . Export CMake packages for Zephyr
58
+ 5 . Export CMake packages for Zephyr
65
59
```
66
60
west zephyr-export
67
61
```
68
62
69
- 7 . Install Python dependencies
63
+ 6 . Install Python dependencies
70
64
```
71
65
pip install -r deps/zephyr/scripts/requirements.txt
72
66
```
73
67
68
+ 7 . Source Zephyr's environment
69
+ ```
70
+ source deps/zephyr/zephyr-env.sh
71
+ ```
72
+
74
73
## Workspace organization
75
74
Now you should have the following installed:
76
75
-` west ` ; Verify with ` west boards `
You can’t perform that action at this time.
0 commit comments