Copy of main firmware from the Huebner inverter projec, this version is a work in progress with only the raw inverter functionality. More to come when I have tested it
Please use the software on https://github.com/jsphuebner/
You will need the arm-none-eabi toolchain: https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads The only external depedency is libopencm3 which I forked. You can download and build this dependency by typing
make get-deps
Now you can compile stm32-inverter in FOC verison by typing
make
or
CONTROL=SINE make
to build the SINE version for synchronous motors.
And upload it to your board using a JTAG/SWD adapter, the updater.py script or the esp8266 web interface