I am trying to implement an already made sample from Nordic for INA219 sensor. As always it didn't work initially and showed many errors even though it was a sample code but then I figured out that sensor INA219 should be configured in the deviceTree and as usual no valid or straigh forward information was available on internet also not on NordicSemiconductor website. Then I came up on this platform and spent a lot of time in reading long Q&A sessions and figured out how to configure sensor in deviceTree. But again after adding this configuration in overlay I end up with a new error (static assertion failed: "/soc/i2c@40004000 has legacy *-pin properties defined although PINCTRL is enabled"). I changed the I2C, disabled other UART and I2C and even tried pin control but nothing worked. Even if all the problems are removed still the board cannot get flashed because of one error in the terminal that is so big that I cant even paste it here. But the thing I figured out is that if I remove the Pins from my overlay the configuration built very well.
Here is overlay code: