zephyr/drivers/console
Johan Hedberg 8683dc4836 drivers/console: Add support for ANSI sequences with values
ANSI sequences may have a numbered prefix which means that the action
needs to be taken the number amount of times, e.g. "Esc[ValueA" (move
cursor forward Value number of characters). Some ANSI commands also
have two preceding values, such as Esc[Line;ColumnH (move cursor to
Line & Column).

To support these ANSI sequences we need to track a bit of extra state,
most conveniently done using a bit field. Since the ANSI parsing logic
gets a bit long at this point it's refactored into its own handle_ansi()
function.

Change-Id: I0711f869d5324f9f827915fde468fe470e7689ed
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-02-05 20:25:06 -05:00
..
Kconfig ipi: rename to ipm 2016-02-05 20:25:04 -05:00
Makefile ipi: rename to ipm 2016-02-05 20:25:04 -05:00
console_handler_shell.c drivers/console: shell: Add custom prompt callback support 2016-02-05 20:24:58 -05:00
ipm_console_receiver.c ipi: rename to ipm 2016-02-05 20:25:04 -05:00
ipm_console_sender.c ipi: rename to ipm 2016-02-05 20:25:04 -05:00
ram_console.c init: Implement fine-grained initialization policy 2016-02-05 20:24:54 -05:00
uart_console.c drivers/console: Add support for ANSI sequences with values 2016-02-05 20:25:06 -05:00
uart_console_static_irq_stubs.S uart: check for MVIC when creating stubs 2016-02-05 20:24:57 -05:00
uart_pipe.c irq: removes priority parameter from IRQ_CONFIG macro 2016-02-05 20:24:57 -05:00