Go Down

Topic: arduino due can not compile any examples sketches! (Read 538 times) previous topic - next topic

javiermelendrez

Hi! I have a new arduino due and I am using version 1.6.2 and Idownloaded in TOOLS- BOARDS- BOARDS MANAGER- ARDUINO SAM BOARDS(32-GITS ARM CORTEX.M3) version 1.6.2 and when I am using examples sketeches like blink, and press VERIFY, appears an error:

cc1plus: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead [enabled by default]

cc1plus: error: unrecognized command line option '-mthumb'

C:\Users\javier\AppData\Local\Temp\build5713366983915717347.tmp\duemouse.cpp:1:0: error: bad value (cortex-m3) for -mtune= switch

 #line 1 "duemouse.ino"
 ^
Error compiling.

and in any sketch appears that file!
Is maybe that it does not support WINDOWS VISTA OR MAYBE IN TOLLS-PROGRAMER I am using default AVRISP mkll?
Thanks for your help!!

exedor

Vista shouldn't matter.  Are you using the windows installer or the self extracting zip?  That really looks like a configuration problem in the SDK.  I'd blow away whatever you have, download 1.6.5 of the windows installer and then try it again.

Go Up