XSDK Workspace
This directory is reserved for XSDK projects.
Setup
XSDK, being based on Ecplise, is rather fragile, so do yourself a favor and read this section so things get setup correctly.
-
When you first open eclipse, select this directory, xsdk_workspace, as your workspace (see what we did there?).
-
When you get to your workbench, your project pane should be empty. To add these projects, right-click on the project pane, and click on something like "import projects".
-
Select "Import Existing Projects" (whereever that is)
-
And then select the xsd_workspace as the folder where you want to import projects. Add them all.
-
If things are going swimmingly, then you should be able to build everyhing and be off on your merry embedded endeavors.
XSDK FYIs
Definitely first read the Xilinx How-To.
The XIlinx SDK has a few quirks that are important to watch out for:
- From the documentation, if you abort program execution while at a breakpoint inside an interrupt handler, when re-running the program, interrupts don’t fire. You have to do a hard reset of the board (cycle power) to have interrupts work again.
- After doing a
git pull
orgit checkout
, refresh the files by right-clicking on the project in the sidebar and clicking "Refresh" - The project does not detect changes in header files, so if you modify a
.h
file, you should do a clean before re-building, otherwise you may experience unexpected behavior. We got into the habit of always doing a clean before a build whenever creating code that will be put on the quadcopter.