[PATCH v5 1/1] bsp/riscv: Add NOEL-V BSP

Daniel Cederman cederman at gaisler.com
Wed Aug 31 07:54:44 UTC 2022


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.




More information about the devel mailing list