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:
parent
f8f220a9aa
commit
57b756b442
3 changed files with 23 additions and 1 deletions
|
@ -60,4 +60,15 @@ config SEGGER_RTT_MODE
|
||||||
config SEGGER_RTT_MEMCPY_USE_BYTELOOP
|
config SEGGER_RTT_MEMCPY_USE_BYTELOOP
|
||||||
bool "Use a simple byte-loop instead of standard memcpy"
|
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
|
endif
|
||||||
|
|
|
@ -16,4 +16,15 @@ config SEGGER_SYSVIEW_POST_MORTEM_MODE
|
||||||
bool "Enable post-mortem mode for SystemView"
|
bool "Enable post-mortem mode for SystemView"
|
||||||
depends on SEGGER_SYSTEMVIEW
|
depends on SEGGER_SYSTEMVIEW
|
||||||
|
|
||||||
|
choice SEGGER_SYSVIEW_SECTION
|
||||||
|
prompt "Choose SystemView data linker section"
|
||||||
|
|
||||||
|
config SEGGER_SYSVIEW_SECTION_NONE
|
||||||
|
bool "Place SystemView data in the default linker section"
|
||||||
|
|
||||||
|
config SEGGER_SYSVIEW_SECTION_DTCM
|
||||||
|
bool "Place SystemView data in the DTCM linker section"
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
2
west.yml
2
west.yml
|
@ -114,7 +114,7 @@ manifest:
|
||||||
revision: f9fbfad0119d7b0d473eaac50c2f0a0a483c2823
|
revision: f9fbfad0119d7b0d473eaac50c2f0a0a483c2823
|
||||||
path: modules/lib/openthread
|
path: modules/lib/openthread
|
||||||
- name: segger
|
- name: segger
|
||||||
revision: 874d9e9696b00c09f9eeefe839028dc25fe44983
|
revision: 38c79a447e4a47d413b4e8d34448316a5cece77c
|
||||||
path: modules/debug/segger
|
path: modules/debug/segger
|
||||||
- name: tinycbor
|
- name: tinycbor
|
||||||
path: modules/lib/tinycbor
|
path: modules/lib/tinycbor
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue