2018-05-24 11:37:01 +02:00
|
|
|
# name of your application
|
|
|
|
APPLICATION = nimble_gatt
|
|
|
|
|
|
|
|
# If no BOARD is found in the environment, use this default:
|
|
|
|
BOARD ?= nrf52dk
|
|
|
|
|
|
|
|
# This has to be the absolute path to the RIOT base directory:
|
|
|
|
RIOTBASE ?= $(CURDIR)/../..
|
|
|
|
|
|
|
|
# Include NimBLE
|
|
|
|
USEPKG += nimble
|
2019-02-22 13:55:37 +01:00
|
|
|
USEMODULE += nimble_svc_gap
|
|
|
|
USEMODULE += nimble_svc_gatt
|
2018-05-24 11:37:01 +02:00
|
|
|
|
2020-02-24 17:06:40 +01:00
|
|
|
# Use automated advertising
|
|
|
|
USEMODULE += nimble_autoadv
|
2022-03-28 09:28:03 +02:00
|
|
|
CFLAGS += -DCONFIG_NIMBLE_AUTOADV_DEVICE_NAME='"NimBLE GATT Example"'
|
|
|
|
CFLAGS += -DCONFIG_NIMBLE_AUTOADV_START_MANUALLY=1
|
2018-12-07 18:05:00 +01:00
|
|
|
|
2018-05-24 11:37:01 +02:00
|
|
|
# Comment this out to disable code in RIOT that does safety checking
|
|
|
|
# which is not needed in a production environment but helps in the
|
|
|
|
# development process:
|
|
|
|
DEVELHELP ?= 1
|
|
|
|
|
|
|
|
# Change this to 0 show compiler invocation lines by default:
|
|
|
|
QUIET ?= 1
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|