1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/examples/nimble_heart_rate_sensor/Makefile
2022-04-25 08:43:51 +02:00

32 lines
876 B
Makefile

# name of your application
APPLICATION = nimble_heart_rate_sensor
# 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)/../..
# Some RIOT modules needed for this example
USEMODULE += event_timeout_ztimer
# Include NimBLE
USEPKG += nimble
USEMODULE += nimble_svc_gap
USEMODULE += nimble_svc_gatt
# Use automated advertising
USEMODULE += nimble_autoadv
CFLAGS += -DCONFIG_NIMBLE_AUTOADV_DEVICE_NAME='"RIOT Heart Rate Sensor"'
CFLAGS += -DCONFIG_NIMBLE_AUTOADV_START_MANUALLY=1
# 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