AOpen MK86-L Guide de l'utilisateur Page 58

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 157
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 57
Building Projects
About Building Projects
Building a project in the Nios II IDE compiles and links all the source code associated with the
project. Associated code can include other projects that your project depends on, such as a
Nios II system library project associated with a Nios II C/C++ application project or a Nios II
board support package (BSP) associated with a Nios II user-makefile C/C++ application
project. When building a project, Nios II IDE first builds all dependent projects
that the current
project references.
The build process runs a makefile in the background that produces the project output. Project
output depends on the project type:
Nios II C/C++ application projects create executable files (.elf) that you can run or
debug.
Nios II system library projects create pre-compiled libraries (.a).
Nios II C/C++ library projects create pre-compiled libraries (.a).
Nios II user-makefile C/C++ application projects output depends on your makefile.
When building a Nios II C/C++ application project, the Nios II IDE references the SOPC
Builder system file (.ptf) to create executable code that matches the target hardware. After
creating a project based on a specific SOPC Builder system, if the .ptf file changes (as a result
of modifications to the hardware design in SOPC Builder), the Nios II system library project
must be rebuilt. The build process detects an out-of-date .ptf file, and automatically rebuilds
the Nios II system library project.
If you want to re-target your project to a different SOPC Builder system, you need to create a
new Nios II system library project. Edits to your program source code might be necessary if,
for example, the peripherals are named differently in the new SOPC Builder system.
Related Nios II IDE Help Topics
Building a Project
Configuring Project Dependencies
Nios II Page (Preferences Dialog Box)—Contains settings that affect how the Nios II
IDE builds and runs projects.
54
Vue de la page 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 156 157

Commentaires sur ces manuels

Pas de commentaire