How to configure GPIO pin as an I2C pin?

Related issue? https://forum.sparkfun.com/viewtopic.php?f=14&t=41371