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