cancel
Showing results for 
Search instead for 
Did you mean: 

L4 Cube Bug IS_SPI_DMA_HANDLE

Posted on August 25, 2017 at 23:32

L4 Cube V1.8.0

IS_SPI_DMA_HANDLE() macro not defined in stm32l4xx_hal_spi.h, USE_FULL_ASSERT build fails

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
1 ACCEPTED SOLUTION

Accepted Solutions
john doe
Lead
Posted on August 26, 2017 at 13:35

its added in 1.8.1:

STM32Cube/Repository/STM32Cube_FW_L4_V1.8.1/Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:#define IS_SPI_DMA_HANDLE(HANDLE) ((HANDLE) != NULL)

View solution in original post

4 REPLIES 4
john doe
Lead
Posted on August 26, 2017 at 13:35

its added in 1.8.1:

STM32Cube/Repository/STM32Cube_FW_L4_V1.8.1/Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_spi.h:#define IS_SPI_DMA_HANDLE(HANDLE) ((HANDLE) != NULL)

Posted on August 26, 2017 at 14:55

Unfortunately that is not the version provided for download, I'm just pulling the BSP and library elements. I had worked around with my own define.

Perhaps ST should list the incremental versions on the download page

http://www.st.com/en/embedded-software/stm32cubel4.html

 
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on August 26, 2017 at 16:02

Moreover, it's not a patch (as in diff).

JW

Posted on August 27, 2017 at 16:06

There surely has to be a better way to provide this software. I had to get one of my boxes pull the .ZIP via CubeMX

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..