nRF Connect SDK v1.7.0 printk()

Hi,

I'm working with a nRF9160 and nRF Connect SDK v1.7.0.

It looks like printk() is not outputting to UART, it previously was working when I was using nRF Connect SDK v1.6.1.

Could you let me know what I need to enable in my proj.conf file to allow for printk() to output to UART?

Thank you

Parents
  • Could you let me know what I need to enable in my proj.conf file to allow for printk() to output to UART?

    You don't need to add anything to the prj.conf in to make the printk output on UART, it should be set up by default. I just tested the hello_world sample (which has an empty prj.conf) with NCS v1.7.0 and the board nrf9160dk_nrf9160_ns, and I was able to see the printk log.

    Could you test the hello world sample with you 91 DK and check if you see the serial log in a terminal?

    Best regards,

    Simon

Reply
  • Could you let me know what I need to enable in my proj.conf file to allow for printk() to output to UART?

    You don't need to add anything to the prj.conf in to make the printk output on UART, it should be set up by default. I just tested the hello_world sample (which has an empty prj.conf) with NCS v1.7.0 and the board nrf9160dk_nrf9160_ns, and I was able to see the printk log.

    Could you test the hello world sample with you 91 DK and check if you see the serial log in a terminal?

    Best regards,

    Simon

Children
Related