Kconfig 865 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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_DUO256M
  39. bool "milkv-duo256m"
  40. endchoice