Skip to content

sstc is not yet fully compatible with nuclei systimer #10

@muxiff

Description

@muxiff

This issue will cause application/baremetal/demo_sstc in Nuclei sdk to fail to run properly, no interrupts will be triggered after the initialization run.

$qemu-system-riscv32 -M nuclei_evalsoc,download=ilm -cpu nuclei-n300fd,ext=sstc -smp 1 -icount shift=0 -nodefaults -nographic -serial stdio -kernel demo_sstc.elf
Nuclei SDK Build Time: Oct 29 2025, 12:05:04
Download Mode: ILM
CPU Frequency 1000005632 Hz
CPU HartID: 0
Current sp is 0x9000ff90, so it is in Machine Mode!
Drop to S-Mode now
[IN S-MODE ENTRY POINT] Hello Supervisor Mode!!!
Current sp is 0x900010b0, so it is in Supervisor Mode!
Initialize timer and start timer interrupt periodically

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions