-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When the layer file is mistyped, the error message does not indicate that a file is missing. Instead it refers to variables
Case 1:
layers:
- layer: $SolutionDir()$/../Board/M55_HP/Board_HP.clayer # extension .yml missing, therefore the file does not existMessage:
Execute: cbuild setup c:\temp\Nov13\Alif_CMSIS3\MyProject.csolution.yml --active AE402FA0E5597BE0 --packs --update-rte
error csolution: undefined variables in MyProject.csolution.yml:
To resolve undefined variables, copy the settings from cbuild-idx.yml to csolution.yml
Completed: cbuild failed with exit code 2Case 2:
layers:
- layer: $SolutionDir()$/Board/M55_HP/Board_HP.clayer # extension .yml missing, therefore the file does not existMessage:
Execute: cbuild setup c:\temp\Nov13\Alif_CMSIS3\MyProject.csolution.yml --active AE402FA0E5597BE0 --packs --update-rte
C:/temp/Nov13/Alif_CMSIS3/Board/M55_HP/Board_HP.clayer - error csolution: invalid node; first invalid key: "layer"
C:/temp/Nov13/Alif_CMSIS3/Board/M55_HP/Board_HP.clayer - error csolution: invalid node; first invalid key: "layer"
Completed: cbuild failed with exit code 1To Reproduce
Use this project Alif_CMSIS3.zip
Expected behavior
Missing file "name"
Environment:
- CMSIS-Toolbox 2.12
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working