reset/remove driver settings

jumjum123
Posts: 199
Joined: Mon Oct 17, 2016 3:11 pm

reset/remove driver settings

Postby jumjum123 » Wed Feb 08, 2017 12:08 pm

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

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: reset/remove driver settings

Postby ESP_Angus » Wed Feb 08, 2017 10:23 pm

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

Who is online

Users browsing this forum: Bing [Bot] and 101 guests