10.07.2015 Views

User Manual - Terasic

User Manual - Terasic

User Manual - Terasic

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

● alt_sys_init.c: an initialization file that initializes the devices in the system.● Hello_world_0.elf: an executable and linked format file for the application located inhello_world_0 folder under the Debug directory.7.5 Build and Run the ProgramIn this section you will build and run the program.To build the program, right-click the hello_world_0 project in the Nios II C/C++ Projects tab andselect Build Project. The Build Project dialog box appears and the IDE begins compiling theproject. When compilation completes, a message ‘Build complete’ will appear in the Console tab, asshown in Figure 7-57.Figure 7-57 Nios II IDE hello_world_0 Build CompletedNote: If there appears in the console tab, an error, “region onchip_memory2 isfull(hello_world_0.elf section .text). Region needs to be XXX bytes larger.” , please right-clickhello_world_0 , select System Library Properties menu, then pop a window. In the System LibraryProperties window, select Small C Library, then click OK to close the window. Rebuild the project.122

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!