Web site: github.com/patrislav1/linenoise-baremetal
Category: Office
Subcategory: Text Editors
Platform: Linux, BSD, OS X, IBM AIX, Unix-like
License: BSD
Interface: CLI
Wikipedia:
First release: 2015
linenoise-baremetal – a line editing for bare metal microcontroller applications, based on linenoise.
This is a port of linenoise to bare-metal microcontroller systems. It has been stripped of any Linux dependencies, but still assumes a POSIX-ish environment (which is usually present in bare metal applications built with arm-gcc and newlib).
The most fundamental differences to linenoise are:
– Entirely non-blocking (to enable cooperative multitasking on bare-metal applications without a RTOS).
– Auto-detection of ‘dumb’ terminals without VT100 support, that are sometimes used in labs (avoids flooding dumb terminals with escape sequences).
Linenoise is very easy to use, and reading the example shipped with the library should get you up to speed ASAP.