[En-Nut-Discussion] PATCH - cmdline tool 'nutcomponent' - add '-C' option

duane ellis ethernut at duaneellis.com
Tue May 20 02:15:07 CEST 2008


Attached is patched #2  (which I see gets scrubbed to an HTTP link by 
mail-man)

This option adds a "-C" feature to nutcomponent  - the command line 
version of thee GUI interface.
I'm not using the GUI :-) and :-( - and there is no *no* other way to 
turn on/off feature sets.

The "-c  boardname.conf" option remains,
the '-C' option allows for additional "conf" files that may 
enable/disable options and features.

--

NOTE about the implementation - why this method.

Yea, I know CONF files are really LUA scripts, another option or method 
would be to specify a local ".conf" file (aka: lua script) that 
effectively "sourced" another configure script... That seems a bit 
awkward, and not straight forward as another command line option for a 
number of reasons.

Asking an end-developer to learn LUA scripts to do that -  in addition 
to nut, and .... can be painful when "-C" is so simple

-Duane.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: duane-nut-tool-C-option-2008-05-19
Url: http://lists.egnite.de/pipermail/en-nut-discussion/attachments/20080519/d918c6a3/attachment.asc 



More information about the En-Nut-Discussion mailing list