1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/examples/blinky/Makefile
2021-07-05 10:47:22 +02:00

28 lines
779 B
Makefile

# name of your application
APPLICATION = blinky
# If no BOARD is found in the environment, use this default:
BOARD ?= native
# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
# 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
# Use a peripheral timer for the delay, if available
FEATURES_OPTIONAL += periph_timer
include $(RIOTBASE)/Makefile.include
ifeq (native,$(BOARD))
# For the native board, CLOCK_CORECLOCK is undefined. But we need
# a valid number to get the example compiled
CFLAGS += -DCLOCK_CORECLOCK=1000000000
endif