Module shell

Module shell 

Source
Expand description

Interactive shell subsystem for oveRTOS.

Provides init, process_char, and register_cmd for building a simple command-line interface over a serial console. Commands are registered as safe Rust fn(args: &[&[u8]]) callbacks; the FFI trampoline handles the C/Rust boundary automatically.

Functions§

init
Initialize the shell subsystem.
process_char
Process a single input character through the shell.
process_line
Process a complete input line through the shell.
register_cmd
Register a shell command with a safe Rust handler.
set_output_hook
Set a hook to capture shell output.

Type Aliases§

CmdFn
Shell command handler signature.