Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions boards/native/nrf_bsim/doc/nrf52_bsim.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ most Zephyr samples and tests.
When you want to run a simulation with radio activity you need to run also the
BableSim 2G4 (2.4GHz) physical layer simulation (phy).

For example, if you would like to run a simple case with 1 BLE ``central_hr``
sample application connecting to a BLE ``peripheral`` sample application:
Build the ``central_hr`` application targeting this board and copy the resulting
executable to the simulator bin folder with a sensible name:
For example, if you would like to run a simple case with a BLE :zephyr:code-sample:`ble_central_hr`
sample application connecting to a BLE :zephyr:code-sample:`ble_peripheral_hr` sample application:
Build the :zephyr:code-sample:`ble_central_hr` application targeting this board and copy the
resulting executable to the simulator bin folder with a sensible name:

.. zephyr-app-commands::
:zephyr-app: samples/bluetooth/central_hr
Expand All @@ -137,10 +137,10 @@ executable to the simulator bin folder with a sensible name:
$ cp build/zephyr/zephyr.exe \
${BSIM_OUT_PATH}/bin/bs_nrf52_bsim_samples_bluetooth_central_hr

Do the same for the ``peripheral`` sample app:
Do the same for the :zephyr:code-sample:`ble_peripheral_hr` sample app:

.. zephyr-app-commands::
:zephyr-app: samples/bluetooth/peripheral
:zephyr-app: samples/bluetooth/peripheral_hr
:host-os: unix
:board: nrf52_bsim
:goals: build
Expand All @@ -149,7 +149,7 @@ Do the same for the ``peripheral`` sample app:
.. code-block:: console

$ cp build/zephyr/zephyr.exe \
${BSIM_OUT_PATH}/bin/bs_nrf52_bsim_samples_bluetooth_peripheral
${BSIM_OUT_PATH}/bin/bs_nrf52_bsim_samples_bluetooth_peripheral_hr

And then run them together with BabbleSim's 2G4 physical layer simulation:

Expand Down
Loading