Commit Graph

18769 Commits

Author SHA1 Message Date
morris
f97e379122 Merge branch 'fix/twai_crash_on_s3_gpio_19and20' into 'release/v5.0'
fix(twai): example crash using usb-serial-jtag gpio (v5.0)

See merge request espressif/esp-idf!26660
2023-11-23 14:34:20 +08:00
morris
3bb601cee7 Merge branch 'feature/mcpwm_trigger_driver_v5.0' into 'release/v5.0'
feature(MCPWM): Add MCPWM trigger driver (v5.0)

See merge request espressif/esp-idf!26788
2023-11-23 14:33:20 +08:00
Jiang Jiang Jian
5f497153f7 Merge branch 'bugfix/rmt_stop_issue_v5.0' into 'release/v5.0'
fix(rmt): a disabled channel may pick up a pending transaction (v5.0)

See merge request espressif/esp-idf!26780
2023-11-23 14:27:25 +08:00
Rahul Tank
94c90c71bc fix(nimble): Added check to validate allowed random address 2023-11-23 10:37:54 +05:30
morris
28224b3af5 Merge branch 'bugfix/fix_wrong_adc_attenuation_name_v5.0' into 'release/v5.0'
fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12 (v5.0)

See merge request espressif/esp-idf!26968
2023-11-23 12:04:24 +08:00
Jiang Jiang Jian
20d82594d7 Merge branch 'bugfix/ble_gap_connect_v5.0' into 'release/v5.0'
fix(nimble):Handled the Load access fault crash caused due to an invalid setting of index-variable 'reattempt_idx'.(v5.0)

See merge request espressif/esp-idf!26950
2023-11-23 12:03:59 +08:00
morris
692952d60e Merge branch 'bugfix/ledc_max_duty_cycle_v5.0' into 'release/v5.0'
fix(ledc): fix ledc driver 100% duty cycle configuration (backport v5.0)

See merge request espressif/esp-idf!27228
2023-11-23 12:03:28 +08:00
Jiang Jiang Jian
a5c2e40416 Merge branch 'bugfix/ble_update_lib_1110_5.0' into 'release/v5.0'
Bugfix/ble update lib 1110 5.0

See merge request espressif/esp-idf!27063
2023-11-23 11:05:29 +08:00
Jiang Jiang Jian
201608e590 Merge branch 'bugfix/fix_adc_oneshot_do_not_spilt_clk_v5.0' into 'release/v5.0'
fix(adc): fix ADC oneshot mod don't divide clk (v5.0)

See merge request espressif/esp-idf!26676
2023-11-23 11:02:10 +08:00
Jiang Jiang Jian
de88da5370 Merge branch 'bugfix/return_code_of_ota_finish_api_v5.0' into 'release/v5.0'
fix(esp_https_ota): fix return code of esp_https_ota_finish API (v5.0)

See merge request espressif/esp-idf!27336
2023-11-23 11:01:20 +08:00
Jiang Jiang Jian
2166b5986e Merge branch 'bugfix/fix_wifi_init_reentrant_issue_v5.0' into 'release/v5.0'
fix(wifi): fix wifi init reentrant issue (v5.0)

See merge request espressif/esp-idf!27175
2023-11-23 10:57:40 +08:00
Jiang Jiang Jian
5c1f5f2522 Merge branch 'bugfix/add_par_check_in_ag_cind_res_v5.0' into 'release/v5.0'
Bugfix/add par check in ag cind res v5.0

See merge request espressif/esp-idf!27258
2023-11-23 10:48:16 +08:00
wuzhenghui
ead822e6ee
fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad 2023-11-23 10:21:02 +08:00
Jiang Jiang Jian
d7667c79ef Merge branch 'bugfix/fix_dhcp_subnet_option_api_dos_not_work_issue_5.0' into 'release/v5.0'
Fix(dhcps):fix dhcp subnet option api dos not work issue 5.0

See merge request espressif/esp-idf!27300
2023-11-23 00:05:38 +08:00
Arno Moonen
7d87f56e35 fix(build): fix build failure if CMAKE_EXECUTABLE_SUFFIX is set
From: Arno Moonen <arno.moonen@airios.eu>

Follows original message from Arno Moonen <arno.moonen@airios.eu>

While integrating the ESP-IDF into our existing CMake structure,
I've come across quite some hurdles. Most I've been able to fix
in our CMake files, however this one I could not.

Most of the targets created by the esptool_py component assume
that the EXECUTABLE IDF build property (which contains the name
of the CMake executable target) always equals the name of the
created binary.

