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

Disable logging from prj.conf file

Hi. I want to evaluate the current consumption of the nrf9160 module (I have a Thingy91) and I want to disable all logging functions. I started with the mqtt_simple example and added these lines to the prj.conf file:

CONFIG_LOG=n
CONFIG_SERIAL=n
CONFIG_STDOUT_CONSOLE=n
CONFIG_UART_INTERRUPT_DRIVEN=n

However, I get a compiler error: "undefined reference to z_impl_uart_irq_rx_enable" at line 129 in uart.h

Is this not the correct way of doing it? What am I missing? 

Parents Reply Children
Related