Commit 4b2e8e02 authored by evanblough's avatar evanblough

fixed images

parent 5ffdb31e
......@@ -20,24 +20,24 @@ Open XSDK by typing xsdk & into the terminal. It should let you select a workspa
## Check C/C++ application perspective
This part is important to make sure the project is generated properly. There should be a small icon in the upper right corner of the screen. If you hold the cursor over this image it will say c/c++ application perspective.
![C/C++ApplicationPerspective](/capplicaitonview.png)
![C/C++ApplicationPerspective](./capplicaitonview.png)
## Open a New Application Project
Click the dropdown menu in the upper left and select the new application project option.
![AddApplicationDropdown](/newappproject.png)
![AddApplicationDropdown](./newappproject.png)
Make sure you select a hardware platform generated by Vivado to make the bsp file. This file will likely be named design_1_wrapper_hw_platoform_0.
![AddApplicationWindow](/appproject.png)
![AddApplicationWindow](./appproject.png)
## Add the Source Folder to the Project
Manually adding the files to the workspace introduce some issues with XSDK. To avoid these you can create a /src folder in the repository and link to these files that are outside the workspace. Right click in the project explorer pane within the project files. Select add a New>folder. The window should look like this.
![AddFolder](/addsrcfromrepo.png)
![AddFolder](./addsrcfromrepo.png)
Click the browse button to choose the /src directory. Make sure to select the link to alternate location. Name the new folder /ext.
......@@ -48,10 +48,10 @@ After adding the source, you need to remove some of these files from the source
## Modify Project Properties
Right click on the project folder in the project explorer pane to select the properties section. There will be a C/C++ Build section that contains another settings subsection. Click settings. Click the libraries section and add the m library. This is the math library for C. Add all the folders in the /ext folder to the directories section.
![AddProperties](/add_directory_path.png)
![AddProperties](./add_directory_path.png)
## Copy /src files from working project
Copy all the files shown in the image below into the new directory src folder. These files can be directly copied unlike the previous copies which lead to outside directories.
![AddSrc](/include_files_src.png)
![AddSrc](./include_files_src.png)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment