nuttx/drivers/segger/config
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
..
Global.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
SEGGER_RTT_Conf.h drivers/segger:Add config option to allow defining the macro as variable 2025-06-16 14:56:06 +08:00
SEGGER_SYSVIEW_Conf.h drivers/segger: Set correct scaling for perf time 2025-06-06 09:46:08 +08:00