2016-11-21 05:09 AM
Path of HAL driver is incorrect in the project generated by CubeMX when using following config:
A none default toolchain folder + Add library files as references. Then in the generated project IAR can't find HAL drivers as the path is incorrect:Because in the project.ewp there is a''$PROJ_DIR$'' redundant.
<name>$PROJ_DIR$/E:/mcu/STM32Cube/STM32Cube_FW_F3_V1.6.0/Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_spi_ex.c</name>Which should be:
<name>E:/mcu/STM32Cube/STM32Cube_FW_F3_V1.6.0/Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_spi_ex.c</name>2016-11-21 06:59 AM
Dear User,
I will report this issue to our CUBEMX team for checking, thank you for highlighting it and Sorry for the inconvenience it may bring. Best Regards STM32.forum2017-01-27 07:09 AM
Hello
to_deletegeorge bown
,This issue has been fixed in CubeMX4.18.
Could you please check with the latest version ?
Thanks in advance.
Kind regards
Sirma