Jiang Jiang Jian
b137ae4259
Merge branch 'bugfix/fix_wifi_pm_state_v4.3' into 'release/v4.3'
...
esp_wifi: fix no null data after WiFi waking up. (backport v4.3)
See merge request espressif/esp-idf!18144
2022-05-18 17:42:55 +08:00
Jiang Jiang Jian
2a83da379f
Merge branch 'bugfix/disable_bt_pll_track_v4.3' into 'release/v4.3'
...
Bluetooth: disable PLL track function for ESP32-C3/ESP32-S3 as it introduced coexistence issues(bacport v4.3)
See merge request espressif/esp-idf!18140
2022-05-18 17:24:55 +08:00
Michael (XIAO Xufeng)
61e1b81752
Merge branch 'bugfix/fix_memory_miss_bug_v4.3' into 'release/v4.3'
...
esp32c3: Fix cpu crash bug when wakeup from lightsleep for memory data miss (backport v4.3)
See merge request espressif/esp-idf!17825
2022-05-18 12:08:56 +08:00
Jiang Jiang Jian
34c9af3e2d
Merge branch 'bugfix/driver_uart_fix_tx_bytes_rts_assert_failure_v43' into 'release/v4.3'
...
driver: fixes context switch while sending cause rts reset before send (backport v4.3)
See merge request espressif/esp-idf!17935
2022-05-18 02:22:17 +08:00
Alex Lisitsyn
94c4c3186d
driver: fixes context switch while sending cause rts reset before send (backport v4.3)
2022-05-18 02:22:17 +08:00
Jiang Jiang Jian
35ddb13090
Merge branch 'feature/check_block_after_burn_v4.3' into 'release/v4.3'
...
efuse: Validates data after burning and re-burnes it if necessary (v4.3)
See merge request espressif/esp-idf!17703
2022-05-18 02:21:20 +08:00
Jiang Jiang Jian
f60bbf5172
Merge branch 'feature/esp32c3_apptrace_v4.3' into 'release/v4.3'
...
apptrace: refactoring & esp32c3 support (v4.3)
See merge request espressif/esp-idf!17878
2022-05-18 02:09:44 +08:00
Jiang Jiang Jian
30013ca66f
Merge branch 'bugfix/idle_task_skipped_light_sleep_backport_v4.3' into 'release/v4.3'
...
pm_impl: fix neither enter light sleep nor enter waiti state in idle task(backport v4.3)
See merge request espressif/esp-idf!17848
2022-05-18 02:08:29 +08:00
liuning
692265302e
esp_wifi: fix no null data after WiFi waking up. (backport v4.3)
2022-05-17 23:32:33 +08:00
Karl Wang
cd43531831
components/bt: disable Bluetooth PLL track function for ESP32-C3/ESP32-S3 as it introduced coexistence issuescomponents/bt: disable Bluetooth PLL track function for ESP32-C3 as it introduced coexistence issues
2022-05-17 20:58:31 +08:00
Cao Sen Miao
75f6279c22
I2C: patch for solving watchdog timeout issue
2022-05-17 16:56:58 +08:00
Mahavir Jain
6042412a35
Merge branch 'feature/optimize_wifi_provisioning_memory_v4.3' into 'release/v4.3'
...
feat(wifi_provisioning): Optimize memory for wifi scan ap number (backport v4.3)
See merge request espressif/esp-idf!18114
2022-05-17 14:13:23 +08:00
chaijie
908192f504
solve memory error bug when in lightsleep mode
2022-05-16 19:42:56 +08:00
Jiang Jiang Jian
5fe7d538a5
Merge branch 'bugfix/fix_esp32c3_brownout_bug_after_deepsleep_v4.3' into 'release/v4.3'
...
rtc: fix c3 brownout bug after deepsleep (backport v4.3)
See merge request espressif/esp-idf!17959
2022-05-16 16:10:52 +08:00
Jiang Jiang Jian
3fa2d25983
Merge branch 'bugfix/fix_websocket_server_v4.3' into 'release/v4.3'
...
fix(server): Fix websocket server not support handle multiple connections when client send CLOSE frame (backport v4.3)
See merge request espressif/esp-idf!18019
2022-05-16 16:10:32 +08:00
yuanjm
3a532ecb5c
feat(wifi_provisioning): Optimize memory for wifi scan ap number
2022-05-16 14:14:23 +08:00
lorenzo.consolaro
721a59dd31
Fix iOS advertisement response and simplify
2022-05-16 04:08:12 +00:00
Alexey Gerenkov
d06fac5c8b
apptrace: Adds ESP32-C3 support
2022-05-13 16:23:46 +03:00
Michael (XIAO Xufeng)
58f378602f
Merge branch 'feature/usb_serial_default_option_v4.3' into 'release/v4.3'
...
vfs_usb_serial: set secondary selection for making usb port can output under default menu (backport v4.3)
See merge request espressif/esp-idf!18062
2022-05-13 17:24:33 +08:00
Alexey Gerenkov
fa6655cbcf
apptrace: Refactors apptrace for better support various tracing HW
2022-05-13 08:45:31 +00:00
Alexey Gerenkov
440c4a28d7
hal/esp32c3: Avoid entering WFI mode under debugger
2022-05-13 08:45:31 +00:00
Jiang Jiang Jian
91f679bdb3
Merge branch 'bugfix/fix_disable_bt_log_ci_fail_v4.3' into 'release/v4.3'
...
component_bt: Fix CI failure when disable bluetooth debug log(v4.3)
See merge request espressif/esp-idf!17906
2022-05-13 15:22:16 +08:00
Jiang Jiang Jian
181b75e152
Merge branch 'bugfix/fix_phy_tx_power_limit_v4.3' into 'release/v4.3'
...
esp_wifi: fix phy limit tx power for s2/c3
See merge request espressif/esp-idf!17907
2022-05-13 15:21:50 +08:00
Jiang Jiang Jian
c9ff4822c5
Merge branch 'bugfix/spp_crash_after_call_spp_deinit_v4.3' into 'release/v4.3'
...
Component_bt/Fix spp crash after call esp_spp_deinit(v4.3)
See merge request espressif/esp-idf!17931
2022-05-13 15:21:07 +08:00
Jiang Jiang Jian
7df94ffb2e
Merge branch 'contrib/github_pr_8779_v4.3' into 'release/v4.3'
...
esp_wifi: fix clearing default wifi netif procedure(v4.3)
See merge request espressif/esp-idf!17939
2022-05-13 15:20:12 +08:00
Jiang Jiang Jian
3207993eb7
Merge branch 'bugfix/_rtc_slow_length_incorrectly_optimized_backport_v4.3' into 'release/v4.3'
...
sleep_power_domain: fix _rtc_slow_length being incorrectly optimized by compiler(backport v4.3)
See merge request espressif/esp-idf!17975
2022-05-13 15:19:50 +08:00
Cao Sen Miao
0f2aa2eae4
vfs_usb_serial: set secondary selection for making usb port can output under default menu
2022-05-12 12:23:35 +08:00
yuanjm
15090af9d1
fix(server): Fix websocket server not support handle multiple connections when client send CLOSE frame
2022-05-06 17:58:52 +08:00
xiongweichao
d6f857a2f0
Fix ESP32C3 build error after enable light sleep
2022-05-05 10:50:33 +08:00
jingli
92ccc5fa95
fix _rtc_slow_length being incorrectly optimized by compiler
2022-05-01 23:22:05 +08:00
chaijie
0d5f7b5521
fix c3 brownout bug after deepsleep
2022-04-28 18:20:25 +08:00
KonstantinKondrashov
28e50c1180
efuse: fix
2022-04-28 09:29:10 +00:00
KonstantinKondrashov
4be976e40d
efuse: Fix 3/4 coding scheme UTs
2022-04-28 09:29:10 +00:00
KonstantinKondrashov
adc9261443
efuse: Improve messages during burn operation
2022-04-28 09:29:10 +00:00
KonstantinKondrashov
2e9e5d6e7c
efuse: Burn func can return an error
...
esp_efuse_utility_burn_chip()
2022-04-28 09:29:10 +00:00
KonstantinKondrashov
2ba9cd6c54
efuse: Validates data after burning and re-burnes it if necessary
...
It checks the content of the written data and encoding errors.
2022-04-28 09:29:10 +00:00
xiongweichao
e0cf810bab
Fix spp initialization failure without free mutex
2022-04-27 14:25:45 +08:00
xiongweichao
a9b515d0d1
Fix spp crash after calling esp_spp_deinit
2022-04-27 14:25:38 +08:00
Krzysztof Lewandowski
068221cb33
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-26 22:51:28 -04:00
Jessy Chen
94bac458bf
esp_wifi: fix phy limit tx power for s2/c3
2022-04-26 03:26:10 -04:00
xiongweichao
30b2cad3b7
Fix CI failure when disable bluetooth debug log
2022-04-26 15:14:26 +08:00
wangjialiang
c4f39a5d91
ble_mesh: stack: Bugfix for oversized SegN as valid
2022-04-25 11:52:30 +08:00
Jiang Jiang Jian
588436db47
Merge branch 'feature/touch_sense_test_case_v4.3' into 'release/v4.3'
...
touch_element: add unit test for Touch Element lib (backport v4.3)
See merge request espressif/esp-idf!15084
2022-04-23 15:22:27 +08:00
Jiang Jiang Jian
df8ebc9bba
Merge branch 'bugfix/fix_build_warring_v4.3' into 'release/v4.3'
...
esp_wifi: fix build warning(v4.3)
See merge request espressif/esp-idf!17839
2022-04-23 15:21:56 +08:00
Jiang Jiang Jian
e48cf0c188
Merge branch 'bugfix/interrupted_thread_gdb_bt_v4.3' into 'release/v4.3'
...
riscv: Fixes GDB backtrace of interrupted threads (v4.3)
See merge request espressif/esp-idf!17722
2022-04-23 13:56:51 +08:00
Jiang Jiang Jian
3477c342e2
Merge branch 'bugfix/rrm_dpp_task_delete_v4.3' into 'release/v4.3'
...
wpa_supplicant: backport WLAN fixes (release v4.3)
See merge request espressif/esp-idf!17656
2022-04-23 13:50:57 +08:00
Jack
ffd68203f6
fix build error
2022-04-22 21:52:42 +08:00
Omar Chebib
e1d3993309
RISC-V: Fix vectors.S assembly file indentation and macro usage
...
The file is now more consistent as the macros have been fixed, more comments
have been added and the indentation is now using spaces only.
2022-04-22 13:17:59 +03:00
Alexey Gerenkov
dfd3a9c3bc
riscv: Use semihosting to set breakpoint and watchpoint when running under debugger
2022-04-22 13:17:54 +03:00
Alexey Gerenkov
4edc903bb3
riscv: Adds support for returning from exception handler
2022-04-22 12:38:16 +03:00
Alexey Gerenkov
e688645ff9
riscv: Fixes GDB backtrace end function to point to prvTaskExitError
2022-04-22 12:38:16 +03:00
Alexey Gerenkov
f8a0279e5d
riscv: Fixes GDB backtrace of interrupted threads
...
Save missed SP value on stack
2022-04-22 12:38:16 +03:00
Jack
81d1226f53
ESP_WIFI: Remove static analysis warnings
2022-04-22 17:17:48 +08:00
Jiang Jiang Jian
846cbf14dc
Merge branch 'bugfix/spiffs_check_part_alignment_v4.3' into 'release/v4.3'
...
spiffs: add init checks for partition alignment and data types (v4.3)
See merge request espressif/esp-idf!17836
2022-04-22 13:07:03 +08:00
morris
a818e9ca91
Merge branch 'bugfix/fix_adc_digital_not_reset_issue_v4.3' into 'release/v4.3'
...
adc: fix adc digital not reset issue (v4.3)
See merge request espressif/esp-idf!17427
2022-04-22 12:43:44 +08:00
Kang Zuoling
a37e9318ef
touch_element: add unit test for Touch Element lib
2022-04-22 03:13:25 +00:00
Jiang Jiang Jian
1ad55d707b
Merge branch 'origin/bugfix/i2c_iram_placement_fix_v4.3' into 'release/v4.3'
...
i2c: Correct hal functions iram placement and remove IRAM_ATTR for i2c_hw_fsm_reset (backport v4.3)
See merge request espressif/esp-idf!17805
2022-04-22 11:08:17 +08:00
Jiang Jiang Jian
1d72f077c5
Merge branch 'bugfix/scan_mixed_keymgmt_issue_v4.3' into 'release/v4.3'
...
Combined fix for scan issue and PMF disable API (Backport v4.3)
See merge request espressif/esp-idf!17749
2022-04-22 10:58:47 +08:00
Kapil Gupta
6d3dc2e616
wpa_supplicant: Remove scan done event in task
2022-04-22 02:40:15 +00:00
Kapil Gupta
8ef2842074
wpa_supplicant: static analysis fixes
2022-04-22 02:40:15 +00:00
Kapil Gupta
bf4f9b9e41
wpa_supplicant: Add BTM security checks
2022-04-22 02:40:15 +00:00
Kapil Gupta
b1f7ad6983
esp_example: Enable MbedTLS for DPP enrollee by default
2022-04-22 02:40:15 +00:00
Kapil Gupta
fdbb3da1b4
wpa_supplicant: Correct task deletion for RRM and DPP tasks
...
Closes https://github.com/espressif/esp-idf/issues/7409
2022-04-22 02:40:15 +00:00
Ivan Grokhotkov
9532e1ccc6
Merge branch 'bugfix/vfs_fat_(p)write_on_diskfull_v4.3' into 'release/v4.3'
...
vfs: bugfix vfs_fat_write/pwrite upon disk-full (v4.3)
See merge request espressif/esp-idf!17650
2022-04-21 23:12:44 +08:00
Armando
f8c098658c
adc: fix adc digital not reset issue
2022-04-21 19:29:15 +08:00
Michael (XIAO Xufeng)
21daee7dce
Merge branch 'bugfix/wrong_gpio_is_deep_sleep_wakeup_valid_gpio_v4.3' into 'release/v4.3'
...
gpio: fix wrong GPIO_IS_DEEP_SLEEP_WAKEUP_VALID_GPIO macro (backport v4.3)
See merge request espressif/esp-idf!17806
2022-04-21 18:17:20 +08:00
Nachiket Kukade
436be30045
esp_wifi: Update wifi lib
...
1. In scan, correctly identify AP's with mixed key mgmt
2. Add API to disable PMF configuration
2022-04-21 14:40:21 +05:30
Jiang Jiang Jian
4ef87d2505
Merge branch 'update/c3_s3_phy_lib_20220419_v4.3' into 'release/v4.3'
...
Update/c3 s3 phy lib aa05aec (backport v4.3)
See merge request espressif/esp-idf!17816
2022-04-21 16:04:49 +08:00
morris
d04a94320a
Merge branch 'bugfix/fix_adc_calibration_light_sleep_issue_v4.3' into 'release/v4.3'
...
adc: fix calibration error when waking up from light sleep (v4.3)
See merge request espressif/esp-idf!16929
2022-04-21 15:56:10 +08:00
Michael (XIAO Xufeng)
8b1826f86e
Merge branch 'bugfix/spi_slave_intr_iram_v4.3' into 'release/v4.3'
...
driver: spi_slave: make sure CS helpers are in IRAM if the ISR is (v4.3)
See merge request espressif/esp-idf!17832
2022-04-21 15:50:03 +08:00
gaoxiaojie
b1b92d46e5
pm_impl: fix neither enter light sleep nor enter waiti state in idle task
2022-04-21 14:38:17 +08:00
xiewenxiang
9b0e8266c8
Update esp c3 phy lib (aa05aec)
2022-04-21 11:08:30 +08:00
xiewenxiang
f4e5ba7d9f
esp_phy: Add IRAM_ATTR for phy i2c spinlock
2022-04-21 02:56:30 +08:00
Ivan Grokhotkov
51af60adf0
spiffs: add init checks for partition alignment and data types
...
Closes https://github.com/espressif/esp-idf/issues/8593
2022-04-20 12:53:57 +02:00
Ivan Grokhotkov
e0f7d6834d
driver: spi_slave: make sure CS helpers are in IRAM if the ISR is
...
Closes https://github.com/espressif/esp-idf/issues/3870
2022-04-20 12:50:14 +02:00
Ivan Grokhotkov
5628f1f21d
console: linenoise: fix usage of an uninitialized buffer
...
Reported in https://github.com/espressif/esp-idf/issues/6440
The issue could occur if esp_console_config_t::hint_color
was set to -1.
2022-04-20 16:03:23 +05:30
Ivan Grokhotkov
be564ffd28
console: disable colored hints if CONFIG_LOG_COLORS is not set
2022-04-20 16:03:22 +05:30
Jessy Chen
2d7ae879f1
esp_wifi: fix build warning
2022-04-20 05:25:29 -04:00
Michael (XIAO Xufeng)
1ffc02dfaf
Merge branch 'feature/esp32c3_usbjtag_console_blocking_v4.3' into 'release/v4.3'
...
usb_serial_jtag: Add blocking driver to support vfs (backport v4.3).
See merge request espressif/esp-idf!17330
2022-04-20 16:30:12 +08:00
Ivan Grokhotkov
0c7d32bcdb
Merge branch 'bugfix/fatfs_warning_fix_v4.3' into 'release/v4.3'
...
fatfs: Fix putc_bfd compilation warning (v4.3)
See merge request espressif/esp-idf!17523
2022-04-20 16:20:52 +08:00
Cao Sen Miao
671303bbd5
usb_serial_jtag: Add blocking driver to support vfs.
2022-04-19 16:21:20 +08:00
Wang Meng Yang
62cc246d5f
Merge branch 'bugfix/fix_spp_initiator_connect_failed_v4.3' into 'release/v4.3'
...
Component_bt/Fix SPP initiator can not free resource when connection is failed[backport 4.3]
See merge request espressif/esp-idf!17745
2022-04-19 15:49:32 +08:00
songruo
d6c2bae1bc
gpio: fix wrong GPIO_IS_DEEP_SLEEP_WAKEUP_VALID_GPIO macro
...
Closes https://github.com/espressif/esp-idf/issues/8733
(cherry picked from commit 0d52cb04dc
)
2022-04-18 22:29:52 +08:00
Zim Kalinowski
37ec8e835b
Merge branch 'bugfix/fix_heap_free_memory_v4.3' into 'release/v4.3'
...
Heap: fix free bytes calculation for TLSF heap (backport v4.3)
See merge request espressif/esp-idf!17689
2022-04-18 21:43:07 +08:00
songruojing
a7935539b5
i2c: Correct hal functions iram placement and remove IRAM_ATTR for i2c_hw_fsm_reset
...
Closes https://github.com/espressif/esp-idf/issues/8422
Closes https://github.com/espressif/esp-idf/issues/7249
(cherry picked from commit 1ceb7c8cd6
)
2022-04-18 21:07:52 +08:00
Michael (XIAO Xufeng)
99339caedc
Merge branch 'bugfix/spi_master_clear_error_fifo_status_v4.3' into 'release/v4.3'
...
spi_master: clear error fifo status before transaction starts (v4.3)
See merge request espressif/esp-idf!16207
2022-04-18 13:10:14 +08:00
Michael (XIAO Xufeng)
6808bbc26c
Merge branch 'feature/esp32c3_eco4_v4.3' into 'release/v4.3'
...
esp32c3: Adds ECO4 revision (v4.3)
See merge request espressif/esp-idf!17718
2022-04-18 13:00:14 +08:00
Martin Vychodil
d1bb7cfb3f
fatfs: Fix putc_bfd compilation warning
...
Fixed FatFs\ff.c: warning: argument of type "TCHAR **" is incompatible with parameter of type "const TCHAR **"
Closes https://github.com/espressif/esp-idf/issues/5870
2022-04-14 11:55:33 +02:00
Jakob Hasse
e414dce1ff
bugfix (nvs): Fixed issues found by Coverity
...
* Fixed potential memory leak
* Fixed wrong strncpy usage
* Fixed potential out of bounds access
2022-04-14 08:30:03 +00:00
Omar Chebib
2cc879120b
Heap: fix typos in test and component
2022-04-13 14:23:51 +08:00
liqigan
2a712fccd4
add missing unlock in btc_spp_cb_handler of BTA_JV_RFCOMM_WRITE_EVT
2022-04-13 10:44:11 +08:00
liqigan
0269d062d0
fix SPP initiator can not free resource when connection is failed
2022-04-13 10:44:11 +08:00
Mahavir Jain
9cb98bf6da
Merge branch 'bugfix/http_code_v4.3' into 'release/v4.3'
...
esp_http_client, esp_https_ota: Handle HTTP 303 status code (v4.3)
See merge request espressif/esp-idf!17733
2022-04-11 19:29:29 +08:00
Shubham Kulkarni
68f206959b
esp_http_client: Add comment for clearing location field in esp_http_client_prepare
2022-04-11 09:48:31 +05:30
Nicklas Frahm
3a69b1d94f
esp_http_client: fix redirect by resetting location before parsing
...
Closes #8563 .
Signed-off-by: Nicklas Frahm <nicklas.frahm@gmail.com>
2022-04-11 09:48:31 +05:30
Shubham Kulkarni
342f566002
esp_https_ota: Add check for 303 and 308 status code
...
Closes https://github.com/espressif/esp-idf/issues/8581
2022-04-11 09:44:14 +05:30
Shubham Kulkarni
983547290b
esp_http_client: Add new status code 303 and 308
2022-04-11 09:44:14 +05:30
Wang Meng Yang
9bec068e52
Merge branch 'bugfix/bt_add_some_debug_log_v4.3' into 'release/v4.3'
...
component_bt: Add some bluetooth debug log(v4.3)
See merge request espressif/esp-idf!17615
2022-04-11 10:53:47 +08:00
KonstantinKondrashov
edde9c7892
esp32c3: Adds ECO4 revision
2022-04-08 18:25:16 +08:00
Michael (XIAO Xufeng)
75c720bcd3
esp_phy: use spinlock to avoid regi2c access conflicts
2022-04-06 14:46:10 +08:00
Michael (XIAO Xufeng)
92d6c4a502
regi2c: use safe version of spinlock, instead of ISR ver
2022-04-06 12:19:51 +08:00
Omar Chebib
d7f614d58a
Heap: fix free bytes calculation for TLSF heap
...
* Closes https://github.com/espressif/esp-idf/issues/8270
2022-04-06 10:23:11 +08:00
Michael (XIAO Xufeng)
52de71c60e
Merge branch 'Fix/update_reset_reason_v4.3' into 'release/v4.3'
...
update reset reason for c3/s3/h2 (v4.3)
See merge request espressif/esp-idf!17597
2022-03-30 17:54:22 +08:00
Vamshi Gajjela
39b6a3fcbf
vfs: bugfix vfs_fat_write/pwrite upon disk-full
...
Closes https://github.com/espressif/esp-idf/issues/5027
2022-03-30 09:56:15 +02:00
Wang Meng Yang
f789336ab9
Merge branch 'bugfix/wifi_prov_mgr_conn_issue_v4.3' into 'release/v4.3'
...
Wifi_prov_mgr: Fix for device disconnection after pairing (v4.3)
See merge request espressif/esp-idf!17621
2022-03-29 17:30:12 +08:00
wuzhenghui
1ef989a1b5
update reset reason for c3/s3/h2
2022-03-29 10:03:27 +08:00
Isha Pardikar
6a92fb2d76
Merge branch 'bugfix/wifi_prov_mgr_conn_issue' into 'release/v4.3'
...
NimBLE: Fixed device disconnection issue of wifi prov mgr
Closes IDF-4655
See merge request espressif/esp-idf!17621
2022-03-28 12:51:36 +05:30
xiongweichao
b729bf804d
Add some bluetooth debug log
2022-03-28 11:13:10 +08:00
Michael (XIAO Xufeng)
eca8b7ca41
spi: fixed crash when calling spi_bus_free when not initialized
...
introduced in 49a48644e4
Closes: https://github.com/espressif/esp-idf/issues/8642
2022-03-27 02:33:41 +08:00
morris
673d0371ba
Merge branch 'bugfix/typo_in_i2c_macro_v4.3' into 'release/v4.3'
...
I2C: Fix typo in I2C_TIMING_VAL_ERR_STR macro name (backport v4.3)
See merge request espressif/esp-idf!17117
2022-03-24 11:17:46 +08:00
Michael (XIAO Xufeng)
361a604276
Merge branch 'bugfix/esp_flash_erase_0_v4.3' into 'release/v4.3'
...
esp_flash: fix esp_flash_erase_region over-erase with 0 length (Github PR) (v4.3)
See merge request espressif/esp-idf!16805
2022-03-22 12:01:40 +08:00
Ivan Grokhotkov
f4852bc055
rom, spi_flash: add a patch for esp_flash_erase_region for C3, S3
...
Submitted in https://github.com/espressif/esp-idf/pull/7314
Closes https://github.com/espressif/esp-idf/issues/7272
2022-03-16 11:52:14 +01:00
Ivan Grokhotkov
1d933ad02c
spi_flash: add test case for esp_flash_erase_region with 0 size
2022-03-16 11:48:59 +01:00
negativekelvin
ab0eac5508
esp_flash_api fixes
2022-03-16 11:48:58 +01:00
Jiang Jiang Jian
8ffddf53bc
Merge branch 'bugfix/btdm_link_error_of_kconfig_v4.3' into 'release/v4.3'
...
Bugfix/btdm link error of kconfig v4.3
See merge request espressif/esp-idf!15466
2022-03-16 16:25:15 +08:00
Marius Vikhammer
cd598bd7c0
Merge branch 'bugfix/inline_intrmask_from_isr_v4.3' into 'release/v4.3'
...
freertos: always inline xPortSetInterruptMaskFromISR and vPortClearInterruptMaskFromISR (v4.3)
See merge request espressif/esp-idf!17326
2022-03-16 13:45:32 +08:00
Jiang Jiang Jian
70c737af4d
Merge branch 'bugfix/repeated_ftm_failures_issue_v4.3' into 'release/v4.3'
...
Combined bugfixes related to FTM and PMF (Backport v4.3)
See merge request espressif/esp-idf!16129
2022-03-16 11:00:24 +08:00
Jiang Jiang Jian
c6a96e9a57
Merge branch 'doc/update_document_of_demo_bt_discovery_v4.3' into 'release/v4.3'
...
Doc/update document of demo bt discovery v4.3
See merge request espressif/esp-idf!16576
2022-03-16 10:23:47 +08:00
Jiang Jiang Jian
0f1db7fd9c
Merge branch 'update/mqtt_refs_v4.3' into 'release/v4.3'
...
mqtt: Fix sending log data; dup flag after queue (v4.3)
See merge request espressif/esp-idf!17404
2022-03-16 10:22:47 +08:00
morris
cbca71a4e7
Merge branch 'bugfix/uart_custom_isr_broken_v4.3' into 'release/v4.3'
...
UART: fix a bug preventing the user from freeing a previously registered ISR
See merge request espressif/esp-idf!17217
2022-03-15 14:37:11 +08:00
David Čermák
e583dd0cfa
Merge branch 'bugfix/security_update_pppos_crash_v4.3' into 'release/v4.3'
...
lw-ip: Apply security fixes from upstream; Fix PPPoS and NAPT ip-forward (v4.3)
See merge request espressif/esp-idf!17421
2022-03-12 01:59:57 +08:00
baohongde
053a59a0b1
components/bt: Fix build-doc error
2022-03-11 10:48:21 +00:00
baohongde
99adcfbda0
components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller
2022-03-11 10:48:21 +00:00
baohongde
4b0c1d6f71
Fix bt init error with psram
2022-03-11 10:48:21 +00:00
baohongde
2f8b58d88f
components/bt: Combine 3 Bluetooth controller menu
2022-03-11 10:48:21 +00:00
baohongde
6f86e1bb63
components/bt: Fix link error of Kconfig
2022-03-11 10:48:21 +00:00
Marius Vikhammer
491b95925e
spi flash: fix cache accessed while disabled issues at -O0
...
mask_get_id and gpio_hal_iomux_func_sel were called while cache
is disabled, but were not inlined as expected at -0O.
Force these functions to always be inlined.
2022-03-11 09:39:50 +08:00
Wang Meng Yang
0997c6df99
Merge branch 'feature/update_hfp_hf_version_v4.3' into 'release/v4.3'
...
component_bt: Update HFP_HF version to 1.7.2(v4.3)
See merge request espressif/esp-idf!17392
2022-03-10 20:20:12 +08:00
Nachiket Kukade
6fd6a8b40b
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.
2022-03-10 17:16:32 +05:30
Nachiket Kukade
3d0076a31f
esp_wifi: Update wifi lib
...
Update wifi lib with below fixes -
1. In FTM Responder, add session timer for cleanup, also remove
unnecessary mutex locks
2. In FTM Responder, fix incorrect print in case of failure
while setting up the SofTAP
2. In FTM Initiator, increase FTM Request response timeout to
avoid failures in noisy environments
3. In FTM Initiator, abort for high start delta time, also fix
timeout issue in ASAP mode
2022-03-10 17:13:41 +05:30
Jiang Jiang Jian
16c14a196b
Merge branch 'bugfix/update_esp32_phy_max_tx_power_v4.3' into 'release/v4.3'
...
esp_phy: update esp32 phy max tx power(v4.3)
See merge request espressif/esp-idf!17413
2022-03-10 17:38:10 +08:00
David Cermak
e00a689a77
lwip: Security fixes; PPPoS null-deref; NAPT ip-forward
...
* Cherry-pick important fixes to 2.1.2-esp
- CVE-2020-22283: Attacker could craft a packet that would disclose 8 bytes of some heap memory:
- icmp6: Don't copy too much data
- icmp6: Fix copying of chained pbuf in reply
- icmp6: keep to the RFC and send as much as possible with icmp6 error messages
- CVE-2020-22284: ZEP - ZigBee Encapsulation Protocol/6LoWPAN is not supported in IDF,
the netif module (zepif.c) is not included in the build, but users can still inject
the file into compilation process, implement IO interface and use this.
- zepif: Copy possibly chained output pbuf properly
- Add #define for minimum IPv6 MTU length
- pbuf: Add pbuf_copy_partial_pbuf library function
* PPPoS: Fix null-deref when processing double break packet
- pppos: fix in_tail null (espressif/esp-lwip@537c69d5 )
- PPP: Add test exhibiting empty packet null-deref (espressif/esp-lwip@202a07da )
* NAPT: Fix PBUF_REF type to clone the pbuf before forwarding
- IP-FORWARD: If packet-type is PBUF_REF clone it before forwarding
- Add NAPT unit test to exercise NAT feature for both RAM and REF pbuf types
* version: Update version numbers to match 2.1.2-esp
* Minor fixes listed below: Fix client receive KOD, NAPT fixes, restore
dhcp_cb, sntp docs, vendor class id (disabled)
* Update submodule: 2195f7416f...76303df238
Detailed description of the changes:
- test/napt: Add unit test for IP forward with PBUF_REF (espressif/esp-lwip@76303df2 )
- napt: Fix PBUF_REF type to clone the pbuf before forwarding (espressif/esp-lwip@39068263 )
- version: Update version numbers to match 2.1.2-esp (espressif/esp-lwip@2b922919 )
- pppos: fix in_tail null (espressif/esp-lwip@537c69d5 )
- PPP: Add test exhibiting empty packet null-deref (espressif/esp-lwip@202a07da )
- pbuf: Add pbuf_copy_partial_pbuf library function (espressif/esp-lwip@1c9cd9c1 )
- Add #define for minimum IPv6 MTU length (espressif/esp-lwip@d2dc577b )
- zepif: Copy possibly chained output pbuf properly (espressif/esp-lwip@64ab7f2a )
- icmp6: Don't copy too much data (espressif/esp-lwip@4a64731b )
- icmp6: Fix copying of chained pbuf in reply (espressif/esp-lwip@7c822ff4 )
- icmp6: keep to the RFC and send as much as possible with icmp6 error messages (espressif/esp-lwip@29100ab6 )
- dns: Add API to clear dns cache (espressif/esp-lwip@ee59f77d )
- CI: Fixed adding gitlab key (espressif/esp-lwip@5a2bdba7 )
- test case: modify test case test_tcp_new_max_num_remove_FIN_WAIT_1 (espressif/esp-lwip@6b090f7d )
- add function for deinit lwip timers (espressif/esp-lwip@2749568f )
- dhcp: Fix build issue that set ESP_DHCP_DISABLE_VENDOR_CLASS_IDENTIFIER to true will build fail (espressif/esp-lwip@d827dbf7 )
- Document that sntp_setservername doesn't copy the string (espressif/esp-lwip@54acdb59 ) #6786
- lwip/dhcp: add 60 option for vendor class identify (espressif/esp-lwip@ae7edc2a ) espressif/esp-lwip#32
- dhcp: Restore dhcp_cb on restart after dhcp_release_and_stop() (espressif/esp-lwip@55ea9d9c ) #7217
- napt: Fix disbale IPv6 and enable NAPT will build error (espressif/esp-lwip@74cf7f9f )
- napt: fix checksum of UDP (espressif/esp-lwip@bb63eed1 )
- sntp: Fix client receive KOD packet that make pool MEMP_SYS_TIMEOUT not be freed (espressif/esp-lwip@1c1642fe )
- test case: add tcp state and reset test cases. (espressif/esp-lwip@67deb805 )
Closes https://github.com/espressif/esp-idf/issues/8300
Closes https://github.com/espressif/esp-idf/issues/8451
2022-03-09 10:33:31 +01:00
NikLeberg
828f9920c3
allow for minimal scope of wifi_init_config_t
...
With this change one can use the default config as a variable with minimal scope: esp_wifi_init(&(wifi_init_config_t)WIFI_INIT_CONFIG_DEFAULT())
2022-03-09 14:54:31 +08:00
Shang Zhou
d30480c113
docs: Update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file
2022-03-09 14:54:06 +08:00
muhaidong
9b3ce4b15f
esp_wifi: fix fragment issue and PMF compatible for faulty APs
...
1. fix(pp): fix fragment plt loss when 2td pn compare with 1th pn
2. pmf allow keyindex in big endian format to workaround faulty APs
3. docs: update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file
4. allow for minimal scope of wifi_init_config_t
5.compute packet length use lldesc length instead rx_ctl sig_len for sniffer
2022-03-09 14:48:49 +08:00
paul
112bfbe465
I2C: Fix typo in I2C_TIMING_VAL_ERR_STR macro name
...
* Closes https://github.com/espressif/esp-idf/pull/8012
2022-03-09 06:29:14 +00:00
chenjianxing
02fe2fa96f
esp_phy: update esp32 phy max tx power
2022-03-09 14:02:53 +08:00
Omar Chebib
65cfc9e656
UART: Fix custom ISR unit test
...
On ESP32, UART_INTR_BRK_DET may be triggered after setting the new ISR handler.
Disable these interrrupts.
2022-03-09 04:34:00 +00:00
Omar Chebib
5f27ec9157
UART: fix a bug preventing the user from freeing a previously registered ISR
...
* Closes https://github.com/espressif/esp-idf/issues/8150
2022-03-09 04:34:00 +00:00
morris
79cdc465fd
Merge branch 'bugfix/modbus_fix_start_after_destroy_issues_v43' into 'release/v4.3'
...
modbus: fix tcp slave destroy issues (backport v4.3)
See merge request espressif/esp-idf!17403
2022-03-09 09:46:07 +08:00
Wang Meng Yang
2d7f61758b
Merge branch 'bugfix/add_pll_track_feature_4.3' into 'release/v4.3'
...
Add pll track feature
See merge request espressif/esp-idf!17287
2022-03-08 16:52:32 +08:00
David Cermak
9e15d184d1
mqtt: Fix sending log data; dup flag after queue
...
* Fix sending mqtt message longer than Tx buffer size
* Fix enqueue API to send data with correct dup flag
* Update submodule: git log --oneline b86d42c130ac64a916ce6cf299d99f9756692394..985078affa8a2d2b56b87c8e6455252850f895c6
Detailed description of the changes:
* Isolate IDF env for v4.4 and v5.0(master)
- See merge request espressif/esp-mqtt!111
- ci: Isolate IDF env for v4.4 and v5.0(master) (espressif/esp-mqtt@4c5a65c )
* Client: Remove usage of legacy FreeRTOS types
- See merge request espressif/esp-mqtt!120
- ci: Fix build issues with IDF-4.4 against master (espressif/esp-mqtt@c28a56d )
- See commit https://github.com/espressif/esp-mqtt/commit/6ef98d6
* mqtt_client: Fix mqtt send long data error
- See merge request espressif/esp-mqtt!117
- Closes https://github.com/espressif/esp-mqtt/issues/214
- See commit https://github.com/espressif/esp-mqtt/commit/372b323
* Client: Fix use esp_mqtt_client_enqueue API to send data, data dup flag will be set 1
- See merge request espressif/esp-mqtt!116
- See commit https://github.com/espressif/esp-mqtt/commit/df8dc92
2022-03-08 09:49:50 +01:00
aleks
f11e17f886
freemodbus: fix port enable disable sequence for tcp master and slave
2022-03-08 09:40:08 +01:00
morris
22e630b145
Merge branch 'bugfix/esp_eth_start_tx_buff_v4.3' into 'release/v4.3'
...
Fixed ESP32 EMAC driver `insufficient TX buffer size` (v4.3)
See merge request espressif/esp-idf!16665
2022-03-08 16:38:18 +08:00
aleks
106fcdcc1c
modbus: fix tcp slave destroy issues
...
Closes https://github.com/espressif/esp-idf/issues/8211
2022-03-08 09:30:59 +01:00
Mahavir Jain
9338d1d121
Merge branch 'bugfix/http_client_body_v4.3' into 'release/v4.3'
...
esp_http_client: Fix data corruption in http_on_body callback (v4.3)
See merge request espressif/esp-idf!17315
2022-03-08 12:56:21 +08:00
xiongweichao
7cb6468fff
Update HFP_HF version to 1.7.2
2022-03-08 11:01:40 +08:00
“YangZhao”
c399f5d1e7
Update ESP32-C3 bt lib and phy lib
...
Add the pll track feature to keep the ble connection stable when the environment
temprature increase form 0 to 74.
2022-03-08 01:45:06 +00:00
Roland Dobai
46c5ad2292
Merge branch 'bugfix/tools_fix_gdb_2021r2_patch3_v4.3' into 'release/v4.3'
...
tools: update esp-2021r2-patch3 toolchain for fixing GDB (v4.3)
See merge request espressif/esp-idf!17246
2022-03-07 23:37:18 +08:00
Armando
fe5a5284ba
sleep: restore analog calibration registers after waking up from light sleep
...
Closes https://github.com/espressif/esp-idf/issues/8287
Closes https://github.com/espressif/esp-idf/issues/7921
2022-03-07 21:58:42 +08:00
Ondrej Kosta
8f1f424390
esp_eth: EMAC start/stop optimization
2022-03-07 14:54:55 +01:00
Ondrej Kosta
3c8bab0285
Fixed ESP32 EMAC driver insufficient TX buffer size
which could followed esp_eth_stop and esp_eth_start sequence
2022-03-07 14:54:33 +01:00
Shubham Kulkarni
6b9381f754
esp_http_client: Cache received data in http_on_body callback.
...
This change fixes issue with data loss when multiple body chunks are
received after calling esp_http_client_fetch_headers.
2022-03-07 06:16:56 +00:00
wangjialiang
8cf5786444
ble_mesh: stack: Bugfix the proxy client abnormal disconnection
2022-03-05 11:14:57 +00:00
wangjialiang
d975bb0086
ble_mesh: stack: Add proxy server connect and disconnect event
2022-03-05 11:14:57 +00:00
Jiang Jiang Jian
e4e76aedc4
Merge branch 'bugfix/assoc_comeback_fail_issue_v4.3' into 'release/v4.3'
...
Fix assoc comeback causing invalid state & FTM cleanup (Backport v4.3)
See merge request espressif/esp-idf!17171
2022-03-04 20:11:27 +08:00
Mahavir Jain
028f1d9345
Merge branch 'feature/websocket_server_support_close_handle_v4.3' into 'release/v4.3'
...
esp_http_server: Websocket CLOSE frame can support callback function (backport v4.3)
See merge request espressif/esp-idf!17340
2022-03-04 13:37:52 +08:00
Jiang Jiang Jian
0f2003cd79
Merge branch 'bugfix/a2dp_sniff_v4.3' into 'release/v4.3'
...
fix crash when host exits sniff mode(V4.3)
See merge request espressif/esp-idf!14457
2022-03-04 00:27:58 +08:00
Jiang Jiang Jian
ae84265128
Merge branch 'bugfix/dual_core_pm_lock_issue_backport_v4.3' into 'release/v4.3'
...
System: fix pm lock issue in dual core mode(backport v4.3)
See merge request espressif/esp-idf!17262
2022-03-03 18:40:40 +08:00
Jiang Jiang Jian
1955dcda69
Merge branch 'bugfix/bootloader_uart_custom_gpio_v4.3' into 'release/v4.3'
...
bootloader: fixed the issue custom_uart_gpio doesn't take effect (v4.3)
See merge request espressif/esp-idf!17308
2022-03-03 16:49:49 +08:00
xiongweichao
e98d72ee76
Fix crash when host exit sniff mode
2022-03-03 16:20:13 +08:00
yuanjm
29f5f119b2
esp_http_server: Websocket CLOSE frame can support callback function
...
Closes https://github.com/espressif/esp-idf/issues/7493
2022-03-03 15:48:07 +08:00
Jiang Jiang Jian
cf3413384a
Merge branch 'bugfix/remove_c_series_chips_unsupported_efuse_field_backport_v4.3' into 'release/v4.3'
...
efuse: free esp32c3 unused efuse field (backport v4.3)
See merge request espressif/esp-idf!17293
2022-03-03 11:07:16 +08:00
Marius Vikhammer
b30ff28034
freertos: always inline xPortSetInterruptMaskFromISR and vPortClearInterruptMaskFromISR
...
These were called from IRAM context where the caller expect them to be inlined
and accessible when cache is disabled. This was not the case when compiled with -O0.
Closes https://github.com/espressif/esp-idf/issues/8301
2022-03-03 10:09:33 +08:00
morris
ad94b8b9dc
Merge branch 'bugfix/touch_ll_get_sleep_time_v4.3' into 'release/v4.3'
...
Fixed error in "touch_ll_get_sleep_time" function for ESP32 (v4.3)
See merge request espressif/esp-idf!16248
2022-03-02 12:11:04 +08:00
songruojing
1bcb419fd2
uart: fixed reset logic on ESP32-S3
2022-03-02 02:56:23 +08:00
songruojing
5f3f615ff1
uart: fixed incorrect channel number on ESP32S2, S3 and C3
2022-03-02 02:56:23 +08:00
Michael (XIAO Xufeng)
24fa86f270
bootloader: fixed the issue custom_uart_gpio doesn't take effect
2022-03-02 02:56:17 +08:00
wuzhenghui
ad71c0031c
remove in esptool
2022-02-28 19:24:59 +08:00
wuzhenghui
b8bd3ada55
remove esp32c3 unsupported efuse field
2022-02-28 18:58:12 +08:00
Sergey Gorban
3f49170ab1
Fixed error in "touch_ll_get_sleep_time" function for ESP32
...
Merges https://github.com/espressif/esp-idf/pull/6895
2022-02-28 09:45:43 +00:00
songruojing
f5f7a77895
gpio: Fix the bug that gpio interrupt cannot be triggered on app cpu on ESP32S3
...
Closes https://github.com/espressif/esp-idf/issues/7885
(cherry picked from commit 91f1159f9c
)
2022-02-28 16:10:37 +08:00
songruojing
f817722109
gpio: Bugfix - Move esp_intr_free() out of the critical section in gpio_uninstall_isr_service()
...
Closes https://github.com/espressif/esp-idf/issues/5571
Fix the bug that if the API was called from one core to free the interrupt source on the other core, it would trigger interrupt watchdog.
(cherry picked from commit 0e8286c57b
)
2022-02-28 15:50:40 +08:00
Anton Maklakov
077c5fb0b8
coredump: backport the coredump test data from v4.4
2022-02-28 12:29:08 +07:00
Michael (XIAO Xufeng)
731cb09ab4
bootloader: support unlock MXIC flash chips
2022-02-25 08:20:07 +00:00
morris
c735cbde58
Merge branch 'bugfix/mitigate_test_time_adjustment_happens_linearly_v4.3' into 'release/v4.3'
...
newlib: Mitigate UT - time adjustment happens linearly v4.3
See merge request espressif/esp-idf!17252
2022-02-24 08:38:30 +00:00
jingli
496f2a5741
fix pm lock issue in dual core mode
2022-02-23 21:50:37 +08:00
KonstantinKondrashov
ace832abf5
newlib: Mitigate UT - time adjustment happens linearly
2022-02-23 16:51:28 +08:00
Mahavir Jain
fb8ce7d010
Merge branch 'bugfix/check_chip_id_at_start_ota_v4.3' into 'release/v4.3'
...
esp_https_ota: fix for checking chip id at start of OTA (v4.3)
See merge request espressif/esp-idf!17221
2022-02-23 04:30:18 +00:00
Michael (XIAO Xufeng)
6f99b8da73
Merge branch 'bugfix/gpio_pin_num_fix_v4.3' into 'release/v4.3'
...
gpio: Fix some gpio pin num errors on esp32s2 and esp32c3 (backport v4.3)
See merge request espressif/esp-idf!17109
2022-02-23 03:28:15 +00:00
Jiang Jiang Jian
1674c63f82
Merge branch 'bugfix/update_stack_init_check_v4.3' into 'release/v4.3'
...
Nimble: Remove stack initialization status from unwanted functions (v4.3)
See merge request espressif/esp-idf!17235
2022-02-22 08:14:24 +00:00
Krzysztof Budzynski
dd59c5d5c5
Merge branch 'docs/update_sdmmc_vfs_cn_trans_4.3' into 'release/v4.3'
...
docs: update sdmmc and vfs cn trans (v4.3)
See merge request espressif/esp-idf!17196
2022-02-22 06:48:29 +00:00
Harshit Malpani
74845d89cb
esp_https_ota: fix for checking chip id at start of OTA
2022-02-22 11:05:19 +05:30
Rahul Tank
4ddd1f9d11
Nimble: Check stack initialization status before executing stack command
...
Previous commit added checks in some functions that can be called
without stack initalization. Corrected such instances.
2022-02-22 10:26:54 +05:30
Anton Maklakov
dd9aa85ca9
Merge branch 'bugfix/rom_time_t_size_deps_v4.3' into 'release/v4.3'
...
esp_rom: remove functions which depend on sizeof(struct stat) and all their callers (v4.3)
See merge request espressif/esp-idf!17041
2022-02-22 03:24:49 +00:00
intern
615e67bd6b
docs: update sdmmc and vfs cn trans
2022-02-22 11:07:16 +08:00
morris
c166160f64
Merge branch 'bugfix/rtcio_increase_size_v4.3' into 'release/v4.3'
...
sleep: fixed ext1 cannot wakeup via RTCIO >= 18 issue (v4.3)
See merge request espressif/esp-idf!17202
2022-02-21 20:13:34 +00:00
Ivan Grokhotkov
4670bcf40e
Merge branch 'task/esp_core_dump_get_summary_v4.3' into 'release/v4.3'
...
espcoredump: esp_core_dump_get_summary API (v4.3)
See merge request espressif/esp-idf!17012
2022-02-21 11:19:39 +00:00
Michael (XIAO Xufeng)
d3df24d950
Merge branch 'bugfix/ledc_consecutive_fade_v4.3' into 'release/v4.3'
...
ledc: Bugfixes for issues related to fade protection (backport v4.3)
See merge request espressif/esp-idf!16661
2022-02-19 17:38:15 +00:00
Jiang Jiang Jian
5c78283f6e
Merge branch 'bugfix/modbus_allow_address_gaps_in_master_data_dict_v43' into 'release/v4.3'
...
freemodbus: allow address gaps in master data dictionary (support of UID field in MBAP) (backport v4.3)
See merge request espressif/esp-idf!16898
2022-02-18 05:40:50 +00:00
Alex Lisitsyn
073da59d27
freemodbus: allow address gaps in master data dictionary (support of UID field in MBAP) (backport v4.3)
2022-02-18 05:40:49 +00:00
Jiang Jiang Jian
d501fd4b96
Merge branch 'fix/sdio_slave_recv_intr_unhandled_v4.3' into 'release/v4.3'
...
sdio_slave: fixed the issue that interrupt may be cleared with finished trans unhandled (v4.3)
See merge request espressif/esp-idf!17149
2022-02-18 05:40:33 +00:00
Michael (XIAO Xufeng)
8ff2ce6852
soc: updated soc_caps about rtc_io and the format
2022-02-18 11:11:24 +08:00
Michael (XIAO Xufeng)
f8e45766b5
sleep: fixed ext1 cannot wakeup via RTCIO >= 18 issue
2022-02-18 11:10:49 +08:00
Michael (XIAO Xufeng)
501d67fdc5
Merge branch 'bugfix/sdio_slave_dma_desc_int_v4.3' into 'release/v4.3'
...
sdio_slave: Fixed the issue that DMA descriptors allocated to non-DMA capable area (v4.3)
See merge request espressif/esp-idf!17138
2022-02-18 01:24:42 +00:00
Michael (XIAO Xufeng)
30a17ea53d
Merge branch 'feature/support_new_psram_v4.3' into 'release/v4.3'
...
psram: add ESP32-D0WD-R2-V3 support(backport v4.3)
See merge request espressif/esp-idf!16707
2022-02-18 01:21:37 +00:00
Michael (XIAO Xufeng)
9e9fb39a07
Merge branch 'flash/add_th_support_v4.3' into 'release/v4.3'
...
spi_flash: add support for th 1M flash(backport v4.3)
See merge request espressif/esp-idf!16716
2022-02-18 01:20:28 +00:00
Jiang Jiang Jian
b1f93150f9
Merge branch 'bugfix/fix_ble_adv_underrun_error_v4.3' into 'release/v4.3'
...
components/bt: Fix ble adv_underrun issue(backport v4.3)
See merge request espressif/esp-idf!17165
2022-02-17 09:56:06 +00:00
Jiang Jiang Jian
40c0c33ae0
Merge branch 'bugfix/wifi_netif_on_off_cycle_race_v4.3' into 'release/v4.3'
...
wifi: Fix race conditon invoking invalid callback on deinit (v4.3)
See merge request espressif/esp-idf!16622
2022-02-17 04:18:18 +00:00
Jiang Jiang Jian
726ceb4fed
Merge branch 'ci/add_esp32c3_integration_test' into 'release/v4.3'
...
CI: support integration c3 test (4.3)
See merge request espressif/esp-idf!17108
2022-02-16 09:25:29 +00:00
Nachiket Kukade
9a09f24572
esp_wifi: Update wifi lib
...
1. Fix assoc comeback causing invalid state
2. Better cleanup in some FTM failure cases
2022-02-16 12:54:08 +05:30
morris
c831d1f1e0
Merge branch 'feature/adc_calibration_version_2_on_c3_v4.3' into 'release/v4.3'
...
adc: upgrade adc calibration algorithm to version 2 on c3 (v4.3)
See merge request espressif/esp-idf!17050
2022-02-16 07:02:07 +00:00
Jiang Jiang Jian
f75ed7c7cc
Merge branch 'bugfix/mdns_null_deref_fuzzer_v4.3' into 'release/v4.3'
...
mdns: Fix potential null deref reported by fuzzer test(v4.3)
See merge request espressif/esp-idf!17146
2022-02-16 06:27:25 +00:00
Jiang Jiang Jian
df7cfa025c
Merge branch 'bugfix/fix_esp_restart_does_not_reset_timer_groups_periph_v43' into 'release/v4.3'
...
modbus: fix esp restart does not reset timer groups periph (backport v4.3)
See merge request espressif/esp-idf!15501
2022-02-16 04:05:38 +00:00
Alex Lisitsyn
e48f87468e
modbus: fix esp restart does not reset timer groups periph (backport v4.3)
2022-02-16 04:05:37 +00:00
Jiang Jiang Jian
8fa37107be
Merge branch 'bugfix/usb_default_print_wifi_v4.3' into 'release/v4.3'
...
esp_phy: enable usb under default(without choosing USB_SERIAL_JTAG) (backport v4.3)
See merge request espressif/esp-idf!17078
2022-02-16 04:04:38 +00:00
Jiang Jiang Jian
ad2238d7fb
Merge branch 'bugfix/eap_client_crash_v4.3' into 'release/v4.3'
...
wpa_supplicant: Fix memory corruption (v4.3)
See merge request espressif/esp-idf!17129
2022-02-16 04:03:49 +00:00
Jiang Jiang Jian
87c2352a1e
Merge branch 'bugfix/support_esp32s2_eco1_v4.3' into 'release/v4.3'
...
esp_phy: Update ESP32S2 phy lib to support eco1 chip(v4.3)
See merge request espressif/esp-idf!16723
2022-02-16 03:29:22 +00:00
Zim Kalinowski
e4743e7d79
Merge branch 'docs/fix_broken_links_4.3' into 'release/v4.3'
...
docs: fix broken links in queue.h file (v4.3)
See merge request espressif/esp-idf!17162
2022-02-16 02:40:32 +00:00
xiewenxiang
2d65703547
components/bt: Fix ble adv_underrun issue
...
components/bt: Fix LLCP collision for channel map update
2022-02-16 00:37:38 +08:00
Mahavir Jain
be19818db7
Merge branch 'contrib/github_pr_8402' into 'release/v4.3'
...
secure boot: add missing `#include "esp_flash_encrypt.h"`
See merge request espressif/esp-idf!17159
2022-02-15 10:42:43 +00:00
Armando
bcb8d87108
adc: upgrade adc calibration algorithm to version 2 on c3
2022-02-15 15:27:25 +08:00
Ivan Grokhotkov
22e741a281
esp_adc_cal: move esp_adc_cal_get_voltage into common source file
2022-02-15 15:27:25 +08:00
Ivan Grokhotkov
b075101316
esp_adc_cal: simplify CMakeLists.txt
2022-02-15 15:27:25 +08:00
chenjianxing
5e4ec25ace
esp_phy: Update ESP32S2 phy lib to support eco1 chip
2022-02-15 14:58:04 +08:00
intern
a8736a9b66
docs:fix broken links
2022-02-15 14:28:59 +08:00
Chen Yudong
ad6095ad80
CI: optimize integration test workflow
2022-02-15 13:23:15 +08:00
songruojing
7b70f6e135
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-02-15 11:29:33 +08:00
songruojing
ad3b9a8002
ledc: bugfix - 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-02-15 11:29:33 +08:00
Michael (XIAO Xufeng)
25b1c57121
sdio_slave: fixed the issue that interrupt may be cleared with finished trans unhandled
2022-02-15 00:01:33 +08:00
Michael (XIAO Xufeng)
7d65b17898
Merge branch 'bugfix/alarm_update_invalid_v4.3' into 'release/v4.3'
...
timer: stop alarm if alarm value doesn't change in ISR callback (v4.3)
See merge request espressif/esp-idf!16533
2022-02-14 15:38:14 +00:00
David Cermak
03f9eedc27
mdns: Fix potential null deref reported by fuzzer test
2022-02-14 22:49:34 +08:00
Jiang Jiang Jian
8d5316ceb8
Merge branch 'bugfix/wps_scan_resumption_v4.3' into 'release/v4.3'
...
wpa_supplicant: Scan resumption in PBC mode(backport v4.3)
See merge request espressif/esp-idf!17063
2022-02-14 13:05:28 +00:00
Jiang Jiang Jian
9ff972046b
Merge branch 'bugfix/fix_smartconfig_setopt_fail_v4.3' into 'release/v4.3'
...
smartconfig: Fix smartconfig set socket option fail(backport v4.3)
See merge request espressif/esp-idf!16771
2022-02-14 13:03:35 +00:00
Cao Sen Miao
d3f5fd6eb6
spi_flash: add support for th 1M flash
2022-02-14 16:01:43 +08:00
Michael (XIAO Xufeng)
b1d6217f5c
Merge branch 'bugfix/usb_no_rom_log_v4.3' into 'release/v4.3'
...
USB_SERIAL_JTAG: Fix the issue that there is no rom log when restarting(backport v4.3)
See merge request espressif/esp-idf!17074
2022-02-14 07:34:24 +00:00
Michael (XIAO Xufeng)
81948262c8
sdio_slave: fixed the issue DMA desc not capable
2022-02-14 12:55:56 +08:00
Christian Winkler
06d7fd95d4
secure_boot.c add missing '#include "esp_flash_encrypt.h"'
2022-02-13 19:51:55 +01:00
Cao Sen Miao
1f980ae982
psram: add ESP32-D0WD-R2-V3 support
2022-02-13 22:31:24 +08:00
Michael (XIAO Xufeng)
d04dacdaa1
Merge branch 'bugfix/usb_device_struct_cleanup_v4.3' into 'release/v4.3'
...
USB: Cleanup device side struct and fix incorrect DM pulldown configuration (v4.3)
See merge request espressif/esp-idf!17103
2022-02-12 20:53:02 +00:00
Kapil Gupta
7df150b3de
wpa_supplicant: Fix invalid memory dereference
2022-02-12 10:32:53 +05:30
Ivan Grokhotkov
f527010044
esp_rom: remove functions which depend on sizeof(struct stat)
...
...and all their callers.
With the upcoming switch from sizeof(time_t)==4 to sizeof(time_t)==8,
sizeof(struct stat) is also increasing.
A few newlib functions present in ROM allocate 'struct stat' on the
stack and call _fstat_r on this structure. The implementation of
fstat is provided in ESP-IDF. This implementation will often do
memset(st, 0, sizeof(*st)), where st is 'struct stat*', before setting
some fields of this structure. If IDF is built with sizeof(st)
different from sizeof(st) which ROM was built with, this will lead
to an out-of-bounds write and a stack corruption.
This commit removes problematic ROM functions from the linker script.
Here are the functions which allocate 'struct stat':
* _isatty_r (in ROM)
* __swhatbuf_r, called by __smakebuf_r, called by __swsetup_r and
__srefill_r (in ROM)
* _fseeko_r (not in ROM)
* glob2 (not in ROM)
* _gettemp (not in ROM)
As a result, these functions are used from libc.a, and use correct
size of 'stat' structure.
Closes https://github.com/espressif/esp-idf/issues/7980
2022-02-11 07:07:12 +00:00
songruojing
b1017de2e6
gpio: Fix some gpio pin num errors on esp32s2 and esp32c3
2022-02-10 20:27:43 +08:00
Michael (XIAO Xufeng)
dcfd5187ac
Merge branch 'bugfix/fix_spi_cs_hold_time_issue_v4.3' into 'release/v4.3'
...
spi_master: fix spi cs_ena_posttrans issue (v4.3)
See merge request espressif/esp-idf!16687
2022-02-10 09:36:50 +00:00
Darian Leung
7f51eb7e7c
Fix incorrect D- pulldown and cleanup USB device struct
...
This commit fixes the incorrect setting of the D- pulldown resistor in the USB LL.
The usb_struct.h used by USB device mode has also been cleaned up.
2022-02-10 17:20:39 +08:00
morris
b979547b06
Merge branch 'bugfix/rmt_s2_doesnt_support_rx_wrap_v4.3' into 'release/v4.3'
...
rmt: do not support rx wrap on esp32s2 (v4.3)
See merge request espressif/esp-idf!17080
2022-02-10 09:12:04 +00:00
Cao Sen Miao
9c4b96d63b
USB_SERIAL_JTAG: Fix the issue that there is no rom log when restarting
2022-02-10 10:33:40 +08:00
Wang Meng Yang
119ae77993
Merge branch 'bugfix/a2dp_source_congest_v4.3' into 'release/v4.3'
...
component_bt: Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink (v4.3)
See merge request espressif/esp-idf!16735
2022-02-09 11:34:21 +00:00
Wang Meng Yang
ab099369c8
Merge branch 'bugfix/config_parse_crash_after_flash_erase_v4.3' into 'release/v4.3'
...
component_bt: fixed config parse crash after flash_erase(v4.3)
See merge request espressif/esp-idf!16731
2022-02-09 11:15:52 +00:00
Cao Sen Miao
3a628eb470
usb_serial_jtag: remove the strict condition check in esp_phy
2022-02-09 19:02:36 +08:00
morris
81e3035f4d
rmt: do not support rx wrap on esp32s2
...
Closes https://github.com/espressif/esp-idf/issues/8354
2022-02-09 18:23:44 +08:00
Cao Sen Miao
d64553797c
usb_serial_jtag: can print when wifi enabled by default
...
Closes https://github.com/espressif/esp-idf/issues/8131
2022-02-09 17:36:04 +08:00
Zim Kalinowski
5c72bbcb3d
Merge branch 'bugfix/uart_no_int_after_flush_v4.3' into 'release/v4.3'
...
UART: RX interrupts are now properly restored after a flush (backport v4.3)
See merge request espressif/esp-idf!16928
2022-02-09 06:51:43 +00:00
Ivan Grokhotkov
5bcb77fdca
Merge branch 'bugfix/vfs_open_errno_v4.3' into 'release/v4.3'
...
vfs: don't overwrite errno by a hard coded ENOENT (Github PR) (v4.3)
See merge request espressif/esp-idf!17045
2022-02-08 14:37:45 +00:00
Kapil Gupta
b19424d67e
wpa_supplicant: Scan resumption in PBC mode
2022-02-08 17:16:29 +05:30
Jiang Jiang Jian
93a3a47440
Merge branch 'bugfix/fix_common_clock_bug_v4.3' into 'release/v4.3'
...
esp_wifi: fix common clock bug (backport v4.3)
See merge request espressif/esp-idf!16969
2022-02-08 11:28:02 +00:00
Ivan Grokhotkov
489fcf1b6c
vfs: add test for errno value after 'open'
2022-02-07 11:36:21 +01:00
hörbert
d8c3b4d646
vfs: don't overwrite errno by a hard coded ENOENT
...
Calling "open" in CHECK_AND_CALL sets a perfectly correct errno.
There is no need to overwrite that with a value of ENOENT, since doing
so hides lower level errors like EIO.
Closes https://github.com/espressif/esp-idf/pull/8036
2022-02-07 11:36:20 +01:00
Armando
b3c51e74c8
spi_master: fix spi cs_ena_posttrans issue
2022-02-07 12:22:15 +08:00
Mahavir Jain
fea5bdce86
Merge branch 'feature/mbedtls-2.28.0_v4.3' into 'release/v4.3'
...
mbedtls: Upgrading to v2.28.0 (v4.3)
See merge request espressif/esp-idf!17005
2022-02-03 04:12:10 +00:00