boards/nrf5340-dk: add sdc support

This commit is contained in:
raiden00pl 2023-03-05 13:34:39 +01:00 committed by Alan Carvalho de Assis
parent 9dc8f27dda
commit 468f2e3222
1 changed files with 13 additions and 0 deletions

View File

@ -31,6 +31,10 @@
# include <nuttx/leds/userled.h>
#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;
}