################################################################################ # Installing the STM32L4 gcc development chain on Mac OS X # (may be incomplete... tested on 10.11.3) ################################################################################ # If you already have XCode installed you may skip this step. # Install the needed tools for compiling local C programs. Select "Install" when prompted xcode-select --install # Install homebrew, a package manager for OS X, which will be used to install the ARM cross-compiler, autoconf, automake, libusb, etc... # Follow the installation instructions as prompted ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" # Now get the required cross-compiler, library, and debugger for the arm processors brew tap PX4/homebrew-px4 brew update brew install libtool stlink gcc-arm-none-eabi-49 wget # Now install the libraries needed for ECE 486. This download includes portions # of the STM32cubeL4 software distributed by STM. # ECE 486 routines are also provided to configure the # processors for real-time "double-buffering" applications. # The STM32L476G-Discovery board is supported. # # You'll need to download, compile, and install the libraries. By default, the # "make install" step will install the libraries in /usr/local/stmdev/ wget -N http://web.eece.maine.edu/~hummels/classes/ece486/src/stmdevel.zip unzip -d stmdevel stmdevel.zip cd stmdevel/build make sudo make install