How to setup serial port slott on ubuntu not core

I know serial-port slot defined in gadget snap, so other snap can use serial-port interface to access it. But I found there is no gadget snap in ubuntu (not ubuntu core). I want the same snap can both work in ubuntu and ubuntu core. So do I need to create a gadget snap for ubuntu?

please see

this was discussed last week already …