Skip to content

Compiling Linux (Unix)

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

How to compile the firmware with Linux?

Tested on Debian, Ubuntu and Kali.

Requirements

  • avr-libc
  • binutils-avr
  • gcc-avr
  • avrdude
  • libusb-dev
sudo apt-get install avr-libc binutils-avr gcc-avr avrdude libusb-dev

Build

git clone https://github.com/iceman1001/ChameleonMini-rebooted.git
cd ChameleonMini-rebooted
cd Firmware/ChameleonMini
make

If everything compiles you will find two new files in the current directory:

  • ChameleonMini.eep
  • ChameleonMini.hex

To flash and use, refer to Flashing section.