Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] bsp/cvitek cv18xx_risc-v IRQ_MAX_NR num error #9259

Closed
Z8MAN8 opened this issue Jul 28, 2024 · 3 comments · Fixed by #9261
Closed

[Bug] bsp/cvitek cv18xx_risc-v IRQ_MAX_NR num error #9259

Z8MAN8 opened this issue Jul 28, 2024 · 3 comments · Fixed by #9261
Assignees
Labels
Arch: RISC-V BSP related with risc-v BSP: Cvitek BSP related with cvitek

Comments

@Z8MAN8
Copy link
Contributor

Z8MAN8 commented Jul 28, 2024

RT-Thread Version

master

Hardware Type/Architectures

bsp/cvitek

Develop Toolchain

GCC

Describe the bug

cv18xx_risc-v 的 IRQ_MAX_NR 值错误,当前配置为 64,datasheet 中的正确值为 101,错误的IRQ_MAX_NR会导致大于其值的中断号注册失败

Other additional context

No response

@Z8MAN8
Copy link
Contributor Author

Z8MAN8 commented Jul 28, 2024

@unicornx

@unicornx unicornx added BSP: Cvitek BSP related with cvitek Arch: RISC-V BSP related with risc-v labels Jul 29, 2024
@unicornx
Copy link
Contributor

assigned to you @Z8MAN8 , thanks

@unicornx
Copy link
Contributor

我发现对于小核 C906L,IRQ_MAX_NR 的值也不正常。而且小核的 bsp/cvitek/c906_little/board/interrupt.h 中也定义了一个同名的 IRQ_MAX_NR,貌似是重名了?

可以一个 PR 改掉,但需要两个 commit,一个 for c906B, 一个 for c906L, 这样分开会比较清楚。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch: RISC-V BSP related with risc-v BSP: Cvitek BSP related with cvitek
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants