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_ASSERT 10 #define HAVE_BTSTACK_STDIN 11 #define HAVE_POSIX_FILE_IO 12 #define HAVE_POSIX_TIME 13 #define HAVE_MALLOC 14 15 // BTstack features that can be enabled 16 #define ENABLE_BLE 17 #define ENABLE_CLASSIC 18 #define ENABLE_LOG_ERROR 19 #define ENABLE_LOG_INFO 20 #define ENABLE_PRINTF_HEXDUMP 21 22 // BTstack configuration. buffers, sizes, ... 23 #define HCI_ACL_PAYLOAD_SIZE 1024 24 #define HCI_INCOMING_PRE_BUFFER_SIZE 6 25 26 // test hook to mock malloc 27 #define malloc test_malloc 28 29 #endif 30