Guillaume Souchere
23b8a17d3f
feat(ci): add error code registration check to the pre-commit hook
2026-05-28 09:53:33 +02:00
Guillaume Souchere
d670774f5c
feat(esp_common): implement composable error code registration via link-time arrays
...
Refactor the esp_err_to_name() system to decouple esp_common from
higher-level components. Instead of a monolithic generated table,
each component registers its error codes into a dedicated linker
section (.esp_err_msg_table) via idf_define_esp_err_codes() in its
CMakeLists.txt.
New files:
- tools/err_codes_extract.py: extract ESP_ERR_* defines from headers to CSV
- tools/err_codes_to_c.py: generate C source placing entries into linker section
- tools/err_codes_to_rst.py: generate RST documentation from error codes
- tools/cmake/err_codes.cmake: CMake module providing idf_define_esp_err_codes()
- components/esp_common/include/esp_err_codes.h: esp_err_msg_t typedef
- components/esp_common/src/esp_err_to_name_new.c: new lookup using link-time array
- tools/test_apps/build_system/err_codes_check/: CI test app
Changes:
- Remove all optional component dependencies from esp_common/CMakeLists.txt
- Add .esp_err_msg_table section to all 5 linker scripts
- Register error codes in 18 components via idf_define_esp_err_codes()
- Add new scripts to .gitlab/ci/rules.yml build_check patterns
- use new scripts to generate doc and add CI validation
- Update esp_err.rst to add description of composable code registration
2026-05-28 09:53:32 +02:00
morris
f464b587ef
Merge branch 'fix/fix_i80_example_high_failure_ratio' into 'master'
...
test(parlio): enable h4 parlio test
Closes IDF-15613 and IDFCI-11015
See merge request espressif/esp-idf!48940
2026-05-28 13:30:16 +08:00
Chen Jichang
7f048be21f
test(parlio): enable h4 parlio test
2026-05-28 10:56:20 +08:00
Wan Lei
ddfb7e4b58
Merge branch 'fix/twaifd_assert_fail' into 'master'
...
fix(driver_twai): fix driver assert fail when send frame
Closes IDFGH-17041, IDF-15618, IDFCI-11284, IDFCI-10485, IDFCI-11283, IDFCI-10486, and IDFCI-10484
See merge request espressif/esp-idf!48927
2026-05-28 09:10:51 +08:00
Island
7812a5df33
Merge branch 'bugfix/fix_ble_coded_phy_performance_with_wifi_coex' into 'master'
...
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(51d9dfde)
Closes BT-4348
See merge request espressif/esp-idf!48851
2026-05-27 21:32:47 +08:00
Mahavir Jain
26e80b8f97
Merge branch 'fix/codeowners_doc_link' into 'master'
...
fix(gitlab): correct link to codeowners syntax
See merge request espressif/esp-idf!48879
2026-05-27 18:38:14 +05:30
Mahavir Jain
a004840c04
Merge branch 'ci/esp_tee_fuzzing' into 'master'
...
ci(esp_tee): Add fuzzing tests for verifying service call behaviour with random inputs
Closes IDF-12698
See merge request espressif/esp-idf!37851
2026-05-27 18:35:45 +05:30
Mahavir Jain
e601a60baa
Merge branch 'bugfix/increase_partition_nan' into 'master'
...
fix(esp_wifi): Increase partition size of app for NaN console
See merge request espressif/esp-idf!48973
2026-05-27 18:30:14 +05:30
Kapil Gupta
9dac8ed04f
fix(esp_wifi): Increase partition size of app for NaN console
2026-05-27 17:46:47 +05:30
Mahavir Jain
1fc4f6653a
Merge branch 'fix/https-redirect-downgrade' into 'master'
...
fix(esp_http_client): block HTTPS-to-HTTP redirect downgrade
See merge request espressif/esp-idf!47553
2026-05-27 17:30:36 +05:30
Mahavir Jain
fb65f973f1
Merge branch 'contrib/github_pr_18641' into 'master'
...
fix(protocomm): prevent out-of-bounds write in console line buffer (GitHub PR)
Closes IDFGH-17699
See merge request espressif/esp-idf!48865
2026-05-27 17:17:00 +05:30
Wan Lei
87a406ce5c
fix(driver_twai): enable ci test for h4
2026-05-27 19:38:41 +08:00
Mahavir Jain
2a4b4f2954
Merge branch 'feat/fix_ws_server_httpd_queue_work_silent_drop' into 'master'
...
fix(esp_http_server): prevent silent message drop in httpd_queue_work
Closes IDFGH-17642
See merge request espressif/esp-idf!48533
2026-05-27 16:56:35 +05:30
Tomas Rohlinek
ff1099f39b
Merge branch 'feat/refactor_stdio_vfs' into 'master'
...
feat(storage/stdio): refactor stdio vfs
Closes IDF-15109
See merge request espressif/esp-idf!44351
2026-05-27 11:36:05 +02:00
Armando (Dou Yiwen)
59579d146e
Merge branch 'change/change_psram_io_log' into 'master'
...
psram: changed cs io log to debug level
See merge request espressif/esp-idf!48371
2026-05-27 09:31:06 +00:00
Chen Chen
7b4a2c6d98
Merge branch 'fix/i2s_sample_rate_restriction' into 'master'
...
fix(i2s): fix test issue on esp32s31 & esp32h4
Closes IDF-15609
See merge request espressif/esp-idf!48641
2026-05-27 16:30:21 +08:00
Marius Vikhammer
a409bb50c5
Merge branch 'bugfix/size_linux_target' into 'master'
...
fix(tools): dont call idf_size.py for linux target
Closes IDF-6115
See merge request espressif/esp-idf!48937
2026-05-27 15:27:00 +08:00
Rahul Tank
0183eb84bb
Merge branch 'bugfix/fix_crash_due_to_error_print' into 'master'
...
fix(nimble): Update excessive logging prints in failure scenario
See merge request espressif/esp-idf!48867
2026-05-27 10:59:10 +05:30
morris
69171b79bc
Merge branch 'srmao/esp_driver_dma_esp32p4_rev1_tests' into 'master'
...
test(esp_driver_dma): add esp32p4 rev1 test apps
Closes IDF-15450 and IDF-15443
See merge request espressif/esp-idf!48888
2026-05-27 12:06:12 +08:00
Gao Xu
db3d01d412
Merge branch 'feat/basic_rng_support_h4' into 'master'
...
RNG support and refactor on ESP32-H4
Closes IDF-12265
See merge request espressif/esp-idf!45361
2026-05-27 11:14:38 +08:00
morris
90e0b94ed6
test(dma): reenable unit test for esp32p4 rev1 targets
2026-05-27 10:32:34 +08:00
Chen Chen
faa917e2e6
fix(i2s): fix test issue on esp32s31 & esp32h4
2026-05-27 10:02:43 +08:00
Armando (Dou Yiwen)
3905bcecd3
change(psram): changed cs io log to debug level
...
Signed-off-by: Armando (Dou Yiwen) <douyiwen@espressif.com >
2026-05-27 01:18:58 +00:00
Marius Vikhammer
027a1509be
fix(tools): dont call idf_size.py for linux target
...
Calling idf.py size on linux target project would cause an
error. This was a problem for IDEs or build script which
often call this as the last step in the build process,
as it could mark the whole "build" as failed.
2026-05-27 08:53:01 +08:00
Erhan Kurubas
5bcaf281e2
Merge branch 'feat/esp_trace_example' into 'master'
...
esp_trace example library integration
See merge request espressif/esp-idf!48605
2026-05-26 17:38:22 +02:00
Aditya Patwardhan
bf1c92341d
Merge branch 'fix/fix_psa_ecdsa_driver_missing_checks' into 'master'
...
fix(mbedtls): fixes missing check before ecdsa verify
See merge request espressif/esp-idf!48818
2026-05-26 17:50:33 +05:30
wanckl
10273d3c6b
fix(driver_twai): fix driver assert fail when send frame
...
Closes https://github.com/espressif/esp-idf/issues/18081
2026-05-26 19:45:25 +08:00
Sudeep Mohanty
8a2e56810c
Merge branch 'task/v2_aware_component_and_test_gates' into 'master'
...
fix(components): linux host-build failure fixes+ disable esp_tee in buildv2 + esp_hw_support and xtensa fixes
See merge request espressif/esp-idf!48743
2026-05-26 13:09:58 +02:00
gaoxu
43317018d1
refactor(rng): use adc_ll apis for ESP32-h4 and refactor rng_ll_enable/disable
2026-05-26 19:02:41 +08:00
Rahul Tank
f2ff83ac2e
fix(nimble): Removed prints causing excessive logging
2026-05-26 16:16:57 +05:30
Rahul Tank
51bd9a27c4
Merge branch 'bugfix/nimble_hid_fixes_lock' into 'master'
...
fix(nimble): Avoid deadlock caused by local writes taking s_hidd_mutex
See merge request espressif/esp-idf!48853
2026-05-26 15:55:06 +05:30
Wang Lei
041aa425fa
Merge branch 'fix/cache_wb_patch_skip_bootloader' into 'master'
...
fix(esp_rom): Cache_WriteBack_All patch should skip bootloader
See merge request espressif/esp-idf!48901
2026-05-26 18:01:01 +08:00
Mahavir Jain
716391b19e
Merge branch 'fix/tls-session-verify-and-hostname-warn' into 'master'
...
Draft: fix(esp-tls): fix TLS session resumption bypassing CA verification and clarify skip_common_name behavior
See merge request espressif/esp-idf!47426
Related https://github.com/espressif/esp-idf/issues/9392
2026-05-26 15:20:43 +05:30
Ashish Sharma
3282de557e
fix(esp_http_server): take ctrl_sock_semaphore on shutdown and async wake
...
httpd_stop() and httpd_req_async_handler_complete() both pushed
messages onto the control mbox via cs_send_to_ctrl_sock() without
reserving a slot in ctrl_sock_semaphore. Once the silent-drop fix
made the semaphore unconditional, the bypass became a real bug:
when the mbox is saturated by pending httpd_queue_work() items the
unguarded sendto() can return ENOBUFS, and even when it succeeds it
leaves the semaphore overstating free slots until the consumer
drains the message — a window during which a concurrent
httpd_queue_work() can take a slot but still find the mbox full.
Acquire the semaphore (portMAX_DELAY) before both sends and give it
back on send failure so the take/give invariant is preserved. The
httpd task is the consumer in both paths, so blocking is bounded
and deadlock-free. Reword the stale "no-op give on full" comment in
httpd_process_ctrl_msg() to reflect that only the recv-error path
relies on the cap behavior now.
2026-05-26 17:21:24 +08:00
Ashish Sharma
c911c781ae
fix(esp_http_server): prevent silent message drop in httpd_queue_work
...
Closes https://github.com/espressif/esp-idf/issues/18563
2026-05-26 17:21:23 +08:00
Wu Zheng Hui
574b843868
Merge branch 'change/optimize_sleep_gpio_configure' into 'master'
...
change(sleep_gpio): streamline GPIO sleep configuration logic
See merge request espressif/esp-idf!48845
2026-05-26 17:14:06 +08:00
Island
833c55e867
Merge branch 'fix/fixed_an_acl_timeout_issue' into 'master'
...
fix(ble): Updated libble[a7487a7] and libbtdm[9ce603a]
See merge request espressif/esp-idf!48830
2026-05-26 17:09:06 +08:00
Sudeep Mohanty
301eeba878
Merge branch 'task/buildv2_hygiene_and_dep_declarations' into 'master'
...
fix(components): generic dep-declaration and scope-leakage hygiene exposed by cmakev2
See merge request espressif/esp-idf!48739
2026-05-26 10:18:22 +02:00
Laukik Hase
8abc7269d1
ci(esp_tee): Add fuzzing tests for verifying service call behaviour
2026-05-26 13:13:45 +05:30
Tomáš Rohlínek
92725e92d5
fix(esp_stdio): add fd-table locking, per-fd flag checks, and Kconfig cleanup
2026-05-26 08:56:51 +02:00
Shu Chen
d015733fb3
Merge branch 'feat/add_teardown_for_openthread_case' into 'master'
...
ci: add tear down for openthread ci case
See merge request espressif/esp-idf!48776
2026-05-26 06:32:05 +00:00
wanglei
b2a8695c15
fix(esp_rom): Cache_WriteBack_All patch should skip bootloader
2026-05-26 14:24:58 +08:00
harshal.patil
a24bd0bf10
test(mbedtls): Add out-of-bounds test for the ECDSA hardware driver
2026-05-26 11:01:57 +05:30
morris
f1e8fe393a
Merge branch 'feat/debug_probe_esp32s31' into 'master'
...
feat(debug): add esp32s31 debug probe support
Closes IDF-14798
See merge request espressif/esp-idf!48849
2026-05-26 12:26:29 +08:00
wuzhenghui
d19c0b1746
change(sleep_gpio): streamline GPIO sleep configuration logic
2026-05-26 12:20:59 +08:00
Island
6e2660655a
Merge branch 'feat/ble-log-iram-optim' into 'master'
...
opt(bt): Move SPI Tx Callback to Flash When SPI ISR IN IRAM Disabled
See merge request espressif/esp-idf!48835
2026-05-26 11:41:36 +08:00
renpeiying
a6f111e65c
docs: Update CN trans
2026-05-26 10:54:45 +08:00
Renz Christian Bagaporo
17a9a5cf21
Merge branch 'ci/reenable_unicore_bl_test_h4' into 'master'
...
test(ci): re-enable skipped ESP32-H4 unicore bootloader tests
Closes IDF-15620
See merge request espressif/esp-idf!48556
2026-05-26 10:45:46 +08:00
Jiang Jiang Jian
3caea56d78
Merge branch 'fix/fix_put_phy_init_bin_into_partiiton_when_embed' into 'master'
...
fix(phy): fix still put multiple phy init date bin into flash when...
See merge request espressif/esp-idf!48847
2026-05-26 10:22:27 +08:00