avrlib and arduino

hy

just for your last question, yes you can add some .c and .h files to compile them...
take a look at lib>targets>arduino>wiring.c for includes

regards

eric