AlexandreHiroyuki / DataTome

Data analysis and filtering using time series for embedded devices (IoT). All in a single C++ library, Data Tome. Focus on the developer's experience and performance. It is the successor to the MovingAveragePlus library.
https://alexandrehiroyuki.github.io/DataTomeDocs/
MIT License
6 stars 0 forks source link

Refactor code to not use C/C++ STD libraries because AVR boards don't support these #12

Closed AlexandreHiroyuki closed 1 month ago

AlexandreHiroyuki commented 1 month ago

https://github.com/avrdudes/avr-libc/tree/main https://www.nongnu.org/avr-libc/user-manual/group__avr__stdlib.html#gafd4bf2faec43342e7ad3d2ab37bac1fe

The issue was caused by including libraries in C++ style #include <cmath>, instead of #include <math.h>.

AVR only does not support the include names, not the C std libraries themselves.

C++ std libraries also do not have support from AVR.