morris
9021fab579
Merge branch 'feature/use_esp_rom_delay_us_to_test_the_accuracy_of_gptimer_v5.1' into 'release/v5.1'
...
refactor(driver/gptimer): replace vTaskDelay with esp_rom_delay_us in test_apps(v5.1)
See merge request espressif/esp-idf!24724
2023-07-13 17:38:40 +08:00
Jiang Jiang Jian
ae5f8dc139
Merge branch 'bugfix/fix_sometimes_sta_can_not_get_ip_from_softap_issue_v5.1' into 'release/v5.1'
...
lower the dhcp discover and request retry backoff time (Backport v5.1)
See merge request espressif/esp-idf!24742
2023-07-13 17:09:04 +08:00
Li Shuai
958ae62197
power save: fix bcn_timeout and disconnect with error code 201, m f probe req l=0 issue
2023-07-13 17:02:50 +08:00
zhanghaipeng
2b1269d4fb
fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32
...
- Add a log statement to print the Bluetooth MAC address
2023-07-13 16:43:37 +08:00
zhanghaipeng
124cce0de3
fix(bt): Fix ble advertising data length 0 error
...
- Fixed an issue where the BLE advertisement length of 0 was causing an error
2023-07-13 16:43:37 +08:00
Shu Chen
78e641a4b0
Merge branch 'backport/bugfix_openthread_sleep_esp32s3_build' into 'release/v5.1'
...
fix(openthread): call sleep api only in native radio (Backport v5.1)
See merge request espressif/esp-idf!24754
2023-07-13 16:38:36 +08:00
Liu Linyan
f718d26d31
update(ble_mesh: stack): Update provisioning bearer check debug log to INFO level
2023-07-13 14:38:23 +08:00
morris
cfa70abe0e
Merge branch 'bugfix/fix_adc_cali_workround_wrong_range_v5.1' into 'release/v5.1'
...
fix(regi2c): wrong ADC_CALI_PD_WORKAROUND on c6, h2 (v5.1)
See merge request espressif/esp-idf!24747
2023-07-13 14:17:27 +08:00
morris
adc2bf1e93
Merge branch 'bugfix/fix_adc_continuous_driver_conv_frame_issue_v5.1' into 'release/v5.1'
...
adc: fix adc continuous driver conv_frame_size not bigger than 4092 issue / pr 11500, use circular dma descriptors in adc continuous mode (v5.1)
See merge request espressif/esp-idf!24739
2023-07-13 14:16:15 +08:00
Kapil Gupta
d938559efb
Fix(esp_wifi): Fix race conditions in btm task deletion
2023-07-13 10:13:57 +05:30
Kapil Gupta
02aa8e1a89
esp_wifi: Optimize sae crypto operations for esp32
2023-07-13 09:47:09 +05:30
chenjianhua
34b4936a7d
fix(bt/bluedroid): Fix memory leak of gattc cache upon disconnection
2023-07-13 12:14:16 +08:00
chenjianhua
62bd3973f6
bluedroid: fixed gatt tcb free when disconnecting
2023-07-13 12:13:47 +08:00
muhaidong
d4bb163e32
lower the dhcp discover and request retry backoff time
2023-07-13 11:49:12 +08:00
Chen Jichang
649541e6e3
refactor(driver/gptimer): replace vTaskDelay
...
with esp_rom_delay_us in test_apps
This commit replaces vTaskDelay with esp_rom_delay_us in the gptimer
driver. The former function can introduce millisecond jitter due to
OS task switching, while the latter has less jitter because of the
polling delay. Therefore this commit reduces the delta values for
various timer tests.
Changes made in this commit include:
- Replacing vTaskDelay with esp_rom_delay_us
- Adjusting delta values for various timer tests
2023-07-13 11:29:39 +08:00
wuzhenghui
3fc984690f
change(Kconfig): improve ESP_SLEEP_PSRAM/FLASH_LEAKAGE_WORKAROUND help doc
...
Closes https://github.com/espressif/esp-idf/issues/11558
2023-07-13 11:02:44 +08:00
muhaidong
7c4cd75fe7
feat(external coex): add set tx line flag api
2023-07-13 10:37:53 +08:00
muhaidong
2f56bd8aac
external coex: rename coex gpio struct field names
2023-07-13 10:37:53 +08:00
xiaqilin
5cd0b6216a
external coex: add slave mode support
2023-07-13 10:37:53 +08:00
muhaidong
2c70cda9b6
external_coex: add extern coex wire 4
2023-07-13 10:37:53 +08:00
liuning
00ef8391af
external coex: add txline, apply coex schm and half tx, apply lowest pti
2023-07-13 10:37:53 +08:00
david zuhn
1f0982c0fc
spelling correction in documentation
...
Signed-off-by: zhangyanjiao <zhangyanjiao@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/9721
2023-07-13 10:37:53 +08:00
Nachiket Kukade
dc46fe5343
fix(esp_wifi): Enable FTM for ESP32C2, fix other FTM issues
...
Enable FTM for ESP32C2 and update wifi libs with below fixes -
1. Bugfixes in Initiator and Responder mode
2. Fix wrong RTT value in first FTM procedure without connection
3. Update FTM calibration values for ESP32S2, S3, C3 and C2
4. Update distance estimation logic
5. Add some useful command parameters in FTM example
6. Fix bug when number of FTM measurement frames received is more
than (number_of_brusts * FTMs per brust).
Co-authored-by: Sarvesh Bodakhe <sarvesh.bodakhe@espressif.com>
2023-07-13 10:37:53 +08:00
zhangyanjiao
a2d8225c9d
feat(wifi): Add API to get RSSI info after station connects to AP
...
- Add esp_wifi_sta_get_rssi() function to retrieve RSSI info after station connects to AP
2023-07-13 10:37:53 +08:00
xiaqilin
5492f382f9
fix(openthread): call sleep api only in native radio
2023-07-13 10:29:08 +08:00
Jiang Jiang Jian
a300e79589
Merge branch 'backport/openthread_light_sleep' into 'release/v5.1'
...
Backportv5.1/openthread light sleep
See merge request espressif/esp-idf!24736
2023-07-13 10:20:38 +08:00
Jiang Jiang Jian
9745b7fab0
Merge branch 'bugfix/update_esp_rom_include_v5.1' into 'release/v5.1'
...
fix(esp_rom): remove unsupported rom headers (backport v5.1)
See merge request espressif/esp-idf!24735
2023-07-13 09:46:42 +08:00
Rahul Tank
e2e5894bc2
Merge branch 'bugfix/fix_exception_in_wifi_prov_v5.1' into 'release/v5.1'
...
Nimble: Increase the number of semaphore count for allocation (v5.1)
See merge request espressif/esp-idf!24469
2023-07-13 08:31:53 +08:00
Jiang Jiang Jian
bcd5eea0ea
Merge branch 'bugfix/btm_scan_done_crash_v51' into 'release/v5.1'
...
wpa_supplicant : Fix occasional crash during btm roam.
See merge request espressif/esp-idf!24731
2023-07-13 03:00:30 +08:00
Jiang Jiang Jian
5ed5b83f70
Merge branch 'bufix/update_esp_phy_h_comments_5.1' into 'release/v5.1'
...
esp_phy:update comments in esp_phy_init.h_5.1
See merge request espressif/esp-idf!24704
2023-07-12 22:36:21 +08:00
Rahul Tank
cab8159187
Nimble: Increase the number of semaphore count to allow more semaphore
...
allocation
2023-07-12 15:31:46 +05:30
Armando
6acc155516
fix(regi2c): wrong ADC_CALI_PD_WORKAROUND on c6, h2
2023-07-12 17:28:01 +08:00
Armando
d21e332281
fix(adc): fixed esp32, esp32s2,esp32s3 adc oneshot mode clk div issue
2023-07-12 17:10:58 +08:00
Jiang Jiang Jian
e27b44e661
Merge branch 'bugfix/handle_signed_power_level_pcl_v5.1' into 'release/v5.1'
...
fix(nimble): Fix data type of power level and delta to handle negative values (v5.1)
See merge request espressif/esp-idf!24712
2023-07-12 16:54:23 +08:00
Armando
d8ee45ce08
adc: port gh pr to current adc continuous mode driver
...
DMA EOF may happens per multiple dma descriptors, instead of only one.
Closes https://github.com/espressif/esp-idf/pull/11500
2023-07-12 16:41:24 +08:00
Niklas Gürtler
5da5e1801b
Fix #10804 by running continuous ADC DMA in endless loop instead of restarting after each run (descriptor chain) to avoid losing samples. Use descriptor error callback for GDMA to check for DMA buffer overrun.
...
Signed-off-by: Armando <douyiwen@espressif.com>
2023-07-12 16:41:19 +08:00
Armando
f76f3dc83f
adc: fix adc continuous driver conv_frame_size not bigger than 4092 issue
...
Closes https://github.com/espressif/esp-idf/issues/11385
2023-07-12 16:41:11 +08:00
Armando
dd9bcef9ea
refactor(adc): maintain s_adc_tsen_enabled in adc driver
2023-07-12 16:35:51 +08:00
Jiang Guang Ming
6c4c0c0c78
fix(esp_rom): remove unsupported rom headers
2023-07-12 01:06:04 -07:00
Jiang Jiang Jian
cadf80e875
Merge branch 'bugfix/fpu_registers_overwritten_v5.1' into 'release/v5.1'
...
Xtensa: fix a bug that altered CPU registers in FPU exception handlers (backport v5.1)
See merge request espressif/esp-idf!24607
2023-07-12 14:53:21 +08:00
xiaqilin
7f722715b9
fix(openthread): Fixed light sleep lock issue
2023-07-12 14:38:36 +08:00
xiaqilin
b422504d10
ieee802154: exclude sleep file when do not define CONFIG_FREERTOS_USE_TICKLESS_IDLE
2023-07-12 14:37:53 +08:00
xiaqilin
6b1e3924af
ieee802154: update radio state in test
2023-07-12 14:37:29 +08:00
xiaqilin
043893a49f
ieee802154: change light sleep config in ieee802154
2023-07-12 14:37:18 +08:00
xiaqilin
aee329de2b
ieee802154: change BLE_BB/ieee802154_BB
2023-07-12 14:36:55 +08:00
xiaqilin
2ac7558da2
openthread: add openthread autostart for sleep device
2023-07-12 14:36:41 +08:00
xiaqilin
b4d951fa6a
ieee802154: add sleep state
2023-07-12 14:36:21 +08:00
xiaqilin
4f537d3b98
ieee802154: support light sleep
2023-07-12 14:32:28 +08:00
Shu Chen
65bf500d29
Merge branch 'backport/openthread_feature' into 'release/v5.1'
...
Backport some Openthread related MR to 5.1(Backport5.1)
See merge request espressif/esp-idf!24285
2023-07-12 14:25:22 +08:00
Jiang Jiang Jian
9fb1b59054
Merge branch 'bringup/esp32h2_light_sleep_for_rebase_backport_v5.1' into 'release/v5.1'
...
esp32h2: support light_sleep(backport v5.1)
See merge request espressif/esp-idf!24697
2023-07-12 13:39:49 +08:00
jgujarathi
3095888aaf
fix(wpa_supplicant) : Fix occasional crash during btm roam.
...
Fix crash due to premature deallocation of neighbour report elements
by scan_done. Post event to btm_rrm_t task to handle scan_done serially
rather than when btm_rrm_t task is processing btm request rx frame.
2023-07-12 10:39:05 +05:30
morris
0c7e2a9d14
Merge branch 'bugfix/bod_intr__v5.1' into 'release/v5.1'
...
brownout: Disable the hardware BOD when BOD interrupt is enabled(backportv5.1)
See merge request espressif/esp-idf!24692
2023-07-12 11:17:58 +08:00
morris
a0e8f5aa03
Merge branch 'contrib/github_pr_10811_5.1' into 'release/v5.1'
...
i2c: introduce chip specific cmd register number(backport v5.1)
See merge request espressif/esp-idf!24694
2023-07-12 11:15:03 +08:00
Jiang Jiang Jian
26046c054e
Merge branch 'contrib/github_pr_11810_v5.1' into 'release/v5.1'
...
ledc.c: Fix frequency calculation. (GitHub PR) (v5.1)
See merge request espressif/esp-idf!24696
2023-07-12 10:46:36 +08:00
Island
196fc559b4
Merge branch 'feature/ble_mesh_example_support_duplicate_scan_v5.1' into 'release/v5.1'
...
Feature/ble mesh example support duplicate scan(v5.1)
See merge request espressif/esp-idf!24700
2023-07-12 10:38:05 +08:00
Shu Chen
966312e54f
Merge branch 'backport/ieee802154_feature' into 'release/v5.1'
...
Backport some IEEE802154 related MR to 5.1(Backport 5.1)
See merge request espressif/esp-idf!24678
2023-07-12 07:23:43 +08:00
Jiang Jiang Jian
788f1def16
Merge branch 'bugfix/esp_netif_recieve_returns_v5.1' into 'release/v5.1'
...
esp_netif: Report error if esp_netif_receive() fails (v5.1)
See merge request espressif/esp-idf!24655
2023-07-12 04:07:17 +08:00
Shu Chen
6b2209c41d
Merge branch 'backport/phy_track_pll_to_v51' into 'release/v5.1'
...
Backport: phy track pll logic refactor to V5.1(Backport v5.1)
See merge request espressif/esp-idf!24689
2023-07-12 00:13:50 +08:00
Rahul Tank
fa8f99249c
fix (nimble): Fix data type of power level and delta to handle negative values
2023-07-11 17:18:09 +05:30
xueyunfei
ba54ce8657
esp_phy:update comments in esp_phy_init.h
2023-07-11 17:37:13 +08:00
Zim Kalinowski
174c38ba5c
Merge branch 'bugfix/fix-esp-even-compile-error-v5.1' into 'release/v5.1'
...
esp_event: fix build error related to format (v5.1)
See merge request espressif/esp-idf!24664
2023-07-11 17:08:38 +08:00
Island
8e2de1b594
Merge branch 'ble_dev/esp32c6_support_power_save_example_5.1' into 'release/v5.1'
...
ble: support esp32c6 power save example
See merge request espressif/esp-idf!24386
2023-07-11 16:55:22 +08:00
Omar Chebib
3603611af1
freertos: add a unit test for FPU context switch
2023-07-11 15:55:40 +08:00
Omar Chebib
f002aeae3d
Xtensa: fix a bug that altered CPU registers in FPU exception handlers
...
* Fixes https://github.com/espressif/esp-idf/issues/11690
2023-07-11 15:55:35 +08:00
wangjialiang
573755a8d2
feat(ble_mesh: stack: esp32c6/h2): update Kconfig file to support duplicate scan.
2023-07-11 15:54:48 +08:00
IhorNehrutsa
1d158ddd10
fix(ledc): fix frequency calculation
...
ledc.c: Fix frequency calculation.
Round int instead of truncate.
Merges https://github.com/espressif/esp-idf/pull/11810
2023-07-11 15:22:34 +08:00
Lou Tianhao
af5a2fe4fd
bugfix: update pm trace io num for esp32h2
2023-07-11 15:06:01 +08:00
Marius Vikhammer
efc9761ff0
Merge branch 'fix/heap-test-h2_v5.1' into 'release/v5.1'
...
heap: remove exclusion of esp32h2 as a target for heap pytest (v5.1)
See merge request espressif/esp-idf!24567
2023-07-11 15:05:07 +08:00
Lou Tianhao
ee299b2d53
bugfix: set FORCE_INLINE_ATTR for resume_uart
2023-07-11 15:04:19 +08:00
Hanno
c2b8a1d95c
i2c: introduce chip specific cmd register number
...
Merges https://github.com/espressif/esp-idf/pull/10811
2023-07-11 14:55:46 +08:00
Lou Tianhao
d191b0c540
Power Management: fix hp xtal wait bug for esp32h2 and esp32c6
2023-07-11 14:53:43 +08:00
Lou Tianhao
60a3e5053e
Power Management: support pu xtal in light sleep for esp32h2
2023-07-11 14:53:15 +08:00
Lou Tianhao
7599d07c3f
bugfix: remove the workaround implemented in MR 22773 about the lp_timer
2023-07-11 14:53:02 +08:00
Lou Tianhao
6e15f589cc
Power Management: move lp_timer_hal.c to upper hal layer for esp32h2 and esp32c6
2023-07-11 14:52:46 +08:00
Lou Tianhao
8aaa256aa9
Power Management: support RC32K or Crystal32K powered down
2023-07-11 14:52:35 +08:00
Lou Tianhao
c15c8664ca
codeclean: fix prefix to LP_AON and add LP_AON_STORE8_REG
2023-07-11 14:52:24 +08:00
Cao Sen Miao
f44e8a8a8f
brownout: Disable the hardware BOD when BOD interrupt is enabled
2023-07-11 14:32:40 +08:00
xiaqilin
bdc49fbff4
ieee802154: update test code
2023-07-11 14:28:54 +08:00
xiaqilin
91d17e0073
ieee802154: support ieee802154 test
2023-07-11 14:28:54 +08:00
xiaqilin
c80ee99c6a
ieee802154: add a patch for ieee802154 test
2023-07-11 14:28:54 +08:00
xiaqilin
bba902cc46
ieee802154: add CONFIG_IEEE802154_TEST for supporting ieee802154 test
2023-07-11 14:28:54 +08:00
zhangwenxu
e88adc3401
IEEE802154: match C6 max txpower value with datasheet
2023-07-11 14:28:54 +08:00
xiaqilin
b135270e68
ieee802154: add modem reset and fix ieee802154 test app reg command error
2023-07-11 14:28:54 +08:00
WanqQixiang
181ed29c3a
feat(openthread): Add event post for thread role changed and integrate all the thread state change callbacks
2023-07-11 14:27:05 +08:00
zhangwenxu
bcd99bb58d
fix(openthread): fix ot settings out of range issue
2023-07-11 14:21:19 +08:00
Rahul Tank
a125e8f7ed
Merge branch 'feature/services_proximity_v5.1' into 'release/v5.1'
...
NimBLE : Added proximity sensor as a service (v5.1)
See merge request espressif/esp-idf!24649
2023-07-11 14:04:31 +08:00
Lou Tianhao
2c9a2a76f7
example: bringup light sleep example for esp32h2
2023-07-11 13:58:08 +08:00
Lou Tianhao
2abfeb19c8
Power Management: change the IO hold interface for esp32c6
2023-07-11 12:04:20 +08:00
Lou Tianhao
8ef8459c0d
Power Management: update pmu init and sleep parameter
2023-07-11 12:04:09 +08:00
Lou Tianhao
3b40ce4d9b
Power Management: fix REGDMA clock issue when wake up form light sleep
2023-07-11 12:03:59 +08:00
Lou Tianhao
e5e0a0918a
Power Management: support MODEM domain powered down in light sleep for esp32h2
2023-07-11 12:03:46 +08:00
Lou Tianhao
c39a0cc0b5
Power Management: fix REGDMA power issue when TOP domain powered down during light sleep for esp32h2
2023-07-11 12:03:36 +08:00
Lou Tianhao
113366820b
Power Management: support TOP domain powered down in light sleep for esp32h2
2023-07-11 12:03:25 +08:00
Lou Tianhao
24486dd069
Power Management: support PAU REGDMA feature for esp32h2
2023-07-11 12:03:13 +08:00
Lou Tianhao
c12d7f5463
Power Management: support CPU powered down in light sleep for esp32h2
2023-07-11 12:03:02 +08:00
Lou Tianhao
356fa3ab4b
Power Management: support DFS and PMU feature for esp32h2
2023-07-11 12:02:39 +08:00
Marius Vikhammer
62b20b5518
Merge branch 'bugfix/esp_event_err_docs_v5.1' into 'release/v5.1'
...
fix(core-system/esp event): Fixed missing error return documentation for... (v5.1)
See merge request espressif/esp-idf!24573
2023-07-11 11:46:43 +08:00
zhangwenxu
2bee46a354
esp_phy: phy track pll logic refactor
2023-07-11 10:50:29 +08:00
zhangwenxu
72cc92578d
Openthread: fix dead lock related to ot and lwip
2023-07-11 10:39:34 +08:00
zhangwenxu
26c0a23598
openthread: change partition table to nvs flash
2023-07-11 10:39:34 +08:00
Shu Chen
d4dd3dfa2b
openthread: introduce the auto start API
2023-07-11 10:39:34 +08:00
zhangwenxu
f3924e5aa8
openthread: add source address selection hook
2023-07-11 10:39:34 +08:00
zhangwenxu
bcb9e6b5eb
lwip: add a hook for ip6 source address selection
2023-07-11 10:39:34 +08:00
Mahavir Jain
e9a8456279
Merge branch 'fix/mbedtls_ecdsa_veriy_restartable_v5.1' into 'release/v5.1'
...
mbedtls: update submodule (v5.1)
See merge request espressif/esp-idf!24636
2023-07-11 10:18:27 +08:00
Jiang Jiang Jian
87426b8fbd
Merge branch 'fix/esp32s3_sysview_trace_corrupt_v5.1' into 'release/v5.1'
...
fix(app_trace): Fix apptrace data corruption on ESP32-S3 (v5.1)
See merge request espressif/esp-idf!24680
2023-07-11 08:37:55 +08:00
Jiang Jiang Jian
37ff7a92bf
Merge branch 'bugfix/wps_deauth_sent_before_eap_failure_v5.1' into 'release/v5.1'
...
Fix for sending deauth before Eap-Failure in WPS (v5.1)
See merge request espressif/esp-idf!24368
2023-07-11 06:43:27 +08:00
David Čermák
18a8f86ecb
Merge branch 'bugfix/lwip_dhcps_hook_types_v5.1' into 'release/v5.1'
...
lwip: Fix incorrect invocation of the hook `LWIP_HOOK_DHCPS_POST_APPEND_OPTS` (v5.1)
See merge request espressif/esp-idf!24658
2023-07-11 03:31:31 +08:00
cjin
1dbbd97749
ble: support esp32c6 power save example
2023-07-10 18:08:37 +00:00
Jiang Jiang Jian
0cf0757224
Merge branch 'bugfix/ulp_fsm_ci_v5.1' into 'release/v5.1'
...
ulp-system/ulp-fsm: clean up test cases (v5.1)
See merge request espressif/esp-idf!24070
2023-07-11 01:46:39 +08:00
Jiang Jiang Jian
cf517e3e39
Merge branch 'bugfix/tempsensor_wifi_conflict_v5.1' into 'release/v5.1'
...
temperature_sensor: Fix issue that have conflict with phy / Fix phy pwdet and tsens power cannot be set twice issue (v5.1)
See merge request espressif/esp-idf!24064
2023-07-11 01:38:04 +08:00
harshal.patil
bdbb717be9
mbedtls: update submodule to include:
...
fix: mbedtls_ecdsa_can_do was not being defined when ECDSA_SIGN_ALT is defined but ECDSA_VERIFY_ALT is not defined causing mbedtls_ecdsa_verify_restartable to always fail.
feature: initial version of the sbom.yml file
2023-07-10 14:11:51 +00:00
Jiang Jiang Jian
a09a503073
Merge branch 'bugfix/nan_sd_dp_fixes_v5.1' into 'release/v5.1'
...
NAN Service discovery and datapath bugfixes (Backport v5.1)
See merge request espressif/esp-idf!24383
2023-07-10 21:44:49 +08:00
Alexey Gerenkov
3eacf08267
fix(app_trace): Fix apptrace data corruption on ESP32-S3
...
Close https://github.com/espressif/esp-idf/issues/10604
diff --git a/components/soc/esp32s3/include/soc/tracemem_config.h b/components/soc/esp32s3/include/soc/tracemem_config.h
index 55c9b907dd..75fd87419b 100644
--- a/components/soc/esp32s3/include/soc/tracemem_config.h
+++ b/components/soc/esp32s3/include/soc/tracemem_config.h
@@ -10,7 +10,7 @@ extern "C" {
#endif
#define TRACEMEM_MUX_BLK0_NUM 22
-#define TRACEMEM_MUX_BLK1_NUM 23
+#define TRACEMEM_MUX_BLK1_NUM 26
#if (TRACEMEM_MUX_BLK0_NUM < 6) || (TRACEMEM_MUX_BLK0_NUM > 29)
#error Invalid TRAX block 0 num!
2023-07-10 13:06:02 +03:00
Island
e21fc0dc50
Merge branch 'feature/update_ble_libs_5.1' into 'release/v5.1'
...
ble: Added APIs for QA test
See merge request espressif/esp-idf!24651
2023-07-10 17:21:51 +08:00
Island
e68d4a7177
Merge branch 'feature/update_ble_duplicte_vs_hci_lib_fix_5_1' into 'release/v5.1'
...
Feature/update ble duplicte vs hci lib fix 5 1
See merge request espressif/esp-idf!24638
2023-07-10 15:09:18 +08:00
Zim Kalinowski
e29e39f9d6
esp_event: fix build error related to format
...
Closes https://github.com/espressif/esp-idf/issues/11428
See merge request !23833
2023-07-10 11:28:03 +08:00
Cao Sen Miao
0954babbd6
temperature_sensor: make as a weak link
2023-07-10 11:16:09 +08:00
Armando
a33541f036
phy: fix phy pwdet and tsens power cannot be set twice issue
...
Closes https://github.com/espressif/esp-idf/issues/11627
2023-07-10 11:16:09 +08:00
Cao Sen Miao
e493a99da2
temperature_sensor: Apply new-shared interface in temperature sensor driver
2023-07-10 11:16:09 +08:00
Cao Sen Miao
acc6d99572
temperature_sensor: Add new interface and reference counts so that phy and driver can use together
2023-07-10 11:16:09 +08:00
Jiang Jiang Jian
3b7dc69e90
Merge branch 'feature/sync_libphy_v5.1' into 'release/v5.1'
...
sync libphy to v5.1
See merge request espressif/esp-idf!24588
2023-07-10 10:38:41 +08:00
morris
0930b5ca1e
Merge branch 'bugfix/fix_spi_flash_api_concurrency_issue_v5.1' into 'release/v5.1'
...
spi_flash: fix concurrency issue when concurrently calling esp_flash apis (v5.1)
See merge request espressif/esp-idf!24508
2023-07-10 10:24:51 +08:00
Jiang Jiang Jian
28860655af
Merge branch 'bugfix/update_esp_rom_layout_v5.1' into 'release/v5.1'
...
esp_rom: fix rom layout issues (backport v5.1)
See merge request espressif/esp-idf!24639
2023-07-10 10:23:16 +08:00
aditi_lonkar
33aff4c5a0
Fix for sending deauth before Eap-Failure in WPS
2023-07-10 02:20:51 +00:00
wuyuanyi135
575a433c98
Fix incorrect invocation of the hook LWIP_HOOK_DHCPS_POST_APPEND_OPTS
...
Fix https://github.com/espressif/esp-idf/issues/11373
2023-07-07 14:14:02 +02:00
David Cermak
cf4c39a225
esp_netif: Make esp_netif_receive() return value configurable
2023-07-07 13:56:13 +02:00
David Cermak
39b8218750
esp_netif: Report error if esp_netif_receive() fails
...
Closes https://github.com/espressif/esp-idf/issues/10770
2023-07-07 13:56:13 +02:00
Rahul Tank
a7b62bbcaf
Merge branch 'bufix/fix_assert_while_stack_deinit_v5.1' into 'release/v5.1'
...
NimBLE : Fix assert due to controller event while stack deinit (v5.1)
See merge request espressif/esp-idf!24620
2023-07-07 19:41:52 +08:00
Shen Weilong
027e6ecab9
ble: Added APIs for QA test
2023-07-07 19:40:48 +08:00
Michael (XIAO Xufeng)
5c11366e01
Merge branch 'feature/support_adc_calibration_on_c6_v5.1' into 'release/v5.1'
...
adc_cali: supported adc calibration on esp32c6 (v5.1)
See merge request espressif/esp-idf!23936
2023-07-07 18:29:11 +08:00
jgujarathi
18ffa02b72
esp_wifi : Fix collection of issues during sta scan and roam.
...
1) Fix issue during split scan to allow for data tx.
2) Fix issue when parsing wpa_ie to set correct authmode when AP
supports both WPA_EAP and WPA_EAP_SHA256 authmode.
Closes https://github.com/espressif/esp-idf/issues/11202
3) Fix an occasional crash during sta roam.
4) Add home_channel_dwell_time to wifi_scan_config_t. This allows
configuration of the time spent between scanning consecutive
channels for tx.
2023-07-07 18:11:38 +08:00
Liu Ning
43604dffbe
esp_wifi: fix ret when setting channel at wifi not started, fix timer callback
2023-07-07 18:09:29 +08:00
Jiang Jiang Jian
6cb39b4485
Merge branch 'bugfix/concurrency_while_eloop_register_v5.1' into 'release/v5.1'
...
esp_wifi: Bugfix concurrency observed while doing eloop register (v5.1)
See merge request espressif/esp-idf!24570
2023-07-07 18:00:49 +08:00
zhangwenxu
8592f19a95
esp_phy: fix rtc_printf and libbtbb version print
2023-07-07 17:39:25 +08:00
lixiaofan
044baf90e5
sync libphy to v5.1
2023-07-07 17:38:01 +08:00
Jiang Jiang Jian
66f384cad0
Merge branch 'bugfix/added_chip_based_cca_config_v5.1' into 'release/v5.1'
...
ble: fix cca for esp32c2
See merge request espressif/esp-idf!24426
2023-07-07 17:31:00 +08:00
isha.pardikar@espressif.com
893967f596
feat (NimBLE): Add proximity sensor as a service
2023-07-07 14:59:22 +05:30
Jiang Jiang Jian
64ba835d05
Merge branch 'feat/improve_wifi_rx_in_high_interference_v5.1' into 'release/v5.1'
...
esp_phy: update esp32c2 phy lib to fix some issues(v5.1)
See merge request espressif/esp-idf!24163
2023-07-07 17:19:27 +08:00
Island
a8c9665ae2
Merge branch 'ble_dev/support_esp32h2_modem_clock_selection_5.1' into 'release/v5.1'
...
ble: support esp32h2 modem clock selection
See merge request espressif/esp-idf!24388
2023-07-07 16:57:22 +08:00
jiangguangming
fc7d4488bf
esp_rom: fix rom layout issues
2023-07-07 01:02:07 -07:00
Geng Yuchao
730d8e18d8
fix(ble): Fix duplicate var length issue
2023-07-07 14:29:21 +08:00
Geng Yuchao
1398605873
fix(ci): Fix declaration isn't a prototype issue
2023-07-07 14:29:21 +08:00
Geng Yuchao
0359d0df5d
feat(ble): Update ble lib to 6f9ef119
2023-07-07 14:29:21 +08:00
Geng Yuchao
eea7df273c
change(ble): Enable pdu type trig in duplicate in default mode as before
2023-07-07 14:29:21 +08:00
Geng Yuchao
a5f127ec88
feat(ble): Add duplicate refersh function support for esp32h2
2023-07-07 14:29:21 +08:00
Geng Yuchao
2b195191b3
feat(ble): Add support to scan period refresh duplicate cache list
2023-07-07 14:29:21 +08:00
Geng Yuchao
a357fd17c2
feat(ble): Add duplicate filter feature enable on ble for h2.
2023-07-07 14:29:21 +08:00
Geng Yuchao
6dc7d9b63f
feat(ble): Add duplicate filter feature enable on ble for c6.
2023-07-07 14:29:21 +08:00
Armando
a7f00f503a
spi_flash: rename spi_flash_os_func_app: spi_start, spi_end
...
spi_start -> s_acquire_spi_bus_lock
spi_end -> s_release_spi_bus_lock
2023-07-07 10:13:28 +08:00
Armando
f142415475
spiflash: added esp_flash API concurrency pressure test
2023-07-07 10:13:28 +08:00
Armando
faa8c2bc8f
spi_flash: fix concurrency issue when calling esp_flash apis under xip_psram or auto_suspen
2023-07-07 10:13:28 +08:00
Armando
d2e8dccd40
spiflash: fix not calling on_spi_acquired when CONFIG_SPI_FLASH_SHARE_SPI1_BUS issue
2023-07-07 10:13:28 +08:00
Rahul Tank
7c6ab05f50
feat(nimble): Add support for PCL Set RSSI VSC and example code for its usage
...
This commit adds support for sending Vendor Specific HCI commands and handling Vendor Specific HCI
Events in the Nimble stack. It also includes the necessary configuration options and APIs to handle
these commands and events.
The following changes were made:
- Added configuration option to enable support for VSC and VSE
- Added API to send Vendor Specific HCI commands
- Added example code for using the Set RSSI VSC for Power Control
This commit also includes some minor code improvements and bug fixes
2023-07-06 19:54:19 +05:30
Rahul Tank
022ce314c3
Nimble: Add APIs to handle vs HCI commands and events
2023-07-06 19:54:19 +05:30
chenjianxing
bb3bd09b93
esp_phy: update esp32c2 phy lib to fix some issues
...
1. improve Wi-Fi rx 11b pkts for AC-DC power supply modules.
2. fix Wi-Fi disconnect in low temperature.
3. fix RTC_SW_CPU_RST occur in Wi-Fi start and stop process.
2023-07-06 17:09:09 +08:00
Rahul Tank
f1b9af72fd
Merge branch 'bugfix/sync_reporting_files_v5.1' into 'release/v5.1'
...
NimBLE : Sync common porting and nimble submodule files (v5.1)
See merge request espressif/esp-idf!24277
2023-07-06 15:05:54 +08:00
cjin
7b70e2eb34
ble: fix cca for esp32c2
2023-07-06 14:05:43 +08:00
Roshan Bangar
fe05003a8f
fix(nimble): Fix assert due to controller event while stack deinit
2023-07-06 10:30:36 +05:30
laokaiyao
57312e6e3e
adc_calib: support calibration v2 on esp32c6
2023-07-06 10:36:29 +08:00
Jiang Jiang Jian
5e3488396a
Merge branch 'bugfix/fix_some_bt_controller_bug_v5.1' into 'release/v5.1'
...
component_bt:Fixed some bluetooth bugs(v5.1)
See merge request espressif/esp-idf!24579
2023-07-06 00:54:40 +08:00
Jiang Jiang Jian
16ff61b36e
Merge branch 'ble_dev/support_ble_light_sleep_using_extra_link_5.1' into 'release/v5.1'
...
Ble dev/support ble light sleep using extra link 5.1
See merge request espressif/esp-idf!24192
2023-07-05 20:32:56 +08:00
Jiang Jiang Jian
71a5663786
Merge branch 'bugfix/hfp_packet_type_err_v5.1' into 'release/v5.1'
...
Revised (e)SCO configuration parameter sets (v5.1)
See merge request espressif/esp-idf!24346
2023-07-05 20:05:59 +08:00
Jiang Jiang Jian
d682fbeb07
Merge branch 'bugfix/alarm_not_free_when_a2dp_deinit_v5.1' into 'release/v5.1'
...
bugfix/Fixed the issue of alarm leak (v5.1)
See merge request espressif/esp-idf!24351
2023-07-05 19:53:09 +08:00
Jiang Jiang Jian
425b660583
Merge branch 'feature/update_avrcp_v1.5_v5.1' into 'release/v5.1'
...
change(bt/Bluedroid): Update AVRCP version to 1.5 (v5.1)
See merge request espressif/esp-idf!24582
2023-07-05 19:52:09 +08:00
Jiang Jiang Jian
4474b0ac8c
Merge branch 'bugfix/resume_ext_scan_pti_in_time_v5.1' into 'release/v5.1'
...
bt: fix the issue that BLE scan uses high priority incorrectly and causes Wi-Fi unable to work normally on ESP32-C3 and ESP32-S3(backport v5.1)
See merge request espressif/esp-idf!24403
2023-07-05 19:49:05 +08:00
Jiang Jiang Jian
51ed7ef9f1
Merge branch 'bugfix/fix_hang_during_sleep_process_v5.1' into 'release/v5.1'
...
Power Management: fix hang on pd_top sleep process (backport v5.1)
See merge request espressif/esp-idf!24459
2023-07-05 19:48:19 +08:00
Jiang Jiang Jian
60163c3b0f
Merge branch 'bugfix/memory_cleanup_optimization_v5.1' into 'release/v5.1'
...
Nimble: Fixes for memory leak / optimization (v5.1)
See merge request espressif/esp-idf!24139
2023-07-05 19:42:58 +08:00
Jiang Jiang Jian
97b0cb9d14
Merge branch 'contrib/github_pr_11337_v5.1' into 'release/v5.1'
...
w5500: mac: poll VERSIONR to ensure the chip is initialised (GitHub PR) (v5.1)
See merge request espressif/esp-idf!24551
2023-07-05 19:34:10 +08:00
Jiang Jiang Jian
87b960121a
Merge branch 'contrib/github_pr_10987_v5.1' into 'release/v5.1'
...
Allow to config the maximum number of VFS entries. (GitHub PR) (v5.1)
See merge request espressif/esp-idf!23871
2023-07-05 19:32:32 +08:00
Jiang Jiang Jian
40f93bcc41
Merge branch 'ci/tcp_transport_test_app_v5.1' into 'release/v5.1'
...
ci: Migrate unit test for tcp_transport to unit test app (v5.1)
See merge request espressif/esp-idf!24248
2023-07-05 19:30:44 +08:00
Jiang Jiang Jian
aa434942c1
Merge branch 'backport/fix_multipan_api_error_and_coex_delay_reg' into 'release/v5.1'
...
ieee802154: fix multipan api error and update coex_arb_delay reg(Backport v5.1)
See merge request espressif/esp-idf!24399
2023-07-05 19:30:07 +08:00
Jiang Jiang Jian
9658469de2
Merge branch 'backport/modification_when_154_stop_tx_rx_ack' into 'release/v5.1'
...
Fix OpenThread/IEEE802.15.4 bugs found in test(backport v5.1)
See merge request espressif/esp-idf!24060
2023-07-05 19:28:43 +08:00
Jiang Jiang Jian
b8cfb56c43
Merge branch 'bugfix/tx_only_link_up_v5.1' into 'release/v5.1'
...
Ethernet minor fixes (v5.1)
See merge request espressif/esp-idf!23968
2023-07-05 19:25:46 +08:00
Jiang Jiang Jian
46396d7c16
Merge branch 'bugfix/usb_serial_jtag_select_poll_crash_v5.1' into 'release/v5.1'
...
vfs: select sanity NULL check (v5.1)
See merge request espressif/esp-idf!23946
2023-07-05 19:25:25 +08:00
Shyamal Khachane
5d05aa9942
fix(esp_wifi): NAN Service discovery and datapath bugfixes
...
1. Increase timeout value for NDP Accepted/Rejected events
2. Update publisher ID incase publisher restarts(service)
3. Ignore service discovery frames with invalid/inactive service ID
4. Update NAN documentation
2023-07-05 14:33:56 +05:30
wangmengyang
1e7d3425e5
bt-coexist: fix the issue for BLE scan in using whitelist that scan PTI keeps high and not resumes after reception of ADV_EXT_IND but no AUX_ADV_IND followed on ESP32-C3 and ESP32-S3, which causes Wi-Fi unable to work normally
2023-07-05 12:54:59 +08:00
laokaiyao
6f673e95c9
adc_oneshot: move power acquire back to adc_oneshot_new_unit
...
Revert and fix of d197c59eaa
in !23575
adc_cali: fix the condition of ocode calibration
2023-07-05 12:48:11 +08:00
laokaiyao
e90a2d50c4
adc_cali: supported channel compensation of adc calibration on esp32c6
2023-07-05 12:48:11 +08:00
KonstantinKondrashov
0b7485db02
efuse(c6): Adds adc calib efuses
2023-07-05 12:48:11 +08:00
laokaiyao
6336a9e2b5
adc_cali: supported adc calibration on esp32c6
2023-07-05 12:48:11 +08:00
Roshan Bangar
a41f5387c1
NimBLE : Sync porting files
2023-07-05 10:02:58 +05:30
Jiang Jiang Jian
2cffd23655
Merge branch 'bugfix/pmu_wait_xtal_stable_time_issue' into 'release/v5.1'
...
fix PMU wait xtal stable time issue for esp32c6
See merge request espressif/esp-idf!24259
2023-07-05 12:27:26 +08:00
Jiang Jiang Jian
7c696fcb71
Merge branch 'bugfix/rtc_clk_int_rc32k_miss_calib_cycles_config_v5.1' into 'release/v5.1'
...
backport v5.1: fix the issue of missing configuration for calibration cycles of the internal 32 kHz RC
See merge request espressif/esp-idf!24584
2023-07-05 12:27:08 +08:00
Jiang Jiang Jian
9d47a58750
Merge branch 'bugfix/macro_changes_in_nimble-1.5_v5.1' into 'release/v5.1'
...
NimBLE : Update macro name changes in nimble-1.5 (v5.1)
See merge request espressif/esp-idf!23745
2023-07-05 12:24:52 +08:00
Jiang Jiang Jian
8051cb704c
Merge branch 'bugfix/fix_bootloader_wrong_spi_freq_print_v5.1' into 'release/v5.1'
...
bugfix: fix esp32c6 bootloader print wrong spi speed mode (backport v5.1)
See merge request espressif/esp-idf!24460
2023-07-05 12:24:16 +08:00
Rahul Tank
bd0343c9c3
Merge branch 'bugfix/fix_config_option_v5.1' into 'release/v5.1'
...
Nimble: Fixed setting macro values based on selected configuration (v5.1)
See merge request espressif/esp-idf!24137
2023-07-05 12:16:36 +08:00
Aditya Patwardhan
bcef59f33c
Merge branch 'bugfix/mbedtls_dyanmic_buffer_with_dhm_build_v5.1' into 'release/v5.1'
...
fix(mbedtls): Build issue in dynamic buffer feature (v5.1)
See merge request espressif/esp-idf!24537
2023-07-05 12:04:00 +08:00
Rahul Tank
051965af52
Merge branch 'bugfix/fix_pcl_enh_rsp_v5.1' into 'release/v5.1'
...
Nimble: Removed the extra status field in the enh read transmit power level (v5.1)
See merge request espressif/esp-idf!23883
2023-07-05 12:00:25 +08:00
Darian Leung
8cb70f0d12
ringbuf: Fix ordering of StaticRingbuffer_t
...
When building on linux/host compilers (e.g., GCC), the compiler may add padding
depending on the size and order of the member types.
This commit fixes the ordering or the StaticRingbuffer_t such that it matches
the internal Ringbuffer_t. The "_Static_assert" is always enabled for all
compilers.
Closes https://github.com/espressif/esp-idf/issues/11726
2023-07-04 21:30:43 +01:00
Aditya Patwardhan
c81bc8c819
Merge branch 'bugfix/aes_dma_align_issue_v5.1' into 'release/v5.1'
...
aes: fix DMA descriptor calculation for the alignment case (v5.1)
See merge request espressif/esp-idf!24093
2023-07-04 19:57:10 +08:00
Rahul Tank
1ed419e23c
Nimble: Removed the extra status field in the enh read transmit power level
2023-07-04 15:48:38 +05:30
Rahul Tank
4e1ec90525
Nimble: Fixed setting macro values based on selected configuration
2023-07-04 15:48:16 +05:30
Rahul Tank
73639cf0b4
Nimble: Fixes for memory leak / optimization
2023-07-04 15:45:22 +05:30
Li Shuai
9216bdc078
Power Management: fix PMU wait xtal stable time issue
2023-07-04 16:22:00 +08:00
wuzhenghui
94a10372cc
feature: skip console uart flush and sleep when estimated uart flush time exceeds the sleep duration to avoid rtos tick jump failed
2023-07-04 16:14:20 +08:00
Li Shuai
963fac95d7
fix(rtc_clk): fix the issue of missing configuration for calibration cycles of the internal 32 kHz RC
2023-07-04 16:06:37 +08:00
xiongweichao
015555c6fb
change(bt/Bluedroid): Update AVRCP version to 1.5
2023-07-04 15:52:29 +08:00
xiongweichao
6e9dabe659
bt: Fixed some bluetooth bugs
...
1. Fixed LC_AFH_UPDATE_IND has not benn processed causing memory exhaustion
2. Fixed no free elt in prog push
3. Fixed disconnect due to sniff with error Dsniff
4. Fixed the problem that the host continued to send ACL data to the controller after disconnection, which caused the connection to fail again
2023-07-04 15:03:10 +08:00
chenjianhua
4bf8f8895c
Update bt-lib for esp32
...
- Fixed memory leak when setting adv data
2023-07-04 15:03:05 +08:00
xiongweichao
50904e9353
components/bt: Fix crash due to NULL point
2023-07-04 14:55:04 +08:00
Marius Vikhammer
b5cab579fe
fix(core-system/esp event): Fixed missing error return documentation for esp_event_loop_create_default
...
ESP_ERR_INVALID_STATE was not listed as a possible return error code.
Closes https://github.com/espressif/esp-idf/issues/11745
2023-07-04 13:41:51 +08:00
Marius Vikhammer
d9426fc255
Merge branch 'contrib/github_pr_11652_v5.1' into 'release/v5.1'
...
Fix ULP FSM register macros with addr[9:0] > 0xFF (GitHub PR) (v5.1)
See merge request espressif/esp-idf!24268
2023-07-04 13:27:52 +08:00
Jiang Jiang Jian
29f52acbfe
Merge branch 'bugfix/increase_pm_dump_time_field_length_v5.1' into 'release/v5.1'
...
Power Management: increase pm_dump time field width (backport v5.1)
See merge request espressif/esp-idf!24450
2023-07-04 12:16:38 +08:00
Jiang Jiang Jian
b0717c6852
Merge branch 'feature/enable_sleep_reject_for_deep_sleep_v5.1' into 'release/v5.1'
...
sleep: enable sleep reject when entering deepsleep (backport v5.1)
See merge request espressif/esp-idf!24440
2023-07-04 12:16:11 +08:00
Jiang Jiang Jian
159e80246b
Merge branch 'feature/add_modem_module_rst_api_v5.1' into 'release/v5.1'
...
modem_clock: add modem module mac reset api (backport v5.1)
See merge request espressif/esp-idf!24441
2023-07-04 12:15:33 +08:00
Jiang Jiang Jian
11d34b143f
Merge branch 'bugfix/sdp_32_and_128_bit_UUID_v5.1' into 'release/v5.1'
...
bt:Fixed SDP not being able to configure 32-bit and 128-bit UUID(v5.1)
See merge request espressif/esp-idf!24442
2023-07-04 12:15:01 +08:00
Jiang Jiang Jian
09f2ab841f
Merge branch 'docs/update_esp_hid_host_v5.1' into 'release/v5.1'
...
[docs] fix documents for Bluetooth HID Host API reference (backport v5.1)
See merge request espressif/esp-idf!24389
2023-07-04 12:14:22 +08:00
Jin Cheng
c020194656
Revised (e)SCO configuration parameter sets
2023-07-04 04:12:35 +00:00
Jin Cheng
4ce9023cd4
Fixed the issue of alarm leak in hf-ag
2023-07-04 04:12:24 +00:00
Jin Cheng
ced0a5747b
Fixed the issue of alarm leak in A2DP
2023-07-04 04:12:24 +00:00
Shreyas Sheth
38e2a6fce6
esp_wifi: Bugfix concurrency observed while doing eloop register
2023-07-04 09:42:18 +05:30
Jiang Jiang Jian
56bb50b85e
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!24275
2023-07-04 12:11:35 +08:00
Jiang Jiang Jian
207e589917
Merge branch 'bugfix/support_esp32c6_sleep_retention_extra_link_v5.1' into 'release/v5.1'
...
backport v5.1: support extra linked list retention for BLE and 15.4
See merge request espressif/esp-idf!24220
2023-07-04 12:11:04 +08:00
Jiang Jiang Jian
54360507f3
Merge branch 'bugfix/malloc_free_removal_v5.1' into 'release/v5.1'
...
Backport some wifi fixes (backport v5.1)
See merge request espressif/esp-idf!24264
2023-07-04 12:10:21 +08:00
Jiang Jiang Jian
f93f08bcd2
Merge branch 'bugfix/fix_wps_with_sae_enabled_ap_v5.1' into 'release/v5.1'
...
esp_wifi: Fix WPS issue for WPA3+WPA2 mode (v5.1)
See merge request espressif/esp-idf!24152
2023-07-04 12:09:50 +08:00
cjin
30a67ed72c
btbb: support register retention in esp32c6
2023-07-04 12:09:22 +08:00
cjin
e72359fc66
ble:added esp32c6 light sleep support
2023-07-04 12:09:22 +08:00
Jiang Jiang Jian
b2b0940516
Merge branch 'bugfix/fix_Cache_Count_Flash_bug_v5.1' into 'release/v5.1'
...
cache: patch some rom cache api, rename those apis in ld (backport v5.1)
See merge request espressif/esp-idf!24289
2023-07-04 12:07:25 +08:00
Jiang Jiang Jian
27a5a6fcae
Merge branch 'bugfix/fix_esp32s3_psram_access_failed_in_dfs_v5.1' into 'release/v5.1'
...
esp_pm: fix esp32s3 psram access failed when dfs is enabled (backport v5.1)
See merge request espressif/esp-idf!24202
2023-07-04 12:06:42 +08:00
Jiang Jiang Jian
4647045388
Merge branch 'bugfix/support_esp326_xtal_xpd_v5.1' into 'release/v5.1'
...
esp32c6: support xtal xpd (backport v5.1)
See merge request espressif/esp-idf!24253
2023-07-04 12:04:51 +08:00
Island
d4bfed373e
Merge branch 'rebase/add_ble_version_support_for_c6_eco1' into 'release/v5.1'
...
ble:add version num support for esp32c6 chip v5.1
See merge request espressif/esp-idf!23610
2023-07-04 12:03:36 +08:00
Guillaume Souchere
8181da4fee
heap: remove exclusion of esp32h2 as a target for no/light/comprehensive_poisoning tests
2023-07-04 11:08:59 +08:00
morris
e70c174643
Merge branch 'contrib/github_pr_11405_v5.1' into 'release/v5.1'
...
Fix initialization macros for twai_timing_config_t not setting .clk_src and .brp (GitHub PR) (v5.1)
See merge request espressif/esp-idf!23983
2023-07-04 11:04:22 +08:00
morris
0e4c071519
Merge branch 'bugfix/fix_i2s_ll_cpp_compilation_failure_v5.1' into 'release/v5.1'
...
i2s: fixed i2s_ll compiling failure under C++ environment (v5.1)
See merge request espressif/esp-idf!24401
2023-07-04 11:03:35 +08:00
morris
934bdca370
Merge branch 'feature/add_log_when_mspi_timing_tuning_is_enabled_v5.1' into 'release/v5.1'
...
mspi: added timing tuning start, and success log (v5.1)
See merge request espressif/esp-idf!24053
2023-07-04 11:02:20 +08:00
Marius Vikhammer
ee91a42a33
ulp-system/ulp-fsm: clean up test cases
2023-07-04 02:59:15 +00:00
Marius Vikhammer
1bf26b2def
Merge branch 'bugfix/incorrect_time_after_ota_v5.1' into 'release/v5.1'
...
esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around (v5.1)
See merge request espressif/esp-idf!24408
2023-07-03 20:37:40 +08:00
Marius Vikhammer
0a3fc51ae0
Merge branch 'feature/esp_ipc_isr_fix_v5.1' into 'release/v5.1'
...
esp_system: Fix a race-condition in esp_ipc_isr (in QEMU env) (v5.1)
See merge request espressif/esp-idf!23991
2023-07-03 20:35:33 +08:00
Marius Vikhammer
7d72773d88
Merge branch 'bugfix/systick_loop_v5.1' into 'release/v5.1'
...
freertos: Fix Systick stuck when systimer was not reset (v5.1)
See merge request espressif/esp-idf!24321
2023-07-03 20:34:58 +08:00
cjin
3d181f5346
ble:add version num support for esp32c6 chip
2023-07-03 16:16:06 +08:00
morris
f963c7c009
Merge branch 'bugfix/vfs_uart_outof_bounds_read_v5.1' into 'release/v5.1'
...
vfs_uart: fix out-of-bounds read (v5.1)
See merge request espressif/esp-idf!24312
2023-07-03 16:13:06 +08:00
morris
4f0f317d54
Merge branch 'bugfix/mcpwm_legacy_typo_v5.1' into 'release/v5.1'
...
mcpwm: fix typo in backward compatible macro name (v5.1)
See merge request espressif/esp-idf!24227
2023-07-03 16:11:20 +08:00
Jackson Ming Hu
098e559d46
w5500: rework version check to avoid a false alarm on fault detection
...
See: https://github.com/espressif/esp-idf/issues/11331
2023-07-03 06:51:15 +00:00
morris
cacb45d450
Merge branch 'bugfix/coverity_scan_fix_driver_v5.1' into 'release/v5.1'
...
ADC: Fixed potential multiply overflow in the calibration code (v5.1)
See merge request espressif/esp-idf!24091
2023-07-03 13:40:22 +08:00
morris
a17bdbd3ef
Merge branch 'bugfix/rgb_pixel_copy_bpp8_v5.1' into 'release/v5.1'
...
rgb_lcd: Support LCD rotation for LCD whose pixel size is one byte (v5.1)
See merge request espressif/esp-idf!24208
2023-07-03 13:40:07 +08:00
Roshan Bangar
fb0cc7189a
NimBLE : Update macro name changes in nimble-1.5
2023-07-03 04:58:43 +00:00
Mahavir Jain
ec8268d863
fix(mbedtls): Build issue in dynamic buffer feature
...
Fix build issue in mbedTLS dynamic buffer feature with
`CONFIG_MBEDTLS_DHM_C` enabled case.
Closes https://github.com/espressif/esp-idf/issues/11770
2023-07-03 04:01:19 +00:00
cjin
1eb43094c5
phy: update phy enable/disable for h2 light sleep
2023-07-03 11:45:16 +08:00
cjin
06c6281add
ble: support esp32h2 modem clock selection
2023-07-03 11:45:16 +08:00
morris
c44624c056
Merge branch 'feature/esp_rom_update_cpu_freq_v5.1' into 'release/v5.1'
...
bootloader_support: add missing esp_rom_sys.h to bootloader_flash.c bootloader build (v5.1)
See merge request espressif/esp-idf!24014
2023-07-03 11:38:38 +08:00
Island
cd4845e431
Merge branch 'bugfix/fixed_ble_create_sync_fail_v5.1' into 'release/v5.1'
...
Bugfix/fixed ble create sync fail v5.1
See merge request espressif/esp-idf!24305
2023-07-03 10:59:49 +08:00
morris
952998aacd
Merge branch 'bugfix/spi_master_assert_failure_v5.1' into 'release/v5.1'
...
spi_master: fix the assertion on a NULL desired_dev (v5.1)
See merge request espressif/esp-idf!24004
2023-07-03 10:50:28 +08:00
Marius Vikhammer
423931c2fa
Merge branch 'bugfix/linux_heap_realloc_v5.1' into 'release/v5.1'
...
core-system/linux-target: fixed heap_caps_realloc not correctly allocating the... (v5.1)
See merge request espressif/esp-idf!23976
2023-07-03 10:31:40 +08:00
Island
61524a2675
Merge branch 'bugfix/esp32c2_slave_report_address_error_v5.1' into 'release/v5.1'
...
Bugfix/esp32c2 slave report address error v5.1
See merge request espressif/esp-idf!23923
2023-07-03 10:31:20 +08:00
Mahavir Jain
f34139e379
Merge branch 'support/esp_coredump_logs_config_v5.1' into 'release/v5.1'
...
Optionally disable logs in espcoredump component (v5.1)
See merge request espressif/esp-idf!24482
2023-07-02 22:04:59 +08:00
Mahavir Jain
0bf93134f4
Merge branch 'feature/anti_dpa_configuration_c6_h2_v5.1' into 'release/v5.1'
...
esp32c6/esp32h2: crypto: add support for DPA protection configuration (v5.1)
See merge request espressif/esp-idf!24128
2023-06-30 23:50:44 +08:00
Mahavir Jain
d93007b44a
Merge branch 'fix/xts_aes_register_prefix_discrepancy_c6_h2_v5.1' into 'release/v5.1'
...
fix: xts aes register prefix discrepancy for ESP32H2 and ESP32C6 (v5.1)
See merge request espressif/esp-idf!24263
2023-06-30 23:48:57 +08:00
Mahavir Jain
9bf3bfe85c
Merge branch 'bugfix/add_esp32h2_chip_id_v5.1' into 'release/v5.1'
...
Add ESP32-H2 chip id in `esp_chip_id_t` enum in esp_app_format.h header file (v5.1)
See merge request espressif/esp-idf!24111
2023-06-30 23:48:28 +08:00
Rahul Tank
633d072d05
Merge branch 'bugfix/expose_clear_all_wl_api_v5.1' into 'release/v5.1'
...
fix(Nimble): Expose API to clear all addresses in whitelist out of stack (v5.1)
See merge request espressif/esp-idf!24307
2023-06-30 22:10:04 +08:00
Adam Múdry
f84139451a
NVS: nvs_tool.py entry.data None check fix
2023-06-29 11:07:03 +02:00
Vikram
207ac93d43
Optionally disable logs in espcoredump component
...
Early log strings used by this component are placed in DRAM.
Disabling these logs saves ~5KB of internal memory
Signed-off-by: Vikram <vikram.dattu@espressif.com>
2023-06-29 11:50:48 +05:30
Jiang Jiang Jian
cbce221e88
Merge branch 'bugfix/mac_ext_order_for_c6_h2_v5.1' into 'release/v5.1'
...
efuse: Fix byte order in MAC_EXT (for C6 and H2) (v5.1)
See merge request espressif/esp-idf!23990
2023-06-28 17:33:53 +08:00
wuzhenghui
88289c3fda
bugfix: fix bootloader print wrong spi speed mode
2023-06-28 16:12:09 +08:00
wuzhenghui
171544ded4
bugfix: increase pm_dump time field width
...
Closes https://github.com/espressif/esp-idf/issues/11704
2023-06-28 14:37:27 +08:00
Ilia Lutchenko
0b7e61b95a
btc_sdp: add_raw_sdp: fix 32 and 128-bit uuid configuration
...
Added proper conversion of 4 and 16-byte UUIDs values to binary streams.
UUIDs now set with SDP_AddAttribute() instead of
SDP_AddServiceClassIdList().
2023-06-28 14:11:34 +08:00
wuzhenghui
afc889e934
esp_wifi: implement wifi_reset_mac_wrapper
2023-06-28 14:01:43 +08:00
wuzhenghui
2e5a194f62
esp_hw_support: add modem module mac reset api
2023-06-28 14:01:29 +08:00
wuzhenghui
981701755d
ci: fix failed ci test jobs
2023-06-28 13:55:26 +08:00
wuzhenghui
1c12743d44
sleep: enable sleep reject when entering deep sleep and return err if sleep request is rejected
2023-06-28 13:55:16 +08:00
KonstantinKondrashov
bb6d154f11
freertos: Fix Systick stuck when systimer was not reset
...
Relates to OTA update for C3/S3 chips from IDF version 4.3 to v5.0 and above
2023-06-26 12:21:28 +00:00
KonstantinKondrashov
6d0d2366f7
esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around
...
The commit fixes the case:
If variables in RTC RAM have been moved around by the linker,
they will be filled with garbage data. Any reset other than OTA would work fine
because the variables would still be initialized from the initial bootup.
So now system time will be valid even after OTA.
Closes https://github.com/espressif/esp-idf/issues/9448
2023-06-26 18:12:30 +08:00
laokaiyao
13e74d5573
i2s: fixed i2s_ll compiling failure under C++ evironment
...
Closes: https://github.com/espressif/esp-idf/issues/11625
2023-06-26 15:42:36 +08:00
morris
b615fd7f8f
touch_element: fix unintended integer division
2023-06-26 07:07:52 +00:00
morris
0e68d6fb29
usbh: fix invalid assert on desc_status
2023-06-26 07:07:52 +00:00
morris
641a07950d
vfs_uart: fix out-of-bounds read
...
when open uart device "/2" on chips only have 2 UART peripherals
2023-06-26 07:07:52 +00:00
xiaqilin
fc49f10bb4
ieee802154: fix multipan api error and update coex_arb_delay reg
2023-06-26 10:57:17 +08:00
zwl
503de45dd8
ble: Fixed the issue of occasional failure to create sync on ESP32-H2
2023-06-25 21:46:41 +08:00
zwl
5d00fd4d60
ble: Fixed the issue of occasional failure to create sync on ESP32-C6
2023-06-25 21:46:13 +08:00
wangmengyang
5fa5f7b2fe
component/docs: enable generation of API-reference documents for Bluetooth HID host
2023-06-25 15:37:41 +08:00
gongyantao
e5899f6a70
resolve the conflicts
2023-06-25 15:37:41 +08:00
Rahul Tank
a2daceb791
Nimble: Expose API to clear all addresses in whitelist out of stack
2023-06-25 10:13:39 +05:30
wanglei
4ba10243f4
cache: patch some rom cache api, rename those apis in ld
...
1. Cache_Count_Flash_Pages, fix this api return enexpected + 1
2. Cache_Suspend_I/DCache, add wait cache idle after suspend cache
3. Cache_Freeze_I/DCache_Enable, add wait cache idle after freeze
2023-06-19 10:53:51 +08:00
wuzhenghui
f0860ac590
ci: add access psram with DFS unity test
2023-06-19 10:21:46 +08:00
wuzhenghui
96a1de0af8
bugfix: use avaliable gpio for esp32s3 pm_trace
2023-06-19 10:21:46 +08:00
wuzhenghui
ad1605a464
bugfix: fix esp32s3 psram access failed when dfs is enabled
2023-06-19 10:21:42 +08:00
chenjianhua
b4dcd3bf21
Update bt-lib for esp32
...
1 Fixed disconnection delay on peripheral when slave latency is not zero
2 Fixed LLCP info init for central and peripheral
3 Fixed sent cmd status evt twice when process disconnect cmd
2023-06-16 11:06:12 +08:00
chenjianhua
db68d45702
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed crash when controller initialization fails due to insufficient memory
2023-06-16 11:05:49 +08:00
chenjianhua
3758e37024
bluedroid: fixed default extended connection params
2023-06-16 11:02:17 +08:00
chenjianhua
4001888e69
esp_hid: fixed ble hid battery level setting
2023-06-16 11:01:40 +08:00
Kapil Gupta
0602ed3b4c
esp_wifi: Remove direct call of malloc() and free()
2023-06-15 22:38:48 +05:30
muhaidong
b20922c6d5
esp_wifi: fix some txop issues
2023-06-15 22:38:44 +05:30
boarchuz
e707ad166d
fix ULP FSM reg ops with addr > 0xFF
2023-06-15 14:00:45 +02:00
harshal.patil
96767058df
esp32c6: xts-aes register preefix discrepency
2023-06-15 13:53:35 +05:30
harshal.patil
2fb7d32cd3
esp32h2: xts-aes register prefix discrepency
2023-06-15 13:53:35 +05:30
morris
896b382015
mcpwm: fix typo in backward compatible macro name
2023-06-15 10:58:15 +08:00
wuzhenghui
8aa7e85e31
sleep: Fix domain power down status cannot get updated accordingly with the allowance of retention in runtime
2023-06-15 10:26:59 +08:00
wuzhenghui
f0b6e8f37e
feature: support xtal_xpd pmu parameters
2023-06-15 10:22:33 +08:00
Euripedes Rocha
e1f2e656e2
ci: Migrate unit test for tcp_transport to unit test app
2023-06-14 16:01:00 +02:00
cjin
ec51060d45
pau: fix logic error in extra link retention
2023-06-13 21:06:29 +08:00
Li Shuai
ccd4ff2945
sleep retention: implement the extra linked list retention for modules with retention clock bugs
2023-06-13 21:05:36 +08:00
Li Shuai
ef4c0a7753
sleep retention: fix crash issue caused by destroying the module after the module node creation fails
2023-06-13 21:04:38 +08:00
morris
8b18591982
rgb_lcd: support pixel copy for 8bpp
...
Closes https://github.com/espressif/esp-idf/issues/11581
2023-06-13 18:21:21 +08:00
KonstantinKondrashov
e44a6888ea
mac_addr(C6 and H2): Fix byte order of MAC_EXT and change format of IEEE802154 MAC
...
The changes only related to C6 and H2 chips where CONFIG_SOC_IEEE802154_SUPPORTED=y.
For this case these APIs return 8 bytes
esp_efuse_mac_get_default() -> 8 bytes
esp_efuse_mac_get_custom() -> 8 bytes
esp_read_mac(..., ESP_MAC_IEEE802154) -> 8 bytes
The rest cases len is 6 bytes
2023-06-13 16:56:13 +08:00
Paul Guyot
ee7554c1c4
esp_system: Fix a race-condition in esp_ipc_isr (in QEMU env)
...
The race condition is very unlikely on real hardware but can be observed with
qemu under heavy load.
Also add missing `memw` instructions which are generated by the C compiler but
absent in the assembly code.
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
Signed-off-by: KonstantinKondrashov <konstantin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/11447
Closes https://github.com/espressif/esp-idf/issues/11433
2023-06-13 08:10:00 +00:00
morris
3d7f7c32e3
adc: fix out of bound read
...
when SOC_ADC_PERIPH_NUM==1, the adc_unit should only be assigned with 0
2023-06-12 15:19:17 +08:00
Armando
778a045e66
mspi: added timing tuning start, and success log
2023-06-12 11:49:05 +08:00
Kapil Gupta
7c2743f379
esp_wifi: Fix WPS issue for WPA3+WPA2 mode
2023-06-09 18:22:59 +05:30
Mahavir Jain
1764a0bd28
crypto: add support for DPA protection configuration in C6/H2
...
- Technical details covered in section "15.3.2 Anti-DPA Attack Security
Control" chapter of the ESP32-C6 TRM
- Default configuration sets the security level low for the DPA
protection
- This change applies to all the crypto peripherals where the clock
frequency is dynamically adjusted to create randomness in the power
consumption trajectory
- This configuration helps to make the SCA attacks difficult on the
crypto peripherals
2023-06-08 20:37:03 +05:30
zhangwenxu
ae86d26f7e
openthread: fix assert when parsing security key failed
2023-06-08 17:15:16 +08:00
Harshit Malpani
4866e7c6d0
Add ESP32-H2 chip id in esp_chip_id_t
enum in esp_app_format.h header file
2023-06-08 10:34:23 +05:30
Mahavir Jain
69bcbe97f4
aes: fix DMA descriptor calculation for the alignment case
...
The number of the DMA descriptors allocated for certain length (e.g.,
8176) were not sufficient (off by 1 error). This used to result in the
dynamic memory corruption as the region was modified beyond the
allocated range.
This change fixes the DMA descriptor calculation part and allocates
sufficient DMA descriptors based on the data length alignment considerations.
Test has also been added to cover the specific scenario in the CI.
Closes https://github.com/espressif/esp-idf/issues/11310
2023-06-07 04:29:32 +00:00
morris
f9cf8db97e
drivers: fix issue reported by coverity
2023-06-07 11:42:11 +08:00
morris
a9d12c0fe9
adc: fixed the issue that multiply overflow before type expand
2023-06-07 11:40:56 +08:00
Justin Ong
e74a2565e4
Fix initialization macros for twai_timing_config_t not setting .clk_src and .brp
2023-06-07 01:45:26 +00:00
Xu Si Yu
57e70c0d2c
IEEE802154: modification of the action when stop tx/rx ack
2023-06-05 17:56:01 +08:00
zwl
50d30f7ff1
esp_phy:Update phy lib for ESP32-C2
2023-06-05 16:49:48 +08:00
zwl
80f3ad1f1b
ble:fixed the issue that slave reports the wrong address for master when address resolution disable
2023-06-05 16:49:48 +08:00
Jiang Jiang Jian
4bc762621d
Merge branch 'bugfix/fix_bleqabr23_222_v5.1' into 'release/v5.1'
...
Revert "bluedroid: report disconnect event after BLE link closed" (backport 5.1)
See merge request espressif/esp-idf!24036
2023-06-03 08:43:09 +08:00
Jiang Jiang Jian
42592552b5
Merge branch 'feature/itwt_add_setup_timeout_timer_backport_v5.1' into 'release/v5.1'
...
esp_wifi: itwt add setup timeout timer to track response frame (backport v5.1)
See merge request espressif/esp-idf!24040
2023-06-03 08:40:41 +08:00
xuxiao
5a21bea309
esp_wifi: itwt add setup timeout timer to track response frame
2023-06-02 19:46:15 +08:00
Jiang Jiang Jian
cb88d20f9e
Merge branch 'bugfix/fix_wakeup_failed_if_powerdown_flash_in_lightsleep_v5.1' into 'release/v5.1'
...
Power Management: fixed flash funcs called in sleep wakeup process (backport v5.1)
See merge request espressif/esp-idf!24009
2023-06-02 19:18:36 +08:00
zhangyanjiao
d28cb4a954
esp_wifi:
...
1. mesh: layer2 node will scan all channels when fixed root leave
2. show warning info when setting max connection num for softAP
2023-06-02 17:27:28 +08:00
chenjianhua
c5e580e522
Revert "bluedroid: report disconnect event after BLE link closed"
...
This reverts commit d751960b27
.
2023-06-02 16:51:07 +08:00
wuzhenghui
03832dbd5e
bugfix: fix some flash funcs called in sleep wakeup process
2023-06-02 02:53:51 +00:00
Shreyas Sheth
e8d9104953
esp_wifi: Bugfix wpsreg AP not responding to assoc req
...
Fixed regression caused by 2b8e40e7
2023-06-01 15:36:54 +05:30
Almir Okato
4b20d27caf
bootloader_support: add missing esp_rom_sys.h to bootloader_flash.c bootloader build
...
Missing esp_rom_sys.h header could cause declaration issues.
Signed-off-by: Almir Okato <almir.okato@espressif.com>
2023-06-01 10:57:16 +08:00
morris
d5fb4ff7c8
esp_rom: add common ROM API to update CPU tick rate
2023-06-01 10:57:13 +08:00
morris
b845c66748
spi_master: fix the assertion on a NULL desired_dev
...
Closes https://github.com/espressif/esp-idf/issues/11536
2023-06-01 02:50:45 +00:00
Jakob Hasse
f4f45345ee
esp_hw_support: decrease RNG read frequency on C6 and H2
...
* The RNG reading frequency of 200 KHz has been too high for
C6 and H2 since on these chips the RNG output is combined
with the RTC slow clock which is only 150KHz. Reduced the max
reading frequency via esp_random() from 200KHz to 62.5KHz,
which show best results in tests.
Also updated the bootloader_fill_random() max frequency to the
same value to be in line, even though it was just 83KHz.
2023-05-31 16:16:25 +00:00
Aditya Patwardhan
7b09d12c89
Merge branch 'bugfix/efuse_summary_v5.1' into 'release/v5.1'
...
system-hardware/efuse: fixed efuse summary description containing ; breaking efuse-summary (v5.1)
See merge request espressif/esp-idf!23979
2023-05-31 22:57:37 +08:00
Michael (XIAO Xufeng)
30f8f83d52
Merge branch 'bugfix/add_warning_for_rc_fast_calibration_h2_v5.1' into 'release/v5.1'
...
clk: Add warning log if RC_FAST clock calibration is needed on esp32h2 (v5.1)
See merge request espressif/esp-idf!23935
2023-05-31 20:21:11 +08:00
Jiang Jiang Jian
5cd24826bb
Merge branch 'bugfix/fix_rc_fast_calibration_v5.1' into 'release/v5.1'
...
rtc_clk: fix esp32c6/esp32h2 eco chip `RC_FAST` bad calibration value (backport v5.1)
See merge request espressif/esp-idf!23940
2023-05-31 17:40:28 +08:00
Jiang Jiang Jian
0d13f6f09d
Merge branch 'bugfix/fix_hang_during_sleep_process_v5.1' into 'release/v5.1'
...
bugfix: fix hang on pd_top sleep process (backport v5.1)
See merge request espressif/esp-idf!23852
2023-05-31 17:40:02 +08:00
Marius Vikhammer
bb4218285b
system-hardware/efuse: fixed efuse summary description containing ; breaking efuse-summary
...
If the efuse description from esptool contained semi-colons it would be interpretted as
a list delimiter in CMake. Summary is now passed as in quotes to escape this behavior.
2023-05-30 14:07:50 +08:00
Marius Vikhammer
c337759e24
core-system/linux-target: fixed heap_caps_realloc not correctly allocating the requested number of bytes
...
Closes https://github.com/espressif/esp-idf/issues/11523
2023-05-30 13:27:46 +08:00
Ondrej Kosta
888e4339f9
esp_eth: fixed esp_eth_transmit_vargs to transmit only when link is up
...
esp_eth test: clear unicast Rx event before wait
2023-05-29 11:22:11 +00:00
Adam Múdry
3da76d4bd7
vfs: select sanity NULL check
...
https://github.com/espressif/esp-idf/issues/9964
2023-05-26 13:46:11 +02:00
Jiang Jiang Jian
ea5e0ff298
Merge branch 'backport/fix_matter_commissioning_ble_disconnect_issue' into 'release/v5.1'
...
openthread: Add some backports related to openthread(Backport v5.1)
See merge request espressif/esp-idf!23893
2023-05-26 15:37:14 +08:00
Jiang Jiang Jian
125d00c0f7
Merge branch 'feature/c6_bootloader_rng_v5.1' into 'release/v5.1'
...
Feature/c6 bootloader rng (v5.1)
See merge request espressif/esp-idf!23896
2023-05-26 15:36:45 +08:00
wuzhenghui
8c714acfb5
bugfix: fix rc_fast bad calibration value
2023-05-26 13:59:25 +08:00
Song Ruo Jing
702afbb0f7
clk: Add warning log if RC_FAST clock calibration is needed on esp32h2
2023-05-26 11:45:00 +08:00
Jakob Hasse
b0e2f33082
esp_hw_support/bootloader: made ESP32-C6 and ESP32-H2 RNG available
2023-05-24 09:43:21 +05:30
zhangwenxu
7eb9af5806
openthread: fix frame counter when re-transmition
2023-05-24 10:43:16 +08:00
zhangwenxu
2016bddbda
openthread: add kconfig for enabling mac filter
2023-05-24 10:42:52 +08:00
zhangwenxu
d9e289a5fb
esp_phy: updating lib phy to adapt the voltage changes
2023-05-24 10:35:39 +08:00
Jiang Jiang Jian
6ad6fb9755
Merge branch 'feature/update_ble_doc_for_esp32c6_esp32h2_v5.1' into 'release/v5.1'
...
ble docs: Update ble doc for esp32c6 and esp32h2
See merge request espressif/esp-idf!23801
2023-05-23 15:33:51 +08:00
Ivan Grokhotkov
aea087b793
vfs: VFS_MAX_COUNT should be non-zero even without IO support
2023-05-22 12:30:24 +02:00
Oliver Schmidt
de4e003256
Allow to config the maximum number of VFS entries.
2023-05-22 12:30:24 +02:00
Jiang Jiang Jian
9310ed608e
Merge branch 'contrib/github_pr_10532_v5.1' into 'release/v5.1'
...
[SDMMC Mount] fix infinite loop when SD card is not responsive (GitHub PR) (v5.1)
See merge request espressif/esp-idf!23527
2023-05-20 07:35:38 +08:00
Jiang Jiang Jian
057cf2b8ee
Merge branch 'bugfix/wifi_backport_v5.1' into 'release/v5.1'
...
esp_wifi: backport some wifi fixes to v5.1
See merge request espressif/esp-idf!23847
2023-05-20 07:34:41 +08:00
Zim Kalinowski
829fdd172c
Merge branch 'feature/add_support_for_lp_i2c_v5.1' into 'release/v5.1'
...
lp-i2c: Added support for LP I2C peripheral to LP core (v5.1)
See merge request espressif/esp-idf!23850
2023-05-20 04:38:59 +08:00
Jiang Jiang Jian
8cecbafe18
Merge branch 'bugfix/close_phy_tsens_before_sleep_v5.1' into 'release/v5.1'
...
sleep: fix deepsleep current leakage caused by phy_tsens (backport v5.1)
See merge request espressif/esp-idf!23843
2023-05-19 20:29:22 +08:00
Adam Múdry
6477500cf1
sdmmc: incrementally increase delay of vTaskDelay
...
Prevents unnecessary slowdown in polling functions
2023-05-19 14:01:43 +02:00
jasta
3ef8c77588
esp_dpp: Fix retry with esp_supp_dpp_start_listen after failure
...
This fixes a subtle bug in which ESP_ERR_DPP_TX_FAILURE errors would
call esp_supp_dpp_stop_listen which sets the s_dpp_stop_listening flag
to true. Subsequent attempts to restart listening with
esp_supp_dpp_start_listen then only attempt to listen once more for
500ms before reading the s_dpp_stop_listening flag again and giving up.
This contributes greatly to #10615 , but the fix here is still largely
a work-around as it sometimes requires manually retrying a couple times
before it works. Without this fix, any number of retries by
deinit/init again will seemingly not work as the retries for currently
unknown reasons.
Signed-off-by: Shreyas Sheth <shreyas.sheth@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/10865
2023-05-19 17:17:18 +08:00
jgujarathi
9aedb4bd83
wpa_supplicant : Fix scan results for GCMP and GCMP-256 cipher.
...
Add support for recognising GCMP and GCMP-256 ciphers if used by AP.
Update the scan example to show the correct cipher.
2023-05-19 16:58:51 +08:00
jgujarathi
576489f8cf
wpa_supplicant : Add MBO ie in probe request.
...
Adds the MBO information element in the probe request frame by resetting
scan_ie after set_config is done.
2023-05-19 16:58:40 +08:00
Jiang Jiang Jian
a32201f6ec
Merge branch 'bugfix/fix_compilation_error_optimization_v5.1' into 'release/v5.1'
...
Nimble: Fix compilation issues seen while enabling -O2 optimization (v5.1)
See merge request espressif/esp-idf!23717
2023-05-19 16:48:18 +08:00
Jiang Jiang Jian
774696285d
Merge branch 'bugfix/fix_lp_bod_if_bt_i154_init_phy_before_wifi_v5.1' into 'release/v5.1'
...
fix(phy): fix lp_bod reset if bt/i154 init phy before wifi
See merge request espressif/esp-idf!23831
2023-05-19 16:25:11 +08:00
Aditya Patwardhan
d345beb02a
Merge branch 'contrib/github_pr_11402_v5.1' into 'release/v5.1'
...
esp_ds: ignore releasing mutex if not called from same task (GitHub PR) (v5.1)
See merge request espressif/esp-idf!23840
2023-05-19 16:11:15 +08:00
wuzhenghui
eccb5318f9
Kconfig: add more help info for pm related options help
2023-05-19 13:51:29 +08:00
wuzhenghui
1df2dcc9fe
bugfix: treat too short sleep duration as sleep reject by software
2023-05-19 13:51:24 +08:00
wuzhenghui
00e777aff9
bugfix: fix pmp retention and add pma retention
2023-05-19 13:51:20 +08:00
Sudeep Mohanty
267c5e37a2
lp-i2c: Added support for LP I2C peripheral to LP core
...
This commit adds support for the LP I2C peripheral driver to be used by
the LP core. An example is also added to demonstrate the usage of the LP
I2C peripheral from the LP core.
2023-05-19 07:33:01 +02:00
Shyamal Khachane
2220a07ec1
1. Support NAN ifx for API's esp_wifi_internal_set_fix_rate and esp_wifi_set_protocol
...
2. Remove user configurable flag fsd_reqd from NAN publish config
3. Fix issue wherein NDL of previously cancelled service is obtained in peer record of new service with no NDL
2023-05-19 12:46:39 +08:00
xueyunfei
871bbdcec3
netdb:fixed bug for getaddrinfo returns null when IPV4 mapped address
...
Closes https://github.com/espressif/esp-idf/issues/9693
2023-05-19 12:26:07 +08:00
chenjianxing
050367ea37
esp_wifi: fix softap nvs <ssid,password,pmk> not match issue
...
Closes FCS-1196
2023-05-19 12:23:20 +08:00
Sarvesh Bodakhe
8bfb5c837e
esp_wifi: Fix tx_callback issue for ESP32C6
2023-05-19 12:19:54 +08:00
Sarvesh Bodakhe
7412d1a1a9
wpa_supplicant: Use 'mbedtls_pk_parse_public_key' to parse compressed EC public key and remove unnecessary code
...
Support to parse compressed EC public key is added from 'mbedtls-3.4.0'
2023-05-19 12:19:08 +08:00
Sarvesh Bodakhe
edf9f9eff7
esp-wifi: add station SAE-PK (Public Key) configuration note
2023-05-19 12:18:49 +08:00
wuzhenghui
fc5fe1132a
bugfix: close phy_tsens before deepsleep
2023-05-19 11:04:17 +08:00
Jiang Jiang Jian
ed32d7a267
Merge branch 'bugfix/move_adc_onshot_power_management_to_shot_read_func_v5.1' into 'release/v5.1'
...
Sleep: Fixed abnormal deepsleep base current of ULP ADC on esp32s2/esp32s3 chips (backport v5.1)
See merge request espressif/esp-idf!23828
2023-05-19 11:03:54 +08:00
Shen Weilong
0d12613ab9
ble docs: Update the ble docs for esp32c6 and esp32h2
2023-05-19 11:03:11 +08:00
Jiang Jiang Jian
cc7c851cb2
Merge branch 'feature/use_api_to_enable_modem_on_esp32h2_v5.1' into 'release/v5.1'
...
ble: use modem_clock api to set clocks on ESP32-H2
See merge request espressif/esp-idf!23806
2023-05-19 11:01:44 +08:00
Christoph Baechler
501c7d1101
esp_ds: ignore releasing mutex if not called from same task
2023-05-19 08:31:34 +05:30
Marius Vikhammer
19f300fa24
Merge branch 'bugfix/use_safe_noreturn_attr_v5.1' into 'release/v5.1'
...
compiler: replaced noreturn by __noreturn__ in header files (v5.1)
See merge request espressif/esp-idf!23811
2023-05-19 09:37:50 +08:00
liuning
bd0f9b8512
fix(phy): fix lp_bod reset if bt/i154 init phy before wifi
2023-05-18 20:57:57 +08:00
Island
43a67a5da3
Merge branch 'feature/esp32c2_enable_rf_temp_compensation_v5.1' into 'release/v5.1'
...
Feature/esp32c2 enable rf temp compensation v5.1
See merge request espressif/esp-idf!23730
2023-05-18 20:34:30 +08:00
wuzhenghui
ed076c2bc8
bugfix: move adc_oneshot_power_acquire/release to adc_oneshot_read
...
Closes https://github.com/espressif/esp-idf/issues/10595
Closes https://github.com/espressif/esp-idf/issues/11386
2023-05-18 20:08:47 +08:00
Jiang Jiang Jian
7fcba0fbf8
Merge branch 'bugfix/fix_some_ble_bug_v5.1' into 'release/v5.1'
...
Fixed some BLE bugs (backport v5.1)
See merge request espressif/esp-idf!23699
2023-05-18 20:08:25 +08:00
Jiang Jiang Jian
8b7cd4dc08
Merge branch 'bugfix/hfp_ag_idx_invalid_v5.1' into 'release/v5.1'
...
bt: Fixed out of bounds access due to variable length array(v5.1)
See merge request espressif/esp-idf!23665
2023-05-18 20:07:21 +08:00
Jiang Jiang Jian
5b4c95c50f
Merge branch 'bugfix/update_esp32c6eco1_sleep_fosc_cal_cycles_backport_v5.1' into 'release/v5.1'
...
bugfix: update esp32c6 eco1 fosc calibration cycles during sleep(backport v5.1)
See merge request espressif/esp-idf!23490
2023-05-18 19:52:05 +08:00
Shu Chen
79fab2eb92
Merge branch 'backport/fix_ieee802154_typo' into 'release/v5.1'
...
ieee802154: fix a typo in set_channel API(Backport v5.1)
See merge request espressif/esp-idf!23809
2023-05-18 17:07:06 +08:00
morris
f79088f115
Merge branch 'bugfix/add_len_check_per_spi_master_transaction_v5.1' into 'release/v5.1'
...
spi master: added transaction length check to refuse longer than hardware supported length (v5.1)
See merge request espressif/esp-idf!23747
2023-05-18 16:47:18 +08:00
Rahul Tank
38a1cfe59c
Nimble: Fix compilation issues seen while enabling -O2 optimization
2023-05-18 14:00:33 +05:30
morris
0814386710
Merge branch 'refactor/driver_ut_to_test_app_v5.1' into 'release/v5.1'
...
CI: Move all UT in driver to test_app(backport v5.1)
See merge request espressif/esp-idf!23708
2023-05-18 16:18:26 +08:00
Wang Meng Yang
e8dba711ff
Merge branch 'bugfix/fix_iphone_disconnects_immediately_after_connecting_when_BLE_wifi_coexist_v5.1' into 'release/v5.1'
...
Fix the bug that the iPhone disconnects immediately after connecting when BLE and wifi coexist(backport v5.1)
See merge request espressif/esp-idf!23786
2023-05-18 15:04:14 +08:00
Marius Vikhammer
9f7475dd98
Merge branch 'contrib/github_pr_11215_v5.1' into 'release/v5.1'
...
improve thread safety in esp_timer (GitHub PR) (v5.1)
See merge request espressif/esp-idf!23539
2023-05-18 13:06:46 +08:00
Jakob Hasse
a6cbf68991
compiler: replaced noreturn by __noreturn__ in header files
...
* noreturn may be replaced by third-party macros,
rendering it ineffective
* Closes https://github.com/espressif/esp-idf/issues/11339
2023-05-18 12:49:40 +08:00
Shu Chen
6ba1c6c44f
ieee802154: fix a typo in set_channel API
2023-05-18 10:39:51 +08:00
Shen Weilong
83ac726851
ble: use modem_clock api to set clock on ESP32-C6
2023-05-17 20:04:07 +08:00
Mahavir Jain
133e19d6ee
tests: update Root certificate for the test endpoints
...
Use Root certificate (`DigiCert Global Root G2`) for the
`dl.espressif.com` and `espressif.com` test endpoints.
This fixes the test failure introduced due to renewal of
the intermediate certificate.
2023-05-17 15:27:24 +05:30
Armando
8702e49057
spi: added an API to get max transaction length and use in spi lcd driver
2023-05-17 09:03:26 +00:00
Armando
4943844764
spi: added transaction length check to refuse longer than hardware supported length
2023-05-17 09:03:26 +00:00
Jiang Jiang Jian
0ed8499898
Merge branch 'bugfix/a2dp_source_crash_connect_to_Bose_speaker_v5.1' into 'release/v5.1'
...
Bugfix/a2dp source crash connect to bose speaker (v5.1)
See merge request espressif/esp-idf!23574
2023-05-17 15:10:34 +08:00
Jiang Jiang Jian
0122794a4e
Merge branch 'bugfix/deinit_ble_v5.1' into 'release/v5.1'
...
bugfix: deinit ble for specifies ESP_BT_MODE_BTDM (backport v5.1)
See merge request espressif/esp-idf!23068
2023-05-17 15:09:29 +08:00
Jiang Jiang Jian
c92ddbbf6f
Merge branch 'bugfix/reduce_logging_for_SAE' into 'release/v5.1'
...
Modify log level for SAE (Backport v5.1)
See merge request espressif/esp-idf!23547
2023-05-17 14:02:39 +08:00
Marius Vikhammer
b311a3ffc2
Merge branch 'contrib/github_pr_11388_v5.1' into 'release/v5.1'
...
Update esp_cpu.h to include esp_attr.h (GitHub PR) (v5.1)
See merge request espressif/esp-idf!23738
2023-05-17 09:24:38 +08:00
Marius Vikhammer
8adb48cbfd
Merge branch 'fix/console-build-error_v5.1' into 'release/v5.1'
...
console: Fix building issue when serial JTAG is set (v5.1)
See merge request espressif/esp-idf!23735
2023-05-17 08:39:03 +08:00
Marius Vikhammer
e86b8136bd
Merge branch 'bugfix/c2_wdt_reset_reason_v5.1' into 'release/v5.1'
...
wdt: fix IWDT reset reason for esp32c2 (v5.1)
See merge request espressif/esp-idf!23740
2023-05-17 08:38:45 +08:00
zhiweijian
9b73003628
Fix the bug that the iPhone disconnects immediately after connecting when BLE and wifi coexist
2023-05-16 17:54:06 +08:00
Roland Dobai
3bdbad6aa7
Merge branch 'feature/remove_coredump_tests_v5.1' into 'release/v5.1'
...
coredump: remove tests (moved to esp-coredump repo) (v5.1)
See merge request espressif/esp-idf!23767
2023-05-16 17:40:26 +08:00
Cao Sen Miao
df7a27e36d
CI: Move all UT in driver to test_app
2023-05-16 16:42:28 +08:00
Jiang Jiang Jian
b62cbebb81
Merge branch 'feature/expose_addr_resolv_out_stack_v5.1' into 'release/v5.1'
...
Nimble:Added change to expose addr resolution API outside stack (v5.1)
See merge request espressif/esp-idf!23491
2023-05-16 16:34:11 +08:00
zwl
c907f489d6
ble:fixed build error when disable smp
2023-05-16 16:08:54 +08:00
zwl
9b61156746
ble:esp32c2 add rf temperature compensation
2023-05-16 16:08:54 +08:00
Marius Vikhammer
b8bd147466
ci: re-enable reset reason tests for all targets except H2.
2023-05-16 05:22:07 +00:00
Marius Vikhammer
e0b91b748e
esp-system: fixed int WDT reset reason being reported as task WDT on C2
2023-05-16 05:22:07 +00:00
Alexey Lapshin
726ed144e4
coredump: remove tests (moved to esp-coredump repo)
2023-05-16 12:43:04 +08:00
Magnus Sörensen
accb45f466
Update esp_cpu.h
...
If esp_attr.h is not included then there are no definitions for the symbol 'FORCE_INLINE_ATTR'.
2023-05-16 04:37:17 +00:00
Guillaume Souchere
c5003e6220
console: Fix building issue when serial JTAG is set
...
Closes https://github.com/espressif/esp-idf/issues/10707
2023-05-16 04:37:09 +00:00
Shu Chen
96e1f6e7a2
Merge branch 'openthread/default_dnsserver_address_v5_1' into 'release/v5.1'
...
openthread: Add menuconfig to set the default dns server address(v5.1)
See merge request espressif/esp-idf!23757
2023-05-16 12:36:20 +08:00
Marius Vikhammer
d17ab36645
Merge branch 'feature/c6_ulp_timer_v5.1' into 'release/v5.1'
...
ulp: lp timer support for lp core (v5.1)
See merge request espressif/esp-idf!23659
2023-05-16 09:19:56 +08:00
WanqQixiang
a056e655d8
openthread: Add menuconfig to set the default dns server address
2023-05-15 19:30:14 +08:00
morris
aed737b351
Merge branch 'feature/efuse_settings_v5.1' into 'release/v5.1'
...
hal: Explicit setting of efuse time settings (v5.1)
See merge request espressif/esp-idf!23725
2023-05-15 19:16:30 +08:00
Zim Kalinowski
0edb7ee43a
Merge branch 'bugfix/ulp_i2c_timeout_config_v5.1' into 'release/v5.1'
...
ulp-riscv-i2c: Add ULP RISC-V I2C read/write timeout config option (v5.1)
See merge request espressif/esp-idf!23657
2023-05-15 16:03:15 +08:00
Zim Kalinowski
689db30956
Merge branch 'contrib/github_pr_11025_v5.1' into 'release/v5.1'
...
Enable support for C++23 in esp-idf (GitHub PR) (v5.1)
See merge request espressif/esp-idf!23421
2023-05-15 16:02:54 +08:00
Zim Kalinowski
59b6634a9a
Merge branch 'feature/add_missed_settings_for_bootloader_reserve_rtc_mem_for_c6_h2_v5.1' into 'release/v5.1'
...
esp_system (C6 & H2): Enables BOOTLOADER_RESERVE_RTC_MEM feature for bootloader (v5.1)
See merge request espressif/esp-idf!23402
2023-05-15 16:02:35 +08:00
morris
78d88afbef
Merge branch 'bugfix/i2c_timing_wrong_v5.1' into 'release/v5.1'
...
i2c: fix a bug in sda sample timing (backport v5.1)
See merge request espressif/esp-idf!23379
2023-05-15 10:47:35 +08:00
Michael (XIAO Xufeng)
b8365dced6
Merge branch 'Bugfix/fix_tsen_issue_v5.1' into 'release/v5.1'
...
Temperature sensor: fix return value issue @low temp on H2(backport v5.1)
See merge request espressif/esp-idf!23719
2023-05-15 10:46:11 +08:00
morris
b7199e88b7
Merge branch 'bugfix/mcpwm_bldc_example_v5.1' into 'release/v5.1'
...
mcpwm: test generator force level with dead time module (v5.1)
See merge request espressif/esp-idf!23714
2023-05-15 10:00:00 +08:00
KonstantinKondrashov
2165ff386e
hal: Explicit setting of efuse time settings
...
EFUSE_PWR_ON_NUM in C3 has default value = 0x2880, now = 0x3000
2023-05-12 21:42:38 +08:00
zlq
79a2cc224c
H2:fix temp sensor issue @low temp
2023-05-12 17:00:58 +08:00
Marius Vikhammer
e35897db33
Merge branch 'feature/heap-in-flash_v5.1' into 'release/v5.1'
...
heap: Add a configuration that places all the heap component in flash (v5.1)
See merge request espressif/esp-idf!23377
2023-05-12 15:57:31 +08:00
Yuan Mingfu
7e49268933
bugfix: deinit ble for specifies ESP_BT_MODE_BTDM
2023-05-12 14:53:56 +08:00
morris
a7021c3e44
mcpwm: fix bldc example force output level inverted
...
set_force_level can only set the generator level before the deadtime module.
if the deadtime module enables the inverter, then the real output level is inverted accordingly
2023-05-12 14:40:10 +08:00
morris
190e9e7212
Merge branch 'bugfix/fix_several_bugs_in_i2s_v5.1' into 'release/v5.1'
...
i2s: fix several bugs in std and tdm mode (v5.1)
See merge request espressif/esp-idf!23669
2023-05-12 11:05:34 +08:00
Marius Vikhammer
fc69e53e40
Merge branch 'ci/fix_system_invalid_kconfigs_v5.1' into 'release/v5.1'
...
ci: fix invalid kconfig options in system test apps (v5.1)
See merge request espressif/esp-idf!23660
2023-05-12 11:04:08 +08:00
morris
6f459d4ea8
Merge branch 'feature/reset_mcpwm_in_restart_v5.1' into 'release/v5.1'
...
mcpwm: reset peripheral in restart, panic and halt (v5.1)
See merge request espressif/esp-idf!23651
2023-05-12 10:12:58 +08:00
morris
1d89e24199
Merge branch 'bugfix/fix_mspi_octal_psram_timing_tuning_point_fallback_id_v5.1' into 'release/v5.1'
...
mspi: modified mspi 80mhz octal psram timing tuning point fallback id on s3 (v5.1)
See merge request espressif/esp-idf!23689
2023-05-11 21:24:44 +08:00
Jakob Hasse
2379ee36ab
cxx: gnu++23 -> gnu++2b for clang compatibility, added docs and test
...
* Using -std=gnu++2b now for both gcc and clang as clang
does not recognize gnu++23 yet
* Added a build test app to check the C++ standard in IDF
* Updated english docs to reflect the change to C++23
2023-05-11 17:48:38 +08:00
Marius Vikhammer
b1c85cc1d5
Merge branch 'contrib/github_pr_10895_v5.1' into 'release/v5.1'
...
Fix possible conversion errors by using __builtin_ffsll (GitHub PR) (v5.1)
See merge request espressif/esp-idf!23690
2023-05-11 16:45:44 +08:00
morris
cf5e2c3962
Merge branch 'doc/update_mcpwm_deadtime_v5.1' into 'release/v5.1'
...
MCPWM: don't allow to apply the same delay module to multiple generators (v5.1)
See merge request espressif/esp-idf!23663
2023-05-11 16:13:23 +08:00
chenjianhua
b77479df39
bluedroid: fix ble ext adv rand addr setting for NRPA
2023-05-11 14:36:39 +08:00
chenjianhua
ac42a8f2c7
bluedroid: fix ble adv data construct for device name
2023-05-11 14:36:39 +08:00
chenjianhua
e6f018a309
bluedroid: fix ble smp key distribution setting
2023-05-11 14:36:39 +08:00
chenjianhua
2afb56d189
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed remote mic error during encryption procedure
2023-05-11 14:36:39 +08:00
chenjianhua
d751960b27
bluedroid: report disconnect event after BLE link closed
2023-05-11 14:36:39 +08:00
xiongweichao
7ddb440384
bt: Deleted some redundant variables in HFP_AG
2023-05-11 06:09:06 +00:00
xiongweichao
a891aa7e4d
bt: Fixed the problem of out-of-bounds access caused by the variable-length array introduced in 3268075231
...
Closes https://github.com/espressif/esp-idf/issues/11264
2023-05-11 06:09:06 +00:00
xiongweichao
d3d73ed8b2
bt: Fixed codec mode error in ESP_HF_WBS_RESPONSE_EVT
2023-05-11 06:09:06 +00:00
Michael (XIAO Xufeng)
a498871111
Merge branch 'bugfix/fix_wrong_hp_ldo_h2_to_v5.1' into 'release/v5.1'
...
ESP32H2: Fix too low hp ldo dbias (v5.1)
See merge request espressif/esp-idf!23598
2023-05-11 11:59:26 +08:00
Jakob Hasse
48ab527148
cxx/esp_hw_support: added build test, changed parameter types
...
Changed rv_utils_intr_edge_ack and esp_cpu_intr_edge_ack to
take uint32_t instead of int to avoid build errors.
The test is to test in particular that __builtin_ffsll, used in
xt_utils.h, which is included via esp_cpu.h, compiles fine
in C++20 with -Wsign-conversion enabled.
Closes https://github.com/espressif/esp-idf/pull/10895
2023-05-11 11:16:45 +08:00
term_est
51a9057d9e
Fix possible conversion errors by using __builtin_ffsll instead of __builtin_ffs
...
Signed-off-by: term_est <62337595+term-est@users.noreply.github.com>
2023-05-11 11:16:45 +08:00
Armando
6ae2c3c240
mspi: modified mspi 80mhz octal psram timing tuning point fallback id on s3
2023-05-11 11:13:32 +08:00
Marius Vikhammer
6b0d93efd4
ci: misc fixes for newlib test app
...
Enabled additional tests for C2, added config for testing with newlib nano
as well as cleaned up old configs
2023-05-11 09:27:09 +08:00
Zim Kalinowski
d795abeb03
newlib: move test to pytest
2023-05-11 09:26:39 +08:00
Marius Vikhammer
eec03e6a32
Merge branch 'feature/freertos_add_create_task_with_caps_v5.1' into 'release/v5.1'
...
FreeRTOS: Add xTaskCreateWithCaps() (v5.1)
See merge request espressif/esp-idf!23382
2023-05-10 22:34:17 +08:00
Roland Dobai
2744e6ce07
Merge branch 'feature/refactor_gdbstub_v5.1' into 'release/v5.1'
...
esp_gdbstub: refactor code (v5.1)
See merge request espressif/esp-idf!23513
2023-05-10 19:11:39 +08:00
Darian Leung
ad5044c5f6
freertos: Add task creation with caps functions
...
This commit adds the corresponding CreateWithCaps functions for tasks:
- xTaskCreatePinnedToCoreWithCaps()
- xTaskCreateWithCaps()
- vTaskDeleteWithCaps()
Documentation and migraiton guide have been updated accordingly.
Closes https://github.com/espressif/esp-idf/issues/11216
2023-05-10 17:55:49 +08:00
Marius Vikhammer
4a35536244
Merge branch 'feature/freertos_get_static_buffers_v5.1' into 'release/v5.1'
...
FreeRTOS: Add GetStaticBuffer and CreateWithCaps functions (v5.1)
See merge request espressif/esp-idf!23381
2023-05-10 17:53:26 +08:00
Marius Vikhammer
670996f484
Merge branch 'bugfix/make_clean_files_v5.1' into 'release/v5.1'
...
build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES (v5.1)
See merge request espressif/esp-idf!23661
2023-05-10 13:46:56 +08:00
laokaiyao
653ba59b23
i2s_tdm: fixed half sample bit calculation and added check for slot mask
2023-05-10 12:34:14 +08:00
laokaiyao
319e0689a5
i2s_std: fixed mclk check for 24-bit data and enable left alignment as default
2023-05-10 12:32:38 +08:00
morris
6b86fc7ad7
Merge branch 'test/enlarge_gptimer_test_threshold_v5.1' into 'release/v5.1'
...
gptimer: enlarge test threshold (v5.1)
See merge request espressif/esp-idf!23622
2023-05-10 10:39:45 +08:00
morris
7b93cf91aa
mcpwm: can't apply the same delay module to multiple generators
...
This is a hardware limitation, one delay module can only be used by one generator at one time.
Closes https://github.com/espressif/esp-idf/issues/11327
2023-05-10 10:09:48 +08:00
Marius Vikhammer
63153794c9
build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES
...
ADDITIONAL_MAKE_CLEAN_FILES is deprecated and only worked with make.
Replaced with the new ADDITIONAL_CLEAN_FILES (CMake 3.15) which also works with ninja.
2023-05-10 09:53:55 +08:00
Marius Vikhammer
19a2e42770
ci: fix invalid kconfig options in system test apps
2023-05-10 09:42:12 +08:00
Marius Vikhammer
45fd8feba3
ulp: add support for using lp timer with lp core on C6
2023-05-10 09:39:24 +08:00
Sudeep Mohanty
08600cb1a3
ulp-riscv-i2c: Add ULP RISC-V I2C read/write timeout config option
...
The commit 88e4c06028
introduced a loop timeout for all ULP RISC-V I2C
transactions to avoid getting stuck in a forever loop. The loop timeout
was set to 500 msec by default. This commit improves on the concept by
making the loop timeout configurable via a Kconfig option in terms of
CPU ticks. If the timeout is set to -1 value then the transaction loops
will never timeout, therefore restoring the driver behavior before the
timeout was introduced.
The commit also updates the I2C Fast mode timings for esp32s2 which need
to be adjusted due to bus timing constraints.
Closes https://github.com/espressif/esp-idf/issues/11154
2023-05-09 15:07:50 +02:00
morris
236d601e98
mcpwm: reset peripheral in restart, panic and halt
...
mcpwm is commonly used in power eletronic area, when restart happens,
make sure the mcpwm generator is not working.
closes https://github.com/espressif/esp-idf/issues/11324
2023-05-09 18:30:46 +08:00
Sudeep Mohanty
ee18b19b8f
freertos-idf: Fixed incorrect scheduler suspension check in xTaskRemoveFromEventList()
...
This commit fixes a bug in xTaskRemoveFromEvenetList() where in the
check for scheduler suspension did not account for nested suspensions.
Additionally, this commit updates all checks for scheduler
suspension to follow a uniform way.
2023-05-09 12:25:09 +02:00
Wang Meng Yang
8a08cfe7d1
Merge branch 'bugfix/fix_own_addr_is_rap_random_err_v5.1' into 'release/v5.1'
...
Fixed no error report when own address type is rpa_random and no random address setting(backport v5.1)
See merge request espressif/esp-idf!23623
2023-05-08 20:20:53 +08:00
Darian Leung
3948949019
driver: Fix ana_cmpr negative enum comparison
...
The C17 standard (sec 6.7.2.2) indicates that the underlying type of an enum is
implementation defined (i.e., can be signed or unsigned). Thus, comparing
"-1 >= some_enum" where "some_enum" is always 0 or largert can return true if
the compiler uses unsigned for enums.
This commit fixes the following issues with ana_cmpr:
- Fixed incorrect comparison in ana_cmpr_del_unit() that relied on enums being
signed, thus would always return true.
- Fixed incorrect expected argument in the "ana_cmpr_unit_install_uninstall"
test. This was not picked up due to the incorrect enum comparison above.
2023-05-08 17:11:52 +08:00
zhiweijian
24cc2d714e
Fixed BLE disconnection failure on ESP32
2023-05-08 12:17:09 +08:00
zhiweijian
16696d98c1
Fixed battery profile wrong condition
2023-05-08 11:31:22 +08:00
zwj
daf2622a5b
Fixed no error report when own address type is rpa_random and no random address setting
2023-05-08 11:31:06 +08:00
morris
864f5532fa
gptimer: enlarge test threshold
2023-05-08 10:18:58 +08:00
Marius Vikhammer
d4a3427eaf
Merge branch 'bugfix/gdma_log_nano_v5.1' into 'release/v5.1'
...
gdma: fixed crash from logging when using newlib nano (v5.1)
See merge request espressif/esp-idf!23585
2023-05-08 10:13:55 +08:00
Marius Vikhammer
94d6614c88
Merge branch 'ci/fix_overwrite_pytest_configs_v5.1' into 'release/v5.1'
...
ci: fixed test apps overriding pytest configs (v5.1)
See merge request espressif/esp-idf!23495
2023-05-06 17:40:58 +08:00
Marius Vikhammer
46f104b3ae
gdma: fixed crash from logging when using newlib nano
...
Newlib nano printf formatting do not support %z, and will crash if such an identifier
is followed by a %s indentifier.
Closes https://github.com/espressif/esp-idf/issues/9631
2023-05-06 13:47:51 +08:00
morris
d12ad17373
rmt: check filter and idle threashold
...
Closes https://github.com/espressif/esp-idf/issues/11262
2023-05-05 19:07:59 +08:00
Jiang Jiang Jian
4db113a2eb
Merge branch 'bugfix/hf_cind_ind_index_v5.1' into 'release/v5.1'
...
bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator(v5.1)
See merge request espressif/esp-idf!23559
2023-05-05 18:47:45 +08:00
cje
78b9f5e151
fix too low hp ldo dbias bug for h2
2023-05-05 17:04:18 +08:00
Jin Cheng
8dbe966d89
fix a2dp source crash when connect to Bose speaker
2023-05-04 19:00:20 +08:00
Marius Vikhammer
38570b052b
pm: fix invalid trace pins for C6 and H2
2023-05-04 14:42:17 +08:00
Sonika Rathi
4477f3e559
bugfix: fix for fatfs "open("xx",O_CREAT|O_WRONLY,0666)" call failure
...
fatfs 'open' with only O_CREAT flag fails to creat new file
Closes https://github.com/espressif/esp-idf/issues/1817
2023-05-04 11:45:37 +05:30
xiongweichao
25e8069532
bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator.
...
Closes https://github.com/espressif/esp-idf/issues/6486
2023-05-04 14:08:30 +08:00
Shyamal Khachane
90e354a723
wpa_supplicant: Reduce logging for SAE
2023-05-04 11:23:55 +05:30
morris
2004bf4e11
Merge branch 'bugfix/rmt_one-wire_v5.1' into 'release/v5.1'
...
rmt_onewire: refactor example with component registry (v5.1)
See merge request espressif/esp-idf!23509
2023-05-04 13:32:18 +08:00
Omar Chebib
6b5b7f09f9
i2c: fix a bug in sda sample timing
...
* Closes https://github.com/espressif/esp-idf/issues/9777
This bug prevented SCL line to work properly after a NACK was received in master mode.
2023-05-04 12:14:43 +08:00
wuzhenghui
123da6baa7
bugfix: fix esp32c6eco1 fosc calibration cycles during sleep
2023-05-04 11:47:54 +08:00
Wang Meng Yang
b3b85cafb1
Merge branch 'bugfix/fix_ble_hop_sel_v5.1' into 'release/v5.1'
...
Fixed BLE connection failed to be established when disabled 5.0 feature (backport 5.1)
See merge request espressif/esp-idf!23530
2023-05-04 11:38:06 +08:00
Jiang Jiang Jian
e704f72356
Merge branch 'backport/ble_bugfix_5_1' into 'release/v5.1'
...
ble: [ESP32C6][ESP32H2][ESP32C2] updata libble
See merge request espressif/esp-idf!23523
2023-05-04 10:52:01 +08:00
morris
4f1fc73fc2
Merge branch 'bugfix/eth_driver_cleanup_v5.1' into 'release/v5.1'
...
Ethernet driver and documentation clean-up (v5.1)
See merge request espressif/esp-idf!23545
2023-05-04 10:05:25 +08:00
Ondrej Kosta
71d19fa9c9
Ethernet driver and documentation clean-up
2023-05-03 07:39:24 +00:00
Jens Gutermuth
07d1e19107
improve thread safety in esp_timer
...
Inadequate locking in the esp_timer component allowed corruption
of the s_timers linked list:
1. timer_armed(timer) returns false
2. another task arms the timer and adds it to s_timers
3. the list is locked
4. the timer is inserted into s_timers again
The last step results in a loop in the s_timers list, which causes
an infinite loop when iterated. This change always locks the
list before checking if the timer is already armed avoiding
the data race.
2023-05-02 20:22:24 +02:00
Ondrej Kosta
1042115566
esp_eth pytest: increased robustness of the L2 test
...
Added filtering frames based on MAC address
2023-05-02 10:25:58 +02:00
KonstantinKondrashov
5775e1d3b7
esp_system (C6 & H2): Enables BOOTLOADER_RESERVE_RTC_MEM feature for bootloader
...
This option reserves an area in RTC FAST memory for the following features:
- "Skip image validation when exiting deep sleep"
- "Reserve RTC FAST memory for custom purposes"
- "GPIO triggers factory reset"
2023-05-01 06:27:11 +00:00
Sachin Parekh
5fac5b0191
mbedtls/ecdsa: Add ECDSA signature generation test
2023-04-30 11:47:35 +05:30
Sachin Parekh
abc099ce9f
ecdsa: Support multiple ECDSA keys
...
Add provision to choose which efuse block should be used as ECDSA
private key
2023-04-30 11:47:35 +05:30
Sachin Parekh
174ef6c4a3
ecdsa_hal.c: Add missing configuration for signature generation
2023-04-30 11:47:35 +05:30
chenjianhua
89c06b3c51
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed ble hopping selection for connection when disabled 5.0 feature
2023-04-28 19:30:45 +08:00
Adam Múdry
62a5ad5fc1
sdmmc: add vTaskDelay to loops to prevent potential WDT trigger
...
Also change timeout to 120 seconds in fatfs sdcard pytest to prevent failing during formatting.
2023-04-28 12:39:08 +02:00
Chip Weinberger
c7ca30e62f
[SDMMC] add reasonable timeouts to all while loops
...
Closes: https://github.com/espressif/esp-idf/pull/10532
2023-04-28 12:39:06 +02:00
Chip Weinberger
6ff1059da7
[SDMMC Mount] fix infinite loop when SD card is not responsive
...
Closes: https://github.com/espressif/esp-idf/pull/10532
2023-04-28 12:37:27 +02:00
Shen Weilong
d6a1ccb27f
ble: [ESP32C6][ESP32H2][ESP32C2] updata libble
...
Fixed the occasional mic error caused by wrong tx cnt
Fixed the BLE connection timeout issue
2023-04-28 17:27:36 +08:00
zwl
e575e0b44a
Ble: bugfix for packet loss issue during connection on ESP32C6
2023-04-28 17:27:08 +08:00
morris
cbd210b431
Merge branch 'refactor/rename_to_esp_clk_tree_prefix_v5.1' into 'release/v5.1'
...
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx (v5.1)
See merge request espressif/esp-idf!23449
2023-04-28 17:11:46 +08:00
morris
14dac35540
rmt_onewire: refactor example with component manager
...
Closes https://github.com/espressif/esp-idf/issues/10790
2023-04-28 13:38:33 +08:00
Alexey Lapshin
71a19d238c
esp_gdbstub: refactor code
2023-04-28 12:38:26 +08:00
Jiang Jiang Jian
961018d882
Merge branch 'bugfix/pmkid_sha256_bug_v5.1' into 'release/v5.1'
...
wpa_supplicant: Fix PMKID SHA-256 related regression (Backport v5.1)
See merge request espressif/esp-idf!23494
2023-04-28 07:52:52 +08:00
Jiang Jiang Jian
c710a69952
Merge branch 'bugfix/fix_softap_pairwise_cipher_issue_v5.1' into 'release/v5.1'
...
esp_wifi: update pairwise cipher in softAP(Backport v5.1)
See merge request espressif/esp-idf!23503
2023-04-28 04:45:59 +08:00
Mahavir Jain
eeea0a7ea8
Merge branch 'feature/esp_tls_add_getter_setter_v5.1' into 'release/v5.1'
...
esp-tls: Added getter/setter function for the conn_state. (v5.1)
See merge request espressif/esp-idf!23408
2023-04-28 04:36:25 +08:00
Jiang Jiang Jian
9a58988bae
Merge branch 'test/removed_emmc_esp32_ut_v5.1' into 'release/v5.1'
...
emmc: removed esp32 emmc ut_017 (v5.1)
See merge request espressif/esp-idf!23485
2023-04-27 23:34:24 +08:00
Jiang Jiang Jian
d89db7e4a7
Merge branch 'feature/spi_hal_move_out_iram_v5.1' into 'release/v5.1'
...
spi: change linker file to move spi hal out from iram (v5.1)
See merge request espressif/esp-idf!23448
2023-04-27 23:31:16 +08:00
Jiang Jiang Jian
c0c9227883
Merge branch 'fix/sdio_sd_cards_not_detected_correctly_v5.1' into 'release/v5.1'
...
sdmmc: sdio combination cards correct setup (v5.1)
See merge request espressif/esp-idf!23478
2023-04-27 23:28:28 +08:00
Mahavir Jain
c49dce48eb
Merge branch 'fix/esp32s3_ununsed_dcache_as_dram_v5.1' into 'release/v5.1'
...
esp_hw_support: Update the memory ptr location/property checks to include the unused DCACHE added to DRAM (v5.1)
See merge request espressif/esp-idf!23303
2023-04-27 22:09:55 +08:00
Michael (XIAO Xufeng)
1a03cb02c2
Merge branch 'feature/support_fosc_calibration_c6_eco1_to_v5.1' into 'release/v5.1'
...
ESP32C6: Fix fosc calibration fail bug for ECO1 & Above (v5.1)
See merge request espressif/esp-idf!23467
2023-04-27 20:38:31 +08:00
muhaidong
193f581cec
esp_wifi: update pairwise cipher in softAP
2023-04-27 20:07:48 +08:00
muhaidong
f03e3c164e
esp_supplicant: When the softAP authentication mode is set to WPA2_PSK, WPA2_WPA3_PSK, or WPA3_PSK, the pairwise cipher will be overwritten with WIFI_CIPHER_TYPE_CCMP
2023-04-27 20:07:39 +08:00
muhaidong
8d383980a1
esp_supplicant: wpa pmf should be disabled
2023-04-27 20:07:30 +08:00
Song Ruo Jing
202b18b5fa
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx, add compilation warning to clk_tree.h
2023-04-27 11:11:18 +00:00
morris
3048251be0
Merge branch 'ci/pytest_case_tester_script_fix_v5.1' into 'release/v5.1'
...
ci: pytest automation script increase timeout time (v5.1)
See merge request espressif/esp-idf!23447
2023-04-27 17:35:51 +08:00
Marius Vikhammer
c35f7cad45
Merge branch 'feature/c6_ulp_sleep_v5.1' into 'release/v5.1'
...
ulp: added sleep support for lp core (v5.1)
See merge request espressif/esp-idf!23484
2023-04-27 17:07:24 +08:00
Jiang Jiang Jian
1b4e46428d
Merge branch 'bugfix/reject_tkip_in_owe_v5.1' into 'release/v5.1'
...
Reject TKIP cipher incase of OWE connection (Backport v5.1)
See merge request espressif/esp-idf!23462
2023-04-27 16:51:15 +08:00
Wang Meng Yang
5bba395bc8
Merge branch 'bugfix/wifi_prov_deinit_github_v5.1' into 'release/v5.1'
...
wifi_prov_mgr: Fixed memory leak after bluetooth stack was stopping. (v5.1)
See merge request espressif/esp-idf!23436
2023-04-27 16:33:53 +08:00
Jiang Jiang Jian
0e484e1daa
Merge branch 'feature/bt_uses_creationg_with_caps_functions_v5.1' into 'release/v5.1'
...
BT: Remove "create static" calls from OSI (v5.1)
See merge request espressif/esp-idf!23337
2023-04-27 16:06:10 +08:00
Shu Chen
0be6802198
Merge branch 'backport/ieee802154_open_src' into 'release/v5.1'
...
ieee802154: drive code open source (backport v5.1)
See merge request espressif/esp-idf!23461
2023-04-27 16:02:09 +08:00
Jiang Jiang Jian
9f80af3770
Merge branch 'bugfix/ble_mesh_fix_heartbeat_set_v5.1' into 'release/v5.1'
...
ble_mesh: stack: Update the heartbeat filter entry add/remove handling (v5.1)
See merge request espressif/esp-idf!23460
2023-04-27 14:38:27 +08:00
Jiang Jiang Jian
411c392d97
Merge branch 'feature/support_fosc_calibration_h2_eco2_to_v5.1' into 'release/v5.1'
...
ESP32H2: Fix fosc calibration fail bug for ECO2 & Above (v5.1)
See merge request espressif/esp-idf!23469
2023-04-27 14:38:01 +08:00
Marius Vikhammer
3724bf6256
ci: fixed test apps overriding pytest configs
2023-04-27 14:29:06 +08:00
Sarvesh Bodakhe
a64cbdea10
wpa_supplicant: Fix PMKID SHA-256 related regression
...
Fixed regression caused by commit 38e9c8b4
2023-04-27 11:35:20 +05:30
morris
2bc721739c
Merge branch 'bugfix/i2s_tdm_multi_dev_on_h2_v5.1' into 'release/v5.1'
...
i2s: fixed tdm multi dev test on h2 (v5.1)
See merge request espressif/esp-idf!23475
2023-04-27 13:20:03 +08:00
Rahul Tank
34e0ed613a
Nimble:Added change to expose addr resolution API outside stack
2023-04-27 10:33:47 +05:30
Shu Chen
7492e0a2c7
Merge branch 'support/backport_154_related_feature' into 'release/v5.1'
...
openthread: backport Thread related fixes (backport v5.1)
See merge request espressif/esp-idf!23427
2023-04-27 11:57:47 +08:00
zhangwenxu
ea65b1fefb
esp_phy: remove esp32h4 phylib
2023-04-27 11:28:12 +08:00
zhangwenxu
a33c60a36f
ieee802154: remove libieee802154.a for target esp32h4
2023-04-27 11:28:12 +08:00
zhangwenxu
3178718a3d
ieee802154: support driver opensrc
2023-04-27 11:27:57 +08:00
Marius Vikhammer
deedc51cf1
Merge branch 'ci/chip_support_network_invalid_kconfig_v5.1' into 'release/v5.1'
...
ci: remove redundent ci configs for chip support and network components (v5.1)
See merge request espressif/esp-idf!23471
2023-04-27 11:10:54 +08:00
Jiang Jiang Jian
46511c8fd1
Merge branch 'bugfix/fix_wrong_frame_ptr_after_wake_restore_backportv5.1' into 'release/v5.1'
...
bugfix: fix wrong RvCoreCriticalSleepFrame ptr value after wake restore (backport v5.1)
See merge request espressif/esp-idf!23473
2023-04-27 10:45:04 +08:00
Armando
96b3f52c4e
emmc: temporarily removed esp32 emmc ut_017
2023-04-27 10:30:38 +08:00
morris
2117b7a1dc
Merge branch 'contrib/github_pr_11113_v5.1' into 'release/v5.1'
...
Fix usb enumeration stage error for some device (GitHub PR) (v5.1)
See merge request espressif/esp-idf!23332
2023-04-27 10:12:12 +08:00
Jiang Jiang Jian
3ae079ac12
Merge branch 'bugfix/fix_duplicate_scan_cycle_refresh_not_accurate_v5.1' into 'release/v5.1'
...
Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32(backport v5.1)
See merge request espressif/esp-idf!23405
2023-04-27 10:02:17 +08:00
Marius Vikhammer
0bac174058
ulp: added sleep support for lp core
...
Added support for running LP core while hp core sleeps, as well
as waking up the hp core.
2023-04-27 09:51:41 +08:00
Shu Chen
856cfa4ae2
Merge branch 'refactor/remove_esp32h4_target_v5.1' into 'release/v5.1'
...
esp32h4: remove esp32h4 target (v5.1)
See merge request espressif/esp-idf!23422
2023-04-27 09:37:51 +08:00
Xu Si Yu
0d13dbbb1f
OpenThread border router: support border router to connect with SSED
2023-04-27 09:16:10 +08:00
Xu Si Yu
51c058d80f
ieee802154: increase the timeout for ieee802.15.4 CI test
2023-04-27 09:16:10 +08:00
xieqinan
aea120b98b
openthread: fix the spi conflict between ot-spinel and ethernet
2023-04-27 09:16:10 +08:00
zhangwenxu
7909394274
openthread: fix platform udp send rules for OT netif
2023-04-27 09:16:10 +08:00
Xu Si Yu
6bfa2b7078
openthread port: set ipv6 address zone with netif index when udp joining or leaving group
2023-04-27 09:16:10 +08:00
WanqQixiang
86a673946c
openthread: Add check for lock acquire and release
2023-04-27 09:16:10 +08:00
morris
aedcec9be5
Merge branch 'feature/emmc_example_v5.1' into 'release/v5.1'
...
SDMMC Host: added an example to communicate with an eMMC chip and also a bugfix for Host timing (v5.1)
See merge request espressif/esp-idf!23283
2023-04-26 22:41:15 +08:00
morris
934f0477a4
Merge branch 'bugfix/allow_no_specify_uart_clk_src_v5.1' into 'release/v5.1'
...
uart: Allow omitting source_clk parameter to uart_param_config (v5.1)
See merge request espressif/esp-idf!23451
2023-04-26 20:32:35 +08:00
Adam Múdry
934c2c3a58
sdmmc: sdio combination cards correct setup
...
Co-authored-by: Mau Abata <mauabata@gmail.com>
Closes https://github.com/espressif/esp-idf/issues/9822
Closes https://github.com/espressif/esp-idf/issues/10280
2023-04-26 13:27:59 +02:00
laokaiyao
0aad1efe15
i2s: fixed tdm multi dev test on h2
2023-04-26 18:55:36 +08:00
laokaiyao
87328d594f
esp32h4: checked all the corner stuffs of the removal
2023-04-26 18:53:12 +08:00
laokaiyao
954a6a2cff
esp32h4: removed esp32h4 related codes
2023-04-26 18:53:12 +08:00
laokaiyao
cae47ce37e
esp32h4: removed esp32h4 related files
2023-04-26 18:53:12 +08:00
laokaiyao
804a9ea1f6
esp32h4: remove esp32h4 target from peripherals
2023-04-26 18:53:10 +08:00
wuzhenghui
46deef434f
esp_pm: check sleep retention frame integrity in ci UT
2023-04-26 17:36:46 +08:00
wuzhenghui
5ccf93d788
bugfix: fix wrong RvCoreCriticalSleepFrame ptr value after wake restore
2023-04-26 17:36:42 +08:00
Marius Vikhammer
4c3c6b7f99
ci: remove redundent ci configs for chip support and network components
...
CI would build psram config test apps even for target with no psram.
2023-04-26 17:29:51 +08:00
hongshuqing
70fc0bde01
support h2 eco2 fosc calibration for v5.1
2023-04-26 17:08:09 +08:00
hongshuqing
1564884cc1
support c6 eco1 fosc calibration for v5.1
2023-04-26 16:32:28 +08:00
Shyamal Khachane
86226770b8
esp_wifi: Reject TKIP cipher incase of OWE connection
2023-04-26 12:10:33 +05:30
wangjialiang
e121775d6c
ble_mesh: stack: Update the heartbeat filter entry add/remove handling
2023-04-26 14:17:11 +08:00
morris
1b6461b9f8
Merge branch 'bugfix/bod_glitch_reset_c6_v5.1' into 'release/v5.1'
...
bootloader: fix BOD and glitch reset on C6 and H2 (v5.1)
See merge request espressif/esp-idf!23380
2023-04-26 13:09:32 +08:00
Laukik Hase
16f3317496
soc/esp32s3: Fix the SOC_MEM_INTERNAL_HIGH
value
...
- As per the memory block diagram for ESP32-S3, the
internal memory address ranges as follows:
DRAM: 0x3FC88000 (== SOC_MEM_INTERNAL_LOW) <-> 0x3FCF0000
IRAM: 0x40378000 <-> 0x403E0000 (== SOC_MEM_INTERNAL_HIGH)
2023-04-26 04:01:38 +00:00
Laukik Hase
3118120659
esp_hw_support: Update memory ptr location/property checks
...
- to acknowledge the unused DCACHE added to DRAM for ESP32-S3
- For ESP32-S3, when the DCACHE size is set to 16 kB, the unused 48 kB is added to
the heap in 2 blocks of 32 kB (from 0x3FCF0000) and 16 kB (from 0x3C000000).
- But, if we try allocating memory from the 16 kB block and run an `esp_ptr_internal`
check on that memory pointer, it fails as the address block from 0x3C000000
corresponds to the external memory symbols SOC_DROM_LOW and SOC_EXTRAM_DATA_LOW.
(E.g. freertos - If the IDLE task stack buffer gets allocated from this region,
the firmware will abort due to this failure).
- Thus, the checks `esp_ptr_internal`, `esp_ptr_in_drom` and `esp_ptr_byte_accessible`
have been updated to acknowledge this memory as a part of the DRAM.
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2023-04-26 04:01:38 +00:00
Michael (XIAO Xufeng)
cfcb57333b
Merge branch 'bugfix/fix_chip_broken_bug_in_monitor_mode_S2_v5.1' into 'release/v5.1'
...
ESP32S2/C3/C2: fixed S2 dangerous power parameters in sleep modes and support S2/C3/C2 different sleep mode (v5.1)
See merge request espressif/esp-idf!23378
2023-04-26 11:41:09 +08:00
Song Ruo Jing
24bfb8a8e5
uart: Allow the users to not specify the source_clk in uart_config_t when calling uart_param_config
2023-04-26 11:24:16 +08:00
wanlei
f61e219667
spi: change linker file let spi hal able to out from iram
2023-04-26 11:15:30 +08:00
wanlei
40b0dbae10
spi_flash: fix config SPI_FLASH_SHARE_SPI1_BUS dependency
2023-04-26 11:15:30 +08:00
wanlei
ee4e5c014a
sdio: test_sdio add unity sync signals
2023-04-26 11:11:59 +08:00
isha.pardikar@espressif.com
f6e0867eb8
wifi_prov_mgr: Fixed memory leak after bluetooth stack was stopping.
2023-04-25 15:48:09 +05:30
morris
30cc0769ac
Merge branch 'refactor/remove_esp_mm_kconfig_as_no_kconfig_option_now_v5.1' into 'release/v5.1'
...
esp_mm: removed empty kconfig files (v5.1)
See merge request espressif/esp-idf!23284
2023-04-25 17:52:35 +08:00
Jiang Jiang Jian
a0df46d342
Merge branch 'bugfix/wifi_backport_v5.1' into 'release/v5.1'
...
esp_wifi: backport some wifi fixes to v5.1
See merge request espressif/esp-idf!23389
2023-04-25 13:52:44 +08:00
Marius Vikhammer
92965cd124
Merge branch 'feature/sram1_iram_v5.1' into 'release/v5.1'
...
system: add kconfig option for using parts of SRAM1 for IRAM (v5.1)
See merge request espressif/esp-idf!23370
2023-04-25 11:35:08 +08:00
Mahavir Jain
8c11edb852
Merge branch 'feature/update_mbedtls_v5.1' into 'release/v5.1'
...
mbedtls: Update to release/v3.4.0 (v5.1)
See merge request espressif/esp-idf!23398
2023-04-25 11:04:44 +08:00
Marius Vikhammer
9d114e30b5
Merge branch 'feature/esp_sys_iram_cleanup_v5.1' into 'release/v5.1'
...
esp-system: move uncessary IRAM functions to flash (v5.1)
See merge request espressif/esp-idf!23376
2023-04-25 09:51:25 +08:00
Marius Vikhammer
e104fa1904
Merge branch 'bugfix/esp32_pico_v3_2_chip_info_v5.1' into 'release/v5.1'
...
system: fix esp32 chip info not listing esp32 pico v3-02 as having embedded spiram (v5.1)
See merge request espressif/esp-idf!23393
2023-04-25 09:46:25 +08:00
Guillaume Souchere
d7b344c97a
heap: Add a configuration that places all the heap component and related functionalities in flash when enabled
...
Add test configuration to run all tests with heap component in the flash.
Add reference to this new configuration in performance section of the documentation.
2023-04-25 01:12:10 +00:00
Aditya Patwardhan
e24e674e2f
esp-tls: Added getter/setter function for the conn_state.
...
* Added the setter function to set the connection sockfd value
Closes https://github.com/espressif/esp-idf/issues/10871
2023-04-24 14:49:26 +05:30
zwj
52ca53746f
Fixed disconnection due to consecutive CRC errors in first 6 intervals
2023-04-24 15:49:36 +08:00
zwj
a26449844f
Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32
2023-04-24 15:49:12 +08:00
harshal.patil
b8718506cd
mbedtls: fix ci failures for update v3.4.0
...
- While updating to mbedtls release/v3.4.0, building mbedtls/library/psa_crypto.c,
clang produced an unreachable-code warning, so added `-Wno-unreachable-code` compile option for clang.
- In `mbedtls/v3.4.0`, the ECDSA restartable sign and verify functions (`ecdsa.c`) were made public.
- But the `mbedtls_ecdsa_sign_det_restartable` function prototype was declared in the file `ecdsa.h`,
only when `MBEDTLS_ECDSA_SIGN_ALT` was not defined.
- added a patch in mbedtls library to fix it.
2023-04-24 11:56:56 +05:30
harshal.patil
0116dcb578
mbedtls: replace low-level sha apis with md apis in esp_ssl_tls
2023-04-24 11:56:56 +05:30
harshal.patil
3152dea192
mbedtls: Update config options as per release/v3.4.0
...
- Added a Kconfig option for the newly added mbedtls option MBEDTLS_PKCS7_C
2023-04-24 11:56:56 +05:30
harshal.patil
31e42e77de
mbedtls: Update to release/v3.4.0
...
- Release Notes: https://github.com/Mbed-TLS/mbedtls/releases/tag/v3.4.0
2023-04-24 11:56:56 +05:30
Roland Dobai
83a682ca1a
Merge branch 'monitor_win_color-v5.1' into 'release/v5.1'
...
bug(idf_monitor): fix color on windows with hints (v5.1)
See merge request espressif/esp-idf!23346
2023-04-24 14:00:05 +08:00
Marius Vikhammer
9ddd08c502
system: fix esp32 chip info not listing esp32 pico v3-02 as having embedded spiram
...
Closes https://github.com/espressif/esp-idf/issues/11233
2023-04-24 13:53:26 +08:00
Roland Dobai
4e73cb77e5
Merge branch 'esptool_extra-v5.1' into 'release/v5.1'
...
feat(esptool): allow to set force for write_flash (v5.1)
See merge request espressif/esp-idf!23338
2023-04-24 13:44:41 +08:00
Shreyas Sheth
f9ebbdf6ea
esp_wifi:Enable wpsreg to initialize in APSTA mode
2023-04-24 12:32:47 +08:00
xuxiao
39caffc592
esp_wifi: espnow support using 11ax rate to send frame
2023-04-24 12:32:27 +08:00
Shreyas Sheth
ce5444d349
esp_wifi: Bugfix store authmode security in NVS
2023-04-24 12:32:08 +08:00
Shreyas Sheth
79dabf50b0
esp_wifi: Install keys after successful transmission of EAPOL 4/4 Message
2023-04-24 12:31:21 +08:00
Shyamal Khachane
a4dbb3a0a1
esp_wifi: Update wifi libs
...
Fix some NAN issues related to followup and matching filters
2023-04-24 12:30:54 +08:00
xuxiao
8438887cb4
esp_wifi: update phy_init_data.h for c6 mcs 8 9 power issue
2023-04-24 12:30:30 +08:00
Sarvesh Bodakhe
7a410499f3
esp_wifi: Validate softap interface when sending beacon frame
2023-04-24 12:30:04 +08:00
zhangyanjiao
55d44e0bee
wifi_mesh: fix the heap corrupt issue in MTXON task
2023-04-24 12:29:19 +08:00
Jiang Jiang Jian
5736694dbc
Merge branch 'bugfix/adds_iram_attr_for_some_esp_timer_apis_v5.1' into 'release/v5.1'
...
esp_timer: Adds IRAM_ATTR for esp_timer_restart and esp_timer_is_active (v5.1)
See merge request espressif/esp-idf!23309
2023-04-24 11:48:02 +08:00
Armando
6102cfdd27
sdmmc: in/out phase adapted to esp32 and esp32s3
2023-04-24 03:45:29 +00:00
Ivan Grokhotkov
5b18007d92
sdmmc: I/O phase adjustments
...
1. Fix incorrect meaning of SDMMC.clock bits, synchronize the names
with the TRM.
2. Choose input and output phases to satisfy typical timing
requirements.
3. Move use_hold_reg setting into the host driver, since it is related
to timing.
Closes https://github.com/espressif/esp-idf/issues/8521
Related to https://github.com/espressif/esp-idf/issues/8257
2023-04-24 03:45:29 +00:00
Armando
a218144f4c
esp_mm: removed empty kconfig files
...
- MMU configuration related kconfig options will be in soc, or
esp_hw_support
- Cache configuration related kconfig options will be in soc, or
esp_hw_support
- mmap driver and msync driver kconfig options will be still in esp_mm.
As there's no kconfig options for them yet, removed kconfig files
2023-04-24 03:45:00 +00:00
Darian Leung
46fe70fb46
freertos: Add unit tests for ...WithCaps() functions
2023-04-24 11:44:46 +08:00
Darian Leung
c5fe3ec05d
freertos: Add wrapper functions to create objects with capabilities
...
This commit adds various ...WithCaps() functions to create FreeRTOS objects
with specific memory capabilities.
2023-04-24 11:44:46 +08:00
Darian Leung
3562cb8051
freertos: Add GetStaticBuffer functions
...
This commit adds the various ...GetStaticBuffer() functions from upstream
FreeRTOS. See https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/641 for more
details.
2023-04-24 11:44:46 +08:00
Darian Leung
7b41d6004a
freertos: Fix idf_additions.h include order error
...
When building for CONFIG_FREERTOS_SMP, "idf_additions.h" was previously
implicitly included by "task.h" so that other ESP-IDF components still have
access to IDF API additions without needing to include "idf_additions.h"
directly.
However, some FreeRTOS headers (e.g., queue.h) will include task.h before
declaring any types (e.g., QueueHandle_t). Thus if any of those types are used
in idf_additions.h, we get a missing type error.
This commit moves the implicity include of idf_additions.h to FreeRTOS.h
2023-04-24 11:44:46 +08:00
Xiao Xufeng
5c88e0d801
bootloader: enable super WDT and BOD reset on C2
2023-04-24 11:32:23 +08:00
Xiao Xufeng
c6559a9b64
bootloader: cleanup ana reset config code
2023-04-24 11:32:23 +08:00
Xiao Xufeng
ca3d871a21
bootloader: fixed super watchdog not enabled issue on C3, S3, H4
2023-04-24 11:32:23 +08:00
Xiao Xufeng
113e4dc520
bootloader: removed unavailable rtc features
2023-04-24 11:32:23 +08:00
Michael (XIAO Xufeng)
80315b77a0
bootloader: fix analog reset on C6 and H2
2023-04-24 11:32:23 +08:00
Jiang Jiang Jian
1644050652
Merge branch 'bugfix/fix_some_ble_bug_v5.1' into 'release/v5.1'
...
Fixed some BLE bugs (backport v5.1)
See merge request espressif/esp-idf!23324
2023-04-24 10:41:59 +08:00
Jiang Jiang Jian
a12e124410
Merge branch 'bugfix/bt_diable_enbale_crash_v5.1' into 'release/v5.1'
...
bt:Fixed esp32 controller bug (v5.1)
See merge request espressif/esp-idf!23365
2023-04-24 10:39:58 +08:00
Jiang Jiang Jian
36d6a927d1
Merge branch 'bugfix/fix_some_esp32c3_s3_ble_bugs_230422' into 'release/v5.1'
...
Fixed some ESP32C3/S3 BLE bugs 23-04-22(backport v5.1)
See merge request espressif/esp-idf!23353
2023-04-24 10:38:34 +08:00
cje
93eeb4265c
fix chip broken bug when run in monitor mode of S2 and modify voltage param to fit all sleep mode of S2/C2/C3
2023-04-24 10:37:57 +08:00
morris
f608431421
Merge branch 'bugfix/spi_lcd_max_trans_size_v5.1' into 'release/v5.1'
...
spi_lcd: maximum transfer size should respect bus configuration (v5.1)
See merge request espressif/esp-idf!23229
2023-04-24 10:31:51 +08:00
morris
21c536c563
Merge branch 'bugfix/lcd_align_before_cache_write_back_v5.1' into 'release/v5.1'
...
manually align the color buffer before cache write back (v5.1)
See merge request espressif/esp-idf!23243
2023-04-24 10:28:16 +08:00
Marius Vikhammer
de33225c31
riscv: moved some interrupt functions from IRAM to flash
...
These functions dont need to be in IRAM.
2023-04-24 10:27:31 +08:00