When a layer requests a higher DFP pack version, but a previous DFP pack version is installed, the installation of the pack potentially fails. The issue is caused as there is a *.cbuild-pack.yml written that fixes the DFP version before layer detection is completed.
A potential solution is to not write the cbuild-pack.yml for csolution projects that have incomplete layer selection.
To Reproduce
Ensure that only STM32U5xx_DFP version 2.x.x is installed
Use this project USB_Device.zip and execute cbuild setup, you should see the errors from the picture.
Expected behavior
cbuild setup should install the missing DFP 3.0.0 version that is requested by the layer.
Environment (please complete the following information):
Describe the bug
When a layer requests a higher DFP pack version, but a previous DFP pack version is installed, the installation of the pack potentially fails. The issue is caused as there is a
*.cbuild-pack.yml
written that fixes the DFP version before layer detection is completed.A potential solution is to not write the
cbuild-pack.yml
for csolution projects that have incomplete layer selection.To Reproduce
cbuild setup
, you should see the errors from the picture.Expected behavior
cbuild setup should install the missing DFP 3.0.0 version that is requested by the layer.
Environment (please complete the following information):