Hi PJ,
Max from Germany spotted the problem! I was using the wrong XIAO. The PlatformIO.ini file simply needed to say this I had the wrong platform, wrong speed and the wrong board.
[env:seeed_xiao_esp32s3].
platform = espressif32
board = seeed_xiao_esp32s3
framework = arduino
monitor_speed = 9600