arduino / ArduinoCore-avr

The Official Arduino AVR core
https://www.arduino.cc
1.25k stars 1.06k forks source link

The patches required to use C++ STL #493

Open KOLANICH opened 2 years ago

KOLANICH commented 2 years ago

These patches should be enough to use magic_enum library and std::string. For using CTRE other patches are needed, but they don't belong to this repo.

CLAassistant commented 2 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

KOLANICH commented 2 years ago

It is likely these patches should be applied to other cores too.

KOLANICH commented 2 years ago

CLA won't be signed, but everyone can consider original parts of my contribution as licensed under Unlicense license.

matthijskooijman commented 2 years ago

Thanks for your contribution!

I believe this might be already solved in https://github.com/arduino/ArduinoCore-API, which should be the base of this core as well in the future (also see https://github.com/arduino/ArduinoCore-API/pull/140 which makes some additional related changes).

KOLANICH commented 2 years ago

Thanks. Incorporated some changes from there.