Skip to content

Instantly share code, notes, and snippets.

@nersoz-impinj
Last active April 6, 2022 19:23
Show Gist options
  • Save nersoz-impinj/02ec36a9c5be0b30bfcaab34185a495f to your computer and use it in GitHub Desktop.
Save nersoz-impinj/02ec36a9c5be0b30bfcaab34185a495f to your computer and use it in GitHub Desktop.
Building Yukon Firmware on OSX (macos)

Building Yukon Firmware on OSX (macos)

  1. Building Yukon Firmware requires Python 2.7. Since OSX Monterey 12.3, Python 2 has been removed. Once installed your PATH should include:

    /Library/Frameworks/Python.framework/Versions/2.7/bin
    
  2. The following python modules need to be installed:

    crcmod six scipy pyyaml pytest jinja2
    
  3. Install the ARM GCC Cross Compiler

    Version gcc-arm-none-eabi-7-2018-q2-update needs to be installed.

    I install this in /opt/gcc-arm-none-eabi-7-2018-q2-update/.

    A symbolic link is helpful: /opt/gcc-arm-none-eabi@ -> gcc-arm-none-eabi-7-2018-q2-update.

    This allows multiple compiler versions to be installed. The symbolic link will select the active version.

    Yukon uses version 7-2018-q2-update specifically.

    The compiler binary /opt/gcc-arm-none-eabi/bin needs to be in your PATH.

  4. Xcode needs to be installed, if it is not installed already. This provides the git command line tool.

  5. CMake needs to be installed, if it is not already. The way I do it is via HomeBrew:

    brew install cmake
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment