Michael (XIAO Xufeng)
a76f908074
Merge branch 'test/remove_spi_flash_perf_thr_v4.4' into 'release/v4.4'
...
spi_flash_test: remove threshold from unit test (v4.4)
See merge request espressif/esp-idf!16821
2022-01-26 08:20:26 +00:00
Mahavir Jain
f5ef3e2cf2
Merge branch 'wifi_prov_mgr/service_key_check_v4.4' into 'release/v4.4'
...
wifi_prov_mgr: Added check for passphrase length in softAP scheme (v4.4)
See merge request espressif/esp-idf!16569
2022-01-26 02:37:43 +00:00
Mahavir Jain
48eea7c479
Merge branch 'bugfix/fix_esp_https_ota_v4.4' into 'release/v4.4'
...
esp_https_ota: Fix esp_https_ota_begin may return error and exist memory leak (backport v4.4)
See merge request espressif/esp-idf!16777
2022-01-26 02:36:56 +00:00
Mahavir Jain
39386e05a5
Merge branch 'bugfix/invalid_url_cause_to_crash_v4.4' into 'release/v4.4'
...
http: Fix parsing invalid url cause to crash (v4.4)
See merge request espressif/esp-idf!16478
2022-01-26 02:34:29 +00:00
Zim Kalinowski
fb1d00a9d1
Merge branch 'bugfix/efuse_timesettigs_in_burn_op_v4.4' into 'release/v4.4'
...
efuse: Fixes eFuse timesettings issue on esp32c3 (v4.4)
See merge request espressif/esp-idf!16921
2022-01-26 00:52:33 +00:00
Zim Kalinowski
979745417b
Merge branch 'refactor/tinyusb_uses_usb_phy_v4.4' into 'release/v4.4'
...
tinyusb: Update tinyusb.c to use the usb_phy API to configure PHY (v4.4)
See merge request espressif/esp-idf!16855
2022-01-26 00:51:42 +00:00
Zim Kalinowski
40949e8d43
Merge branch 'bugfix/app_compatible_with_3_1_bootloader_v4.4' into 'release/v4.4'
...
esp_system: Fix RTC_WDT protection in esp_restart_noos (v4.4)
See merge request espressif/esp-idf!16740
2022-01-26 00:50:54 +00:00
Zim Kalinowski
eb13f8a61d
Merge branch 'bugfix/freertos_pd_ticks_to_ms_precision_v4.4' into 'release/v4.4'
...
Freertos: Fix loss of precision in pdTICKS_TO_MS (v4.4)
See merge request espressif/esp-idf!16673
2022-01-26 00:50:35 +00:00
KonstantinKondrashov
0b5d4edbc6
bootloader: Fixes bootloader_common_get_sha256_of_partition. Adds hash check.
...
Closes https://github.com/espressif/esp-idf/issues/8274
2022-01-25 19:58:29 +08:00
KonstantinKondrashov
1638b36804
efuse: Fixes eFuse timesettings issue on esp32c3
2022-01-25 19:14:31 +08:00
wuzhenghui
c11b6f4885
fix console stuck in auto test
2022-01-25 17:04:48 +08:00
David Čermák
c899c1b1da
Merge branch 'bugfix/mdns_txt_alloc_issue_v4.4' into 'release/v4.4'
...
mdns: Fix alloc issue if TXT has empty value(Backport v4.4)
See merge request espressif/esp-idf!16889
2022-01-25 06:33:54 +00:00
David Cermak
b3f913a058
mdns: Fix alloc issue if TXT has empty value
2022-01-21 22:52:33 +04:00
David Čermák
88486324db
Merge branch 'bugfix/fix_tcp_transport_exception_v4.4' into 'release/v4.4'
...
tcp_transport: fix tcp trasnport exception(backport release/v4.4)
See merge request espressif/esp-idf!16811
2022-01-21 09:45:45 +00:00
Michael (XIAO Xufeng)
f4c97455c4
Merge branch 'bugfix/apll_coeff_calculate_v4.4' into 'release/v4.4'
...
i2s: impove the clock division calculation (v4.4)
See merge request espressif/esp-idf!16783
2022-01-21 07:06:30 +00:00
David Čermák
a48c6e097a
tcp_transport: fix tcp trasnport exception
2022-01-20 15:38:44 +08:00
songruojing
6a6801e357
tinyusb: Update tinyusb.c to use the usb_phy API to configure PHY
2022-01-19 18:18:08 +08:00
Michael (XIAO Xufeng)
0382215ec7
spi_flash_test: remove threshold from unit test
2022-01-17 15:07:06 +08:00
jincheng
a0e20e17f0
fix cs event for rd_rem_ext_feats delayed issue
2022-01-17 13:02:26 +08:00
laokaiyao
816b0ce878
i2s: impove the apll and clock division calculation
2022-01-13 11:06:40 +08:00
yuanjm
dbb0eeecc7
esp_https_ota: Fix esp_https_ota_begin may return ESP_OK when http status code is not 200 and may exist memory leak
...
Closes https://github.com/espressif/esp-idf/issues/8195
2022-01-12 19:53:08 +08:00
yuanjm
9cf57a86a0
smartconfig: Fix smartconfig set socket option fail
...
Closes https://github.com/espressif/esp-idf/issues/8189
2022-01-12 14:48:02 +08:00
laokaiyao
f0aaf48a93
i2s: revert reading/writing return error code
...
Closes https://github.com/espressif/esp-idf/issues/8121
Revert reading/writing return ESP_ERR_TIMEOUT introduced in commit b26da6f
2022-01-11 15:43:29 +08:00
likunqiao
7aa2577d86
esp_phy: move lib_printf.c to esp_phy
...
* fix the issue when esp32h2 target using phy_printf and rtc_printf
2022-01-11 12:09:11 +08:00
KonstantinKondrashov
8f2045f0da
esp_system: Fix RTC_WDT protection in esp_restart_noos
...
Fixed issue - v4.3 app not compatible with 3.1 bootloader
2022-01-10 21:57:29 +08:00
xiongweichao
7485b4d4b2
btc_a2dp_control_set_datachnl_stat is only used by a2dp sink
2022-01-10 19:17:13 +08:00
xiongweichao
49f496e539
remove btc_a2dp_dispatch_datapath_evt and event
2022-01-10 19:16:25 +08:00
xiongweichao
e4277d5202
Fixed the crash caused by calling esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_START) after stream started
2022-01-10 19:15:30 +08:00
xiongweichao
d338750b86
Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink
2022-01-10 19:15:17 +08:00
xiongweichao
50e00e641b
fixed config parse crash after flash_erase
...
Closes https://github.com/espressif/esp-idf/issues/6170
2022-01-10 17:41:57 +08:00
Jiang Jiang Jian
03d3c43882
Merge branch 'bugfix/fix_null_pointer_deference_issue_4.4_mr' into 'release/v4.4'
...
Fix the null pointer deference issue via Reconnection Spamming
See merge request espressif/esp-idf!16637
2022-01-10 08:31:33 +00:00
Cao Sen Miao
67b4ba33dd
spi_flash: add support for th 1M flash
2022-01-10 12:39:09 +08:00
jingli
23ec015d75
adjust the order of RTC memory heap caps and regions
2022-01-08 16:19:35 +08:00
Jiang Jiang Jian
22b57850bd
Merge branch 'bugfix/dpp_no_ip_issue_v4.4' into 'release/v4.4'
...
Fix STA not getting IP after DPP issue (Backport v4.4)
See merge request espressif/esp-idf!16645
2022-01-06 10:07:02 +00:00
lisekt84
bead7c2eeb
freertos: Fix loss of precision in pdTICKS_TO_MS
...
Closes https://github.com/espressif/esp-idf/pull/7856
Closes https://github.com/espressif/esp-idf/issues/7853
[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2022-01-06 15:44:17 +08:00
Zim Kalinowski
b5a1df1db4
Merge branch 'bugfix/spi_slave_test_non_dma_v4.4' into 'release/v4.4'
...
spi-slave: fix single-board: hd test failing due to DMA buffers ending up in PSRAM (v4.4)
See merge request espressif/esp-idf!16305
2022-01-06 03:11:12 +00:00
Zim Kalinowski
219242de89
Merge branch 'bugfix/uart_custom_isr_broken' into 'release/v4.4'
...
UART: fix a bug preventing the user from freeing a previously registered ISR
See merge request espressif/esp-idf!16581
2022-01-06 03:10:29 +00:00
Alexey Gerenkov
8c2990fcea
trax: Adds ESP32-S3 support
2022-01-05 19:34:28 +01:00
Alexey Gerenkov
18cd2ea3e6
apptrace: Adds ESP32-S3 support
2022-01-05 19:26:33 +01:00
Jack
63366f011a
phy: update phy lib to remove ets_printf references
2022-01-05 17:29:55 +08:00
Ivan Grokhotkov
09552fdf68
ci: improve checks for Wi-Fi/PHYlibraries
...
- add missing Wi-Fi header MD5 checks for esp32c3, esp32s3
- check PHY libraries for references to ets_printf, in addition to
checking Wi-Fi libraries. This used to happen until libphy.a was
moved into a separate submodule.
Reported in https://github.com/espressif/esp-phy-lib/issues/3
2022-01-05 17:29:35 +08:00
Nachiket Kukade
b9989d3644
esp_wifi: Update wifi lib
...
Fix STA not getting IP after DPP
2022-01-05 16:24:00 +08:00
Murray Fordyce
52224aebcf
Fixed left right key confusion in comments.
...
"Left" and "Right" were swapped in some comments.
2022-01-05 10:46:46 +08:00
Nachiket Kukade
53c2b1f65b
esp_wifi: Miscellaneous FTM bugfixes
...
1. Update wifi libs with bugfixes for corner cases
2. Avoid ASSERT for scan failure in FTM example
2022-01-04 15:49:45 +05:30
Omar Chebib
4288588751
UART: fix a bug preventing the user from freeing a previously registered ISR
...
* Closes https://github.com/espressif/esp-idf/issues/8150
2022-01-04 13:38:03 +08:00
Jiang Jiang Jian
d1f1b03beb
Merge branch 'contrib/github_pr_7971_v4.4' into 'release/v4.4'
...
bugfix: Conflicting declaration error when include<rom/secure_boot.h> (v4.4)
See merge request espressif/esp-idf!16566
2022-01-04 03:37:35 +00:00
Jiang Jiang Jian
9a00ef1bc2
Merge branch 'feature/s3_rng_v4.4' into 'release/v4.4'
...
Bootloader add rng sampling (v4.4)
See merge request espressif/esp-idf!16623
2022-01-04 03:37:15 +00:00
“YangZhao”
8628079c42
There is an issue that if the the btm_cb.p_sec_dev_rec_list is full,but at the same
...
time we can't find old device to be replaced,then this can cause crash. So we need
to change the way to malloc the new device or replace the old in the list.
2022-01-04 10:42:09 +08:00
Jakob Hasse
ee24264c75
feat (bootloader): added rng sampling
...
Set maximum RNG query frequency to save value known from tests
2022-01-03 16:24:41 +05:30
Chen Wu
bd9ee38f3c
http: Fix parsing invalid url cause to crash
...
Reason:
For example, if an url is lack of leading 'http:' by mistake, it causes to http_parser_parse_url() cannot parse http host item,
and then pass the null host pointer to _get_host_header(), crash happens.
Fix:
http added null pointer check now.
Closes https://jira.espressif.com:8443/browse/ESPAT-953
2021-12-31 14:40:21 +08:00
Ivan Grokhotkov
dc707d5933
freertos: ensure interrupts are disabled before enabling tick timer
...
xPortStartScheduler calls vPortSetupTimer -> _frxt_tick_timer_init,
which enables tick timer interrupt and sets up the first timeout.
From that point on, the interrupt can fire. If the interrupt happens
while _frxt_dispatch is running, the scheduler will enter an infinite
loop. This is because _frxt_dispatch isn't supposed to be preemptable,
and the tick interrupt will overwrite some of the registers used by
_frxt_dispatch.
Note that this situation doesn't practically occur on the real
hardware, where the execution of vPortSetupTimer and _frxt_dispatch
happens quickly enough. However it can be reproduced on an emulator
if the tick period is set to 1ms.
Add an explicit call to portDISABLE_INTERRUPTS in xPortStartScheduler
to guarantee that _frxt_dispatch doesn't run with interrupts enabled.
This is similar to the esprv_intc_int_set_threshold(1); call in
RISC-V version of port.c.
2021-12-30 18:00:59 +08:00
Robin Krens
e39b0dcd2e
spacing styling correction
2021-12-30 10:47:49 +08:00
Robin Krens
a61a935506
minor styling changes
2021-12-30 10:47:49 +08:00
Robin Krens
b72a03fd07
esp_hid: fix output report char declaration
...
Current issue: output reports sent by Windows not received.
The report characteristic declaration should also support write without
response as specified by HIDS profile:
See https://www.bluetooth.com/specifications/GATT/ (page 14)
2021-12-30 10:47:49 +08:00
jincheng
629bd67001
fix on esp_hidh report map length checking function
...
Closes https://github.com/espressif/esp-idf/issues/7586
2021-12-30 10:47:49 +08:00
Emil Muratov
8423e7d785
ledc.h - fix extern "C" to include ledc_cb_register()
...
(cherry picked from commit d4de08182e
)
2021-12-29 21:14:37 +08:00
xiewenxiang
bf6b3ec0a8
component/bt: Support set HW CCA threshold value
2021-12-29 14:43:33 +08:00
xiewenxiang
5fc5016981
component/bt: fix periodic adv parameters detection issue
2021-12-29 14:43:22 +08:00
baohongde
f4c6c48123
components/bt: Update the document of demo bt discovery
2021-12-29 14:31:38 +08:00
Laukik Hase
474ff3e38f
wifi_prov_mgr: Added check for passphrase length in softAP scheme
...
Closes https://github.com/espressif/esp-idf/issues/8063
2021-12-28 18:13:40 +05:30
Mahavir Jain
9d73448272
Fix copyright headers for few include files
2021-12-28 14:29:33 +05:30
lovyan03
530a06cf61
bugfix: Conflicting declaration error with include<esp_efuse.h>, and Unified secure_boot.h include guard to "pragma once".
2021-12-28 14:29:28 +05:30
huchaoru
bd8e9d98ba
CI: change ap authmode from number to string (backport v4.4)
2021-12-27 19:57:40 +08:00
Kapil Gupta
d57b946bbf
esp_wifi: Refactor key install code
2021-12-24 11:58:18 +08:00
Jiang Jiang Jian
f9ab0ac458
Merge branch 'feature/usb-msc_v4.4' into 'release/v4.4'
...
USB MSC class (v4.4)
See merge request espressif/esp-idf!16530
2021-12-24 03:48:29 +00:00
Jiang Jiang Jian
84ac488837
Merge branch 'bugfix/alarm_update_invalid_v4.4' into 'release/v4.4'
...
timer: stop alarm if alarm value doesn't change in ISR callback (v4.4)
See merge request espressif/esp-idf!16524
2021-12-24 03:48:10 +00:00
Jiang Jiang Jian
3171667845
Merge branch 'bugfix/rtc_section_alignment_v4.4_2' into 'release/v4.4'
...
System: fix RTCFAST section alignment (v4.4)
See merge request espressif/esp-idf!16517
2021-12-24 03:47:02 +00:00
Jiang Jiang Jian
3b4c2b8281
Merge branch 'bugfix/doc_for_ipc_isr_v4.4' into 'release/v4.4'
...
esp_ipc: Update documentation and API descriptions (v4.4)
See merge request espressif/esp-idf!16032
2021-12-24 03:35:54 +00:00
Jiang Jiang Jian
11cbcdf46a
Merge branch 'bugfix/wpa3_memory_leak_v4.4' into 'release/v4.4'
...
esp_wifi: Fixes memory leak in wpa3.
See merge request espressif/esp-idf!16528
2021-12-24 03:27:31 +00:00
Martin Valik
204aa05d0b
USB: added MSC Host Driver with VFS support
...
Closes https://github.com/espressif/esp-idf/issues/6401
2021-12-23 18:30:24 +01:00
Michael (XIAO Xufeng)
88acf66506
Merge branch 'bugfix/freemodbus_timer_struct_not_initialized' into 'release/v4.4'
...
freemodbus: fixed timer config struct not initialized issue (v4.4)
See merge request espressif/esp-idf!16117
2021-12-23 17:15:00 +00:00
Michael (XIAO Xufeng)
e093575e39
freemodbus: fixed timer config struct not initialized issue (v4.4)
2021-12-23 17:15:00 +00:00
Michael (XIAO Xufeng)
ec554944b7
Merge branch 'feature/backport/usb_host/cdc_driver' into 'release/v4.4'
...
USB: Add CDC-ACM subclass host driver (backport v4.4)
See merge request espressif/esp-idf!16363
2021-12-23 17:02:33 +00:00
aditi_lonkar
7cd52401b0
esp_wifi: Fixes memory leak in wpa3.
2021-12-23 19:05:03 +05:30
Michael (XIAO Xufeng)
5b80dd44be
Merge branch 'feature/gdma_iram_interrupt_v4.4' into 'release/v4.4'
...
gdma: support IRAM interrupt (v4.4)
See merge request espressif/esp-idf!15993
2021-12-23 12:50:22 +00:00
Michael (XIAO Xufeng)
9f5c6f287e
Merge branch 'feature/update_adc_cali_due_to_efuse_version_change_v4.4' into 'release/v4.4'
...
adc: update s3 adc calibration efuse version (v4.4)
See merge request espressif/esp-idf!16357
2021-12-23 12:49:11 +00:00
Michael (XIAO Xufeng)
81f81b97c3
Merge branch 'feature/adc_dma_driver_4.4' into 'release/v4.4'
...
adc: dma driver (v4.4)
See merge request espressif/esp-idf!16437
2021-12-23 12:48:47 +00:00
Jiang Jiang Jian
9a42760b22
Merge branch 'feature/posix_compat_functions_v4.4' into 'release/v4.4'
...
newlib: implement posix_memalign, sysconf, realpath (v4.4)
See merge request espressif/esp-idf!16464
2021-12-23 11:20:54 +00:00
morris
b0122177b7
timer: stop alarm if alarm value doesn't change in ISR handler
...
Alarm will be disabled by hardware when alarm event happend.
In the ISR, if auto-reload is enabled, we should re-enable the alarm.
If the alarm target value is changed in user's callback,
the alarm will be reenabled as well.
Closes https://github.com/espressif/esp-idf/issues/7001
Closes https://github.com/espressif/esp-idf/issues/8095
2021-12-23 18:58:43 +08:00
Michael (XIAO Xufeng)
ec380d04b2
Merge branch 'refactor/fun_pointer_opi_v4.4' into 'release/v4.4'
...
opi_flash: Add a function pointer for opi required registers(backport v4.4)
See merge request espressif/esp-idf!16359
2021-12-23 09:24:18 +00:00
Jiang Jiang Jian
61149302e5
Merge branch 'bugfix/fix_spp_open_err_bda_v4.4' into 'release/v4.4'
...
Component_bt/Fix SPP acceptor open with wrong remote address[backport 4.4]
See merge request espressif/esp-idf!16519
2021-12-23 09:23:33 +00:00
Armando
1ec46ad3b8
adc: support adc dma driver on all chips
2021-12-23 17:13:46 +08:00
Jiang Jiang Jian
6279f9eb62
Merge branch 'bugfix/fix_heap_memory_corruption_v4.4' into 'release/v4.4'
...
Heap: Fix a possible bug in the TLSF allocator (backport v4.4)
See merge request espressif/esp-idf!16507
2021-12-23 03:29:45 +00:00
Jiang Jiang Jian
7f48664eda
Merge branch 'feature/mbedtls-2.16.12-integration_v4.4' into 'release/v4.4'
...
mbedtls: upgrade to release v2.16.12 (v4.4)
See merge request espressif/esp-idf!16483
2021-12-23 03:26:17 +00:00
Jiang Jiang Jian
cb2906c7b2
Merge branch 'bugfix/fix_blufi_encryption_fail_v4.4' into 'release/v4.4'
...
components/bt: fix blufi encryption fail(backport release/v4.4)
See merge request espressif/esp-idf!16314
2021-12-23 03:23:24 +00:00
liqigan
3390caf994
fix SPP open with wrong remote bd_addr
2021-12-23 10:02:39 +08:00
Martin Vychodil
60386410ae
System: fix RTCFAST section alignment
...
This bugfix contains 3 fixes:
1. .rtc_dummy section is removed (not needed for C3)
2. .rtc_text section is padded with 16B for possible CPU prefetch
3. .rtc_text section is aligned to 4B boundary to comply with PMS Memprot requirements
2021-12-22 21:58:20 +01:00
Jiang Jiang Jian
ba50a4e25e
Merge branch 'bugfix/stdatomic_sync_op_and_fetch_v4.4' into 'release/v4.4'
...
newlib: stdatomic: implement missing "op_fetch", "nand" builtins (v4.4)
See merge request espressif/esp-idf!16465
2021-12-22 12:44:09 +00:00
xiewenxiang
3051ad2159
components/bt: fix blufi encryption fail
2021-12-22 20:40:48 +08:00
Jiang Jiang Jian
710883d9bf
Merge branch 'bugfix/scannable_adv_duration_estimation_v4.4' into 'release/v4.4'
...
[Coexistence]: fixed BLE scannable extended adv performance issue in case of Wi-Fi coexistence(backport v4.4)
See merge request espressif/esp-idf!16476
2021-12-22 12:38:17 +00:00
Jiang Jiang Jian
af429e56bb
Merge branch 'bugfix/esp_eth_start_tx_buff_v4.4' into 'release/v4.4'
...
Fixed ESP32 EMAC driver `insufficient TX buffer size` (v4.4)
See merge request espressif/esp-idf!16497
2021-12-22 12:36:40 +00:00
Jiang Jiang Jian
a15bac6b5c
Merge branch 'docs/fix_typo_in_header_file' into 'release/v4.4'
...
docs: Fix typo in sdmmc_cmd.h and inconsistency in spi_master.h (backport release/v4.4)
See merge request espressif/esp-idf!16382
2021-12-22 12:34:05 +00:00
Jiang Jiang Jian
07221ebaf5
Merge branch 'bugifx/freertos_missing_api_config_v4.4' into 'release/v4.4'
...
freertos: Add missing INCLUDE_ configurations for some functions (v4.4)
See merge request espressif/esp-idf!16267
2021-12-22 12:28:35 +00:00
Jiang Jiang Jian
c2a71ce5c6
Merge branch 'feature/mbedtls_dynamic_memory_v4.4' into 'release/v4.4'
...
fix(mbedtls): fix compiling error when open MBEDTLS_SSL_PROTO_DTLS and disable...(backport v4.4)
See merge request espressif/esp-idf!16472
2021-12-22 12:27:27 +00:00
Ivan Grokhotkov
f158a0d538
newlib: implement posix_memalign, sysconf, realpath
...
Closes https://github.com/espressif/esp-idf/issues/6119
Closes https://github.com/espressif/esp-idf/issues/7798
2021-12-22 10:54:54 +01:00
Omar Chebib
155de9c49e
Heap: Add a target test to check that TLFS allocates the requested size
2021-12-22 14:06:41 +08:00
Omar Chebib
09db8845c6
Heap: Fix a possible bug in the TLSF allocator
...
Fix a bug that could return a chunk of memory smaller than requested,
easily leading to a memory corruption, when the required memory alignment
passed to the allocator is 4.
2021-12-22 14:06:41 +08:00
Jiang Jiang Jian
5f5f8bd64e
Merge branch 'bugifx/nimble_timer_memory_leak_v4.4' into 'release/v4.4'
...
[NimBLE]: Fixed memory leak of timer during NimBLE Host start-stop process(backport v4.4)
See merge request espressif/esp-idf!16445
2021-12-22 05:45:23 +00:00
Jiang Jiang Jian
775f2886cc
Merge branch 'bugfix/fix_rx_fragment_error_issue_v4.4' into 'release/v4.4'
...
esp_wifi: fix fragment issue and PMF compatible for faulty APs(Backport v4.4)
See merge request espressif/esp-idf!16390
2021-12-22 05:40:19 +00:00
Ondrej Kosta
74ba1175b6
Fixed ESP32 EMAC driver insufficient TX buffer size
which could followed esp_eth_stop and esp_eth_start sequence
2021-12-21 14:04:55 +01:00