rt-thread-official/bsp/bouffalo_lab/bl61x/board/Kconfig

56 lines
1.4 KiB
Plaintext
Executable File

config BSP_USING_BL61X
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
select ARCH_RISCV32
select ARCH_RISCV_FPU_S
select BSP_USING_ROMAPI
select RT_USING_CACHE
default y
config BSP_USING_ROMAPI
bool
default y
config BSP_USING_PSRAM
bool "Enable PSRAM"
default n
choice
prompt "Choose Module"
default BSP_USING_BL61X_MODULE_DEFAULT
config BSP_USING_BL61X_MODULE_DEFAULT
bool "Default Module"
config BSP_USING_BL61X_MODULE_M0P
bool "M0P Module"
select BSP_USING_PSRAM
endchoice
menuconfig BSP_USING_USB
bool "Enable USB"
default n
if BSP_USING_USB
config BSP_USING_USB_DEVICE
bool "Enable USB Device, default is msc ramdisk"
default n
select RT_USING_CHERRYUSB
select RT_CHERRYUSB_DEVICE
select RT_CHERRYUSB_DEVICE_SPEED_HS
select RT_CHERRYUSB_DEVICE_BL
select RT_CHERRYUSB_DEVICE_MSC
select RT_CHERRYUSB_DEVICE_TEMPLATE_MSC
config BSP_USING_USB_HOST
bool "Enable USB Host"
default n
select RT_USING_CACHE
select RT_USING_CHERRYUSB
select RT_CHERRYUSB_HOST
select RT_CHERRYUSB_HOST_EHCI_BL
select RT_CHERRYUSB_HOST_CDC_ACM
select RT_CHERRYUSB_HOST_HID
select RT_CHERRYUSB_HOST_MSC
select RT_CHERRYUSB_HOST_CDC_RNDIS
endif