From 40e13339c42d955255057656c356ae89f7aaf0f3 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 27 Sep 2016 12:25:14 +0200 Subject: [PATCH] add maths libs for SBC/CVSD PLC --- example/Makefile.inc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/example/Makefile.inc b/example/Makefile.inc index 34eee2d5f..f737b86b5 100644 --- a/example/Makefile.inc +++ b/example/Makefile.inc @@ -1,5 +1,3 @@ -SBC_DECODER_ROOT = ${BTSTACK_ROOT}/3rd-party/bluedroid/decoder -SBC_ENCODER_ROOT = ${BTSTACK_ROOT}/3rd-party/bluedroid/encoder VPATH += ${BTSTACK_ROOT}/src VPATH += ${BTSTACK_ROOT}/src/ble @@ -15,9 +13,16 @@ CFLAGS += -I${BTSTACK_ROOT}/src/classic CFLAGS += -I${BTSTACK_ROOT}/src CFLAGS += -I${BTSTACK_ROOT}/3rd-party/mbedtls/include CFLAGS += -I${BTSTACK_ROOT}/test/security_manager + +# for SBC +SBC_DECODER_ROOT = ${BTSTACK_ROOT}/3rd-party/bluedroid/decoder +SBC_ENCODER_ROOT = ${BTSTACK_ROOT}/3rd-party/bluedroid/encoder CFLAGS += -I${SBC_DECODER_ROOT}/include -D OI_DEBUG # -D PRINT_SAMPLES -D PRINT_SCALEFACTORS CFLAGS += -I${SBC_ENCODER_ROOT}/include -D SBC_NO_PCM_CPY_OPTION +# for CVSD/SBC PLC +LDFLAGS += -lm + CORE += \ btstack_memory.c \ btstack_linked_list.c \