Hello World doesn't print to RTT

I've downloaded a fresh copy of NCS 2.0.0 and created a brand new application in an empty workspace based on the Hello World sample. The only modification I've made is putting the printk inside a while loop. I've done this to test why my k_timer was expiring immediately with 0 return value but now I'm getting no RTT output even though the device says connected.

/*
 * Copyright (c) 2012-2014 Wind River Systems, Inc.
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#include <zephyr.h>

void main(void)
{
	while(1){
		printk("Hello World! %s\n", CONFIG_BOARD);
		k_sleep(K_SECONDS(2));
	}
}

The board I'm using is an NRF52840 (not dev kit) and configured it for NRF52840DK_NRF52840. The prf.conf contains 

CONFIG_UART_CONSOLE=n
CONFIG_RTT_CONSOLE=y
CONFIG_USE_SEGGER_RTT=y
Related