Go Down

Topic: Destroy standard Serial definitions (Read 599 times) previous topic - next topic


Hello Community,

varints.cpp defines two Serials


"Serial" ist reserved for EDBG, but, i have no EDBG chip on my custom board, so i will use Sercom5 for another things.

How can i "destroy" this serial definion whithout to comment out this line? (because it is only up to next core update...)

Best regards,


Oct 24, 2016, 12:25 pm Last Edit: Oct 24, 2016, 12:43 pm by MartinL
Hi Eugen,

If you're using your own custom board, then it's possible to create your own entry in the "Boards Manager" in the Arduino IDE. This allows you select your own board from the drop-down list, just like any other Arduino.

As this process also creates a copy of the Zero's core files in a new directory, so it's possible to modify these files, including the "variants.cpp" file and use the "Boards Manager" to provide your own custom updates to users. Thereafter updates to the Arduino Zero core won't affect your board or overwrite your changes.

This is detailed on the forum page here: http://forum.arduino.cc/index.php?topic=409715.0.

Go Up