2017-08-25 02:32 PM
L4 Cube V1.8.0
IS_SPI_DMA_HANDLE() macro not defined in stm32l4xx_hal_spi.h, USE_FULL_ASSERT build fails
Solved! Go to Solution.
2017-08-26 04:35 AM
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)
2017-08-26 04:35 AM
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)
2017-08-26 07:55 AM
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
2017-08-26 09:02 AM
Moreover, it's not a patch (as in diff).
JW
2017-08-27 09:06 AM
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