LED Cube/Custom Programs: Unterschied zwischen den Versionen

Aus Wiki CCC Göttingen
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
This page introduces you to the software section of the [[LED Cube]]. It specifically shows you how you can write your own programs, for example if you do not want to use the pattern program or require additional functionality. This page assumes some basic knowledge about the C programming language and how to use a shell. It does ''not'' assume knowledge about the microcontroller architecture or the toolchain.
This page introduces you to the software section of the [[LED Cube]]. It specifically shows you how you can write your own programs, for example if you do not want to use the pattern program or require additional functionality. This page assumes some basic knowledge about the C programming language and how to use a shell. It does ''not'' assume knowledge about the microcontroller architecture or the toolchain.
==Getting Started==
First of all, you need an [[AVR Toolchain]]. You can skip installing ''avrdude'' if you do not have a programmer and want to update the program using the bootloader, which is probably what you want. This provides you with
* '''avr-gcc''': The C compiler for AVR microcontrollers
* '''avr-libc''': The C standard library for AVR microcontrollers
* '''avr-binutils''': Various tools for manipulating and working with outputs from avr-gcc
Also, you need the bootloader utility. To get this, you should follow the section ''Building the Bootloader Application'' from [[LED Cube/Building From Source#Building_the_Bootloader_Application|Building From Source]].

Version vom 17. April 2012, 11:04 Uhr

This page introduces you to the software section of the LED Cube. It specifically shows you how you can write your own programs, for example if you do not want to use the pattern program or require additional functionality. This page assumes some basic knowledge about the C programming language and how to use a shell. It does not assume knowledge about the microcontroller architecture or the toolchain.

Getting Started

First of all, you need an AVR Toolchain. You can skip installing avrdude if you do not have a programmer and want to update the program using the bootloader, which is probably what you want. This provides you with

  • avr-gcc: The C compiler for AVR microcontrollers
  • avr-libc: The C standard library for AVR microcontrollers
  • avr-binutils: Various tools for manipulating and working with outputs from avr-gcc

Also, you need the bootloader utility. To get this, you should follow the section Building the Bootloader Application from Building From Source.