Closed obemu closed 2 months ago
I have exactly the same issue with the #define min
, it causes the std::chrono
c++ base library to not work anymore as well. Simply deleting the #define min
seems to solve the issues.
Same issue here, it causes problems with code from "tensorflow/lite/schema/schema_generated.h". Renaming like suggested by obemu helped.
It looks like this issue has been resolved.
Problem
Can you please rename the macro min in utility/In_eSPI.h to M5CORE2_min, because otherwise i get compilation errors in PlatformIO. It seems that this happens because the usage of std::min(a,b) in the toolchain-xtensa32@2.50200.97 package does not use std::min from the cpp algorithm library but it tries to use the macro min from utility/In_eSPI.h.
Complete error message: