Skip to content

Commit e06f5ac

Browse files
committed
[nrf fromlist] soc: nordic: nrf54h: Enable use of RTT on cpuapp
RTT need to use RAM which is not cacheable as RTT does not support data cache. Using cpuapp TCM RAM memory section for RTT. Upstream PR #: 100570 Signed-off-by: Krzysztof Chruściński <[email protected]>
1 parent 0866629 commit e06f5ac

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
watchdog0 = &wdt010;
4646
mcuboot-button0 = &button0;
4747
mcuboot-led0 = &led0;
48+
rtt-custom-section = &cpuapp_tcm_region;
4849
};
4950

5051
buttons {

soc/nordic/nrf54h/Kconfig.defconfig.nrf54h20_cpuapp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,8 @@ config POWER_DOMAIN
1717
config CODE_DATA_RELOCATION
1818
default y if (PM || POWEROFF) && !MCUBOOT
1919

20+
choice SEGGER_RTT_SECTION
21+
default SEGGER_RTT_SECTION_CUSTOM_DTS_REGION
22+
endchoice
23+
2024
endif # SOC_NRF54H20_CPUAPP

0 commit comments

Comments
 (0)