Skip to content

Commit

Permalink
segger: config: support RTT section custom definition in Zephyr DTS
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
giansta committed Aug 11, 2024
1 parent 4052a99 commit fe8fb43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Config/SEGGER_RTT_Conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fe8fb43

Please sign in to comment.