forked from PAWPAW-Mirror/lib_xua
OS X DFU loader build instructions updated
This commit is contained in:
1
module_dfu/doc/Makefile
Normal file
1
module_dfu/doc/Makefile
Normal file
@@ -0,0 +1 @@
|
|||||||
|
SOURCE_INCLUDE_DIRS=../host/xmos_dfu_osx
|
||||||
@@ -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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user