summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2018-06-28 14:01:19 -0700
committerGitHub <noreply@github.com>2018-06-28 14:01:19 -0700
commit429168d4ac320178e42063bce5e520294ac0d7f6 (patch)
tree13013109eb6c36e05b337123fcf4c5582b92cba8
parent007155276ac4ce1af81f1e1ce3cf2136768b2423 (diff)
parentb9f02ca3c5be1b53172f65bf4b260a7ede516651 (diff)
Merge pull request #970 from arturo182/nrf_softdev
nrf: Remove unsupported softdevice defines
-rw-r--r--ports/nrf/bluetooth_conf.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/ports/nrf/bluetooth_conf.h b/ports/nrf/bluetooth_conf.h
index 94a45eaca..b86e514f0 100644
--- a/ports/nrf/bluetooth_conf.h
+++ b/ports/nrf/bluetooth_conf.h
@@ -1,18 +1,6 @@
#ifndef BLUETOOTH_CONF_H__
#define BLUETOOTH_CONF_H__
-// SD specific configurations.
-
-#if (BLUETOOTH_SD == 110)
-
-#define MICROPY_PY_BLE (1)
-#define MICROPY_PY_BLE_NUS (0)
-#define BLUETOOTH_WEBBLUETOOTH_REPL (0)
-#define MICROPY_PY_UBLUEPY (1)
-#define MICROPY_PY_UBLUEPY_PERIPHERAL (1)
-
-#elif (BLUETOOTH_SD == 132 || BLUETOOTH_SD == 140)
-
#define MICROPY_PY_BLE (1)
#define MICROPY_PY_BLE_NUS (0)
#define BLUETOOTH_WEBBLUETOOTH_REPL (0)
@@ -20,18 +8,4 @@
#define MICROPY_PY_UBLUEPY_PERIPHERAL (1)
#define MICROPY_PY_UBLUEPY_CENTRAL (1)
-#else
-#error "SD not supported"
-#endif
-
-// Default defines.
-
-#ifndef MICROPY_PY_BLE
-#define MICROPY_PY_BLE (0)
-#endif
-
-#ifndef MICROPY_PY_BLE_NUS
-#define MICROPY_PY_BLE_NUS (0)
-#endif
-
#endif