Huang Qi 18838d23bf examples/rust: Add basic Slint example
Summary:
- Added a basic Slint example for NuttX, demonstrating how to integrate Slint UI framework with Rust on NuttX
- Includes a simple UI with a counter and touchscreen input handling
- Provides CMake, Kconfig, and Makefile configurations for building the example

Impact:
- Introduces a new example showcasing Slint UI framework usage on NuttX
- Enables developers to explore Rust-based UI development on embedded systems
- Demonstrates integration with NuttX framebuffer and touchscreen drivers

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2025-01-29 14:08:45 +08:00

30 lines
614 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_RUST_SLINT
tristate "Slint Basic Example"
default n
---help---
Enable the basic Slint example.
if EXAMPLES_RUST_SLINT
config EXAMPLES_RUST_SLINT_PROGNAME
string "Program name"
default "slint"
---help---
This is the name of the program that will be used when the
program is installed.
config EXAMPLES_RUST_SLINT_PRIORITY
int "Task priority"
default 100
config EXAMPLES_RUST_SLINT_STACKSIZE
int "Stack size"
default DEFAULT_TASK_STACKSIZE
endif