openFPGALoader icon indicating copy to clipboard operation
openFPGALoader copied to clipboard

Handling of verbose

Open UweBonnes opened this issue 3 years ago • 3 comments

Hello,

handling of verbose seem a little "rough". E.g. Jtag sets it unconditionally to false. So there is no way to control message generation in a probe driver. I think having a possible fine grain debug system is helpfull.

UweBonnes avatar Sep 04 '21 19:09 UweBonnes

It's true. In fact jtag verbosity is set to false because this class produce to many "garbage" and it's more a debug mode than a real verbose mode. I must to cleanup (or simply add a debug mode with a define) to propagate the verbose mode with --verbose-level to have different levels.

trabucayre avatar Sep 07 '21 11:09 trabucayre

I just pushed a --verbose-level: with value= 2, verbose is enabled for lowlevel drivers.

trabucayre avatar Oct 03 '21 06:10 trabucayre

Small update: verbose-level is no more converted to bool for jtag drivers -> this let lowlevel driver to have more choice.

It's good to you?

trabucayre avatar Nov 11 '21 16:11 trabucayre

Can I close this issue? Model is good to you?

trabucayre avatar Jan 05 '23 06:01 trabucayre

Yes.

UweBonnes avatar Jun 27 '23 15:06 UweBonnes

Now used in the BMP WIP

UweBonnes avatar Jun 27 '23 15:06 UweBonnes