Build Broadcom Bluetooth HAL by default
The relevant configurations were based on stock 8.2.0 Change-Id: I1dd795067839d3dfad403bc956ff65eac099a74e
This commit is contained in:
1 parent
6982b5917a
commit
bc45eeb124
4 files changed
+52
No files matched your search
@@ -33,6 +33,12 @@ TARGET_OTA_ASSERT_DEVICE := foster,darcy,mdarcy,sif,jetson,porg,loki,icosa
|
||||
# Bootloader versions
|
||||
TARGET_BOARD_INFO_FILE := device/nvidia/foster/board-info.txt
|
||||
|
||||
# Bluetooth
|
||||
ifeq ($(TARGET_TEGRA_BT),bcm)
|
||||
BOARD_CUSTOM_BT_CONFIG := device/nvidia/foster/comms/vnd_foster.txt
|
||||
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/nvidia/foster/comms
|
||||
endif
|
||||
|
||||
# Kernel
|
||||
ifneq ($(TARGET_PREBUILT_KERNEL),)
|
||||
BOARD_VENDOR_KERNEL_MODULES += $(wildcard $(dir $(TARGET_PREBUILT_KERNEL))/*.ko)
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (C) 2012 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef _BDROID_BUILDCFG_H
|
||||
#define _BDROID_BUILDCFG_H
|
||||
|
||||
// SERVICE_CLASS:0x5A (Bit17 -Networking,Bit19 - Capturing,Bit20 -Object Transfer,Bit22 -Telephony)
|
||||
// MAJOR CLASS: COMPUTER
|
||||
// MINOR CLASS: TABLET
|
||||
#define BTA_DM_COD {0x5A, 0x01, 0x10}
|
||||
|
||||
// SERVICE_CLASS:0x20 (Bit18 - Rendering)
|
||||
// MAJOR CLASS: AUDIO/VIDEO
|
||||
// MINOR CLASS: set top box
|
||||
#define BTA_DM_COD_ATV {0x20, BTM_COD_MAJOR_AUDIO, BTM_COD_MINOR_SET_TOP_BOX}
|
||||
|
||||
#define BTIF_HF_WBS_PREFERRED TRUE
|
||||
#define BTM_WBS_INCLUDED TRUE
|
||||
#define BLE_VND_INCLUDED TRUE
|
||||
|
||||
#define BTSNOOP_MEM_BUFFER_SIZE (1024 * 1024)
|
||||
#define DEBUG_FS_UART_PATH "/d/70006300.serial/tty_buffer_count"
|
||||
|
||||
// To sync with CONN TIMEOUT of pepper
|
||||
#define BTM_BLE_CONN_TIMEOUT_DEF 1000
|
||||
|
||||
// Increase MAX GATT notification to 75
|
||||
#define BTA_GATTC_NOTIF_REG_MAX 75
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,2 @@
|
||||
BLUETOOTH_UART_DEVICE_PORT = "/dev/ttyTHS3"
|
||||
FW_PATCHFILE_LOCATION = "/vendor/firmware/"
|
||||
Reference in new issue
Block a user