Skip to content

Blinky example for nRF52/Zephyr using CMake/GNU/J-Link + VSCode/CortexDebug

Notifications You must be signed in to change notification settings

cracked-machine/Zephyr_nRF52_Empty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blinky example for nRF52/Zephyr using CMake/GNU/J-Link + VSCode/CortexDebug

This example is a template VSCode project demonstrating how to develop applications using Zephyr RTOS for nRF52832 devices outside of the Zephyr repo tree.

Copy your source files into src and add the required KConfig options into prj.conf.

  • You must have a Zephyr repository somewhere on your PC. However, West is not required to build/run/debug this project.
  • ZEPHYR_BASE, BOARD and CONF_FILE are set locally in the CMakeLists.txt file.
  • Building: CMake/Ninja.
  • Debug: JLinkGDBServerCLExe (.vscode/launch.json) and Cortex-Debug
  • Terminal I/O: JLinkRTTClient (run in terminal before starting debugger)
  • Direct flash program: JLinkExe (jlink/flash.sh).

Note, RTT monitor config in CMakeLists.txt and jlink/jlink_rtt.conf. More info: Serial output with JLinkRTTClient on the nRF52-DK with Zephyr

About

Blinky example for nRF52/Zephyr using CMake/GNU/J-Link + VSCode/CortexDebug

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published