| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you 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. |
| # |
| |
| syscfg.defs: |
| MCU_SLP_TIMER: |
| description: Enable SLP_TIMER for CMAC (M0+) core. |
| value: 1 |
| MCU_SLP_TIMER_32K_ONLY: |
| description: > |
| Allow only 32768Hz on SLP_TIMER. This allows for |
| more optimized code, but will use SLP_TIMER only |
| if running on XTAL32K. |
| value: 1 |
| MCU_DEEP_SLEEP: |
| description: Enable deep sleep for CMAC (M0+) core. |
| value: 1 |
| restrictions: MCU_SLP_TIMER |
| |
| TIMER_0: |
| description: Enable CMAC timer 0 (LL_TIMER) |
| value: 1 |
| |
| MCU_DEBUG_SWD_WAIT_FOR_ATTACH: |
| description: > |
| Wait for SWD attach on startup. This is useful for debugging |
| in case something happens during startup. If enabled, CMAC |
| will keep spinning until SWD is attached. |
| value: 0 |
| |
| MCU_DEBUG_HCI_EVENT_ON_FAULT: |
| description: > |
| Enables writing HCI event to C2S mailbox on fault (e.g. HardFault). |
| This is a vendor event similar to the one generated on assert. The |
| event payload contains few useful registers to help debugging. |
| value: 0 |
| MCU_DEBUG_HCI_EVENT_ON_ASSERT: |
| description: > |
| Enables writing HCI event to C2S mailbox on assert. This is |
| a vendor event equivalent to one generated by NimBLE, but it |
| works for any assert anywhere in code. The event payload |
| contains file name and line number of a failed assert. |
| value: 0 |
| |
| MCU_DEBUG_DSER_HAL_OS_TICK: |
| description: Enable DSER output from hal_os_tick |
| value: 0 |
| MCU_DEBUG_DSER_CMAC_SHARED: |
| description: Enable DSER output from cmac_shared |
| value: 0 |
| MCU_DEBUG_DSER_CMAC_SLEEP: |
| description: Enable DSER output from cmac_sleep |
| value: 0 |
| MCU_DEBUG_DSER_BLE_HCI_CMAC_LL: |
| description: Enable DSER output from ble_hci_cmac_ll |
| value: 0 |
| MCU_DEBUG_GPIO_DEEP_SLEEP: |
| description: > |
| Enables deep sleep debugging via GPIO. Selected GPIO will be set |
| to 1 on reset (or in case deep sleep did not happen) and to 0 just |
| before entering deep sleep. Setting to -1 disabled this feature. |
| Only port 0 pins are supported. |
| value: -1 |
| range: -1,0..31 |
| |
| syscfg.vals: |
| OS_TICKS_PER_SEC: 31250 |
| |
| syscfg.restrictions: |
| - BLE_CONTROLLER |