This is however not always true. For instance, in our setup we use
CMAKE_EXECUTABLE_SUFFIX_C and CMAKE_EXECUTABLE_SUFFIX_CXX in our
toolchain file (both set to .elf). If we do add_executable(my_app),
the target binary file would actually be my_app.elf.

In order to fix this, I've updated it to use the TARGET_FILE generated
expression. That way we also no longer need the EXECUTABLE_DIR IDF build
property here.

I've fixed this on v5.0.1 (as that's the ESP-IDF version I'm currently
trying to integrate), but I assume it should be easy to apply the same
fix to newer versions and the master branch as well.

Note that this problem might exist in multiple places where EXECUTABLE
is being used. While going through the ESP-IDF code base, I even noticed
that a few places actually already seem to use the TARGET_FILE expression.
To be honest the property name might be somewhat confusing as well, as it
is actually the executable target.

Closes https://github.com/espressif/esp-idf/pull/12558
2023-11-22 14:44:18 +00:00
Abhinav Kudnar
2e833a6a12 fix(nimble):Handled the Load access fault crash caused due to an invalid setting of index-varible 'reattempt_idx'. 2023-11-22 19:39:55 +05:30
Harshit Malpani
73de32f29f
fix(esp_https_ota): fix return code of esp_https_ota_finish API
Closes https://github.com/espressif/esp-idf/issues/12635
2023-11-22 17:10:31 +05:30
muhaidong
2e5937286c fix(wifi): fix some wifi bugs
1 sta not pmf capable when ap requires should reject profile
2 fix softap set config issue
3 allow some special igtk keyindx to workaround faulty APs
2023-11-22 19:04:43 +08:00
Jiang Jiang Jian
5c4ddf2d83 Merge branch 'bugfix/clear_ulp_wake_intr_in_wake_source_enable_v5.0' into 'release/v5.0'
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable (backport v5.0)

See merge request espressif/esp-idf!27189
2023-11-22 17:33:23 +08:00
Jiang Jiang Jian
1884afc9c4 Merge branch 'bugfix/dpp_config_memset_v5.0' into 'release/v5.0'
Wi-Fi: Fixed some DPP issues (v5.0)

See merge request espressif/esp-idf!27193
2023-11-22 17:31:31 +08:00
Jiang Jiang Jian
c0dd50a35b Merge branch 'bugfix/esp32s3_usb_otg_console_without_efuse_v5.0' into 'release/v5.0'
fix(console): switch USB PHY to OTG when OTG is used for console (v5.0)

See merge request espressif/esp-idf!27135
2023-11-22 17:31:10 +08:00
Jiang Jiang Jian
09a9a9257d Merge branch 'check_debug_aware_config_v5.0' into 'release/v5.0'
fix(esp_hw_support): re-enable CONFIG_ESP_DEBUG_OCDAWARE functionality (v5.0)

See merge request espressif/esp-idf!27107
2023-11-22 17:30:59 +08:00
Jiang Jiang Jian
2e0d1508c4 Merge branch 'bugfix/spp_deinit_crash_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fix the crash of invalid access to released resources (v5.0)

See merge request espressif/esp-idf!27252
2023-11-22 17:29:27 +08:00
Jiang Jiang Jian
d920052bf0 Merge branch 'feature/support_for_32_and_128_bit_custom_uuids_v5.0' into 'release/v5.0'
feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs (backport v5.0)

See merge request espressif/esp-idf!27231
2023-11-22 17:29:12 +08:00
Jiang Jiang Jian
12ee01fc87 Merge branch 'fix/wifi_prov_mgr_retry_auth_expire_v5.0' into 'release/v5.0'
fix (wifi_prov): Retry provisioning on `WIFI_AUTH_EXPIRE` event (v5.0)

See merge request espressif/esp-idf!26902
2023-11-22 17:27:13 +08:00
Jin Cheng
9998c2bd82 fix(bt/bluedroid): corrected the API documents of profile HFP and A2DP 2023-11-22 09:21:59 +00:00
Jin Cheng
4c8502e00d fix(bt/bluedroid): Added some argument check in APIs of HFP AG 2023-11-22 09:21:59 +00:00
liuning
ac5ce8d02d fix(wifi): fix wifi init reentrant issue 2023-11-22 16:58:55 +08:00
Jiang Jiang Jian
293cf4d332 Merge branch 'bugfix/s3_irom_addr_v5.0' into 'release/v5.0'
soc: fix SOC_IROM_MASK_HIGH for esp32s3 (v5.0)

See merge request espressif/esp-idf!27137
2023-11-22 13:58:47 +08:00
Jiang Jiang Jian
e4a38c3cba Merge branch 'bugfix/fix_psram_access_faild_after_pd_cpu_wakeup_v5.0' into 'release/v5.0'
fix(esp_pm): fix psram access failed after pd_cpu wakeup if uart driver driven console is used (backport v5.0)

