mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-08-16 22:28:59 +00:00
This patch adds an example program to print out information about the configuration of the Intel Quark X1000 SoC Isolated Memory Regions (IMRs), the Host System Management Mode Controls register, and the Host Memory I/O Boundary register.
17 lines
450 B
Makefile
17 lines
450 B
Makefile
TARGET=galileo
|
|
|
|
KNOWN_EXAMPLES = gpio-input gpio-output gpio-interrupt i2c-LSM9DS0 i2c-callbacks print-imr
|
|
|
|
ifeq ($(filter $(EXAMPLE),$(KNOWN_EXAMPLES)),)
|
|
$(info Set the variable EXAMPLE to one of the following Galileo-specific examples:)
|
|
$(foreach EXAMPLE,$(KNOWN_EXAMPLES),$(info - $(EXAMPLE)))
|
|
$(error Unable to proceed)
|
|
endif
|
|
|
|
CONTIKI_PROJECT = $(EXAMPLE)
|
|
|
|
all: $(CONTIKI_PROJECT)
|
|
|
|
CONTIKI = ../..
|
|
include $(CONTIKI)/Makefile.include
|