2017-03-30 17:31:10 +02:00
|
|
|
# Makefile for libusb based examples
|
2019-04-15 14:34:59 +02:00
|
|
|
BTSTACK_ROOT ?= ../..
|
2017-03-30 17:31:10 +02:00
|
|
|
|
|
|
|
CORE += \
|
2022-02-03 22:25:38 +01:00
|
|
|
btstack_chipset_da145xx.c \
|
2017-03-30 17:31:10 +02:00
|
|
|
hci_581_active_uart.c \
|
|
|
|
btstack_run_loop_posix.c \
|
2018-07-29 10:29:48 +02:00
|
|
|
btstack_tlv_posix.c \
|
2021-03-02 15:54:23 +01:00
|
|
|
btstack_uart_posix.c \
|
2021-03-09 16:39:03 +01:00
|
|
|
hci_dump_posix_fs.c \
|
2017-03-30 17:31:10 +02:00
|
|
|
hci_transport_h4.c \
|
2019-10-09 12:15:05 +02:00
|
|
|
le_device_db_tlv.c \
|
2017-03-30 17:31:10 +02:00
|
|
|
main.c \
|
2017-06-02 14:32:04 +02:00
|
|
|
wav_util.c \
|
2017-08-14 11:01:11 +02:00
|
|
|
btstack_stdin_posix.c \
|
2021-07-01 22:12:30 +02:00
|
|
|
btstack_signal.c \
|
2017-03-30 17:31:10 +02:00
|
|
|
|
|
|
|
# examples
|
2020-09-11 16:55:08 +02:00
|
|
|
CLASSIC =
|
2017-03-30 17:31:10 +02:00
|
|
|
include ${BTSTACK_ROOT}/example/Makefile.inc
|
|
|
|
|
|
|
|
CFLAGS += -g -Wall -Werror \
|
|
|
|
-I$(BTSTACK_ROOT)/platform/posix \
|
2022-02-03 22:25:38 +01:00
|
|
|
-I$(BTSTACK_ROOT)/chipset/da145xx \
|
2017-03-30 17:31:10 +02:00
|
|
|
-I$(BTSTACK_ROOT)/platform/embedded \
|
2018-02-05 17:56:29 +01:00
|
|
|
-I${BTSTACK_ROOT}/3rd-party/tinydir
|
2017-03-30 17:31:10 +02:00
|
|
|
|
2021-07-01 22:12:30 +02:00
|
|
|
# add pthread for ctrl-c signal handler
|
|
|
|
LDFLAGS += -lpthread
|
|
|
|
|
2017-03-30 17:31:10 +02:00
|
|
|
VPATH += ${BTSTACK_ROOT}/platform/posix
|
2022-02-03 22:25:38 +01:00
|
|
|
VPATH += ${BTSTACK_ROOT}/chipset/da145xx
|
2017-03-30 17:31:10 +02:00
|
|
|
|
2019-06-21 10:45:17 +02:00
|
|
|
EXAMPLES = ${EXAMPLES_GENERAL} ${EXAMPLES_LE_ONLY}
|
2017-03-30 17:31:10 +02:00
|
|
|
|
|
|
|
all: ${EXAMPLES}
|
|
|
|
|