idf-eclipse-plugin icon indicating copy to clipboard operation
idf-eclipse-plugin copied to clipboard

'Run As'/Execute program with varargs (IEP-192)

Open rherrmannr opened this issue 4 years ago • 3 comments

Hey , is there a way to execute the program using varargs?

I've changed the app_main function to:

void app_main(int argc, char **argv) {
}

and hoped to use the varargs.

Adding arguments to the run config does not work.. varargs as the python script seems to expect files:

/home/rherrmann/.espressif/python_env/idf4.0_py2.7_env/bin/python: can't open file '192.168.0.1': [Errno 2] No such file or directory

I couldn't find anything in the sdkconfig file.

rherrmannr avatar May 27 '20 08:05 rherrmannr