Commit Graph

20778 Commits

Author SHA1 Message Date
Jin Cheng
a8790378e9 fix(bt/bluedroid): Fixed incorrect arrangement in type esp_hf_dial_type_t 2023-09-11 19:45:30 +08:00
Jin Cheng
36ba902bfe change(bt/bluedroid): Added line information printing when error occurs CHECK_HF_IDX 2023-09-11 19:45:30 +08:00
Jin Cheng
ca1ef30aa7 fix(bt/bluedroid): Fixed the issue of uninitialized parameters in event BTA_AG_WBS_EVT 2023-09-11 19:45:29 +08:00
Jiang Jiang Jian
a432b1459e Merge branch 'feature/lp_wdt_h2_5.1' into 'release/v5.1'
LP-WDT: add support for H2 (v5.1)

See merge request espressif/esp-idf!25863
2023-09-11 19:04:00 +08:00
Mahavir Jain
31aa471af8 Merge branch 'contrib/github_pr_11869_v5.1' into 'release/v5.1'
bugfix: avoid warning in espcoredump when log disabled (GitHub PR) (v5.1)

See merge request espressif/esp-idf!25143
2023-09-11 14:42:10 +08:00
Mahavir Jain
be9d8ef709 Merge branch 'feature/freertos_add_sbom_file_v5.1' into 'release/v5.1'
feat(freertos): Added SBOM manifest file for SPDX file generation (v5.1)

See merge request espressif/esp-idf!25891
2023-09-11 13:48:28 +08:00
Jiang Jiang Jian
0c27d2467d Merge branch 'bugfix/pbc_overlap_in_wps_pin_method_v5.1' into 'release/v5.1'
Fix for issue of wps-pbc overlap in wps-pin method(v5.1)

See merge request espressif/esp-idf!25695
2023-09-11 12:12:29 +08:00
Chen Jichang
d8e5b2ac41 feat(mcpwm): Set group clock prescale dynamically
MCPWM group clock pre scale was originally fixed to 2, which is
inconvenient. Set group clock prescale dynamically. Now the maximum
resolution of the MCPWM timer is up to 160MHz(when the prescale set
to 1). And add a resulotion config for MCPWM capture.
2023-09-11 11:29:28 +08:00
Jiang Jiang Jian
1d91310e0f Merge branch 'bugfix/wps_wpa3_passphrase_v5.1' into 'release/v5.1'
WiFi: get passphrase in WPS if AP support SAE (v5.1)

See merge request espressif/esp-idf!25885
2023-09-11 10:54:18 +08:00
Jiang Jiang Jian
680a254b18 Merge branch 'bugfix/hf_ag_report_event_with_null_bdaddr_v5.1' into 'release/v5.1'
Bugfix/fixed bugs of HFP in BlueDroid (v5.1)

See merge request espressif/esp-idf!25827
2023-09-11 10:54:09 +08:00
Jiang Jiang Jian
123fcbbf36 Merge branch 'fix/spiffs_log_errors_v5.1' into 'release/v5.1'
fix(spiffs): SPIFFS print formatter errors out (v5.1)

See merge request espressif/esp-idf!25392
2023-09-11 10:10:23 +08:00
Jiang Jiang Jian
79cd68f969 Merge branch 'fix/nvs_tool_invalid_entry_none_check_v5.1' into 'release/v5.1'
NVS: nvs_tool.py entry.data None check fix (v5.1)

See merge request espressif/esp-idf!24495
2023-09-11 10:09:08 +08:00
Wang Meng Yang
da07a096d0 Merge branch 'test/bqb_test_bt_classic_hid_v5.1' into 'release/v5.1'
feat(bt/bqb): Add setting local di record function for specific hid case of bqb auto test (backport v5.1)

See merge request espressif/esp-idf!25833
2023-09-11 07:36:25 +08:00
Island
4afb2a86e2 Merge branch 'backport_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fix memory no free issue when disconneting for mesh(backport v5.1)

See merge request espressif/esp-idf!25859
2023-09-08 20:39:49 +08:00
Jiang Jiang Jian
b717333177 Merge branch 'bugfix/reduce_bss_logging_v5.1' into 'release/v5.1'
wifi: Reduce BSS logging in wpa_supplicant

See merge request espressif/esp-idf!25825
2023-09-08 19:19:43 +08:00
Sudeep Mohanty
4d8644bfa8 feat(freertos): Added SBOM manifest file for SPDX file generation
This commit adds the SBOM manifest file for the FreeRTOS-Kernel to aid
SPDX file generation.
2023-09-08 12:55:47 +02:00
Kapil Gupta
797ec25a3f fix(wifi): Get passphrase in WPS if AP support SAE
Also add changes to send NACK if WPS message received twice.
2023-09-08 15:21:56 +05:30
Jiang Jiang Jian
9eceef649b Merge branch 'bugfix/esp32h2_update_desc_ecdsa_workmode_v5.1' into 'release/v5.1'
fix(soc/esp32h2): Update the description of the ECDSA_WORK_MODE (backport v5.1)

See merge request espressif/esp-idf!25818
2023-09-08 16:09:42 +08:00
cjin
27f84d88dc ble: support esp32c2 wakeup overhead 2023-09-08 15:52:23 +08:00
luomanruo
9896ee353b ble: update esp32h2 and esp32c6 libble to a9fa2002 2023-09-08 14:27:48 +08:00
zhangwenxu
5f55496f51 feat(openthread): support BR deinit 2023-09-08 12:24:36 +08:00
Marius Vikhammer
0a6d6c085a feat(wdt): add LL functions for WDT on H2 2023-09-08 11:01:25 +08:00
zhanghaipeng
03be63636a fix(bt/bluedroid): Fix memory no free issue when disconneting for mesh 2023-09-08 10:33:42 +08:00
Jiang Jiang Jian
ab7ad8a848 Merge branch 'bugfix/fix_some_ble_bugs_v5.1' into 'release/v5.1'
Fixed some BLE bugs (backport v5.1)

See merge request espressif/esp-idf!25776
2023-09-08 10:19:40 +08:00
Jiang Jiang Jian
8d0858060a Merge branch 'feature/management_modem_etm_clock_indepently_v5.1' into 'release/v5.1'
feat(esp_hw_support): manage modem_etm clock in modem_clock for bt/154 indepently (backport v5.1)

See merge request espressif/esp-idf!25793
2023-09-08 10:16:59 +08:00
Jiang Jiang Jian
ef451cab0f Merge branch 'bugfix/sntp_cpp_compat_v5.1' into 'release/v5.1'
esp_netif: Fix invalid conversion from int to enumeration in c++ build (GitHub PR) (v5.1)

See merge request espressif/esp-idf!25041
2023-09-08 10:16:21 +08:00
chenqingqing
7e406acb95 feat(bt/api): Add new apis for hfp to get the numbers of packet status received and sent 2023-09-08 00:52:07 +00:00
Jin Cheng
26600a8fcf fix(bt/bluedroid): Deleted the redundant 'memset' in btc_hf_cb_handler 2023-09-08 00:52:07 +00:00
Jin Cheng
c6e62a9817 docs(bt/bluedroid): Changed the description of esp_hf_client_reject_call 2023-09-08 00:52:07 +00:00
Jin Cheng
eed85adaeb fix(bt/bluedroid): Fixed wrong indexes of HF-AG indicators 2023-09-08 00:52:07 +00:00
Jin Cheng
71ec923e55 fix(bt/bluedroid): Added peer Bluetooth device address into HF callback parameters 2023-09-08 00:52:07 +00:00
Jin Cheng
7037ee47f9 fix(bt/bluedroid): Changed log level from WARNING to DEBUG in bta_ag_sco_read_cback 2023-09-08 00:52:07 +00:00
Jin Cheng
0167b14411 fix(bt/bluedroid): Fixed wrong code logic in 'AT+CIND?' of HFP 2023-09-08 00:52:07 +00:00
Jin Cheng
17d1b66d47 fix(bt/bluedroid): Fixed errors in parsing ATD command in HFP AG 2023-09-08 00:52:07 +00:00
Jin Cheng
19185a65fd fix(bt/bluedroid): Fixed NULL Bluetooth device address in HF-AG events was reported to application layer 2023-09-08 00:52:07 +00:00
Chen Jian Xing
c1d8013330 Merge branch 'bugfix/backport_phy_v5.1' into 'release/v5.1'
fix(phy): backport some phy fix(v5.1)

See merge request espressif/esp-idf!25734
2023-09-08 06:18:58 +08:00
aditi_lonkar
8254175931 wpa_supplicant: Fix for issue of wps-pbc overlap in wps-pin method 2023-09-07 15:14:35 +05:30
morris
fefa61a7c7 Merge branch 'feature/esp_lcd_st7789_rgb_data_endian_config_v5.1' into 'release/v5.1'
feat(st7789): add data endian config (v5.1)

