Lines Matching +full:- +full:babblesim
3 NRF52 simulated board (BabbleSim)
18 This uses `BabbleSim`_ to simulate the radio activity, and the
34 * NVMC (Non-Volatile Memory Controller / Flash)
49 https://BabbleSim.github.io
52 https://github.com/BabbleSim/native_simulator/blob/main/docs/README.md
55 https://github.com/BabbleSim/ext_nRF_hw_models/blob/main/docs/README_impl_status.md
65 To target this board you also need to have `BabbleSim`_ compiled in your system.
66 If you do not have it yet, the easiest way to get it, is to enable the babblesim group
69 .. code-block:: console
71 west config manifest.group-filter -- +babblesim
74 make everything -j 8
78 If you need more BabbleSim components, or more up to date versions,
79 you can check the `BabbleSim web page <https://BabbleSim.github.io>`_
81 `fetch <https://babblesim.github.io/fetching.html>`_ and
82 `build <https://babblesim.github.io/building.html>`_ it.
84 You will now need to define two environment variables to point to your BabbleSim
88 .. code-block:: console
101 .. zephyr-app-commands::
102 :zephyr-app: samples/hello_world
103 :host-os: unix
110 .. code-block:: console
112 $ ./build/zephyr/zephyr.exe -nosim
115 Note that the executable is a BabbleSim executable. The ``-nosim`` command line
116 option indicates you want to run it detached from a BabbleSim simulation. This
123 For example, if you would like to run a simple case with a BLE :zephyr:code-sample:`ble_central_hr`
124 sample application connecting to a BLE :zephyr:code-sample:`ble_peripheral_hr` sample application:
125 Build the :zephyr:code-sample:`ble_central_hr` application targeting this board and copy the
128 .. zephyr-app-commands::
129 :zephyr-app: samples/bluetooth/central_hr
130 :host-os: unix
135 .. code-block:: console
140 Do the same for the :zephyr:code-sample:`ble_peripheral_hr` sample app:
142 .. zephyr-app-commands::
143 :zephyr-app: samples/bluetooth/peripheral_hr
144 :host-os: unix
149 .. code-block:: console
154 And then run them together with BabbleSim's 2G4 physical layer simulation:
156 .. code-block:: console
159 ./bs_nrf52_bsim_samples_bluetooth_peripheral -s=trial_sim -d=0 &
160 ./bs_nrf52_bsim_samples_bluetooth_central_hr -s=trial_sim -d=1 &
161 ./bs_2G4_phy_v1 -s=trial_sim -D=2 -sim_length=10e6 &
163 Where the ``-s`` command line option provides a string which uniquely identifies
164 this simulation; the ``-D`` option tells the Phy how many devices will be run
165 in this simulation; the ``-d`` option tells each device which is its device
166 number in the simulation; and the ``-sim_length`` option specifies the length
168 BabbleSim devices and Phy support many command line switches.
169 Run them with ``-help`` for more information.
171 You can find more information about how to run BabbleSim simulations in
172 `this BabbleSim example <https://babblesim.github.io/example_2g4.html>`_.
198 Note that BabbleSim will run fine if one or several of its components are
202 BabbleSim is fully deterministic by design and the results are not affected by
207 About time in BabbleSim
210 Note that time in BabbleSim is simulated and decoupled from real time. Normally
215 to the BabbleSim Phy.
218 https://github.com/BabbleSim/base/tree/master/device_handbrake