blob: c6ae2f595d62c8da94eae2b73d7bc9bc43d88423 [file] [log] [blame]
# 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:
IPC_NRF5340_CHANNELS:
description: >
Number of enabled IPC channels
value: 5
range: 1..16
IPC_NRF5340_BUF_SZ:
description: >
Shared memory ring buffer size used for IPC (per enabled channel).
It is recommended to use size which is power of two.
value: 256
range: 2..65535
IPC_NRF5340_BLOCKING_WRITE:
description: >
If this is set IPC write will block instead of returning and error
if ringbuffer is full.
value: 1
IPC_NRF5340_SYSINIT_STAGE:
description: >
Sysinit stage for nRF53 IPC
value: 10
IPC_NRF5340_NETCORE_SYSINIT_STAGE:
description: >
Sysinit stage for nRF53 IPC networking core start. On application
core this enables networking core and wait for it to notify that IPC
is ready. On networking core this notifies application core that IPC
is ready.
value: 11
IPC_NRF5340_NET_GPIO:
description: >
List of comma separated GPIO that should be configured for Network
Core usage. Can be define numeric or with constants from bsp.h
eg "LED_1, LED_2" or "1, 2". Further GPIO configuration should be
done by Network Core.
value: ""
IPC_NRF5340_PRE_TRUSTZONE_NETCORE_BOOT:
description: >
Set this to one only in case of the bootloader predates TrustZone
changes. With ARM TrusZone support added NRF_IPC_NS block is used
for both secure and non-secure application. Pre-TrustZone code
was always running in secure mode and network core code always
accessed NRF_IP_S (including code that is running in bootloader).
NRF_IP_S->GPMEM[] was used to pass address of net core application
image to net bootloader.
value: 0
syscfg.restrictions:
- "!BSP_NRF5340 || BSP_NRF5340_NET_ENABLE"
syscfg.vals.BSP_NRF5340_NET:
IPC_NRF5340_CHANNELS: 16