nuttx/drivers/segger
liwenxiang1 81f27bd602 drivers/segger:Add config option to allow defining the macro as variable
we are using segger RTT protocol over shared memory for two core log/trace: one is NuttX another Linux/Windows. But the base address of shared memory can only be known at runtime, so we change SEGGER_RTT_UNCACHED_OFF from macro to global variable, and update to the correct g_segger_offset after the shared memory is initialized by:
g_segger_offset = (uintptr_t)ishmem - (uintptr_t)&_SEGGER_RTT;

Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com>
2025-06-16 14:56:06 +08:00
..
config drivers/segger:Add config option to allow defining the macro as variable 2025-06-16 14:56:06 +08:00
.gitignore
CMakeLists.txt drivers/segger: move g_segger_lock to segger.c 2025-06-15 00:07:26 +08:00
Kconfig drivers/segger:Add config option to allow defining the macro as variable 2025-06-16 14:56:06 +08:00
Make.defs drivers/segger: move g_segger_lock to segger.c 2025-06-15 00:07:26 +08:00
note_rtt.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
note_sysview.c drivers/segger: move g_segger_lock to segger.c 2025-06-15 00:07:26 +08:00
segger.c drivers/segger:Add config option to allow defining the macro as variable 2025-06-16 14:56:06 +08:00
serial_rtt.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
stream_rtt.c segger/stream_rtt: fix warning after stream update 2024-11-15 15:54:26 +08:00
syslog_rtt.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00