forked from ejoerns/contiki-inga
-
Notifications
You must be signed in to change notification settings - Fork 13
Project Setup
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