Yet another stk500_getsynch() error with avr programmer

You need to change boards.txt and/or programmers.txt. The two together form a mapping between a board and a programmer.