See merge request espressif/esp-idf!25802
2023-09-07 16:33:49 +08:00
zwl
325bf39c89 feat(ble): enable adv report flow control on esp32c2 2023-09-07 16:27:50 +08:00
zwl
615f9bd602 fix(ble): fixed crash when memory is insufficient on esp32c2 2023-09-07 16:27:42 +08:00
Li Shuai
cbb2a3f8fa fix(esp32c6/power save): optimize the retention step of the APM and TEE modules to set only the critical parts that affect wifi data frame receipt to level 2 priority 2023-09-07 14:31:12 +08:00
wanglai@espressif.com
648bc35612 feat(bt/bluedroid): Add setting local di record function for bt classic hid device bqb test 2023-09-07 14:18:03 +08:00
wanglai@espressif.com
e29b67c02a fix(bt/bluedroid): Changed HID related copyright automatically 2023-09-07 14:17:42 +08:00
Kapil Gupta
397206d050 change(wifi): Reduce BSS logging in wpa_supplicant 2023-09-07 10:19:02 +05:30
chenjianhua
3874281107 update esp32 bt-lib (7b24543)
- Support BLE RX error packet count record
- Fixed instant setting for LLC procedures with instants
- Fixed adv random delay when adv interval is less than 20ms
2023-09-07 11:05:10 +08:00
chenjianhua
c315a246e6 Update bt lib for ESP32-C3 and ESP32-S3(59725b5)
- Support BLE RX error packet count record
- Fixed adv random delay when adv interval is less than 20ms
- Fixed adv random address setting when owner address type is public
2023-09-07 11:05:10 +08:00
chenjianhua
5b7fcd80d2 Update bt lib for ESP32-C3 and ESP32-S3(ff6efe7)
- fix(bt/controller): Fixed PHY enable and disable
- feat(bt/controller): Support DAA and LBT mode for BLE CCA
2023-09-07 11:05:10 +08:00
zhanghaipeng
0f6a7ac7b1 fix(bt): Fix bugs about updating connect param 2023-09-07 11:05:10 +08:00
zhanghaipeng
e3c5c4fb7b fix(bt): Fix bug while calculating block cipher using aes-128 2023-09-07 11:05:10 +08:00
zhanghaipeng
98f59569b0 docs(bt): Update comment in ble 2023-09-07 11:05:10 +08:00
zhanghaipeng
cc9c5b78b9 feat(bt/bluedroid): Support periodic adv adi feature 2023-09-07 11:05:09 +08:00
chenjianhua
985f6a4892 fix(bt/bluedroid): Fixed BLE disconnect event report when disconnecting 2023-09-07 11:05:09 +08:00
chenjianhua
9df464d7bb fix(bt/bluedroid): Fixed GATTC cache address save when list is full 2023-09-07 11:05:09 +08:00
chenjianhua
35af1c03e2 feat(bt/bluedroid): Support high duty adv interval setting 2023-09-07 11:05:09 +08:00
chenjianhua
52a0a10ef4 fix(bt/bluedroid): Fix address check when using NRPA as random device address 2023-09-07 11:05:09 +08:00
xueyunfei
9aeafb006e fix(dhcp server): Fix dhcp server address pool issue 2023-09-07 10:35:52 +08:00
Jiang Guang Ming
9ed6944c0d fix(soc/esp32h2): Update the description of the ECDSA_WORK_MODE 2023-09-07 10:34:36 +08:00
Jiang Jiang Jian
4a221b0346 Merge branch 'feature/ble_lib_update_h2_c6_v5.1' into 'release/v5.1'
ble: update h2 c6 libble to 5d7af429

See merge request espressif/esp-idf!25692
2023-09-07 10:25:18 +08:00
Jiang Jiang Jian
d22e640579 Merge branch 'bugfix/aes_dma_descriptor_setup_issue_v5.1' into 'release/v5.1'
fix(aes): correct the linking of the DMA descriptors (v5.1)

See merge request espressif/esp-idf!25784
2023-09-07 10:24:09 +08:00
alanmaxwell
9331e240fc fix(phy): backport some phy fix
1. WIFI RX multipath optimization for all chips
2. BLE TX sideband optimization for C3/S3
3. Optimize ht40 tx side band issue
2023-09-07 02:23:06 +00:00
Wang Meng Yang
98f4ce2011 Merge branch 'bugfix/fix_some_hci_cmd_param_check_v5.1' into 'release/v5.1'
fix(bt/controller): Fixed some HCI commands parameter check (Backport v5.1)

See merge request espressif/esp-idf!25712
2023-09-07 07:41:15 +08:00
Rahul Tank
94ad8f1a6a Merge branch 'feature/dynamic_services_v5.1' into 'release/v5.1'
Nimble: Add support for dynamic service addition / deletion (v5.1)

See merge request espressif/esp-idf!25742
2023-09-06 17:18:27 +08:00
Planck (Lu Zeyu)
9d535c05f7 feat(st7789): add data endian config
Closes https://github.com/espressif/esp-idf/issues/11416
2023-09-06 16:59:13 +08:00
wuzhenghui
d3bfaf8f5f feat(esp_hw_support): manage modem_etm clock in modem_clock for bt/154 indepently 2023-09-06 15:48:37 +08:00
Michael (XIAO Xufeng)
8ff8486735 Merge branch 'fix/spi_polling_api_buslock_logic_v5.1' into 'release/v5.1'
fix(spi_master): polling_transmit forgot release bus lock when alloc DMA buffer failed (v5.1)

See merge request espressif/esp-idf!25576
2023-09-06 14:01:25 +08:00
Mahavir Jain
5605189398
fix(aes): correct the linking of the DMA descriptors
For certain data lengths, the last input descriptor was not getting appended
correctly and hence the EOF flag in the DMA descriptor link list was
set at incorrect location. This was resulting in the peripheral being
stalled expecting more data and eventually the code used to timeout
waiting for the AES completion interrupt.

Required configs for this issue:

CONFIG_MBEDTLS_HARDWARE_AES
CONFIG_SOC_AES_SUPPORT_DMA

This observation is similar to the issue reported in:
https://github.com/espressif/esp-idf/issues/10647

To recreate this issue, start the AES-GCM DMA operation with data length
12280 bytes and this should stall the operation forever.

In this fix, we are tracing the entire descriptor list and then appending the
extra bytes descriptor at correct position (as the last node).
2023-09-06 08:28:43 +05:30
Mahavir Jain
2fbe919e4c
fix(aes-gcm): correct the DMA completion wait condition for hardware GCM case
DMA operation completion must wait until the last DMA descriptor
ownership has been changed to hardware, that is hardware is completed
the write operation for entire data. Earlier for the hardware GCM case,
the first DMA descriptor was checked and it could have resulted in some
race condition for non interrupt (MBEDTLS_AES_USE_INTERRUPT disabled) case.
2023-09-06 08:28:43 +05:30
morris
1efe80af9b Merge branch 'feature/esp_lcd_panel_add_data_and_type_v5.1' into 'release/v5.1'
feat(esp_lcd): add user data and init cmd (v5.1)

See merge request espressif/esp-idf!25721
2023-09-05 16:09:39 +08:00
luomanruo
90da6ebfec change: print assert info before dump log 2023-09-05 15:10:54 +08:00
cjin
6f89300764 change: changed ble msys init for controller 2023-09-05 15:10:38 +08:00
cjin
d94c9d141b feat: added ble wake up overhead support 2023-09-05 15:10:38 +08:00
luomanruo
56894b1bca ble: update h2 c6 libble to 5d7af429 2023-09-05 15:10:38 +08:00
Roshan Bangar
1520984157 feat(nimble): Added support for dynamic services
Added support for dynamic services
2023-09-05 11:52:17 +05:30
Rahul Tank
bf204d4150 Merge branch 'feature/adv_queue_congestion_v5.1' into 'release/v5.1'
feat(nimble): Added adv queue congestion check (v5.1)

See merge request espressif/esp-idf!25726
2023-09-05 14:14:35 +08:00
morris
aec971572f Merge branch 'feature/specify_rmt_intr_priority_v5.1' into 'release/v5.1'
feat(rmt): specify interrupt priority (v5.1)

See merge request espressif/esp-idf!25718
2023-09-05 12:09:44 +08:00
Jiang Jiang Jian
1b87f35f0f Merge branch 'feature/support_ble_53_host_feat_v5.1' into 'release/v5.1'
Support BLE host feature for PTS (backport v5.1)

