Accessing ttyS0 on Raspberry Pi 3 running Ubuntu Core

You might be interested in this discussion Gadget providing serial-port slot