stm32-f4discover-cc256x: enable btstack_stdin, hfp_wide_band_speec, and allow for 2 HCI connections

This commit is contained in:
Matthias Ringwald 2018-07-06 23:13:42 +02:00
parent 762a0fb4bc
commit 3c4781d0d6
2 changed files with 4 additions and 2 deletions

View File

@ -95,6 +95,7 @@ btstack_linked_list.c \
btstack_memory.c \
btstack_memory_pool.c \
btstack_ring_buffer.c \
btstack_stdin_embedded.c \
btstack_run_loop.c \
btstack_run_loop_embedded.c \
btstack_tlv.c \

View File

@ -8,6 +8,7 @@
// Port related features
#define HAVE_EMBEDDED_TIME_MS
#define HAVE_AUDIO_DMA
#define HAVE_BTSTACK_STDIN
// BTstack features that can be enabled
#define ENABLE_BLE
@ -18,15 +19,15 @@
// #define ENABLE_LOG_INFO
#define ENABLE_LOG_ERROR
#define ENABLE_SCO_OVER_HCI
#define ENABLE_HFP_WIDE_BAND_SPEECH
#define ENABLE_CC256X_BAUDRATE_CHANGE_FLOWCONTROL_BUG_WORKAROUND
// #define ENABLE_EHCILL
// #define ENABLE_SEGGER_RTT
// BTstack configuration. buffers, sizes, ...
#define HCI_ACL_PAYLOAD_SIZE 1021
#define MAX_NR_GATT_CLIENTS 1
#define MAX_NR_HCI_CONNECTIONS 1
#define MAX_NR_HCI_CONNECTIONS 2
#define MAX_NR_L2CAP_SERVICES 3
#define MAX_NR_L2CAP_CHANNELS 4
#define MAX_NR_RFCOMM_MULTIPLEXERS 1