See merge request espressif/esp-idf!27054
2023-11-22 13:58:38 +08:00
luomanruo
1c0fb3bb4a ble(fix): deinit crash issue 2023-11-22 03:13:43 +00:00
zwl
08e4757764 fix(ble): fixed ble occasional rx exception issue 2023-11-22 03:13:43 +00:00
luomanruo
1c261213d7 ble: update controller log module 2023-11-22 03:13:43 +00:00
luomanruo
30cd76b0f0 ble: update c2 lib to db4e1fb2 2023-11-22 03:13:43 +00:00
luomanruo
977b7f4bdb ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
2023-11-22 03:13:43 +00:00
Song Ruo Jing
c0a1d27858 fix(ledc): fix ledc driver 100% duty cycle configuration
Update ledc duty cycle value range in doxygen.
Fix duty configuration error at 100% duty cycle for ESP32.
Improve LEDC API doxygen.

Closes https://github.com/espressif/esp-idf/pull/11516
Closes https://github.com/espressif/esp-idf/issues/12593
Closes https://github.com/espressif/esp-idf/issues/12083
2023-11-22 03:12:38 +00:00
wuzhenghui
8c34ab0e67 fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting 2023-11-22 03:12:06 +00:00
wuzhenghui
0a17593a7f change(soc): rename SOC_CPU_WATCHPOINT_SIZE to SOC_CPU_WATCHPOINT_MAX_REGION_SIZE 2023-11-22 03:12:06 +00:00
Alexey Lapshin
686789de89 riscv: remove outdated macros 2023-11-22 03:12:06 +00:00
Alexey Lapshin
dacb36b422 riscv: fix trigger add from trap handlers 2023-11-22 03:12:06 +00:00
Alexey Lapshin
d3da497c74 riscv: fix & refactor triggers add/delete 2023-11-22 03:12:06 +00:00
Ilia Lutchenko
fffc6f9328 feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs
1. Added new API functions that can add 32 and 128-bit UUID to the EIR data
when these UUIDs are set in SDP.
The old functions that only work with 16-bit UUIDs have been left
unchanged to avoid having to redo code that already utilizes them.

2. Fixed bug with zero handler return in btc_sdp.c
sdp_create_record.handle in tBTA_SDP struct wasn't saved before.
Because of it Bluetooth stack always returned zero handler to
application callback.

Closes https://github.com/espressif/esp-idf/issues/11529
2023-11-22 03:10:00 +00:00
Jin Cheng
8ae138e7be fix(bt/bluedroid): Fix the crash of invalid access to released resources
It is caused by the delayed timer is alarmed after esp_spp_deinit.
2023-11-22 03:09:13 +00:00
Jiang Jiang Jian
6c9c30f125 Merge branch 'bugfix/coex_deprecate_config_rename_v5.0' into 'release/v5.0'
fix(esp_coex): Fix deprecated configuration options not rename to new one (Backport v5.0)

See merge request espressif/esp-idf!27092
2023-11-22 11:07:00 +08:00
wuzhenghui
ea8b719288 fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable 2023-11-22 03:06:03 +00:00
Erhan Kurubas
5f1d3790cc fix(esp_hw_support): re-enable CONFIG_ESP_DEBUG_OCDAWARE functionality 2023-11-22 03:05:34 +00:00
Ivan Grokhotkov
c29f14e7b2 fix(console): switch USB PHY to OTG when OTG is used for console
On ESP32-S3 with the default efuse settings, USB PHY is connected to
the USB_SERIAL_JTAG peripheral. If USB OTG peripheral is used for the
console, we need to additionally switch the PHY to USB OTG, otherwise
we won't get any output.

Closes https://github.com/espressif/esp-idf/issues/12437
2023-11-22 03:04:13 +00:00
Ivan Grokhotkov
3fd3848932 fix(soc): update SOC_IROM_MASK_HIGH for esp32 for consistency 2023-11-22 03:03:35 +00:00
Ivan Grokhotkov
207996eb68 fix(soc): correct SOC_IROM_MASK_HIGH for esp32s3
Fixes corrupted backtraces on S3 when a function is in ROM.

