AnsweredAssumed Answered

[bug] STM32CubeMX generated GPDSC contains duplicate items and wrongly categorized files

Question asked by Jan Breuer on Dec 14, 2017
Latest reply on Dec 14, 2017 by Imen D

I have generated GPDSC file from the attached IOC project and the output has wrong items.

  • Real source files are not under correct Csub component. RCC is under USART, EXTI is under RCC, DAC and GPIO (both .c and .h files)
  • Some files are multiple times in the output lige stm32f0xx_ll_rcc.h, stm32f0xx_ll_exti.c, ...
  • some source files are wrongly categorised as header files like stm32f0xx_ll_utils.c

 

Here is part of generated GPDSC file with highlighted errors (blue are duplicates, red are wrong categories), see the attachement for complete IOC and generated GPDSC.

 

    <component Cclass="Device" Cgroup="STM32Cube HAL" Csub="USART" Cversion="1.7.0">

      <description></description>

      <files>

        <file category="header" condition="" name="Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_usart.h"/>

        <file category="source" condition="" name="Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_ll_usart.c"/>

        <file category="header" condition="" name="Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_rcc.h"/>

        <file category="source" condition="" name="Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_ll_rcc.c"/>

      </files>

    </component>

    <component Cclass="Device" Cgroup="STM32Cube HAL" Csub="RCC" Cversion="1.5.0">

      <description></description>

      <files>

        <file category="header" condition="" name="Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_bus.h"/>

        <file category="header" condition="" name="Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_cortex.h"/>

        <file category="header" condition="" name="Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_rcc.h"/>

        <file category="header" condition="" name="Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_crs.h"/>

        <file category="header" condition="" name="Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_system.h"/>

        <file category="header" condition="" name="Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_utils.h"/>

        <file category="header" condition="" name="Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_ll_utils.c"/>

        <file category="header" condition="" name="Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_exti.h"/>

        <file category="header" condition="" name="Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_ll_exti.c"/>

        <file category="header" condition="" name="Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_pwr.h"/>

        <file category="header" condition="" name="Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_gpio.h"/>

        <file category="header" condition="" name="Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_dma.h"/>

      </files>

    </component>

 

MCU: STM32F030F4Px

PC OS: Linux

CubeMX version: 4.23.0

Firmware package: STM32Cube FW_F0 V1.9.0

Outcomes