See merge request espressif/esp-idf!25645
2023-09-04 15:32:23 +08:00
darshan
6983b86528 feat(nimble): Added adv queue congestion check 2023-09-04 11:25:20 +05:30
Liu Zhong Wei
559df9640c feat(esp_lcd): add user data and init cmd 2023-09-04 13:25:39 +08:00
Planck (Lu Zeyu)
3b9c57ac32 feat(rmt): specify interrupt priority 2023-09-04 13:12:02 +08:00
linruihao
f629029d4a fix(bt/controller): Fixed some HCI commands parameter check
Fixed HCI_Change_Connection_Packet_Type Command parameter check
Fixed HCI_Accpet_Synchronous_Connection_Request Command parameter check
Fixed HCI_Set_Connectionless_Peripheral_Broadcast_Data Command parameter check
2023-09-04 11:03:33 +08:00
Island
f0437b945f Merge branch 'feature/esp32c2_add_trace_function_v5.1' into 'release/v5.1'
ble: supported trace function and adv report flow control on esp32c2

See merge request espressif/esp-idf!25640
2023-09-01 20:10:45 +08:00
Shu Chen
865b48039d Merge branch 'feature/openthread_disable_nd6_timer_v5.1' into 'release/v5.1'
feat(openthread): disable lwip nd6 in openthread sleepy device (backport v5.1)

See merge request espressif/esp-idf!25631
2023-09-01 16:09:31 +08:00
Jiang Jiang Jian
a9aea676e7 Merge branch 'ci/connect_at_different_phase_v5.1' into 'release/v5.1'
ci(wifi): Test connect api at different phase (backports v5.1)

See merge request espressif/esp-idf!25674
2023-09-01 10:24:48 +08:00
Jiang Jiang Jian
9619d85027 Merge branch 'test/bqb_test_bt_classic_a2dp_v5.1' into 'release/v5.1'
feat(bt/bqb): Add setting SBC encoder and reject invalid codec type support for a2dp BQB test (backport v5.1)

See merge request espressif/esp-idf!25684
2023-09-01 10:21:15 +08:00
wanlei
6aa9086206 fix(spi_master): polling_transmit forgot release bus lock when alloc DMA buffer failed
Close https://github.com/espressif/esp-idf/issues/11845
2023-08-31 21:15:14 +08:00
Marius Vikhammer
e10e95282d Merge branch 'fix/bp_wp_in_panic_v5.1' into 'release/v5.1'
fix(breakpoint): fix bp/wp logic when debugger is connected (v5.1)

See merge request espressif/esp-idf!25633
2023-08-31 19:50:11 +08:00
wanglai@espressif.com
87135459a7 feat(bt/bqb): Set SBC encoder as PTS required for BQB test
1: set SBC encoder as PTS required. The encoder is effective first.
But it changes to default after media start.
2023-08-31 19:11:43 +08:00
wanglai@espressif.com
4ea52074b4 fix(bt/avdtp): Reject SET CONFIGURATION command with error code INVALID_CODEC_TYPE
1: reset p_scb->avdt_handle in cleanup function.
2: cancel comparing p_scb->codec_type and p_scb->seps[xx].codec_type to
   send the error INVALID_CODEC_TYPE.
2023-08-31 19:11:43 +08:00
zhangwenxu
4988c1a3d1 feat(openthread): add mesh local prefix configuration 2023-08-31 17:08:41 +08:00
zhangwenxu
f7fd03a79a fix(openthread): fix openthread settings get next empty index 2023-08-31 17:08:27 +08:00
zhangwenxu
3f2ff9af34 bugfix(esp_phy): fix using wrong macro 2023-08-31 17:08:16 +08:00
Jiang Jiang Jian
71083039f6 Merge branch 'bugfix/esp32c6_udp_bc_mc_rx_loss_rate_is_high_v5.1' into 'release/v5.1'
backport v5.1: fix esp32c6 UDP BC/MC RX loss rate is high when light sleep is enabled

See merge request espressif/esp-idf!25628
2023-08-31 13:28:48 +08:00
zwl
bd21c215c7 ble: supported trace function and adv report flow control on esp32c2 2023-08-31 12:02:00 +08:00
Jiang Jiang Jian
b58706c1d2 Merge branch 'feature/support_hp_regi2c_for_esp32c6_v5.1' into 'release/v5.1'
feat(esp_rom): support hp regi2c for esp32c6(backport v5.1)

See merge request espressif/esp-idf!25644
2023-08-31 10:49:58 +08:00
Roland Dobai
b3011ed759 Merge branch 'feature/coredump_panic_details_v5.1' into 'release/v5.1'
feat(coredump): add panic details to the elf file (v5.1)

See merge request espressif/esp-idf!25597
2023-08-30 22:23:41 +08:00
ding huan
d0c5c2e13a ci(wifi): Test connect api at different phase 2023-08-30 17:04:26 +08:00
Shu Chen
61cb60c6af Merge branch 'bugfix/fix_ieee802154_test_issue_v5.1' into 'release/v5.1'
fix(ieee802154): fix ieee802154_test issue(backport 5.1)

See merge request espressif/esp-idf!25630
2023-08-30 15:13:20 +08:00
chenjianhua
b3860800ae bluedroid: add GATT read multi variable API and evt 2023-08-30 14:50:21 +08:00
chenjianhua
e451b967d6 bluedroid: add periodic adv sync transfer API and EVT 2023-08-30 14:50:21 +08:00
chenjianhua
97dd2dc88e bluedroid: support gatts show local database 2023-08-30 14:50:21 +08:00
wuzhenghui
05cd295a28 fix(esp_rom): fix esp32c6, esp32h2 hp_regi2c ops data conflict with phy ops 2023-08-30 14:28:55 +08:00
Lou Tianhao
d2730608d2 feature(esp_rom): support_hp_regi2c_for_esp32c6 2023-08-30 14:28:37 +08:00
morris
be7cf3dffb Merge branch 'bugfix/fix_adc_continuous_driver_isr_flag_issue_v5.1' into 'release/v5.1'
adc: fix continuous hal func not in iram when gdma isr iram (v5.1)

See merge request espressif/esp-idf!25505
2023-08-30 10:51:36 +08:00
Erhan Kurubas
1c27df8189 fix(breakpoint): fix bp/wp logic when debugger is connected 2023-08-29 12:32:06 +02:00
xiaqilin
0a17c0831e feat(openthread): disable lwip nd6 in openthread sleepy device 2023-08-29 17:35:27 +08:00
xiaqilin
b1a946dd60 fix(ieee802154): fix ieee802154_test issue
* pti do not set in ieee802154 test
* ack_time_out do not using in ieee802154 test
2023-08-29 16:49:41 +08:00
Li Shuai
6e852f86d9 fix(esp32c6/power save): improve TEE and APM module retention priority to 2 to avoid the wifi fail to read the rxbuf link and trigger the rxbuf overflow error 2023-08-29 16:30:02 +08:00
Rahul Tank
8e6bf6c3a0 Merge branch 'feat/add_high_duty_adv_interval_v5.1' into 'release/v5.1'
feat(nimble): Added support for high duty adv interval (v5.1)

See merge request espressif/esp-idf!25553
2023-08-29 14:51:45 +08:00
Roland Dobai
df8a4d3335 Merge branch 'feature/configurable_gcov_task_size_v5.1' into 'release/v5.1'
feat(gcov): make gcov dump task size configurable (v5.1)

See merge request espressif/esp-idf!25600
2023-08-29 09:43:51 +08:00
Erhan Kurubas
568c397822 feat(coredump): add panic details to the elf file 2023-08-28 18:48:16 +02:00
Rahul Tank
8f51aee8fa feat(nimble): Added support for high duty adv interval 2023-08-28 17:53:16 +05:30
Rahul Tank
81ae481d7f Merge branch 'feat/add_set_data_related_addr_change_cmd_v5.1' into 'release/v5.1'
feat(nimble): Add support for LE Data Set Related Address Change command (v5.1)

See merge request espressif/esp-idf!25583
2023-08-28 20:21:50 +08:00
Wang Meng Yang
09954c1d29 Merge branch 'feature/config_device_name_in_eir_v5.1' into 'release/v5.1'
feat(bt/bluedroid): Add option whether to include device name in extended inquiry response

See merge request espressif/esp-idf!25541
2023-08-28 19:02:07 +08:00
Island
261af82d1f Merge branch 'bugfix/ble_hci_issues_chain_mbuf_v5.1' into 'release/v5.1'
fix hci issues when chain mbuf exists

See merge request espressif/esp-idf!25532
2023-08-28 18:39:37 +08:00
Erhan Kurubas
c300ef7efa feat(gcov): make gcov dump task size configurable 2023-08-28 12:01:49 +02:00
Jiang Jiang Jian
3eed68cc9c Merge branch 'bugfix/update_supplicant_copyrights_v5.1' into 'release/v5.1'
Update copyright info for wpa_supplicant (v5.1)

See merge request espressif/esp-idf!25526
2023-08-28 13:49:25 +08:00
morris
8da2c57889 Merge branch 'feature/mcpwm_interrupt_prioity_v5.1' into 'release/v5.1'
feat(MCPWM): Support set interrupt priority(v5.1)

