xref: /btstack/port/apollo2-em9304/btstack_config.h (revision 077fecbb6ed539507f37505ebd8a5b00e01c55e9)
1905e80caSMatthias Ringwald //
2*077fecbbSMilanka Ringwald // btstack_config.h for Apollo 2 + EM9304 port
3*077fecbbSMilanka Ringwald //
4*077fecbbSMilanka Ringwald // Documentation: https://bluekitchen-gmbh.com/btstack/#how_to/
5905e80caSMatthias Ringwald //
6905e80caSMatthias Ringwald 
736327e5aSMilanka Ringwald #ifndef BTSTACK_CONFIG_H
836327e5aSMilanka Ringwald #define BTSTACK_CONFIG_H
9905e80caSMatthias Ringwald 
10905e80caSMatthias Ringwald // Port related features
11905e80caSMatthias Ringwald #define HAVE_EMBEDDED_TIME_MS
12905e80caSMatthias Ringwald 
13905e80caSMatthias Ringwald // BTstack features that can be enabled
14905e80caSMatthias Ringwald #define ENABLE_BLE
15905e80caSMatthias Ringwald #define ENABLE_LE_CENTRAL
16b28dc800SMatthias Ringwald #define ENABLE_L2CAP_LE_CREDIT_BASED_FLOW_CONTROL_MODE
17905e80caSMatthias Ringwald #define ENABLE_LE_DATA_LENGTH_EXTENSION
1836327e5aSMilanka Ringwald #define ENABLE_LE_PERIPHERAL
19905e80caSMatthias Ringwald #define ENABLE_LOG_ERROR
20606ccc9bSMilanka Ringwald #define ENABLE_PRINTF_HEXDUMP
21905e80caSMatthias Ringwald 
22905e80caSMatthias Ringwald // BTstack configuration. buffers, sizes, ...
23b0c4ef71SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE 200
2436327e5aSMilanka Ringwald #define MAX_NR_GATT_CLIENTS 1
25905e80caSMatthias Ringwald #define MAX_NR_HCI_CONNECTIONS 1
26905e80caSMatthias Ringwald #define MAX_NR_SM_LOOKUP_ENTRIES 3
2736327e5aSMilanka Ringwald #define MAX_NR_WHITELIST_ENTRIES 1
28905e80caSMatthias Ringwald 
29905e80caSMatthias Ringwald #define MAX_NR_LE_DEVICE_DB_ENTRIES 1
30905e80caSMatthias Ringwald 
31905e80caSMatthias Ringwald #endif
32