hi,
just for testing I tried to load a very simple sketch on a Due.
word i, a=99,b=614,c;
long int tm;
void setup() {
// put your setup code here, to run once:
pinMode(13,OUTPUT);
digitalWrite(13,HIGH);
Serial.begin(19800);
Serial.println("jetzt geht es los");
Serial.print("byte ");Serial.println(sizeof(byte));
Serial.print("short int ");Serial.println(sizeof(short int));
Serial.print("word ");Serial.println(sizeof(word));
Serial.print("int ");Serial.println(sizeof(int));
tm=micros();
for (i=0; i<10000; i++) {
c=a*b;
a++;
}
Serial.print("10000 Multiplikationen: ");Serial.println(micros()-tm);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(13,LOW);
delay(500);
digitalWrite(13,HIGH);
delay(500);
}
During compilation the following error message comes up:
Arduino: 1.6.12 (Windows 7), TD: 1.36, Board: "Arduino Due (Programming Port)"
Board arduino_due_x_dbg (platform sam, package arduino) is unknown
Error compiling for board Arduino Due (Programming Port).
Invalid library found in C:\ZusProgs\Arduino\arduino-1.6.12\portable\packages\arduino\hardware\sam\1.6.10\libraries\SPI: C:\ZusProgs\Arduino\arduino-1.6.12\portable\packages\arduino\hardware\sam\1.6.10\libraries\SPI
Invalid library found in C:\ZusProgs\Arduino\arduino-1.6.12\portable\packages\arduino\hardware\sam\1.6.10\libraries\SPI: C:\ZusProgs\Arduino\arduino-1.6.12\portable\packages\arduino\hardware\sam\1.6.10\libraries\SPI
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
In the Tools menue "Arduino Due (Programming port)" is selected.
I don't understand why the error message tells me that the board is unknown.
The libraries all have been installed with the IDE or maybe later when I used the Boards Manager to be able to program a Due.
What can I do to get the sketch compiled?
SupArdu