See merge request espressif/esp-idf!25573
2023-08-28 11:21:55 +08:00
morris
2a80451b24 Merge branch 'feature/add_mcpwm_carrier_clk_source_v5.1' into 'release/v5.1'
feat(MCPWM): Add mcpwm carrier clk source(v5.1)

See merge request espressif/esp-idf!25572
2023-08-28 11:11:04 +08:00
morris
dabbc8b70e Merge branch 'feature/pcnt_interrupt_prioity_v5.1' into 'release/v5.1'
feat(pcnt): support set interrupt priority(v5.1)

See merge request espressif/esp-idf!25575
2023-08-28 10:58:25 +08:00
Jiang Jiang Jian
4299b9346b Merge branch 'bugfix/supplicant_osi_violation_v5.1' into 'release/v5.1'
Fix abstraction violation in wpa_supplicant (Backport v5.1)

See merge request espressif/esp-idf!25565
2023-08-28 10:30:37 +08:00
Jiang Jiang Jian
b20c3f8a79 Merge branch 'bugfix/remove_deprecated_err_code_v5.1' into 'release/v5.1'
fix(bt): Removed an incorrectly defined HCI error code (5.1)

See merge request espressif/esp-idf!25288
2023-08-28 10:30:00 +08:00
Jiang Jiang Jian
88e436f85a Merge branch 'feature/add_ci_for_esp_wifi_powersave_example_v5.1' into 'release/v5.1'
ci(wifi): add pytest case for wifi powersave example (backport v5.1)

See merge request espressif/esp-idf!25499
2023-08-28 10:28:44 +08:00
morris
609ac084c5 Merge branch 'feature/esp_lcd_spi_support_quad_mode_v5.1' into 'release/v5.1'
esp_lcd: spi support quad mode (v5.1)

See merge request espressif/esp-idf!25561
2023-08-28 10:26:17 +08:00
Jiang Jiang Jian
4a7cbc9b96 Merge branch 'feat/update_cjson_submodule_v5.1' into 'release/v5.1'
feat: Update cJSON version to v1.7.16 (v5.1)

See merge request espressif/esp-idf!25137
2023-08-28 10:25:14 +08:00
Jiang Jiang Jian
69d0872cd6 Merge branch 'docs/fatfs_add_api_reference_v5.1' into 'release/v5.1'
docs(fatfs): Move mentioned APIs to a separate API reference section (v5.1)

See merge request espressif/esp-idf!25349
2023-08-28 10:24:53 +08:00
Jiang Jiang Jian
de4d72c5b5 Merge branch 'bugfix/ccmp_decrypt_log_v5.1' into 'release/v5.1'
esp_wifi: Move ccmp mgmt enc/decrypt logs to verbose (v5.1)

See merge request espressif/esp-idf!25168
2023-08-28 10:24:20 +08:00
Jiang Jiang Jian
fae05ace21 Merge branch 'bugfix/fix_duplicate_disable_compile_issue_backport_5_1' into 'release/v5.1'
bugfix(ble): Fix compile issue when disable duplicate config option in kconfig.

See merge request espressif/esp-idf!25177
2023-08-28 10:22:50 +08:00
Jiang Jiang Jian
d7020c02f4 Merge branch 'backport_v5.1' into 'release/v5.1'
fix(bt): Fix ble periodic advertising data length 0 error(backport v5.1)

See merge request espressif/esp-idf!25005
2023-08-28 10:22:11 +08:00
Jiang Jiang Jian
60143c7f68 Merge branch 'bugfix/fix_idfgh_10045_v5.1' into 'release/v5.1'
Bluedroid: fixed compile warning when optimize for performance (backport v5.1)

See merge request espressif/esp-idf!24844
2023-08-28 10:21:37 +08:00
Jiang Jiang Jian
5a25786a8a Merge branch 'bugfix/lp_i2c_bugfixes_v5.1' into 'release/v5.1'
Fixed multiple LP I2C bugs (v5.1)

See merge request espressif/esp-idf!25277
2023-08-28 10:20:40 +08:00
Rahul Tank
2baf418119 feat(nimble): Add support for LE Data Set Related Address Change command 2023-08-26 20:42:40 +05:30
morris
ce6d7ba1bb Merge branch 'feature/default_clock_source_can_leave_empty_v5.1' into 'release/v5.1'
feat(mcpwm): default clock source setting can leave empty (v5.1)

See merge request espressif/esp-idf!25548
2023-08-26 17:52:21 +08:00
morris
cd979e293c Merge branch 'bugfix/usb/host/urb_compliance_verification_add_v5.1' into 'release/v5.1'
[USB Host] added URB check args and transfer check compliance for regular EP transfer submit (v5.1)

See merge request espressif/esp-idf!25467
2023-08-25 23:17:32 +08:00
Jin Cheng
6a859a6cc5 fix(bt): Removed an incorrectly defined HCI error code 2023-08-25 11:54:39 +00:00
Chen Jichang
92cc9fca07 feat(pcnt): support set interrupt priority 2023-08-25 17:47:52 +08:00
Chen Jichang
d3aba34baa feat(MCPWM): Support set interrupt priority 2023-08-25 17:41:31 +08:00
Chen Jichang
c240a1f46b feat(MCPWM): Add mcpwm carrier clk source
The MCPWM carrier is part of the operator and can work independently
without the MCPWM timer being enabled. This commit add the MCPWM
carrier clk source.
2023-08-25 17:34:58 +08:00
Nachiket Kukade
c15472b12e fix(supplicant): Fix abstraction violation in wpa_supplicant 2023-08-25 12:30:44 +05:30
Liu Zhongwei
3c9f407c1d feat(esp_lcd): spi add support for quad mode 2023-08-25 14:18:31 +08:00
Liu Zhongwei
f96a9ad84c feat(esp_lcd): rgb add callback when bounce buffer finish 2023-08-25 14:18:31 +08:00
aditi_lonkar
0624d5e58f esp_wifi: Make enterprise support configurable to save binary size. 2023-08-25 11:20:58 +05:30
luomanruo
6503758ec0 ble: Assert when getting memory fail 2023-08-25 12:25:33 +08:00
luomanruo
01fbc285b0 ble: Fix hci issues when chain mbuf exists 2023-08-25 12:25:11 +08:00
morris
9080a7ac7c Merge branch 'bugfix/fix_legacy_adc_continuous_driver_dma_descriptor_not_internal_issue_v5.1' into 'release/v5.1'
adc: fixed legacy adc continuous driver dma descriptor not in internal ram issue (v5.1)

See merge request espressif/esp-idf!25508
2023-08-25 10:38:09 +08:00
morris
860e0477ee Merge branch 'bugfix/fix_adc_filter_acquire_logic_v5.1' into 'release/v5.1'
adc: fix adc filter driver acquire logic (v5.1)

See merge request espressif/esp-idf!25507
2023-08-25 10:37:05 +08:00
morris
842f5385a3 feat(mcpwm): default clock source setting can leave empty 2023-08-25 10:29:57 +08:00
Island
48052e4d1f Merge branch 'bugfix/fix_current_issue_after_ble_init_5.1' into 'release/v5.1'
ble: move phy enabled/disable to controller enable/disable

See merge request espressif/esp-idf!25081
2023-08-25 10:25:11 +08:00
morris
3d8744476b fix(adc): invalid assertion on the adc_unit 2023-08-25 10:18:03 +08:00
Marius Vikhammer
9332a31d27 Merge branch 'bugfix/usb_hcd_interrupt_alloc_error_return_v5.1' into 'release/v5.1'
USB Host: Fix coverity issues with hcd_install() (v5.1)

See merge request espressif/esp-idf!25463
2023-08-24 22:48:00 +08:00
David Čermák
f0cd979746 Merge branch 'lwip/dhcp_client_fix_forwardportV5.1' into 'release/v5.1'
Fix: Added check to ensure safe restart of dhcp fine timer (v5.1)

See merge request espressif/esp-idf!24706
2023-08-24 21:03:17 +08:00
Aditya Patwardhan
920ca1c882 Merge branch 'contrib/github_pr_11923_v5.1' into 'release/v5.1'
fix(esp-tls): fix pointer cast and condition for CONFIG_ATECC608A_TCUSTOM (GitHub PR) (v5.1)

See merge request espressif/esp-idf!25500
2023-08-24 20:08:48 +08:00
baohongde
6340713fef feat(bt/bluedroid): Add option whether to include device name in extended inquiry response 2023-08-24 19:37:35 +08:00
Rahul Tank
9396753e1a Merge branch 'feature/enc_adv_data_v5.1' into 'release/v5.1'
NimBLE: Added support of encrypted advertising data (v5.1)

