summaryrefslogtreecommitdiff
path: root/src/libs/mynewt-nimble/nimble/transport/dialog_cmac/cmac_driver/syscfg.yml
blob: a382c42447fe6c87c0ef5cc917b306d8940bc736 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# 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:
    CMAC_MBOX_SIZE_S2C:
        description: >
            Size of mailbox for SYS to CMAC data. The size
            value should be power of 2 to allow for better
            code optimization.
        value: 128
    CMAC_MBOX_SIZE_C2S:
        description: >
            Size of mailbox for CMAC to SYS data. The size
            value should be power of 2 to allow for better
            code optimization.
        value: 128

    CMAC_TRIM_SIZE_RFCU:
        description: >
            Size of trim values for RFCU. This is maximum
            number of trim values that can be read from
            OTP and applied, all excessive values will be
            discarded.
        value: 10
    CMAC_TRIM_SIZE_SYNTH:
        description: >
            Size of trim values for RFCU. This is maximum
            number of trim values that can be read from
            OTP and applied, all excessive values will be
            discarded.
        value: 10

    CMAC_DEBUG_SWD_ENABLE:
        description: >
            Enable CMAC SWD interface.
        value: 0
    CMAC_DEBUG_DIAG_ENABLE:
        description: >
            Enable CMAC diagnostic lines.
        value: 0
    CMAC_DEBUG_DATA_ENABLE:
        description: >
            Enable extra debugging data in shared segment.
        value: 0
    CMAC_DEBUG_COREDUMP_ENABLE:
        description: >
            Enable dumping CMAC registers to shared segment
            on fault.
        value: 1
    CMAC_DEBUG_HOST_PRINT_ENABLE:
        description: >
            Enable some debug printouts to console from host side.
            This will dump some settings during startup, useful to
            check what is loaded to CMAC via shared data.
        value: 0

    CMAC_IMAGE_SINGLE:
        description: >
            When enable, CMAC binary is linked with application image
            creating a single image build. See CMAC_IMAGE_TARGET_NAME.
            When disabled, CMAC binary is built and flashed separately
            to flash partition. See CMAC_IMAGE_PARTITION.
        value: 1
    CMAC_IMAGE_TARGET_NAME:
        description: >
            Target name to build for CMAC binary for single image build.
        value: "@apache-mynewt-nimble/targets/dialog_cmac"
    CMAC_IMAGE_PARTITION:
        description: >
            Flash partition to load CMAC binary from if single image build
            is disabled.
        value: FLASH_AREA_IMAGE_1
    CMAC_IMAGE_RAM_SIZE:
        description: >
            Size of RAM area in bytes reserved for CMAC if single image
            build is disabled. Unit suffix (K, M) is allowed.
            Note: for single image build this setting is not applicable
            since proper RAM area size is automatically calculated from
            CMAC binary.
        value: 128K

    CMAC_CMAC2SYS_IRQ_PRIORITY:
        description: >
            The priority of the CMAC2SYS IRQ. Default is 0, or highest
            priority.
        value: 0

syscfg.restrictions.BLE_HOST:
    - TRNG