xref: /btstack/port/apollo2-em9304/btstack_config.h (revision b0c4ef716161ab9f4a1fdc825590198611c351b4)
1905e80caSMatthias Ringwald //
2905e80caSMatthias Ringwald // btstack_config.h for EM9304 DVK
3905e80caSMatthias Ringwald //
4905e80caSMatthias Ringwald 
5905e80caSMatthias Ringwald #ifndef __BTSTACK_CONFIG
6905e80caSMatthias Ringwald #define __BTSTACK_CONFIG
7905e80caSMatthias Ringwald 
8905e80caSMatthias Ringwald // Port related features
9905e80caSMatthias Ringwald #define HAVE_EMBEDDED_TIME_MS
10905e80caSMatthias Ringwald 
11905e80caSMatthias Ringwald // BTstack features that can be enabled
12905e80caSMatthias Ringwald #define ENABLE_BLE
13905e80caSMatthias Ringwald #define ENABLE_LE_PERIPHERAL
14905e80caSMatthias Ringwald #define ENABLE_LE_CENTRAL
15905e80caSMatthias Ringwald #define ENABLE_LE_DATA_LENGTH_EXTENSION
1624660862SMatthias Ringwald // #define ENABLE_LOG_INFO
17905e80caSMatthias Ringwald #define ENABLE_LOG_ERROR
18905e80caSMatthias Ringwald 
19905e80caSMatthias Ringwald // BTstack configuration. buffers, sizes, ...
20*b0c4ef71SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE 200
21905e80caSMatthias Ringwald #define MAX_NR_WHITELIST_ENTRIES 1
22905e80caSMatthias Ringwald #define MAX_NR_HCI_CONNECTIONS 1
23905e80caSMatthias Ringwald #define MAX_NR_SM_LOOKUP_ENTRIES 3
24905e80caSMatthias Ringwald #define MAX_NR_GATT_CLIENTS 1
25905e80caSMatthias Ringwald 
26905e80caSMatthias Ringwald #define MAX_NR_LE_DEVICE_DB_ENTRIES 1
27905e80caSMatthias Ringwald 
28905e80caSMatthias Ringwald #endif
29