I added an edit to my original post above relating to the settings required when using the Arduino IDE to load code onto the V4 board but the comment relating to the change required to the ~/Documents/Arduino/hardware/heltec/esp32/boards.txt file may not be as clear as it could be. The entries that need to be updated in the boards.txt file are as follows:
heltec_wifi_lora_32_V4.menu.CDCOnBoot.default=Enabled
heltec_wifi_lora_32_V4.menu.CDCOnBoot.default.build.cdc_on_boot=1
