cancel
Showing results for 
Search instead for 
Did you mean: 

Bug, Code generation in STM32CubeMX

JongOk Baek
Associate III
Posted on September 26, 2016 at 07:16

Hello,

I used STM32CubeMX with 4.16.0 or 4.16.1 version.

below situation :

''STM32Cube Firmware Library Package'' option is ''Add necessary library files as reference in the toolchain project configuration file''

IAR's error message is all same below 

Fatal Error[Pe1696]: cannot open source file ''D:\Work\IAR_WORK\ARM\Projects\ZNC-514B_3MCU-S1\EWARM\D:\Temp\

STM32CubeMx\STM32Cube_FW_F7_V1.4.0\Middlewares\Third_Party\FreeRTOS\Source\timers.c''

So, IAR cannot find Driver files(HAL_Driver's files)

Because included wrong path for Driver files.

- �Toolchain Folder Location� is 

D:\Work\IAR_WORK\ARM\Projects\ZNC-514B_3MCU-S1\EWARM\

Repository Folder

� is 

D:\Temp\STM32CubeMx\STM32Cube_FW_F7_V1.4.0\Middlewares\Third_Party\FreeRTOS\Source\timers.c0690X00000604maQAA.png

Why combined file path in generation code?

#bug-stm32cubemx
10 REPLIES 10
Arnold Bischof
Associate III
Posted on November 30, 2016 at 15:18

Hello

I have just checkd with the new cubeMX 4.18.

The problem seems to be solved.

Reagrds A.B.