ra8-firmware
0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
syscfg.h
Go to the documentation of this file.
1
44
45
#pragma once
46
47
/* Pull in the upstream defaults so settings we do not override remain
48
* sensible. Order matters: the upstream header uses ``#ifndef`` guards,
49
* so our overrides must come AFTER it but the include itself is here
50
* to avoid unguarded symbols leaking. NimBLE's build wrapper expects
51
* a single syscfg.h on the include path; including the upstream copy
52
* here keeps every other knob at its documented default.
53
*
54
* The path is relative to THIS FILE's directory (port/nimble/inc), which is
55
* three levels below the repository root -- so the quoted-include rule
56
* resolves it with no -I at all. It read ``../../`` until #724: that is
57
* port/libs/... , which does not exist, and it only ever resolved because
58
* some unrelated -I happened to sit exactly two levels below the repo root
59
* (the app include path carried ${RA8_REPO_ROOT}/src/secure_app, and a
60
* phantom ${RA8_REPO_ROOT}/src/inc besides). Dissolving src/ removed both
61
* and the include stopped resolving, which is the latent defect surfacing,
62
* not a new one. Anchoring on the including file cannot break that way. */
63
#include "../../../libs/third_party/nimble/porting/nimble/include/syscfg/syscfg.h"
64
65
/* ----------------------------------------------------------------------- */
66
/* Security Manager Protocol (SMP) */
67
/* ----------------------------------------------------------------------- */
68
69
#undef MYNEWT_VAL_BLE_SM
71
#define MYNEWT_VAL_BLE_SM (1)
72
73
#undef MYNEWT_VAL_BLE_SM_LEGACY
75
#define MYNEWT_VAL_BLE_SM_LEGACY (1)
76
77
#undef MYNEWT_VAL_BLE_SM_SC
79
#define MYNEWT_VAL_BLE_SM_SC (1)
80
81
#undef MYNEWT_VAL_BLE_SM_SC_ONLY
83
#define MYNEWT_VAL_BLE_SM_SC_ONLY (0)
84
85
#undef MYNEWT_VAL_BLE_SM_BONDING
87
#define MYNEWT_VAL_BLE_SM_BONDING (1)
88
89
#undef MYNEWT_VAL_BLE_SM_MITM
91
#define MYNEWT_VAL_BLE_SM_MITM (1)
92
93
#undef MYNEWT_VAL_BLE_SM_IO_CAP
95
#define MYNEWT_VAL_BLE_SM_IO_CAP (BLE_HS_IO_NO_INPUT_OUTPUT)
96
97
#undef MYNEWT_VAL_BLE_SM_KEYPRESS
99
#define MYNEWT_VAL_BLE_SM_KEYPRESS (0)
100
101
#undef MYNEWT_VAL_BLE_SM_OOB_DATA_FLAG
103
#define MYNEWT_VAL_BLE_SM_OOB_DATA_FLAG (0)
104
105
#undef MYNEWT_VAL_BLE_SM_MAX_PROCS
107
#define MYNEWT_VAL_BLE_SM_MAX_PROCS (1)
108
109
#undef MYNEWT_VAL_BLE_STORE_MAX_BONDS
111
#define MYNEWT_VAL_BLE_STORE_MAX_BONDS (4)
112
113
#undef MYNEWT_VAL_BLE_STORE_MAX_CCCDS
115
#define MYNEWT_VAL_BLE_STORE_MAX_CCCDS (8)
116
117
/* ----------------------------------------------------------------------- */
118
/* GATT client */
119
/* ----------------------------------------------------------------------- */
120
121
#undef MYNEWT_VAL_BLE_GATT_DISC_ALL_SVCS
123
#define MYNEWT_VAL_BLE_GATT_DISC_ALL_SVCS (1)
124
125
#undef MYNEWT_VAL_BLE_GATT_DISC_SVC_UUID
127
#define MYNEWT_VAL_BLE_GATT_DISC_SVC_UUID (1)
128
129
#undef MYNEWT_VAL_BLE_GATT_DISC_ALL_CHRS
131
#define MYNEWT_VAL_BLE_GATT_DISC_ALL_CHRS (1)
132
133
#undef MYNEWT_VAL_BLE_GATT_DISC_ALL_DSCS
135
#define MYNEWT_VAL_BLE_GATT_DISC_ALL_DSCS (1)
136
137
#undef MYNEWT_VAL_BLE_GATT_READ
139
#define MYNEWT_VAL_BLE_GATT_READ (1)
140
141
#undef MYNEWT_VAL_BLE_GATT_WRITE
143
#define MYNEWT_VAL_BLE_GATT_WRITE (1)
144
145
#undef MYNEWT_VAL_BLE_GATT_WRITE_NO_RSP
147
#define MYNEWT_VAL_BLE_GATT_WRITE_NO_RSP (1)
148
149
#undef MYNEWT_VAL_BLE_GATT_NOTIFY
151
#define MYNEWT_VAL_BLE_GATT_NOTIFY (1)
152
153
#undef MYNEWT_VAL_BLE_ROLE_CENTRAL
155
#define MYNEWT_VAL_BLE_ROLE_CENTRAL (1)
156
157
#undef MYNEWT_VAL_BLE_ROLE_OBSERVER
159
#define MYNEWT_VAL_BLE_ROLE_OBSERVER (1)
160
161
/* ----------------------------------------------------------------------- */
162
/* Mesh profile */
163
/* ----------------------------------------------------------------------- */
164
165
#undef MYNEWT_VAL_BLE_MESH
167
#define MYNEWT_VAL_BLE_MESH (1)
168
169
#undef MYNEWT_VAL_BLE_MESH_PROV
171
#define MYNEWT_VAL_BLE_MESH_PROV (1)
172
173
#undef MYNEWT_VAL_BLE_MESH_PB_ADV
175
#define MYNEWT_VAL_BLE_MESH_PB_ADV (1)
176
177
#undef MYNEWT_VAL_BLE_MESH_PB_GATT
179
#define MYNEWT_VAL_BLE_MESH_PB_GATT (1)
180
181
#undef MYNEWT_VAL_BLE_MESH_PROXY
183
#define MYNEWT_VAL_BLE_MESH_PROXY (1)
184
185
#undef MYNEWT_VAL_BLE_MESH_RELAY
187
#define MYNEWT_VAL_BLE_MESH_RELAY (1)
188
189
#undef MYNEWT_VAL_BLE_MESH_FRIEND
191
#define MYNEWT_VAL_BLE_MESH_FRIEND (0)
192
193
#undef MYNEWT_VAL_BLE_MESH_LOW_POWER
195
#define MYNEWT_VAL_BLE_MESH_LOW_POWER (0)
196
197
#undef MYNEWT_VAL_BLE_MESH_CRPL
199
#define MYNEWT_VAL_BLE_MESH_CRPL (10)
200
201
#undef MYNEWT_VAL_BLE_MESH_APP_KEY_COUNT
203
#define MYNEWT_VAL_BLE_MESH_APP_KEY_COUNT (1)
204
205
#undef MYNEWT_VAL_BLE_MESH_SUBNET_COUNT
207
#define MYNEWT_VAL_BLE_MESH_SUBNET_COUNT (1)
208
209
/* ----------------------------------------------------------------------- */
210
/* Hardware crypto offload via ra8_rsip */
211
/* ----------------------------------------------------------------------- */
212
223
#undef MYNEWT_VAL_BLE_SM_SC_HW_OFFLOAD
225
#define MYNEWT_VAL_BLE_SM_SC_HW_OFFLOAD (1)
port
nimble
inc
syscfg.h
Generated by
1.16.1