OS X DFU loader build instructions updated

This commit is contained in:
Sam Chesney
2014-06-06 10:48:24 +01:00
parent 6236696c72
commit fc19e0632f
2 changed files with 8 additions and 4 deletions

1
module_dfu/doc/Makefile Normal file
View File

@@ -0,0 +1 @@
SOURCE_INCLUDE_DIRS=../host/xmos_dfu_osx

View File

@@ -2,9 +2,12 @@ Building the XMOS DFU loader - OS X
===================================
The loader is compiled using libusb, the code for the loader is contained in the
file xmosdfu.cpp
file ``xmosdfu.cpp``
To build the loader
-------------------
To build the loader a Makefile is provided, which can be run as follows:
``g++ -m32 -o xmosdfu -I. xmosdfu.cpp libusb-1.0.0.dylib``
``make -f Makefile.OSX all``
This Makefile contains the following:
.. literalinclude:: Makefile.OSX