mirror of
git://projects.qi-hardware.com/antorcha.git
synced 2024-11-01 07:24:58 +02:00
add ben-wpan to include search paths, for at86rf230.h
This commit is contained in:
parent
89b10939f9
commit
332f8aceb6
@ -17,7 +17,8 @@ NAME = antorcha
|
|||||||
CFLAGS = -g -mmcu=$(CHIP) \
|
CFLAGS = -g -mmcu=$(CHIP) \
|
||||||
-DBOOT_ADDR=$(BOOT_ADDR) \
|
-DBOOT_ADDR=$(BOOT_ADDR) \
|
||||||
-Wall -Wextra -Wshadow -Werror -Wno-unused-parameter \
|
-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
|
CHIP = atmega168
|
||||||
HOST = jlime
|
HOST = jlime
|
||||||
|
3
fw/rf.c
3
fw/rf.c
@ -17,7 +17,8 @@
|
|||||||
#define F_CPU 8000000UL
|
#define F_CPU 8000000UL
|
||||||
#include <util/delay.h>
|
#include <util/delay.h>
|
||||||
|
|
||||||
#include "at86rf230.h"
|
#include <at86rf230.h>
|
||||||
|
|
||||||
#include "io.h"
|
#include "io.h"
|
||||||
#include "spi.h"
|
#include "spi.h"
|
||||||
#include "rf.h"
|
#include "rf.h"
|
||||||
|
@ -13,7 +13,8 @@
|
|||||||
|
|
||||||
MAIN = antorcha
|
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
|
LDLIBS = -L../../ben-wpan/tools/lib -latrf -lusb
|
||||||
|
|
||||||
OBJS = antorcha.o hash.o
|
OBJS = antorcha.o hash.o
|
||||||
|
@ -18,14 +18,13 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
|
#include <at86rf230.h>
|
||||||
#include <atrf.h>
|
#include <atrf.h>
|
||||||
#include <misctxrx.h>
|
#include <misctxrx.h>
|
||||||
|
|
||||||
#include <hash.h>
|
#include <hash.h>
|
||||||
#include <proto.h>
|
#include <proto.h>
|
||||||
|
|
||||||
#include "../fw/at86rf230.h"
|
|
||||||
|
|
||||||
|
|
||||||
static int verbose = 1;
|
static int verbose = 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user