nuttx/drivers/segger
chao an feb6ede434 sched/cpu: replace up_cpu_index() to this_cpu()
In SMP mode, up_cpu_index()/this_cpu() are the same, both return the index of the physical core.
In AMP mode, up_cpu_index() will return the index of the physical core, and this_cpu() will always return 0

| #ifdef CONFIG_SMP
| #  define this_cpu()             up_cpu_index()
| #elif defined(CONFIG_AMP)
| #  define this_cpu()             (0)
| #else
| #  define this_cpu()             (0)
| #endif

Signed-off-by: chao an <anchao@lixiang.com>
2024-03-21 18:52:35 +08:00
..
config segger/rtt: correct macro name to avoid unable to change default mode 2023-11-30 06:16:09 -08:00
.gitignore
0001-segger-RTT-include-the-SEGGER_RTT_Conf.h-from-custom.patch
CMakeLists.txt cmake: drivers/segger support 2023-08-22 23:37:08 +08:00
Kconfig drivers/segger/Kconfig: cosmetics 2023-11-13 06:08:30 -08:00
Make.defs
note_rtt.c
note_sysview.c sched/cpu: replace up_cpu_index() to this_cpu() 2024-03-21 18:52:35 +08:00
serial_rtt.c drivers/rtt: make RTT console optional 2023-09-29 13:00:06 +08:00
stream_rtt.c c++ compatibility: rename reserved c++ keywords 'public' and 'this' 2023-09-16 19:45:02 +08:00
syslog_rtt.c