Hi, great project!!
I developed OpenSource firmware for motor control using the STM32F103, for electric unicycles. Currently I am developing for the cheap chinese ebike controllers, one based on STM8 and other with STM32F103.
Would be great if you or someone could develop firmware for the motor control for the hoverboards.
But my target is to make firmware for cheap ebike Kunteng STM8 controllers and make them a general bldc motor controller - it has UART communication and so with an Arduino, anyone could control easily this type of motors.
https://opensourceebikefirmware.bitbucket.io/
https://eggelectricunicycle.bitbucket.io/