Guillaume Souchere
651607d1ed
fix(esp_vfs_console): Update placement of cdcacm_xx_cb when ETS print enabled
2025-10-01 08:43:44 +02:00
Guillaume Souchere
d5dca1a78d
feat(usb_cdc): Add select functionality
2025-07-29 10:14:19 +02:00
Guillaume Souchere
fd1103d39c
feat(usb_cdc): Update vfs read() to comply with POSIX standards
2025-06-17 14:27:09 +02:00
Guillaume Souchere
0650ee6900
feat(usb_serial_tag_vfs): Add test for read exit conditions
...
Add a test to make sure the VFS read does not return on reception
of the \n character
2025-06-17 14:25:44 +02:00
Guillaume Souchere
b13ade8e0c
fix(driver): remove unecessary if conditions in the read function
...
This changes affect usb_serial_jtag_vfs and cdcacm_vfs read functions.
This commit removes the exit condition on reception of \n character.
2025-06-17 14:24:50 +02:00
Tomáš Rohlínek
c6d24bddf7
fix(storage/vfs_console): stop new console opens from overwriting existing fds
2025-03-12 20:06:31 +08:00
Guillaume Souchere
4b5e246b5b
fix(esp_vfs_console): USB CDC read when non blocking
...
In non blocking mode, the read function is expected
to return weather data is available for reading or not.
In case data are available but the size does not match
the expected size, the function read should return whatever
data is available.
Previously, the function was returning -1 with errno set
to EWOULDBLOCK even if the size of data in the buffer was
less than the requested size. It would only return the
available data if the size in the buffer was greater or equal
to the requested size.
The implementation of cdcacm_read is modified to return the avilable
data from the buffer even is the size is lesser than the requested
size.
2025-02-06 09:01:30 +01:00
Tomáš Rohlínek
0cd2e72dc1
feat(storage/esp_vfs_console): move console to new vfs API
2024-11-28 13:56:33 +01:00
Tomáš Rohlínek
39197864a1
feat(storage/vfs): make part of nullfs API private
2024-11-28 13:56:32 +01:00
Tomáš Rohlínek
bb305bd109
feat(storage/esp_vfs_console): move cdcacm driver to new vfs API
2024-11-28 13:56:32 +01:00
Tomáš Rohlínek
2b75ed37b9
fix(storage/vfs): always register /dev/null on startup
2024-05-28 07:55:37 +02:00
Tomáš Rohlínek
a615f487dd
feat(storage/vfs): add /dev/null for unwanted output redirection
2024-05-28 07:54:35 +02:00
Tomáš Rohlínek
0ed8ebddb6
fix(storage/vfs_console): remove possible infinite recursion
2024-05-27 14:11:49 +08:00
Guillaume Souchere
6e628a341a
fix(console): Fsync not propagated to secondary output
...
Calls to fsync need to also be propagated to secondary
output when CONFIG_ESP_CONSOLE_SECONDARY_USB_SERIAL_JTAG
is enabled.
Closes https://github.com/espressif/esp-idf/issues/13162
2024-04-11 13:01:34 +02:00
sonika.rathi
e162903615
fix(esp_vfs_console): add esp_vfs_console component
...
move vfs_console related init steps from vfs component to new esp_vfs_console component
2024-03-11 10:18:10 +01:00