Commit Graph

27406 Commits

Author SHA1 Message Date
muhaidong
c4dffd57c3 esp_wifi: fix pre commit issue 2023-09-07 10:56:06 +08:00
xiehanxin
9c71aad75b add enum type for antenna number 2023-09-07 10:56:06 +08:00
xiehanxin
7bf89d83d5 add multiple antenna test example 2023-09-07 10:56:06 +08:00
Planck (Lu Zeyu)
9ab9e05639 feat(st7789): add data endian config
Closes https://github.com/espressif/esp-idf/issues/11416
2023-09-06 17:04:34 +08:00
Mahavir Jain
aba35cd526
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:30:00 +05:30
Mahavir Jain
29be69d797
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:29:57 +05:30
wanglai@espressif.com
c95c3ba38e feat(bt/bluedroid): 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-09-05 01:55:37 +00:00
wanglai@espressif.com
14b1290a20 fix(bt/bluedroid): 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-09-05 01:55:37 +00:00
Liu Zhong Wei
8668c55512 feat(esp_lcd): add user data and init cmd 2023-09-04 13:26:18 +08:00
linruihao
7e4a64a9ab 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:36:29 +08:00
Shyamal Khachane
7a3d12316a fix(esp_wifi): Skip PMK cache usage if configured password is incorrect 2023-09-01 18:48:11 +05:30
Peter Dragun
6c37f49d16 bug(tools): dependency check catch exception when package not installed 2023-08-30 17:14:10 +02:00
chenjianhua
11e8970a45 bluedroid: add GATT read multi variable API and evt 2023-08-30 15:17:56 +08:00
chenjianhua
0315b24514 bluedroid: add periodic adv sync transfer API and EVT 2023-08-30 15:17:47 +08:00
chenjianhua
630154ed2d bluedroid: support gatts show local database 2023-08-30 15:17:38 +08:00
chenjianhua
3100841f64 bluedroid: fixed GATT multi notify and robust caching 2023-08-30 15:17:30 +08:00
chenjianhua
285e86ad04 bluedroid: add config for GAP service and periodic adv sync transfer 2023-08-30 15:17:14 +08:00
chenjianhua
0b76c3615e bluedroid: add internal GATT API for PTS 2023-08-30 15:15:23 +08:00
chenjianhua
69b8b587c9 bluedroid: add config for robust caching and RPA timeout 2023-08-30 15:15:09 +08:00
chenjianhua
42a1d94830 bluedroid: support GATT robust caching feature 2023-08-30 15:13:03 +08:00
chenjianhua
1ce00f01ca bluedroid: support GATT services database hash calculate 2023-08-30 15:12:52 +08:00
chenjianhua
ed34a2b500 bluedroid: support periodic advertising sync transfer cmd 2023-08-30 15:12:41 +08:00
chenjianhua
52e3e684e0 bluedroid: support LE L2CAP credit based connection 2023-08-30 15:12:12 +08:00
chenjianhua
4145099bdc bluedroid: support oob pairing for smp secure connection 2023-08-30 15:11:34 +08:00
Chen Jichang
03ec7a0c5d feat(pcnt): support set interrupt priority(v5.0) 2023-08-29 07:48:30 +00:00
wangtao
eb25e92584 backport for v5.0 delete esp32c6 info 2023-08-29 11:48:52 +08:00
Island
7065c87963 Merge branch 'bugfix/ble_hci_issues_chain_mbuf_v5.0' into 'release/v5.0'
fix hci issues when chain mbuf exists

See merge request espressif/esp-idf!25533
2023-08-29 10:27:40 +08:00
Darian Leung
715ff1e432 freertos: Fix vTaskSuspendAll unit test falkiness
This commit fixes falkey unit tests (due to memory leaks) by adding a short
delay at the end of the test to allow the idle task to free task memory.
2023-08-28 19:09:53 +08:00
Erhan Kurubas
a9f039e56f feat(gcov): make gcov dump task size configurable 2023-08-28 12:02:58 +02:00
chenjianxing
760ce1ebd8 docs: update power save part 2023-08-28 14:23:19 +08:00
wang tao
86310135f6 add low power doc and picture
Merges https://github.com/espressif/esp-idf/pull/9694
2023-08-28 14:23:09 +08:00
Jiang Jiang Jian
a78ad034f5 Merge branch 'bugfix/fix_mem_map_issue_v5.0' into 'release/v5.0'
flash_mmap: fix range issue (v5.0)

