Custom embedded boards are a great feature for those who don’t use the pre-made development boards, but create their own, as we do at our company. However adding custom boards can be quite a hassle. It would be great if
myboard.json files can also be recognised inside the project directory. This will resolve some issues I’ve found with the current process and will have the following benefits:
- Custom boards can be stored and altered using version control, which when altered will directly change the environment.
- New developers to an already existing project don’t have to setup the environment.
- CI can be performed without additional steps to setup the environment.
A current workaround to have all those benefits is to pick an already existing board, and to modify the
platform.io file accordingly. However this solution seems rather hack-ish, especially if the custom board doesn’t resemble any development board at all.