Hi, Duane. > It sounds like you want options from from the "dos/unix" command line in > a batch file format. Thank you for your detailed letter. As I understand English is not always good, I'm still going to study the letter carefully :) But now, not to waste time, let me clarify: we are talking about C-code inside the driver imx3 * _nand, which takes a string from the config file: "nand probe bla-bla [options]". These options, in the form of "char *cmd, char **args, int argc", must be analyzed. Comparing [many] variants with constant templates is ugly. I am looking for a good way, which can be used in C-code. Are we talking about the same? If yes, then say "yes", please.
> For examples of how to do JIM options & commands, take a look at the file: > "target.c" - look for the > function that impliments the target command. > Item 3: - Old School Commands OK, thanks. Sounds good. -- Regards, Alexei Babich, circuit design engineer, Rezonans plc., Chelyabinsk, Russia http://www.rez.ru Jabber ID: [email protected] _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
