cancel
Showing results for 
Search instead for 
Did you mean: 

using CUBEMX to generate makefile type project output (custom .h .c files)

Javier1
Principal

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?

Javier1_0-1702476202316.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Pavel A.
Evangelist III

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.

View solution in original post

1 REPLY 1
Pavel A.
Evangelist III

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.