File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ if(CONFIG_USE_SEGGER_RTT)
1313 zephyr_library_sources_ifdef(CONFIG_SEGGER_SYSTEMVIEW ${SEGGER_DIR} /SEGGER/SEGGER_SYSVIEW.c)
1414 # Using sort key AAA to ensure that we are placed at start of RAM
1515 zephyr_linker_sources_ifdef(CONFIG_SEGGER_RTT_SECTION_CUSTOM RAM_SECTIONS SORT_KEY aaa segger_rtt.ld)
16+
17+ zephyr_linker_section_ifdef(CONFIG_SEGGER_RTT_SECTION_CUSTOM NAME "rtt_buff_data" GROUP RAM_REGION ALIGN 4 NOINPUT)
18+ zephyr_linker_section_configure(SECTION "rtt_buff_data" INPUT "${CONFIG_SEGGER_RTT_SECTION_CUSTOM_NAME} " SYMBOLS )
1619endif ()
1720
1821if (CONFIG_SEGGER_DEBUGMON)
Original file line number Diff line number Diff line change 1+ // Remember to keep this in sync with the cmake file
12SECTION_DATA_PROLOGUE (_RTT_SECTION_NAME, (NOLOAD ),)
23{
34__rtt_buff_data_start = .;
You can’t perform that action at this time.
0 commit comments