Kconfig 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. menuconfig RT_USING_RUST_EXAMPLES
  2. bool "Enable Rust Examples"
  3. depends on RT_USING_RUST
  4. default n
  5. help
  6. Enable Rust example applications, components, and modules.
  7. if RT_USING_RUST_EXAMPLES
  8. config RT_RUST_BUILD_ALL_EXAMPLES
  9. bool "Build All Examples"
  10. default n
  11. help
  12. Build all available Rust examples.
  13. menu "Application Examples"
  14. config RT_RUST_BUILD_APPLICATIONS
  15. bool "Build Application Examples"
  16. default y
  17. depends on RT_USING_FINSH
  18. help
  19. Build Rust application examples.
  20. if RT_RUST_BUILD_APPLICATIONS
  21. config RT_RUST_EXAMPLE_FS
  22. bool "File System Example"
  23. default n
  24. help
  25. File system operations example.
  26. config RT_RUST_EXAMPLE_LOADLIB
  27. bool "Dynamic Library Loading Example"
  28. default n
  29. depends on RT_USING_MODULE
  30. help
  31. Dynamic library loading and usage example.
  32. config RT_RUST_EXAMPLE_MUTEX
  33. bool "Mutex Example"
  34. default y
  35. help
  36. Mutex synchronization example.
  37. config RT_RUST_EXAMPLE_PARAM
  38. bool "Parameter Example"
  39. default y
  40. help
  41. Basic parameter handling example.
  42. config RT_RUST_EXAMPLE_QUEUE
  43. bool "Queue Example"
  44. default y
  45. help
  46. Message queue example.
  47. config RT_RUST_EXAMPLE_SEMAPHORE
  48. bool "Semaphore Example"
  49. default y
  50. help
  51. Semaphore synchronization example.
  52. config RT_RUST_EXAMPLE_THREAD
  53. bool "Thread Example"
  54. default y
  55. help
  56. Thread creation and management example.
  57. endif
  58. endmenu
  59. menu "Component Examples"
  60. config RT_RUST_BUILD_COMPONENTS
  61. bool "Build Component Examples"
  62. default y
  63. help
  64. Build Rust component examples.
  65. if RT_RUST_BUILD_COMPONENTS
  66. config RUST_LOG_COMPONENT
  67. bool "Auto-initialize Rust log component"
  68. default y
  69. help
  70. Automatically initialize Rust log component during RT-Thread startup.
  71. endif
  72. endmenu
  73. menu "Module Examples"
  74. config RT_RUST_BUILD_MODULES
  75. bool "Build Module Examples"
  76. default n
  77. depends on RT_USING_MODULE
  78. help
  79. Build Rust dynamic module examples.
  80. if RT_RUST_BUILD_MODULES
  81. config RT_RUST_MODULE_SIMPLE_MODULE
  82. bool "Simple Module"
  83. default y
  84. help
  85. Basic dynamic module template.
  86. endif
  87. endmenu
  88. endif