forked from nrfconnect/sdk-zephyr
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nrf fromlist] samples: drivers: mbox: allow to configure RX/TX channels
By adding Kconfig options for both samples. Upstream PR: zephyrproject-rtos/zephyr#69303 Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com> (cherry picked from commit 253593c966f339e7aebbdbbbb8126963f3529ebe) (cherry picked from commit a170171) (cherry picked from commit 5529abc) Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
- Loading branch information
Showing
4 changed files
with
34 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Copyright 2024 Nordic Semiconductor ASA | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
source "Kconfig.zephyr" | ||
|
||
config TX_CHANNEL_ID | ||
int "Channel ID for TX" | ||
default 0 | ||
help | ||
Channel ID for TX | ||
|
||
|
||
config RX_CHANNEL_ID | ||
int "Channel ID for RX" | ||
default 1 | ||
help | ||
Channel ID for RX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters