I followed the example described in https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/nrf/ug_nrf52_developing.html#fota-updates
and the loaded the SMP Server example linked to it https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/zephyr/samples/subsys/mgmt/mcumgr/smp_svr/README.html#smp-svr-sample
However, I could not see the BLE advertisement using the latest nRF Connect iOS app.
I flashed it using the following commands on macOS 13.0.1 M1:
west build -b nrf52840dk_nrf52840 -- -DOVERLAY_CONF="overlay-bt.conf"
west flash --bin-file=build/zephyr/app_update.bin
I can see the following logs after boot-ing up of the board:
*** Booting Zephyr OS build v3.2.99-ncs1-rc1 ***
[00:00:00.004,455] <inf> smp_sample: build time: Dec 19 2022 10:38:59