Difference between revisions of "Platforms atmega"
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. |
||
=== |
===Compile example=== |
||
⚫ | |||
⚫ | |||
⚫ | |||
===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 |
||
⚫ | |||
⚫ | |||
⚫ |
Revision as of 21: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