Closes https://github.com/espressif/esp-idf/issues/11512
2023-11-22 03:03:35 +00:00
wuzhenghui
6de1e945c8 fix(esp_pm): fix psram access faild after pd_cpu wakeup 2023-11-22 03:02:06 +00:00
Kapil Gupta
a155523263 fix(wpa_supplicant): memzero wifi config before sending config event 2023-11-22 02:58:06 +00:00
Kapil Gupta
6383609e99 fix(wifi): Disallow DPP and WPS concurrency 2023-11-22 02:58:06 +00:00
xueyunfei
40f1ca7666 Fix(dhcps):fix dhcp subnet option api dos not work issue 2023-11-22 02:56:07 +00:00
Jiang Jiang Jian
35f09a6ce6 Merge branch 'bugfix/connect_before_connected_v5.0' into 'release/v5.0'
fix(connect): Change second connect time to 730

See merge request espressif/esp-idf!26974
2023-11-22 10:48:38 +08:00
Jiang Jiang Jian
13fdffbe98 Merge branch 'bugfix/pairing_when_enc_with_no_key_fails_v5.0' into 'release/v5.0'
fix(nimble): Initate pairing if encryption fails with reason no pin or key missing (v5.0)

See merge request espressif/esp-idf!27018
2023-11-22 10:47:22 +08:00
Island
6d77fe9b79 Merge branch 'backport/fix_ble_scan_rsp_v5.0' into 'release/v5.0'
Backport/fix ble scan rsp v5.0(backport v5.0)

See merge request espressif/esp-idf!27006
2023-11-21 12:15:09 +08:00
chenjianhua
50b49d856f fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(2758518)
- Fixed power state setting when entering modem sleep
2023-11-15 17:16:46 +08:00
chenjianhua
cd242a5e3e Update bt lib for ESP32-C3 and ESP32-S3(f817304)
- Support get the range of TX power level
- Support clear legacy adv using vendor hci
2023-11-15 17:16:19 +08:00
zhanghaipeng
6bf79dfa8f fix(ble/controller): Fix bugs in setting adv data and scan response data 2023-11-15 17:16:08 +08:00
chenjianhua
905da8f5bf update esp32 bt-lib (6458728)
- Modify mesh proxy solic uuid to 0x18590303
- Support get the range of TX power level
- Support clear legacy adv using vendor hci
2023-11-15 17:15:16 +08:00
chenjianhua
8cc73fe6bf feat(bt/bluedroid): support clear legacy advertising 2023-11-15 17:12:40 +08:00
Jiang Jiang Jian
3405065ed5 Merge branch 'bugfix/fix_deinit_init_wifi_scan_fail_issue_v5.0' into 'release/v5.0'
Bugfix/fix deinit init wifi scan fail issue v5.0(Backport v5.0)

See merge request espressif/esp-idf!27053
2023-11-14 15:27:26 +08:00
ding huan
856daf8a35 disable scan time set by esp_wifi_scan_start 2023-11-14 13:52:55 +08:00
ding huan
2542b74edd fix(connect): Change second connect delay time to 730 and not depends on default value 2023-11-14 11:00:32 +08:00
Jiang Jiang Jian
e42bcf2e88 Merge branch 'bugfix/build_error_when_enable_ag_and_hf_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fix build error when both of the HFP roles are enabled (v5.0)

See merge request espressif/esp-idf!27078
2023-11-13 16:00:36 +08:00
Jiang Jiang Jian
33f8e6acea Merge branch 'bugfix/fix_wifi_issue_v5.0' into 'release/v5.0'
esp_wifi: backport some wifi fix(v5.0)

See merge request espressif/esp-idf!27041
2023-11-13 15:59:54 +08:00
linruihao
27acfa5377 fix(esp_coex): Fix deprecated configuration options not rename to new one 2023-11-13 14:38:38 +08:00
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
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
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
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
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
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
Wang Mengyang
37d94af1f7 feat(bt/bluedroid): Support to build HFP Audio Gateway and Hands Free Unit in single binary 2023-11-01 19:34:09 +08:00
zhangyanjiao
49f02b3b43 fix(phy): Update phy lib to master 2023-11-01 17:56:48 +08:00
Peter Dragun
b784bbb27b fix(tools/coredump-info): pass non-default partition table offset to esp-coredump 2023-11-01 10:27:36 +01:00
zhanghaipeng
a84c563c1e fix(bt/bluedroid): Fix BLE remove bond list status 2023-11-01 17:14:32 +08:00
zhiweijian
52112a9b91 fix(ble/bluedroid): fixed BLE bond error after reboot 2023-11-01 17:13:50 +08:00
Jiang Jiang Jian
52ff4707d8 Merge branch 'backport/fix_ble_bugs_v5.0' into 'release/v5.0'
Backport/fix ble bugs v5.0(backport v5.0)

See merge request espressif/esp-idf!26763
2023-11-01 16:05:29 +08:00
Jiang Jiang Jian
912c1666ff Merge branch 'bugfix/fix_compilation_issue_v5.0' into 'release/v5.0'
fix(wpa_supplicant): Fix compilation issue in EAP disabled (v5.0)

