CONFIG_SAMPLES_RUST Rust samples
You can build sample Rust kernel code here.
If unsure, say N.
If SAMPLES_RUST
- Depends on
SAMPLES && SAMPLES_RUST
CONFIG_SAMPLE_RUST_CONFIGFS Configfs sample
- Off
- Module
- Built in
This option builds the Rust configfs sample.
To compile this as a module, choose M here: the module will be called rust_configfs.
If unsure, say N.
- Depends on
SAMPLES && SAMPLES_RUST && CONFIGFS_FS
CONFIG_SAMPLE_RUST_MINIMAL Minimal
- Off
- Module
- Built in
This option builds the Rust minimal module sample.
To compile this as a module, choose M here: the module will be called rust_minimal.
If unsure, say N.
- Depends on
SAMPLES && SAMPLES_RUST
CONFIG_SAMPLE_RUST_MISC_DEVICE Misc device
- Off
- Module
- Built in
This option builds the Rust misc device.
To compile this as a module, choose M here: the module will be called rust_misc_device.
If unsure, say N.
- Depends on
SAMPLES && SAMPLES_RUST
CONFIG_SAMPLE_RUST_PRINT Printing macros
- Off
- Module
- Built in
This option builds the Rust printing macros sample.
To compile this as a module, choose M here: the module will be called rust_print.
If unsure, say N.
- Depends on
SAMPLES && SAMPLES_RUST
CONFIG_SAMPLE_RUST_DMA DMA Test Driver
- Off
- Module
- Built in
This option builds the Rust DMA Test driver sample.
To compile this as a module, choose M here: the module will be called rust_dma.
If unsure, say N.
- Depends on
SAMPLES && SAMPLES_RUST && PCI
CONFIG_SAMPLE_RUST_DEBUGFS DebugFS Test Module
- Off
- Module
- Built in
This option builds the Rust DebugFS Test module sample.
To compile this as a module, choose M here: the module will be called rust_debugfs.
If unsure, say N.
- Depends on
SAMPLES && SAMPLES_RUST && DEBUG_FS
CONFIG_SAMPLE_RUST_DEBUGFS_SCOPED Scoped DebugFS Test Module
- Off
- Module
- Built in
This option builds the Rust Scoped DebugFS Test module sample.
To compile this as a module, choose M here: the module will be called rust_debugfs_scoped.
If unsure, say N.
- Depends on
SAMPLES && SAMPLES_RUST && DEBUG_FS
CONFIG_SAMPLE_RUST_DRIVER_I2C I2C Driver
- Off
- Module
- Built in
This option builds the Rust I2C driver sample.
To compile this as a module, choose M here: the module will be called rust_driver_i2c.
If unsure, say N.
- Depends on
SAMPLES && SAMPLES_RUST && I2C=y
CONFIG_SAMPLE_RUST_I2C_CLIENT I2C Client Registration
- Off
- Module
- Built in
This option builds the Rust I2C client manual creation sample.
To compile this as a module, choose M here: the module will be called rust_i2c_client.
If unsure, say N.
- Depends on
SAMPLES && SAMPLES_RUST && I2C=y
CONFIG_SAMPLE_RUST_DRIVER_PCI PCI Driver
- Off
- Module
- Built in
This option builds the Rust PCI driver sample.
To compile this as a module, choose M here: the module will be called rust_driver_pci.
If unsure, say N.
- Depends on
SAMPLES && SAMPLES_RUST && PCI
CONFIG_SAMPLE_RUST_DRIVER_PLATFORM Platform Driver
- Off
- Module
- Built in
This option builds the Rust Platform driver sample.
To compile this as a module, choose M here: the module will be called rust_driver_platform.
If unsure, say N.
- Depends on
SAMPLES && SAMPLES_RUST
CONFIG_SAMPLE_RUST_DRIVER_USB USB Driver
- Off
- Module
- Built in
This option builds the Rust USB driver sample.
To compile this as a module, choose M here: the module will be called rust_driver_usb.
If unsure, say N.
- Depends on
SAMPLES && SAMPLES_RUST && USB=y
CONFIG_SAMPLE_RUST_DRIVER_FAUX Faux Driver
- Off
- Module
- Built in
This option builds the Rust Faux driver sample.
To compile this as a module, choose M here: the module will be called rust_driver_faux.
If unsure, say N.
- Depends on
SAMPLES && SAMPLES_RUST
CONFIG_SAMPLE_RUST_DRIVER_AUXILIARY Auxiliary Driver
- Off
- Module
- Built in
This option builds the Rust auxiliary driver sample.
To compile this as a module, choose M here: the module will be called rust_driver_auxiliary.
If unsure, say N.
- Depends on
SAMPLES && SAMPLES_RUST && PCI - Selects
AUXILIARY_BUS if SAMPLES && SAMPLES_RUST && PCI
CONFIG_SAMPLE_RUST_DRIVER_SERDEV Serial Device Bus Device Driver
- Off
- Module
- Built in
This option builds the Rust serial device bus driver sample.
To compile this as a module, choose M here: the module will be called rust_driver_serdev.
If unsure, say N.
- Depends on
SAMPLES && SAMPLES_RUST - Selects
RUST_SERIAL_DEV_BUS_ABSTRACTIONS if SAMPLES && SAMPLES_RUST
CONFIG_SAMPLE_RUST_SOC SoC Driver
- Off
- Module
- Built in
This option builds the Rust SoC driver sample.
To compile this as a module, choose M here: the module will be called rust_soc.
If unsure, say N.
- Depends on
SAMPLES && SAMPLES_RUST - Selects
SOC_BUS if SAMPLES && SAMPLES_RUST
CONFIG_SAMPLE_RUST_HOSTPROGS Host programs
This option builds the Rust host program samples.
If unsure, say N.
- Depends on
SAMPLES && SAMPLES_RUST