mirror of
https://github.com/apache/nuttx.git
synced 2026-08-04 13:49:06 +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> |
||
|---|---|---|
| .. | ||
| config | ||
| .gitignore | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| note_rtt.c | ||
| note_sysview.c | ||
| segger.c | ||
| serial_rtt.c | ||
| stream_rtt.c | ||
| syslog_rtt.c | ||