Skip to content

Firmware, Make Debug Levels Selectable at Run Time. Through LCD Menu, Rev 0.47 #390

@ForrestErickson

Description

@ForrestErickson

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

A problem with firmware often needs to see Debug Statements.
However some of our Debug is in #define guards and unreachable in a device displaying a bug.

Rebooting may clear the bug and the bugs may be hard to reproduce.

There appears to be several locations with in the code where Debug is defined and not globally making it hard to figure out how to use Debug.

Describe the solution you'd like
A clear and concise description of what you want to happen.

A run time setting through a user interface, the Serial Monitor and or the LCD Menu where we can set Debug levels would help.

A document describing how the Debug Levels work, what they report.
A consistent philosophy of how increasing debug levels reveal additional details would help. Only the highest levels report from inside functions for example. Lower levels are more global.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

This applies to Rev 0.47 Firmware.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions