How to add a 'Release' configuration to a STM32Cube project
(This is similar to the topic “How to create a Release Configuration?” at http://www.openstm32.org/tiki-view_forum_thread.php?comments_parentId=1831&topics_offset=3 - hope I have that link correct! - but the discussion there has moved away from the title.)
I am very new to Eclipse, STM32Cube and SW4STM and really do not know my way around.
I can generate a project using STM32Cube and I can import that into SW4STM, and then build a debug version. Under the context menu for the project there is a “Debug as...” entry and one of the sub-menu options is AC6xxx.
However under the “Run as...” menu option in the same context menu, there is only “Run as local C/C++ application.
I have bumbled around trying to create a new configuration to run as a release version with all of the optimisations and the ability to have it run without any links back to a debugger but this just results in compiel errors in the very first code file (generally around include files not found).
While the proper solution might be for STM32Cube to generate a release configuration as well as a debug one, that is not really for this forum. Therefore can someone please provide me with a step-by-step guide to how to create a release configuration that works - or provide a link to a resource somewhere that does this.
Thanks
Susan