I want to use rttloggers.
How to open rtlogger in nrf9160 example asset_tracker
I want to use rttloggers.
How to open rtlogger in nrf9160 example asset_tracker
Hello,
in order to use the rtt logging you need these options in prj.conf.
CONFIG_UART_CONSOLE=n CONFIG_RTT_CONSOLE=y CONFIG_HAS_SEGGER_RTT=y
Not sure if this answers your question.
1.You provide this routine to compile the error:
The error is as follows:
2. There are two configuration routines available at the bottom:
2.1 Open rtt logger close uart logger:
CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y
CONFIG_UART_CONSOLE=n
2.2 Open uart logger off rt logger
CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y
CONFIG_UART_CONSOLE=y
2.3 Unfortunately, I haven't found the option to open both the uart and rt loggers, but the good news is that the rtt loggerisis is ready for now.
1.You provide this routine to compile the error:
The error is as follows:
2. There are two configuration routines available at the bottom:
2.1 Open rtt logger close uart logger:
CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y
CONFIG_UART_CONSOLE=n
2.2 Open uart logger off rt logger
CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y
CONFIG_UART_CONSOLE=y
2.3 Unfortunately, I haven't found the option to open both the uart and rt loggers, but the good news is that the rtt loggerisis is ready for now.
Yes, I meant CONFIG_USE_SEGGER_RTT, not CONFIG_HAS_SEGGER_RTT. You can find the options at https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/tools/nordic_segger.html?#rtt-console.