Yes, I’m developing a robot, based on a custom designed board which incorporates the STM32 and wanted to customize an Arduino-STM variant to control the required resources
I have actually tried using the black_f407vg, but unfortunately, after uploading a very simple FW toggling a GPIO, the board just did not respond. Using genericSTM32F407VGT6 with the below settings gave better results, however the settings seem much more “tailored” to the original board, than the variant.h you’ve suggested, hence we found it very hard to work out PWMs, serial port etc.
[env:genericSTM32F407VGT6]
platform = ststm32
board = genericSTM32F407VGT6
framework = arduino