Kconfig 1.2 KB

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