Huang Qi 14fa7d2726 examples/rust: Rename hello_rust to rust/baremetal
Summary:
- Renamed hello_rust example to rust/baremetal to better reflect its purpose
- Updated file headers and Makefile paths
- Maintained all existing Kconfig options and functionality
- Prepares for future Rust development patterns where Cargo will be the
mainstream approach, with baremetal demonstrating traditional build method
- Creates clearer structure for Rust examples as we expand Rust support

Impact:
- No functional changes to the example itself
- Better organization of Rust examples under examples/rust/
- Existing configurations using this example will continue to work
- Build system will now look for the example in the new location

Testing:
- Confirmed Kconfig options remain unchanged
- GitHub CI passed and local build tested

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2025-01-15 01:53:56 +08:00

31 lines
722 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config EXAMPLES_HELLO_RUST
tristate "\"Hello, Rust!\" example"
default n
---help---
Enable the \"Hello, Rust!\" example to show how to build
and run a baremetal Rust application with rustc.
if EXAMPLES_HELLO_RUST
config EXAMPLES_HELLO_RUST_PROGNAME
string "Program name"
default "hello_rust"
---help---
This is the name of the program that will be used when the
program is installed.
config EXAMPLES_HELLO_RUST_PRIORITY
int "Hello Rust task priority"
default 100
config EXAMPLES_HELLO_RUST_STACKSIZE
int "Hello Rust stack size"
default DEFAULT_TASK_STACKSIZE
endif