customization using .ftl and .extSettings not working
- February 21, 2019
- 3 replies
- 1302 views
Hello,
I am using CubeMX version 4.27.0 and trying to customize the code generation. My project is configured as a Makefile project.
First I tried to use the .extSettings file to make minor modifications to the generated Makefile. Nothing worked as advertised.
- Adding the [Groups] section to the file did not create a new group of files but rather appended the source files to the C_SOURCES list.
- Added the [Others] section and attempted to add a new define. This was ignored. I did not try to modify the HALModule options.
Then I tried to generate a sample.h file following the instructions. This did not work. The file was stripped down to the bare bones to avoid any possible file generation issues. It still did not work. The file is attached for your reference. I also tried copying the file into the templates directory vs. the extra_templates directory. It still didn't work.
As an extra precaution, CubeMX was restarted prior to each new test.
This is a very cool feature I would like to use but it appears to be totally non-functional.
Thanks
