-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: ipc: ipc_service: Add ICBMsg configuration
Add ICBMsg configuration for nRF5340DK board. JIRA: NCSDK-31711 Signed-off-by: Radoslaw Koppel <[email protected]>
- Loading branch information
Showing
5 changed files
with
98 additions
and
6 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
samples/ipc/ipc_service/boards/nrf5340dk_nrf5340_cpuapp_icbmsg.conf
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,8 @@ | ||
# | ||
# Copyright (c) 2025 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
CONFIG_SOC_NRF53_CPUNET_ENABLE=y | ||
CONFIG_APP_IPC_SERVICE_SEND_INTERVAL=0 |
37 changes: 37 additions & 0 deletions
37
samples/ipc/ipc_service/boards/nrf5340dk_nrf5340_cpuapp_icbmsg.overlay
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,37 @@ | ||
/* | ||
* Copyright (c) 2025 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
/delete-node/ &ipc0; | ||
|
||
/ { | ||
chosen { | ||
/delete-property/ zephyr,ipc_shm; | ||
/delete-property/ zephyr,bt-hci; | ||
}; | ||
|
||
reserved-memory { | ||
/delete-node/ memory@20070000; | ||
|
||
sram_tx: memory@20070000 { | ||
reg = <0x20070000 0x8000>; | ||
}; | ||
|
||
sram_rx: memory@20078000 { | ||
reg = <0x20078000 0x8000>; | ||
}; | ||
}; | ||
|
||
ipc0: ipc0 { | ||
compatible = "zephyr,ipc-icbmsg"; | ||
tx-region = <&sram_tx>; | ||
rx-region = <&sram_rx>; | ||
tx-blocks = <20>; | ||
rx-blocks = <20>; | ||
mboxes = <&mbox 0>, <&mbox 1>; | ||
mbox-names = "tx", "rx"; | ||
status = "okay"; | ||
}; | ||
}; |
4 changes: 4 additions & 0 deletions
4
samples/ipc/ipc_service/remote/boards/nrf5340dk_nrf5340_cpunet_icbmsg.conf
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,4 @@ | ||
# Copyright (c) 2025 Nordic Semiconductor ASA | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
|
||
CONFIG_APP_IPC_SERVICE_SEND_INTERVAL=0 |
36 changes: 36 additions & 0 deletions
36
samples/ipc/ipc_service/remote/boards/nrf5340dk_nrf5340_cpunet_icbmsg.overlay
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,36 @@ | ||
/* | ||
* Copyright (c) 2025 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
/delete-node/ &ipc0; | ||
|
||
/ { | ||
chosen { | ||
/delete-property/ zephyr,ipc_shm; | ||
}; | ||
|
||
reserved-memory { | ||
/delete-node/ memory@20070000; | ||
|
||
sram_rx: memory@20070000 { | ||
reg = <0x20070000 0x8000>; | ||
}; | ||
|
||
sram_tx: memory@20078000 { | ||
reg = <0x20078000 0x8000>; | ||
}; | ||
}; | ||
|
||
ipc0: ipc0 { | ||
compatible = "zephyr,ipc-icbmsg"; | ||
tx-region = <&sram_tx>; | ||
rx-region = <&sram_rx>; | ||
tx-blocks = <20>; | ||
rx-blocks = <20>; | ||
mboxes = <&mbox 0>, <&mbox 1>; | ||
mbox-names = "rx", "tx"; | ||
status = "okay"; | ||
}; | ||
}; |
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