Open-CMSIS-Pack / devtools

Open-CMSIS-Pack development tools - C++
Apache License 2.0
74 stars 57 forks source link

cbuild fails to install required pack #1850

Open ReinhardKeil opened 6 hours ago

ReinhardKeil commented 6 hours ago

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

image

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):

brondani commented 6 hours ago

Potentially resolvable with https://github.com/Open-CMSIS-Pack/devtools/issues/1841 - to be investigated.