use single btstack-config.h for all tests

This commit is contained in:
Matthias Ringwald 2015-07-27 22:51:29 +02:00
parent ce138350af
commit 652b03395e
7 changed files with 6 additions and 70 deletions

View File

@ -9,12 +9,12 @@
#define ENABLE_LOG_INFO
#define ENABLE_LOG_ERROR
#define HAVE_HCI_DUMP
// #define HAVE_HCI_DUMP
#define HAVE_SDP_EXTRA_QUERIES
#define USE_POSIX_RUN_LOOP
#define HCI_ACL_PAYLOAD_SIZE 52
//
#define MAX_SPP_CONNECTIONS 1
#define MAX_NO_HCI_CONNECTIONS MAX_SPP_CONNECTIONS

View File

@ -4,7 +4,7 @@ CC = g++
BTSTACK_ROOT = ../..
CFLAGS = -g -Wall -I. -I${BTSTACK_ROOT}/src -I${BTSTACK_ROOT}/include
CFLAGS = -g -Wall -I.. -I${BTSTACK_ROOT}/src -I${BTSTACK_ROOT}/include
LDFLAGS += -lCppUTest -lCppUTestExt
VPATH += ${BTSTACK_ROOT}/ble

View File

@ -1,21 +0,0 @@
// config.h created by configure for BTstack Sun Sep 25 16:06:59 CEST 2011
#ifndef __BTSTACK_CONFIG
#define __BTSTACK_CONFIG
#define HAVE_TRANSPORT_H4
#define UART_DEVICE "/dev/tty.usbserial-A600eIDu"
#define UART_SPEED 115200
#define USE_POSIX_RUN_LOOP
#define HAVE_TIME
#define HAVE_MALLOC
#define HAVE_BZERO
#define ENABLE_LOG_INFO
#define ENABLE_LOG_ERROR
#define HAVE_SDP_EXTRA_QUERIES
#define SDP_DES_DUMP
#define HCI_ACL_PAYLOAD_SIZE 1021
// #define HCI_ACL_PAYLOAD_SIZE 52
#endif

View File

@ -5,7 +5,7 @@ CC = g++
BTSTACK_ROOT = ../..
CPPUTEST_HOME = ${BTSTACK_ROOT}/test/cpputest
CFLAGS = -g -Wall -I. -I${BTSTACK_ROOT}/src -I${BTSTACK_ROOT}/include
CFLAGS = -g -Wall -I.. -I${BTSTACK_ROOT}/src -I${BTSTACK_ROOT}/include -I${BTSTACK_ROOT}/ble
LDFLAGS += -lCppUTest -lCppUTestExt
# -L$(CPPUTEST_HOME)

View File

@ -1,20 +0,0 @@
// config.h created by configure for BTstack Sun Sep 25 16:06:59 CEST 2011
#ifndef __BTSTACK_CONFIG
#define __BTSTACK_CONFIG
#define HAVE_TRANSPORT_H4
#define UART_DEVICE "/dev/tty.usbserial-A600eIDu"
#define UART_SPEED 115200
#define USE_POSIX_RUN_LOOP
#define HAVE_TIME
#define HAVE_MALLOC
#define HAVE_BZERO
// #define ENABLE_LOG_INFO
// #define ENABLE_LOG_ERROR
#define HAVE_SDP_EXTRA_QUERIES
#define SDP_DES_DUMP
#define HCI_ACL_PAYLOAD_SIZE 1021
// #define HCI_ACL_PAYLOAD_SIZE 52
#endif

View File

@ -4,7 +4,7 @@ CC = g++
BTSTACK_ROOT = ../..
CFLAGS = -DUNIT_TEST -x c++ -g -Wall -Wno-unused -I. -I${BTSTACK_ROOT}/src -I${BTSTACK_ROOT}/ble -I${BTSTACK_ROOT}/include
CFLAGS = -DUNIT_TEST -x c++ -g -Wall -Wno-unused -I. -I.. -I${BTSTACK_ROOT}/src -I${BTSTACK_ROOT}/ble -I${BTSTACK_ROOT}/include
LDFLAGS += -lCppUTest -lCppUTestExt
VPATH += ${BTSTACK_ROOT}/ble

View File

@ -1,23 +0,0 @@
// config.h created by configure for BTstack Tue Jun 4 23:10:20 CEST 2013
#ifndef __BTSTACK_CONFIG
#define __BTSTACK_CONFIG
#define HAVE_TRANSPORT_USB
#define HAVE_BLE
#define USE_POSIX_RUN_LOOP
#define HAVE_SDP
#define HAVE_RFCOMM
#define REMOTE_DEVICE_DB remote_device_db_iphone
#define HAVE_SO_NOSIGPIPE
#define HAVE_TIME
#define HAVE_MALLOC
#define HAVE_BZERO
#define SDP_DES_DUMP
#define ENABLE_LOG_INFO
#define ENABLE_LOG_ERROR
#define HCI_ACL_PAYLOAD_SIZE 1021
#define HAVE_HCI_DUMP
#define SDP_DES_DUMP
#endif