feat(esp_stdio): add custom IO registration

This commit is contained in:
Guillaume Souchere
2026-09-09 09:00:45 +02:00
parent 4cf9d611e6
commit 654db440cb
30 changed files with 1093 additions and 220 deletions
+2 -1
View File
@@ -21,9 +21,10 @@ static void disable_raw_mode(void)
assert(tcsetattr(STDIN_FILENO, TCSAFLUSH, &s_orig_termios) == 0);
}
void linux_vfs_dev_port_deinit(linux_port_config_t *config)
esp_err_t linux_vfs_dev_port_deinit(linux_port_config_t *config)
{
(void)config;
return ESP_OK;
}
esp_err_t linux_vfs_dev_port_init(linux_port_config_t *config)
@@ -43,8 +43,9 @@ esp_err_t linux_vfs_dev_port_init(linux_port_config_t *config);
* switching to another console interface.
*
* @param config Pointer to the Linux console port configuration.
* @return ESP_OK if the driver was successfully uninstalled, or an error otherwise.
*/
void linux_vfs_dev_port_deinit(linux_port_config_t *config);
esp_err_t linux_vfs_dev_port_deinit(linux_port_config_t *config);
#ifdef __cplusplus
}