1*af7c3ae6SMatthias Ringwald // 2*af7c3ae6SMatthias Ringwald // btstack_config.h for most tests 3*af7c3ae6SMatthias Ringwald // 4*af7c3ae6SMatthias Ringwald 5*af7c3ae6SMatthias Ringwald #ifndef BTSTACK_CONFIG_H 6*af7c3ae6SMatthias Ringwald #define BTSTACK_CONFIG_H 7*af7c3ae6SMatthias Ringwald 8*af7c3ae6SMatthias Ringwald // Port related features 9*af7c3ae6SMatthias Ringwald #define HAVE_BTSTACK_STDIN 10*af7c3ae6SMatthias Ringwald #define HAVE_MALLOC 11*af7c3ae6SMatthias Ringwald #define HAVE_POSIX_FILE_IO 12*af7c3ae6SMatthias Ringwald #define HAVE_POSIX_TIME 13*af7c3ae6SMatthias Ringwald 14*af7c3ae6SMatthias Ringwald 15*af7c3ae6SMatthias Ringwald // BTstack features that can be enabled 16*af7c3ae6SMatthias Ringwald #define ENABLE_BLE 17*af7c3ae6SMatthias Ringwald #define ENABLE_LOG_ERROR 18*af7c3ae6SMatthias Ringwald #define ENABLE_LOG_INFO 19*af7c3ae6SMatthias Ringwald #define ENABLE_PRINTF_HEXDUMP 20*af7c3ae6SMatthias Ringwald 21*af7c3ae6SMatthias Ringwald #define ENABLE_LE_CENTRAL 22*af7c3ae6SMatthias Ringwald #define ENABLE_LE_PERIPHERAL 23*af7c3ae6SMatthias Ringwald #define ENABLE_L2CAP_LE_CREDIT_BASED_FLOW_CONTROL_MODE 24*af7c3ae6SMatthias Ringwald 25*af7c3ae6SMatthias Ringwald // for ready-to-use hci channels 26*af7c3ae6SMatthias Ringwald #define FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION 27*af7c3ae6SMatthias Ringwald 28*af7c3ae6SMatthias Ringwald // BTstack configuration. buffers, sizes, ... 29*af7c3ae6SMatthias Ringwald #define HCI_ACL_PAYLOAD_SIZE 52 30*af7c3ae6SMatthias Ringwald #define HCI_INCOMING_PRE_BUFFER_SIZE 4 31*af7c3ae6SMatthias Ringwald 32*af7c3ae6SMatthias Ringwald #endif 33