Current behavior, Steps to reproduce and Expected behavior
When editing the Software Components view for one project context and saving the changes, the extension removes all packs: and components: nodes from .clayer.yml files that belong to other project contexts.
Steps to reproduce
- Use the example: https://github.com/Arm-Examples/Safety-Example-Infineon-T2G
- Open Software Components for one cproject or one clayer, for example from Blinky.
- Add an additional arbirtary pack, for example
ARM::CMSIS-NN.
- Save the Software Components view.
- Check the .clayer.yml files used by the other "active" projects, for example Boot or TrafficLight.
The packs: and components: sections in unrelated .clayer.yml files are removed. This can later lead to errors such as:
board 'KIT_T2G-B-H_LITE:V1' was not found
because the board layer no longer references the Infineon BSP/DFP packs.
Expected behavior
Saving changes for one active context should only update the active project/context and its relevant layer files. It should not modify .clayer.yml files used only by other project contexts.
Additional Information
Extension version: 1.68.0 and 1.68.1-9-11630ad
OS: Windows 11
Current behavior, Steps to reproduce and Expected behavior
When editing the Software Components view for one project context and saving the changes, the extension removes all
packs:andcomponents:nodes from .clayer.yml files that belong to other project contexts.Steps to reproduce
ARM::CMSIS-NN.The
packs:andcomponents:sections in unrelated .clayer.yml files are removed. This can later lead to errors such as:because the board layer no longer references the Infineon BSP/DFP packs.
Expected behavior
Saving changes for one active context should only update the active project/context and its relevant layer files. It should not modify .clayer.yml files used only by other project contexts.
Additional Information
Extension version: 1.68.0 and 1.68.1-9-11630ad
OS: Windows 11