debug: tracing: Add Segger RTT and SystemView linker section options

Enables optionally placing Segger RTT and SystemView data in the DTCM
linker section instead of the default data section. This is needed on
SoCs in the i.MX RT series that use cacheable external SDRAM to store
data.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
Maureen Helm 2020-11-02 16:53:52 -06:00 committed by Kumar Gala
commit 57b756b442
3 changed files with 23 additions and 1 deletions

View file

@ -60,4 +60,15 @@ config SEGGER_RTT_MODE
config SEGGER_RTT_MEMCPY_USE_BYTELOOP
bool "Use a simple byte-loop instead of standard memcpy"
choice SEGGER_RTT_SECTION
prompt "Choose RTT data linker section"
config SEGGER_RTT_SECTION_NONE
bool "Place RTT data in the default linker section"
config SEGGER_RTT_SECTION_DTCM
bool "Place RTT data in the DTCM linker section"
endchoice
endif