RTEMS | RISC-V: Add support for ESP32-C3 (!1160)
Gedare Bloom (@gedare)
gitlab at rtems.org
Tue Mar 31 16:49:57 UTC 2026
Gedare Bloom started a new discussion on cpukit/score/cpu/riscv/riscv-exception-handler.S: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1160#note_147642
> + /*
> + * Vectored exception/interrupt handlers can require the vector base to
> + * be aligned to 256 bytes
> + */
> + .align 8
> .option arch, +zicsr
>
> -TYPE_FUNC(_RISCV_Exception_handler)
> -SYM(_RISCV_Exception_handler):
> +/*
> + * This could be a nop slide, but it would introduce additional latency into
> + * interrupt handling depending on which interrupt was triggered
> + */
> +TYPE_FUNC(_RISCV_Vector_table)
> +SYM(_RISCV_Vector_table):
> + j .LRISCV_Exception_handler
You can use [.rept](https://sourceware.org/binutils/docs/as/Rept.html)
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1160#note_147642
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260331/39be53f0/attachment-0001.htm>
More information about the bugs
mailing list