2019-02-27 12:30 AM
Hi
with STM32CubeMX 5.1.0 on STM32F746BGTx there is an issue when I enable RS485.
Cube doesn't genrate all funtions related to RS485, for example the main inizialization function HAL_RS485Ex_Init is not present in the code generated by Cuce.
Attached the simple project file that generate the issue.
Best regard.
Gianluca Costa
Solved! Go to Solution.
2019-03-01 02:43 AM
Hi
In fact the problem is that CubeMx doesn't copy the file stm32f7xx_hal_uart_ex.c in the folder Drivers\STM32F7xx_HAL_Driver\Src
A temporary workaround is to copy it manually from the CubeMx repository:
cube\repository\STM32Cube_FW_F7_V1.15.0\Drivers\STM32F7xx_HAL_Driver\Src
to you project folder Drivers\STM32F7xx_HAL_Driver\Src
Frantz
2019-03-01 02:43 AM
Hi
In fact the problem is that CubeMx doesn't copy the file stm32f7xx_hal_uart_ex.c in the folder Drivers\STM32F7xx_HAL_Driver\Src
A temporary workaround is to copy it manually from the CubeMx repository:
cube\repository\STM32Cube_FW_F7_V1.15.0\Drivers\STM32F7xx_HAL_Driver\Src
to you project folder Drivers\STM32F7xx_HAL_Driver\Src
Frantz