samples: code_relocation_nocopy: Add configuration for nRF54H20 DK
Add nRF54H20 DK specific entries to allow using the sample on this board. Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
parent
a2ef8a6a97
commit
ac3355ab97
@ -0,0 +1 @@
|
||||
CONFIG_FLASH=y
|
||||
@ -0,0 +1,17 @@
|
||||
&cpuapp_ram0x_region {
|
||||
nordic,access = <NRF_OWNER_ID_APPLICATION NRF_PERM_RWXS>;
|
||||
};
|
||||
|
||||
&xip_region {
|
||||
status = "okay";
|
||||
nordic,access = <NRF_OWNER_ID_APPLICATION NRF_PERM_RX>;
|
||||
};
|
||||
|
||||
&mx25uw63 {
|
||||
read-command = <0xEC13>;
|
||||
command-length = "INSTR_2_BYTE";
|
||||
address-length = "ADDR_4_BYTE";
|
||||
rx-dummy = <20>;
|
||||
|
||||
xip-config = <1 0 0x20000000 0>;
|
||||
};
|
||||
@ -47,6 +47,13 @@
|
||||
#define EXTFLASH_ADDR DT_REG_ADDR(DT_INST(0, st_stm32_xspi_nor))
|
||||
#define EXTFLASH_SIZE DT_REG_ADDR_BY_IDX(DT_INST(0, st_stm32_xspi_nor), 1)
|
||||
|
||||
#elif defined(CONFIG_FLASH_MSPI_NOR) && defined(CONFIG_SOC_NRF54H20_CPUAPP)
|
||||
|
||||
#define EXTFLASH_NODE DT_INST(0, jedec_mspi_nor)
|
||||
#define EXTFLASH_ADDR 0x60000000
|
||||
#define EXTFLASH_SIZE DT_PROP_OR(EXTFLASH_NODE, size_in_bytes, \
|
||||
DT_PROP(EXTFLASH_NODE, size) / 8)
|
||||
|
||||
#else
|
||||
|
||||
/*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user