Skip to main content
Tesla DeLorean
Guru
Aug 25, 2017 9:32 PM UTC
Solved

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

    This topic has been closed for replies.
    john doe
    john doeBest answer
    Senior III
    Aug 26, 2017 11:35 AM UTC
    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)

    4 replies

    john doe
    john doeBest answer
    Senior III
    Aug 26, 2017 11:35 AM UTC
    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)

    Tesla DeLorean
    Guru
    Aug 26, 2017 2:55 PM UTC
    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Jan Waclawek
    Visitor II
    Aug 26, 2017 4:02 PM UTC
    Posted on August 26, 2017 at 16:02

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

    JW