use C++ isof C; use atxmega32e5; remove avrdude5.conf; full working example :)