How do you change the I2C1 SDA and SCL Pin Assignments?

I'm trying to configure &i2c1 to use <&gpio1 0> for sda and <&gpio0 12> for scl. Old answers in this forum indicate that you should sent the properties `sda-pin` and `scl-pin` in your overlay file. The build system doesn't seem to like this at all. I get the error:

devicetree error: 'sda-pin' appears in /soc/peripheral@50000000/i2c@9000 in app/build/zephyr/zephyr.dts.pre, but is not declared in 'properties:' in nRFSDK/v2.4.1/zephyr/dts/bindings\i2c\nordic,nrf-twim.yaml

How do you correctly set the pins for SDA and SCL?

Related