feat(esp_stdio): Revert breaking change

- also revert the modification in the singature of uninstall function
in all the concerned esp_driver* components and esp_stdio.
- added proper documentation of the feature in the programming guide
This commit is contained in:
Guillaume Souchere
2026-09-15 11:49:55 +02:00
parent 096e32f0ed
commit 3c1e75706f
15 changed files with 99 additions and 30 deletions
@@ -205,7 +205,7 @@ TEST_CASE("install/uninstall are no-ops with user primary", "[esp_stdio]")
TEST_ASSERT_EQUAL(ESP_OK, esp_stdio_push_primary(h));
TEST_ASSERT_EQUAL(ESP_OK, esp_stdio_install_io_driver());
TEST_ASSERT_EQUAL(ESP_OK, esp_stdio_uninstall_io_driver());
esp_stdio_uninstall_io_driver();
TEST_ASSERT_EQUAL(0, mock_a.open_count); /* driver not initialised by install */
TEST_ASSERT_EQUAL(ESP_OK, esp_stdio_pop_primary(NULL));