Commit 1a607e87 authored by Giancarlo Stasi's avatar Giancarlo Stasi Committed by Chris Friedt
Browse files

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: default avatarGiancarlo Stasi <giancarlo.stasi.co@gmail.com>
parent b5f1754e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -98,7 +98,7 @@ Revision: $Rev: 24316 $
#define SEGGER_RTT_SECTION                        ".dtcm_data"
#elif defined(CONFIG_SEGGER_RTT_SECTION_CCM)
#define SEGGER_RTT_SECTION                        ".ccm_data"
#elif defined(CONFIG_SEGGER_RTT_SECTION_CUSTOM)
#elif defined(CONFIG_SEGGER_RTT_SECTION_CUSTOM) || defined(CONFIG_SEGGER_RTT_SECTION_CUSTOM_DTS_REGION)
#define SEGGER_RTT_SECTION                        CONFIG_SEGGER_RTT_SECTION_CUSTOM_NAME
#endif