Commit 860ef6a9 authored by Peter Bigot's avatar Peter Bigot Committed by Carles Cufi
Browse files

samples: subsys: mgmt: smp_svr: add serial transport overlay



This can be more convenient than Bluetooth or UDP.

Signed-off-by: default avatarPeter A. Bigot <pab@pabigot.com>
parent ad82b38b
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -107,6 +107,18 @@ Zephyr. The ``smp_svr`` sample comes in different flavours.
            -- \
            -DOVERLAY_CONFIG=overlay-bt-tiny.conf

   .. group-tab:: Serial

      To build the serial sample:

      .. code-block:: console

         west build \
            -b frdm_k64f \
            samples/subsys/mgmt/mcumgr/smp_svr \
            -- \
            -DOVERLAY_CONFIG=overlay-serial.conf

   .. group-tab:: UDP

      The UDP transport for SMP supports both IPv4 and IPv6.
+2 −0
Original line number Diff line number Diff line
# Enable the serial mcumgr transport.
CONFIG_MCUMGR_SMP_UART=y