From 85414bcc730a4d661dca6f4e2ef8645aec7a9e01 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 26 Jun 2018 13:28:24 +0200 Subject: [PATCH] ports: enable SCO-over-HCI for CC256x ports --- port/ez430-rf2560/btstack_config.h | 1 + port/max32630-fthr/src/btstack_config.h | 1 + port/msp-exp430f5438-cc2564b/btstack_config.h | 1 + port/msp430f5229lp-cc2564b/btstack_config.h | 1 + port/stm32-f103rb-nucleo/btstack_config.h | 3 ++- port/stm32-f4discovery-cc256x/src/btstack_config.h | 1 + 6 files changed, 7 insertions(+), 1 deletion(-) diff --git a/port/ez430-rf2560/btstack_config.h b/port/ez430-rf2560/btstack_config.h index ecc0bc147..ef8643f19 100644 --- a/port/ez430-rf2560/btstack_config.h +++ b/port/ez430-rf2560/btstack_config.h @@ -16,6 +16,7 @@ // #define ENABLE_LOG_ERROR // #define ENABLE_LOG_INFO // #define ENABLE_EHCILL +#define ENABLE_SCO_OVER_HCI // BTstack configuration. buffers, sizes, ... #define HCI_ACL_PAYLOAD_SIZE 52 diff --git a/port/max32630-fthr/src/btstack_config.h b/port/max32630-fthr/src/btstack_config.h index 77308f7cd..e9d09d7b0 100644 --- a/port/max32630-fthr/src/btstack_config.h +++ b/port/max32630-fthr/src/btstack_config.h @@ -20,6 +20,7 @@ //#define ENABLE_LOG_DEBUG #define ENABLE_LE_SECURE_CONNECTIONS #define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS +#define ENABLE_SCO_OVER_HCI // BTstack configuration. buffers, sizes, ... #define HCI_ACL_PAYLOAD_SIZE 1021 diff --git a/port/msp-exp430f5438-cc2564b/btstack_config.h b/port/msp-exp430f5438-cc2564b/btstack_config.h index d17443c4a..04cabc5ea 100644 --- a/port/msp-exp430f5438-cc2564b/btstack_config.h +++ b/port/msp-exp430f5438-cc2564b/btstack_config.h @@ -16,6 +16,7 @@ // #define ENABLE_LOG_ERROR // #define ENABLE_LOG_INFO // #define ENABLE_EHCILL +#define ENABLE_SCO_OVER_HCI // BTstack configuration. buffers, sizes, ... #define HCI_ACL_PAYLOAD_SIZE 52 diff --git a/port/msp430f5229lp-cc2564b/btstack_config.h b/port/msp430f5229lp-cc2564b/btstack_config.h index 68b522856..af7412d13 100644 --- a/port/msp430f5229lp-cc2564b/btstack_config.h +++ b/port/msp430f5229lp-cc2564b/btstack_config.h @@ -16,6 +16,7 @@ // #define ENABLE_LOG_ERROR // #define ENABLE_LOG_INFO // #define ENABLE_EHCILL +#define ENABLE_SCO_OVER_HCI // BTstack configuration. buffers, sizes, ... #define HCI_ACL_PAYLOAD_SIZE 52 diff --git a/port/stm32-f103rb-nucleo/btstack_config.h b/port/stm32-f103rb-nucleo/btstack_config.h index 5f46cac7e..2b9413c96 100644 --- a/port/stm32-f103rb-nucleo/btstack_config.h +++ b/port/stm32-f103rb-nucleo/btstack_config.h @@ -16,6 +16,7 @@ // #define ENABLE_LOG_INFO // #define ENABLE_LOG_ERROR // #define ENABLE_EHCILL +#define ENABLE_SCO_OVER_HCI // BTstack configuration. buffers, sizes, ... #define HCI_ACL_PAYLOAD_SIZE 52 @@ -36,4 +37,4 @@ #define MAX_NR_SERVICE_RECORD_ITEMS 1 #define MAX_NR_LE_DEVICE_DB_ENTRIES 1 -#endif \ No newline at end of file +#endif diff --git a/port/stm32-f4discovery-cc256x/src/btstack_config.h b/port/stm32-f4discovery-cc256x/src/btstack_config.h index 96f3bfff4..cb1a2962a 100644 --- a/port/stm32-f4discovery-cc256x/src/btstack_config.h +++ b/port/stm32-f4discovery-cc256x/src/btstack_config.h @@ -17,6 +17,7 @@ #define ENABLE_LE_DATA_CHANNELS // #define ENABLE_LOG_INFO #define ENABLE_LOG_ERROR +#define ENABLE_SCO_OVER_HCI #define ENABLE_CC256X_BAUDRATE_CHANGE_FLOWCONTROL_BUG_WORKAROUND // #define ENABLE_EHCILL // #define ENABLE_SEGGER_RTT