I developed a project using nRF Connect 2.6.1 in VSCode. I created a custom board for the development board I was using (the SparkFun Pro nRF52840 Mini - Bluetooth Development Board https://www.sparkfun.com/products/15025). Now the final board has been produced, and I have created a custom board description for it (the final board is different than the Sparkfun board, although they both use the same processor).
I would like to be able to build my code for either the development board or the final board, so I need to have a general prf.conf file which has settings that apply to BOTH boards, and then board-specific prf.conf files that contain settings specific to the particular board.
I cannot figure out how to accomplish this. I only seem to be able to get it pull in prf.conf. I have created a new build configuration for the new board; what is the magic for pulling in both prf.conf and a config file for the board selected? What does the prj file need to be named, and where should it be located? How should the build configuration be set up?
--mkj