Jin Cheng
d533bc1cdd
fixed build errors with Secure Simple Paring disabled
2022-11-23 20:58:52 +08:00
Marius Vikhammer
ff5c7d349f
Apply suggestions to 2 files
2022-11-23 19:10:35 +08:00
muhaidong
0ed631f47a
esp_wifi: Modify wifi scan return value.
...
1. Modify wifi scan return value same to docs.
2. Change some logs' log level wo avoid misunderstanding.
3. Fix connect fail return wrong error code issue
2022-11-23 19:10:13 +08:00
zhangyanjiao
7cf171cb1f
update doc for set channel
2022-11-23 19:09:49 +08:00
zhangyanjiao
92eb91f985
update wifi reason code
2022-11-23 19:09:03 +08:00
Jiang Jiang Jian
2e0da2773b
Merge branch 'bugfix/change_default_tx_power_on_c3_v4.3' into 'release/v4.3'
...
Change BLE default TX power on ESP32C3(backport v4.3)
See merge request espressif/esp-idf!21169
2022-11-23 14:28:30 +08:00
jgujarathi
d5b9fbac44
(wpa_supplicant) : Fixed a memory leak issue created when parsing scan results.
2022-11-23 10:07:01 +05:30
Jiang Jiang Jian
d732a84bfd
Merge branch 'bugfix/wpa_enterprise_reauth_v4.3' into 'release/v4.3'
...
esp_wifi: Fix WiFi Enterprise Reauthentication issue (v4.3)
See merge request espressif/esp-idf!21073
2022-11-23 10:42:55 +08:00
Wang Meng Yang
92a3ba8325
Merge branch 'bugfix/a2dp_source_memory_access_out_of_bounds_v4.3' into 'release/v4.3'
...
Fixed the issue memory access out of bounds in a2dp_source example (v4.3)
See merge request espressif/esp-idf!21146
2022-11-23 10:32:01 +08:00
Island
cb79ad78d1
Merge branch 'bugfix/change_log_print_forv4.3' into 'release/v4.3'
...
ble_mesh:example:Add command to test the function of duplicate exceptional list(v4.3)
See merge request espressif/esp-idf!21122
2022-11-23 10:25:33 +08:00
Yuan Hong Hui
35d63c893c
ble_mesh:example:Add command to test the function of duplicate exceptional list(v4.3)
2022-11-23 10:25:33 +08:00
Roland Dobai
784019ee2f
Merge branch 'fix/bitstring_4_v4.3' into 'release/v4.3'
...
Tools: Use bitstring package compatible with supported Python versions (v4.3)
See merge request espressif/esp-idf!21180
2022-11-22 03:48:40 +08:00
Roland Dobai
b456d19ace
Tools: Use bitstring package compatible with supported Python versions
...
Bitstring>=4 supports Python 3.7+ only. See:
https://github.com/scott-griffiths/bitstring/releases/tag/bitstring-4.0.1
2022-11-21 15:15:04 +01:00
zhiweijian
92c8189388
support BLE memory release on ESP32C3 and ESP32S3
2022-11-21 12:21:47 +08:00
zhiweijian
30f2cc87ce
Update bt lib for ESP32C3
...
- Added config to disable scan backoff
- Fixed llm_scan.c assert at line 1485 during controller deinit if duplicate scan is not stopped
- Call pll track in controller task
2022-11-21 12:04:35 +08:00
zhiweijian
bba1cd5afa
Fixed ble_compatibility_test example NVS init error
2022-11-21 11:12:08 +08:00
zwj
098465ff74
Fixed errors reported by CI clang_tidy_check
2022-11-21 11:11:52 +08:00
zwj
da42e4a234
Fixed sometimes BTU task overflow when doing read and write performance test
2022-11-21 11:11:40 +08:00
zhiweijian
14f396c367
change default tx power from 3dBm to 9dBm
2022-11-21 11:11:17 +08:00
morris
c283d9f1a3
Merge branch 'bugfix/fix_iram_end_redefined_backportv4.3' into 'release/v4.3'
...
bugfix: fix redefined _iram_end (backport v4.3)
See merge request espressif/esp-idf!21154
2022-11-20 18:30:46 +08:00
wuzhenghui
378fa313ec
bugfix: fix redefined _iram_end
2022-11-18 19:50:23 +08:00
liqigan
60875836bd
fix HFP client parse CLCC command response bug
2022-11-18 19:44:17 +08:00
Jin Cheng
32ac92adf8
Fixed the issue memory access out of bounds in a2dp_source example
2022-11-18 16:40:46 +08:00
Jiang Jiang Jian
ea57dd4363
Merge branch 'bugfix/fix_current_leakage_when_hold_digital_io_during_deep_sleep_backport_v4.3' into 'release/v4.3'
...
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep(backport v4.3)
See merge request espressif/esp-idf!20946
2022-11-18 16:37:28 +08:00
jingli
b6896055a2
hal/gpio_ll: fix digital gpio can not enable hold during deep sleep when force_unhold set(32/s2/s3)
2022-11-18 03:00:01 +00:00
jingli
58e9ce6fe3
hal/gpio_ll: fix digital gpio can not disable hold during deep sleep
2022-11-18 03:00:01 +00:00
jingli
24eea75f9c
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep
2022-11-18 03:00:01 +00:00
Mahavir Jain
9d3d773228
Merge branch 'bugfix/flake8_precommit_v4.3' into 'release/v4.3'
...
precommit: update flake8 repo url to use github (v4.3)
See merge request espressif/esp-idf!21097
2022-11-17 12:11:41 +08:00
Marius Vikhammer
11c0850159
precommit: update flake8 repo url to use github
...
Gitlab mirror repo has been deprecated.
2022-11-15 16:26:42 +08:00
morris
3bbb109eb2
Merge branch 'feature/remove_psram_cs_clk_pin_settings_config_s2_s3_v4.3' into 'release/v4.3'
...
psram: remove CS/CLK pin settings in kconfig on ESP32S2 (v4.3)
See merge request espressif/esp-idf!21048
2022-11-14 17:17:13 +08:00
Jiang Jiang Jian
289a3311de
Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected_v4.3' into 'release/v4.3'
...
fixed the issue iOS devices cannot initiate connection (v4.3)
See merge request espressif/esp-idf!21061
2022-11-14 15:28:40 +08:00
Shreyas Sheth
7e8cca6c2f
esp_wifi: Bugfix WPA Enterprise Reauthentication issue
2022-11-14 11:12:58 +05:30
Jin Cheng
60e281805c
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-11-14 09:50:22 +08:00
Michael (XIAO Xufeng)
af61c51385
Merge branch 'test/rtc_8m_d256_v4.3' into 'release/v4.3'
...
rtc: fixed 8MD256 can't be used as RTC slow src on ESP32 (v4.3)
See merge request espressif/esp-idf!18106
2022-11-12 00:45:11 +08:00
Armando
522cf49d33
psram: remove CS/CLK pin settings in kconfig on ESP32S2
2022-11-11 18:15:54 +08:00
morris
bfbf1139ae
Merge branch 'bugfix/fix_modbus_rs485_rts_en_fail_v43' into 'release/v4.3'
...
Bugfix/fix modbus rs485 rts en fail (backport v4.3)
See merge request espressif/esp-idf!16257
2022-11-09 15:46:51 +08:00
Jiang Jiang Jian
0dbc3400a3
Merge branch 'bugfix/add_protection_for_mac_rst_v4.3' into 'release/v4.3'
...
esp_wifi: add protection for mac reset (backport 4.3)
See merge request espressif/esp-idf!20971
2022-11-09 13:58:05 +08:00
Song Ruo Jing
b8e62ce4b2
uart: Fix unwanted processing of TX_DONE interrupt immediately after calling uart_wait_tx_done()
...
In previous transmission(s), the TX_DONE interrupt raw bit may be raised, but never been cleared.
TX_DONE interrrupt status bit should be cleared before enabling it to check the new transmission.
2022-11-09 02:31:15 +00:00
aleks
a6e524418d
freemodbus: fix uart_wait_tx_done() reenable tx_done interrupt
2022-11-09 02:31:15 +00:00
aleks
bc1f50dc0f
freemodbus: fix rts enable fail when transmit frame
2022-11-09 02:31:15 +00:00
aleks
baa0aad20e
freemodbus: fix modbus rs485 rts enable fail v42
2022-11-09 02:31:15 +00:00
liuning
dbe59eff86
esp_wifi: add protection for mac reset (backport 4.3)
2022-11-08 14:04:52 +08:00
Jiang Jiang Jian
635a9c5efb
Merge branch 'bugfix/mqtt_enqueue4_3' into 'release/v4.3'
...
[mqtt] Fix esp_mqtt_client_enqueue for len=0 (v4.3)
See merge request espressif/esp-idf!20303
2022-11-08 11:08:00 +08:00
Jiang Jiang Jian
ffe6f240cf
Merge branch 'bugfix/time_jump_after_reboot_v4.3' into 'release/v4.3'
...
esp_hw_support: Fix time jump after reboot (v4.3)
See merge request espressif/esp-idf!20909
2022-11-08 11:07:51 +08:00
Jiang Jiang Jian
714cf794f2
Merge branch 'bugfix/keep_rtc8m_in_lightsleep_v4.3' into 'release/v4.3'
...
pm: fixed RTC8M domain power down issue when used as RTC source (v4.3)
See merge request espressif/esp-idf!18080
2022-11-08 11:04:50 +08:00
Jiang Jiang Jian
b08d2c8693
Merge branch 'bugfix/fix_trans_optional_info_using_group_addr_v4.3' into 'release/v4.3'
...
ble_mesh: stack: Fix can't trans optional info to group address(v4.3)
See merge request espressif/esp-idf!20960
2022-11-08 11:04:16 +08:00
wangjialiang
215e1262ba
ble_mesh: stack: Fix can't trans optional info to group address
2022-11-07 15:48:56 +08:00
jingli
81b98881ac
esp_hw_support/sleep: fix cannot pd cpu and rc fast at the same time during light sleep
...
Since cpu retention dma use rc fast as clk source, so rc_fast_digi
will be enabled when we config to pd cpu. And cpu retention does not
need rc fast keep on during light sleep. So, if we use rc_fast_digi
to determine whether rc fast can be powered down, then cpu and and
rc fast cannot pd at the same time.
2022-11-06 01:34:18 +08:00
Michael (XIAO Xufeng)
7931c033ed
pm: fixed RTC8M domain power issues
...
introduced in e44ead5356
1. The int8M power domain config by default is PD. While LEDC is using
RTC8M as clock source, this power domain will be kept on.
But when 8MD256 is used as RTC clock source, the power domain should
also be kept on.
On ESP32, there was protection for it, but broken by commit
e44ead5356
. Currently the power domain
will be forced on when LEDC is using RTC8M as clock source &&
!int8m_pd_en (user enable ESP_PDP_DOMAIN_RTC8M in lightsleep). Otherwise
the power domain will be powered off, regardless of RTC clock source.
In other words, int8M domain will be forced off (even when 8MD256
used as RTC clock source) if LEDC not using RTC8M as clock source, user
doesn't enable ESP_PDP_DOMAIN_RTC8M, or in deep sleep.
On later chips, there's no such protection, so 8MD256 could't be used as
RTC clock source in sleep modes.
This commit adds protection of 8MD256 clock to other chips. Fixes the
incorrect protection logic overriding on ESP32. Now the power domain
will be determiend by the logic below (order by priority):
1. When RTC clock source uses 8MD256, power up
2. When LEDC uses RTC8M clock source, power up
3. In deepsleep, power down
4. Otherwise determined by user config of ESP_PDP_DOMAIN_RTC8M,
power down by default. (This is preferred to have highest
priority, but it's kept as is because of current code structure.)
2. Before, after the macro `RTC_SLEEP_CONFIG_DEFAULT` decides dbias, the
protection above may force the int8m PU. This may cause the inconsistent
of dbias and the int8m PU status.
This commit lifts the logic of pd int8m/xtal fpu logic to upper layer
(sleep_modes.c).
Related: https://github.com/espressif/esp-idf/issues/8007 , https://github.com/espressif/esp-idf/pull/8089
temp
2022-11-05 20:02:53 +08:00
Jiang Jiang Jian
abb7962161
Merge branch 'bugfix/set_ap_rsnxe_while_connect_v4.3' into 'release/v4.3'
...
esp_wifi:Set AP rsnxe while connecting to a AP
See merge request espressif/esp-idf!20482
2022-11-04 16:38:16 +08:00