Commit Graph

27921 Commits

Author SHA1 Message Date
Wang Mengyang
ee53260db8 fix(bt/bluedroid): Fix build error when both of the HFP roles are enabled and also CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY is set to true 2023-11-10 21:08:17 +08:00
Roland Dobai
3239ef1c8e Merge branch 'coredump_missing_proj_desc_v5.0' into 'release/v5.0'
fix(tools/coredump): ignore missing project description

See merge request espressif/esp-idf!27005
2023-11-10 20:51:30 +08:00
muhaidong
3937e35a08 change(hal): remove useless code from periph_ll_wifi_bt_module_enable_clk 2023-11-10 11:43:01 +08:00
muhaidong
4ee958df57 fix(wifi): fix deinit init wifi scan fail issue 2023-11-10 11:18:12 +08:00
Chen Jichang
01c5d8d72e feature(MCPWM): Add MCPWM trigger driver and test
Each MCPWM operator has two Trigger (named T0 and T1), and they can be
routed to GPIO fault signal or timer sync event.Generator can be set up
to perform different action on Trigger event.
This commit add a trigger driver and a test for the driver.

fix(mcpwm): fault trigger test forget connect timer and operator
2023-11-09 21:52:37 +08:00
alanmaxwell
5460d41b43 esp_wifi: backport some wifi fix
1. optimize BB filter timer to pass corner case
2. fix parse beacon rsnx ie missed break
2023-11-09 21:52:06 +08:00
Roland Dobai
1e69dbf6cf ci(fix): Improve the stability of the autocomplete tests 2023-11-09 14:10:13 +01:00
Rahul Tank
6ff708aa91 fix(nimble): Initate pairing if encryption fails with reason no pin or key missing 2023-11-09 11:52:16 +05:30
wanlei
efef840124 fix(twai): twai example crash using usb-serial-jtag pins
Calling gpio_hal_iomux_func_sel() via gpio_config() may
disconnects/disables any influence from USJ when using USJ pins
2023-11-09 02:52:27 +00:00
Peter Dragun
34a6d8ebe7 fix(tools/coredump): ignore missing project description 2023-11-08 13:10:10 +01:00
zhanghaipeng
44f7c7f6bb fix(bt/bluedroid): Fix ble keysize check 2023-11-08 19:47:32 +08:00
zhanghaipeng
ef444d6a1b fix(bt/bluedroid): Fix ble adv report evt type 2023-11-08 19:47:26 +08:00
morris
6a7e250442 feat(rmt): support calling rmt_receive in ISR callback 2023-11-08 15:03:44 +08:00
ding huan
3c1ec70457 fix(connect): Change second connect time to 730 2023-11-07 19:48:49 +08:00
Armando
f8500f77b1 fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12
By design, it's 12 dB. There're errors among chips, so the actual
attenuation will be 11dB more or less
2023-11-07 14:12:50 +08:00
Jiang Jiang Jian
d5a32fa5e8 Merge branch 'fix/check_integrity_on_used_blocks_v5.0' into 'release/v5.0'
heap: fix integrity check on used blocks by the tlsf component (backport v5.0)

See merge request espressif/esp-idf!26564
2023-11-03 16:40:38 +08:00
Jiang Jiang Jian
403ad764c8 Merge branch 'bugfix/backport_fix_1102' into 'release/v5.0'
fix(wifi): backport some wifi fix v5.0

See merge request espressif/esp-idf!26864
2023-11-03 16:35:27 +08:00
Laukik Hase
b2a4cf197e
fix (wifi_prov): Retry provisioning on WIFI_AUTH_EXPIRE event
- Closes https://github.com/espressif/esp-idf/issues/11749
2023-11-03 11:51:02 +05:30
Wang Meng Yang
2d00212e19 Merge branch 'feature/include_hf_and_ag_in_single_build_v5.0' into 'release/v5.0'
Feature/include hf and ag in single build v5.0

