I am wondering If there's any example to demonstrate how I can configure a pin on the nRF52840DK through an overlay.
I have manipulated the board device tree and replaced the LED pin number with one of the DK's pin and I was able to use the pin through the device tree spec apis, in other words,
I know that I can also use DEVICE_DT_GET() and gpio_pin_configure() and I am actually doing that for gpio pin configuration in my projects, but I want to learn how I can configure with device tree spec APIs? Is there a way to add an overlay file and do this without the need to manipulate the DK board's device tree file?
Thanks