mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-25 07:43:38 +00:00
test/classic-oob-pairing: update config, set warning = error
This commit is contained in:
parent
894c930c47
commit
e6ce01a5b6
@ -66,7 +66,7 @@ HXCMOD_PLAYER = \
|
||||
include ${BTSTACK_ROOT}/3rd-party/bluedroid/decoder/Makefile.inc
|
||||
include ${BTSTACK_ROOT}/3rd-party/bluedroid/encoder/Makefile.inc
|
||||
|
||||
CFLAGS += -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wunused-variable -Wunused-parameter -Wswitch-default
|
||||
CFLAGS += -g -Wall -Werror -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wunused-variable -Wunused-parameter -Wswitch-default
|
||||
CFLAGS += -D ENABLE_TESTING_SUPPORT
|
||||
CFLAGS += -D ENABLE_LE_SIGNED_WRITE
|
||||
CFLAGS += -fsanitize=address -fno-omit-frame-pointer
|
||||
|
@ -15,6 +15,16 @@
|
||||
|
||||
// BTstack configuration. buffers, sizes, ...
|
||||
#define HCI_ACL_PAYLOAD_SIZE (676 + 4)
|
||||
/// Provide 1 byte of data for H4 TL type
|
||||
#define HCI_OUTGOING_PRE_BUFFER_SIZE (1)
|
||||
|
||||
#define HAVE_HOST_CONTROLLER_API
|
||||
|
||||
// Internal ring buffer: 21 kB
|
||||
#define HCI_HOST_ACL_PACKET_NUM (20)
|
||||
#define HCI_HOST_ACL_PACKET_LEN (1024)
|
||||
#define HCI_HOST_SCO_PACKET_NUM (10)
|
||||
#define HCI_HOST_SCO_PACKET_LEN (60)
|
||||
|
||||
// Link Key DB and LE Device DB using TLV on top of Flash Sector interface
|
||||
#define NVM_NUM_LINK_KEYS (0)
|
||||
@ -51,9 +61,14 @@
|
||||
#define ENABLE_EXPLICIT_IO_CAPABILITIES_REPLY
|
||||
/// Enable A2DP source codec config
|
||||
#define ENABLE_A2DP_SOURCE_EXPLICIT_CONFIG
|
||||
/// Allow defer of LINK Key Reply
|
||||
#define ENABLE_EXPLICIT_LINK_KEY_REPLY
|
||||
|
||||
#define ENABLE_HFP_WIDE_BAND_SPEECH
|
||||
#define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
|
||||
#define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE_FOR_RFCOMM
|
||||
#define ENABLE_GOEP_L2CAP
|
||||
|
||||
|
||||
// cannot be used yet - mere inclusion of <stdio.h> causes compile errors
|
||||
// <stdio.h> is used at various places for snprintf
|
||||
|
Loading…
x
Reference in New Issue
Block a user