how to release a  kinetis project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to release a  kinetis project

529 Views
Premjee
Contributor II

Hello, I am using cw10.4, built a project with k12dx256vlh5, now at the end of the project and the release option as to debug is not available, has that been discontinued or I have to do something else to go into the release version.  This is supposed to free up the Jtag debug port.  I do not use the debug port for other functions.  interested in knowing about release.

Thanks,

jeevan

Labels (1)
0 Kudos
Reply
1 Reply

367 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hello Jeevan.

Let's see Debug and Release in the Desktop World:

In the Desktop World, ‘Debug’ and ‘Release’ builds have following typical meaning:

  1. Debug builds have debugging and symbolic information included. The compiler is not optimizing to make debugging ‘easier’.
  2. Release builds have the debugging and symbolic information (Dwarf in ELF/Dwarf files) stripped off. Optimizations are enabled for best performance or code density.

By default, debug and release mode is the same in CW10. in a MQX project, the difference between debug mode and release mode is optimization level setting.

In debug mode: optimization level is 1.

In release mode: optimization level is 4.

You can also refer Erich blog for this topic

http://mcuoneclipse.com/2012/06/01/debug-vs-release/

=====================================================================

if this answers your question, please click on "Correct Answer" button,. thansk!

Best Regards,

Zhang Jun

0 Kudos
Reply