Building this on a custom PCB with an STM32F104 type MCU wouldn't be too much of a stretch from all the work that was already done here. I've done Nuttx on these for custom PX4 flight controllers and it wasn't that hard to work out.