Skip to content

Debug commands should have deterministic toggle interface #213

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mithro opened this issue Feb 18, 2016 · 1 comment
Closed

Debug commands should have deterministic toggle interface #213

mithro opened this issue Feb 18, 2016 · 1 comment

Comments

@mithro
Copy link
Member

mithro commented Feb 18, 2016

From @deeprave on February 15, 2016 15:40

A feature request for the firmware to simplify and improve things a little:

Instead of the debug command being a toggle to the debug interface, be more deterministic and provide (even in addition to the toggle is ok):

debug [input]X [on|off]
and
debug [input]X ?

returning the current debug state for the selected channel, where X is 1 or 2.

In addition, missing value of 'X' should affect all available channels, and return status of all channels in the second case. e.g. "debug on" or "debug input on" should enable debug on all channels.

Copied from original issue: timvideos/HDMI2USB-firmware-prebuilt#3

@mithro mithro changed the title debug commands on hdmi2usb Debug commands should have deterministic toggle interface Feb 18, 2016
@mithro
Copy link
Member Author

mithro commented Feb 18, 2016

@deeprave - To make this change the C code at https://github.com/timvideos/HDMI2USB-misoc-firmware/blob/master/firmware/lm32/ci.c#L629 should be modified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants