Forum Discussion
Altera_Forum
Honored Contributor
13 years agoundefined reference to 'main'
Hi Guys, I have only just started with the NIOS II and associated tools so I accept I could have done a million things wrong, but: I have tried creating a simple application that contains a U...
Altera_Forum
Honored Contributor
13 years agoDoes your main.c actually get compiled?
(force a compilation error if necessary!) If not, you've failed to add it to the project properly. Also, unless your system doesn't have a data cache, the accesses to uart[] will be cached - not what you want.