添加rtthread相关代码
This commit is contained in:
30
riscv/rtthread/components/drivers/pic/Kconfig
Executable file
30
riscv/rtthread/components/drivers/pic/Kconfig
Executable file
@@ -0,0 +1,30 @@
|
||||
menuconfig RT_USING_PIC
|
||||
bool "Using Programmable Interrupt Controller (PIC)"
|
||||
select RT_USING_BITMAP
|
||||
depends on RT_USING_DM
|
||||
default n
|
||||
|
||||
config MAX_HANDLERS
|
||||
int "IRQ max handlers"
|
||||
depends on RT_USING_PIC
|
||||
range 1 4294967294
|
||||
default 256
|
||||
|
||||
config RT_PIC_ARM_GIC
|
||||
bool "ARM GICv2/v1"
|
||||
depends on RT_USING_PIC
|
||||
select RT_USING_OFW
|
||||
default n
|
||||
|
||||
config RT_PIC_ARM_GIC_V3
|
||||
bool "ARM GICv3"
|
||||
depends on RT_USING_PIC
|
||||
select RT_USING_OFW
|
||||
default n
|
||||
|
||||
config RT_PIC_ARM_GIC_MAX_NR
|
||||
int
|
||||
depends on RT_USING_PIC
|
||||
depends on RT_PIC_ARM_GIC
|
||||
default 2 if SOC_REALVIEW
|
||||
default 1
|
||||
Reference in New Issue
Block a user