How to turn off the generation of these (DSP, RTOS, RTOS2, etc.) if I use a very simple STM32F103C code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-08 6:03 AM - edited ‎2023-11-20 8:42 AM
Hi,
I'm a beginner, and I try to use STM32F103C8 IC for very simple thing.
I updated Ide and MX program to CubeIde 1.12 and CubeMx 6.8. Now I can not Build my project.
There are many error messages which you can see in the picture.
If I see the Drivers tree, the RTOS2 is marked red icon.
1.) I don't understand the CubeMX why generated DSP, RTOS, RTOS2 etc. parts if I didn't ask for them.
2.) How to turn off the generation of these (DSP, RTOS, RTOS2, etc.)?
3.) What else needs to be installed on my machine so that the build process works properly?
Just as an example, I have included a picture of a previous generated C code produced by CubeMx 6.7 and CubeIde 1.11. You can see how much simpler the structure was.
Best regards
Zoltan
- Labels:
-
STM32CubeIDE
-
STM32CubeMX
-
STM32F1 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-08 6:14 AM
so why not use cubemx 6.7 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-08 6:41 AM
Yes, the question occurred to me. :)
I have 3 machines and now I finally installed the same version on all of them. I don't want to deal with the installation again. In addition, CubeIde also forces version 6.8.
I think it would be better to fix everything now, and then I wouldn't have to update for a long time...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-08 7:11 AM
>then I wouldn't have to update for a long time...
ha ha ... "long" is then about 3 month for you ?
i updated last year, IDE 1.10.1; now is 1.12. ...
i dont wanna update all the time, to get new surprise, whats no more working and worked perfect before.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-08 9:33 AM
Looks like we have the solution.
If CubeMx version 6.8 creates the project and the main code, then the RTOS2 part will be included. I think this is a malfunction.
If we create the new project in the CubeIde program and simply import the previous ioc file, CubeIde already generates the src code correctly and the build project runs without errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-10 2:44 AM
Hello @Szujo​
First let me thank you for posting .
Could you please provide the exact steps made to get the mentioned result in the first comment.
Thanks in advance
Ghofrane
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-16 8:10 AM
Dear Ghofrane,
I experienced a malfunction in the following case:
a.) I installed CubeMx version 6.8 with default settings.
b.) I made a simple setup for the BluePill module. For example: crystal oscillator, SW debug, Timer3 PWM setting without IT.
c.) I saved the project in the CubeMx application and generated the C code.
The C code and project contained components that CubeIde could no longer translate or link.
I hope that the individual steps can be followed, and that the error phenomenon
Best regards
Zoltán
