Commit Graph

68 Commits

Author SHA1 Message Date
Chen Jichang
8cb3743b7c ci(esp32h4): disable h4 build and target test on unsupported release branch 2026-09-07 15:48:11 +08:00
Jiang Jiang Jian
a4bbf950c8 Merge branch 'feat/enable_zcmp_for_c5_c61_v6.1' into 'release/v6.1'
feat(soc): esp32c5, esp32c61: enable zc extensions (v6.1)

See merge request espressif/esp-idf!51525
2026-09-03 20:41:23 +08:00
Alexey Gerenkov
d965c1bfcf Merge branch 'fix/newlib_builds_v6.1' into 'release/v6.1'
Fix: newlib compatibility with libraries built with picolibc headers (v6.1)

See merge request espressif/esp-idf!51523
2026-09-02 17:14:06 +08:00
Alexey Lapshin
1ed4ec55ba feat(esp_libc): add riscv zcmp testing on esp32c5 2026-08-31 11:35:35 +08:00
idy
ed92ba1e24 fix(esp_libc): limit timespec_get test to picolibc
The regression test was compiled by Newlib configurations even though that
libc does not expose TIME_UTC or timespec_get in the selected toolchain.

- Guard the test with CONFIG_LIBC_PICOLIBC
- Label the case as a Picolibc-specific regression

Generated with [Codex](https://github.com/openai)
2026-08-28 08:12:23 +02:00
idy
cb5c414fe8 fix(esp_libc): provide picolibc timespec_get
The Picolibc headers in the ESP-IDF v6.0 toolchain declare the C11
timespec_get API, but the corresponding archives do not define it.
Provide the missing compatibility implementation through esp_libc
and cover valid and invalid time bases.
2026-08-28 08:12:23 +02:00
Marius Vikhammer
de3b5843ed change(esp_libc): use C5 ECO4 ROM newlib functions
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 15:28:54 +08:00
Alexey Lapshin
84f3d0bd96 feat(libc): pass __PICOLIBC_ERRNO_FUNCTION to picolibc builds 2026-08-05 17:09:19 +07:00
Jiang Jiang Jian
481813fcd8 Merge branch 'fix/newlib-nano-nosys-linking_v6.1' into 'release/v6.1'
fix(libc): nano: add -lnosys to linking to avoid CMake configuration issues (v6.1)

See merge request espressif/esp-idf!49377
2026-07-03 20:22:23 +08:00
Jiang Jiang Jian
b7193c70e1 Merge branch 'feat/refactor_stdio_vfs_v6.1' into 'release/v6.1'
feat(storage/stdio): refactor stdio vfs (v6.1)

See merge request espressif/esp-idf!48957
2026-07-03 17:47:31 +08:00
Sudeep Mohanty
a0a3882897 fix(esp_libc/kconfig): exclude IDF_TARGET_LINUX from LibC menu
On the Linux target the host's C library is used directly; none of the
LibC menu options apply. Mark the entire "LibC" menu as `depends on
!IDF_TARGET_LINUX` so its symbols (LIBC_NEWLIB, LIBC_PICOLIBC, …) stay
undefined on Linux builds.

Also gate the picolibc-specific include in components/console/linenoise/
linenoise.c under `!CONFIG_IDF_TARGET_LINUX` so the file does not try to
pull <stdio-bufio.h> on the host even if CONFIG_LIBC_PICOLIBC is set by
some other build path.
2026-07-01 19:59:05 +08:00
Alexey Lapshin
b645aee6f5 fix(libc): nano: add -lnosys to linking to avoid CMake configuration issues 2026-06-30 14:04:59 +08:00
Tomáš Rohlínek
1ee7028fbb fix(storage/esp_libc): Fix incorrect fd checks 2026-05-27 11:37:56 +02:00
Alexey Lapshin
653e6007e6 Merge branch 'fix/picolibc-disable-c11-annex-k' into 'master'
fix(libc): picolibc: disable C11 annex K in compatibility mode

See merge request espressif/esp-idf!48197
2026-05-18 10:34:43 +04:00
Alexey Gerenkov
97e6873e34 feat(tools): update esp-clang version to esp-21.1.3_20260304 2026-05-07 17:42:32 +03:00
Alexey Lapshin
19c2f0becc fix(libc): picolibc: disable C11 annex K in compatibility mode 2026-05-06 14:23:29 +07:00
Alexey Lapshin
9b31897c2f fix(picolibc): add times() stub 2026-04-29 15:29:54 +07:00
nvmd
d95a838b36 fix(esp_libc): add missing stdint include 2026-04-27 11:35:16 +02:00
Alexey Lapshin
b42688f6c9 fix(libc): picolibc: workaround wrong pthread_exit declaration for c++ 2026-04-22 22:34:49 +08:00
Marius Vikhammer
ee50fa20e3 refactor(esp_libc): move newlib time init into esp_libc component 2026-04-13 15:11:57 +08:00
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