See merge request espressif/esp-idf!26842
2023-11-03 14:09:35 +08:00
alanmaxwell
98d617b0dc fix(wifi): optimize wifi bin size and fix some issue
1.Optimize bin size for STA only mode
2.Change fragment threshold to 256
3.Support fragment for LR mode
4.Fix rx fragment fail in Open mode.
5.Fix ampdu duration issue
2023-11-03 11:44:40 +08:00
morris
da2399a2c5 fix(rmt): a disabled channel may pick up a pending transaction
because in the trans_done interrupt, the driver didn't check the channel FSM
2023-11-03 02:40:56 +00:00
Jiang Jiang Jian
af91df9e6f Merge branch 'fix/exception_was_unhandled_for_bt_spp_vfs_acceptor_v5.0' into 'release/v5.0'
fix(bt/bluedroid): fix LoadProhibited error in spp vfs acceptor example (backport v5.0)

See merge request espressif/esp-idf!26862
2023-11-03 01:28:30 +08:00
Michael (XIAO Xufeng)
a0c0857d94 Merge branch 'bugfix/ota_fail_on_octal_flash_v5.0' into 'release/v5.0'
fix(ota): Fixed OTA fail on octal flash with 32MB memory (backport v5.0)

See merge request espressif/esp-idf!26812
2023-11-02 21:12:06 +08:00
Michael (XIAO Xufeng)
1db67a7133 Merge branch 'bugfix/spi_master_fifo_use_dma_v5.0' into 'release/v5.0'
fix(spi): fixed undesired touching to DMA (v5.0)

See merge request espressif/esp-idf!26771
2023-11-02 21:11:10 +08:00
Kapil Gupta
5402e14cfb fix(esp_wifi): Drop fragmented AMPDU(fixCVE-2020-26142) 2023-11-02 19:20:17 +08:00
Kapil Gupta
ea93f7620b fix(esp_wifi): Fix key install issue in PTK renew 2023-11-02 19:20:17 +08:00
Roland Dobai
963284fc4c Merge branch 'coredump-info-offset_v5.0' into 'release/v5.0'
fix(tools/coredump-info): pass non-default partition table offset to esp-coredump (v5.0)

See merge request espressif/esp-idf!26832
2023-11-02 19:20:01 +08:00
Jiang Jiang Jian
dbdd6c7eb8 Merge branch 'bugfix/fix_espcoredump_compilation_warning_v5.0' into 'release/v5.0'
fix(espcoredump): fixed compilation warning (v5.0)

See merge request espressif/esp-idf!26592
2023-11-02 16:17:24 +08:00
Guillaume Souchere
d8a8149abd fix(heap): Patch tlsf_check_pool in ROM heap
The integrity_walker now calls the integrity check hook to control
free AND used blocks of memory in the TLSF pool. This integrity walker
function is called from tlsf_check_pool.

This commit creates a patch of integrity_walker function to update the
outdated implementation in the ROM.
2023-11-02 09:04:24 +01:00
Guillaume Souchere
825f99f16e fix(heap): Fixed integrity check on used blocks by the tlsf component
This commit updates the tlsf submodule to include the modification made in the component
aiming to perform integrity check on all blocks (not only the free ones).
Added test to test the fix in test_apps/heap_tests.

Fixes https://github.com/espressif/esp-idf/issues/12231
2023-11-02 08:21:06 +01:00
Jiang Jiang Jian
3f207efa4b Merge branch 'bugfix/supplicant_tls_fix_v5.0' into 'release/v5.0'
fix(wpa_supplicant): Correct iv lenght passed in mbedtls_cipher_set_iv() (v5.0)

See merge request espressif/esp-idf!26847
2023-11-02 15:13:20 +08:00
Jiang Jiang Jian
ae755628d0 Merge branch 'fix/xtensa-register-corrupted-after-context-switch_v5.0' into 'release/v5.0'
fix(xtensa): fix registers curruption on context switch (v5.0)

See merge request espressif/esp-idf!26211
2023-11-02 15:12:56 +08:00
Jiang Jiang Jian
03732b50fd Merge branch 'feature/pbkdf2_fast_implementation_v5.0' into 'release/v5.0'
change(esp_wifi): Copy fastpbkdf2 implementation

See merge request espressif/esp-idf!26852
2023-11-02 15:12:20 +08:00
Jiang Jiang Jian
ea59318583 Merge branch 'bugfix/fix_phy_calibration_error_for_c2_v5.0' into 'release/v5.0'
fix(phy): fix phy calibration error in none mode for 26MHz XTAL ESP32C2 (backport v5.0)

