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

Deactivate UART and/or logging functions

Hi, starting from the demos on the devboard, I want to make a custom pcb work now. For that, I do not need UART/logging functions, which will otherwise cost me current consumption and additional lines of code only. I found a few topics here, but none really explained how you disable it. I tried to remove all logging functions and bibs in the main individually, but that did not fully work, specific pins were still blocked. I then removed the logging bibs from the makefile also, but it seems that almost all other bibs in the demo use nrf_log. the amount was crazy, why is that? Should I remove all of them also, or what is the usual way?

Parents Reply Children
Related