Commit 5748369f authored by Peter Bigot's avatar Peter Bigot Committed by Carles Cufi
Browse files

samples: subsys: mgmt: smp_svr: add separate fs support



File system support is built into the Bluetooth overlay, but can now
also be enabled independently for other transports.

Signed-off-by: default avatarPeter A. Bigot <pab@pabigot.com>
parent 860ef6a9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -109,7 +109,7 @@ Zephyr. The ``smp_svr`` sample comes in different flavours.

   .. group-tab:: Serial

      To build the serial sample:
      To build the serial sample with file-system support:

      .. code-block:: console

@@ -117,7 +117,7 @@ Zephyr. The ``smp_svr`` sample comes in different flavours.
            -b frdm_k64f \
            samples/subsys/mgmt/mcumgr/smp_svr \
            -- \
            -DOVERLAY_CONFIG=overlay-serial.conf
            -DOVERLAY_CONFIG='overlay-serial.conf;overlay-fs.conf'

   .. group-tab:: UDP

+6 −0
Original line number Diff line number Diff line
# Enable the LittleFS file system.
CONFIG_FILE_SYSTEM=y
CONFIG_FILE_SYSTEM_LITTLEFS=y

# Enable file system commands
CONFIG_MCUMGR_CMD_FS_MGMT=y