Skip to content

Commit 522130a

Browse files
trantanenrlubos
authored andcommitted
samples: cellular: modem_shell: Disable CONFIG_LOG_RUNTIME_FILTERING
CONFIG_LOG_RUNTIME_FILTERING is enabled by default whenever CONFIG_SHELL is enabled. However, this is not really useful unless CONFIG_LOG_CMDS is enabled, or log_filter_set() is used at run-time. While this is done to make sample.cellular.modem_shell_modem_uart_trace configuration from sample.yaml to fit into FLASH for thingy91, all configurations benefit from this by ~5.5kB of FLASH. Signed-off-by: Tommi Rantanen <tommi.rantanen@nordicsemi.no>
1 parent c077ade commit 522130a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

samples/cellular/modem_shell/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ CONFIG_SETTINGS=y
151151
# Debugging configurations
152152
CONFIG_ASSERT=y
153153
CONFIG_LOG=y
154+
CONFIG_LOG_RUNTIME_FILTERING=n
154155
# Keep printk() synchronous
155156
CONFIG_LOG_PRINTK=n
156157
#CONFIG_DEBUG_OPTIMIZATIONS=y

0 commit comments

Comments
 (0)