nrf: Add if-def around inclusion of nrf_sdm.h in main.
Not all targets are using bluetooth le.
#include "led.h"
#include "uart.h"
#include "nrf.h"
-#include "nrf_sdm.h"
#include "pin.h"
#include "spi.h"
#include "i2c.h"
#endif
#include "timer.h"
+#if BLUETOOTH_SD
+#include "nrf_sdm.h"
+#endif
+
#if (MICROPY_PY_BLE_NUS)
#include "ble_uart.h"
#endif
