rockbox/utils/hwstub/tools
Amaury Pouly f6c61eb11a hwstub: port hwstub_shell to the new library
Also use this opportunity to cleanup support for multiple devices: the shell
now supports dynamic changes in the device and will call init() everytime
a new device is selected, to prepare a new environment. The shell now
honors register width on register read/write. The shell also provides access
to variants as follows by creating a subtable under the register using the
variant type in UPPER case and having the same layout as a register.
For example if register HW.GPIO.DIR has variants "set" and "clr", those can
be used like this:
HW.GPIO.DIR.SET.write(0xff)
HW.GPIO.DIR.CLR.write(0xff00)

Change-Id: I943947fa98bce875de0cba4338e8b7196a4c1165
2016-04-08 19:38:18 +02:00
..
lua hwstub: port hwstub_shell to the new library 2016-04-08 19:38:18 +02:00
hwstub_load.cpp hwstub: port hwstub_load to the new library 2016-04-08 19:37:59 +02:00
hwstub_server.cpp hwstub: rewrite and expand library 2016-04-08 19:37:30 +02:00
hwstub_shell.cpp hwstub: port hwstub_shell to the new library 2016-04-08 19:38:18 +02:00
hwstub_test.cpp hwstub: rewrite and expand library 2016-04-08 19:37:30 +02:00
init.lua hwstub: port hwstub_shell to the new library 2016-04-08 19:38:18 +02:00
Makefile hwstub: rewrite and expand library 2016-04-08 19:37:30 +02:00
prompt.c hwstub: Add completion and some pretty printing to the shell 2015-06-28 17:55:17 +02:00
prompt.h hwstub: Add completion and some pretty printing to the shell 2015-06-28 17:55:17 +02:00