See merge request espressif/esp-idf!26728
2023-11-01 13:19:57 +08:00
Cao Sen Miao
f5e80b68c7 fix(ota): Fixed OTA fail on octal flash with 32MB memory,
Closes https://github.com/espressif/esp-idf/issues/11903
2023-11-01 12:27:16 +08:00
zhiweijian
2a3d18c0cc feat: support ble esp32c3 eco7 2023-10-31 20:38:17 +08:00
Sarvesh Bodakhe
c90353291c fix(esp_wifi): Fix issue of station disconnecting immediately when AP RSSI is zero 2023-10-31 20:38:17 +08:00
liuning
20a34298cf fix(rom): fix rom ld for v5.0 2023-10-31 20:38:17 +08:00
liuning
728cd2489a feat(esp_wifi): support ps-none mode at coexist 2023-10-31 20:38:17 +08:00
liuning
345accbe13 fix(rom): remove related rom funcs in c3 rom eco7 MR 2023-10-31 20:38:17 +08:00
alanmaxwell
3d8915f2b3 feat(wifi): support esp32c3 v1.1 WiFi
1.bringup c3 v1.1 and sync func to c3 eco7 rom
2.support to set null&probe lifetime
3.support to adjust listen interval to dtim period
4.support tx pkt w/o wake null
5.allow to tx null0 if requtest to rx data
2023-10-31 20:38:05 +08:00
luomanruo
21885a0cf9 ble: update c2 lib to 6ed444f2 2023-10-31 16:28:50 +08:00
luomanruo
27f1557d70 ble: update c2 rom.ld 2023-10-31 16:28:50 +08:00
luomanruo
30f1c507d4 ble: update c2 lib to 1d31e175 2023-10-31 16:28:49 +08:00
zhanghaipeng
d6165c0859 feat(bt/bluedroid): Display BLE permission check handle in error trace 2023-10-31 14:37:39 +08:00
zhanghaipeng
ea64b7cb1b feat(bt/bluedroid): Support BLE gattc notify registration number 2023-10-31 14:37:39 +08:00
zhanghaipeng
5758407281 fix(bt/bluedroid): Fix key size check in BLE smp 2023-10-31 14:37:39 +08:00
zhanghaipeng
018e84599a fix(bt/bluedroid): Optimize compatibility with Android 10 and later devices 2023-10-31 14:37:39 +08:00
zhanghaipeng
fc96662044 fix(bt/bluedroid): Optimize compatibility with IOS and MACOS devices 2023-10-31 14:37:39 +08:00
Jiang Guang Ming
0e99be11f0 fix(esp32c3): Update esp32c3 chip revision 2023-10-30 20:56:57 +08:00
Jiang Guang Ming
89bf50f05a feat(esp32c3): Add rom ld with ROM tag esp32c3-eco7-20230720 2023-10-30 20:55:31 +08:00
Jiang Jiang Jian
a6afbb38a4 Merge branch 'bugfix/backport_wifi_fix_1026_v5.0' into 'release/v5.0'
fix(wifi): fix some wifi issues(v5.0)

See merge request espressif/esp-idf!26691
2023-10-30 17:57:53 +08:00
Kapil Gupta
f2da30262a fix(wpa_supplicant): Fix compilation issue in EAP disabled 2023-10-27 18:09:37 +05:30
Jiang Jiang Jian
4bd203b6da Merge branch 'bugfix/wps_condition_chain_v5.0' into 'release/v5.0'
fix(wifi): Fix static analyzer warning for WPS code (v5.0)

See merge request espressif/esp-idf!26495
2023-10-27 19:46:03 +08:00
Jiang Jiang Jian
eb432da2db Merge branch 'feature/support_esp32c2_rom_mbedtls_v5.0' into 'release/v5.0'
feat(mbedtls): support c2 mbedtls can use crypto algorithm in ROM (backport v5.0)

See merge request espressif/esp-idf!26700
2023-10-27 19:45:26 +08:00
Jiang Jiang Jian
9d8b38bafd Merge branch 'bugfix/dpp_bugs_v5.0' into 'release/v5.0'
fix(wpa_supplicant): Fix few dpp bugs(v5.0)

See merge request espressif/esp-idf!26686
2023-10-27 19:43:53 +08:00
Wang Meng Yang
8e5bd616be Merge branch 'bugfix/unable_to_load_bonded_ble_devices_from_nvs_v5.0' into 'release/v5.0'
fix(bt&ble): fix BLE unable to load bonded device info after reboot. (backport v5.0)

