Zynq Linux Applikation: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Nick (Diskussion | Beiträge) |
Nick (Diskussion | Beiträge) |
||
| (10 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 15: | Zeile 15: | ||
*Tab "Select a platform from repository" ⇒ appDev_Linux_platform ⇒ Next | *Tab "Select a platform from repository" ⇒ appDev_Linux_platform ⇒ Next | ||
*Projektnamen vergeben: ⇒ Application project name: ⇒ Next ⇒ Next | *Projektnamen vergeben: ⇒ Application project name: ⇒ Next ⇒ Next | ||
*Für C++ Projekt ⇒ Empty Application(C++) auswählen | *Für C++ Projekt ⇒ "Empty Application(C++)" auswählen ⇒ Finish | ||
== Boost in Vitis == | |||
*Download [https://www.boost.org/users/download/ Boost C++ Libraries] | |||
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 | |||
= Debug Linux Applikation = | |||
* rechtsklick ⇒ Projektnamen ⇒ Run As ⇒ Run Configurations | |||
* doppelklick ⇒ Single Application Debug ⇒ Klick Debugger_Projektname-Default ⇒ Connection: Linux Agent ⇒ New | |||
* Target Name, Host, Port 1534 ⇒ OK | |||
* IP-Adresse Zynq setzen: | |||
ifconfig eth0 10.0.0.13 netmask 255.0.0.0 up | |||
Aktuelle Version vom 11. Oktober 2021, 06:27 Uhr
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
- Download Boost C++ Libraries
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
Debug Linux Applikation
- rechtsklick ⇒ Projektnamen ⇒ Run As ⇒ Run Configurations
- doppelklick ⇒ Single Application Debug ⇒ Klick Debugger_Projektname-Default ⇒ Connection: Linux Agent ⇒ New
- Target Name, Host, Port 1534 ⇒ OK
- IP-Adresse Zynq setzen:
ifconfig eth0 10.0.0.13 netmask 255.0.0.0 up