Skip to content
Enrico Joerns edited this page Aug 29, 2013 · 5 revisions

= Project Setup =

make TARGET=inga savetarget

Makefile

CONTIKI_PROJECT = myproject

all: $(CONTIKI_PROJECT)

PROJECT_SOURCEFILES=main.c foo.c bar.c

CONTIKI = /path/to/contiki

Create dir myproject

mkdir myproject

Create file project-conf.h

touch project-conf.h

Tell compiler to use project conf.h

-DPROJECT_CONF_H=project-conf.h

Using apps

In your projects Makefile type

APPS = app-name1 app-name2
Clone this wiki locally