rt-thread-official/bsp/nxp/lpc/lpc54114-lite/drivers/Kconfig

54 lines
1.2 KiB
Plaintext

# LPC54110 bsp Config
menu "LPC54110 Bsp Config"
menu "Select uart drivers"
config BSP_USING_UART0
bool "Enable UART0"
default y
endmenu
menu "Select spi bus drivers"
config BSP_USING_SPI2
bool "Enable SPI2"
default y
endmenu
menu "Select i2c bus drivers"
config BSP_USING_I2C4
bool "Enable I2C4"
default y
endmenu
config BSP_USING_ROMFS
bool "Enable ROMFS"
select RT_USING_DFS
select RT_USING_DFS_ROMFS
default y
config BSP_USING_SDCARD
bool "Enable SDCARD"
select BSP_USING_SPI2
default y
config BSP_USING_SPIFLASH
bool "Enable SPI Flash"
select BSP_USING_SPI2
default y
config BSP_USING_AUDIO
bool "Enable Audio(WM8904&SPH0641LU4H)"
select RT_USING_AUDIO
default n
if BSP_USING_AUDIO
config BSP_USING_AUDIO_REPLAY
bool "Enable WM8904(only replay)"
select BSP_USING_I2C4
default y
config BSP_USING_AUDIO_RECORD
bool "Enable SPH0641LU4H"
default y
endif
endmenu