Kconfig 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. mainmenu "RT-Thread Configuration"
  2. BSP_DIR := .
  3. RTT_DIR := ../..
  4. PKGS_DIR := packages
  5. source "$(RTT_DIR)/Kconfig"
  6. osource "$PKGS_DIR/Kconfig"
  7. config SOC_SIMULATOR
  8. bool
  9. select RT_USING_COMPONENTS_INIT
  10. select RT_USING_USER_MAIN
  11. default y
  12. menu "Peripheral Drivers"
  13. config RT_USING_DFS_WINSHAREDIR
  14. bool "Enable shared file system between Windows"
  15. select RT_USING_POSIX_FS
  16. default y
  17. config BSP_USING_RTC
  18. bool "Enable RTC"
  19. select RT_USING_RTC
  20. default y
  21. config BSP_USING_ALARM
  22. bool "Enable RTC alarm"
  23. select RT_USING_ALARM
  24. depends on BSP_USING_RTC
  25. default n
  26. config BSP_USING_SOCKET
  27. bool "Enable BSD Socket"
  28. select RT_USING_POSIX_FS
  29. select RT_USING_POSIX_SOCKET
  30. default y
  31. config BSP_USING_LVGL
  32. bool "Enable LVGL for LCD"
  33. select PKG_USING_LVGL
  34. default n
  35. if BSP_USING_LVGL
  36. config BSP_USING_LVGL_DEMO
  37. bool "Enable LVGL demo"
  38. select PKG_USING_LV_MUSIC_DEMO
  39. default y
  40. config BSP_LCD_WIDTH
  41. int "LCD width"
  42. default 800
  43. config BSP_LCD_HEIGHT
  44. int "LCD height"
  45. default 480
  46. endif
  47. endmenu