mips: load code in buffer mode
[fw/openocd] / README.OSX
index 2a023f16fdc1148c50f1fc8e94f158805244c760..c6890775ba6088fd5eae7d4e2eb0092574b0e107 100644 (file)
@@ -3,8 +3,8 @@ Building OpenOCD for OSX
 
 There are a few prerequisites you will need first:
 
-- Xcode 4 (install from the AppStore)
-- Command Line Tools (install from Xcode 4 -> Preferences -> Downloads)
+- Xcode 5 (install from the AppStore)
+- Command Line Tools (install from Xcode 5 -> Preferences -> Downloads)
 - MacPorts (http://www.macports.org/install.php)
   or
 - Homebrew (http://mxcl.github.io/homebrew/)
@@ -13,7 +13,7 @@ libtool, automake, autoconf, pkg-config and libusb can be easily
 installed via MacPorts:
   sudo port install libtool automake autoconf pkgconfig libusb [libusb-compat]
 or with Homebrew:
-  brew install libtool automake libusb [libusb-compat]
+  brew install libtool automake libusb [libusb-compat] [hidapi]
 
 You should also specify LDFLAGS and CPPFLAGS to allow configure to use
 MacPorts' libraries, so run configure like this:
@@ -23,6 +23,12 @@ If you're using Homebrew, no custom flags are necessary.
 
 See README for the generic building instructions.
 
-If you use an FTDI-based adapter and have the FTDI kext installed, you
-will need to unload it prior to using OpenOCD:
+If you're using a USB adapter and have a driver kext matched to it,
+you will need to unload it prior to running OpenOCD. E.g. with Apple
+driver (OS X 10.9 or later) for FTDI run:
+  sudo kextunload -b com.apple.driver.AppleUSBFTDI
+for FTDI vendor driver use:
   sudo kextunload FTDIUSBSerialDriver.kext
+
+To learn more on the topic please refer to the official libusb FAQ:
+https://github.com/libusb/libusb/wiki/FAQ