See merge request espressif/esp-idf!26466
2023-10-27 10:27:21 +08:00
Jiang Guang Ming
883d7e793f feat(mbedtls): support C2 mbedtls can use crypto algorithm in ROM 2023-10-26 20:56:29 +08:00
gongyantao
dc85f670aa fix(bt/bluedroid): update the newest active device in bluetooth
1: update the newest active device when an ACL link is established and
   the remote device info is not in bond list. This updates will not stored
   into NVRAM until a new device is paired.
2023-10-26 19:33:06 +08:00
Jiang Jiang Jian
5293a3e403 Merge branch 'feature/mbedtls_3_5_0_update_v5.0' into 'release/v5.0'
feat(mbedtls): update to 3.5.0 release (v5.0)

See merge request espressif/esp-idf!26477
2023-10-26 17:58:51 +08:00
muhaidong
6bfac2a6e4 fix(wifi): fix some wifi issues
1. fix enable psram wapi dhcp fail issue
2. fix tx power issue
2023-10-26 17:55:37 +08:00
muhaidong
bcb6a2f386 fix(wifi): fix ccmp and gcmp PN became large issue 2023-10-26 17:55:37 +08:00
xueyunfei
1f5e7e33df feat(esp_wifi):static buf for management,control,qos null,null data rx packet 2023-10-26 17:55:37 +08:00
Jiang Jiang Jian
349bc1795c Merge branch 'feature/free_bt_memory_5.0' into 'release/v5.0'
feat(bt): Frees BLE memory when no longer in use

See merge request espressif/esp-idf!26574
2023-10-26 17:55:32 +08:00
alanmaxwell
555891bb54 fix(wifi): fix multi antenna issue 2023-10-26 17:54:35 +08:00
Jiang Jiang Jian
279e00927b Merge branch 'bufix/Backport_some_lwip_bugs_for_5.0_1026' into 'release/v5.0'
Bufix/backport some lwip bugs for 5.0 1026

See merge request espressif/esp-idf!26678
2023-10-26 17:49:42 +08:00
Jiang Jiang Jian
2100dddaf1 Merge branch 'bugfix/spurious_beacon_timeout_v5.0' into 'release/v5.0'
Fixed some WiFi Issues (Backport v5.0)

See merge request espressif/esp-idf!26600
2023-10-26 14:48:44 +08:00
aditi_lonkar
8edd26b4f3 fix(wpa_supplicant): Fix few dpp bugs
1) Fix crash in dpp Listen without bootstrap
  2) Fix crash on receiving dpp auth_req from hostapd with dpp akm
  3) Ensures that the mode is set to station before dpp init
  4) Ensures that dpp follows the path of init->bootstrap->listen
2023-10-26 12:09:44 +05:30
xueyunfei
4bd2b33d9b Fix(tcp):optimize tcp connection 2023-10-26 13:00:44 +08:00
xueyunfei
1e3bb1469a fix(dhcp server):fix set dhcp server poll fail issue 2023-10-26 12:59:57 +08:00
Jiang Jiang Jian
231e822d03 Merge branch 'bugfix/backport_some_ble_bugs_20231020_v5.0' into 'release/v5.0'
Fixed some BLE bugs 20231020 (backport v5.0)

See merge request espressif/esp-idf!26606
2023-10-26 11:51:48 +08:00
gaoxu
60d9fd9e3a fix(adc): fix adc oneshot mod do not split clk 2023-10-26 11:43:41 +08:00
Jiang Jiang Jian
4ba42edafc Merge branch 'bugfix/fix_cpu_switches_freq_bug_s2s3_to_v5.0' into 'release/v5.0'
EspS2/S3: fixed the bug of insufficient voltage when the CPU switches frequency(V5.0)

See merge request espressif/esp-idf!26281
2023-10-25 10:25:14 +08:00
Shen Weilong
6875e2b7d0 feat(bt): Frees BLE memory when no longer in use
It will free libble.a & libbt all txt, data and bss segment memory.
          This memory is combined into one large memory and put into the heap
          pool.
2023-10-24 06:04:39 +00:00
morris
0187f3b4e3 feat(mcpwm): support update timer period dynamically
Implement the requirement asked in
https://www.esp32.com/viewtopic.php?f=13&t=35919
2023-10-24 10:08:29 +08:00
Wang Meng Yang
46c75fc31c Merge branch 'bugfix/coex_cfg_option_invisible_v5.0' into 'release/v5.0'
fix(esp_coex): Fix dependency errors in coexist configuration (Backport v5.0)

