cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX - Bug - IAR Project Generator

MasterPhi
Associate II
Posted on November 21, 2016 at 14:09

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.

0690X00000604vvQAA.png

0690X00000604wcQAA.png

 Then in the generated project IAR can't find HAL drivers as the path is incorrect:

0690X00000604q2QAA.png

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>

2 REPLIES 2
Imen.D
ST Employee
Posted on November 21, 2016 at 15:59

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.forum

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Sirma Siang
ST Employee
Posted on January 27, 2017 at 16:09

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