circuitpython/nrf5/sdk/iot_0.9.0/sdk.mk

13 lines
387 B
Makefile

INC += -I./$(SDK_MODULES_PATH)
include $(SDK_MODULES_PATH)build.mk
INC += -I$(SDK_ROOT)components/softdevice/s1xx_iot/headers
INC += -I$(SDK_ROOT)components/softdevice/s1xx_iot/headers/nrf52
CFLAGS += -DBLUETOOTH_SD=100
CFLAGS += -DBLUETOOTH_SD_DEBUG=1
# softdevice .hex file
SOFTDEV_HEX ?= $(lastword $(wildcard $(SDK_ROOT)/components/softdevice/s1xx_iot/hex/s1xx*softdevice.hex))