xref: /btstack/port/posix-h4/btstack_config.h (revision beb202884a9012f104bdfb14768f08f9f089cd1b)
10d529a9fSMatthias Ringwald //
20d529a9fSMatthias Ringwald // btstack_config.h for generic POSIX H4 port
30d529a9fSMatthias Ringwald //
47907f069SMatthias Ringwald 
57907f069SMatthias Ringwald #ifndef __BTSTACK_CONFIG
67907f069SMatthias Ringwald #define __BTSTACK_CONFIG
77907f069SMatthias Ringwald 
80d529a9fSMatthias Ringwald // Port related features
90d529a9fSMatthias Ringwald #define HAVE_MALLOC
10eb443d3dSMatthias Ringwald #define HAVE_POSIX_FILE_IO
117ea7688aSMatthias Ringwald #define HAVE_BTSTACK_STDIN
12d0755cd6SMatthias Ringwald #define HAVE_POSIX_TIME
13b6a24fb9SMatthias Ringwald #define HAVE_EM9304_PATCH_CONTAINER
140d529a9fSMatthias Ringwald 
150d529a9fSMatthias Ringwald // BTstack features that can be enabled
160d529a9fSMatthias Ringwald #define ENABLE_BLE
1780b9a8caSMatthias Ringwald #define ENABLE_CLASSIC
181bbecc2bSMatthias Ringwald #define ENABLE_HFP_WIDE_BAND_SPEECH
191a682202SMatthias Ringwald #define ENABLE_LE_CENTRAL
201bbecc2bSMatthias Ringwald #define ENABLE_LE_PERIPHERAL
216df11ce0SMatthias Ringwald #define ENABLE_LE_SECURE_CONNECTIONS
22fcae305fSMatthias Ringwald #define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS
23ff01079bSMatthias Ringwald #define ENABLE_LE_DATA_CHANNELS
24b435e062SMatthias Ringwald #define ENABLE_LE_DATA_LENGTH_EXTENSION
25*beb20288SMatthias Ringwald #define ENABLE_ATT_DELAYED_RESPONSE
267907f069SMatthias Ringwald #define ENABLE_LOG_ERROR
270d529a9fSMatthias Ringwald #define ENABLE_LOG_INFO
2871c4de7aSMatthias Ringwald #define ENABLE_SCO_OVER_HCI
297907f069SMatthias Ringwald #define ENABLE_SDP_DES_DUMP
3047c58a2aSMatthias Ringwald // #define ENABLE_EHCILL
317907f069SMatthias Ringwald 
320d529a9fSMatthias Ringwald // BTstack configuration. buffers, sizes, ...
330d529a9fSMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof benep heade, avoid memcpy
340d529a9fSMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
350d529a9fSMatthias Ringwald 
367907f069SMatthias Ringwald #endif
370d529a9fSMatthias Ringwald 
38