Commit Graph

35916 Commits

Author SHA1 Message Date
Cao Sen Miao
016877b7ce fix(i2c_master): Fix issue that initialize esp32 and using i2c_master_probe issue,
and probe might failed.
Fixed I2C cannot return err code when nack detected
Closes https://github.com/espressif/esp-idf/issues/13213,
Closes https://github.com/espressif/esp-idf/issues/12929,
Closes https://github.com/espressif/esp-idf/issues/13398,
2024-03-19 11:07:13 +08:00
C.S.M
61bb752cdb Merge branch 'bugfix/improve_jpeg_dec' into 'master'
fix(jpeg_decoder): Improve apis for better align strategy and provide buffer size parameter

See merge request espressif/esp-idf!29687
2024-03-19 10:10:52 +08:00
morris
3a9d082523 Merge branch 'bugfix/parlio_coverity_issue' into 'master'
feat(parlio_tx): minor clean up and fix

Closes IDF-9420

See merge request espressif/esp-idf!29663
2024-03-19 10:08:54 +08:00
Jiang Jiang Jian
be73c442ab Merge branch 'feature/refactor_ftm_code' into 'master'
Refactor and improve FTM code

Closes WIFI-6133, WIFI-5144, WIFI-6365, and IDFGH-5024

See merge request espressif/esp-idf!26783
2024-03-19 00:54:12 +08:00
Nachiket Kukade
4971764917 feat(esp_wifi): Refactor and improve FTM code
Enable FTM Responder mode for ESP32C6. Update wifi libs with below -

1. Break FTM State Machine code into separate functions
2. Use dynamic allocation for FTM session to save memory
3. Add API to get FTM report instead of event based mechanism
4. Add FTM Request retry and comeback support

Closes https://github.com/espressif/esp-idf/issues/6810
2024-03-18 22:01:36 +08:00
Jiang Jiang Jian
3fd985e276 Merge branch 'bugfix/wps_crash_issue' into 'master'
fix(wpa_supplicant): Avoid dereferencing a dangling function pointer in WPS

Closes WIFI-6373, WIFIBUG-301, and WIFIBUG-163

See merge request espressif/esp-idf!28521
2024-03-18 21:23:15 +08:00
Wu Zheng Hui
c6b884d2af Merge branch 'feature/esp32p4_sleep_cpu_retention_support' into 'master'
feat(esp_hw_support): esp32p4 sleep support (Stage 2: support dualcore software sleep retention 🔋)

See merge request espressif/esp-idf!28485
2024-03-18 20:12:00 +08:00
Song Ruo Jing
12325ff47e fix(dma2d): correct a few 2D-DMA driver issues
1. mem_burst_length register field correction
2. remove dma buffer addr range restriction
3. M2M periph sel ID no need to be identical for TX and RX channels
4. correct rx descriptor owner field auto clear
5. remove fsm idle assertion for ERR_EOF
2024-03-18 20:11:57 +08:00
Darian Leung
6d40e191f8
refactor(hal/usb): Refactor usb_wrap_ll.h
This commit rewrite the 'usb_wrap_ll.h' API as follows:

- All APIs renamed from 'usb_fsls_phy_ll_...()' to 'usb_wrap_ll_...()'
- APIs now match their equivalent counter parts in 'usb_serial_jtag_ll.h'
2024-03-18 19:23:44 +08:00
Darian Leung
a77e5cc718
refactor(hal/usb): Remove usb_fsls_phy_ll.h
For targets that only contain a USJ peripheral (and not a DWC OTG), their
'usb_fsls_phy_ll.h' headers only contain a single function
('usb_fsls_phy_ll_int_jtag_enable()') whose feature is already covered by
functions in 'usb_serial_jtag_ll.h'. Thus, this header is redundant.

This commit does the following:

- Remove 'usb_fsls_phy_ll.h' for targets that only contain a USJ peripheral
- Rename 'usb_fsls_phy_[hal|ll].[h|c]' to `usb_wrap_[hal|ll].[h|c]` for targets
that contain a DWC OTG peripheral. This better reflects the underlying peripheral
that the LL header accesses.
2024-03-18 19:23:43 +08:00
Darian Leung
5d091a9bb3
refactor(hal/usj): Add USB PHY related functions to USJ LL 2024-03-18 19:23:42 +08:00
Cao Sen Miao
ba6a0d59b0 fix(jpeg_decoder): Improve apis for better align strategy and provide buffer size parameter 2024-03-18 18:32:22 +08:00
Armando (Dou Yiwen)
9ffebf3cf2 Merge branch 'feature/esp32c5_beta3_mmap' into 'master'
cache / mmu: c5 support

