Kconfig 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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_C906_LITTLE
  9. bool
  10. select ARCH_RISCV64
  11. select ARCH_RISCV_FPU_D
  12. select RT_USING_CACHE
  13. select RT_USING_COMPONENTS_INIT
  14. select RT_USING_USER_MAIN
  15. default y
  16. config BSP_PLIC_PHY_ADDR
  17. hex
  18. default 0x70000000
  19. config IRQ_MAX_NR
  20. int
  21. default 61
  22. config BSP_TIMER_CLK_FREQ
  23. int
  24. default 25000000
  25. config BSP_GPIO_IRQ_BASE
  26. int
  27. default 41
  28. config BSP_SYS_GPIO_IRQ_BASE
  29. int
  30. default 47
  31. config SOC_TYPE_CV180X
  32. bool
  33. default n
  34. config SOC_TYPE_SG2000
  35. bool
  36. default n
  37. config SOC_TYPE_SG2002
  38. bool
  39. default n
  40. choice
  41. prompt "Board Type"
  42. default BOARD_TYPE_MILKV_DUO256M
  43. config BOARD_TYPE_MILKV_DUO
  44. select SOC_TYPE_CV180X
  45. bool "milkv-duo"
  46. config BOARD_TYPE_MILKV_DUO256M
  47. select SOC_TYPE_SG2002
  48. bool "milkv-duo256m"
  49. config BOARD_TYPE_MILKV_DUOS
  50. select SOC_TYPE_SG2000
  51. bool "milkv-duos"
  52. endchoice