xref: /btstack/port/posix-h4-atwilc3000/btstack_config.h (revision ccebdf934c02704f12aa0deae5c092b89782369a)
1*ccebdf93SMatthias Ringwald //
2*ccebdf93SMatthias Ringwald // btstack_config.h for generic POSIX H4 port
3*ccebdf93SMatthias Ringwald //
4*ccebdf93SMatthias Ringwald 
5*ccebdf93SMatthias Ringwald #ifndef __BTSTACK_CONFIG
6*ccebdf93SMatthias Ringwald #define __BTSTACK_CONFIG
7*ccebdf93SMatthias Ringwald 
8*ccebdf93SMatthias Ringwald // Port related features
9*ccebdf93SMatthias Ringwald #define HAVE_MALLOC
10*ccebdf93SMatthias Ringwald #define HAVE_POSIX_FILE_IO
11*ccebdf93SMatthias Ringwald #define HAVE_BTSTACK_STDIN
12*ccebdf93SMatthias Ringwald #define HAVE_POSIX_TIME
13*ccebdf93SMatthias Ringwald 
14*ccebdf93SMatthias Ringwald // BTstack features that can be enabled
15*ccebdf93SMatthias Ringwald #define ENABLE_BLE
16*ccebdf93SMatthias Ringwald #define ENABLE_CLASSIC
17*ccebdf93SMatthias Ringwald #define ENABLE_HFP_WIDE_BAND_SPEECH
18*ccebdf93SMatthias Ringwald #define ENABLE_LE_CENTRAL
19*ccebdf93SMatthias Ringwald #define ENABLE_LE_PERIPHERAL
20*ccebdf93SMatthias Ringwald #define ENABLE_LE_SECURE_CONNECTIONS
21*ccebdf93SMatthias Ringwald #define ENABLE_LE_DATA_LENGTH_EXTENSION
22*ccebdf93SMatthias Ringwald #define ENABLE_LOG_ERROR
23*ccebdf93SMatthias Ringwald #define ENABLE_LOG_INFO
24*ccebdf93SMatthias Ringwald #define ENABLE_SCO_OVER_HCI
25*ccebdf93SMatthias Ringwald #define ENABLE_SDP_DES_DUMP
26*ccebdf93SMatthias Ringwald // #define ENABLE_EHCILL
27*ccebdf93SMatthias Ringwald 
28*ccebdf93SMatthias Ringwald // BTstack configuration. buffers, sizes, ...
29*ccebdf93SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof benep heade, avoid memcpy
30*ccebdf93SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE (1691 + 4)
31*ccebdf93SMatthias Ringwald 
32*ccebdf93SMatthias Ringwald #endif
33*ccebdf93SMatthias Ringwald 
34