Kconfig 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. mainmenu "RT-Thread Project Configuration"
  2. config BSP_DIR
  3. string
  4. option env="BSP_ROOT"
  5. default "."
  6. config RTT_DIR
  7. string
  8. option env="RTT_ROOT"
  9. default "../../.."
  10. config PKGS_DIR
  11. string
  12. option env="PKGS_ROOT"
  13. default "packages"
  14. source "$RTT_DIR/Kconfig"
  15. source "$PKGS_DIR/Kconfig"
  16. source "board/Kconfig"
  17. config BSP_USING_CV18XX
  18. bool
  19. select ARCH_RISCV64
  20. select RT_USING_SYSTEM_WORKQUEUE
  21. select RT_USING_COMPONENTS_INIT
  22. select RT_USING_USER_MAIN
  23. select RT_USING_CACHE
  24. select ARCH_MM_MMU
  25. select RT_USING_DEVICE_OPS
  26. default y
  27. config C906_PLIC_PHY_ADDR
  28. hex
  29. default 0x70000000
  30. config IRQ_MAX_NR
  31. int
  32. default 64
  33. config TIMER_CLK_FREQ
  34. int
  35. default 25000000
  36. config GPIO_IRQ_BASE
  37. int
  38. default 60
  39. config SYS_GPIO_IRQ_BASE
  40. int
  41. default 70
  42. config __STACKSIZE__
  43. int "stack size for interrupt"
  44. default 4096
  45. config SOC_TYPE_CV180X
  46. bool
  47. default n
  48. config SOC_TYPE_SG2002
  49. bool
  50. default n
  51. choice
  52. prompt "Board Type"
  53. default BOARD_TYPE_MILKV_DUO256M
  54. config BOARD_TYPE_MILKV_DUO
  55. select SOC_TYPE_CV180X
  56. bool "milkv-duo"
  57. config BOARD_TYPE_MILKV_DUO_SPINOR
  58. select SOC_TYPE_CV180X
  59. bool "milkv-duo-spinor"
  60. config BOARD_TYPE_MILKV_DUO256M
  61. select SOC_TYPE_SG2002
  62. bool "milkv-duo256m"
  63. config BOARD_TYPE_MILKV_DUO256M_SPINOR
  64. select SOC_TYPE_SG2002
  65. bool "milkv-duo256m-spinor"
  66. endchoice