2019-08-12 04:09 AM
Hi,
In current CubeMX (I had this problem for F0) when adding an IRDA interface there are some UART_ defines which are fogotten to be replaced by their IRDA_ counterparts in stm32f0xx_hal_irda.c.
This results in a compilation error of the file stm32f0xx_hal_irda.c. In case another UART is added to the project this error will not come up since the UART_ defines will be known (and are in fact same as IRDA_ defines).
Example:
in file "stm32f0xx_hal_irda.c.":
UART_PARITY_NONE (unknown), -> should be IRDA_PARITY_NONE
...