mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-07-31 07:07:55 +00:00
targets: Add sample target for controller on Dialog CMAC
This adds sample target for building NimBLE controller (blehci app) for Dialog CMAC. It is used by default when "dialog_cmac" transport is selected on host side. Sample target should be used as a base for creating customized targets. The default settings for timigs are recommended values and should not be changed unless required.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
pkg.name: targets/dialog_cmac
|
||||
pkg.type: target
|
||||
pkg.description: Sample target for BLE controller on Dialog CMAC
|
||||
pkg.author: "Apache Mynewt <[email protected]>"
|
||||
pkg.homepage: "http://mynewt.apache.org/"
|
||||
@@ -0,0 +1,16 @@
|
||||
syscfg.vals:
|
||||
MCU_DEEP_SLEEP: 1
|
||||
MCU_SLP_TIMER: 1
|
||||
MCU_SLP_TIMER_32K_ONLY: 1
|
||||
|
||||
BLE_HCI_TRANSPORT: dialog_cmac
|
||||
|
||||
# LL recommended settings (decreasing timing values is not recommended)
|
||||
BLE_LL_CFG_FEAT_CTRL_TO_HOST_FLOW_CONTROL: 1
|
||||
BLE_LL_CONN_INIT_MIN_WIN_OFFSET: 2
|
||||
BLE_LL_RFMGMT_ENABLE_TIME: 20
|
||||
BLE_LL_SCHED_AUX_MAFS_DELAY: 150
|
||||
BLE_LL_SCHED_AUX_CHAIN_MAFS_DELAY: 150
|
||||
|
||||
# NOTE: set public address in target settings
|
||||
# BLE_PUBLIC_DEV_ADDR: "(uint8_t[6]){0xff, 0xff, 0xff, 0xff, 0xff, 0xff}"
|
||||
@@ -0,0 +1,3 @@
|
||||
target.app: "@apache-mynewt-nimble/apps/blehci"
|
||||
target.bsp: "@apache-mynewt-core/hw/bsp/dialog_cmac"
|
||||
target.build_profile: speed
|
||||
Reference in New Issue
Block a user