See merge request espressif/esp-idf!26556
2023-11-02 15:12:06 +08:00
Island
02089b1825 Merge branch 'bugfix/ble_update_lib_1027_5.0' into 'release/v5.0'
ble: update c2 lib to 1d31e175

See merge request espressif/esp-idf!26713
2023-11-02 14:11:34 +08:00
Xiao Xufeng
93e973fa21 fix(spi): fixed undesired touching to DMA
Closes https://github.com/espressif/esp-idf/issues/12241
2023-11-02 12:32:40 +08:00
Jiang Jiang Jian
2aa66f5188 Merge branch 'bugfix/fix_ble_bond_error_after_reboot_v5.0' into 'release/v5.0'
fix(ble/bluedroid): fixed BLE bond error after reboot (backport v5.0)

See merge request espressif/esp-idf!26721
2023-11-02 12:10:57 +08:00
gongyantao
c4affdb943 fix(bt/bluedroid): fix loadprohibited error in spp vfs acceptor example 2023-11-02 11:47:38 +08:00
Rahul Tank
1f34bece78 Merge branch 'bugfix/remove_iram_attr_from_ceva_files_v5.0' into 'release/v5.0'
fix(nimble): remove IRAM_ATTR from npl_os_freertos.c file (v5.0)

See merge request espressif/esp-idf!26840
2023-11-02 11:17:58 +08:00
Michal Jenikovsky
b1e5ef2c47 fatfs: raw diskio: Fixed handling read-only filesystem
ff_ routines incorrectly reported disk state and caused whole fatfs
to lock-up when trying to write to read-only device.

Signed-off-by: Michal Jenikovsky <jendo@jmsystems.sk>
2023-11-02 02:19:09 +00:00
Michal Jenikovsky
5dafc957ef idf.py: gdb action incorrectly generated EOL gdbinit scripts
GDB on Windows incorrectly reads EOL in the script files causing 'gdb'
action to fail.

(gdb) source .../build/gdbinit/py_extensions
(gdb) source .../build\gdbinit\symbols
add symbol table from file "...\build\bootloader\bootloader.elf"
.../build\gdbinit\symbols:6: Error in sourced command file:
Undefined command: "".  Try "help".

Forcing line separator to '\n' resolved the issue

Signed-off-by: Michal Jenikovsky <jendo@jmsystems.sk>
2023-11-02 02:19:09 +00:00
Alexey Lapshin
06ac8505b9 fix(xtensa): fix registers curruption on context switch
a6, a7 registers may be corrupted on multicore ESP chips while FreeRTOS
Kernel SMP context switch
2023-11-02 02:18:11 +00:00
Kapil Gupta
46f81cebe4 fix(wpa_supplicant): implement sha1_finish for fastpbkdf2 2023-11-01 21:58:00 +05:30
Kapil Gupta
cc12adf71b ci(esp_wifi): unit test for fast PBKDF2 validation 2023-11-01 21:57:23 +05:30
Kapil Gupta
973aca32be change(esp_wifi): Port fast_pbkdf2 implementation for mbedlts
Add changes to use fast_pbkdf2 as default for PMK calculations.
fast_pbkdf2 is significantly faster than current implementations
for esp chips.

Also removes unnecessary code for pbkdf-sha256 and pbkdf-sha512.
2023-11-01 21:56:56 +05:30
Kapil Gupta
5d26770886 change(esp_wifi): Copy fastpbkdf2 implementation
Copy pbkdf2 implementation from https://github.com/ctz/fastpbkdf2(3c56895)
2023-11-01 21:56:48 +05:30
Jiang Jiang Jian
e9ee047908 Merge branch 'feat/support_esp32c3_eco7_wifi_v5.0' into 'release/v5.0'
Backport/support esp32c3 v1.1 WiFi/BT/BLE(v5.0)

See merge request espressif/esp-idf!26756
2023-11-01 20:35:05 +08:00
Kapil Gupta
4ae0dc38cc fix(wpa_supplicant): Correct iv lenght passed in mbedtls_cipher_set_iv() 2023-11-01 18:02:42 +05:30
Rahul Tank
2b5f344a21 fix(nimble): remove IRAM_ATTR from npl_os_freertos.c file 2023-11-01 17:40:22 +05:30
Jin Cheng
7135c2d1fa feat(bt/bluedroid): Support to build HID Host and HID Device in single binary 2023-11-01 19:34:15 +08:00