Zynq Linux Applikation

Aus Nicki Wiki
Zur Navigation springen Zur Suche springen

Bauen einer Linux Applikation in der Vitis IDE.

Domain für Linux Applikation

  • File ⇒ New ⇒ Plattform Project...
  • Platform project name: appDev_Linux_platform ⇒ Next
  • Tab "Create a new platform from hardware (XSA)" ⇒ Browse ⇒ xxx_wrapper.xsa
    • Operating system: ⇒ "linux"
    • Häkchen entfernen "Generate boot components" ⇒ Finish
  • Rechtsklick im Explorer ⇒ appDev_Linux_platform ⇒ Build Project

Platform: appDev_Linux_platform

  • "linux on ps7_cortexa9" auswählen

Linux Applikation

  • File ⇒ New ⇒ Application Project...
  • Tab "Select a platform from repository" ⇒ appDev_Linux_platform ⇒ Next
  • Projektnamen vergeben: ⇒ Application project name: ⇒ Next ⇒ Next
  • Für C++ Projekt ⇒ "Empty Application(C++)" auswählen ⇒ Finish

Boost in Vitis

unzip boost_ ...

In Vitis rechtsklick auf das C++ Projekt ⇒ C/C++ Build Settings

  • ... compiler ⇒ Directories ⇒ Include Paths ⇒ Add... ⇒ Pfad zu ../boost_VERSION
  • ... linker ⇒ Libraries ⇒ Library search path (-L) ⇒ Add... ⇒ ../boost_VERSION/libs