mirror of
https://github.com/apache/nuttx.git
synced 2026-10-10 15:50:23 +00:00
CONFIG_ARCH_PERF_EVENTS is on by default for ARMv7-M, but imxrt never called up_perf_init(), so perf_gettime() read zero and anything timed with it, rpmsg_ping for one, reported 0 ns. Initialise the counter with BOARD_CPU_FREQUENCY after the MPU is set up, as samv7 and stm32h7 do. Assisted-by: Claude:claude-fable-5-1 Signed-off-by: Lourens Naude <lourens@bearmetal.eu> |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||
| CMakeLists.txt | ||
| Kconfig | ||