Open-CMSIS-Pack / devtools

Open-CMSIS-Pack development tools - C++
Apache License 2.0
69 stars 50 forks source link

[csolution] Classic generator bootstrap component files are not listed #1560

Open brondani opened 3 weeks ago

brondani commented 3 weeks ago

Take for example the attached solution Blinky.zip where the following component is present in the PDSC (a.k.a. bootstrap): Keil::Device:STM32Cube Framework:STM32CubeMX@1.0.1 And the generated component is described in the GPDSC with a lower version: Keil::Device:STM32Cube Framework:STM32CubeMX@0.1.0

In this scenario it would be expected that the bootstrap component does not get replaced because it has a greater version, however both components are added to *.cbuild.yml and the bootstrap component files are not listed:

    - component: Keil::Device:STM32Cube Framework:STM32CubeMX@0.1.0
      condition: STCubeMX
      from-pack: Keil::FrameworkCubeMX@1.0.0
      selected-by: Keil::Device:STM32Cube Framework:STM32CubeMX
      generator:
        id: STM32CubeMX
        from-pack: Keil::STM32F7xx_DFP@2.16.0
    - component: Keil::Device:STM32Cube Framework:STM32CubeMX@1.1.0
      condition: STM32F7 Framework CubeMX
      from-pack: Keil::STM32F7xx_DFP@2.16.0
      selected-by: Keil::Device:STM32Cube Framework:STM32CubeMX
      generator:
        id: STM32CubeMX
        from-pack: Keil::STM32F7xx_DFP@2.16.0

Environment: