AnsweredAssumed Answered

Bug, Code generation in STM32CubeMX

Question asked by JongOk Baek on Sep 26, 2016
Latest reply on Nov 30, 2016 by Arnold Bischof
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.cerror_iar.png

Why combined file path in generation code?

Outcomes