2024-04-22 02:38 AM
It's possible to add my own piece of code to the make file? I'm asking because I've already tried to add it, but after clicking the "Build" button, my code disappears!
PS - I want to add "Generate packed filesystem for serving Web UI".
2024-04-23 09:57 AM - edited 2024-04-23 09:59 AM
If you generate a project in CubeIDE as a makefile, or CMake, or have your own makefile - of course you can modify the makefile and add anything.
If you're using so called managed *external* builder - it is possible to add some "hooks" into automatically generated makefiles. Please refer to general Eclipse CDT documentation. Of course if you just edit the generated makefiles your changes will be lost. Much easier option - use pre- and post- build actions where you can run any commands, including scripts and makefies.