Files
rt-thread/components/rust/examples/Kconfig
zhang san 69980f8b9d
Some checks failed
ToolsCI / Tools (push) Has been cancelled
RT-Thread BSP Static Build Check / 🔍 Summary of Git Diff Changes (push) Has been cancelled
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (push) Has been cancelled
RT-Thread BSP Static Build Check / collect-artifacts (push) Has been cancelled
pkgs_test / change (push) Has been cancelled
utest_auto_run / A9 :components/dfs.cfg (push) Has been cancelled
utest_auto_run / A9 :components/lwip.cfg (push) Has been cancelled
utest_auto_run / A9 :components/netdev.cfg (push) Has been cancelled
utest_auto_run / A9 :components/sal.cfg (push) Has been cancelled
utest_auto_run / A9 :cpp11/cpp11.cfg (push) Has been cancelled
utest_auto_run / AARCH64-rtsmart :default.cfg (push) Has been cancelled
utest_auto_run / A9-rtsmart :default.cfg (push) Has been cancelled
utest_auto_run / RISCV-rtsmart :default.cfg (push) Has been cancelled
utest_auto_run / XUANTIE-rtsmart :default.cfg (push) Has been cancelled
utest_auto_run / AARCH64 :default.cfg (push) Has been cancelled
utest_auto_run / AARCH64-smp :default.cfg (push) Has been cancelled
utest_auto_run / A9 :default.cfg (push) Has been cancelled
utest_auto_run / A9-smp :default.cfg (push) Has been cancelled
utest_auto_run / RISCV :default.cfg (push) Has been cancelled
utest_auto_run / RISCV-smp :default.cfg (push) Has been cancelled
utest_auto_run / A9 :kernel/atomic_c11.cfg (push) Has been cancelled
utest_auto_run / RISCV :kernel/atomic_c11.cfg (push) Has been cancelled
utest_auto_run / A9 :kernel/ipc.cfg (push) Has been cancelled
utest_auto_run / A9 :kernel/kernel_basic.cfg (push) Has been cancelled
utest_auto_run / A9 :kernel/mem.cfg (push) Has been cancelled
Weekly CI Scheduler / Trigger and Monitor CIs (push) Has been cancelled
Weekly CI Scheduler / Create Discussion Report (push) Has been cancelled
Adding Rust Language Support for RT-Thread #10910
2025-12-08 18:34:25 +08:00

104 lines
2.9 KiB
Plaintext

menuconfig RT_USING_RUST_EXAMPLES
bool "Enable Rust Examples"
depends on RT_USING_RUST
default n
help
Enable Rust example applications, components, and modules.
if RT_USING_RUST_EXAMPLES
config RT_RUST_BUILD_ALL_EXAMPLES
bool "Build All Examples"
default n
help
Build all available Rust examples.
menu "Application Examples"
config RT_RUST_BUILD_APPLICATIONS
bool "Build Application Examples"
default y
depends on RT_USING_FINSH
help
Build Rust application examples.
if RT_RUST_BUILD_APPLICATIONS
config RT_RUST_EXAMPLE_FS
bool "File System Example"
default n
help
File system operations example.
config RT_RUST_EXAMPLE_LOADLIB
bool "Dynamic Library Loading Example"
default n
depends on RT_USING_MODULE
help
Dynamic library loading and usage example.
config RT_RUST_EXAMPLE_MUTEX
bool "Mutex Example"
default y
help
Mutex synchronization example.
config RT_RUST_EXAMPLE_PARAM
bool "Parameter Example"
default y
help
Basic parameter handling example.
config RT_RUST_EXAMPLE_QUEUE
bool "Queue Example"
default y
help
Message queue example.
config RT_RUST_EXAMPLE_SEMAPHORE
bool "Semaphore Example"
default y
help
Semaphore synchronization example.
config RT_RUST_EXAMPLE_THREAD
bool "Thread Example"
default y
help
Thread creation and management example.
endif
endmenu
menu "Component Examples"
config RT_RUST_BUILD_COMPONENTS
bool "Build Component Examples"
default y
help
Build Rust component examples.
if RT_RUST_BUILD_COMPONENTS
config RUST_LOG_COMPONENT
bool "Auto-initialize Rust log component"
default y
help
Automatically initialize Rust log component during RT-Thread startup.
endif
endmenu
menu "Module Examples"
config RT_RUST_BUILD_MODULES
bool "Build Module Examples"
default n
depends on RT_USING_MODULE
help
Build Rust dynamic module examples.
if RT_RUST_BUILD_MODULES
config RT_RUST_MODULE_SIMPLE_MODULE
bool "Simple Module"
default y
help
Basic dynamic module template.
endif
endmenu
endif