How can I set KDS to build a 'Run' version

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How can I set KDS to build a 'Run' version

跳至解决方案
906 次查看
danreltek
Contributor III

Hello All,

I'm using KDS v3.2.0 with a FRDM-KL25Z and I am only getting one build option: Debug.

How can I get the 'Run' option?

pastedImage_2.png

0 项奖励
1 解答
708 次查看
BlackNight
NXP Employee
NXP Employee

Hi Dan,

You can create new build configurations, see Build Configurations in Eclipse | MCU on Eclipse.

'Release' or 'Debug' really depends on your needs and settings, see Debug vs. Release? | MCU on Eclipse .

How to do 'Run', see Emulating Eclipse ‘Run’ with ‘Debug’ Configuration | MCU on Eclipse 

I hope this helps,

Erich

在原帖中查看解决方案

4 回复数
709 次查看
BlackNight
NXP Employee
NXP Employee

Hi Dan,

You can create new build configurations, see Build Configurations in Eclipse | MCU on Eclipse.

'Release' or 'Debug' really depends on your needs and settings, see Debug vs. Release? | MCU on Eclipse .

How to do 'Run', see Emulating Eclipse ‘Run’ with ‘Debug’ Configuration | MCU on Eclipse 

I hope this helps,

Erich

708 次查看
danreltek
Contributor III

Thanks Erich

These articles were exactly what I needed.

I guess I would classify myself as a 'printf()' debugger. While I have a degree in IT, I have never worked with other industry people, so haven't had the luxury of a mentor looking over my shoulder and saying things like "Why are you doing this the hard way?! Move over and let me show you how its done!"

I can use the debugger to single step and look at variable values but I get the feeling that if I understood how to use it properly, things would go a lot faster.

Is there a document like a tutorial on using all aspects of a debugger that you can recommend?

Thanks again

Dan

0 项奖励
708 次查看
marek-trmac
NXP Employee
NXP Employee

Hi Dan,

there are two different things:

  1. Build configuration: this affects how the build is done, what sources are build, what parameters and conditional symbols are defined. Typical names are "Debug" and "Release". In your project, you have only "Debug"
  2. The way how to start the application: either in DEBUG mode (e.g. to debug the application) or in RUN mode (without debugging). See green buttons on toolbar.

Regards

Marek

Regards,
Marek
0 项奖励
708 次查看
danreltek
Contributor III

Thanks Marek for your time,

I needed more information though. I have that now.

0 项奖励