I have just reccently bought an Arduino Zero to play with debugging. Alas, I’m simply stuck with the simple HelloWorld. My .ini looks like
[env:zeroUSB]
platform = atmelsam
framework = arduino
board = zero
But compiling croaks with
src/main.c:4:2: error: ‘Serial’ undeclared (first use in this function); did you mean ‘Sercom’?
The main.cpp is simply
#include <Arduino.h>
void setup() {
Serial.begin(115200);
Serial.print(“Hello”);
}void loop() {}