See merge request espressif/esp-idf!24529
2023-08-26 10:28:44 +08:00
Jiang Jiang Jian
45e1b89efe Merge branch 'feature/default_clock_source_can_leave_empty_v5.0' into 'release/v5.0'
feat(mcpwm): default clock source setting can leave empty (v5.0)

See merge request espressif/esp-idf!25549
2023-08-26 10:15:28 +08:00
Jiang Jiang Jian
62e6999279 Merge branch 'bugfix/fix_adc_continuous_driver_isr_flag_issue_v5.0' into 'release/v5.0'
adc: fix continuous hal func not in iram when gdma isr iram (v5.0)

See merge request espressif/esp-idf!25506
2023-08-26 09:59:54 +08:00
Jiang Jiang Jian
3d99ce2d1a Merge branch 'bugfix/supplicant_osi_violation_v5.0' into 'release/v5.0'
Fix abstraction violation in wpa_supplicant (Backport v5.0)

See merge request espressif/esp-idf!25566
2023-08-26 07:24:11 +08:00
Jiang Jiang Jian
8797a92844 Merge branch 'bugfix/fixed_esp32_psram_2t_mode_cannot_detect_issue_v5.0' into 'release/v5.0'
psram: fixed esp32 2t mode fail issue (v5.0)

See merge request espressif/esp-idf!23028
2023-08-25 15:07:35 +08:00
Nachiket Kukade
304d6164ae fix(supplicant): Fix abstraction violation in wpa_supplicant 2023-08-25 12:33:29 +05:30
Rahul Tank
4095399436 feat(nimble): Added support for high duty adv interval 2023-08-25 12:06:50 +05:30
Roland Dobai
8f3085c1bb Merge branch 'docs/uninstall_idf_v5.0' into 'release/v5.0'
docs(idf-tools): Add uninstallation instructions (backport v5.0)

See merge request espressif/esp-idf!25495
2023-08-25 14:33:29 +08:00
Liu Zhongwei
a6958aa142 feat(esp_lcd): spi add support for quad mode 2023-08-25 14:18:41 +08:00
Liu Zhongwei
c6992fa8b8 feat(esp_lcd): rgb add callback when bounce buffer finish 2023-08-25 14:18:41 +08:00
aditi_lonkar
ff523686b5 esp_wifi: Make enterprise support configurable to save binary size. 2023-08-25 11:14:49 +05:30
Jiang Jiang Jian
f7618e10da Merge branch 'fix/esp_prov_recent_changes_v5.0' into 'release/v5.0'
fix(esp_prov): update devices tuple usage due to API deprecations (v5.0)

See merge request espressif/esp-idf!25537
2023-08-25 13:36:07 +08:00
luomanruo
eb8a741be2 ble: Assert when getting memory fail 2023-08-25 12:27:05 +08:00
Jiang Jiang Jian
1baf1055bd Merge branch 'feature/config_device_name_in_eir_v5.0' into 'release/v5.0'
feat(bt/bluedroid): Add option whether to include device name in extended inquiry response

See merge request espressif/esp-idf!25542
2023-08-25 12:27:03 +08:00
luomanruo
0861bf4c55 ble: Fix hci issues when chain mbuf exists 2023-08-25 12:26:50 +08:00
Jiang Jiang Jian
f218fa50d4 Merge branch 'ci/fix_example_test_advanced_ota_v5.0' into 'release/v5.0'
ci(fix): example test advanced_https_ota_example_bluedroid_gatts (v5.0)

See merge request espressif/esp-idf!25525
2023-08-25 12:14:10 +08:00
Jiang Jiang Jian
e8507d1380 Merge branch 'contrib/github_pr_11923_v5.0' into 'release/v5.0'
fix(esp-tls): fix pointer cast and condition for CONFIG_ATECC608A_TCUSTOM (GitHub PR) (v5.0)

See merge request espressif/esp-idf!25501
2023-08-25 12:11:12 +08:00
Jiang Jiang Jian
8e3b112c74 Merge branch 'bugfix/fix_legacy_adc_continuous_driver_dma_descriptor_not_internal_issue_v5.0' into 'release/v5.0'
adc: fixed legacy adc continuous driver dma descriptor not in internal ram issue (v5.0)

See merge request espressif/esp-idf!25509
2023-08-25 12:08:15 +08:00
Jiang Jiang Jian
328f592e9d Merge branch 'bugfix/esp_timer_prevents_delay_for_isr_dispatch_callbacks_v5.0' into 'release/v5.0'
fix(esp_timer): Fix delay in ISR dispatch callbacks (v5.0)

See merge request espressif/esp-idf!25473
2023-08-25 12:08:02 +08:00