Skip to content

Commit 1dbd552

Browse files
henrikbrixandersenfabiobaltieri
authored andcommitted
boards: native: native_sim: add reference to the SocketCAN snippet
Add reference to the SocketCAN snippet. Signed-off-by: Henrik Brix Andersen <[email protected]>
1 parent 81f5a80 commit 1dbd552

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

boards/native/native_sim/doc/index.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -504,9 +504,12 @@ The following peripherals are currently provided with this board:
504504
enabled with :kconfig:option:`CONFIG_CAN_NATIVE_LINUX` and configured with the device tree binding
505505
:dtcompatible:`zephyr,native-linux-can`.
506506

507-
It is possible to specify which CAN interface will be used by the app using the ``--can-if``
508-
command-line option. This option overrides **every** Linux SocketCAN driver instance to use the specified
509-
interface.
507+
By default, the native simulator expects a SocketCAN network device called ``zcan0``. It is
508+
possible to specify which SocketCAN network device will be used by the app by using the
509+
``--can-if`` command-line option. This option overrides **every** Linux SocketCAN driver instance
510+
to use the specified interface.
511+
512+
SocketCAN support can be enabled by using the :ref:`snippet-socketcan-native-sim`.
510513

511514
.. _native_ptty_uart:
512515

0 commit comments

Comments
 (0)