Skip to content

Commit 44e7b52

Browse files
committed
segger: config: support RTT section custom definition in Zephyr DTS
Support custom RTT section defined as memory region in the DTS, in addition to the custom RTT section placed by default at RAM start. Signed-off-by: Giancarlo Stasi <[email protected]>
1 parent 7194d9b commit 44e7b52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Config/SEGGER_RTT_Conf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Revision: $Rev: 24316 $
9696

9797
#if defined(CONFIG_SEGGER_RTT_SECTION_DTCM)
9898
#define SEGGER_RTT_SECTION ".dtcm_data"
99-
#elif defined(CONFIG_SEGGER_RTT_SECTION_CUSTOM)
99+
#elif defined(CONFIG_SEGGER_RTT_SECTION_CUSTOM) || defined(CONFIG_SEGGER_RTT_SECTION_CUSTOM_DTS_REGION)
100100
#define SEGGER_RTT_SECTION CONFIG_SEGGER_RTT_SECTION_CUSTOM_NAME
101101
#endif
102102

0 commit comments

Comments
 (0)