Evaluating I2C to connect Sensirion SHT31 to nRF5340DK no output to console (monitor)

Hi could you provide any insight on the following issue:

Source code in main.c

#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/drivers/sensor.h>
#include <stdio.h>

#define SLEEP_TIME_MS 1000

int main(void)
{
        while(1)
        {
                printf("Hello World!\n");
                k_msleep(SLEEP_TIME_MS);
        }
        return 0;
}
If this code is built and flashed to the nRF5340DK the output is visible in the console (monitor) when the prj.conf file is blank.
If prj.conf is edited to include CONFIG_I2C=y following a pristine build and flash no output is visible in the console.
I am using V2.6.1 toolchain and have tried it in both Windows 11 and Debian Linux using nrf Connect.
This is the first time I have submitted a query and I hope I have provided sufficient information.
My intention is to use the samples/sensor/sht3xd example but without output to the console I am unable to make progress.
Thanks
Related