Note that the linux gadget "picocom" works just fine to talk to a microcontroller via a USB "serial port" like /dev/ttyACM0". I recommend it, and find it far superior to and simpler than minicom.
To get out of picocom type the two character salute ^A^X. And this is a fantastic feature: you can go up and down the set of known baud rates using ^A^U to go up and ^A^D to go down. Pure genius! Look at the man page via "man picocom" to get the rest of the story.
Happily there is a Gnu gcc based C cross compiler for the AVR chips. It is supplied (and perhaps even maintained and updated) by Atmel, the chip vendor. An enlightened approach, bless their hearts.
yum install avrdude yum install avr-gcc yum install avr-binutils yum install avr-libc yum install avr-libc-doc yum install avr-gdbAlso (maybe) someday:
yum install uisp yum install simulavr yum install simulavr-doc yum install avr-gcc-c++ (not likely)Honestly you could probably just do "yum install avr\*" and be happy.
The AVR Freaks website is a great resource, taking you well beyond the Arduino and into the more generic world of programming the Atmel AVR chips.
What I did learn was that an Arduino "sketch" is a fragment of C++ code. It is merged with some boilerplate C++ code, and then compiled with avr-c++ and linked against a bunch of Arduino libraries. Something like a makefile is produced, but is not kept around in any handy way for inspection. All in all this was difficult, frustrating, and unproductive. It was clearly not something you were expected to be doing.
Tom's Computer Info / email@example.com