IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Git Source Tree
Root/
Source at commit c2dd23840ce5875deca09673fcb8abb8dc3a8e7a created 13 years 7 months ago. By Werner Almesberger, Moved fw/ and tools/ into atrf/ as well. | |
---|---|
1 | # |
2 | # atspi/Makefile - Makefile for USB to SPI translator (for AT86RF230) |
3 | # |
4 | # Written 2010 by Werner Almesberger |
5 | # Copyright 2010 Werner Almesberger |
6 | # |
7 | # This program is free software; you can redistribute it and/or modify |
8 | # it under the terms of the GNU General Public License as published by |
9 | # the Free Software Foundation; either version 2 of the License, or |
10 | # (at your option) any later version. |
11 | # |
12 | |
13 | |
14 | MAIN = atspi |
15 | OBJS = $(MAIN) usb descr version ep0 |
16 | |
17 | F32XBASE = ../../../../f32xbase |
18 | |
19 | include $(F32XBASE)/fw/common/Makefile.system |
20 | include $(F32XBASE)/fw/common/Makefile.common |
21 | |
22 | CFLAGS += -I../common -I../include |
23 | LDFLAGS += --code-size $(PAYLOAD_SIZE) --code-loc $(PAYLOAD_START) |
24 | |
25 | USB_ID = $(shell \ |
26 | ( echo '\#include "config.h"'; echo USB_VENDOR:USB_PRODUCT; ) | \ |
27 | cpp -I../common -I../include | sed '/^ *$$/d;/^\#/d' ) |
28 | |
29 | .PHONY: dfu |
30 | |
31 | dfu: |
32 | dfu-util -d $(USB_ID) -D $(MAIN).bin |
33 |