From 1dc52773f4ece0f98e0c334212fdfa8a49bf346c Mon Sep 17 00:00:00 2001 From: Ben Lye Date: Tue, 14 Aug 2018 20:04:34 +0100 Subject: [PATCH] Added step for installing libusb on MacOS --- docs/Compiling_STM32.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/Compiling_STM32.md b/docs/Compiling_STM32.md index 313093a..457dab0 100644 --- a/docs/Compiling_STM32.md +++ b/docs/Compiling_STM32.md @@ -188,6 +188,17 @@ In order for the module to be correctly identified in Windows it is necessary to **NOTE:** If you have installed the drivers and your module is not detected as a Maple device it most likely does not have a USB bootloader installed. Ready-made modules from Banggood **do not** come with a USB bootloader installed. You will need to follow the procedure to [Burn a USB bootloader](#burn-the-bootloader) before you can upload firmware. +##### Mac OS X +Uploading via USB requires the [libusb library](https://libusb.info/) to be installed. The easiest way to install the library is using the [Homebrew package manager for macOS](https://brew.sh/) by executing the two lines given below in a Terminal. + +Install Homebrew: + + /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" + +Once Homebrew is installed, use it to install libusb: + + brew install libusb + ##### Linux (64-bit) To execute any of the following commands you should use a Terminal (shell) with the current directory set to the location where you cloned or unpacked this project.