Forum Discussion
Altera_Forum
Honored Contributor
20 years agoPassing command line arguments to NIOS using IDE
Hi folks,
I'm wondering if there is a way to pass command line arguments to the main progam running on a NIOS II through the IDE. I have been browsing the documention but found no information regarding this possibility. Does anybody knows about this ? thanks in advance, Regards Steven4 Replies
- Altera_Forum
Honored Contributor
I do not think you can do that using the Altera HAL. If you use ucLinux then probably you can use Uboot...
Paolo - Altera_Forum
Honored Contributor
Did any one find a solution for this..?
I am using Micro C OS and Nios II IDE.....please let me know how to pass arguments to C main function.... - Altera_Forum
Honored Contributor
Where do you think the arguments are going to come from?
You are writing code for an embedded system! not an application for an interactive OS. - Altera_Forum
Honored Contributor
^^^ makes sense...thanks for the reply...