SMP DFU function by uart in NRF52820

Hello guys,

I want to test SMP DFU function by uart. I use "E:\Spec\bluetooth\Nordic\nRF52820\ncs2.5.0\v2.5.0\zephyr\samples\subsys\mgmt\mcumgr\smp_svr" example and add below Macro in prj.conf.

CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION=y

# Enable the serial MCUmgr transport.
CONFIG_BASE64=y
CONFIG_MCUMGR_TRANSPORT_UART=y
CONFIG_CONSOLE=y
But project cannot build successfully. See below problems. How can I solve this problem? Any operations I did wrong?
Parents Reply
  • Hi,

    Thank you for your response. I've done all the things you metioned, but still cannot build successfully.

    1. I checked the uart node, it is already "status="okay". See below screenshot

    2.  CONFIG_SERIAL=y set too. But "CONFIG_SERIAL=y CONFIG_CONSOLE=y"  seems are different from other Macro.

    3. when build finish, there is nRF52820/ncs2.5.0/v2.5.0/zephyr/drivers/console/uart_mcumgr.c:254: undefined reference to `__device_dts_ord_82' error. So I do the troubleshooting as "this post", add "status = "okay";  "in &flash0 part, but still cannot build success

    4. I list all my changes based on the example. Please do a check

    I'm really looking forward to your reply.

    BR,

    Treacy

Children
No Data
Related