mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-03 23:47:08 +00:00
csr: provide csr_set_bd_addr for windows-winusb port
This commit is contained in:
parent
cd5e24b3fa
commit
531729b170
@ -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 = { };
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user