Kconfig 1019 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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_C906_LITTLE
  18. bool
  19. select ARCH_RISCV64
  20. select ARCH_RISCV_FPU_D
  21. select RT_USING_COMPONENTS_INIT
  22. select RT_USING_USER_MAIN
  23. default y
  24. config PLIC_PHY_ADDR
  25. hex
  26. default 0x70000000
  27. config IRQ_MAX_NR
  28. int
  29. default 128
  30. config TIMER_CLK_FREQ
  31. int
  32. default 25000000
  33. choice
  34. prompt "Board Type"
  35. default BOARD_TYPE_MILKV_DUO256M
  36. config BOARD_TYPE_MILKV_DUO
  37. bool "milkv-duo"
  38. config BOARD_TYPE_MILKV_DUO_SPINOR
  39. bool "milkv-duo-spinor"
  40. config BOARD_TYPE_MILKV_DUO256M
  41. bool "milkv-duo256m"
  42. config BOARD_TYPE_MILKV_DUO256M_SPINOR
  43. bool "milkv-duo256m-spinor"
  44. endchoice