summaryrefslogtreecommitdiff
path: root/bsp/lpc54114-lite/drivers/Kconfig
blob: d143e20a5bca11af9c7b8146708146f887510056 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# 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