Kconfig 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. default y
  40. config BSP_USING_LVGL
  41. bool "Enable LVGL for LCD"
  42. select PKG_USING_LVGL
  43. default n
  44. if BSP_USING_LVGL
  45. config BSP_USING_LVGL_DEMO
  46. bool "Enable LVGL demo"
  47. select PKG_USING_LV_MUSIC_DEMO
  48. default n
  49. config BSP_LCD_WIDTH
  50. int "LCD width"
  51. default 800
  52. config BSP_LCD_HEIGHT
  53. int "LCD height"
  54. default 480
  55. endif
  56. endmenu