Guillaume Souchere
139df47cf3
feat(usb_cdc): Update vfs read() to comply with POSIX standards
2025-06-06 11:41:26 +02:00
Guillaume Souchere
24048d8267
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-05 12:14:50 +02:00
Guillaume Souchere
a3270694f0
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-03 12:04:14 +02:00
igor.udot
daf2d31008
test: format all test scripts
2025-03-05 12:08:48 +08:00
Guillaume Souchere
ae7c8691d9
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-01-30 08:51:54 +01:00
Alexey Lapshin
888b5f7e8d
feat(newlib): add picolibc support
2024-12-02 21:35:56 +07:00
Tomáš Rohlínek
f59362266a
fix(storage/vfs_console): stop new console opens from overwriting existing fds
2024-11-28 13:12:22 +01:00
Guillaume Souchere
181c903b0b
feat(usb_cdc): Add select functionality
2024-11-26 06:12:37 +01:00
Tomáš Rohlínek
aae0825587
feat(storage/esp_vfs_console): move console to new vfs API
2024-11-21 07:41:42 +01:00
Tomáš Rohlínek
3d079312b1
feat(storage/vfs): make part of nullfs API private
2024-11-21 07:41:41 +01:00
Tomáš Rohlínek
10e74d3abb
feat(storage/esp_vfs_console): move cdcacm driver to new vfs API
2024-11-21 07:41:41 +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