
SDK_MODULES ?=

ifeq ($(SD), s1xx)
	SDK_MODULES = iot_0.9.0
else ifeq ($(SD), s110)
    SDK_MODULES = sdk_10.0.0
else ifeq ($(SD), s120)
	SDK_MODULES = sdk_10.0.0
	$(error No supported BLE wrapper)
else ifeq ($(SD), s130)
    SDK_MODULES = sdk_10.0.0
else ifeq ($(SD), s132)
	SDK_MODULES = sdk_12.1.0
	SDK_COMPONENTS = 0
else
	$(error No SDK configured for this SD)
endif

SDK_MODULES_PATH = sdk/$(SDK_MODULES)/

include $(SDK_MODULES_PATH)sdk.mk

INC += -I./sdk

SRC_C += \
        sdk/modble.c \
        sdk/ble_drv.c


SDK_MODULES ?=

ifeq ($(SD), s1xx)
	SDK_MODULES = iot_0.9.0
else ifeq ($(SD), s110)
    SDK_MODULES = sdk_10.0.0
else ifeq ($(SD), s120)
	SDK_MODULES = sdk_10.0.0
	$(error No supported BLE wrapper)
else ifeq ($(SD), s130)
    SDK_MODULES = sdk_10.0.0
else ifeq ($(SD), s132)
	SDK_MODULES = sdk_12.1.0
	SDK_COMPONENTS = 0
else
	$(error No SDK configured for this SD)
endif

SDK_MODULES_PATH = sdk/$(SDK_MODULES)/

include $(SDK_MODULES_PATH)sdk.mk

INC += -I./sdk

SRC_C += \
        sdk/modble.c \
        sdk/ble_drv.c \
        sdk/ble_uart.c

Add ble_uart.c to source list
nrf5/sdk: Add ble_uart.c to source list

ble_uart.c implements UART Bluetooth service on top of the
bluetooth stack driver api calls. Can be enabled to be compiled
in by defining MICROPY_PY_BLE_NUS = 1 in nrf5_sdk_conf.h.
