LwSHELL is a lightweight, platform independent, command line shell for embedded systems. It targets communication with embedded systems from remote terminal to quickly send commands and to retrieve data from the device.
- Written in C (C11), compatible with
stdint.hdata types - Lightweight command-line shell for embedded systems
- Platform independent and very easy to port
- No dynamic (heap) memory allocation, with runtime command registration up to a compile-time configurable limit
- Optional static, ROM-based command tables as an alternative to runtime registration, to save RAM
- Supports quoted arguments to allow spaces inside a single parameter
- Basic line editing with backspace and delete key support
- Optional
listcmdcommand to list all registered commands - Optional output callback to send shell responses back to the application
- Multiple independent shell instances through
_exAPI functions - Helper macros to parse arguments as
int,longordouble - Highly configurable
- Simple help-text with
cmd -hoption - User friendly MIT license
Fresh contributions are always welcome. Simple instructions to proceed:
- Fork Github repository
- Follow C style & coding rules and use
clang-formatto format the code - Create a pull request to
developbranch with new features or bug fixes
Alternatively you may:
- Report a bug
- Ask for a feature request