cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Makefile Template for STM32CubeMx

cvanbeek
Associate II

I have a couple of changes I would like to make to the Makefile generated by STM32CubeMx. My Toolchain/IDE is set to Makefile in the Project Manager tab. The default Makefile template has no places for custom user code, so every time the project is regenerated, any changes to the Makefile are overwritten.

I tried to find a Freemaker template (ftl file) for the Makefile, but there isn't one that I can find in the STM32CubeMx installation template folders. Is it possible to create my own Freemaker Makefile template? Otherwise, is there any other way I can extend the Makefile to make my own changes?

Best regards,

Cory

0 REPLIES 0