Commit Graph

48 Commits

Author SHA1 Message Date
Ondrej Kosta ed2e6735ff feat(esp_libc): refactored POSIX timers get/set functions
- Added sys/timex.h and clock_adjtime API
2026-03-31 22:32:33 +08:00
Alexey Lapshin 8b3414ba51 fix(esp_libc): picolibc: add workaround for setvbuf on _IONBF 2026-03-25 16:26:54 +07:00
Marius Vikhammer 25a2747dfd ci: restore runnable pytest configs
Use real CI config names and minimal config aliases so these tests are
collected and built again instead of silently being skipped.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Made-with: Cursor
2026-03-16 13:45:26 +08:00
Evgeny Torbin 7ace6b91c9 ci: fix pre-commit hook errors 2026-03-12 12:02:11 +01:00
Evgeny Torbin d0f062c018 ci: remove unused test cases 2026-03-12 12:02:10 +01:00
Tomas Rohlinek 0b096cccbb Merge branch 'fix/poll_return_value' into 'master'
fix(storage/esp_libc): Fix poll return value discrepancy

Closes IDF-9973

See merge request espressif/esp-idf!44943
2026-02-25 08:28:48 +01:00
Alexey Lapshin 387246d394 Merge branch 'fix/esp_libc_run_newlib_tests' into 'master'
fix(esp_libc): add Newlib tests (picolibc is default)

See merge request espressif/esp-idf!45710
2026-02-13 19:13:22 +04:00
Alexey Lapshin c5c654576e fix(esp_libc): add Newlib tests (picolibc is default) 2026-02-06 13:16:56 +07:00
Alexey Lapshin 4535898de9 fix(esp_libc): remove --gc-sections from picolibc.specs for CMake checks
The --gc-sections flag in picolibc.specs causes CMake compiler detection
to fail by dropping required data. Work around this by creating a modified
specs file without the flag.
2026-02-04 18:08:51 +07:00
Marius Vikhammer 6b24a2f2eb Merge branch 'ci/core_comp_depends' into 'master'
ci(core): removed common_components from core test-apps dependencies

See merge request espressif/esp-idf!45407
2026-01-27 15:47:27 +08:00
Alexey Gerenkov 7b33befeaf Merge branch 'feature/add_fopencookie_implementation' into 'master'
feat(esp_libc): picolibc: add fopencookie implementation

See merge request espressif/esp-idf!45303
2026-01-26 22:42:34 +08:00
Marius Vikhammer 5f914189c2 ci(core): removed common_components from core test-apps dependencies 2026-01-26 11:47:23 +08:00
igor.udot 4c26ab876b ci: update build-test-rules to use common_components 2026-01-23 10:14:09 +08:00
Alexey Lapshin 51f1861448 feat(esp_libc): picolibc: add fopencookie implementation 2026-01-21 20:56:42 +07:00
Tomáš Rohlínek d7344e9658 fix(storage/esp_libc): Fix poll return value discrepancy 2026-01-14 08:28:05 +01:00
Marius Vikhammer 7dfc2f0343 Merge branch 'ci/enable_esp_event_tests' into 'master'
ci(core): fixed esp_event and psram freertos not running properly in CI

See merge request espressif/esp-idf!44711
2026-01-04 10:11:02 +08:00
Laukik Hase b15334600d Merge branch 'refactor/esp_tee_picolibc' into 'master'
refactor(esp_tee): Adopt `Picolibc` as the default LibC for ESP-TEE build

See merge request espressif/esp-idf!44050
2026-01-02 10:38:47 +05:30
Marius Vikhammer 8ce6bd349b test(core): fixed freertos and newlib test setup leaking memory 2025-12-31 15:40:34 +08:00
Laukik Hase 0964024484 refactor(esp_tee): Adopt Picolibc as the default LibC for ESP-TEE build
- Also fixed an issue where NewLib ROM APIs, when called from TEE, were
  using the syscall table located in the REE SRAM. This could be abused
  as an attack vector to invoke illegal functions from the TEE.
  To prevent this, the syscall table is now switched to the TEE-specific
  copy during every M-U mode transition.
2025-12-30 16:03:41 +05:30
Marius Vikhammer 5c9bf4aded ci(libc): set depends_components for esp_libc tests 2025-12-26 14:46:17 +08:00
Alexey Lapshin 1684eeb60f fix(picolibc): add psram fix for libc functions 2025-12-24 13:28:44 +07:00
Tomáš Rohlínek 8c9d62de98 feat(storage/vfs): Remove old API usage 2025-12-16 17:48:55 +08:00
David Čermák 2478c25fb3 Merge branch 'fix/picolib_multiple_syscall_defs' into 'master'
fix(newlib): Fixes multiple definitions of raise() when picolib used

