using CUBEMX to generate makefile type project output (custom .h .c files)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-13 6:02 AM - edited ‎2023-12-13 6:04 AM
Is there a way to include in the makefile out custom .c .h , other than manually including each .c by hand in the makefile C_SOURCES?
Solved! Go to Solution.
- Labels:
-
STM32CubeMX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-13 8:43 AM - edited ‎2023-12-13 8:43 AM
Yes. Since recent CubeMX versions can specify a post-generate command, this is how you can modify the generated output and add your files. Also see the CubeMX user guide UM1718 on the .extSettings file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-13 8:43 AM - edited ‎2023-12-13 8:43 AM
Yes. Since recent CubeMX versions can specify a post-generate command, this is how you can modify the generated output and add your files. Also see the CubeMX user guide UM1718 on the .extSettings file.
