If it's I2C then it's likely that there is C (RTOS/NONOS SDK) or C++ (RTOS SDK) code out there that can be quickly modded.
You could also find the Arduino source code and port that too - it'll be C/C++
I've ported about 5 different sensors over to the ESP SDK - it's pretty straightforward, especially I2C ones.