@@ -47,28 +47,32 @@ This board requires the host 32 bit C library. See
47
47
:ref: `POSIX Arch dependencies<posix_arch_deps> `.
48
48
49
49
To target this board you also need to have `BabbleSim `_ compiled in your system.
50
- If you do not have it yet, in `its web page <https://BabbleSim.github.io >`_
51
- you can find instructions on how to
52
- `fetch <https://babblesim.github.io/fetching.html >`_ and
53
- `build <https://babblesim.github.io/building.html >`_ it.
54
- In short, you can do:
50
+ If you do not have it yet, the easiest way to get it, is to enable the babblesim group
51
+ in your local west configuration, running west update, and building the simulator:
55
52
56
53
.. code-block :: console
57
54
58
- mkdir -p ${HOME}/bsim && cd ${HOME}/bsim
59
- curl https://storage.googleapis.com/git-repo-downloads/repo > ./repo && chmod a+x ./repo
60
- ./repo init -u https://github.com/BabbleSim/manifest.git -m everything.xml -b master
61
- ./repo sync
55
+ west config manifest.group-filter -- +babblesim
56
+ west update
57
+ cd ${ZEPHYR_BASE}/../tools/bsim
62
58
make everything -j 8
63
59
64
- Define two environment variables to point to your BabbleSim
60
+ .. note ::
61
+
62
+ If you need more BabbleSim components, or more up to date versions,
63
+ you can check the `BabbleSim web page <https://BabbleSim.github.io >`_
64
+ for instructions on how to
65
+ `fetch <https://babblesim.github.io/fetching.html >`_ and
66
+ `build <https://babblesim.github.io/building.html >`_ it.
67
+
68
+ You will now need to define two environment variables to point to your BabbleSim
65
69
installation, ``BSIM_OUT_PATH `` and ``BSIM_COMPONENTS_PATH ``.
66
70
If you followed the previous steps, you can just do:
67
71
68
72
.. code-block :: console
69
73
70
- export BSIM_OUT_PATH=${HOME}/bsim/
71
- export BSIM_COMPONENTS_PATH=${HOME}/bsim /components/
74
+ export BSIM_OUT_PATH=${ZEPHYR_BASE}/../tools/bsim
75
+ export BSIM_COMPONENTS_PATH=${BSIM_OUT_PATH} /components/
72
76
73
77
.. note ::
74
78
0 commit comments