Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions dts/arm/nxp/nxp_mcxw71.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,10 @@

&stcm {
ranges = <0x0 0x30000000 DT_SIZE_K(112)>;

stcm1: system_memory@1a000 {
compatible = "zephyr,memory-region", "mmio-sram";
reg = <0x1a000 DT_SIZE_K(8)>;
zephyr,memory-region = "RetainedMem";
};
};

&stcm0 {
/* With only the first 64KB having ECC */
reg = <0x0 DT_SIZE_K(104)>;
reg = <0x0 DT_SIZE_K(112)>;
};

&pbridge2 {
Expand Down
12 changes: 11 additions & 1 deletion samples/net/openthread/shell/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,20 @@ Example building for NXP's RW612 FRDM (RCP host).
.. zephyr-app-commands::
:zephyr-app: samples/net/openthread/shell
:board: frdm_rw612
:conf: "prj.conf overlay-ot-rcp-host-nxp.conf"
:conf: "prj-ot-host.conf"
:goals: build
:compact:

Example building for NXP's MCXW72 FRDM (host).

.. zephyr-app-commands::
:zephyr-app: samples/net/openthread/shell
:board: frdm_mcxw72
:conf: "prj-ot-host.conf"
:goals: build
:compact:


Sample console interaction
==========================

Expand Down
9 changes: 9 additions & 0 deletions samples/net/openthread/shell/boards/frdm_mcxw71.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2025 NXP
# SPDX-License-Identifier: Apache-2.0

# OS
CONFIG_HEAP_MEM_POOL_SIZE=2048
CONFIG_MAIN_STACK_SIZE=2048

#shell
CONFIG_SHELL_STACK_SIZE=2048
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2025 NXP
# SPDX-License-Identifier: Apache-2.0

# OS
CONFIG_HEAP_MEM_POOL_SIZE=4096
CONFIG_MAIN_STACK_SIZE=4096

#shell
CONFIG_SHELL_STACK_SIZE=4096
15 changes: 15 additions & 0 deletions samples/net/openthread/shell/boards/frdm_rw612.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2025 NXP
# SPDX-License-Identifier: Apache-2.0

# OS
CONFIG_MAIN_STACK_SIZE=4096

#shell
CONFIG_SHELL_STACK_SIZE=5120

# IMU & FW loader
CONFIG_NXP_RF_IMU=y
CONFIG_NXP_FW_LOADER=y

# Enable Openthread RCP host interface
CONFIG_HDLC_RCP_IF=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2025 NXP
# SPDX-License-Identifier: Apache-2.0

# OS
CONFIG_HEAP_MEM_POOL_SIZE=4096
CONFIG_MAIN_STACK_SIZE=4096

#shell
CONFIG_SHELL_STACK_SIZE=4096
15 changes: 15 additions & 0 deletions samples/net/openthread/shell/boards/rd_rw612_bga.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2025 NXP
# SPDX-License-Identifier: Apache-2.0

# OS
CONFIG_MAIN_STACK_SIZE=4096

#shell
CONFIG_SHELL_STACK_SIZE=5120

# IMU & FW loader
CONFIG_NXP_RF_IMU=y
CONFIG_NXP_FW_LOADER=y

# Enable Openthread RCP host interface
CONFIG_HDLC_RCP_IF=y
Original file line number Diff line number Diff line change
@@ -1,27 +1,39 @@
#
# Copyright 2025, NXP
#
# SPDX-License-Identifier: Apache-2.0

# OS
CONFIG_MAIN_STACK_SIZE=8192
# Enable Networking and OpenThread stack
CONFIG_NETWORKING=y
CONFIG_NET_L2_OPENTHREAD=y

# Use NVS as settings backend
CONFIG_NVS=y

# Logging
CONFIG_LOG=y
CONFIG_NET_LOG=y

# Networking and OpenThread shells
CONFIG_SHELL=y
CONFIG_NET_SHELL=y
CONFIG_OPENTHREAD_SHELL=y
CONFIG_NET_L2_IEEE802154_SHELL=y

# CPP library
CONFIG_CPP=y

# IMU & FW loader
CONFIG_NXP_RF_IMU=y
CONFIG_NXP_FW_LOADER=y

# Shell
CONFIG_SHELL_ARGC_MAX=26
CONFIG_SHELL_CMD_BUFF_SIZE=512
CONFIG_SHELL_STACK_SIZE=5120
CONFIG_SHELL_DEFAULT_TERMINAL_WIDTH=1024

# Enable Openthread RCP host interface
CONFIG_HDLC_RCP_IF=y
CONFIG_OPENTHREAD_MANUAL_START=y
# Flash
CONFIG_FLASH=y
CONFIG_FLASH_MAP=y
CONFIG_SETTINGS=y
CONFIG_SETTINGS_NVS=y
CONFIG_NVS=y

# Enable OpenThread features set
CONFIG_OPENTHREAD_MANUAL_START=y
CONFIG_OPENTHREAD_THREAD_VERSION_1_3=y
CONFIG_OPENTHREAD_DHCP6_SERVER=y
CONFIG_OPENTHREAD_COMMISSIONER=y
Expand Down
10 changes: 9 additions & 1 deletion samples/net/openthread/shell/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,18 @@ tests:
extra_args:
# Disabling monolithic since CI environment doesn't use blobs
- CONFIG_NXP_MONOLITHIC_NBU=n
- EXTRA_CONF_FILE="overlay-ot-rcp-host-nxp.conf"
platform_allow:
- frdm_rw612
- rd_rw612_bga
sample.net.openthread.shell.mcxw_openthread_host:
build_only: true
extra_args:
# Disabling monolithic since CI environment doesn't use blobs
- CONFIG_NXP_MONOLITHIC_NBU=n
platform_allow:
- frdm_mcxw71
- mcxw72_evk/mcxw727c/cpu0
- frdm_mcxw72/mcxw727c/cpu0
sample.net.openthread.shell.esp:
build_only: true
extra_args:
Expand Down