boards/arm/nrf52/nrf52832-dk: add sdc support
This commit is contained in:
parent
4812f9f390
commit
26c7ec5087
|
@ -37,6 +37,10 @@
|
|||
# include <nuttx/leds/userled.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NRF52_SOFTDEVICE_CONTROLLER
|
||||
# include "nrf52_sdc.h"
|
||||
#endif
|
||||
|
||||
#include "nrf52832-dk.h"
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -92,6 +96,15 @@ int nrf52_bringup(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NRF52_SOFTDEVICE_CONTROLLER
|
||||
ret = nrf52_sdc_initialize();
|
||||
|
||||
if (ret < 0)
|
||||
{
|
||||
syslog(LOG_ERR, "ERROR: nrf52_sdc_initialize() failed: %d\n", ret);
|
||||
}
|
||||
#endif
|
||||
|
||||
UNUSED(ret);
|
||||
return OK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue