- Zephyr Project using Eclipse
Re: Zephyr Project using Eclipse
toggle quoted messageShow quoted text
On 12/11/18 09:44, Serafin wrote:
You can let cmake generate a Eclipse project. No cmake
integration in eclipse needed: See the documentation
cmake -G"Eclipse CDT4 - Ninja" -DBOARD=frdm_k64f %ZEPHYR_BASE%\samples\synchronization
On 12/11/18 09:35, Stefan Jaritz
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
Use std. C Project. Under "C/C++ build" options >>
"Builder Type: external" & "Build command: make"
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
On 09/11/2018 19:13, Nicholas
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?
Andover, MA 01810
consider the environment before printing this
Join firstname.lastname@example.org to automatically receive all group messages.