Newer
Older
The `quad/` directory contains all code that programs the quadcopter. This
includes any C libraries we have written, any HDL to program the Zybo on
To run this application on the Zybo, we need to implement the hardware drivers,
and provide a `main` function. This is done in `xsdk_workspace/real_quad/src`.
We can also run this application on our own laptops for testing. We call this
implementation the "virtual quad". This is done in `src/virt_quad`.
```
You can also build each library individually inside their respective project
directories:
```
cd src/<project> && make
```
**NOTE**: All build artifacts will be placed in `lib` or `bin` (depending on
whether it is a library or executable, respectively)
To build the XSDK project, refer to the [XSDK instructions](xsdk_workspace/README.md).
_Write tests! It makes automating things so much easier._
And glad to hear you are interested in writing your own unit tests! Look at the
[README](src/test/README.md) and examples in our simple testing library at
`src/test`.
Of course, we cannot run automated tests on code that needs the Zybo. But
we have manual tests that you can use to test each specific driver in the
hardware interface.
Look in `xsdk_workspace/real_quad/src/hw_impl_zybo_tests.c` for instructions.
* [The Quad Application](src/quad_app/README.md)
* [Quad App on the Zybo (Real Quad)](xsdk_workspace/real_quad/README.md)
* [Quad App on Unix (Virtual Quad)](src/virt_quad/README.md)
* [Zybo Pinout Assignments](doc/zybo_pinout_assignments.md)
* [How to use Xilinx software tools](doc/how_to_use_xilinx_tools.pdf)