mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
33 lines
869 B
Makefile
33 lines
869 B
Makefile
# name of your application
|
|
APPLICATION = microcoap-example
|
|
|
|
# If no BOARD is found in the environment, use this default:
|
|
BOARD ?= native
|
|
|
|
# if you try to compile this for anything but the boards specified, it will break.
|
|
# This application has not been verified to work with any other boards-- proceed with caution.
|
|
BOARD_WHITELIST := native
|
|
|
|
# This has to be the absolute path to the RIOT base directory:
|
|
RIOTBASE ?= $(CURDIR)/../../RIOT
|
|
|
|
# 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:
|
|
CFLAGS += -DRIOT -DMICROCOAP_DEBUG
|
|
|
|
# Change this to 0 show compiler invocation lines by default:
|
|
QUIET ?= 1
|
|
|
|
USEPKG=microcoap
|
|
|
|
USEMODULE += config
|
|
USEMODULE += uart0
|
|
|
|
USEMODULE += nativenet
|
|
|
|
USEMODULE += sixlowpan
|
|
USEMODULE += udp
|
|
|
|
include $(RIOTBASE)/Makefile.include
|