Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arch/risc-v/src/common/riscv_initialstate.c: Fix stack pointer in col…
…oration The logical CPU index should be retrieved with up_cpu_index(); the riscv_mhartid() returns the actual hart id of the SoC. For mpfs target for example, NuttX can run on a single HART, for example on mhartid 2, but there is still just one logical CPU for the NuttX. Signed-off-by: Jukka Laitinen <[email protected]>
- Loading branch information