cancel
Showing results for 
Search instead for 
Did you mean: 

[BUG][Fixed in 4.25]STM32CubeMX - stm32f1xx_hal_spi_ex.h is not copied to the GPDSC project

martonmiklos
Senior
Posted on June 01, 2017 at 15:15

I have generated a GPDSC project with CubeMX 4.0 for an STM32F103C8Tx which utilized the SPI1 peripherial.

In the output XML the following section is present:

 <component Cclass='Device' Cgroup='STM32Cube HAL' Csub='SPI' Cversion='0.2.0'>
 <description></description>
 <files>
 <file category='header' condition='' name='Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_spi.h'/>
 <file category='source' condition='' name='Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_spi.c'/>
 <file category='header' condition='' name='Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_spi_ex.h'/>
 <file category='source' condition='' name='Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_spi_ex.c'/>
 </files>
 </component>�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?

However the stm32f1xx_hal_spi_ex.h is not present in the Drivers\STM32F1xx_HAL_Driver\Inc folder:

mm@mm-imac:/tmp/pocs$ ll Drivers/STM32F1xx_HAL_Driver/Inc/*
-rw-rw-r-- 1 mm mm 48934 jún 1 11:36 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h
-rw-rw-r-- 1 mm mm 52075 jún 1 11:36 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h
-rw-rw-r-- 1 mm mm 6955 jún 1 11:36 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_can_ex.h
-rw-rw-r-- 1 mm mm 38445 jún 1 11:36 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_can.h
-rw-rw-r-- 1 mm mm 19962 jún 1 11:36 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
-rw-rw-r-- 1 mm mm 8482 jún 1 11:36 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
-rw-rw-r-- 1 mm mm 12120 jún 1 11:36 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
-rw-rw-r-- 1 mm mm 19528 jún 1 11:36 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
-rw-rw-r-- 1 mm mm 39240 jún 1 11:36 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
-rw-rw-r-- 1 mm mm 10768 jún 1 11:36 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
-rw-rw-r-- 1 mm mm 35974 jún 1 11:36 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
-rw-rw-r-- 1 mm mm 13269 jún 1 11:36 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
-rw-rw-r-- 1 mm mm 11612 jún 1 11:36 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
-rw-rw-r-- 1 mm mm 26132 jún 1 11:36 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h
-rw-rw-r-- 1 mm mm 13494 jún 1 11:36 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
-rw-rw-r-- 1 mm mm 103053 jún 1 11:36 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
-rw-rw-r-- 1 mm mm 70185 jún 1 11:36 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
-rw-rw-r-- 1 mm mm 27251 jún 1 11:36 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
-rw-rw-r-- 1 mm mm 14487 jún 1 11:36 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
-rw-rw-r-- 1 mm mm 82272 jún 1 11:36 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
-rw-rw-r-- 1 mm mm 35999 jún 1 11:36 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?

#cubemx #bug
1 ACCEPTED SOLUTION

Accepted Solutions
Jeanne Joly
Senior III
Posted on March 20, 2018 at 17:43

Hello

Marton.Miklos

,

This issue is now fixed in the current CubeMX release.

Please, upgrade with CubeMX4.25 if not already done.

BR. Jeanne

View solution in original post

3 REPLIES 3
Imen.D
ST Employee
Posted on June 05, 2017 at 11:31

Hi

Marton.Miklos

I confirm this limitation.

Please note that this issue is reported internallyto our CubeMx team for fixing it.

Thanks

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Jeanne Joly
Senior III
Posted on March 20, 2018 at 17:43

Hello

Marton.Miklos

,

This issue is now fixed in the current CubeMX release.

Please, upgrade with CubeMX4.25 if not already done.

BR. Jeanne

Posted on March 21, 2018 at 08:44

Wokring fine, many thanks for the fix!