summaryrefslogtreecommitdiff
path: root/bsp/xuantie/smartl/e906/board/Kconfig
blob: 1e26dffa32434057d7e897cfb57934301fa27e75 (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
menu "Hardware Drivers Config"

config SOC_XUANTIE
    bool
    select RT_USING_COMPONENTS_INIT
    select RT_USING_USER_MAIN
    default y


menu "On-chip Peripheral Drivers"

    menuconfig BSP_USING_UART
        bool "Enable UART"
        select RT_USING_SERIAL
        default n

        if BSP_USING_UART
            config BSP_USING_UART0
                bool "Enable UART0"
                default n
        endif

    menuconfig ENABLE_FPU
        bool "Enable FPU"
        select ARCH_RISCV_FPU
        default n

    if ENABLE_FPU
        choice
            prompt "FPU Configuration"
            default ARCH_RISCV_FPU_S

            config ARCH_RISCV_FPU_S
                bool "Enable [F] Extension"

            config ARCH_RISCV_FPU_D
                bool "Enable [F][D] Extension"
        endchoice
    endif   
endmenu

endmenu