SimpleFOC on teensy4.1 with ZephyrRTOS

hi,

i am working with 3 phase BLDC motor for my project , i came across Arduino Simple FOC library which is very helpful for my project, but i am using teensy 4.1 with Zephyr RTOS which is in C, but the SimpleFOC library is in C++. i want to integrate the SimpleFOC library with zephyrRTOS with teensy4.1.

is there any possibility to achieve this, if so can i get inputs/assistance .

Hi @chethan , welcome to SimpleFOC!

We support Teensy, but with its Arduino framework support.

Unfortunately we don’t support Zephyr, and for your case it’s also unfortunate that we use (like much of Arduino) an object oriented paradigm.

Our code is all open source and we don’t use C++ deeply, so you can probably reuse a lot of code if you want to port things over.

But it would certainly be faster for you to switch to Arduino framework and use the library directly.