Kconfig 958 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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_CV180X
  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 __STACKSIZE__
  37. int "stack size for interrupt"
  38. default 4096
  39. choice
  40. prompt "Board Type"
  41. default BOARD_TYPE_MILKV_DUO
  42. config BOARD_TYPE_MILKV_DUO
  43. bool "milkv-duo"
  44. endchoice