From 468f2e3222ecadd98b6c71734f03036a531980c6 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Sun, 5 Mar 2023 13:34:39 +0100 Subject: [PATCH] boards/nrf5340-dk: add sdc support --- boards/arm/nrf53/nrf5340-dk/src/nrf53_bringup.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/boards/arm/nrf53/nrf5340-dk/src/nrf53_bringup.c b/boards/arm/nrf53/nrf5340-dk/src/nrf53_bringup.c index 96762e15e0..4dcf6c0142 100644 --- a/boards/arm/nrf53/nrf5340-dk/src/nrf53_bringup.c +++ b/boards/arm/nrf53/nrf5340-dk/src/nrf53_bringup.c @@ -31,6 +31,10 @@ # include #endif +#ifdef CONFIG_NRF53_SOFTDEVICE_CONTROLLER +# include "nrf53_sdc.h" +#endif + /**************************************************************************** * Public Functions ****************************************************************************/ @@ -63,6 +67,15 @@ int nrf53_bringup(void) } #endif +#ifdef CONFIG_NRF53_SOFTDEVICE_CONTROLLER + ret = nrf53_sdc_initialize(); + + if (ret < 0) + { + syslog(LOG_ERR, "ERROR: nrf53_sdc_initialize() failed: %d\n", ret); + } +#endif + UNUSED(ret); return OK; }