patacongo commented on pull request #1597:
URL: https://github.com/apache/incubator-nuttx/pull/1597#issuecomment-674996786
I find the change a little more palatable if you can specify an arbitrary
number of parameters. If you add the `CONFIG_INIT_ARGS `to `dequote_list[]`
list, then in the .config file it would be like:
""arg1","arg2","arg3""
Or maybe
"\"arg1\",\"arg2\",\"arg3\""
But after running `tools/mkconfig`, the `config.h` header file would have:
#define CONFIG_INIT_ARGS "arg1",arg2,"arg3"
And you could add a definition sometime like the following in sched/init:
FAR const char *argv[] =
{
CONFIG_INIT_ARGS,
NULL
};
And that should work quite nicely.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]