Cube MX 5.2.0 FreeRTOS Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-22 2: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
- Labels:
-
FreeRTOS
-
STM32CubeMX
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-22 5:25 AM
Can the Cube generate project for Visual GDB? Which format is it?
How the includes look before and after freeRTOS?
-- pa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-22 7: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-23 9: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-23 1: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-23 1: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-24 2: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-24 2:31 AM
Before the cube was updated, everything compiled without problems
