Du muß in dem Compiler
Options->Compiler-->Chip
schon den Mega32 einstellen.