Skip to content
@shinhub edited this page Aug 18, 2019 · 2 revisions

How to compile with OSX?

Requirements

  • Homebrew (see Homebrew)
  • Xcode (xcode-select --install)
  • avr-gcc
  • avr-binutils
  • git

For the last 3 requirements, once is Homebrew setup:

brew tap osx-cross/avr
brew install git avr-gcc avr-binutils avrdude

Not needed yet, but maybe in the future, for creating the bootloader:

brew install srecord

Build

  • Clone this repo: git clone https://github.com/iceman1001/ChameleonMini-rebooted
  • Go into: Firmware/ChameleonMini/
  • Just run make in here.