1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-26 12:17:32 +02:00

A new try at config.h management: moved it to ../common, along with io.h

- fw/boot/Makefile, fw/atspi/Makefile: add ../common to include path
- fw/boot/config.h, fw/atspi/io.h: moved to ../common
- fw/common/config.h: updated comment - it's no longer specific to boot.c
This commit is contained in:
Werner Almesberger 2010-08-19 21:57:59 -03:00
parent ada1ee037f
commit 57f34270fb
4 changed files with 5 additions and 2 deletions

View File

@ -19,7 +19,7 @@ F32XBASE = ../../../f32xbase
include $(F32XBASE)/fw/common/Makefile.system include $(F32XBASE)/fw/common/Makefile.system
include $(F32XBASE)/fw/common/Makefile.common include $(F32XBASE)/fw/common/Makefile.common
CFLAGS += -I../include CFLAGS += -I../common -I../include
LDFLAGS += --code-size $(PAYLOAD_SIZE) --code-loc $(PAYLOAD_START) LDFLAGS += --code-size $(PAYLOAD_SIZE) --code-loc $(PAYLOAD_START)
USB_ID = $(shell \ USB_ID = $(shell \

View File

@ -18,4 +18,5 @@ F32XBASE = ../../../f32xbase
include $(F32XBASE)/fw/common/Makefile.system include $(F32XBASE)/fw/common/Makefile.system
include $(F32XBASE)/fw/common/Makefile.common include $(F32XBASE)/fw/common/Makefile.common
CFLAGS += -I../common
LDFLAGS += --code-size $(PAYLOAD_START) LDFLAGS += --code-size $(PAYLOAD_START)

View File

@ -2,7 +2,7 @@
#define CONFIG_H #define CONFIG_H
/* /*
* Platform-specific settings for boot.c * Platform-specific settings
* *
* USB_VENDOR = Qi Hardware * USB_VENDOR = Qi Hardware
* USB_PRODUCT = 802.15.4, device 0 * USB_PRODUCT = 802.15.4, device 0
@ -12,4 +12,6 @@
#define USB_VENDOR 0x20b7 #define USB_VENDOR 0x20b7
#define USB_PRODUCT 0x1540 #define USB_PRODUCT 0x1540
#define HW_TYPE HW_TYPE_100813
#endif /* !CONFIG_H */ #endif /* !CONFIG_H */