1mainmenu "RT-Thread Project Configuration"
2
3BSP_DIR := .
4
5RTT_DIR := ../../
6
7PKGS_DIR := packages
8
9source "$RTT_DIR/Kconfig"
10source "$PKGS_DIR/Kconfig"
11rsource "board/Kconfig"
12
13config BOARD_C908
14    bool
15    select ARCH_RISCV64
16    select RT_USING_COMPONENTS_INIT
17    select RT_USING_USER_MAIN
18    select RT_USING_CACHE
19	select ARCH_MM_MMU
20    select ARCH_RISCV_FPU
21    select ARCH_REMAP_KERNEL if RT_USING_SMART
22    default y
23
24config __STACKSIZE__
25    int "stack size for interrupt"
26    default 4096
27
28choice BSP_ROOTFS_TYPE
29    prompt "Root File-System type"
30    default BSP_ROOTFS_TYPE_ELMFAT
31
32    config BSP_ROOTFS_TYPE_ELMFAT
33        bool "Use Elm-chan FAT File-System"
34        select RT_USING_DFS_ELMFAT
35
36    config BSP_ROOTFS_TYPE_CROMFS
37        bool "Use Compressed ROM File-System (ReadOnly)"
38        select RT_USING_DFS_CROMFS
39        select PKG_USING_ZLIB
40endchoice
41
42choice BSP_RISCV_USING_FPU
43    prompt "FPU precision"
44    default BSP_RISCV_FPU_D
45
46    config BSP_RISCV_FPU_SOFT
47        bool "Software floating-point"
48        select ARCH_RISCV_FPU
49
50    config BSP_RISCV_FPU_D
51        bool "Double-precision floating-point with Vector"
52        select ARCH_RISCV_FPU_D
53        select ARCH_RISCV_VECTOR
54endchoice
55