See merge request espressif/esp-idf!25325
2023-08-24 19:12:55 +08:00
Wang Meng Yang
c3987d2163 Merge branch 'test/bqb_test_bt_classic_spp_rfcomm_5.1' into 'release/v5.1'
feat(bt/bqb): Add BQB enabling and rfcomm msc command sending support (backport v5.1)

See merge request espressif/esp-idf!25091
2023-08-24 18:59:15 +08:00
Rahul Tank
2de3e90c21 Merge branch 'feature/periodic_adv_enhancement_v5.1' into 'release/v5.1'
NimBLE : Added periodic Adv Feature Updates in BLE 5.3 (v5.1)

See merge request espressif/esp-idf!25489
2023-08-24 17:14:43 +08:00
Rahul Tank
eca9a818c5 Merge branch 'feature/add_duplicate_excep_list_vsc_v5.1' into 'release/v5.1'
feat(mesh): Add support for Duplicate Exception list update VSC for Nimble (v5.1)

See merge request espressif/esp-idf!25131
2023-08-24 17:13:57 +08:00
Rahul Tank
0c4ac54fcf Merge branch 'bugfix/fix_pcl_set_rssi_vsc_v5.1' into 'release/v5.1'
fix(nimble): Add API to send pcl set rssi vsc (v5.1)

See merge request espressif/esp-idf!25434
2023-08-24 17:13:25 +08:00
Marius Vikhammer
79d403a713 Merge branch 'bugfix/esp_timer_prevents_delay_for_isr_dispatch_callbacks_v5.1' into 'release/v5.1'
fix(esp_timer): Fix delay in ISR dispatch callbacks (v5.1)

See merge request espressif/esp-idf!25471
2023-08-24 14:54:19 +08:00
Jiang Jiang Jian
4d044ab25d Merge branch 'bugfix/v5.1_ble_issues_bugfix_c2' into 'release/v5.1'
update btlib to f9db7b90, some esp32c2 issues bugfixed

See merge request espressif/esp-idf!25433
2023-08-24 14:13:39 +08:00
Michael (XIAO Xufeng)
ccfa68c827 Merge branch 'feat/psram_support_d2wd_single_clk_u4wdh_v5.1' into 'release/v5.1'
spiram: Add support for U4WDH, and fixed D0WD/D2WD cannot share CLK pins (v5.1)

See merge request espressif/esp-idf!25171
2023-08-24 12:49:46 +08:00
Kapil Gupta
a22ba76f33 change(esp_wifi): Update copyright info for wpa_supplicant 2023-08-24 10:05:39 +05:30
Christoph Baechler
d42d86b369 bugfix: avoid warning in espcoredump when log disabled 2023-08-24 04:17:33 +00:00
Mahavir Jain
5758b66a9f Merge branch 'ci/fix_test_switch_ota_v5.1' into 'release/v5.1'
fix(app_update): Fix CI test_switch_ota by increasing deepsleep (v5.1)

See merge request espressif/esp-idf!25465
2023-08-24 12:16:51 +08:00
Harshit Malpani
240f420f1a feat: Update cJSON version to v1.7.16
Changelog: https://github.com/DaveGamble/cJSON/releases/tag/v1.7.16
2023-08-24 04:14:08 +00:00
Roman Leonov
29a38ceeca usb_host: added URB check args and transfer check compliance for regular EP transfer submit 2023-08-24 12:02:49 +08:00
Darian Leung
6b585fe542 usb_host: Fix coverity issues with hcd_install()
- Use single "err_ret" variable for returning errors
- Simplify bail out procedure by using more labels
2023-08-24 12:01:50 +08:00
Marius Vikhammer
9dbefdbb41 Merge branch 'refactor/usb_host_usbh_interface_v5.1' into 'release/v5.1'
USB Host: Refactor USBH interface (v5.1)

See merge request espressif/esp-idf!24210
2023-08-24 11:16:02 +08:00
Kapil Gupta
c7a7bb62c6 esp_wifi: Move ccmp mgmt enc/decrypt logs to verbose 2023-08-24 03:11:42 +00:00
Armando
8b6957a99c test(adc): continuous driver iram test with gdma iram safe option only 2023-08-24 11:04:43 +08:00
Armando
879b5d4401 fix(adc): fix adc continuous hal func not in iram when gdma isr iram 2023-08-24 11:04:43 +08:00
morris
a66f61e33f Merge branch 'feature/usb_host_restrict_ahb_errata_workaround_to_esp32s2_eco0_v5.1' into 'release/v5.1'
USB Host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips (v5.1)

See merge request espressif/esp-idf!25054
2023-08-24 10:12:48 +08:00
morris
3a79e3694c Merge branch 'bugfix/twai_install_returns_error_on_intr_alloc_fail_v5.1' into 'release/v5.1'
TWAI: twai_driver_install() returns error on interrupt allocation failure (GitHub PR) (v5.1)

See merge request espressif/esp-idf!24823
2023-08-24 10:11:57 +08:00
morris
3cc358102b Merge branch 'bugfix/i80_lcd_reset_gpio_config_v5.1' into 'release/v5.1'
fix(i80_lcd): reset cs gpio on exit (v5.1)

See merge request espressif/esp-idf!25243
2023-08-24 10:08:03 +08:00
morris
ed6e997d4c Merge branch 'feature/gptimer_interrupt_priority_v5.1' into 'release/v5.1'
feat(gptimer): support set interrupt priority (v5.1)

See merge request espressif/esp-idf!25199
2023-08-24 10:07:48 +08:00
morris
54ef954292 Merge branch 'contrib/github_pr_11878_v5.1' into 'release/v5.1'
feat(mcpwm): Allow for pull up/down to be configurable on generators (GitHub PR) (v5.1)

See merge request espressif/esp-idf!24893
2023-08-24 10:07:35 +08:00
Marius Vikhammer
9838675d3b Merge branch 'bugfix/intr_flags_to_level_v5.1' into 'release/v5.1'
fix(intr_flags_to_level): fix value returned one more than correct value (v5.1)

See merge request espressif/esp-idf!25424
2023-08-24 08:34:37 +08:00
morris
f41df5641a Merge branch 'bugfix/gptimer_hal_placement_wrong_condition_v5.1' into 'release/v5.1'
fix(gptimer): hal function placement under wrong condition (v5.1)

See merge request espressif/esp-idf!25280
2023-08-23 23:21:20 +08:00
Abhik Roy
59a06a8ad2 fix: Added check to ensure safe restart of dhcp fine timer 2023-08-24 00:51:36 +10:00
Roshan Bangar
d57466da3c feat(nimble): Added periodic Adv Feature Updates in BLE 5.3 2023-08-23 18:53:51 +05:30
isha.pardikar@espressif.com
db5b50af2c NimBLE: Added support of encrypted advertising data 2023-08-23 18:18:23 +05:30
Jiang Jiang Jian
64926fd137 Merge branch 'doc_5.1/c2_h2_c6' into 'release/v5.1'
c2 h2 c6 headfile re-organized

See merge request espressif/esp-idf!25079
2023-08-23 20:18:31 +08:00
Rahul Tank
4b512c5e7b fix(nimble): Add API to send pcl set rssi vsc 2023-08-23 17:43:22 +05:30
Jiang Jiang Jian
b638cb3335 Merge branch 'bringup/esp32h2_deep_sleep_for_rebase_v5.1' into 'release/v5.1'
esp32h2: support deep_sleep(backport v5.1)

See merge request espressif/esp-idf!24962
2023-08-23 20:12:01 +08:00
Rahul Tank
acc08b9421 feat(mesh): Add support for Duplicate Exception list update VSC for
Nimble
2023-08-23 17:41:18 +05:30
Rahul Tank
6e3c700bf6 Merge branch 'bugfix/handle_NULL_data_periodic_adv_v5.1' into 'release/v5.1'
fix(nimble): Add check to set length only if data is valid in periodic adv (v5.1)

See merge request espressif/esp-idf!25178
2023-08-23 20:09:13 +08:00
Jiang Jiang Jian
4fc363546e Merge branch 'bugfix/netif_default_sta_init_v5.1' into 'release/v5.1'
wifi: Fix default wifi-netif creation to assert if no event loop (v5.1)

See merge request espressif/esp-idf!25344
2023-08-23 19:57:06 +08:00
Jiang Jiang Jian
372a34f6d5 Merge branch 'fix/wifi_wps_pbc_overlap_v5.1' into 'release/v5.1'
fix(wpa_supplicant): Add support to detect PBC overlap in wps registrar mode (Backport v5.1)

See merge request espressif/esp-idf!25440
2023-08-23 19:54:50 +08:00
Jiang Jiang Jian
43d6f90d72 Merge branch 'bugfix/ignore_eapol_nonkey_v5.1' into 'release/v5.1'
Ignore EAPOL non-key frames in EAPOL txdone callback (Backport v5.1)

