From 1276c120974b67b1bc09c7a160201e230c6b844b Mon Sep 17 00:00:00 2001 From: microbuilder Date: Mon, 15 Jan 2018 13:09:39 +0100 Subject: [PATCH] Enable SD132v2.0.1 BLE and UBLUEPY support by default --- ports/nrf/Makefile | 3 ++- ports/nrf/mpconfigport.h | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ports/nrf/Makefile b/ports/nrf/Makefile index ae2f895030..563578d103 100644 --- a/ports/nrf/Makefile +++ b/ports/nrf/Makefile @@ -6,7 +6,8 @@ $(error Invalid BOARD specified) endif # If SoftDevice is selected, try to use that one. -SD ?= +# Default to SD132 (exact version can be set with SOFTDEV_VERSION) +SD ?= s132 SD_LOWER = $(shell echo $(SD) | tr '[:upper:]' '[:lower:]') # TODO: Verify that it is a valid target. diff --git a/ports/nrf/mpconfigport.h b/ports/nrf/mpconfigport.h index e6a331426f..a02ebd3f18 100644 --- a/ports/nrf/mpconfigport.h +++ b/ports/nrf/mpconfigport.h @@ -274,8 +274,8 @@ extern const struct _mp_obj_module_t ble_module; { MP_ROM_QSTR (MP_QSTR_utime ), MP_ROM_PTR(&mp_module_utime) }, \ MUSIC_MODULE \ RANDOM_MODULE \ - /*BLE_MODULE \ - UBLUEPY_MODULE \*/ + BLE_MODULE \ + UBLUEPY_MODULE \ #define MICROPY_PORT_BUILTIN_MODULE_WEAK_LINKS \