Re: Zephyr Project using Eclipse


Stefan Jaritz
 

Morning,

A bit tricky because Eclipse CDT integration of cmake is only available at the latest release and imho not very good.

1.) build from eclipse

Simplest way:
Use std. C Project. Under "C/C++ build" options >> "Builder Type: external" & "Build command: make"

before:
activate build enviroment & go to your zephyr project. create build dir, run cmake

2.) debug from eclipse

the open ocd debuger from the gnu mcu pulgin works best (https://gnu-mcu-eclipse.github.io/debug/openocd/)

create a new run config & and reset the paths:
openocd binary form the /opt/... dir

openocd.cfg from the board config

run west debugserver and start the eclipse debug config


Good luck

Stefan


On 09/11/2018 19:13, Nicholas Yameen wrote:

Hello,

 

I want to develop applications using the FRDM-K64F board from NXP using Eclipse.  Is there any way to use Eclipse as an IDE and create a program, then flash it onto the board? I want to do my development all from Eclipse.  Or do is Eclipse only used as a debugger? Thank you.

 

Regards,

Nick

Nicholas Yameen
R&D Engineer

D  978-975-9675 x59675
E  Nicholas.Yameen@...

800 Federal Street
Andover, MA 01810
United States

Blog Blog Blog Blog Blog Blog Blog 

*Please consider the environment before printing this e-mail

 

 

Join {devel@lists.zephyrproject.org to automatically receive all group messages.