See merge request espressif/esp-idf!25453
2023-08-23 19:54:14 +08:00
Jiang Jiang Jian
5256c317f9 Merge branch 'bugfix/role_switch_enc_mode_lmp_timeout_v5.1' into 'release/v5.1'
bt: Fix disconnection due to lmp messages not being processed by both sides(v5.1)

See merge request espressif/esp-idf!25202
2023-08-23 19:53:29 +08:00
Jiang Jiang Jian
d00077e5a9 Merge branch 'bugfix/incr_sdp_max_conns_v5.1' into 'release/v5.1'
fix(bt): Increased SDP maximum connections to avoid connection exhausted (v5.1)

See merge request espressif/esp-idf!25429
2023-08-23 19:51:39 +08:00
Armando
71f2f98b60 adc: fixed legacy adc continuous driver dma descriptor not in internal ram issue 2023-08-23 19:44:25 +08:00
Armando
888ccfe0cb adc: added adc filter exhausted allocation test 2023-08-23 19:41:15 +08:00
Armando
628162d71e adc: fix adc filter acquire logic 2023-08-23 19:41:02 +08:00
Alex
1360b5fa83
fix(esp-tls): fix pointer cast and condition for CONFIG_ATECC608A_TCUSTOM
Closes https://github.com/espressif/esp-idf/pull/11923
2023-08-23 15:49:56 +05:30
Mahavir Jain
4d95619595 Merge branch 'fix/mmu_hal_valid_vaddr_check_v5.1' into 'release/v5.1'
fix(hal): Fix the external memory vaddr region validity check (v5.1)

See merge request espressif/esp-idf!25154
2023-08-23 18:17:53 +08:00
Mahavir Jain
10e100f584 Merge branch 'feature/update_mbedtls_v5.1' into 'release/v5.1'
feat(mbedtls): Update to release/v3.4.1 (v5.1)

See merge request espressif/esp-idf!25394
2023-08-23 18:17:20 +08:00
Mahavir Jain
75692c96e2 Merge branch 'feature/support_mbedtls_ecp_fixed_point_configurable_v5.1' into 'release/v5.1'
feat(mbedtls): support ecp fixed-point multiplication configurable (backport v5.1)

See merge request espressif/esp-idf!25286
2023-08-23 18:16:20 +08:00
Mahavir Jain
a1defb4fd9 Merge branch 'feature/wifi_prov_event_security_session_v5.1' into 'release/v5.1'
wifi_prov: Exposed events for secure session establishment and credential mismatch (v5.1)

See merge request espressif/esp-idf!25474
2023-08-23 18:16:07 +08:00
Mahavir Jain
0f849d4c40 Merge branch 'bugfix/secure_ota_without_padding_v5.1' into 'release/v5.1'
fix(secure_ota): secure app verification issue without padding bytes (v5.1)

See merge request espressif/esp-idf!25211
2023-08-23 18:15:30 +08:00
wuzhenghui
c517a15dd2 fix(light_sleep): shouldn't backup uart fifo reg in pd_top light sleep 2023-08-23 18:00:48 +08:00
cjin
fa806d758a ble: move phy enabled/disable to controller enable/disable 2023-08-23 17:56:33 +08:00
Island
6cca4bddd2 Merge branch 'bugfix/esp32c6_heap_corruption_v5.1' into 'release/v5.1'
Bugfix/esp32c6 heap corruption v5.1

See merge request espressif/esp-idf!25333
2023-08-23 17:52:31 +08:00
Aditya Patwardhan
d710a83982 Merge branch 'bugfix/sha_dma_mode_incorrect_result_v5.1' into 'release/v5.1'
fix(sha): DMA mode iteration calculation issue for certain data lengths (v5.1)

See merge request espressif/esp-idf!25127
2023-08-23 17:11:44 +08:00
luomanruo
f35959d7d1 ble: update btlib to f9db7b90, some esp32c2 issues bugfixed 2023-08-23 10:21:20 +08:00
Laukik Hase
a0da805f2b
fix(hal): Fix the external memory vaddr region validity check
- For c6 and h2, the vaddr end calculated was off by 1
  byte.
2023-08-22 15:24:02 +05:30
Laukik Hase
9d905d18bb
wifi_prov: Fix build issue when building only for sec1 or sec2 2023-08-22 15:21:48 +05:30
Laukik Hase
fcb98e5851
wifi_prov: Exposed events for secure session establishment 2023-08-22 15:21:48 +05:30
KonstantinKondrashov
c93310956a refactor(esp_timer): Remove duplicate code and move it to a common file 2023-08-22 17:22:24 +08:00
Alan Fisher
eef3a90871 fix(esp_timer): Fix delay in ISR dispatch callbacks
Set the following alarm before calling the alarm handler.

Closes https://github.com/espressif/esp-idf/pull/11637
Closes https://github.com/espressif/esp-idf/issues/11636
2023-08-22 17:22:24 +08:00
KonstantinKondrashov
7ac7d43541 fix(app_update): Fix CI test_switch_ota by increasing deepsleep
It increases the deepsleep time from 2000 to 20000.
2000 is too small for esp32-s3 chip.
2023-08-22 16:10:49 +08:00
Nachiket Kukade
c05a0b4c50 fix(supplicant): Ignore EAPOL non-key frames in EAPOL txdone callback 2023-08-21 18:06:32 +05:30
Aditya Patwardhan
e088c3766b versions: Update version to 5.1.1 2023-08-21 14:24:40 +05:50
Sarvesh Bodakhe
2791508094 fix(wpa_supplicant): Add support to detect PBC overlap in wps registrar mode 2023-08-21 12:35:50 +05:30
luomanruo
757bd78247 update btlib to f9db7b90, some esp32c2 issues bugfixed 2023-08-21 11:49:14 +08:00
Jin Cheng
3638d265ed fix(bt): Increased SDP maximum connections to avoid connection exhausted 2023-08-21 11:21:56 +08:00
Planck (Lu Zeyu)
e5394440df fix(intr_flags_to_level): fix value returned one more than correct value 2023-08-21 10:08:49 +08:00
chenjianhua
62f5905be2 bluedroid: fixed compile warning when optimize for performance 2023-08-19 12:26:19 +08:00
Jiang Jiang Jian
8d2dbd461f Merge branch 'bugfix/eapol_txdone_cb_issue_v5.1' into 'release/v5.1'
Fix EAPOL Key TxDone callback implementation (Backport v5.1)

See merge request espressif/esp-idf!25381
2023-08-18 14:36:25 +08:00
Harshit Malpani
7eae1e4534
feat(mbedtls): Update to release/v3.4.1 2023-08-17 17:33:22 +05:30
Adam Múdry
c99a036b43 fix(spiffs): SPIFFS print formatter errors out
Closes https://github.com/espressif/esp-idf/issues/11922
2023-08-17 11:46:25 +02:00
Darian Leung
96b312ddde soc: Move revision MAX/MIN static assert to esp_hw_support
Previously, "soc/chip_revision.h" contained a static assert to check that the
CONFIG_ESP_REV_MIN_FULL <= CONFIG_ESP_REV_MAX_FULL. There are two issues with
this assert:

- Contained in a header file, so it is only compiled if the "chip_revision.h"
is included somewhere
- CONFIG_ESP_REV_MIN_FULL and CONFIG_ESP_REV_MAX_FULL are defined in
"esp_hw_support", which is a G0 component. This creates a reverse dependency
of G0 on G1.

This commit moves the static assert "revision.c" in "esp_hw_support".
2023-08-17 15:26:23 +08:00
Darian Leung
c98aa927f6 usb_host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips 2023-08-17 15:26:23 +08:00
Michael (XIAO Xufeng)
5d78511eac Merge branch 'bugfix/temperature_get_value_negative_v5.11' into 'release/v5.1'
bugfix(temperature_sensor): Fix issue that get the value is negative (backport v5.1)

See merge request espressif/esp-idf!25251
2023-08-17 15:24:29 +08:00
Jiang Jiang Jian
cd2172935d Merge branch 'bugfix/fix_esp32h2_wakeup_pll_enable_access_flash' into 'release/v5.1'
fix(esp_hw_support): fix esp32h2 wakeup process access flash cause stuck on v5.1

See merge request espressif/esp-idf!25379
2023-08-17 11:53:19 +08:00
morris
77b74ab091 Merge branch 'bugfix/spi_bus_unify_defualt_mosi_level_v5.1' into 'release/v5.1'
spi: unify default mosi level on all targets (v5.1)

