Avr-gcc

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
Line 15: Line 15:
 
</pre>
 
</pre>
  
Terminal mode: <code>-t</code><br>
+
Terminal mode: <code>-t</code>. Use command <code>part</code> to see detailed part information.<br>
 
To upload file: <code>-U memtype:op:filename[:format]</code>
 
To upload file: <code>-U memtype:op:filename[:format]</code>

Revision as of 23:37, 24 March 2010

How to setup avr-gcc and get compiling for an Arduino!

$ yum install avr-gcc avr-libc avrdude

For ATMega168:

$ avrdude -c buspirate -P /dev/ttyUSB1 -x speed=3 -p m168

For ATMega328p:

$ avrdude -c buspirate -P /dev/ttyUSB1 -x speed=3 -p m328p

Terminal mode: -t. Use command part to see detailed part information.
To upload file: -U memtype:op:filename[:format]

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox