Skip to content
init0 edited this page Dec 18, 2017 · 28 revisions

Welcome to the BildMini-rebooted wiki!

Bild

How to set up a development environment?

Install your favorite development environment:

e.g. Eclipse (Oxygen)

sudo apt install eclipse eclipse-cdt

Start Eclipse and go to the Eclipse Marketplace → Help → Eclipse Marketplace

Search for AVR Eclipse Plugin and install it.

Setting up your Project with the AVR Plugin

Project→Properties AVR tab on the left? - so you can change the target hardware to atxmega32a4u and rebuild the index.

If not so, you can change the target hardware within C/C++ Build → Environment.

Here change the value of AVRTARGETMCU to atxmega32a4u.

C/C++ Build → Tool Chain Editor: AVR-GCC Toolchain

Maybe you need to check out C/C++ General → Paths and Symbols too:

__ AVR_DEVICE_NAME __ = atxmega32a4u

After all changes rebuild the index.


How to compile the firmware?

OS: Linux

Debian, Ubuntu, ...

Requirements:

  • avr-libc
  • binutils-avr
  • gcc-avr
  • avrdude
  • libusb-dev

Install packages:

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

Go to your firmware folder where the makefile is located and run make.

OS: Windows

Requirements:

  • AVR GNU Toolchain from Atmel or Atmel Studio 7
  • Cygwin
  • Add the bin path of Cygwin and AVR Toolchain to the PATH environment variable

Recommended Cygwin-packages:

  • make
  • gcc-core
  • gcc-g++
  • util-linux
  • binutils
  • rsync
  • python
  • python3
  • bash-completition
  • vim
  • vim-common
  • diffutils
  • openssh

If the setup is done --> start Cygwin and navigate to the firmware folder where the makefile is located and run make.


How to flash a new firmware on the Chameleon?

following soon