See merge request espressif/esp-idf!25014
2023-08-17 10:13:05 +08:00
Cao Sen Miao
45288496fb bugfix(temperature_sensor): Fix issue that get the value is negative 2023-08-17 10:06:22 +08:00
Nachiket Kukade
feecbad7db fix(wifi): Fix EAPOL Key TxDone callback implementation
Fix issues arising due to not distinguishing between M2 and M4
TxDone during 4-way handshake. Also fix EAPOL frame rate to lowest
possible rate.
2023-08-16 19:26:22 +05:30
wuzhenghui
d5396e1d84 fix(esp_hw_support): fix esp32h2 wakeup process access flash cause crash 2023-08-16 20:44:16 +08:00
zwl
05e44b1021 ble: Added adv report flow control config on ESP32C6 and ESP32H2 2023-08-16 19:37:09 +08:00
zwl
fb6f00158e ble: fixed heap corruption on esp32c6 and esp32h2 2023-08-16 19:37:03 +08:00
muhaidong
98c39e28c8 fix(wifi): fix disassociation callback miss free key issue 2023-08-15 18:01:43 +08:00
Nebojsa Cvetkovic
075bbb526c twai: twai_driver_install() returns error on interrupt allocation failure
This commit updates twai_driver_install() so that an error is returned when
esp_intr_alloc() fails, instead of aborting.

Closes https://github.com/espressif/esp-idf/pull/11494

