Skip to content

Commit a04de9c

Browse files
committed
Improved Zephyr build instructions
1 parent ad893b6 commit a04de9c

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

compiling.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -106,21 +106,18 @@ You need to install the following packages (their names might vary according to
106106

107107
[Dependency intructions for Fedora and other distros:](https://docs.zephyrproject.org/latest/develop/getting_started/installation_linux.html)
108108

109-
Clone a fresh copy of the OpenRTX repo, the Zephyr and associated repos will be cloned in the parent directory of the OpenRTX repo.
110-
109+
How to clone OpenRTX and Zephyr with a single command:
111110
```
112-
git clone git@github.com:OpenRTX/OpenRTX.git; cd OpenRTX
113-
west init -l --mf ./west.yml; pushd ..
111+
mkdir openrtx-build && cd $_
112+
west init -m https://github.com/OpenRTX/OpenRTX
114113
west update
115-
source zephyr/zephyr-env.sh
116-
popd
114+
source zephyr/zephyr-env.sh # You need to execute this for every new shell
117115
```
118116

119117
From OpenRTX root, compile with:
120118

121119
```
122120
meson setup build
123-
source $ZEPHYR_PATH/zephyr/zephyr-env.sh
124121
meson compile -C build openrtx_ttwrplus
125122
```
126123

0 commit comments

Comments
 (0)