See merge request espressif/esp-idf!26581
2023-10-23 16:21:00 +08:00
zhiweijian
c6588baf8f Update BLE lib on ESP32-C3 and ESP32-S3
- modify mesh proxy solic uuid to 0x18590303
- Fixed DTM payload length cannot be 0
- Added config to enable Hw recorrect eco
- report the number of packets sent on the TX end
2023-10-20 17:16:53 +08:00
zhiweijian
f3729b1610 feat: add config to disable ble hci uart flow control 2023-10-20 17:16:45 +08:00
zhiweijian
b13e24f26c change: enable pll track by default on ESP32 2023-10-20 17:16:37 +08:00
zhiweijian
39674d11e0 Add mesh adv type for exception list 2023-10-20 17:16:27 +08:00
chenjianhua
3502d25a2e Update bt lib for ESP32-C3 and ESP32-S3(c8aa206)
- Fixed extended adv address setting after adv restart
- Fixed scan channel index setting for extended scan
- Add API to set aux channel index for extended adv
2023-10-20 17:16:17 +08:00
chenjianhua
ab427cc1c0 Update bt lib for ESP32-C3 and ESP32-S3(29996e0)
- Fixed address resolution for directed adv with RPA when scanning
- Fixed resolvable private address renew after timeout
2023-10-20 17:16:06 +08:00
zhiweijian
a16c26c4ca Add new mesh types for exception list on ESP32-C3 and ESP32-S3 2023-10-20 17:15:55 +08:00
zhiweijian
cc746091a9 Fixed bluedroid host build warning when log is disabled 2023-10-20 17:15:45 +08:00
Mahavir Jain
f333925342 Merge branch 'feature/locking_layer_for_ecdsa_v5.0' into 'release/v5.0'
feat(esp_hw_support): Added locking mechanism for the ECC peripheral (v5.0)

See merge request espressif/esp-idf!26287
2023-10-20 15:57:16 +08:00
jgujarathi
6881b3fa33 fix(esp_wifi): Fixes issues in PMKSA and AID assignment
- Fix missing PMKSA flush scenarios.

- Fix wrong AID assigned to station when multiple stations try to connect
  simultaneously with mixed order of auth-request and assoc-request frames.
2023-10-20 13:12:12 +05:30
Rahul Tank
22f31de902 fix(espcoredump): fixed compilation warning
Added conditional compilation for logging stack usage only when CONFIG_ESP_COREDUMP_LOGS is
enabled.

Closes: https://github.com/espressif/esp-idf/issues/12318
2023-10-20 11:23:44 +05:30
Island
ded1414d7b Merge branch 'bugfix/update_ble_lib_1018_5_0' into 'release/v5.0'
change(ble): update ble lib on c6 h2 and c2 chip

See merge request espressif/esp-idf!26545
2023-10-20 10:25:25 +08:00
linruihao
dd16903b51 fix(esp_coex): Fix dependency errors in coexist configuration 2023-10-19 19:04:32 +08:00
Jiang Jiang Jian
861410f4eb Merge branch 'docs/update_wifi_and_wpa_supplicant_documentation_v5.0' into 'release/v5.0'
docs(wifi): Update wifi and wifi security documentation_v5.0

See merge request espressif/esp-idf!25752
2023-10-19 10:38:30 +08:00
Jiang Jiang Jian
64ceda77f4 Merge branch 'feat/imporve_iperf_performance_v5.0' into 'release/v5.0'
feat(wifi): optimize iperf performance (Backport V5.0)

See merge request espressif/esp-idf!26406
2023-10-19 10:33:28 +08:00
Kapil Gupta
28ba29a95d fix(wifi): Fix static analyzer warning for WPS code 2023-10-18 17:55:38 +05:30
luomanruo
8b7c87028b ble: update controller log module for ESP32-C2 2023-10-18 18:03:45 +08:00
luomanruo
3d381ba560 ble: update controller log module for ESP32-C2 2023-10-18 16:59:11 +08:00
cjin
82563128c8 change(ble): update ble lib on c6 h2 and c2 chip 2023-10-18 16:28:22 +08:00
Marius Vikhammer
9ca65d9720 Merge branch 'bugfix/fix_freertos_system_task_names_v5.0' into 'release/v5.0'
fix(freertos): Updated IDLE task names for each core to have the coreID as a suffix (v5.0)

See merge request espressif/esp-idf!26119
2023-10-18 16:09:48 +08:00
Marius Vikhammer
d5255c9ba8 Merge branch 'contrib/github_pr_12258_v5.0' into 'release/v5.0'
fix(vfs): Fix event_write may not exit critical section (GitHub PR) (v5.0)

