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

Enabling NRF_LOG_ENABLED to log messages on Debug Terminal

Hi, I am following this tutorial to enable logging in my Debug Terminal.

https://youtu.be/uP8RYgYGRvI?t=179 

At 3:00, I am told to enable both RTT and nRF Logging.

However, on this latest version of the nRF5 SDK (v16.0.0), I'm unable to even find the "NRF_LOG_ENABLED - Logging module for nRF5 SDK" folder (see picture below).

I am using a PCA10040, v1.2.4 nRF52 DK and developing on a Windows computer.

I proceeded to enable the RTT but messages are still not logged on to my Debug Terminal.

Could you please advise? Is this now in a different folder or has there been a different name given this module?

Thanks in advanced!

Kin

Parents
  • Hi Kin,

    Please try to disable the NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED option sdk_config.h. This configuration option may prevent RTT logs from being displayed in the SES debug terminal 

    Best regards,

    Vidar 

  • Hi Vidar,

    I apologise, but could you point out from the image, which directory can I locate this "NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED" option?

    I've been looking into most directories and found no files of that title.

    Kin

  • Hi Kin,

    You can find it here:

    Also, just a tip. It's probably easier to simply open the sdk_config.h in the text editor when you're looking for a specific configuration setting.

  • Hi Vidar,

    I appreciate the tip and have taken note of it.

    On the other hand, thank you so very much as the issue has been resolved! 

    Kin

Reply Children
No Data