1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2024-11-25 20:17:30 +02:00

add ben-wpan to include search paths, for at86rf230.h

This commit is contained in:
Werner Almesberger 2012-06-18 18:26:18 -03:00
parent 89b10939f9
commit 332f8aceb6
4 changed files with 7 additions and 5 deletions

View File

@ -17,7 +17,8 @@ NAME = antorcha
CFLAGS = -g -mmcu=$(CHIP) \
-DBOOT_ADDR=$(BOOT_ADDR) \
-Wall -Wextra -Wshadow -Werror -Wno-unused-parameter \
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \
-I../../ben-wpan/atusb/fw/include/
CHIP = atmega168
HOST = jlime

View File

@ -17,7 +17,8 @@
#define F_CPU 8000000UL
#include <util/delay.h>
#include "at86rf230.h"
#include <at86rf230.h>
#include "io.h"
#include "spi.h"
#include "rf.h"

View File

@ -13,7 +13,8 @@
MAIN = antorcha
CFLAGS = -g -I../fw -I../../ben-wpan/tools/include
CFLAGS = -g -I../fw -I../../ben-wpan/tools/include \
-I../../ben-wpan/atusb/fw/include
LDLIBS = -L../../ben-wpan/tools/lib -latrf -lusb
OBJS = antorcha.o hash.o

View File

@ -18,14 +18,13 @@
#include <string.h>
#include <assert.h>
#include <at86rf230.h>
#include <atrf.h>
#include <misctxrx.h>
#include <hash.h>
#include <proto.h>
#include "../fw/at86rf230.h"
static int verbose = 1;