Johannes Schindelin wrote:
Hi,
On Sun, 16 Dec 2007, Armin wrote:
This may be one way to simulate switch or jumper settings one may change
on a board before booting. It uses a simple text file for input. The
file name is pointed to by -config <path to file> on the command line.
example:
config file:
[switches]
7:on
[jumpers]
I find this format utterly ugly.
I can only make it better then : )
You have sections like INI files, but
then refuse to keep to that format.
Besides, I fail to see why this has to be a config file?
It can be named anything , I suppose "switch"would be better
All other
settings are command line switches and/or monitor settings, and there is
no good reason why switches and jumpers should not be handled that way.
Do you mean something like -sw or -jp?
regards,
-Armin