I have successfully ported the NanoVNA firmware to support STM32F303CCT6. The detail can be found at
The minimum required hardware mod is to replace the MCU and add a 1.5K ohm resistor between USB_DP and VDD, or between USB_DP and PA10.
If you have the chance to try the code, please let me know if you see any issue.
Ken