Hello @torntrousers
if you use GPIO 13, 14 in your code (as suggested) then in the COM.NB-IoT module you'll need to set dip switches for GPIO 16, 17 to on (the other four to off).
The GPIO numbering in modules are (so far) always matching the numbering in M5Stack (Base, Gray, Fire) devices but unfortunately M5Core2 uses some different GPIOs on the M5 bus.
This comparison I've put together a while ago might help.
Thanks
Felix