mirror of
https://github.com/apache/nuttx.git
synced 2026-09-06 08:56:32 +00:00
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> |
||
|---|---|---|
| .. | ||
| Global.h | ||
| SEGGER_RTT_Conf.h | ||
| SEGGER_SYSVIEW_Conf.h | ||