Closes IDF-8646 and IDF-8658

See merge request espressif/esp-idf!29693
2024-03-18 18:05:36 +08:00
Armando (Dou Yiwen)
30ab38c791 Merge branch 'bugfix/fix_csi_driver_cache_msync_usage' into 'master'
csi: fix wrong cache invalidate location

Closes IDF-9519

See merge request espressif/esp-idf!29700
2024-03-18 18:00:05 +08:00
laokaiyao
24d6dcb829 feat(esp32c5mp): add system related components 2024-03-18 17:34:56 +08:00
Espressif BOT
5abde54709 change(tools/qemu): Update QEMU release versions 2024-03-18 17:05:03 +08:00
jgujarathi
40ccd1525f fix(wpa_supplicant): Cancel offchannel listen operations before sending dpp fail
- Ensure that offchannel listening operations are cancelled before sending dpp
  fail event
2024-03-18 14:33:57 +05:30
jgujarathi
537cf9bfc0 fix(wpa_supplicant): Ensure dpp auth structure is deinited in dpp task context
- Ensure that the dpp auth data gets deinited only in DPP task context to ensure
  that there are no concurrency issues in usage of DPP auth data.
2024-03-18 14:33:57 +05:30
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
zhanghaipeng
bce1715dfd fix(ble/bluedroid): Optimize BLE documentation comments to comply with Doxygen syntax 2024-03-18 16:10:02 +08:00
Sarvesh Bodakhe
fe35466cdd fix(wpa_supplicant): Improve execution flow for WPS registrar public APIs
Make sure that WPS registrar public APIs do not modify supplicant
data in application task context. Execute API functionlity in eloop
context to prevent protential race conditions.
2024-03-18 12:43:39 +05:30
Sarvesh Bodakhe
aad6f44c25 fix(wifi): Avoid dereferencing a dangling function pointer in WPS supplicant
Avoid dereferencing a dangling function pointer in 'eap_server_sm_deinit()'.
This issue arises when hostap unregisteres EAP methods before it removes
the server state machine for station.
2024-03-18 12:43:38 +05:30
Guillaume Souchere
a62b13e3d7 Merge branch 'feat/add-c5-ringbuffer-support' into 'master'
feat(esp_ringbuf): Add support on esp32c5 target

Closes IDF-8659

See merge request espressif/esp-idf!29602
2024-03-18 15:02:30 +08:00
Armando
571855d4dd bugfix(csi): fix wrong cache invalidate location 2024-03-18 14:54:25 +08:00
wanlei
37dfd8fb52 feat(esp32c61): add G0 component support 2024-03-18 14:28:27 +08:00
Marius Vikhammer
cd1b0dafa7 Merge branch 'docs/p4_misc_docs' into 'master'
docs(ulp): updated lp core docs with P4 related info

Closes IDF-7752, IDF-7741, IDF-7740, IDF-9485, IDF-9473, and IDF-9474

See merge request espressif/esp-idf!29592
2024-03-18 14:12:26 +08:00
Roshan Bangar
ee75e6cc63 fix(nimble): Fixed compilation issues on disabling security 2024-03-18 09:56:19 +05:30
Jiang Jiang Jian
b05b19abc7 Merge branch 'feature/sae_pk_transition_disable' into 'master'
Add support for SAE-PK, WPA3-Enterprise and OWE transition disable indication

Closes WIFIBUG-287

See merge request espressif/esp-idf!27783
2024-03-18 11:38:50 +08:00
Armando
5efcd8979e feat(cache mmu): c5 support 2024-03-18 11:31:10 +08:00
Wu Zheng Hui
ba4b493df8 Merge branch 'fix/lp_core_uart_clk_init' into 'master'
fix(lp_uart): Fixed LP UART bus clock initialization flow

See merge request espressif/esp-idf!29680
2024-03-18 10:21:42 +08:00
Song Ruo Jing
6b9c2fca79 Merge branch 'fix/uart_wakeup_threshold' into 'master'
fix(uart): Fix mismatch wakeup rising edges required with the threshold configured

See merge request espressif/esp-idf!29474
2024-03-16 22:50:28 +08:00
Wan Lei
9a7eb78328 Merge branch 'feat/c6lite_c61_stage3_rom' into 'master'
feat(esp32c61): new chip add rom support (stage 3/8)

