summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/nrf/drivers/bluetooth/ble_drv.c1
-rw-r--r--ports/nrf/modules/uos/microbitfs.c1
-rw-r--r--ports/nrf/mpconfigport.h5
3 files changed, 0 insertions, 7 deletions
diff --git a/ports/nrf/drivers/bluetooth/ble_drv.c b/ports/nrf/drivers/bluetooth/ble_drv.c
index 1a64cdfbd..3a15025cb 100644
--- a/ports/nrf/drivers/bluetooth/ble_drv.c
+++ b/ports/nrf/drivers/bluetooth/ble_drv.c
@@ -32,7 +32,6 @@
#include "py/runtime.h"
#include "ble_drv.h"
-#include "mpconfigport.h"
#include "nrf_sdm.h"
#include "ble_gap.h"
#include "ble.h" // sd_ble_uuid_encode
diff --git a/ports/nrf/modules/uos/microbitfs.c b/ports/nrf/modules/uos/microbitfs.c
index 7f16372cf..e8628f494 100644
--- a/ports/nrf/modules/uos/microbitfs.c
+++ b/ports/nrf/modules/uos/microbitfs.c
@@ -36,7 +36,6 @@
#include "py/stream.h"
#include "py/runtime.h"
#include "extmod/vfs.h"
-#include "mpconfigport.h"
#if MICROPY_MBFS
diff --git a/ports/nrf/mpconfigport.h b/ports/nrf/mpconfigport.h
index 1197df016..76bb6d7bd 100644
--- a/ports/nrf/mpconfigport.h
+++ b/ports/nrf/mpconfigport.h
@@ -24,9 +24,6 @@
* THE SOFTWARE.
*/
-#ifndef NRF5_MPCONFIGPORT_H__
-#define NRF5_MPCONFIGPORT_H__
-
#include <mpconfigboard.h>
#if defined(NRF51822)
@@ -342,5 +339,3 @@ extern const struct _mp_obj_module_t ble_module;
#include <alloca.h>
#define MICROPY_PIN_DEFS_PORT_H "pin_defs_nrf5.h"
-
-#endif