Skip to main content
MasterPhi
Associate II
November 21, 2016
Question

STM32CubeMX - Bug - IAR Project Generator

  • November 21, 2016
  • 2 replies
  • 675 views
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>

    This topic has been closed for replies.

    2 replies

    ST Technical Moderator
    November 21, 2016
    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

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
    Sirma Siang
    ST Employee
    January 27, 2017
    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