Forum Discussion
Altera_Forum
Honored Contributor
14 years agoQuestion about #include in NIOS II?
I have built the following file: #include <stdio.h># include "system.h"# include "altera_avalon_pio_regs.h"# include "altera_up_avalon_rs232.h"
int main()
{
printf("Hello from Nios II!\n");...
Altera_Forum
Honored Contributor
14 years agoI found the easiest way to add .c or .h files to a project is just drag and drop the files from the folder onto the project explorer folders.