Skip to content

Commit 1a607e8

Browse files
gianstacfriedt
authored andcommitted
segger: config: support RTT section custom definition in Zephyr DTS
Allow to define the name of custom RTT section both when it's configured to be placed at RAM start and when its address is defined by a memory region in DTS. Signed-off-by: Giancarlo Stasi <[email protected]>
1 parent b5f1754 commit 1a607e8

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
@@ -98,7 +98,7 @@ Revision: $Rev: 24316 $
9898
#define SEGGER_RTT_SECTION ".dtcm_data"
9999
#elif defined(CONFIG_SEGGER_RTT_SECTION_CCM)
100100
#define SEGGER_RTT_SECTION ".ccm_data"
101-
#elif defined(CONFIG_SEGGER_RTT_SECTION_CUSTOM)
101+
#elif defined(CONFIG_SEGGER_RTT_SECTION_CUSTOM) || defined(CONFIG_SEGGER_RTT_SECTION_CUSTOM_DTS_REGION)
102102
#define SEGGER_RTT_SECTION CONFIG_SEGGER_RTT_SECTION_CUSTOM_NAME
103103
#endif
104104

0 commit comments

Comments
 (0)