Instructions for MacOS - ntut-rf/mcu GitHub Wiki

  1. Install Xcode

  2. Install ARM GCC,

    If you are using Homebrew,

    # to tap the repository
    $ brew tap osx-cross/arm
    # to install the toolchain
    $ brew install arm-gcc-bin
    

    If you are using MacPorts,

    $ sudo port install arm-none-eabi-gcc
    
  3. Install OpenOCD

    If you are using Homebrew,

    $ brew install open-ocd
    

    If you are using MacPorts,

    $ sudo port install openocd
    
  4. Install Git