SimpleFOClibrary support for ESP32 boards

That’s very interesting. I’m using esp32 since a lot, and never heard about this.
I still didn’t read the source, so I don’t feel yet confortable
at changing it. But I’m ready to do tests, and have 3 very different BLDC motors to test.

Floats use the FPU while doubles are calculated in software. For reasons, using the FPU inside an interrupt handler is currently not supported.

Above quote is from esp32 forum here

I presume you’ve attached encode.handleIndex() to an interrupt on esp32. This function uses floats as I mentioned above.

Mentioned and solved HERE thanks!