Re: Zephyr Project using Eclipse


Serafin
 

Fwd: List


On 12/11/18 09:44, Serafin wrote:

Hi


You can let cmake generate a Eclipse project. No cmake integration in eclipse needed: See the documentation https://docs.zephyrproject.org/latest/application/application.html?highlight=eclipse#eclipse-debugging

TLDR:

cmake -G"Eclipse CDT4 - Ninja" -DBOARD=frdm_k64f %ZEPHYR_BASE%\samples\synchronization
ninja

Serafin


On 12/11/18 09:35, Stefan Jaritz wrote:

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.