Skip to main content
Jan Breuer
Associate II
December 14, 2017
Question

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

  • December 14, 2017
  • 1 reply
  • 591 views
Posted on December 14, 2017 at 13:00

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

#stm32cubemx #gpdsc #bug
This topic has been closed for replies.

1 reply

ST Technical Moderator
December 14, 2017
Posted on December 14, 2017 at 13:40

Hello ,

Thank you for your reported issue.

I will raise this internally to CubeMx team for check.

Best Regards

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks