Kconfig 1.1 KB

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