Difference between revisions of "Platforms atmega"

From DiLab
Jump to: navigation, search
Line 1: Line 1:
In MansOS, "'''atmega'''" is a platform supporting hardware based on the Atmega368 processor, such as Arduino.
In MansOS, "'''atmega'''" is a platform supporting hardware based on the Atmega368 processor, such as Arduino.


====Dependencies====
===Compile example===
make atmega

===Upload example===
make atmega upload

===Dependencies===
You should have the following packages installed: '''gcc-avr''', '''avr-libc'''.
You should have the following packages installed: '''gcc-avr''', '''avr-libc'''.
For example, in Ubuntu do this to install them:
For example, in Ubuntu do this to install them:


sudo apt-get install gcc-avr avr-libc
sudo apt-get install gcc-avr avr-libc

====Make example====
make atmega
make atmega upload

Revision as of 22:48, 1 September 2010

In MansOS, "atmega" is a platform supporting hardware based on the Atmega368 processor, such as Arduino.

Compile example

make atmega

Upload example

make atmega upload

Dependencies

You should have the following packages installed: gcc-avr, avr-libc. For example, in Ubuntu do this to install them:

sudo apt-get install gcc-avr avr-libc