How to add new hardware devices to Solution

I want to add an encoder hardware with an I2C interface to the Solution; how should I add it?

参考链接:I2C - SiFli Solution Documents 文档