xref: /btstack/test/btstack_memory/config_malloc/btstack_config.h (revision 716552ac2008f2c256b2cd39c8669a03e4485fe4)
16d34f98eSMatthias Ringwald //
26d34f98eSMatthias Ringwald // btstack_config.h for most tests
36d34f98eSMatthias Ringwald //
46d34f98eSMatthias Ringwald 
56d34f98eSMatthias Ringwald #ifndef BTSTACK_CONFIG_H
66d34f98eSMatthias Ringwald #define BTSTACK_CONFIG_H
76d34f98eSMatthias Ringwald 
86d34f98eSMatthias Ringwald // Port related features
96d34f98eSMatthias Ringwald #define HAVE_BTSTACK_STDIN
106d34f98eSMatthias Ringwald #define HAVE_POSIX_FILE_IO
116d34f98eSMatthias Ringwald #define HAVE_POSIX_TIME
126d34f98eSMatthias Ringwald #define HAVE_MALLOC
136d34f98eSMatthias Ringwald 
146d34f98eSMatthias Ringwald // BTstack features that can be enabled
156d34f98eSMatthias Ringwald #define ENABLE_BLE
166d34f98eSMatthias Ringwald #define ENABLE_CLASSIC
176d34f98eSMatthias Ringwald #define ENABLE_LOG_ERROR
186d34f98eSMatthias Ringwald #define ENABLE_LOG_INFO
196d34f98eSMatthias Ringwald #define ENABLE_PRINTF_HEXDUMP
206d34f98eSMatthias Ringwald 
216d34f98eSMatthias Ringwald // BTstack configuration. buffers, sizes, ...
226d34f98eSMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE 1024
236d34f98eSMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 6
246d34f98eSMatthias Ringwald 
256d34f98eSMatthias Ringwald // test hook to mock malloc
26*716552acSMatthias Ringwald #define ENABLE_MALLOC_TEST
276d34f98eSMatthias Ringwald 
286d34f98eSMatthias Ringwald #endif
29