Did you selected the right board ? Open arduino IDE, go to tools>board>and select your board. Hope it helps.