I am currently developing my own hardware based on the VESC 6.
The device will be rather small and so the physical size of the LQFP-64 Package is a problem. There are STM32F4s in a QFP48 Package, which would be a good fit and is still hand-solderable with hot air.
Can you "port" the VESC Firmware to the other package? Will there be enough pins with the necessary functionalities (timers, etc.)?
Memory and other hardware features should be the same, so not a problem?
Bests and thanks,