On 2022-08-30 21:04, Sebastian Huber wrote:
On 25/08/2022 10:33, Daniel Cederman wrote:
+#define BSP_INTERRUPT_VECTOR_MIN 0
+
+#define BSP_INTERRUPT_VECTOR_MAX RISCV_INTERRUPT_VECTOR_EXTERNAL(RISCV_MAXIMUM_EXTERNAL_INTERRUPTS - 1)

I am a bit surprised that this worked, since the API changed. The BSP should define

#define BSP_INTERRUPT_VECTOR_COUNT RISCV_INTERRUPT_VECTOR_EXTERNAL(RISCV_MAXIMUM_EXTERNAL_INTERRUPTS

Did you rebase your patch set to the current master and test it?

The family entry in the BSP config file was wrong so the header files from the riscv BSP was used instead of the noel BSP. With that fixed the code above fails. I will submit an updated patch.


_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to