xref: /btstack/port/samv71-xplained-atwilc3000/btstack_config.h (revision f400efd4c34c2c3d094122d9c99ddcc5357e2a2e)
1 //
2 // btstack_config.h for SAMV71 + ATWILC3000
3 //
4 
5 #ifndef __BTSTACK_CONFIG
6 #define __BTSTACK_CONFIG
7 
8 #define HAVE_INIT_SCRIPT
9 #define HAVE_EMBEDDED_TICK
10 #define HAVE_UART_DMA_SET_FLOWCONTROL
11 #define HAVE_BTSTACK_STDIN
12 
13 #define ENABLE_BLE
14 #define ENABLE_LOG_INFO
15 #define ENABLE_LOG_ERROR
16 #define ENABLE_LE_PERIPHERAL
17 #define ENABLE_LE_CENTRAL
18 #define ENABLE_LE_DATA_CHANNELS
19 
20 #define HCI_ACL_PAYLOAD_SIZE 300
21 
22 // memory config
23 
24 #define MAX_NR_GATT_CLIENTS 1
25 #define MAX_NR_GATT_SUBCLIENTS 1
26 #define MAX_NR_HCI_CONNECTIONS 1
27 #define MAX_NR_LE_DEVICE_DB_ENTRIES 1
28 #define MAX_NR_RFCOMM_CHANNELS 0
29 #define MAX_NR_RFCOMM_MULTIPLEXERS 0
30 #define MAX_NR_RFCOMM_SERVICES 0
31 #define MAX_NR_SERVICE_RECORD_ITEMS 0
32 #define MAX_NR_SM_LOOKUP_ENTRIES 1
33 #define MAX_NR_WHITELIST_ENTRIES 1
34 
35 // no classic services
36 #define MAX_NR_AVDTP_CONNECTIONS 0
37 #define MAX_NR_AVDTP_STREAM_ENDPOINTS 0
38 #define MAX_NR_AVRCP_CONNECTIONS 0
39 #define MAX_NR_BNEP_CHANNELS 0
40 #define MAX_NR_BNEP_SERVICES 0
41 #define MAX_NR_DB_MEM_DEVICE_LINK_KEYS  0
42 #define MAX_NR_BTSTACK_LINK_KEY_DB_MEMORY_ENTRIES  0
43 #define MAX_NR_HFP_CONNECTIONS 0
44 #define MAX_NR_L2CAP_CHANNELS  0
45 #define MAX_NR_L2CAP_SERVICES  0
46 
47 // if defined, le_device_db_memory will not be compiled
48 // #define NVM_NUM_DEVICE_DB_ENTRIES      16
49 
50 #endif
51 
52