From 80b9a8caa630f63bda752af768ef992cec1ac9eb Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Sun, 24 Jan 2016 18:09:29 +0100 Subject: [PATCH] add ENABLE_CLASSIC to all examples --- port/arduino/btstack_config.h | 1 + port/daemon/configure.ac | 1 + port/ez430-rf2560/btstack_config.h | 1 + port/libusb/btstack_config.h | 2 +- port/msp-exp430f5438-cc2564b/btstack_config.h | 1 + port/msp430f5229lp-cc2564b/btstack_config.h | 1 + port/mtk/btstack_config.h | 1 + port/pic32-harmony/src/btstack_config.h | 1 + port/posix-h4/btstack_config.h | 1 + port/stm32-f103rb-nucleo/btstack_config.h | 3 ++- port/wiced/btstack_config.h | 1 + 11 files changed, 12 insertions(+), 2 deletions(-) diff --git a/port/arduino/btstack_config.h b/port/arduino/btstack_config.h index 2db524889..8d9e91b03 100644 --- a/port/arduino/btstack_config.h +++ b/port/arduino/btstack_config.h @@ -11,6 +11,7 @@ // BTstack features that can be enabled #define ENABLE_BLE +#define ENABLE_CLASSIC #define ENABLE_LOG_INTO_HCI_DUMP #define ENABLE_LOG_INFO #define ENABLE_LOG_ERROR diff --git a/port/daemon/configure.ac b/port/daemon/configure.ac index 8ae1e9a98..8eb12f306 100644 --- a/port/daemon/configure.ac +++ b/port/daemon/configure.ac @@ -140,6 +140,7 @@ echo >> btstack_config.h echo "// BTstack features that can be enabled" >> btstack_config.h echo "#define ENABLE_BLE" >> btstack_config.h +echo "#define ENABLE_CLASSIC" >> btstack_config.h echo "#define ENABLE_LOG_ERROR" >> btstack_config.h echo "#define ENABLE_LOG_INFO " >> btstack_config.h echo "#define ENABLE_RFCOMM" >> btstack_config.h diff --git a/port/ez430-rf2560/btstack_config.h b/port/ez430-rf2560/btstack_config.h index aedeaced0..10c0151a7 100644 --- a/port/ez430-rf2560/btstack_config.h +++ b/port/ez430-rf2560/btstack_config.h @@ -13,6 +13,7 @@ // BTstack features that can be enabled #define ENABLE_BLE +#define ENABLE_CLASSIC #define ENABLE_LOG_INTO_HCI_DUMP // #define ENABLE_LOG_ERROR // #define ENABLE_LOG_INFO diff --git a/port/libusb/btstack_config.h b/port/libusb/btstack_config.h index 73ab7d305..e2c4d34bf 100644 --- a/port/libusb/btstack_config.h +++ b/port/libusb/btstack_config.h @@ -9,13 +9,13 @@ #define HAVE_BZERO #define HAVE_MALLOC #define HAVE_SCO -#define HAVE_SCO #define HAVE_SCO_OVER_HCI #define HAVE_SO_NOSIGPIPE #define HAVE_TIME // BTstack features that can be enabled #define ENABLE_BLE +#define ENABLE_CLASSIC #define ENABLE_LOG_ERROR #define ENABLE_LOG_INFO #define ENABLE_LOG_INTO_HCI_DUMP diff --git a/port/msp-exp430f5438-cc2564b/btstack_config.h b/port/msp-exp430f5438-cc2564b/btstack_config.h index bae3a09c5..beff0dd31 100644 --- a/port/msp-exp430f5438-cc2564b/btstack_config.h +++ b/port/msp-exp430f5438-cc2564b/btstack_config.h @@ -13,6 +13,7 @@ // BTstack features that can be enabled #define ENABLE_BLE +#define ENABLE_CLASSIC // #define ENABLE_LOG_INTO_HCI_DUMP // #define ENABLE_LOG_ERROR // #define ENABLE_LOG_INFO diff --git a/port/msp430f5229lp-cc2564b/btstack_config.h b/port/msp430f5229lp-cc2564b/btstack_config.h index 8ec4a9521..be90ecd05 100644 --- a/port/msp430f5229lp-cc2564b/btstack_config.h +++ b/port/msp430f5229lp-cc2564b/btstack_config.h @@ -13,6 +13,7 @@ // BTstack features that can be enabled #define ENABLE_BLE +#define ENABLE_CLASSIC #define ENABLE_LOG_INTO_HCI_DUMP // #define ENABLE_LOG_ERROR // #define ENABLE_LOG_INFO diff --git a/port/mtk/btstack_config.h b/port/mtk/btstack_config.h index f49e43dc7..bbb9a9422 100644 --- a/port/mtk/btstack_config.h +++ b/port/mtk/btstack_config.h @@ -14,6 +14,7 @@ // BTstack features that can be enabled #define ENABLE_BLE +#define ENABLE_CLASSIC #define ENABLE_LOG_ERROR #define ENABLE_LOG_INFO #define ENABLE_LOG_INTO_HCI_DUMP diff --git a/port/pic32-harmony/src/btstack_config.h b/port/pic32-harmony/src/btstack_config.h index 445d57767..28b2f33ac 100644 --- a/port/pic32-harmony/src/btstack_config.h +++ b/port/pic32-harmony/src/btstack_config.h @@ -12,6 +12,7 @@ // BTstack features that can be enabled #define ENABLE_BLE +#define ENABLE_CLASSIC #define ENABLE_LOG_INFO #define ENABLE_LOG_ERROR diff --git a/port/posix-h4/btstack_config.h b/port/posix-h4/btstack_config.h index b1da0754c..564546608 100644 --- a/port/posix-h4/btstack_config.h +++ b/port/posix-h4/btstack_config.h @@ -16,6 +16,7 @@ // BTstack features that can be enabled #define ENABLE_BLE +#define ENABLE_CLASSIC #define ENABLE_LOG_ERROR #define ENABLE_LOG_INFO #define ENABLE_LOG_INTO_HCI_DUMP diff --git a/port/stm32-f103rb-nucleo/btstack_config.h b/port/stm32-f103rb-nucleo/btstack_config.h index 68aae4cdd..22ef93c75 100644 --- a/port/stm32-f103rb-nucleo/btstack_config.h +++ b/port/stm32-f103rb-nucleo/btstack_config.h @@ -12,9 +12,10 @@ #define HAVE_EHCILL // BTstack features that can be enabled +#define ENABLE_BLE +#define ENABLE_CLASSIC // #define ENABLE_LOG_INFO // #define ENABLE_LOG_ERROR -#define ENABLE_BLE // BTstack configuration. buffers, sizes, ... #define HCI_ACL_PAYLOAD_SIZE 52 diff --git a/port/wiced/btstack_config.h b/port/wiced/btstack_config.h index 9b41b1edf..94afea5bf 100644 --- a/port/wiced/btstack_config.h +++ b/port/wiced/btstack_config.h @@ -14,6 +14,7 @@ // BTstack features that can be enabled #define ENABLE_BLE +#define ENABLE_CLASSIC // #define ENABLE_LOG_INFO // #define ENABLE_LOG_ERROR