[darian@espressif.com: Refactored object allocation and free procedures]
[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2023-08-15 03:26:10 +00:00
Adam Múdry
756c61b628 docs(fatfs): Move mentioned APIs to a separate API reference section 2023-08-14 12:44:53 +02:00
movsb
597810bf96 fix(c++): invalid conversion from int to enumeration 2023-08-14 07:49:02 +00:00
David Cermak
67327ed47a fix(wifi): Fix default wifi-netif creation to assert if no event loop
- Added ESP_ERROR_CHECK() checks to `esp_wifi_set_default_wifi_..._handlers()` calls
- Added ESP_ERROR_CHECH() to `esp_netif_attach_wifi_...()` calls
- Updated documentation to reflect the changes

Closes https://github.com/espressif/esp-idf/issues/11580
2023-08-14 09:16:29 +02:00
Mahavir Jain
5e0129c91b fix(secure_ota): secure app verification issue without padding bytes
For the following configuration case:

 - CONFIG_SECURE_SIGNED_APPS_RSA_SCHEME
 - CONFIG_SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT
 - CONFIG_SECURE_BOOT_ALLOW_SHORT_APP_PARTITION

verification of the application was failing because the externally
padded bytes were not considered in the hash (checksum) process.

This commit fixes the problem by enabling relevant code for secure OTA
without secure boot case.

Closes https://github.com/espressif/esp-idf/issues/11995
2023-08-14 03:29:44 +00:00
morris
b7aea79cb8 fix(gptimer): hal function placement under wrong condition
timer_hal_capture_and_get_counter_value
should be placed in the IRAM for speed optimization
because the default ISR handler is placed in the IRAM.

Closes https://github.com/espressif/esp-idf/issues/12021
2023-08-14 02:31:16 +00:00
morris
c113507ad7 feat(gptimer): add gptimer linker.lf to control the placement of driver and hal
since the linker placement of the hal functions are controlled by the Kconfig in the driver component,
we should create the linker.lf in the driver component, not in the hal component.
2023-08-14 02:31:16 +00:00
morris
6c0270c788 fix(i80_lcd): reset cs gpio on exit 2023-08-14 02:30:54 +00:00
satish.solanke
5d49509969 Fix the mem corruption 2023-08-11 18:22:58 +00:00
Sudeep Mohanty
6b1292284e fix(lp_i2c): Fixed a bug where the LP_I2C did not send NACK for 16-byte reads
This commit updates the LP_I2C driver used by the LP CPU wherein the
driver did not send out a NACK when we do a read of multiple of the FIFO
depth bytes. This was because the LP I2C controller was configured to
send an ACK when the Rx FIFO reaches the threshold instead of a NACK.
This commit updates the behavior.
2023-08-11 14:43:15 +00:00
Sudeep Mohanty
a9ef76b031 fix(lp_i2c): Fixed a bug where LP I2C write got stuck
This commit fixes a bug where an I2C write got stuck when using the
lp_core_i2c_master_write_read_device() API. This was because the LP I2C
HW was not programmed with an END condition and therefore did not know
the end of a transaction.

Closes: https://github.com/espressif/esp-idf/issues/11958
2023-08-11 14:43:15 +00:00
Sudeep Mohanty
ee8adce5ea fix(lp_i2c): Fixed incorrect clock setting for LP_I2C
The LP_I2C clock setting was incorrect and a lower frequency value was
being set during initialization. This commit fixes the behavior.
2023-08-11 14:43:15 +00:00
Jiang Guang Ming
e9a1a7add5 feat(mbedtls): support ecp fixed-point multiplication configurable 2023-08-11 16:40:38 +08:00
wuzhenghui
94d129df76 fix(light_sleep): save vddsdio_config before lightsleep 2023-08-04 12:04:51 +08:00
wuzhenghui
aaf04f514f fix(esp_hw_support): manage i2c_ana_mst clock witch modem clock driver 2023-08-04 12:04:40 +08:00
xiongweichao
3b48ccb343 fix(bt/controller): Fix disconnection due to lmp messages not being processed by both sides
The master sent lmp_enc_mode_req, and the slave sent lmp_switch_req.
However, both sides failed to handle the LMP message, resulting in LMP timeout.
2023-08-04 10:59:25 +08:00
morris
b68519cb17 feat(gptimer): support set interrupt priority
Related forum post: https://esp32.com/viewtopic.php?f=13&t=34959
2023-08-04 10:20:07 +08:00
Jiang Jiang Jian
6ec52679c3 Merge branch 'bugfix/action_tx_sleep_fix_v5.1' into 'release/v5.1'
Trigger null data frame TX before going offchannel.(v5.1)

See merge request espressif/esp-idf!25095
2023-08-04 08:36:16 +08:00
Jiang Jiang Jian
2c196590d3 Merge branch 'bugfix/vtasksteptick_assert_failed_issue_v5.1' into 'release/v5.1'
backport v5.1:  fix the issue of esp32c6 enable light sleep, vTaskStepTick assert failed caused by wifi baseband sleep retention linked list

See merge request espressif/esp-idf!25147
2023-08-04 02:37:01 +08:00
Nachiket Kukade
96934613fb fix(wifi): Fix error propagation while initiating FTM 2023-08-03 19:55:55 +08:00
Shyamal Khachane
c97181ad5e fix(esp_wifi): Fix some OWE issues
1. Allow flow of traffic after 4 way handshake is completed
2. Fix beacon timeout issue in transition mode
2023-08-03 19:55:15 +08:00
Rahul Tank
b4df07185c fix (nimble): Add check to set length only if data is valid in periodic adv 2023-08-03 14:44:07 +05:30
Geng Yuchao
de0e027bd1 fix(ble): Fix compile issue when disable duplicate config option in kconfig. 2023-08-03 17:07:02 +08:00
Lou Tianhao
830a627362 remove(pm/deep_sleep): enable CI test for esp32h2 deepsleep 2023-08-03 16:46:55 +08:00
Lou Tianhao
5859b83232 docs(pm/sleep): rewrite_all_low_to_any_low_when_not_esp32 2023-08-03 16:46:55 +08:00
Lou Tianhao
badef66538 change(pm/deepsleep): rewrite the option all low as any low for esp32s2, esp32s3, esp32c6 and esp32h2 2023-08-03 16:46:55 +08:00
Lou Tianhao
7c1e797008 change(pm/deepsleep): remove disable rtcio before hold it when ext1 wakeup 2023-08-03 16:46:55 +08:00
Lou Tianhao
b27e57db7b feat(pm/deepsleep): Support EXT1 wakeup for esp32h2 deep_sleep 2023-08-03 16:46:55 +08:00
Song Ruo Jing
6768f098dc change(driver/rtcio): Describe RTCIO CAPS with more accurate note 2023-08-03 16:46:55 +08:00
Lou Tianhao
8833c2bc87 change(pm/deepsleep): Update deep_sleep pmu analog parameter for esp32h2 2023-08-03 16:46:54 +08:00
Lou Tianhao
4bc5e24f82 feat(pm/deepsleep): Support deep_sleep example and deep_sleep_wake_stub example for esp32h2 2023-08-03 16:46:54 +08:00
Michael (XIAO Xufeng)
6dab947f68 spiram: Support configure CLK onto the same pin as flash for ESP32-D0WD
When using PSRAM of rev0, the Flash and PSRAM should use different clock pins. But if using newer PSRAM, this is not necesary. This MR fixed the issue that allocating CLK of PSRAM to the same pin as Flash may crash.
2023-08-03 15:44:22 +08:00
Jiang Jiang Jian
602d021263 Merge branch 'ble_mesh/esp32c6_BLEQABR23-266v5.1' into 'release/v5.1'
ble mesh: stack: return error when scanning failed to be enabled(v5.1)

See merge request espressif/esp-idf!24776
2023-08-03 11:15:42 +08:00
Wu Meng Shi
d6c18ad4c5 ble mesh: stack: return error when scanning failed to be enabled(v5.1) 2023-08-03 11:15:41 +08:00
Jiang Jiang Jian
a56ea11f91 Merge branch 'bugfix/fix_gpio_driver_calloc_v5.1' into 'release/v5.1'
fix(gpio): fix potential crash when processing gpio isr (v5.1)

See merge request espressif/esp-idf!24901
2023-08-03 11:13:47 +08:00
liuning
761af9869f fix(esp_wifi): fix no mac retention at wifi start 2023-08-03 10:54:31 +08:00
Kapil Gupta
d73f61ebc9 fix(wifi): Prevent PMF config overwritten by tx_cb 2023-08-03 10:54:31 +08:00
xueyunfei
bba48079a2 Fix(esp_wifi):revert send wake up and sleep null between scaning 2023-08-03 10:54:31 +08:00
zhangyanjiao
6eb872f7d2 fix(wifi): fix some wifi bugs
1. fix the RX error when softAP and ESP-NOW both encrypted
2.Trigger null data frame TX before offchan channel switch.
2023-08-03 10:54:05 +08:00
Li Shuai
827d863865 fix(wifi/phy): fix the issue of vTaskStepTick assert failed caused by wifi baseband retention linked list 2023-08-02 19:18:22 +08:00
Mahavir Jain
bef0eaf2c7 ci(test): add SHA DMA mode test for large data in PSRAM
Covers a test scenario described in following issue:
https://github.com/espressif/esp-idf/issues/11915
2023-08-02 04:48:40 +00:00
Mahavir Jain
b966103800 fix(sha): DMA mode iteration calculation issue for certain data lengths
SHA hardware DMA mode calculation had off-by-one error for specific
input lengths. This was causing last chunk of the input data not being
fed to the hardware accelerator and hence resulting in an incorrect
final result.

Closes: https://github.com/espressif/esp-idf/issues/11915
2023-08-02 04:48:40 +00:00
Jiang Jiang Jian
afcf3e261b Merge branch 'bugfix/fix_cache_data_mem_corrupt_after_sleep_v5.1' into 'release/v5.1'
fix(lightsleep): Suspend cache before goto sleep to avoid cache load wrong data (backport v5.1)

See merge request espressif/esp-idf!25087
2023-08-02 11:21:33 +08:00
Jiang Jiang Jian
01c6fc6511 Merge branch 'bugfix/minor_enterprise_fixes_v5.1' into 'release/v5.1'
Drop Eapol msg if EAP success is not processed (Backport v5.1)

See merge request espressif/esp-idf!25065
2023-08-02 10:48:56 +08:00
Jiang Jiang Jian
4cb955461f Merge branch 'backport/openthread_feature_to_v51' into 'release/v5.1'
Openthread: backport some features

See merge request espressif/esp-idf!25113
2023-08-02 10:47:32 +08:00
Jiang Jiang Jian
adcc697082 Merge branch 'bugfix/neighbour_report_crash_v51' into 'release/v5.1'
Fix crash in RRM neighbour report requests.(v5.1)

See merge request espressif/esp-idf!25114
2023-08-02 10:13:40 +08:00
Jiang Jiang Jian
727f7cbb3a Merge branch 'bugfix/sync_master_esp32c6_and_esp32h2_uart_ll_inline_attr' into 'release/v5.1'
fix(hal): sync esp32c6 and esp32h2 uart ll inline attr from master  to v5.1

See merge request espressif/esp-idf!24961
2023-08-01 16:18:16 +08:00
jgujarathi
0ba37a2b85 fix(rrm) : Fix crash in RRM neighbour report requests.
Fix crash in sending new RRM neighbour report requests by removing
the call to neighbour report request timeout callback in case of
already ongoing neighbour report request timer.
2023-08-01 13:12:00 +05:30
zhangwenxu
12f1c165e3 feat(thread): update openthread lib 2023-08-01 14:59:07 +08:00
Xu Si Yu
31212f284a feat(openthread): enable openthread border agent id support 2023-08-01 14:58:57 +08:00
Jiang Jiang Jian
4fc329fc10 Merge branch 'bugfix/mbedtls_sha_test_fail_when_run_twice_v5.1' into 'release/v5.1'
fix(mbedtls): sha test will fail when run twice (backport v5.1)

See merge request espressif/esp-idf!24827
2023-08-01 10:57:25 +08:00
Jiang Jiang Jian
a4d64dab30 Merge branch 'backport/fix_ieee802154_state' into 'release/v5.1'
ieee802154: fix ieee802154 sleep state (backport v5.1)

See merge request espressif/esp-idf!24841
2023-08-01 10:55:51 +08:00
Jiang Jiang Jian
2f9bb7937a Merge branch 'bugfix/remove__warning_for_rc_fast_calibration_h2_v5.1' into 'release/v5.1'
remove(clk): remove warning log if RC_FAST clock calibration is needed on esp32h2 (v5.1)

See merge request espressif/esp-idf!25075
2023-08-01 10:53:46 +08:00
Jiang Jiang Jian
fbfdd97343 Merge branch 'bugfix/esp32h2_revision_config_prompt_v5.1' into 'release/v5.1'
fix(esp32h2): correct typo in chip revision prompt (v5.1)

See merge request espressif/esp-idf!25024
2023-08-01 10:53:26 +08:00
Jiang Jiang Jian
5dfbd1eb8d Merge branch 'bugfix/malloc_free_removal_v5.1' into 'release/v5.1'
change(esp_wifi): Remove direct call of malloc() and free() (v5.1)

See merge request espressif/esp-idf!24932
2023-08-01 10:53:10 +08:00
wuzhenghui
58a01eb10b fix(hal): sync esp32c6 & esp32h2 uart_ll inline attr from master 2023-08-01 02:32:55 +00:00
wuzhenghui
c5703cff8d fix(lightsleep): fix access pu_cfg after sleep wake wakeup which is linked to flash 2023-07-31 21:41:56 +08:00
wanglai@espressif.com
2b8e8e832a fix(bt/bqb): Modify BQB related configurations 2023-07-31 15:28:33 +08:00
wanglai@espressif.com
f05c0a36e8 feat(bt): Add BQB enabling and rfcomm msc command sending support
1: add the CONFIG_BT_BQB_ENABLED for some functions of bqb test.
2: add bqb_rfc_send_msc_cmd function to send rfcomm msc command with
   only address arg input.
2023-07-31 15:28:20 +08:00
wuzhenghui
1acc14bf72 fix(lightsleep): suspend cache before goto sleep to avoid cache load wrong data after spi io isolation 2023-07-31 14:52:03 +08:00
wanlei
bb845e1841 cache: refactor cache_utils into cache_hal instade 2023-07-31 14:52:03 +08:00
wanlei
45eb0b6271 cache: fix cache suspended/resumed twice on S3 2023-07-31 14:52:03 +08:00
luomanruo
dc4731101d c2 h2 c6 headfile re-organized
c2 c6 h2 cfg_t and addr_t documented

comments for controller_enable
2023-07-31 12:41:52 +08:00
Rahul Tank
56eef9151f fix(nimble): Update connection type in reattempt connection code
Added change to set connection type correctly and clear array when it is
    full in reattempt connection flow
2023-07-31 09:30:45 +05:30
Song Ruo Jing
59672cee17 remove(clk): remove warning log if RC_FAST clock calibration is needed on esp32h2 2023-07-31 10:48:55 +08:00
Jiang Jiang Jian
d83fe16c93 Merge branch 'bugfix/revert_26mhz_esp32c2_bad_apb_clock_fix' into 'release/v5.1'
Revert "fix(soc): fix wrong freq definition for 26Mhz version esp32c2 soc" (v5.1)

See merge request espressif/esp-idf!24983
2023-07-31 10:26:58 +08:00
Jiang Jiang Jian
d026b92c75 Merge branch 'bugfix/fix_c6_wrong_pwdet_register_v5.1' into 'release/v5.1'
pwdet: fix pwdet wrong base address on c6 h2 (v5.1)

See merge request espressif/esp-idf!25025
2023-07-31 10:22:57 +08:00
Jiang Jiang Jian
b98bcd75aa Merge branch 'bugfix/backport_wifi_fixes_v5.1' into 'release/v5.1'
Backport some wifi fixes to v5.1

See merge request espressif/esp-idf!24948
2023-07-31 10:22:14 +08:00
Jiang Jiang Jian
a28ef8df5b Merge branch 'bugfix/cache_writeback_bug_v5.1' into 'release/v5.1'
esp_rom: patch Cache_WriteBack_Addr (backport v5.1)

See merge request espressif/esp-idf!24941
2023-07-31 10:17:10 +08:00