This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How can you set up debug and release options for the Zigbee samples

When I open the Light Bulb project in Segger Embedded Studio I see a bewildering list of project items. I pick the first project, 'zephyr/merged.hex' and right click to set the project options there is no Pre-Processor definitions section where one would normally expect to define the DEBUG macro. What is the process for managing this.

As is, when I run the code the output in main.c that sends text to the debug log 'NRF_LOG()' does not result in code and a breakpoint cannot be set on it...

The same statements in some of the library files do output to the debug windows but not those in main.c. How can this be turned on?

Related