We just need the THE_BOARD.json
when there's no generic board available for this mcu. Or if the current generic_board.json from PIO have some bug.
For this board, we can just use: board = genericSTM32F407VGT6
and configure any extra build flag needed in the build_flag
option.
Everything other board.json that is copied/added to Marlin should have a strong reason. For example, I copied genericSTM32F407VGT6.json
to marlin because the original has a bug. I sent a PR to PIO and they merged my board fix. But until PIO release a new version, we need use the copy.
Current available boards: https://github.com/platformio/platform-ststm32/tree/develop/boards