44c9888511
The sdk_12.1.0 nrf52_ble.c implementation was dependent on SDK components. This has been replaced with the ble_uart.c implementation using a standalone bluetooth driver implementation without need of SDK components. Also, sdk.mk has been updated to not use a special linker script.
16 lines
552 B
Makefile
16 lines
552 B
Makefile
|
|
INC += -I./$(SDK_MODULES_PATH)
|
|
|
|
INC += -I$(SDK_ROOT)components/softdevice/$(SD)/headers
|
|
INC += -I$(SDK_ROOT)components/softdevice/$(SD)/headers/$(MCU_VARIANT)
|
|
CFLAGS += -DBLUETOOTH_SD_DEBUG=1
|
|
|
|
# softdevice .hex file
|
|
ifeq ($(SD), s130)
|
|
CFLAGS += -DBLUETOOTH_SD=130
|
|
SOFTDEV_HEX ?= $(lastword $(wildcard $(SDK_ROOT)/components/softdevice/s130/hex/s130_nrf51_2.0.1_softdevice.hex))
|
|
else ifeq ($(SD), s132)
|
|
CFLAGS += -DBLUETOOTH_SD=132
|
|
SOFTDEV_HEX ?= $(lastword $(wildcard $(SDK_ROOT)/components/softdevice/s132/hex/s132_nrf52_3.0.0_softdevice.hex))
|
|
endif
|