See merge request espressif/esp-idf!26048
2023-10-18 15:52:04 +08:00
Mahavir Jain
39ea20354d Merge branch 'fix_esp32s3_irq_names_v5.0' into 'release/v5.0'
fix(interrupts): reorder esp32s3 irq names to align with the respective irq numbers (v5.0)

See merge request espressif/esp-idf!26504
2023-10-18 13:48:55 +08:00
Shreyas Sheth
5004647fb1 fix(wifi): Fix crash occuring when station SAE group is not set to SECP256R1 2023-10-17 14:11:19 +05:30
Shreyas Sheth
79e55b6e92 docs(wifi): Update wifi and wifi security documentation and bugfixes
1. Update documentation for WPA3 Enterprise and WPA3 Enterprise 192-bit
mode
2. Update documentation for WPA3 OWE and OWE transition mode
3. Update documentation related to SAE PK, SAE PWE and Transition Disable
4. Update documnetation for wifi connect API
5. Fix config paramter information for wifi scan start
6. Fix documentation related to scan threshold config setting
7. Replace ESP_ERR_WIFI_ARG error code as ESP_ERR_INVALID_ARG
8. Update documentation for 802.11R Fast transition
9. Fix sta connecting with wpa security in enterprise mode
2023-10-17 14:01:18 +05:30
Island
00d58a92dc Merge branch 'ble_dev/added_modem_reset_on_ble_v5_0' into 'release/v5.0'
feat(ble): added modem reset on c2

See merge request espressif/esp-idf!26450
2023-10-17 15:42:12 +08:00
Erhan Kurubas
9fc58a706d fix(interrupts): reorder esp32s3 irq names to align with the respective irq numbers 2023-10-17 09:02:31 +02:00
Island
467cae8a41 Merge branch 'backport_v5.0' into 'release/v5.0'
Fix some BLE bugs in bluedroid host(backport 5.0)

See merge request espressif/esp-idf!26168
2023-10-17 11:00:39 +08:00
zhanghaipeng
baf04c4334 fix(bt/bluedroid): Fix hid example stack overflow bugs when using esp32s3 2023-10-16 19:30:29 +08:00
zhanghaipeng
98d88f86a7 fix(bt/bluedroid): Fix remove resolving list error for esp32 2023-10-16 19:30:18 +08:00
zhanghaipeng
5c6533d574 fix(bt/bluedroid): Fix bugs in ble service change characteristic 2023-10-16 19:30:08 +08:00
zhanghaipeng
c1b8734fb9 feat(bt/bluedroid): Support scan response data length zero in BLE 2023-10-16 19:29:56 +08:00
zhanghaipeng
18c8d0e04c fix(bt/bluedroid): Optimize the description of Scan Duplicate in BLE 2023-10-16 19:29:45 +08:00
morris
447e9701ef Merge branch 'bugfix/usb_serial_jtag_write_return_val_v5.0' into 'release/v5.0'
bugfix(usb_serial_jtag): Fix usb_serial_jtag wrong return value, vfs lose data randomly (backport v5.0)

See merge request espressif/esp-idf!26439
2023-10-16 14:26:11 +08:00
morris
c33962259c Merge branch 'bugfix/temp_clk_gate_v5.01' into 'release/v5.0'
fix(temperature_snesor): Put clock gate enable/disable in to sar_periph_ctrl together (backport v5.0)

See merge request espressif/esp-idf!26437
2023-10-16 14:22:13 +08:00
Mahavir Jain
3e90ed6428 fix(mbedtls): remove deprecated MBEDTLS_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION
This config has been removed in the upstream mbedTLS starting 3.0
release. Please see mbedTLS changelog for more details.
2023-10-16 03:54:57 +00:00
Mahavir Jain
088c546964 fix(mbedtls): dynamic buffer feature issue with mbedtls 3.5.0
Set max TLS version in the SSL context during setup phase. Dynamic
buffer feature overrides the `mbedtls_ssl_setup` API and hence
this change is required per upstream 3.5.0 codebase change.
2023-10-16 03:54:57 +00:00
Mahavir Jain
97fe016e4e feat(mbedtls): update to 3.5.0 release
Changelog:
https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-3.5.0
2023-10-16 03:54:57 +00:00
Mahavir Jain
10ef082950 Merge branch 'feature/update_openthread_upstream_manually' into 'release/v5.0'
feat(openthread): update upstream manually.

See merge request espressif/esp-idf!26388
2023-10-16 11:53:39 +08:00
Jiang Jiang Jian
65321ea317 Merge branch 'bugfix/use_bt_sdp_bqb_include_macro_for_ertm_mode_flag_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Add correct macro for ertm mode included flag (v5.0)

See merge request espressif/esp-idf!26456
2023-10-16 11:51:56 +08:00