From 0462679231f3e954af786def517522e1a9324817 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 26 Jul 2017 21:37:39 +0200 Subject: [PATCH] samv71-xplained-atwilc3000: add btstack_config.h --- .../btstack_config.h | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 port/samv71-xplained-atwilc3000/btstack_config.h diff --git a/port/samv71-xplained-atwilc3000/btstack_config.h b/port/samv71-xplained-atwilc3000/btstack_config.h new file mode 100644 index 000000000..b34c43457 --- /dev/null +++ b/port/samv71-xplained-atwilc3000/btstack_config.h @@ -0,0 +1,35 @@ +// +// btstack_config.h for SAMV71 + ATWILC3000 +// + +#ifndef __BTSTACK_CONFIG +#define __BTSTACK_CONFIG + +#define HAVE_INIT_SCRIPT +#define HAVE_EMBEDDED_TICK +#define HAVE_UART_DMA_SET_FLOWCONTROL + +#define ENABLE_BLE +#define ENABLE_CLASSIC + +#define ENABLE_LOG_INFO +#define ENABLE_LOG_ERROR +#define ENABLE_LE_PERIPHERAL + +#define HCI_ACL_PAYLOAD_SIZE 1021 + +// memory config +#define MAX_NR_HCI_CONNECTIONS 1 +#define MAX_NR_L2CAP_SERVICES 2 +#define MAX_NR_L2CAP_CHANNELS 2 +#define MAX_NR_RFCOMM_MULTIPLEXERS 1 +#define MAX_NR_RFCOMM_SERVICES 2 +#define MAX_NR_RFCOMM_CHANNELS 1 +#define MAX_NR_DB_MEM_DEVICE_LINK_KEYS 2 +#define MAX_NR_DB_MEM_SERVICES 1 +#define MAX_NR_SM_LOOKUP_ENTRIES 1 +#define MAX_NR_SERVICE_RECORD_ITEMS 2 +#define MAX_NR_LE_DEVICE_DB_ENTRIES 1 + +#endif +