sudar / Arduino-Makefile

Makefile for Arduino sketches. It defines the workflows for compiling code, flashing it to Arduino and even communicating through Serial.
http://hardwarefun.com/tutorials/compiling-arduino-sketches-using-makefile
GNU Lesser General Public License v2.1
2.02k stars 448 forks source link

Use C++ compiler when linking for SAMD-based boards #645

Closed kpfleming closed 4 years ago

kpfleming commented 4 years ago

The Arduino IDE supports full usage of C++ (including the standard library) on SAMD-based boards, so the final linking of the executable must be done using the C++ compiler.

Closes #644.

sej7278 commented 4 years ago

merged thanks @kpfleming