Add a new validation step before starting a new app that does a set of static checks on the app.yaml (especially bricks). The test should include:
- device check: we should be sure that all the devices required by the app are available on the board (now it is done here, which is too late)
- bricks validation (implemented here:
- check if the brick exists
- check if all required variables are set
Additionally, we could consider some warnings, like when the user adds a variable that doesn't exist.