csr: provide csr_set_bd_addr for windows-winusb port

This commit is contained in:
Matthias Ringwald 2018-02-20 09:47:15 +01:00
parent cd5e24b3fa
commit 531729b170
2 changed files with 6 additions and 2 deletions

View File

@ -49,7 +49,6 @@
#include <string.h>
#include "btstack.h"
#include "btstack_chipset_csr.h"
static btstack_packet_callback_registration_t hci_event_callback_registration;
static bd_addr_t cmdline_addr = { };

View File

@ -19,6 +19,7 @@ CFLAGS += -I${BTSTACK_ROOT}/platform/windows \
VPATH += ${BTSTACK_ROOT}/platform/embedded
VPATH += ${BTSTACK_ROOT}/platform/posix
VPATH += ${BTSTACK_ROOT}/platform/windows
VPATH += ${BTSTACK_ROOT}/chipset/csr
# use pkg-config for portaudio
# CFLAGS += $(shell pkg-config portaudio-2.0 --cflags) -DHAVE_PORTAUDIO
@ -29,6 +30,10 @@ VPATH += ${BTSTACK_ROOT}/platform/windows
LDFLAGS += -lsetupapi -lwinusb
EXAMPLES=le_counter hfp_hf_demo
# csr_set_bd_addr
EXAMPLES += csr_set_bd_addr
csr_set_bd_addr: ${CORE_OBJ} ${COMMON_OBJ} btstack_chipset_csr.o csr_set_bd_addr.o
${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@
all: ${EXAMPLES}