See merge request espressif/esp-idf!44230
2025-12-16 17:40:47 +08:00
Alexey Lapshin 5d38af9c17 fix(esp_libc): add workaround for pthread_sigmask declaration in picolibc signal.h 2025-12-16 09:30:41 +07:00
David Cermak c7f161bdec fix(newlib): Remove definitions of raise() 2025-12-15 09:56:00 +01:00
C.S.M f405e51784 ci(esp32s31): Add ci build test for esp32s31 2025-12-11 15:17:15 +08:00
Alexey Lapshin ac7dffa4fd fix(esp_libc): picolibc: make funopen() declaration compatible with newlib 2025-12-08 13:47:35 +08:00
Alexey Lapshin 676ae296ff fix(esp_tee): build esp_tee only with CONFIG_LIBC_NEWLIB to reduce size 2025-12-03 13:31:42 +07:00
Alexey Lapshin 31810ae993 feat(esp_libc): make picolibc default libc 2025-12-03 13:31:42 +07:00
David Cermak 3064c31dd3 fix(configs): Remove mentions of ASIO from configs files 2025-11-25 13:02:31 +01:00
Marius Vikhammer aefab81f37 fix(libc): fixed P4 ECO5 always using sub opt. version of memcpy and similar 2025-11-21 15:45:18 +08:00
armando b25ba4a0c1 ci(p4): disable p4 rev3 invalid tests temporarily 2025-11-17 12:11:39 +08:00
Alexey Lapshin 0c1d917f78 feat(build): propagate compiler flags from files to toolchain.cmake
This change improves build consistency across external projects integrated
through CMake by ensuring that compiler flags defined in configuration files
are passed correctly to the toolchain. It covers the majority of use cases,
as external projects are typically also CMake-based. For projects that use
a custom build system, users will still need to specify the required flags
manually.
2025-11-14 21:04:54 +07:00
Frantisek Hrbata 67c8d97280 fix(esp_libc/cmake): add vfs as requirement if CONFIG_VFS_SUPPORT_IO is enabled
The esp_libc relies on the stdio implementation of the vfs component if
CONFIG_VFS_SUPPORT_IO is enabled. This is not an issue in cmakev1
because if the vfs component is not included in the project build, its
configuration is not available, and CONFIG_VFS_SUPPORT_IO is not set.
However, in cmakev2, the configuration for all components is available,
and the presence of some component configuration options does not
necessarily mean that the component is included in the project build.
When esp_libc is compiled without the vfs dependency but with
CONFIG_VFS_SUPPORT_IO enabled, the libc initialization will encounter a
panic due to a NULL pointer dereference (fp->_flags) in __swsetup_r, as
fopen in esp_libc_init_global_stdio will return NULL.
2025-10-30 17:17:49 +08:00
Marius Vikhammer 27059a16f8 test(test_apps): set minimal build for misc test-apps 2025-10-28 10:17:41 +08:00
Marius Vikhammer a95eb187fb Merge branch 'ci/add_test_wdt_helper' into 'master'
test(core): add WDT protection to detect stuck tests

See merge request espressif/esp-idf!42828
2025-10-27 14:46:58 +08:00
Marius Vikhammer cd741e995f test(system): restructured system build test test-apps 2025-10-27 09:25:07 +08:00
Marius Vikhammer 113d69f188 test(core): add WDT protection to detect stuck tests 2025-10-24 10:48:13 +08:00
Marius Vikhammer 19e0997436 Merge branch 'feature/esp_stdio' into 'master'
feat(stdio): added new esp_stdio component

Closes IDF-13799

See merge request espressif/esp-idf!41625
2025-10-17 16:11:16 +08:00
Konstantin Kondrashov fb91ddd813 Merge branch 'fix/test_time_ut' into 'master'
fix(esp_libc): Fix test_time UTs for newlib nano format

Closes IDFCI-3389

See merge request espressif/esp-idf!42399
2025-10-16 16:24:56 +08:00
Marius Vikhammer a257812e14 feat(stdio): added esp_stdio component
esp_stdio contains everything the old esp_vfs_console contained (the vfs stdio glue layer)
as well as other functionality related to stdio (previously referred to as console)
2025-10-16 10:01:59 +08:00
Konstantin Kondrashov caf15b8f66 fix(esp_libc): Fix test_time UTs for newlib nano format
Optimized UTs for newlib nano format (where no support 64 bits print).
(C2 chip with CONFIG_LIBC_NEWLIB_NANO_FORMAT=y)
2025-10-08 12:00:34 +03:00
Chen Chen a4710cc206 refactor(driver): remove redundant driver dependencies
now the driver component only contains legacy code for i2c, twai and
touch sensor
2025-09-30 15:47:45 +08:00
Konstantin Kondrashov b7da740f12 Merge branch 'feature/log_v2_optimization' into 'master'
feat(log): Optimize idf components for binary logging

Closes IDF-12775

See merge request espressif/esp-idf!40289
2025-09-19 14:45:43 +08:00
Konstantin Kondrashov 333a2c0ebc Merge branch 'fix/coverity_newlib' into 'master'
fix(newlib): Fixes Coverity issues

Closes IDF-13926 and IDF-13927

See merge request espressif/esp-idf!41491
2025-09-19 10:35:34 +08:00
Alexey Lapshin 3d056ad1e2 fix(newlib): fix riscv asm inlining for mem functions 2025-09-17 17:15:57 +08:00
Konstantin Kondrashov dcf486359e feat(log): Optimize log tag init for bin logging 2025-09-15 15:59:52 +03:00
Alexey Lapshin 9281e78381 change(esp_libc): rename newlib component to esp_libc 2025-09-09 22:00:44 +08:00