Jin Cheng
028d551101
Fixed the issue of alarm leak in A2DP
2023-06-21 15:35:14 +08:00
wuzhenghui
9600767d2a
bugfix: fix adc current leakage by sar_adc on v4.4
2023-06-21 14:08:25 +08:00
Jin Cheng
7837fd484e
Revised (e)SCO configuration parameter sets
2023-06-21 14:06:16 +08:00
Rahul Tank
6e8dd38cee
Nimble:Added change to expose addr resolution API outside stack_v4.4
2023-06-20 19:58:16 +05:30
Jiang Jiang Jian
efdd0859f6
Merge branch 'bugfix/fix_some_ble_bugs_v4.4' into 'release/v4.4'
...
Fixed some BLE bugs (backport v4.4)
See merge request espressif/esp-idf!24283
2023-06-20 19:12:41 +08:00
Jiang Jiang Jian
ebcb29bcf3
Merge branch 'bugfix/fix_esp32s3_psram_access_failed_in_dfs_v4.4' into 'release/v4.4'
...
esp_pm: fix esp32s3 psram access failed when dfs is enabled (backport v4.4)
See merge request espressif/esp-idf!24200
2023-06-20 17:43:07 +08:00
Wang Meng Yang
58544cfbca
Merge branch 'feature/add_ext_adv_instance_check_v4.4' into 'release/v4.4'
...
NimBLE: Added ble_gap_ext_adv_active() to check if extended advertising instance is active or not (v4.4)
See merge request espressif/esp-idf!23546
2023-06-20 17:36:02 +08:00
Jiang Jiang Jian
e0550972c0
Merge branch 'bugfix/fix_chip_broken_bug_in_monitor_mode_c3s2s3_to_v4.4' into 'release/v4.4'
...
ESP32S2/C3/S3: fixed S2 dangerous power parameters in sleep modes and support S2/C3/S3 different sleep mode(v4.4)
See merge request espressif/esp-idf!23758
2023-06-20 16:46:12 +08:00
Jiang Jiang Jian
13a2e49818
Merge branch 'bugfix/fix_Cache_Count_Flash_bug_v4.4' into 'release/v4.4'
...
cache: patch some rom cache api, rename those apis in ld (backport v4.4)
See merge request espressif/esp-idf!24293
2023-06-20 16:08:36 +08:00
KonstantinKondrashov
d479407339
freertos: Fix Systick stuck when systimer was not reset
...
Relates to OTA update for S3/C3 chips from IDF version 4.3 to v5.0 and above
2023-06-20 15:56:53 +08:00
Jiang Jiang Jian
167557829e
Merge branch 'bugfix/install_keys_after_successful_4_of_4_tx_v4.4' into 'release/v4.4'
...
esp_wifi: Install keys after successful transmission of EAPOL 4/4 Message(backport v4.4)
See merge request espressif/esp-idf!23620
2023-06-20 14:14:24 +08:00
morris
564e20dd6b
Merge branch 'refactor/improve_adc_power_maintanance_v4.4' into 'release/v4.4'
...
adc: improve power logic (v4.4)
See merge request espressif/esp-idf!23275
2023-06-20 10:52:46 +08:00
morris
a6b8788688
touch_element: fix unintended integer division
2023-06-20 10:47:06 +08:00
morris
c4cb13cfe7
usbh: fix invalid assert on desc_status
2023-06-20 10:47:06 +08:00
morris
be5fff2364
vfs_uart: fix out-of-bounds read
...
when open uart device "/2" on chips only have 2 UART peripherals
2023-06-20 10:47:06 +08:00
morris
ea9d916f2a
Merge branch 'fix/usb_wakeup_resume' into 'release/v4.4'
...
[USBD] Fix usb resume bug on esp32sx (v4.4)
See merge request espressif/esp-idf!23589
2023-06-19 17:39:18 +08:00
wanglei
c7d8e50fdb
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 15:55:37 +08:00
Shreyas Sheth
128aba4892
esp_wifi: Install keys after eapol and NVS store security values
...
1. Bugfix store authmode security in NVS
2. Install keys after successful transmission of EAPOL 4/4 Message
2023-06-18 02:48:15 +05:30
chenjianhua
b8e4f091f6
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 17:21:33 +08:00
chenjianhua
35a14bf383
bluedroid: fixed default extended connection params
2023-06-16 16:28:07 +08:00
chenjianhua
8bb9b95b54
esp_hid: fixed ble hid battery level setting
2023-06-16 16:28:00 +08:00
zhiweijian
6d59258519
Fixed BLE disconnection failure on ESP32
2023-06-16 16:26:52 +08:00
zwj
1728b49d7f
Fixed disconnection due to consecutive CRC errors in first 6 intervals
2023-06-16 16:26:44 +08:00
wuzhenghui
d04a723f9a
bugfix: use avaliable gpio for esp32s3 pm_trace
2023-06-15 14:15:05 +08:00
wuzhenghui
82bcd4dc7f
bugfix: fix esp32s3 psram access failed when dfs is enabled
2023-06-15 14:15:01 +08:00
morris
2dfabd02a9
Merge branch 'bugfix/mcpwm_legacy_typo_v4.4' into 'release/v4.4'
...
mcpwm: fix typo in backward compatible macro name (v4.4)
See merge request espressif/esp-idf!24229
2023-06-15 10:13:04 +08:00
Aditya Patwardhan
6afa8e4347
Merge branch 'bugfix/aes_dma_align_issue_v4.4' into 'release/v4.4'
...
aes: fix DMA descriptor calculation for the alignment case (v4.4)
See merge request espressif/esp-idf!24095
2023-06-14 16:55:42 +08:00
morris
5ef69e8a63
mcpwm: fix typo in backward compatible macro name
2023-06-14 11:40:40 +08:00
David Čermák
b96c98accf
Merge branch 'bugfix/eth_lan8720_ci_v4.4' into 'release/v4.4'
...
esp_eth: start/stop and L2 test stability improvements (v4.4)
See merge request espressif/esp-idf!22322
2023-06-13 16:42:07 +08:00
Jiang Jiang Jian
a843cdebea
Merge branch 'bugfix/fix_wps_with_sae_enabled_ap_v4.4' into 'release/v4.4'
...
esp_wifi: Fix WPS issue for WPA3+WPA2 mode(v4.4)
See merge request espressif/esp-idf!24156
2023-06-13 16:06:49 +08:00
Jiang Jiang Jian
aca729aea6
Merge branch 'bugfix/fix_blufi_compilation_issue_v4.4' into 'release/v4.4'
...
Blufi: Fixed compilation issue in blufi for nimble(v4.4)
See merge request espressif/esp-idf!24021
2023-06-13 10:56:21 +08:00
Jiang Jiang Jian
3d743d525c
Merge branch 'feature/efuse_settings_v4.4' into 'release/v4.4'
...
hal: Explicit setting of efuse time settings (v4.4)
See merge request espressif/esp-idf!23727
2023-06-13 10:53:35 +08:00
morris
abb204fa89
Merge branch 'feature/add_log_when_mspi_timing_tuning_is_enabled_v4.4' into 'release/v4.4'
...
mspi: added timing tuning start, and success log (v4.4)
See merge request espressif/esp-idf!24055
2023-06-13 10:30:04 +08:00
Aditya Patwardhan
5d38b0238c
Merge branch 'contrib/github_pr_11402_v4.4' into 'release/v4.4'
...
esp_ds: ignore releasing mutex if not called from same task (GitHub PR) (v4.4)
See merge request espressif/esp-idf!23842
2023-06-13 01:21:13 +08:00
Ivan Grokhotkov
8bbe92ed90
Merge branch 'bugfix/usb_serial_jtag_select_poll_crash_v4.4' into 'release/v4.4'
...
vfs: select sanity NULL check (v4.4)
See merge request espressif/esp-idf!23948
2023-06-12 19:22:07 +08:00
Ivan Grokhotkov
4b05ffb03e
Merge branch 'fix/sdio_sd_cards_not_detected_correctly_v4.4' into 'release/v4.4'
...
sdmmc: sdio combination cards correct setup (v4.4)
See merge request espressif/esp-idf!23480
2023-06-12 19:21:33 +08:00
Armando
00bd59dc68
mspi: added timing tuning start, and success log
2023-06-12 16:12:20 +08:00
morris
f1ba6ced19
Merge branch 'bugfix/fix_mspi_octal_psram_timing_tuning_point_fallback_id_v4.4' into 'release/v4.4'
...
mspi: modified mspi 80mhz octal psram timing tuning point fallback id on s3 (v4.4)
See merge request espressif/esp-idf!23693
2023-06-12 10:50:12 +08:00
morris
d9d5327dfa
Merge branch 'bugfix/add_len_check_per_spi_master_transaction_v4.4' into 'release/v4.4'
...
spi master: added transaction length check to refuse longer than hardware supported length (v4.4)
See merge request espressif/esp-idf!23749
2023-06-12 10:47:59 +08:00
Kapil Gupta
f46518e42e
esp_wifi: Fix WPS issue for WPA3+WPA2 mode
2023-06-09 18:06:56 +05:30
Jiang Jiang Jian
ad08d94ed3
Merge branch 'bugfix/nvs_softap_pmk_v4.4' into 'release/v4.4'
...
esp_wifi: fix softap nvs <ssid,password,pmk> not matching issue(v4.4)
See merge request espressif/esp-idf!23820
2023-06-09 19:45:28 +08:00
Rahul Tank
b7e5be07de
Blufi: Fixed compilation issue in blufi for nimble
2023-06-09 17:10:35 +05:30
Jiang Jiang Jian
7053e483ea
Merge branch 'feature/add_bluetooth_nimble_lightsleep_example_v4.4' into 'release/v4.4'
...
bt: Added an example of Bluetooth using light sleep(v4.4)
See merge request espressif/esp-idf!23694
2023-06-09 19:20:31 +08:00
Jiang Jiang Jian
b4c06edfd6
Merge branch 'bugfix/fix_bleqabr23_250_v4.4' into 'release/v4.4'
...
Fixed crash when controller initialization fails due to insufficient memory (backport 4.4)
See merge request espressif/esp-idf!24090
2023-06-09 19:19:28 +08:00
Jiang Jiang Jian
4a4fea5746
Merge branch 'bugfix/hfp_ag_idx_invalid_v4.4' into 'release/v4.4'
...
bt: Fixed out of bounds access due to variable length array(v4.4)
See merge request espressif/esp-idf!23667
2023-06-09 19:18:58 +08:00
Jiang Jiang Jian
ff4ae8df34
Merge branch 'bugfix/hf_cind_ind_index_v4.4' into 'release/v4.4'
...
bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator(v4.4)
See merge request espressif/esp-idf!23562
2023-06-09 19:18:16 +08:00
Jiang Jiang Jian
4462c00107
Merge branch 'bugfix/a2dp_source_crash_connect_to_Bose_speaker_v4.4' into 'release/v4.4'
...
Bugfix/a2dp source crash connect to bose speaker (v4.4)
See merge request espressif/esp-idf!23350
2023-06-09 19:17:10 +08:00
Jiang Jiang Jian
c125f0a9f3
Merge branch 'bugfix/mbo_ie_absent_prob_req_v44' into 'release/v4.4'
...
wpa_supplicant : Add MBO ie in probe request.(backport v4.4)
See merge request espressif/esp-idf!24099
2023-06-09 19:16:46 +08:00
Jiang Jiang Jian
bc05c74022
Merge branch 'bugfix/dpp_retry_start_listening_issue_v4.4' into 'release/v4.4'
...
esp_dpp: Fix retry with esp_supp_dpp_start_listen after failure (v4.4)
See merge request espressif/esp-idf!23596
2023-06-09 19:15:45 +08:00
Jiang Jiang Jian
5fb50f6848
Merge branch 'bugfix/fix_wakeup_failed_if_powerdown_flash_in_lightsleep_v4.4' into 'release/v4.4'
...
Power Management: fixed flash funcs called in sleep wakeup process (backport v4.4)
See merge request espressif/esp-idf!24007
2023-06-09 19:14:37 +08:00
Jiang Jiang Jian
2771f0cb0b
Merge branch 'bugfix/close_phy_tsens_before_sleep_v4.4' into 'release/v4.4'
...
sleep: fix deepsleep current leakage caused by phy_tsens (backport v4.4)
See merge request espressif/esp-idf!23908
2023-06-09 19:13:50 +08:00
Jiang Jiang Jian
72007647cd
Merge branch 'feature/example_deep_sleep_wake_stub_backport_v4.4' into 'release/v4.4'
...
example: add deepsleep_wake stub example (backport v4.4)
See merge request espressif/esp-idf!23360
2023-06-09 19:11:20 +08:00
Jiang Jiang Jian
f583d58779
Merge branch 'bugfix/fix_reduce_phy_tx_power_when_brownout_reset_invisible_issue' into 'release/v4.4'
...
fix reduce phy tx power when brownout reset invisible issue
See merge request espressif/esp-idf!23359
2023-06-09 12:04:39 +08:00
Jiang Jiang Jian
e6df66522a
Merge branch 'feature/usb_host_interface_claim_debug_info_v4.4' into 'release/v4.4'
...
USB Host: better debugging information during usb_host_interface_claim() (backport v4.4)
See merge request espressif/esp-idf!23445
2023-06-09 12:02:59 +08:00
Jiang Jiang Jian
61a0c12c29
Merge branch 'lwip/dhcp_fine_tmr_bug_fix_backport' into 'release/v4.4'
...
lwip/dhcp: Fixed ondemand fine timers leakage bug (v4.4)
See merge request espressif/esp-idf!23315
2023-06-09 12:01:44 +08:00
morris
3f0ccda84e
Merge branch 'contrib/github_pr_11113_v4.4' into 'release/v4.4'
...
Fix usb enumeration stage error for some device (GitHub PR) (v4.4)
See merge request espressif/esp-idf!23334
2023-06-08 18:00:27 +08:00
Marius Vikhammer
3cba50e0a1
Merge branch 'contrib/github_pr_11215_v4.4' into 'release/v4.4'
...
improve thread safety in esp_timer (GitHub PR) (v4.4)
See merge request espressif/esp-idf!23541
2023-06-08 16:00:14 +08:00
Marius Vikhammer
63dfda0446
Merge branch 'bugfix/esp32_pico_v3_2_chip_info_v4.4' into 'release/v4.4'
...
system: fix esp32 chip info not listing esp32 pico v3-02 as having embedded spiram (v4.4)
See merge request espressif/esp-idf!23395
2023-06-08 15:56:43 +08:00
Marius Vikhammer
92549f53a9
Merge branch 'bugfix/gdma_log_nano_v4.4' into 'release/v4.4'
...
gdma: fixed crash from logging when using newlib nano (v4.4)
See merge request espressif/esp-idf!23587
2023-06-08 15:55:08 +08:00
Roland Dobai
5313760492
Merge branch 'feature/remove_coredump_tests_v4.4' into 'release/v4.4'
...
coredump: remove tests (moved to esp-coredump repo) (v4.4)
See merge request espressif/esp-idf!23769
2023-06-08 15:52:15 +08:00
Marius Vikhammer
ac5d805d0e
versions: Update version to 4.4.5
2023-06-08 10:16:36 +08:00
jgujarathi
62b672158a
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-06-07 10:22:03 +05:30
jgujarathi
2f630f5e91
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-06-07 10:21:52 +05:30
Mahavir Jain
98c53234fc
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 09:20:20 +05:30
chenjianhua
3c606bf79c
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed crash when controller initialization fails due to insufficient memory
2023-06-07 11:19:38 +08:00
wuzhenghui
2566e78e03
bugfix: fix wakeup failed if powerdown flash in lightsleep
2023-05-31 19:23:16 +08:00
Paul Guyot
bf8f867522
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-05-30 23:04:31 +08:00
xiongweichao
0ba101dfac
ble: Fixed bluetooth can only use main XTAL as low power clock source due to configuration on ESP32S3
2023-05-30 20:27:06 +08:00
Adam Múdry
da823eddf5
vfs: select sanity NULL check
...
https://github.com/espressif/esp-idf/issues/9964
2023-05-26 13:46:40 +02:00
zhiweijian
c76c6508a1
Fixed battery profile wrong condition
2023-05-25 10:46:12 +00:00
zwj
ecc2cc1be0
Fixed no error report when own address type is rpa_random and no random address setting
2023-05-25 10:46:12 +00:00
chenjianhua
31166e0884
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed remote mic error during encryption procedure
2023-05-25 10:46:12 +00:00
chenjianhua
1ddc3a1d5c
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed ble hopping selection for connection when disabled 5.0 feature
2023-05-25 10:46:12 +00:00
zhiweijian
f886e3c057
Disable controller 5.0 feature bits if host 5.0 feature is not enabled
2023-05-25 10:46:12 +00:00
zwj
509fedeed0
improve scan performance when scan and sync coexist on ESP32-C3 and ESP32-S3
2023-05-25 10:46:12 +00:00
chenjianhua
bd77f3d436
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed non-connectable and non-scannable directed adv can't be scanned
2023-05-25 10:46:12 +00:00
wuzhenghui
d33c693cfa
bugfix: close phy_tsens before deepsleep
2023-05-25 12:05:54 +08:00
Armando
d915304189
mspi: modified mspi 80mhz octal psram timing tuning point fallback id on s3
2023-05-19 09:30:37 +00:00
Armando
61ecbb44a5
spi: added an API to get max transaction length and use in spi lcd driver
2023-05-19 09:30:06 +00:00
Armando
4e67ea0fe3
spi: added transaction length check to refuse longer than hardware supported length
2023-05-19 09:30:06 +00:00
Christoph Baechler
d007b0ebb2
esp_ds: ignore releasing mutex if not called from same task
2023-05-19 08:32:00 +05:30
Jiang Jiang Jian
c25d92074e
Merge branch 'bugfix/update_test_dl_esp_cert_v4.4' into 'release/v4.4'
...
tests: update Root certificate for the test endpoints (v4.4)
See merge request espressif/esp-idf!23799
2023-05-18 19:32:43 +08:00
chenjianxing
28fa2f88a1
esp_wifi: fix softap nvs <ssid,password,pmk> not matching issue
2023-05-18 15:50:41 +08:00
zhiweijian
239d74be65
Fix the bug that the iPhone disconnects immediately after connecting when BLE and wifi coexist
2023-05-17 18:05:49 +08:00
Mahavir Jain
1d61e300ac
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:28:46 +05:30
Alexey Lapshin
c1445ff243
coredump: remove tests (moved to esp-coredump repo)
2023-05-16 13:04:27 +08:00
hongshuqing
066a1ac0ac
fix chip broken bug in monitor mode c3s2s3 to v4.4
2023-05-15 19:36:25 +08:00
KonstantinKondrashov
daba1560a6
hal: Explicit setting of efuse time settings
...
EFUSE_PWR_ON_NUM in C3 has default value = 0x2880, now = 0x3000
2023-05-13 00:06:35 +08:00
KonstantinKondrashov
1b608a1c07
esp_system: Do not rely on bootloader cache settings, do cache settings unconditionally at startup app
...
It makes multicore app runnable by unicore bootloader
Closes https://github.com/espressif/esp-idf/issues/10714
2023-05-11 06:07:19 +00:00
KonstantinKondrashov
42a6b47aa8
hal: Adds cache hal
2023-05-11 06:07:19 +00:00
xiongweichao
f3b2e22d74
bt: Deleted some redundant variables in HFP_AG
2023-05-10 10:24:54 +08:00
xiongweichao
074f0ad41c
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-10 10:24:50 +08:00
xiongweichao
e3263ad608
bt: Fixed codec mode error in ESP_HF_WBS_RESPONSE_EVT
2023-05-10 10:24:45 +08:00
Marius Vikhammer
e0e913839f
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:49:31 +08:00
jasta
4353014715
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-05 14:21:20 +05:30
muhaidong
76540defc1
fix reduce phy tx power when brownout reset invisible issue
...
Closes https://github.com/espressif/esp-idf/issues/11252
2023-05-04 21:52:42 +08:00
xiongweichao
017517b804
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:16:12 +08:00
isha.pardikar@espressif.com
04798f62ab
NimBLE: Added ble_gap_ext_adv_active() to check if extended advertising instance is active or not.
2023-05-03 14:44:28 +05:30
Jens Gutermuth
9fa30d44f3
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:51 +02:00
paul356
bb3c971e99
fix usb resume bug on esp32sx
2023-04-27 10:47:46 +08:00
Adam Múdry
2928cbf7ec
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:28:20 +02:00
Roman Leonov
8a311cf8ad
usb_host: better debugging information during hcd_pipe_alloc() when usb_host_interface_claim() is being fulfiled.
2023-04-25 12:52:45 +02:00
Armando
2a0a4fadd9
sar: init sar periph power state
2023-04-25 14:03:29 +08:00
Abhik Roy
c781fda86f
lwip/dhcp: Fixed ondemand fine timers leakage bug.
...
Fixed ondemand fine timers bug, that allowed
only one dhcp client to run at a time without issue.
2023-04-24 18:09:59 +10:00
Marius Vikhammer
67f7c2f96a
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:42 +08:00
wuzhenghui
c78fb1602e
feature: add wake up time cost info to deep_sleep_wake_stub example
2023-04-24 11:37:46 +08:00
jiangguangming
fc30491ab0
ld: fix rtc.data rtc.bss section issues
...
1. rtc.data section: should include sbss srodata in rtc_wake_stub*.*
2. rtc.bss section: move rtc .bss .bss.* from rtc.data to rtc.bss
2023-04-24 11:37:46 +08:00
jiangguangming
85064f164f
use LL function to get wakeup cause
2023-04-24 11:37:46 +08:00
jiangguangming
96f3c2bac6
rtc_time.c: simplify the rtc_time_get with LL function
2023-04-24 11:37:46 +08:00
jiangguangming
b733eb0adb
example: add example deep sleep wake stub
2023-04-24 11:37:42 +08:00
jiangguangming
cafcb219de
hal: add rtc_cntl LL function for wake stub
2023-04-23 14:29:25 +08:00
Jin Cheng
8704eb1713
fix a2dp source crash when connect to Bose speaker
2023-04-21 21:20:57 +08:00
Darian Leung
fd2d4a83e2
usb_host: Update docs and comments regarding first configuration enumeration
...
This commit updates some comments and documentation regarding changes made in
PR https://github.com/espressif/esp-idf/pull/11113 .
2023-04-21 12:53:27 +08:00
Jason
8bebfaa6ee
Fix usb enumeration stage error for some device
2023-04-21 12:53:27 +08:00
Jiang Jiang Jian
3cec3a0026
Merge branch 'bugfix/fix_some_wifi_bugs_230420_v4.4' into 'release/v4.4'
...
esp_wifi: fix some wifi bugs 230420(Backport v4.4)
See merge request espressif/esp-idf!23300
2023-04-21 11:53:42 +08:00
morris
9516e80f61
Merge branch 'bugfix/wakeup_io_hold_unhold_in_sleep_v4.4' into 'release/v4.4'
...
gpio: Fix deep sleep wakeup IOs unable to unhold after wakeup (v4.4)
See merge request espressif/esp-idf!22670
2023-04-21 10:51:05 +08:00
Jiang Jiang Jian
2951d6e2f7
Merge branch 'bugfix/mdns_no_task_notifiers' into 'release/v4.4'
...
mdns: use semaphore instead of task notification bits (v4.4)
See merge request espressif/esp-idf!22920
2023-04-21 09:32:10 +08:00
Jiang Jiang Jian
f31b5c3bd2
Merge branch 'bugfix/fix_some_ble_bug_v4.4' into 'release/v4.4'
...
Fixed some BLE bugs (backport v4.4)
See merge request espressif/esp-idf!23301
2023-04-21 02:00:20 +08:00
Mahavir Jain
62a9966181
Merge branch 'bugfix/block9_can_not_be_used_for_fe_v4.4' into 'release/v4.4'
...
efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5) (v4.4)
See merge request espressif/esp-idf!23292
2023-04-20 23:03:51 +08:00
Zim Kalinowski
4232e24b0f
Merge branch 'bugfix/adds_iram_attr_for_some_esp_timer_apis_v4.4' into 'release/v4.4'
...
esp_timer: Adds IRAM_ATTR for esp_timer_restart and esp_timer_is_active (v4.4)
See merge request espressif/esp-idf!23308
2023-04-20 19:41:39 +08:00
Zim Kalinowski
39afb1eb1f
Merge branch 'contrib/github_pr_7754_v4.0' into 'release/v4.4'
...
Fix infinite recursion in FLAG_ATTR operator (GitHub PR) (backport v4.4)
See merge request espressif/esp-idf!23235
2023-04-20 19:37:13 +08:00
chenjianhua
8f3f635e8c
bluedroid: report status after clearing the BLE white list
2023-04-20 15:59:07 +08:00
chenjianhua
908c5e1fd2
bluedroid: fix GATTC cache address save
2023-04-20 15:59:07 +08:00
chenjianhua
e2a307bd8f
bluedroid: fix adv and scan state conflict
2023-04-20 15:59:07 +08:00
chenjianhua
814bcf4021
bluedroid: support get bluetooth device name
2023-04-20 15:59:07 +08:00
morris
e34f0638c8
Merge branch 'bugfix/fix_deep_sleep_crash_when_psram_high_freq_4.4' into 'release/v4.4'
...
mspi: turn down freq to fix crash when sleep (v4.4)
See merge request espressif/esp-idf!22750
2023-04-20 14:54:46 +08:00
KonstantinKondrashov
745cac7a04
esp_timer: Adds IRAM_ATTR for esp_timer_restart and esp_timer_is_active
...
Closes https://github.com/espressif/esp-idf/issues/10522
Closes https://github.com/espressif/esp-idf/issues/10859
2023-04-20 14:53:38 +08:00
KonstantinKondrashov
363c21891c
esptool: Update esptool
...
Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5)
2023-04-20 13:58:51 +08:00
KonstantinKondrashov
89d11be4a9
efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5)
...
eFuse module has a hardware bug.
It is related to ESP32-C3, C6, S3, H2 chips:
- BLOCK9 (BLOCK_KEY5) can not be used by XTS_AES keys.
For H2 chips, the BLOCK9 (BLOCK_KEY5) can not be used by ECDSA keys.
S2 does not have such a hardware bug.
2023-04-20 13:58:51 +08:00
morris
c49e8d3611
Merge branch 'bugfix/i2c_timing_wrong_v4.4' into 'release/v4.4'
...
i2c: fix a bug in sda sample timing (backport v4.4)
See merge request espressif/esp-idf!23227
2023-04-20 13:11:18 +08:00
wuzhenghui
941b6bf03d
bugfix: fix deepsleep saradc leakage
2023-04-20 11:43:13 +08:00
Li Shuai
6356453f8d
sleep: fix sleep current issue caused by sar adc
2023-04-20 11:43:13 +08:00
muhaidong
bd9c48acdb
esp_wifi: fix some wifi bugs 230420
...
1. fix softap qos null issue
2. fix set inactive time crash issue
2023-04-20 11:26:05 +08:00
morris
2dc6c95859
Merge branch 'bugfix/usb_serial_driver_block_v4.4' into 'release/v4.4'
...
usb_serial_jtag: Fix bug of blocking TX xfer when using driver (backport v4.4)
See merge request espressif/esp-idf!22831
2023-04-20 11:01:01 +08:00
Armando
1b2a254d71
adc: improve power logic
2023-04-20 10:42:12 +08:00
morris
2b4797703f
Merge branch 'bugfix/spi_lcd_max_trans_size_v4.4' into 'release/v4.4'
...
spi_lcd: maximum transfer size should respect bus configuration (v4.4)
See merge request espressif/esp-idf!23231
2023-04-20 10:28:21 +08:00
Jiang Jiang Jian
5999775329
Merge branch 'bugfix/softap_beacon_process_v4.4' into 'release/v4.4'
...
esp_wifi: validate softAP interface when sending beacon and add sta_connected callback (Backport v4.4)
See merge request espressif/esp-idf!23255
2023-04-19 20:19:52 +08:00
Ivan Grokhotkov
f87bdd4a9f
Merge branch 'bugfix/fixed_sdmmc_high_speed_ddr_timing_issue_on_esp32s3_v4.4' into 'release/v4.4'
...
sdmmc: fixed incorrect clock phase settings on esp32s3 (v4.4)
See merge request espressif/esp-idf!23261
2023-04-19 17:42:45 +08:00
Jiang Jiang Jian
34475c13cb
Merge branch 'feature/add_menuconfig_of_calibration_mode_v4.4' into 'release/v4.4'
...
Feature/add menuconfig of calibration mode v4.4(Backport v4.4)
See merge request espressif/esp-idf!23262
2023-04-19 17:02:56 +08:00
Sarvesh Bodakhe
9baec826ac
esp_wifi: fix some wifi bugs
...
1. Move wpa_supplicant WIFI_EVENT_STA_CONNECTED and WIFI_EVENT_STA_DISCONNECTED event handlers into callbacks
2. Validate softAP interface when sending beacon frame
2023-04-19 12:13:52 +05:30
Laukik Hase
aac8bc9a71
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-19 10:35:58 +05:30
Laukik Hase
a2580b3f36
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-19 10:35:57 +05:30
muhaidong
0426873a43
esp_phy: add menuconfig of phy calibration mode
2023-04-18 20:18:42 +08:00
muhaidong
b91d25e575
disable reduce PHY TX power when brownout reset
2023-04-18 20:17:20 +08:00
Armando
fb6d9cd741
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-18 20:07:32 +08:00
morris
23f0e7385b
spi_lcd: test spi lcd io can transfer color data to a fixed window region
...
also test the io tx_param and tx_color can skip the command phase
2023-04-18 13:38:56 +08:00
morris
7225068256
spi_lcd: maximum transfer size should respect bus configuration
...
Also this commit added the SPI_TRANS_CS_KEEP_ACTIVE flag for io_tx_color
2023-04-18 10:36:39 +08:00
Otto Winter
10f500ddfe
bugfix (esp_common): remove infinite recursion in FLAG_ATTR operator
...
Closes https://github.com/espressif/esp-idf/pull/7754
Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
2023-04-17 18:19:45 +08:00
Jiang Jiang Jian
7eba5f8002
Merge branch 'bugfix/bt_diable_enbale_crash_v4.4' into 'release/v4.4'
...
bt:Fixed esp32 controller bug(v4.4)
See merge request espressif/esp-idf!23151
2023-04-17 16:16:23 +08:00
Omar Chebib
6022afc980
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-04-17 16:03:34 +08:00
Jiang Jiang Jian
0e9c393d1b
Merge branch 'bugfix/fix_systimer_stall_issue_in_lightsleep_v4.4' into 'release/v4.4'
...
esp_wifi: allow connectionless ps with mesh, fix failed to sleep after scan;...
See merge request espressif/esp-idf!23200
2023-04-17 15:32:31 +08:00
zwj
b69ec22cb9
Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32
2023-04-14 12:10:38 +08:00
liuning
081b8ffb18
esp_wifi: allow connectionless ps with mesh, fix failed to sleep after scan; coex: fix esp32 wifi interrupted by ble act (d51ef5c0)
2023-04-14 12:00:51 +08:00
liuning
dce377bcfd
rtc_sleep: workaround systimer stall issue during lightsleep on ESP32C3
2023-04-14 11:59:42 +08:00
wangmengyang
7a7090a46a
bt: added coex adapter operation to get version of coexist module to ESP32 Bluetooth Controller
2023-04-13 10:24:01 +08:00
wangjialiang
ab48bfb5b7
ble_mesh: stack: Update the heartbeat filter entry add/remove handling
2023-04-12 15:03:07 +08:00
xiongweichao
f9bfdd0b1e
bt:Fixed esp32 controller bug
...
1. Fixed crash after controller disable and re-enable
2. Fixed the crash caused by processing the HCI_Read_Remote_Extented_Features command in the non-connected state
3. Fixed disconnection due to not handling lmp_unsniff_req in LC_WAIT_SNIFF_SUB_RSP state
4. Fixed crash caused by supervision timeout greater than sniff interval
Closes https://github.com/espressif/esp-idf/issues/11164
Closes https://github.com/espressif/esp-idf/issues/10835
2023-04-12 09:15:49 +08:00
zhangyanjiao
fc7b5673f7
esp_wifi:
...
1. wifi_mesh: fix the heap corrupt issue in MTXON task
2. Update tx rate when phymode change from LR to 11N
https://github.com/espressif/esp-idf/issues/11006
2023-04-11 14:21:08 +08:00
Jiang Jiang Jian
8e559452d9
Merge branch 'bugfix/delete_node_during_list_traverse_4.4' into 'release/v4.4'
...
bugfix: Fixed the crash of LoadProhibited caused by invalid operation on list node in handling hci_hardware_error event (v4.4)
See merge request espressif/esp-idf!23118
2023-04-11 11:37:03 +08:00
muhaidong
4b3ff10c5d
esp_wifi: fix some wifi bugs 230403
...
1. fix sta auth failed but softap shows it connected issue
2. fix ftm procedure with peer failed status 4 issue
3. send ftm frames immediately
4. send null data when state change from association to run
5. docs: add some details for wifi scan description
2023-04-10 15:08:02 +08:00
Jiang Jiang Jian
b7ddd82ad6
Merge branch 'bugfix/nvs_save_for_new_config_v4.4' into 'release/v4.4'
...
esp_wifi: Add nvs code for new config params
See merge request espressif/esp-idf!23084
2023-04-10 14:39:05 +08:00
Jin Cheng
3a361bc62f
fixed the crash of LoadProhibited caused by taht
...
the nodes are deleted during the traversal of the linked list
2023-04-08 11:30:35 +08:00
morris
a9c36f277f
Merge branch 'bugfix/fix_i2s_mono_stereo_test_failure_v4.4' into 'release/v4.4'
...
i2s: fixed I2S_mono_stereo_loopback_test (v4.4)
See merge request espressif/esp-idf!23093
2023-04-07 17:26:16 +08:00
Michael (XIAO Xufeng)
e383d14cd0
Merge branch 'bugfix/himem_map_range_block_v4.4' into 'release/v4.4'
...
himem: fixed incorrect out_ptr when range_offset is given non-zero. (v4.4)
See merge request espressif/esp-idf!23082
2023-04-07 17:14:43 +08:00
laokaiyao
d98b6c640f
i2s: fixed I2S_mono_stereo_loopback_test (v4.4)
2023-04-07 11:17:07 +08:00
morris
f373bea201
i80_lcd: support skip command phase
...
Closes https://github.com/espressif/esp-idf/issues/10794
2023-04-06 14:47:11 +08:00
Jiang Jiang Jian
173676ea8d
Merge branch 'bugfix/psram_newlib_time_rom' into 'release/v4.4'
...
rom: fix newlib time ROM functions being regardless of CONFIG_SPIRAM_CACHE_WORKAROUND (v4.4)
See merge request espressif/esp-idf!23003
2023-04-06 11:24:36 +08:00
jgujarathi
6f340bc902
esp_wifi: Add nvs code for new config params
2023-04-06 07:59:38 +05:30
Xiao Xufeng
4dca4bdc3e
himem: Fixed incorrect out_ptr when calling esp_himem_map range_offset non-zero
...
Closes: https://github.com/espressif/esp-idf/issues/5639
2023-04-06 02:02:05 +08:00
Mahavir Jain
599bc24483
Merge branch 'feature/update_mbedtls_v2.28.3' into 'release/v4.4'
...
mbedtls: Update to release v2.28.3 (v4.4)
See merge request espressif/esp-idf!23040
2023-04-04 15:18:58 +08:00
Jiang Jiang Jian
6852aaa07e
Merge branch 'bugfix/lcd_spi_acquire_bus_v4.4' into 'release/v4.4'
...
spi_lcd: don't release bus if acquire failed (v4.4)
See merge request espressif/esp-idf!23038
2023-04-04 12:10:58 +08:00
Jiang Jiang Jian
d337d9dc0b
Merge branch 'bugfix/fixed_incorrect_i2s_channel_format_v4.4' into 'release/v4.4'
...
i2s: fixed incorrect channel format on ESP32
See merge request espressif/esp-idf!22853
2023-04-04 12:10:37 +08:00
Jiang Jiang Jian
8df9bbd5f4
Merge branch 'bugfix/wifi_config_fixes_v4.4' into 'release/v4.4'
...
Add APIs to get Assoc id and negotiated phymode.(v4.4)
See merge request espressif/esp-idf!22972
2023-04-04 12:10:23 +08:00
Jiang Jiang Jian
c0efc25049
Merge branch 'bugfix/fix_hw_ralunderrun_assert_v4.4' into 'release/v4.4'
...
Fixed BLE HW RAL_UNDERRUN asser and backport some bug fix 23-03-30 (back port v4.4)
See merge request espressif/esp-idf!23004
2023-04-04 10:50:25 +08:00
laokaiyao
73ca054b80
i2s: fixed incorrect channel format on ESP32
...
Closes: https://github.com/espressif/esp-idf/issues/9635
2023-04-04 10:00:05 +08:00
aditi_lonkar
dc33626566
esp_wifi: Add APIs to get Assoc id and negotiated phymode.
2023-04-03 18:27:02 +05:30
morris
ea51ee1130
Merge branch 'feature/vfs_serial_fcntl_get_rd_wr_state_v4.4' into 'release/v4.4'
...
vfs: uart/cdcacm/usb_serial_jtag fcntl return read/write state(v4.4)
See merge request espressif/esp-idf!19335
2023-04-03 19:15:15 +08:00
harshal.patil
617d935b44
mbedtls: Update to release v2.28.3
...
- Release Notes: https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.3
2023-04-03 14:28:12 +05:30
morris
1a6118193c
spi_lcd: don't release bus if acquire failed
...
Closes https://github.com/espressif/esp-idf/issues/10952
2023-04-03 13:17:11 +08:00
Jiang Jiang Jian
4c7d97e2bd
Merge branch 'bugfix/sta_sa_query_process_v4.4' into 'release/v4.4'
...
esp_wifi: Improve station SA query procedure handling and other bugfixes (Backport v4.4)
See merge request espressif/esp-idf!22901
2023-04-03 11:15:54 +08:00
Jiang Jiang Jian
9c38441916
Merge branch 'bugfix/fix_sc_send_failure_and_exit_issue_v4.4' into 'release/v4.4'
...
smartconfig: fix the issue of sending failure and exit (Backport v4.4)
See merge request espressif/esp-idf!23025
2023-04-03 11:05:02 +08:00
Mahavir Jain
4b404115e8
Merge branch 'feature/fix_load_efuses_from_flash_when_real_fe_is_on_v4.4' into 'release/v4.4'
...
efuse(virtual mode): Fix load_efuses_from_flash when FE is on (v4.4)
See merge request espressif/esp-idf!22969
2023-03-31 20:13:27 +08:00
Sarvesh Bodakhe
52b940bed5
esp_wifi: Improve station SA query procedure handling and other bugfixes
...
1. Disable SA query timers when station disconnect and other SA query related improvements
2. Send appropriate reason code in 4 way handshake failure
3. Send deauth while going from assoc state to init, if reason is assoc timeout
2023-03-31 16:26:15 +05:30
muhaidong
d52d1fc443
smartconfig: fix the issue of sending failure and exit
2023-03-31 17:26:05 +08:00
Jiang Jiang Jian
60c57ade1d
Merge branch 'bugfix/tx_desc_fragment_v4.4' into 'release/v4.4'
...
esp_wifi: fix potential issue when tx fragment pkt(v4.4)
See merge request espressif/esp-idf!22961
2023-03-31 15:30:59 +08:00
Jiang Jiang Jian
df8c0f2191
Merge branch 'doc/update_doc_of_esp_bt_gap_set_cod_v4.4' into 'release/v4.4'
...
bt: Optimized the document for GAP API: esp_bt_gap_set_cod (v4.4)
See merge request espressif/esp-idf!22995
2023-03-31 13:59:45 +08:00
Jiang Jiang Jian
fa3c3a8b46
Merge branch 'bugfix/update_wps_api_documentation_v4.4' into 'release/v4.4'
...
wpa_supplicant: Update WPS API documentation (v4.4)
See merge request espressif/esp-idf!23014
2023-03-31 13:58:42 +08:00
Kapil Gupta
5c642f98c7
wpa_supplicant: Update WPS API documentation
2023-03-30 20:05:06 +05:30
chenjianxing
e0e4649c7e
esp_wifi: improve tx robust for c3/s3
2023-03-30 21:48:53 +08:00
zhiweijian
db3e673053
Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing
2023-03-30 17:50:20 +08:00
zwj
0ab020fef0
Fixed BLE HW RAL_UNDERRUN assert on ESP32C3 and ESP32S3
2023-03-30 17:07:19 +08:00
zwj
bd8d473006
If it is not esp32 chips, hide the configuration item: BT_BLE_RPA_SUPPORTED
2023-03-30 17:00:56 +08:00
Marius Vikhammer
9acf0aaee1
rom: fix newlib time ROM functions being regardless of CONFIG_SPIRAM_CACHE_WORKAROUND
...
On ESP32 ROM functions are not compatible with CONFIG_SPIRAM_CACHE_WORKAROUND.
This were handled correctly in cmake, but not in make.
2023-03-30 16:19:38 +08:00
zhiweijian
e7fd58d77a
set BT_CTRL_BLE_MAX_ACT default value to 6
2023-03-30 16:14:18 +08:00
zhiweijian
49691b6a9e
Fixed ATT Ignore wrong response error
2023-03-30 16:13:32 +08:00
zwj
b475798ad6
- Support ESP32C3 and ESP32S3 new BLE lib
...
- Disable controller 5.0 feature bits if host 5.0 feature is not enabled
- Fixed extend ADV parameters check for ADV_DIRECT_HI
2023-03-30 16:10:42 +08:00
zwj
50163578bf
Merge ESP32C3 and ESP32S3 BLE bt.c files to one
2023-03-30 15:54:37 +08:00
Jin Cheng
8daf85b32a
Optimized the document for GAP API:
...
`esp_bt_gap_set_cod`
2023-03-30 14:17:17 +08:00
morris
647cc43f44
Merge branch 'bugfix/usb_host_enumeration_delay_v4.4' into 'release/v4.4'
...
USB Host: SetAddress recovery interval + menuconfig configuration (backport v4.4)
See merge request espressif/esp-idf!22703
2023-03-30 12:03:01 +08:00
Jiang Jiang Jian
3b54c90e0d
Merge branch 'bugfix/IDFGH_9535_v4.4' into 'release/v4.4'
...
wifi_prov_mgr : Fixed return value of characteristic read operation in nimble (v4.4)
See merge request espressif/esp-idf!22673
2023-03-29 19:18:22 +08:00
Song Ruo Jing
81b59071fd
gpio: Fix IO hold function related problems
...
1. Fix deep sleep wakeup IOs can not be unhold issue
2. Correct hold related APIs' description
3. Fix gpio_force_hold_all API
docs: Add GPIO wakeup source to sleep_modes doc for ESP32C3
2023-03-29 17:21:50 +08:00
Song Ruo Jing
5552c29b3e
rtcio: Add a test case to test RTCIO's hold ability after deep sleep wakeup
2023-03-29 17:21:50 +08:00
KonstantinKondrashov
b19d685406
efuse: Fix load_efuses_from_flash when FE is on
...
esp_efuse_utility_load_efuses_from_flash() read emul_efuse
as an encrypted partition, but that is not correct,
this partition was never encrypted.
Need to read it as not encrypted partition.
Fxed the case: If FE is already on then EFUSE VIRT mode can work with it.
Closes https://github.com/espressif/esp-idf/issues/10929
2023-03-29 16:18:54 +08:00
chenjianxing
d7de64691b
esp_wifi: fix potential issue when tx fragment pkt
2023-03-29 11:08:35 +08:00
lly
18a5b07607
ble_mesh: stack: Minor fix for provisioner provisioning timeout
2023-03-28 04:29:57 +00:00
wangjialiang
6c55c9c800
ble_mesh: add BQB LOG
2023-03-28 04:29:57 +00:00
luoxu
0ec64df258
ble_mesh: stack: forward rfu dst for the case NODE/RLY/BV-01
2023-03-28 04:29:57 +00:00
luoxu
8f5c5a3972
ble_mesh: stack: add send transaction ack befor provisioner send prov failed msg
2023-03-28 04:29:57 +00:00
luoxu
34841a97a5
ble_mesh: stack: for the case MESH/PVNR/PBADV/BV-01, add the close link reason before reset link
2023-03-28 04:29:57 +00:00
wangjialiang
dad6588e3d
ble_mesh: stack: bug fix in bqb
2023-03-24 17:13:11 +08:00
wangjialiang
1a412555cd
ble_mesh: stack: add description of internal BQB Test
2023-03-24 17:12:57 +08:00
lly
4737b4865d
ble_mesh: stack: Minor updates for BQB test log
2023-03-24 17:12:47 +08:00
wangjialiang
14d90c4534
ble_mesh: stack: Add a BQB macro for BQB test to enable some internal function or log
2023-03-24 17:12:23 +08:00
Viktor Babrian
0050fa940c
components/mdns: use semaphore instead of task notification bits (IDFGH-9380)
...
Component should not alter the task notification bits of the calling task.
2023-03-24 09:03:35 +01:00
Jiang Jiang Jian
90d6e45d9f
Merge branch 'mesh/bugfix_fix_bugs_for_mesh_network_v4.4' into 'release/v4.4'
...
wifi_mesh: fix bugs for mesh network (backport v4.4)
See merge request espressif/esp-idf!22899
2023-03-24 10:58:36 +08:00
Michael (XIAO Xufeng)
2a052f09f2
Merge branch 'bugfix/fix_uart_tx_done_hardware_concurrency_v4.4' into 'release/v4.4'
...
uart: Fix TX side concurrency issues (v4.4)
See merge request espressif/esp-idf!22596
2023-03-23 16:46:49 +08:00
Dong Heng
b7ea6e44b2
vfs: uart/cdcacm/usb_serial_jtag fcntl return read/write state
2023-03-23 08:22:56 +00:00
zhangyanjiao
794905b0e1
wifi_mesh: update mesh doc
2023-03-23 16:10:34 +08:00
zhangyanjiao
b10a36d0e2
wifi_mesh: Fix several bugs on mesh network
2023-03-23 16:10:11 +08:00
Jiang Jiang Jian
f3fc6f7435
Merge branch 'bugfix/add_unregister_wpa3_cb_v4.4' into 'release/v4.4'
...
wpa_supplicant : Add support for unregistering wifi wpa3 callbacks.
See merge request espressif/esp-idf!22556
2023-03-23 15:22:36 +08:00
Wang Meng Yang
7894f032f6
Merge branch 'bugfix/hfp_ag_cannot_init_conn_v4.4' into 'release/v4.4'
...
bt: Fixed the index out of bounds of hfp_ag BTC control block (v4.4)
See merge request espressif/esp-idf!22873
2023-03-23 10:50:57 +08:00
Jiang Jiang Jian
a3f285d744
Merge branch 'bugfix/dm9051_rcv_mcast_v4.4' into 'release/v4.4'
...
esp_eth: allowed DM9051 to receive multicast packets (v4.4)
See merge request espressif/esp-idf!22865
2023-03-23 10:44:49 +08:00
Jin Cheng
c8a3237309
Fixed the index out of bounds of hfp_ag BTC control block
2023-03-22 15:49:56 +08:00
Ondrej
88a2afc034
esp_eth: DM9051 stop/start issue fixed
2023-03-21 16:32:46 +00:00
Ondrej
fc09ea7b19
esp_eth: allowed DM9051 to receive multicast packets
...
Removed extra PHY status link checks from DM9051 MAC layer
2023-03-21 16:28:51 +00:00
David Cermak
35eeb04829
lwip: Add missing esp_sntp_enabled()
2023-03-21 10:31:25 +01:00
David Cermak
079611dd16
lwip/sntp: Fix esp_sntp_ API races (v4.4)
...
Some of the esp_sntp_...() APIs that wrap lwip's SNTP
module use tcpip_callback() to execute the lwip functionality
in the correct state (either with locked TCP/IP core,
or within the TCP/IP thread).
tcpip_callback() however doesn't wait for completion of the callback,
which doesn't prevent from using the stack variables after destroy
if used as a parameter.
Introduced in a71fa82
.
Fixed by using of tcpip_api_call() instead of the tcpip_callback().
Closes https://github.com/espressif/esp-idf/issues/10611
2023-03-21 10:31:25 +01:00
David Cermak
29b8a00c0a
esp_netif/lwip: Fix core-locking config (v4.4)
...
* Fix thread safety issues in non-core locking
* Add option to verify thread safety issues in lwip (core-lock assertion)
* Make esp_sntp.h thread safe API
* Fix sntp example
(v4.4 - fixes minor merge issue that duplicated
DHCP_DEFINE_CUSTOM_TIMEOUTS and DHCP_REQUEST_TIMEOUT_SEQUENCE)
Closes https://github.com/espressif/esp-idf/issues/9908
Closes https://github.com/espressif/esp-idf/issues/10502
Closes https://github.com/espressif/esp-idf/issues/10466
2023-03-21 10:31:20 +01:00
Cao Sen Miao
897082dbe5
usb_serial_jtag: Fix bug of blocking TX xfer when using driver,
...
Merges https://github.com/espressif/esp-idf/pull/10208
2023-03-20 14:39:35 +08:00
Chip Weinberger
6cf1d8ea40
[USB Serial/JTAG Driver] use time-limited blocking for TX
2023-03-20 14:20:40 +08:00
Jiang Jiang Jian
48b3f236d3
Merge branch 'contrib/github_pr_10402_v4.4' into 'release/v4.4'
...
ledc: move callback to IRAM as it's called from an ISR (GitHub PR) (v4.4)
See merge request espressif/esp-idf!22593
2023-03-20 14:06:23 +08:00
Jiang Jiang Jian
3c8bc2213c
Merge branch 'feature/esp32c3_uart_add_wakeup_event_v4.4' into 'release/v4.4'
...
UART: add uart wakeup event for esp32c3 and esp32s3 (v4.4)
See merge request espressif/esp-idf!22647
2023-03-20 14:05:42 +08:00
Jiang Jiang Jian
188bb8df22
Merge branch 'bugfix/add_debug_check_v4.4' into 'release/v4.4'
...
Nimble: Added debug relate flag around debug code_v4.4
See merge request espressif/esp-idf!22783
2023-03-20 14:04:54 +08:00
Jiang Jiang Jian
c5e4b7d7d4
Merge branch 'bugfix/close_rf_in_deep_sleep_backport_v4.4' into 'release/v4.4'
...
deep sleep: further optimize sleep current if RF is enabled (backport v4.4)
See merge request espressif/esp-idf!22737
2023-03-20 14:04:36 +08:00
Jiang Jiang Jian
7cfc1a747f
Merge branch 'docs/update_esp_hid_device_v4.4' into 'release/v4.4'
...
docs: fixed missing API-reference documents for Bluetooth HID device(backport v4.4)
See merge request espressif/esp-idf!19582
2023-03-17 19:40:43 +08:00
Michael (XIAO Xufeng)
61521da8d0
Merge branch 'test/add_spi_slave_freq_test_v4.4' into 'release/v4.4'
...
spi_slave: fix io re-config issue (v4.4)
See merge request espressif/esp-idf!22591
2023-03-17 19:25:07 +08:00
Jiang Jiang Jian
012b5006c0
Merge branch 'bugfix/more_data_bit_issue_v4.4' into 'release/v4.4'
...
esp_wifi: fix more data bit cause not go to modem sleep(v4.4)
See merge request espressif/esp-idf!22791
2023-03-17 13:52:48 +08:00
Jiang Jiang Jian
11e20bbf7b
Merge branch 'bugfix/avrcp_psth_cmd_rsp_v4.4' into 'release/v4.4'
...
bt:Added a parameter to tell the user the result of the pass through command implementation(v4.4)
See merge request espressif/esp-idf!22789
2023-03-17 13:52:39 +08:00
chenjianxing
bf92b0dda8
esp_wifi: fix more data bit cause not go to modem sleep
...
Closes AUD-4173
2023-03-16 15:45:21 +08:00
Jiang Jiang Jian
0c0d7bb1a3
Merge branch 'bufix/Backport_some_lwip_bugs_for_4.4_0315' into 'release/v4.4'
...
bugfix/Backport_some_lwip_bugs_for_4.4_0315
See merge request espressif/esp-idf!22762
2023-03-16 10:31:13 +08:00
Rahul Tank
4b40662fad
Nimble: Added debug relate flag around debug code
2023-03-15 16:49:25 +05:30
wanlei
3fda8f942c
mspi: turn down freq to fix crash when sleep
2023-03-15 11:33:07 +08:00
xueyunfei
8331ae8586
lwip: solve some routers do not forward multicast packet issue
2023-03-14 19:03:23 +08:00
xueyunfei
9403854bed
tcp_in/ooseq: Fix incorrect segment trim when FIN moved
...
* Update submodule: git log --oneline a7abf28e02282b32479f4bbaf2d90f09d2a60f4c..6bb132e3797d5449a923804c75c57d458920f8ac
Detailed description of the changes:
- tcp_in/ooseq: Fix incorrect segment trim when FIN moved (esp-lwip@6bb132e3)
- api_msg: fix tcp_abort thread safety (esp-lwip@53a6e019)
2023-03-14 18:46:00 +08:00
xueyunfei
109eec4033
dhcp server:bugfix softap excedes the range of subnet
2023-03-14 18:45:43 +08:00
xiongweichao
0ac35d3f09
bt:Added a parameter to tell the user the result of the pass through command implementation
2023-03-14 16:44:10 +08:00
wuzhenghui
e357de5406
deep sleep: close rf to optimize sleep current
2023-03-14 14:05:15 +08:00
wangmengyang
67cc93b1d5
bt: fix the documentations for Bluetooth HID device APIs
2023-03-14 12:13:48 +08:00
Marius Vikhammer
f262f1c361
docs: fix broken links
2023-03-14 10:26:37 +08:00
wuzhenghui
91b9483987
Revert "optimize deep sleep current in wifi softap mode"
...
This reverts commit 344ec80fad
.
2023-03-13 20:41:16 +08:00
liqigan
f0394b03bc
fix HID Host bug when handling the two consecutive connection request
...
Closes https://github.com/espressif/esp-idf/issues/10504
2023-03-13 10:22:28 +08:00
Ivan Grokhotkov
fee50c208a
Merge branch 'bugfix/modbus_remove_manifest_from_subrepo' into 'release/v4.4'
...
freemodbus: remove component manifest file from freemodbus subrepo
See merge request espressif/esp-idf!22693
2023-03-10 17:23:32 +08:00
Alex Lisitsyn
67b3b263db
freemodbus: remove component manifest file from freemodbus subrepo
2023-03-10 17:23:32 +08:00
Michael (XIAO Xufeng)
8232f23f65
Merge branch 'feature/apply_new_version_logic_v4.4' into 'release/v4.4'
...
all: Apply new version logic (major * 100 + minor) (v4.4)
See merge request espressif/esp-idf!22481
2023-03-10 14:52:18 +08:00
Roman Leonov
0f47fad650
usb_host: add recovering interval after SetAddress(). Possibility to change constant delay value via menuconfig.
...
Closes https://github.com/espressif/esp-idf/issues/10444
Closes https://github.com/espressif/esp-idf/issues/10718
2023-03-10 07:07:38 +01:00
Zim Kalinowski
1500d703a1
Merge branch 'bugfix/spram_and_virt_efuse_can_work_v4.4' into 'release/v4.4'
...
esp_psram: Use efuse_ll instead of efuse API (v4.4)
See merge request espressif/esp-idf!22642
2023-03-09 22:19:12 +08:00
morris
6e950ad679
Merge branch 'bugfix/adc2_legacy_oneshot_clk_gating_issue' into 'release/v4.4'
...
adc: fix legacy oneshot driver clock gating issue on c3 (v4.4)
See merge request espressif/esp-idf!22609
2023-03-09 13:29:40 +08:00
morris
7d727fffdd
Merge branch 'bugfix/return_error_when_fail_detect_oct_psram_v4.4' into 'release/v4.4'
...
esp_psram: return error when fail to detect oct psram (v4.4)
See merge request espressif/esp-idf!22613
2023-03-09 13:28:58 +08:00
morris
4b498e8bce
Merge branch 'bugfix/fix_btld_app_overlap_c2_v4.4' into 'release/v4.4'
...
ld: fixed bootloader and app potential overlap issue (v4.4)
See merge request espressif/esp-idf!22570
2023-03-09 13:28:36 +08:00
morris
028f48369c
Merge branch 'bugfix/no_more_public_adc2_dma_on_c3_s3_v4.4' into 'release/v4.4'
...
adc: no longer support adc2 continuous mode on esp32c3 and esp32s3 (v4.4)
See merge request espressif/esp-idf!21649
2023-03-09 13:27:25 +08:00
isha.pardikar@espressif.com
c134171e80
wifi_prov_mgr : Fixed return value of characteristic read operation
2023-03-09 10:44:54 +05:30
Jiang Jiang Jian
38ec6aafc6
Merge branch 'optimization/lwip_dhcp_coarse_timer_4.4' into 'release/v4.4'
...
lwip:optimization dhcp coarse timer for 4.4
See merge request espressif/esp-idf!22425
2023-03-09 11:07:25 +08:00
laokaiyao
ac67d5dd35
uart: support light sleep on esp32s3
2023-03-08 11:10:43 +08:00
Chen Wu
1d31a493e4
debug: esp32c3 uart1 wakeup
2023-03-08 10:30:46 +08:00
Chen Yi Qun
176f44c15f
uart: add wakeup event for esp32c3
2023-03-08 10:02:23 +08:00
KonstantinKondrashov
9e0a8e2dca
esp_psram: Use efuse_ll instead of efuse API
...
When the virt efuse mode is on and psram is on as well
then efuse buffer is not filled by efuses (it is filled by 0).
So the psram init func gets wrong pkg_ver = 0.
Closes https://github.com/espressif/esp-idf/issues/10925
Close IDFGH-9576
2023-03-08 01:47:06 +08:00
Armando
eab3534c90
adc: no longer support adc2 oneshot mode on esp32c3
...
Due to HW limitation, we don't support this anymore. On c3, ADC2 under oneshot mode is not stable.
However, you can enable CONFIG_ADC_ONESHOT_FORCE_USE_ADC2_ON_C3 to force use
ADC2.
Refer to errata to know more details:
https://www.espressif.com/sites/default/files/documentation/esp32-c3_errata_en.pdf
2023-03-07 11:58:27 +08:00
Armando
5fa6b2879c
ld: fixed bootloader and app potential overlap issue
2023-03-07 02:39:56 +00:00
Armando
cf9cb577ce
esp_psram: return error when fail to detect oct psram
2023-03-07 02:39:44 +00:00
Armando
f0af48b585
adc: fix legacy oneshot driver clock gating issue on c3
2023-03-07 02:39:11 +00:00
Marius Vikhammer
2d41f6fe31
esp-modbus: fix debug message being printed for all builds
2023-03-07 02:29:00 +00:00
Mahavir Jain
60b90c5144
Merge branch 'feature/memprot_test_app_v4.4' into 'release/v4.4'
...
memprot: Fix incorrect faulting address reported for esp32c3 (v4.4)
See merge request espressif/esp-idf!22583
2023-03-06 20:27:21 +08:00
Armando
ffb2db586a
adc: no longer support adc2 continuous mode on esp32c3 and esp32s3
...
Due to HW limitation, we don't support this anymore. On s3 and c3, ADC2 under continuous mode is not stable.
However, you can enable CONFIG_ADC_CONTINUOUS_FORCE_USE_ADC2_ON_C3_S3 to force use
ADC2.
Refer to errata to know more details:
https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf
https://www.espressif.com/sites/default/files/documentation/esp32-c3_errata_en.pdf
2023-03-06 18:57:58 +08:00
Armando
f311bbdcf9
adc: added a soc macro indicating digital controller supported unit
2023-03-06 18:57:58 +08:00
morris
c3172de254
Merge branch 'contrib/github_pr_10640_v4.4' into 'release/v4.4'
...
hal/uart_ll.h: Fix compile with C++ (ESP32-S3/H2) (GitHub PR) (v4.4)
See merge request espressif/esp-idf!22589
2023-03-06 15:36:02 +08:00
Marius Vikhammer
0cd02c044c
Merge branch 'refactor/move_rom_test_to_fpga_only_v4.4' into 'release/v4.4'
...
esp_rom: miniz test only on FPGA (backport 4.4)
See merge request espressif/esp-idf!22602
2023-03-06 09:15:24 +08:00
morris
a6473f13ec
Merge branch 'contrib/github_pr_10334_v4.4' into 'release/v4.4'
...
Set errno in adjtime (GitHub PR) (v4.4)
See merge request espressif/esp-idf!22599
2023-03-05 21:38:00 +08:00
KonstantinKondrashov
df09f8670a
version: Fix missed version checks
2023-03-05 18:25:50 +08:00
KonstantinKondrashov
2c46d5442f
kconfigs: Fix config issues raised by gen_kconfig_doc.py
2023-03-03 22:26:39 +00:00
KonstantinKondrashov
a786554530
esptool: Adds support major&minor chip versions + min&max chip revision options
2023-03-03 22:26:39 +00:00
KonstantinKondrashov
1027c02aa1
bootloader_support: Fix iram_loader_seg overflow for ESP32-S2 when -O0
2023-03-03 22:26:39 +00:00
KonstantinKondrashov
fde8517956
chip_version: Updates for Make build system
2023-03-03 22:26:39 +00:00
KonstantinKondrashov
a86c80e3ec
all: Apply new version logic (major * 100 + minor)
2023-03-03 22:26:39 +00:00
Jakob Hasse
732ce674f0
refactor(esp_rom): miniz test only on FPGA now
2023-03-03 18:19:16 +08:00
jofrev
6802299ef4
Set errno in adjtime if delta is too large
...
errno should be set to EINVAL in this case according to adjtime's man
page.
2023-03-03 18:15:52 +08:00
jofrev
7ccacc7385
Set errno in adjtime if newlib time funcs are not implemented
...
Other time functions (e.g. settimeofday) set errno to ENOSYS if
IMPL_NEWLIB_TIME_FUNCS is not set.
adjtime should probably do the same.
2023-03-03 18:15:51 +08:00
Song Ruo Jing
093eaae4e5
uart: Fix two TX concurrency issues
...
1. Concurrency might cause ESP_ERR_TIMEOUT when calling uart_wait_tx_done
2. Concurrency might cause RTS line being de-assreted during tx transmission for rs485 mode
2023-03-03 18:01:46 +08:00
Song Ruo Jing
022a697ed8
ledc: Add check for whether the registered callback is in iram in ledc_cb_register
2023-03-03 17:35:35 +08:00
wanlei
86fd4b983f
spi_slave: fix io re-config issue
2023-03-03 17:28:54 +08:00
Simon Arlott
f5d94ef432
hal/uart_ll.h: Fix compile issue with C++
...
Merges https://github.com/espressif/esp-idf/pull/10640
2023-03-03 17:01:41 +08:00
Laukik Hase
6f2bf5f856
memprot: Fix incorrect faulting address reported for esp32c3
...
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2023-03-03 10:18:54 +05:30
xueyunfei
4186c9a0fc
lwip:optimization dhcp coarse timer
2023-03-02 08:44:07 +00:00
Omar Chebib
35fec3a2ef
psram: removed deprecated statement about coredump and external BSS
2023-03-01 19:06:30 +08:00
jgujarathi
fde6be3d6a
wpa_supplicant : Add validations for 192-bit Suite B test cases.
...
Add validations for group data cipher, pairwise cipher and AKM Suites to
ensure correct ciphers are supported by AP during 192-bit Enterprise
connections.
2023-03-01 10:43:07 +05:30
jgujarathi
cb2f801ae7
wpa_supplicant : Add deinitialization of Enterprise config_methods.
...
Add deinitialization of config_methods as it prevents correct reinitialization of sta in eap_peer_config_init() during reassoc.
2023-03-01 10:42:13 +05:30
jgujarathi
176dbaf4a7
wpa_supplicant : Add support for unregistering wifi wpa3 callbacks.
...
Unregister wifi callbacks allows for disabling support for wpa3 functions when not required.
2023-03-01 10:40:06 +05:30
Zim Kalinowski
20e5bc7ce0
Merge branch 'bugfix/nvs_cxx_example_v4.4' into 'release/v4.4'
...
nvs_flash: fixed wrong error check after open_nvs_handle in example (v4.4)
See merge request espressif/esp-idf!22304
2023-02-28 21:38:38 +08:00
Jiang Jiang Jian
4b6ecea959
Merge branch 'fix/efuse-function-declaration_v4.4' into 'release/v4.4'
...
efuse: fix esp_efuse_utility_write_reg() declaration (v4.4)
See merge request espressif/esp-idf!22087
2023-02-28 19:54:43 +08:00
Jiang Jiang Jian
f8c2f62db4
Merge branch 'bugfix/flash_large_memory_size_v4.4' into 'release/v4.4'
...
spi_flash: Fix issue that cannot get accurate flash size when encounter large size memory(backport v4.4)
See merge request espressif/esp-idf!21534
2023-02-28 19:53:25 +08:00
Jiang Jiang Jian
97c23f2e79
Merge branch 'bugfix/twai_listen_only_errata_v4.4' into 'release/v4.4'
...
twai: Add errata workaround for listen only mode (v4.4)
See merge request espressif/esp-idf!22515
2023-02-28 19:51:17 +08:00