Jiang Jiang Jian
14b204e201
Merge branch 'bugfix/pm_enabled_bt_build_fail_v4.2' into 'release/v4.2'
...
Bluetooth build fail when power management is enabled(v4.2)
See merge request espressif/esp-idf!18383
2022-06-15 11:07:08 +08:00
Jiang Jiang Jian
a3374b2d2f
Merge branch 'bugfix/fix_cannot_lslp_again_after_ulp_wakeup_backport_v4.2' into 'release/v4.2'
...
sleep: fix cannot lightsleep again after a wakeup from ULP(backport v4.2)
See merge request espressif/esp-idf!18218
2022-06-07 11:21:42 +08:00
xiongweichao
0cb13d47cc
Bluetooth build fail when power management is enabled
2022-06-06 20:28:25 +08:00
keymoon
c670dc6d14
assign value to uninitialized bt_addr
field
2022-05-29 18:04:53 -07:00
keymoon
2bf87b0a53
add address field to read_rmt_name_param
2022-05-29 18:04:41 -07:00
jingli
57975000fe
esp_hw_support/sleep: fix cannot lightsleep again after a wakeup from ULP
...
Since ulp wakeup signal are connected to ulp int raw(except esp32), we
need to clear ulp int raw before sleep when ulp wakeup enabled. Otherwise,
if the ulp int raw is already set, chip will not sleep properly.
Closes https://github.com/espressif/esp-idf/issues/6229
2022-05-23 01:00:28 +08:00
Jiang Jiang Jian
b6b7a59958
Merge branch 'bugfix/twai_esp32_errata_workarounds_backport_v4.2' into 'release/v4.2'
...
TWAI: Add FIFO overrun handling and ESP32 hardware errata workarounds + Refactor TWAI HAL to store state information (backport v4.2)
See merge request espressif/esp-idf!17106
2022-05-19 10:55:59 +08:00
Jiang Jiang Jian
b74fc002f1
Merge branch 'bugfix/driver_uart_fix_tx_bytes_rts_assert_failure_v42' into 'release/v4.2'
...
driver: fixes context switch while sending cause rts reset before send (backport v4.2)
See merge request espressif/esp-idf!17942
2022-05-19 10:55:36 +08:00
Alex Lisitsyn
721e26019e
driver: fixes context switch while sending cause rts reset before send (backport v4.2)
2022-05-19 10:55:35 +08:00
Jiang Jiang Jian
9cb1729107
Merge branch 'bugfix/fix_adc_calibration_light_sleep_issue_v4.2' into 'release/v4.2'
...
adc: fix calibration error when waking up from light sleep (v4.2)
See merge request espressif/esp-idf!16931
2022-05-19 10:55:10 +08:00
Jiang Jiang Jian
0fba64486a
Merge branch 'bugfix/spi_lose_last_3_bytes_v4.2' into 'release/v4.2'
...
spi_master: fix an issue where master cannot correctly receive data when using DMA in halfduplex mode (v4.2)
See merge request espressif/esp-idf!17379
2022-05-19 10:54:36 +08:00
Jiang Jiang Jian
c71a9e5704
Merge branch 'feature/check_block_after_burn_v4.2' into 'release/v4.2'
...
efuse: Validates data after burning and re-burnes it if necessary (v4.2)
See merge request espressif/esp-idf!17704
2022-05-19 10:54:19 +08:00
Jiang Jiang Jian
d6a975f6b2
Merge branch 'bugfix/_rtc_slow_length_incorrectly_optimized_backport_v4.2' into 'release/v4.2'
...
sleep_power_domain: fix _rtc_slow_length being incorrectly optimized by compiler(backport v4.2)
See merge request espressif/esp-idf!17976
2022-05-10 01:04:37 +08:00
morris
d0db75899d
Merge branch 'bugfix/ledc_consecutive_fade_v4.2' into 'release/v4.2'
...
ledc: Bugfixes for issues related to fade protection (backport v4.2)
See merge request espressif/esp-idf!16955
2022-05-07 18:24:45 +08:00
jingli
05b7db9cd8
fix _rtc_slow_length being incorrectly optimized by compiler
2022-05-01 23:26:52 +08:00
Jiang Jiang Jian
667f3dfbad
Merge branch 'bugfix/ignore_pmf_capable_flag_v4.2' into 'release/v4.2'
...
Always connect Station in PMF mode if possible (Backport v4.2)
See merge request espressif/esp-idf!17538
2022-05-01 20:10:58 +08:00
Jiang Jiang Jian
bf7b430f55
Merge branch 'contrib/github_pr_8779_v4.2' into 'release/v4.2'
...
esp_wifi: fix clearing default wifi netif procedure(v4.2)
See merge request espressif/esp-idf!17940
2022-04-28 16:17:14 +08:00
Jiang Jiang Jian
00d2c3037a
Merge branch 'bugfix/fix_disable_bt_log_ci_fail_v4.2' into 'release/v4.2'
...
component_bt: Fix CI failure when disable bluetooth debug log(v4.2)
See merge request espressif/esp-idf!17905
2022-04-27 18:20:27 +08:00
Krzysztof Lewandowski
55b6ff6fbd
esp_wifi: fix clearing default wifi netif procedure
...
Prior to this change "esp_wifi_clear_default_wifi_driver_and_handlers"
will not remove netif pointer from table when both AP and STA interfaces were
created and destroying default wifi interfaces is done in unfortunate
order. As a result there is dangling pointer left and it may cause crash in
later code (i.e. when esp_wifi_stop() is called).
2022-04-27 03:23:20 -04:00
xiongweichao
d59d373edc
Fix spp initialization failure without free mutex
2022-04-27 14:49:39 +08:00
xiongweichao
9e2ae1271d
Fix spp crash after calling esp_spp_deinit
2022-04-27 14:43:42 +08:00
xiongweichao
0825981026
Fix CI failure when disable bluetooth debug log
2022-04-26 15:06:50 +08:00
KonstantinKondrashov
83728f3832
efuse: fix
2022-04-26 00:08:51 +08:00
wangjialiang
7691b8effb
ble_mesh: stack: Bugfix for oversized SegN as valid
2022-04-25 11:53:35 +08:00
Jack
be2779818b
fix build error
2022-04-23 01:11:29 +08:00
Jack
fdf79ce300
ESP_WIFI: Remove static analysis warnings
2022-04-23 00:54:30 +08:00
Kapil Gupta
dc87416df0
wpa_supplicant: static analysis fixes
2022-04-23 00:33:34 +08:00
Kapil Gupta
a26b0dbaab
wpa_supplicant: Add BTM security checks
2022-04-23 00:26:08 +08:00
xiewenxiang
d976bbec08
esp_phy: Add IRAM_ATTR for phy i2c spinlock
2022-04-21 02:57:08 +08:00
Wang Meng Yang
d8105a565e
Merge branch 'bugfix/fix_spp_initiator_connect_failed_v4.2' into 'release/v4.2'
...
Component_bt/Fix SPP initiator can not free resource when connection is failed[backport 4.2]
See merge request espressif/esp-idf!17746
2022-04-19 15:49:12 +08:00
Michael (XIAO Xufeng)
5edd6a4ddf
spi_master: fix the error log when use tx/rx_data with larger data
2022-04-18 15:15:06 +08:00
Michael (XIAO Xufeng)
396159299c
Merge branch 'bugfix/gpio_pin_num_fix_v4.2' into 'release/v4.2'
...
gpio: Fix some gpio pin num errors on esp32s2 (backport v4.2)
See merge request espressif/esp-idf!17110
2022-04-18 14:49:52 +08:00
Jakob Hasse
e5eccb409e
bugfix (nvs): Fixed issues found by Coverity
...
* Fixed potential memory leak
* Fixed wrong strncpy usage
* Fixed potential out of bounds access
2022-04-13 18:02:47 +08:00
Nachiket Kukade
154e579cfc
esp_wifi: Always connect Station in PMF mode if possible
...
While using esp_wifi_set_config, flag pmf_capable defaults to 0.
Users may not bother to enable it, which prevents connection to a
WPA3 AP. Or the AP may reset into WPA3 mode failing the re-connection.
To ensure better security, deprecate the pmf_capable flag and set it to
true internally.
Additionally add API esp_wifi_disable_pmf_config to disable PMF for
debug purposes or to avoid PMF issues on AP side.
2022-04-12 18:40:51 +05:30
liqigan
0c2c192013
add missing unlock in btc_spp_cb_handler of BTA_JV_RFCOMM_WRITE_EVT
2022-04-12 15:37:07 +08:00
liqigan
95ad53153f
fix SPP initiator can not free resource when connection is failed
2022-04-12 15:36:47 +08:00
Wang Meng Yang
43ee24a52e
Merge branch 'bugfix/bt_add_some_debug_log_v4.2' into 'release/v4.2'
...
component_bt: Add some bluetooth debug log(v4.2)
See merge request espressif/esp-idf!17616
2022-04-11 10:53:40 +08:00
KonstantinKondrashov
dffcb3d0fb
efuse: Fix 3/4 coding scheme UTs
2022-04-08 17:13:23 +08:00
morris
ffe304268d
Merge branch 'bugfix/modbus_add_task_affinity_and_callbacks_v42' into 'release/v4.2'
...
freemodbus: add task affinity and callbacks (backport v4.2)
See merge request espressif/esp-idf!14542
2022-04-08 15:59:33 +08:00
KonstantinKondrashov
3a4cf61318
efuse: Improve messages during burn operation
2022-04-07 22:25:06 +08:00
Michael (XIAO Xufeng)
2ec7449c37
Merge branch 'bugfix/phy_regi2c_critical_section_v4.2' into 'release/v4.2'
...
esp_phy: use spinlock to avoid regi2c access conflicts (v4.2)
See merge request espressif/esp-idf!17693
2022-04-07 20:19:33 +08:00
KonstantinKondrashov
08a06865ec
efuse: Burn func can return an error
...
esp_efuse_utility_burn_chip()
2022-04-06 23:42:26 +08:00
KonstantinKondrashov
26619521fb
efuse: Validates data after burning and re-burnes it if necessary
...
It checks the content of the written data and encoding errors.
2022-04-06 20:02:46 +08:00
Michael (XIAO Xufeng)
50b87ff953
mmap: fixed the issue mmap cannot be called with pointers to psram
2022-04-06 17:23:42 +08:00
Michael (XIAO Xufeng)
cb0b143cb3
esp_phy: use spinlock to avoid regi2c access conflicts
2022-04-06 15:01:35 +08:00
Michael (XIAO Xufeng)
171096e856
regi2c: use safe version of spinlock, instead of ISR ver
2022-04-06 14:47:10 +08:00
Michael (XIAO Xufeng)
69c95bf983
Merge branch 'bugfix/spi_free_crash_uninitialized_v4.2' into 'release/v4.2'
...
spi: fixed crash when calling spi_bus_free when not initialized (v4.2)
See merge request espressif/esp-idf!17610
2022-04-01 11:17:54 +08:00
chaijie
b2e08332e3
ESP32: Fix xtal 32k not oscillate or oscillate too slowly issue
...
ESP32 in revision0 and revision1 uses touchpad to provide
current to oscillate xtal 32k. But revision2 and revision3
do not need to do that.
Note: touchpad can not work and toupad/ULP wakeup sources
are not available when toupad provides current to xtal 32k
2022-03-30 15:27:03 +08:00
songruojing
9e79d0e06f
ledc: Fix FADE_NO_WAIT mode concurrency problem.
...
Add test cases for fade concurrency issue and fade timing check.
Closes https://github.com/espressif/esp-idf/issues/6710
(cherry picked from commit be2ab09832
)
2022-03-29 03:42:06 +00:00
songruojing
01547c4bd8
ledc: Simplify the procedure to perform a one-time duty update
...
Avoid adding one extra fade cycle when performing a one-time duty update.
Add some notes to ledc_get_duty and ledc_update_duty APIs, so that users
are aware of when the new duty will be effective.
Closes https://github.com/espressif/esp-idf/issues/7288
(cherry picked from commit e175086226
)
2022-03-29 03:42:06 +00:00