This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Add RTT Logs to mcuboot

I am using vscode with NCS 1.9. I am trying to add RTT logs to MCUBoot as the product I am developing won't have an exposed Serial port.

I started with the hello_world example and added

# Enable mcumgr.
CONFIG_MCUMGR=y

# Enable most core commands.
CONFIG_MCUMGR_CMD_IMG_MGMT=y
CONFIG_MCUMGR_CMD_OS_MGMT=y

CONFIG_BOOTLOADER_MCUBOOT=y

CONFIG_UART_CONSOLE=n
CONFIG_RTT_CONSOLE=y
CONFIG_USE_SEGGER_RTT=y

To the prj.conf file. I build and flash the code to an nRF52840DK. The application logs appear in J-Link RTT viewer as expected and the mcuboot logs go to the serial console that I can observe using Coolterm.  

How can I change the logging for mcuboot from uart to RTT?

My preference would be to add a mcuboot.conf file to the hello_world application and not have to modify the mcuboot application witihin NCS 1.9

I tried the suggestion in this ticket but the mcuboot.conf file doesn't seem to be getting applied. devzone.nordicsemi.com/.../rtt-logging-with-mcuboot
Parents Reply Children
No Data
Related