DEPRECATED, use https://github.com/Versal/versal-gadget-api