4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-07 20:24:34 +08:00
kenneth.liu 95064ed449 bsp: cvitek: fix bug in setting PLIC_PRIORITY[n]
description: In the bsp/cvitek/c906_little/board/interrupt.c, There is an issue with
setting the PLIC_PRIORITY[n].

analysis: PLIC_PRIORITY[n] each register corresponds to the priority of
a hardware interrupt number.

Solution: Each register is 4 bytes.
Multiply the total number of IRQs by 4 instead of dividing by 4.

Signed-off-by: Liu Gui <kenneth.liu@sophgo.com>
2025-01-16 09:03:26 +08:00
..
2024-10-20 12:18:28 -04:00
2024-11-13 22:56:32 -05:00
2024-12-25 17:40:04 +08:00
2024-10-11 18:32:58 -04:00
2023-11-20 07:34:46 -05:00

RT-THREAD bsp company list