Closed AlexandreHiroyuki closed 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>.
#include <cmath>
#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.
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.