Kconfig 927 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. rsource "board/Kconfig"
  17. config BOARD_fpgac908
  18. bool
  19. select ARCH_RISCV64
  20. select RT_USING_COMPONENTS_INIT
  21. select RT_USING_USER_MAIN
  22. select RT_USING_CACHE
  23. select ARCH_MM_MMU
  24. select ARCH_RISCV_FPU_D
  25. select ARCH_REMAP_KERNEL if RT_USING_SMART
  26. default y
  27. config __STACKSIZE__
  28. int "stack size for interrupt"
  29. default 4096
  30. config C908_PLIC_PHY_ADDR
  31. int "PLIC base address"
  32. default 0xF00000000
  33. config BSP_ROOTFS_TYPE_CROMFS
  34. bool "Use CROMFS as ROOTFS"
  35. select RT_USING_DFS_CROMFS
  36. select PKG_USING_ZLIB
  37. select PKG_USING_ZLIB_LATEST_VERSION
  38. default y