Kconfig 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. mainmenu "RT-Thread 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. config SOC_SIMULATOR
  17. bool
  18. select RT_USING_COMPONENTS_INIT
  19. select RT_USING_USER_MAIN
  20. default y
  21. menu "Peripheral Drivers"
  22. config RT_USING_DFS_WINSHAREDIR
  23. bool "Enable shared file system between Windows"
  24. select RT_USING_POSIX_FS
  25. default y
  26. config BSP_USING_RTC
  27. bool "Enable RTC"
  28. select RT_USING_RTC
  29. default y
  30. config BSP_USING_ALARM
  31. bool "Enable RTC alarm"
  32. select RT_USING_ALARM
  33. depends on BSP_USING_RTC
  34. default n
  35. config BSP_USING_SOCKET
  36. bool "Enable BSD Socket"
  37. select RT_USING_POSIX_FS
  38. select RT_USING_POSIX_SOCKET
  39. select SAL_USING_WINSOCK
  40. default y
  41. config BSP_USING_LVGL
  42. bool "Enable LVGL for LCD"
  43. select PKG_USING_LVGL
  44. default n
  45. if BSP_USING_LVGL
  46. config BSP_USING_LVGL_DEMO
  47. bool "Enable LVGL demo"
  48. select PKG_USING_LV_MUSIC_DEMO
  49. default n
  50. config BSP_LCD_WIDTH
  51. int "LCD width"
  52. default 800
  53. config BSP_LCD_HEIGHT
  54. int "LCD height"
  55. default 480
  56. endif
  57. endmenu