mtk: add m5, fix compile, use btstack_tlv_posix

This commit is contained in:
Matthias Ringwald 2018-09-17 20:34:51 +02:00
parent 0be429342e
commit 046d2a34e6
2 changed files with 9 additions and 2 deletions

View File

@ -15,6 +15,7 @@ CFLAGS += -I$(BTSTACK_ROOT)/src/
CFLAGS += -I$(BTSTACK_ROOT)/ble
CFLAGS += -I$(BTSTACK_ROOT)/platform/daemon/src
CFLAGS += -I$(BTSTACK_ROOT)/platform/posix
CFLAGS += -I$(BTSTACK_ROOT)/3rd-party/md5
CFLAGS += -I.
VPATH += $(BTSTACK_ROOT)/src
@ -23,6 +24,7 @@ VPATH += $(BTSTACK_ROOT)/src/classic
VPATH += $(BTSTACK_ROOT)/platform/posix
VPATH += $(BTSTACK_ROOT)/platform/daemon/src
VPATH += $(BTSTACK_ROOT)/platform/daemon/example
VPATH += $(BTSTACK_ROOT)/3rd-party/md5
libBTstack_OBJS = \
btstack.o \
@ -41,9 +43,11 @@ libBTstack_OBJS = \
BTdaemon_OBJS = $(libBTstack_OBJS) \
ad_parser.o \
att_dispatch.o \
btstack_link_key_db_memory.o \
btstack_link_key_db_tlv.o \
btstack_memory.o \
btstack_memory_pool.o \
btstack_tlv.o \
btstack_tlv_posix.o \
btstack_crypto.o \
daemon.o \
gatt_client.o \
@ -52,7 +56,8 @@ BTdaemon_OBJS = $(libBTstack_OBJS) \
btstack_uart_block_posix.o \
l2cap.o \
l2cap_signaling.o \
le_device_db_memory.o \
le_device_db_tlv.o \
md5.o \
rfcomm.o \
rfcomm_service_db_hash.o \
sdp_server.o \

View File

@ -23,6 +23,8 @@
#define HCI_ACL_PAYLOAD_SIZE 1021
#define MAX_NR_LE_DEVICE_DB_ENTRIES 1
#define NVM_NUM_DEVICE_DB_ENTRIES 16
// Daemon configuration
#define ENABLE_SDP
#define ENABLE_RFCOMM