Page 1 of 1

reset/remove driver settings

Posted: Wed Feb 08, 2017 12:08 pm
by jumjum123
In my application something like reset driver hardware is needed.
This includes assignment to GPIOS, interrupts, handler, ....
Some of the driver have a kind of uninstall, some don't.
Please see, and correct(?) my list with solution comin to my mind
- rmt rmt_driver_uninstall
- ledc ??
- timer timer_disable_intr
- uart uart_driver_delete
- spi spi_bus_remove_device, spi_bus_free
- i2c i2c_driver_delete

Re: reset/remove driver settings

Posted: Wed Feb 08, 2017 10:23 pm
by ESP_Angus
This is a good point, any driver which doesn't have an uninstall function should probably have one.

Could you please open an issue on github for this, so we can keep track of it?


Angus