Skip to content

Commit

Permalink
segger: config: Add CCM option for linker sections
Browse files Browse the repository at this point in the history
Some CPUs have Core Coupled Memory (CCM) instead DTCM.

Signed-off-by: Caspar Friedrich <[email protected]>
  • Loading branch information
casparfriedrich authored and henrikbrixandersen committed Mar 30, 2024
1 parent 9d01912 commit b011c45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Config/SEGGER_RTT_Conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ Revision: $Rev: 24316 $

#if defined(CONFIG_SEGGER_RTT_SECTION_DTCM)
#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)
#define SEGGER_RTT_SECTION CONFIG_SEGGER_RTT_SECTION_CUSTOM_NAME
#endif
Expand Down

0 comments on commit b011c45

Please sign in to comment.