xref: /btstack/port/max32630-fthr/src/btstack_config.h (revision e52893ef8a5fe4f0e785b62387849ad8cdb72f4f)
1c894dca1SMatthias Ringwald // Maxim Max32630FTHR Port
2c894dca1SMatthias Ringwald //
3c894dca1SMatthias Ringwald #ifndef __BTSTACK_CONFIG
4c894dca1SMatthias Ringwald #define __BTSTACK_CONFIG
5c894dca1SMatthias Ringwald #include <stdint.h>
65efdcd7dSMatthias Ringwald 
7c894dca1SMatthias Ringwald // Port related features
8c894dca1SMatthias Ringwald #define HAVE_INIT_SCRIPT
9c894dca1SMatthias Ringwald #define HAVE_EMBEDDED_TIME_MS
1084e26812SMatthias Ringwald #define HAVE_BTSTACK_STDIN
11c894dca1SMatthias Ringwald 
1284e26812SMatthias Ringwald // BTstack features that can be enabled
13c894dca1SMatthias Ringwald #define ENABLE_BLE
14c894dca1SMatthias Ringwald #define ENABLE_CLASSIC
15c894dca1SMatthias Ringwald #define ENABLE_LE_PERIPHERAL
16c894dca1SMatthias Ringwald #define ENABLE_LE_CENTRAL
17ff01079bSMatthias Ringwald #define ENABLE_LE_DATA_CHANNELS
18c894dca1SMatthias Ringwald #define ENABLE_LOG_ERROR
195efdcd7dSMatthias Ringwald #define ENABLE_LOG_INFO
2084e26812SMatthias Ringwald //#define ENABLE_LOG_DEBUG
21fcae305fSMatthias Ringwald #define ENABLE_LE_SECURE_CONNECTIONS
22fcae305fSMatthias Ringwald #define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS
2385414bccSMatthias Ringwald #define ENABLE_SCO_OVER_HCI
24c894dca1SMatthias Ringwald 
25c894dca1SMatthias Ringwald // BTstack configuration. buffers, sizes, ...
26c894dca1SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE 1021
275efdcd7dSMatthias Ringwald #define MAX_NR_GATT_CLIENTS 1
285efdcd7dSMatthias Ringwald #define MAX_NR_HCI_CONNECTIONS 1
295efdcd7dSMatthias Ringwald #define MAX_NR_L2CAP_SERVICES  3
305efdcd7dSMatthias Ringwald #define MAX_NR_L2CAP_CHANNELS  3
315efdcd7dSMatthias Ringwald #define MAX_NR_RFCOMM_MULTIPLEXERS 1
32c894dca1SMatthias Ringwald #define MAX_NR_RFCOMM_SERVICES 1
335efdcd7dSMatthias Ringwald #define MAX_NR_RFCOMM_CHANNELS 1
34c894dca1SMatthias Ringwald #define MAX_NR_BTSTACK_LINK_KEY_DB_MEMORY_ENTRIES  2
355efdcd7dSMatthias Ringwald #define MAX_NR_BNEP_SERVICES 1
365efdcd7dSMatthias Ringwald #define MAX_NR_BNEP_CHANNELS 1
375efdcd7dSMatthias Ringwald #define MAX_NR_HFP_CONNECTIONS 1
38c894dca1SMatthias Ringwald #define MAX_NR_WHITELIST_ENTRIES 1
39c894dca1SMatthias Ringwald #define MAX_NR_SM_LOOKUP_ENTRIES 3
40*e52893efSMatthias Ringwald #define MAX_NR_SERVICE_RECORD_ITEMS 4
415efdcd7dSMatthias Ringwald #define MAX_NR_AVDTP_STREAM_ENDPOINTS 1
425efdcd7dSMatthias Ringwald #define MAX_NR_AVDTP_CONNECTIONS 1
435efdcd7dSMatthias Ringwald #define MAX_NR_AVRCP_CONNECTIONS 1
44c894dca1SMatthias Ringwald 
455efdcd7dSMatthias Ringwald // Link Key DB and LE Device DB using TLV on top of Flash Sector interface
465efdcd7dSMatthias Ringwald #define NVM_NUM_LINK_KEYS 16
475efdcd7dSMatthias Ringwald #define NVM_NUM_DEVICE_DB_ENTRIES 16
48c894dca1SMatthias Ringwald 
49c894dca1SMatthias Ringwald #endif
50