I have a single set of code that I would like to run on some custom hardware, and on a discovery board. The custom hardware has an STM32F407VE and the discovery board has the STMF407VG. I was think I could single add a configuration to the project and set the chip types differently, but changing the chip type in the vgbdsettings changes it for ALL configurations. Is what I’m looking to do possible? Or do I need two VS projects that both include the same source files and are setup for different chip types in the vgdbsettings?
Ideally, I’d be able to have single project and just switch the configuration in visual studio to change which chip the build will target. For instance a configuration called “Debug-407VE” would build for the custom hardware board and “Debug-407VG” for the discovery board.