xref: /btstack/test/btstack_memory/config_malloc/btstack_config.h (revision 6bdecec7ba8f55d805af8d13b9f45c3a7f6d5810)
1 //
2 // btstack_config.h for most tests
3 //
4 
5 #ifndef BTSTACK_CONFIG_H
6 #define BTSTACK_CONFIG_H
7 
8 // Port related features
9 #define HAVE_BTSTACK_STDIN
10 #define HAVE_POSIX_FILE_IO
11 #define HAVE_POSIX_TIME
12 #define HAVE_MALLOC
13 
14 // BTstack features that can be enabled
15 #define ENABLE_BLE
16 #define ENABLE_CLASSIC
17 #define ENABLE_LOG_ERROR
18 #define ENABLE_LOG_INFO
19 #define ENABLE_PRINTF_HEXDUMP
20 
21 // BTstack configuration. buffers, sizes, ...
22 #define HCI_ACL_PAYLOAD_SIZE 1024
23 #define HCI_INCOMING_PRE_BUFFER_SIZE 6
24 
25 // test hook to mock malloc
26 #define ENABLE_MALLOC_TEST
27 
28 #endif
29