Kconfig 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. mainmenu "RT-Thread Project Configuration"
  2. BSP_DIR := .
  3. RTT_DIR := ../../..
  4. PKGS_DIR := packages
  5. source "$(RTT_DIR)/Kconfig"
  6. osource "$PKGS_DIR/Kconfig"
  7. rsource "board/Kconfig"
  8. config BSP_USING_CV18XX
  9. bool
  10. select ARCH_RISCV64
  11. select ARCH_RISCV_FPU_D
  12. select ARCH_USING_RISCV_COMMON64
  13. select RT_USING_SYSTEM_WORKQUEUE
  14. select RT_USING_COMPONENTS_INIT
  15. select RT_USING_USER_MAIN
  16. select RT_USING_CACHE
  17. select ARCH_MM_MMU
  18. select RT_USING_DEVICE_OPS
  19. select ARCH_REMAP_KERNEL if RT_USING_SMART
  20. default y
  21. config C906_PLIC_PHY_ADDR
  22. hex
  23. default 0x70000000
  24. config IRQ_MAX_NR
  25. int
  26. default 101
  27. config BSP_GPIO_IRQ_BASE
  28. int
  29. default 60
  30. config BSP_SYS_GPIO_IRQ_BASE
  31. int
  32. default 70
  33. config __STACKSIZE__
  34. int "stack size for interrupt"
  35. default 4096
  36. config SOC_TYPE_CV180X
  37. bool
  38. default n
  39. config SOC_TYPE_SG2002
  40. bool
  41. default n
  42. choice
  43. prompt "Board Type"
  44. default BOARD_TYPE_MILKV_DUO256M
  45. config BOARD_TYPE_MILKV_DUO
  46. select SOC_TYPE_CV180X
  47. bool "milkv-duo"
  48. config BOARD_TYPE_MILKV_DUO_SPINOR
  49. select SOC_TYPE_CV180X
  50. bool "milkv-duo-spinor"
  51. config BOARD_TYPE_MILKV_DUO256M
  52. select SOC_TYPE_SG2002
  53. bool "milkv-duo256m"
  54. config BOARD_TYPE_MILKV_DUO256M_SPINOR
  55. select SOC_TYPE_SG2002
  56. bool "milkv-duo256m-spinor"
  57. endchoice
  58. choice BSP_ROOTFS_TYPE
  59. prompt "rootfs type"
  60. default BSP_ROOTFS_TYPE_ROMFS
  61. config BSP_ROOTFS_TYPE_ROMFS
  62. bool "ROMFS"
  63. select RT_USING_DFS_ROMFS
  64. config BSP_ROOTFS_TYPE_CROMFS
  65. bool "CROMFS"
  66. select RT_USING_DFS_CROMFS
  67. select PKG_USING_ZLIB
  68. select PKG_USING_ZLIB_LATEST_VERSION
  69. endchoice