STM32CubeIDE 1.9.0 Question: User generated .c&.h files don't have the same functionality as the auto generated files like main.c.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-04-28 12:36 PM
I can add my own .ch files to a project and build and see the proper functionality on the MCU with no problems. However, the user generated src modules are not colorized, or system calls are not "Auto Complete" enabled like main.c module is. More importantly I can't place a break point anywhere in user .c modules (the IDE attempts to add a bookmark instead!) and have to break the code from main.c. Once in from main, I can single step in the user files normally.
The user files are in the same directory (Src/) as the main.c as are the user include files in (Inc/)
Is there a step I've missed in adding my user files?
- Labels:
-
STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-04-28 5:08 PM
Should work. You can try refreshing the workspace, rebuilding the index, and/or restarting CubeIDE. Ensure you're actually in that file and not one with the same name in another directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-02 12:41 AM
Hello there,
Could you take a screenshot of the structure of the project in your "Project Explorer" view in STM32CubeIDE? Might give us an idea of how the project is set up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-02 4:02 PM
Hi Markus,
Thanks for your response. Hopefully, the project Explorer picture is legible. It is the cmdProcessor.c file that I'm having trouble with.
Fred
