I am trying to get this forum.segger.com/index.php/Thr…Build-Option-D-Questions/ working and have found a working solution yet.
What I'm trying to do is be able to build via the GUI and have a default version string 0.0.0 be used in the build. Then when I run my CI/CD scripts with embuild I want to have a version defined via my build scripts injected into embuild. I can successfully get the version into my application when building from the embuild but I'm having trouble getting the default version to work from the GUI. If have tried using Project Marcos and #ifdef's but that doesn't seem to work. Can you please tell me how to accomplish this?
Thanks,
What I'm trying to do is be able to build via the GUI and have a default version string 0.0.0 be used in the build. Then when I run my CI/CD scripts with embuild I want to have a version defined via my build scripts injected into embuild. I can successfully get the version into my application when building from the embuild but I'm having trouble getting the default version to work from the GUI. If have tried using Project Marcos and #ifdef's but that doesn't seem to work. Can you please tell me how to accomplish this?
Thanks,