2019-05-22 02:25 AM
Hi,
when I generate a example for the STM32F407ZET everything is fine, until I check the option freeRTOS
After this the includes are not correct anymore:
STM32Cube_FW_F4_V1.24.1
VS + VGDB
2019-05-22 05:25 AM
Can the Cube generate project for Visual GDB? Which format is it?
How the includes look before and after freeRTOS?
-- pa
2019-05-22 07:10 AM
If I disable the frertos cube, the project is compiled. If I turn on the freertos again, the project is not compiled.
I videotaped a project compilation.
https://drive.google.com/open?id=1tYIXRKeZ5p_72ZSasvTS6WnIQx09Qxbd
https://drive.google.com/open?id=1TxZKC92BiQjyApAJ0fn2ls9rVYOpaerz
https://drive.google.com/open?id=1TPU8NLSKlJ4woLYCalKuKRkU_1ElMYi6
-- Evgeni
2019-05-23 09:07 AM
Hi, help me please with this problem. In the previous post I posted a video compilation of the project. If it's not convenient for you to download from the cloud, I can put it on YouTube
2019-05-23 01:15 PM
Those error messages are LINKER errors, not include file errors. Looks like some of the FreeRTOS files or libraries are not being included in the linker command (or maybe even compiled).
Disclaimer: I have zero experience with FreeRTOS, so I don't know if its files compile to a library, or if they are compiled and linked just like your own source files. And I have zero experience with VisualGDB (though some experience with VisualStudio). And I haven't watched the videos (can't access them from work).
See what source files contain those missing functions. Then look at your build log and see if those files were compiled. Then look at the linker command (or command file) and see if those files were included in the linker file list.
2019-05-23 01:40 PM
Continuing... and going back to what @Pavel A. asked about whether CubeMX generates projects for VS/VisualDBG. I presume not. When you add FreeRTOS via CubeMX, you need to add those new source files to your VisualStudio project. That won't happen automatically.
2019-05-24 02:28 AM
Files are added automatically, but I created a new project and added files manually, there is a description of functions in the header file of the freertos and it is connected to the compiler, but the compiler does not find the freertos function. Below is a link to YouTube from the video where I compile the project. As well as a link to the similar problem as mine.
https://community.st.com/s/question/0D50X00009XkeqqSAB/cube-mx-4240-freertos-problem
2019-05-24 02:31 AM
Before the cube was updated, everything compiled without problems