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:
Andrzej Kaczmarek
2020-09-21 13:53:51 +02:00
parent 87599473e0
commit 3313d03ba8
3 changed files with 24 additions and 0 deletions
+5
View File
@@ -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/"
+16
View File
@@ -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}"
+3
View File
@@ -0,0 +1,3 @@
target.app: "@apache-mynewt-nimble/apps/blehci"
target.bsp: "@apache-mynewt-core/hw/bsp/dialog_cmac"
target.build_profile: speed