Hello,
I followed WestfW's instructions in a different post to find detailed info about the compile error, to no avail.
It points to the same line of the sketch.
The line that throws the error is Serial.begin(9600) in the setup.
The problem is that I am trying to compile a very simple sketch, like blink, but with serial output.
None of that would be normally a problem, except I am trying to do this on an AT90S8515, which does have an UART on pins PD0/10 and PD1/11.
It is obvious to me that I am using an unsupported MCU and I am expecting the Arduino IDE 1.6.5 to "just work". For the Uno or Nano I didn't have to include any library to get Serial to work, but the 8515 didn't like it.
This is my code:
void setup() {
Serial.begin(9600);
}
void loop() {
}
And this is the error:
error: 'Serial' was not declared in this scope
I have no idea where to look for the setup. Well, I have an idea, since the only file I needed to add was pins_arduino.h, I have a hunch that this is where something is missing, possibly a declaration for the serial pins, something like that.
Comparing my pins file with existing (standard) Arduino pins files didn't give me any clues as to what might be missing.
If anyone could point me in the right direction, I would very much appreciate it.
Thank you