Changes any Peripheral pins configuration at runtime (after build and flash firmware)

Hi,
I have gone through https://docs.zephyrproject.org/latest/hardware/pinctrl/index.html#pin-control doc and zephyr\samples\boards\nrf\dynamic_pinctrl sample code.

zephyr provides support of dynamic pinctrl at build time with define alternatives pins in overlay file.

I want to define alternatives pins in file at run time(not at build time) and configured that defined pins on next reboot. Fundamentally, I want build and flash firmware one time then after I can able to change pins without build and flash again.

Is this possible using dynamic pinctrl feature?

Any other way do this with zephyr dts files?

Parents Reply Children
No Data
Related