See merge request espressif/esp-idf!29497
2024-03-16 10:56:52 +08:00
Michael (XIAO Xufeng)
1db17508e7 Merge branch 'bugfix/i2c_timeout_issue' into 'master'
fix(i2c): fix issues related to timeout and alive interval tick

Closes IDFGH-2966

See merge request espressif/esp-idf!25608
2024-03-16 02:27:58 +08:00
Fu Hanxi
8ed66457e6 Merge branch 'ci/add_idf_ci_build_while_building_apps_locally' into 'master'
ci: add "IDF_CI_BUILD=1" while building apps locally

See merge request espressif/esp-idf!29679
2024-03-15 22:31:24 +08:00
Wan Lei
9327f1b856 Merge branch 'fix/sdspi_esp32_temp_skip_master' into 'master'
fix(sdspi): temp skip run high falure job on esp32 due to lack runner

See merge request espressif/esp-idf!29410
2024-03-15 21:58:32 +08:00
Ondrej Kosta
333e94eeb0 Merge branch 'bugfxi/openeth_format' into 'master'
fix(esp_eth): fixed build for openeth due to incorrect printf format

See merge request espressif/esp-idf!29651
2024-03-15 20:19:22 +08:00
Jiang Jiang Jian
00dd3260ee Merge branch 'bugfix/cve-2023-52160' into 'master'
fix(wpa_supplicant): (PEAP client) Update Phase 2 auth requirements

Closes WIFI-6478

See merge request espressif/esp-idf!29240
2024-03-15 20:12:16 +08:00
zhanghaipeng
f812863827 fix(ble/bluedroid): Optimize the BLE documentation 2024-03-15 20:02:13 +08:00
C.S.M
812d197011 Merge branch 'bugfix/i2c_slave_bugs' into 'master'
fix(i2c_slave): Fix multiple issues on i2c slave

Closes IDFGH-12343 and IDFGH-12319

See merge request espressif/esp-idf!29566
2024-03-15 19:36:56 +08:00
C.S.M
db857c362b Merge branch 'contrib/github_pr_13388' into 'master'
fix(i2c_master): fix deadlock on s_i2c_transaction_start failure (GitHub PR)

Closes IDFGH-12357 and IDFGH-12356

See merge request espressif/esp-idf!29664
2024-03-15 19:31:33 +08:00
Wang Meng Yang
36e4ba10f5 Merge branch 'bugfix/make_coexist_callback_safe' into 'master'
fix(bt/controller): Fixed some bugs in esp32 bt controller

Closes BT-3625

See merge request espressif/esp-idf!29543
2024-03-15 18:53:10 +08:00
Guillaume Souchere
fe2e1b05ac change(esp_ringbuf): Format pytest_esp_ringbuf.py 2024-03-15 11:22:00 +01:00
wuzhenghui
bbc8fd5c9c
feat(esp_hw_support): support esp32p4 sleep cpu retention 2024-03-15 18:13:25 +08:00
wuzhenghui
03e5e4970d
refactor(esp_hw_support): split pd_cpu retention initialization by target 2024-03-15 18:13:24 +08:00
morris
ce041640ca change(parlio_tx): plenty of driver clean up 2024-03-15 18:02:44 +08:00
Guillaume Souchere
81c49583ec Merge branch 'test/enable-intr-dump-esp32p4' into 'master'
test(esp_intr_dump): Enable test for esp32p4

Closes IDF-8991

See merge request espressif/esp-idf!29620
2024-03-15 18:01:12 +08:00
Sudeep Mohanty
05db166e5d Merge branch 'feature/lp_core_lp_uart_support' into 'master'
feat(lp_core): Added support for LP UART on LP core for esp32p4

Closes IDF-7533

See merge request espressif/esp-idf!29555
2024-03-15 17:57:50 +08:00
Fu Hanxi
b50dbd31b5
ci: add "IDF_CI_BUILD=1" while building apps locally 2024-03-15 10:55:08 +01:00
Sudeep Mohanty
b15cfab6f3 Merge branch 'fix/gdbstub_enables_freertos_task_wrapper' into 'master'
fix(freertos): Updated dependency list for CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER option

See merge request espressif/esp-idf!29609
2024-03-15 17:51:55 +08:00
Song Ruo Jing
90bf2772ac fix(uart): Fix mismatch wakeup rising edges required with the threshold configured
Closes https://github.com/espressif/esp-idf/issues/12586
2024-03-15 16:58:33 +08:00