Song Ruo Jing
233ab81bd1
fix(uart_vfs): read() now aligned to POSIX defined behavior
...
- For blocking mode, block until data available
- Return with the bytes available in the file at the time,
it should not block until reaching the requested size
And read() should not realy return on the newline character
Closes https://github.com/espressif/esp-idf/issues/14155
2024-12-05 15:59:05 +08:00
Alexey Lapshin
0b24bebf96
fix(vfs): fix warnings found by GNU static analyzer
2024-08-21 14:03:48 +07:00
Jeroen Domburg
4af418c534
refactor(usb-serial-jtag): usb-serial-jtag driver simplification to fix rom print coexistence
2024-07-08 14:47:25 +08:00
Jiang Jiang Jian
232b0145bd
Merge branch 'docs/update_esp_vfs_notes_v5.2' into 'release/v5.2'
...
docs(vfs): update esp_vfs_register_fd api description (v5.2)
See merge request espressif/esp-idf!30426
2024-07-01 10:28:56 +08:00
Marius Vikhammer
25fd5cf0a5
Merge branch 'fix/fsync-call-propagation-to-secondary-console_v5.2' into 'release/v5.2'
...
fix(console): Fsync not propagated to secondary output (backport v5.2)
See merge request espressif/esp-idf!30262
2024-06-25 16:08:14 +08:00
sonika.rathi
92be115237
docs(vfs): update esp_vfs_register_fd api description
...
Closes https://github.com/espressif/esp-idf/issues/11586
2024-04-23 15:24:58 +02:00
Xu Si Yu
c3398f3373
fix(vfs): make case eventfd_select_block exit normally
2024-04-22 20:24:05 +08:00
Guillaume Souchere
9bd81f4d5c
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-16 08:12:41 +02:00
Jeroen Domburg
bf15a29e18
fix(driver): Add docs and driver fix for the case where a full EP does not cause the host to pickup the data
2024-04-03 17:04:59 +08:00
Xu Si Yu
698a7705b8
fix(vfs): fix eventfd select
2024-03-14 17:20:31 +08:00
zwx
e951cebfa2
fix(vfs): add MALLOC_CAP_8BIT for vfs select
2023-12-07 10:46:01 +08:00
zwx
be96274ea3
fix(vfs): fix uart malloc when locates ISR context in IRAM
2023-11-24 16:09:14 +08:00
sonika.rathi
45d801d815
fix(vfs/uart): add UART VFS select callback in IRAM
...
UART VFS select callback is placed in IRAM when CONFIG_UART_ISR_IN_IRAM is enabled
2023-11-21 10:26:25 +01:00
Jakob Hasse
548022fbe6
refactor(linux): excluded all non-Linux components from build
...
* All components which won't build (yet) on Linux are excluded.
This enables switching to Linux in an application without
explicitly setting COMPONENTS to main in the main
CMakeLists.txt.
* ESP Timer provides headers for Linux now
* automatically disabling LWIP in Kconfig if it is not available
doc(linux): brought section
"Component Linux/Mock Support Overview" up to date
2023-10-16 17:06:54 +08:00
Adam Múdry
ab1eb37fe8
feat(partition_table): Add read-only partition flag and functionality
2023-10-11 00:01:05 +02:00
Alexey Lapshin
a43c509d4b
change(newlib): update newlib according to new internal structures
2023-10-09 12:13:02 +04:00
sonika.rathi
d56647b251
fix(vfs/uart): Add support for multi-task call to uart select
2023-09-29 09:32:44 +02:00
sonika.rathi
44757e94e1
fix(vfs): re-enable vfs tartget tests for esp32-h2
2023-09-26 08:51:25 +02:00
Martin Vychodil
f2b238531a
Revert "Merge branch 'bugfix/uart_vfs_select_threadsafe' into 'master'"
...
This reverts merge request !25389
2023-09-25 21:47:05 +08:00
sonika.rathi
d1593b82b0
fix(vfs/uart): Add support for multi-task call to uart select
2023-09-19 11:11:45 +02:00
LiPeng
b15712025c
fix(vfs): Fix event_write may not exit critical section
...
This commit fixes the event_write() function where the critical section
was unbalanced.
Merges https://github.com/espressif/esp-idf/pull/12258
2023-09-18 10:16:34 +02:00
Zim Kalinowski
b83d362245
Merge branch 'bugfix/fix-compile-error-on-64bit-linux' into 'master'
...
fix(vfs): fix compilation error on 64bit linux
See merge request espressif/esp-idf!25483
2023-08-27 22:59:15 +08:00
Armando
7dbd3f6909
feat(ci): Enable p4 example, test_apps and unit tests CI build
2023-08-24 12:51:19 +08:00
Zim Kalinowski
db46f08172
fix(vfs): fix compilation error on 64bit linux
2023-08-23 13:28:49 +08:00
Sonika Rathi
571831b2ee
UART: UART_SELECT_WRITE_NOTIF event added in UART driver
...
Closes https://github.com/espressif/esp-idf/issues/10986
2023-07-12 09:19:41 +02:00
morris
1272703bdf
vfs_uart: fix out-of-bounds read
...
when open uart device "/2" on chips only have 2 UART peripherals
2023-06-19 10:59:46 +08:00
Song Ruo Jing
921713fff4
uart: Support LP_UART port with UART driver on esp32c6
2023-06-16 07:31:40 +00:00
Adam Múdry
58e69f2fcb
vfs: select sanity NULL check
...
https://github.com/espressif/esp-idf/issues/9964
2023-05-23 18:02:24 +02:00
Cao Sen Miao
0f83970368
ci: Delete ccomp_timer in IDF(witch has been moved to component manager)
2023-05-15 14:58:51 +08:00
Marius Vikhammer
1a5e47bd07
ci: fixed test apps overriding pytest configs
2023-04-26 11:07:35 +08:00
Sonika Rathi
d83c681078
VFS: move tests from unit-test-app to a component test app
2023-04-25 17:24:20 +05:30
Song Ruo Jing
a4e8960ab4
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx, add compilation warning to clk_tree.h
2023-04-25 14:12:06 +08:00
Ivan Grokhotkov
fee3082d88
vfs: VFS_MAX_COUNT should be non-zero even without IO support
2023-04-13 15:37:37 +02:00
Oliver Schmidt
6beeecbbcf
Allow to config the maximum number of VFS entries.
2023-03-14 17:29:11 +01:00
C.S.M
b184b9a153
Merge branch 'bugfix/usb_serial_driver_block' into 'master'
...
usb_serial_jtag: Fix bug of blocking TX xfer when using driver
Closes IDF-5390 and IDFGH-8776
See merge request espressif/esp-idf!22412
2023-02-24 10:22:08 +08:00
Cao Sen Miao
720b8d9c1a
usb_serial_jtag: Fix bug of blocking TX xfer when using driver,
...
Merges https://github.com/espressif/esp-idf/pull/10208
2023-02-23 17:45:39 +08:00
Chip Weinberger
c39be8bc76
[USB Serial/JTAG Driver] use time-limited blocking for TX
2023-02-22 14:28:08 +08:00
Alexey Lapshin
75642ca07a
vfs: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Cao Sen Miao
fd3e0b0b18
esp32h2(ci): enable target test
2023-02-15 10:20:43 +08:00
morris
774a05399b
soc: fix wrong APB_CLK_FREQ value on esp32c6
2023-01-28 06:33:23 +00:00
Song Ruo Jing
e13a4ad963
ci: Disable some unit-test-apps for esp32c6 to pass ci build stage
2022-11-28 11:58:30 +08:00
Ivan Grokhotkov
11ec9d392d
Merge branch 'bugfix/storage_wformat' into 'master'
...
storage: fix and re-enable -Wformat warnings
See merge request espressif/esp-idf!20486
2022-10-18 20:21:53 +08:00
Ivan Grokhotkov
0a352a6ff2
vfs, spi_flash: re-enable unit tests for C2
2022-10-12 11:09:36 +02:00
Ivan Grokhotkov
23e1ae1bc2
storage: fix and re-enable -Wformat warnings
2022-10-06 16:16:32 +02:00
radek.tandler
723adae0ec
spiffs: convert host tests from Make to CMake
2022-09-12 14:14:09 +00:00
Mahavir Jain
8b8d525a6c
vfs: use recommended esp_cpu_dbgr_is_attached
API
...
This fixes deprecation warning with earlier API
`cpu_hal_is_debugger_attached`.
2022-08-29 22:15:11 +05:30
Martin Vychodil
38acc3f7bf
Merge branch 'feature/vfs_driver_interface' into 'master'
...
esp/vfs: VFS semihosting interface support
Closes OCD-98
See merge request espressif/esp-idf!16932
2022-08-29 20:52:17 +08:00
Ivan Grokhotkov
401c10ecfb
build system: re-add -Wno-format as private flag for some components
2022-08-03 16:42:47 +04:00
Ivan Grokhotkov
0d4a533b74
Merge branch 'bugfix/usb_console_reset' into 'master'
...
esp_system: usb_console: fix restart when Wi-Fi is working
Closes IDFGH-5683
See merge request espressif/esp-idf!19289
2022-08-01 13:36:44 +08:00
Ivan Grokhotkov
bf10146a15
esp_system, vfs: fix incomplete blocking reads in vfs_cdcacm
...
Blocking read from cdcacm VFS could return less bytes than requested.
This didn’t match the behaviour of other VFS drivers, and higher level
code could misbehave.
2022-07-28 17:28:08 +02:00