Commit Graph

282 Commits

Author SHA1 Message Date
Xu Si Yu
e8a554ac21 fix(vfs): make case eventfd_select_block exit normally 2024-04-18 11:29:25 +08:00
laokaiyao
65b1fd33d3 ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
Ivan Grokhotkov
10cc15b150
fix(storage): applied spelling fixes by codespell pre-commit hook 2024-03-28 13:00:54 +01:00
Martin Vychodil
abf2d13f74 Merge branch 'feat/vfs_fd_dump' into 'master'
feat(vfs): Add function to dump VFS file descriptors

See merge request espressif/esp-idf!29148
2024-03-28 17:46:50 +08:00
Alexey Lapshin
994b4ed459 Merge branch 'feature/update-toolchain-to-esp-13.2.0_20240305' into 'master'
feat(tools): update toolchain version to esp-13.2.0_20240305

Closes IDFGH-2549

See merge request espressif/esp-idf!29430
2024-03-18 16:58:39 +08:00
Alexey Lapshin
31a951268a feat(newlib): get rid of dirent.h in favor of toolchain 2024-03-15 12:36:00 +04:00
morris
8f85035d75 Merge branch 'bugfix/fix_eventfd_select' into 'master'
fix(vfs): fix eventfd select

See merge request espressif/esp-idf!29498
2024-03-13 22:31:08 +08: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
Xu Si Yu
21c7d7a9d2 fix(vfs): fix eventfd select 2024-03-08 16:11:39 +08:00
sonika.rathi
0e5793b270 feat(vfs): Add function to dump VFS file descriptors 2024-03-05 18:03:27 +08:00
Darian Leung
4e4278477d
fix(console): Fix build issues when CONFIG_ESP_CONSOLE_NONE is enabled
This commit fixes the following build issues when CONFIG_ESP_CONSOLE_NONE is
enabled:

- vfs_console.c will attempt to register a VFS entry for STDIO console even if
CONFIG_ESP_CONSOLE_NONE is enabled. This results in "undeclared `primary_path`"
error.
- esp_console_repl_chpi.c does not use "TAG" when CONFIG_ESP_CONSOLE_NONE is
enabled, leading to a "defined by not used" warning.

Closes https://github.com/espressif/esp-idf/issues/12984
2024-02-28 20:28:27 +08:00
Adam Múdry
b13f414be7 Merge branch 'feature/vfs_fat_config_register' into 'master'
feat(storage/fatfs): Switch to a config struct for VFS FAT registration

Closes IDF-9174

See merge request espressif/esp-idf!28977
2024-02-21 23:39:56 +08:00
Sudeep Mohanty
9605f9be3f Merge branch 'contrib/github_pr_12800' into 'master'
feat(freertos): Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES

Closes IDFGH-11693 and IDF-8785

See merge request espressif/esp-idf!28505
2024-02-20 15:21:47 +08:00
Adam Múdry
5f961537cc feat(storage/fatfs): Switch to a config struct for VFS FAT registration 2024-02-19 14:05:50 +01:00
sonika.rathi
f7e4b9a132 fix(storage): cleanup storage examples/test_apps sdkconfigs 2024-02-12 10:57:46 +01:00
fl0wl0w
90d1dcfd76 feat(freertos): Introduced new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES
This commit replaces the use of portNUM_PROCESSORS and configNUM_CORES
macros in all of ESP-IDF. These macros are needed to realize an SMP
scenario by fetching the number of active cores FreeRTOS is running on.
Instead, a new Kconfig option, CONFIG_FREERTOS_NUMBER_OF_CORES, has been
added as a proxy for the FreeRTOS config option, configNUMBER_OF_CORES.
This new commit is now used to realize an SMP scenario in various places
in ESP-IDF.

[Sudeep Mohanty: Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES]

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2024-02-09 09:11:28 +01:00
Cao Sen Miao
3dc76e9360 refactor(usb_serial_jtag): make usb_serial_jtag as component 2024-01-05 19:42:04 +08:00
Martin Vychodil
20f80a2d05 Merge branch 'feature/nvs_flash_add_test_apps_dependecies' into 'master'
feat(storage): add dependencies to storage related test apps

Closes IDF-8398, IDF-8397, and IDF-8835

See merge request espressif/esp-idf!27439
2024-01-04 03:29:05 +08:00
Tomáš Rohlínek
092f5aff29
feat(storage): Update build test rules for storage related components 2024-01-02 13:10:59 +01:00
Song Ruo Jing
bc09031496 refactor(uart_vfs): Move uart implementation of vfs to esp_driver_uart
Deprecated esp_vfs_dev_uart_xxx APIs
vfs_uart test case moved to esp_driver_uart test_apps
Astyle fixed for uart_vfs
2023-12-15 17:14:55 +08:00
Song Ruo Jing
6ad80f0332 refactor(uart): make uart driver as component, and fix astyle 2023-12-15 17:03:51 +08:00
Martin Vychodil
a6ad55823b Merge branch 'docs/update_esp_vfs_notes' into 'master'
docs(vfs): update esp_vfs_register_fd api description

See merge request espressif/esp-idf!27265
2023-12-14 19:54:59 +08:00
Jeroen Domburg
3f08e5c91a fix(driver): Add docs and driver fix for the case where a full EP does not cause the host to pickup the data 2023-11-27 12:04:30 +08:00
Martin Vychodil
76011fc8f7 Merge branch 'fix/uart_select_malloc' into 'master'
fix(vfs): fix uart malloc when locates ISR context in IRAM

See merge request espressif/esp-idf!27278
2023-11-24 18:57:30 +08:00
zwx
7409f41527 fix(vfs): fix uart malloc when locates ISR context in IRAM 2023-11-21 16:36:08 +08:00
sonika.rathi
e15fcd2b28 docs(vfs): update esp_vfs_register_fd api description
Closes https://github.com/espressif/esp-idf/issues/11586
2023-11-20 09:39:05 +01:00
Armando
c50e364a97 refactor(sdspi): place sdspi driver into a new component 2023-11-20 12:30:03 +08:00
sonika.rathi
9c82ad06c3 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-08 11:34:22 +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