2014-01-10 16:21:35 +01:00
|
|
|
# name of your project
|
|
|
|
export PROJECT = test_irq
|
|
|
|
#
|
|
|
|
# for easy switching of boards
|
|
|
|
export BOARD ?= native
|
|
|
|
|
|
|
|
# this has to be the absolute path of the RIOT-base dir
|
|
|
|
export RIOTBASE = $(CURDIR)/../..
|
|
|
|
|
2014-02-14 14:30:16 +01:00
|
|
|
ifeq (,$(filter native,$(BOARD)))
|
2014-01-10 16:21:35 +01:00
|
|
|
include $(RIOTBASE)/Makefile.unsupported
|
|
|
|
else
|
|
|
|
|
2014-02-11 18:15:43 +01:00
|
|
|
## Modules to include.
|
2014-01-10 16:21:35 +01:00
|
|
|
|
|
|
|
USEMODULE += auto_init
|
|
|
|
USEMODULE += hwtimer
|
|
|
|
USEMODULE += posix
|
2014-02-13 23:39:21 +01:00
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|
|
|
|
endif
|