mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-22 19:20:41 +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:
parent
ada1ee037f
commit
57f34270fb
@ -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 \
|
||||||
|
@ -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)
|
||||||
|
@ -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 */
|
Loading…
Reference in New Issue
Block a user