Skip to main content
Tesla DeLorean
Guru
August 25, 2017
Solved

L4 Cube Bug IS_SPI_DMA_HANDLE

  • August 25, 2017
  • 4 replies
  • 771 views
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.
    Best answer by john doe
    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
    August 26, 2017
    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
    August 26, 2017
    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
    August 26, 2017
    Posted on August 26, 2017 at 16:02

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

    JW