cmd: add conitrace command
PATCH 1/1 cmd: add conitrace command
The 'conitrace' command prints the codes received from the console input as hexadecimal numbers.
This developer utility is useful for testing the handling of special keys by keyboard drivers.
Signed-off-by Heinrich Schuchardt <[email protected]>
--- cmd/Kconfig | 6 ++++++ cmd/Makefile | 1 + cmd/conitrace.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 cmd/conitrace.c
cmd/Kconfig +6 -0
@@ -1338,6 +1338,12 @@ config CMD_CACHE help Enable the "icache" and "dcache" commands +config CMD_CONITRACE + bool "conitrace - trace console input codes" + help + Enable the 'conitrace' command which displays the codes received + from the console input as hexadecimal numbers. + config CMD_DISPLAY bool "Enable the 'display' command, for character displays" help
cmd/Makefile +1 -0
@@ -34,6 +34,7 @@ obj-$(CONFIG_CMD_CACHE) += cache.o obj-$(CONFIG_CMD_CBFS) += cbfs.o obj-$(CONFIG_CMD_CLK) += clk.o obj-$(CONFIG_CMD_CONFIG) += config.o +obj-$(CONFIG_CMD_CONITRACE) += conitrace.o obj-$(CONFIG_CMD_CONSOLE) += console.o obj-$(CONFIG_CMD_CPU) += cpu.o obj-$(CONFIG_DATAFLASH_MMC_SELECT) += dataflash_mmc_mux.o
cmd/conitrace.c new file +51 -0
51 lines not on this page · raw message
Signature · 1 line
2.18.0
PATCH 1/1 cmd: add conitrace command
Quoted 7 lines · Heinrich Schuchardt
The 'conitrace' command prints the codes received from the console input as hexadecimal numbers.
This developer utility is useful for testing the handling of special keys by keyboard drivers.
Signed-off-by Heinrich Schuchardt <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180926/e9083096/attachment.sig>