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