Skip to content

[nrf noup] samples: smp_svr: Add nrf54h20dk ext flash sample #2846

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
* Copyright (c) 2025 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

/delete-node/ &slot1_partition;

/ {
chosen {
extmem-device = &mx25uw63;
};
};

&mx25uw63 {
status = "okay";
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

slot1_partition: partition@0 {
label = "image-1";
reg = <0x0 DT_SIZE_K(512)>;
};
};
};

&mram1x {
partitions {
slot0_partition: partition@3c000 {
reg = <0x3c000 DT_SIZE_K(512)>;
};
};
};
8 changes: 8 additions & 0 deletions samples/subsys/mgmt/mcumgr/smp_svr/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -230,3 +230,11 @@ tests:
- nrf5340dk/nrf5340/cpuapp
integration_platforms:
- nrf5340dk/nrf5340/cpuapp
sample.mcumgr.smp_svr.serial.nrf54h20dk.ext_flash.pure_dts:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think static_dts should be used rather than pure_dts

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is following already existing sample naming, but I can change this anyway if needed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case leave it as it is

extra_args:
- EXTRA_CONF_FILE="overlay-serial.conf"
- DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_iron_ext_flash.overlay"
- mcuboot_EXTRA_CONF_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_iron_ext_flash.conf"
- mcuboot_EXTRA_DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_iron_ext_flash.overlay"
platform_allow:
- nrf54h20dk/nrf54h20/cpuapp/iron
Loading