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
Jiang Jiang Jian
abc18659e6
Merge branch 'bugfix/freertos_appcpu_int_disable_v4.4' into 'release/v4.4'
...
freertos: ensure interrupts are disabled before enabling tick timer (v4.4)
See merge request espressif/esp-idf!16606
2022-01-04 03:36:54 +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
f9e7eb1fbf
refactor (docs): improved fatal errors doc
2022-01-04 10:02:29 +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
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
Jiang Jiang Jian
214d62b9ad
Merge branch 'bugfix/install_key_refactor_v4.4' into 'release/v4.4'
...
esp_wifi: Refactor key install code(backport v4.4)
See merge request espressif/esp-idf!16532
2021-12-24 11:48:51 +00: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
Jiang Jiang Jian
66dd3dade9
Merge branch 'bugfix/ldgen_plus_in_archive_name_v4.4' into 'release/v4.4'
...
ldgen: allow + sign in archive names (v4.4)
See merge request espressif/esp-idf!16467
2021-12-23 11:15:47 +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
Jiang Jiang Jian
62322caf38
Merge branch 'contrib/github_pr_7966_v4.4' into 'release/v4.4'
...
Changed argument pointer to correct data (GitHub PR) (v4.4)
See merge request espressif/esp-idf!16423
2021-12-22 12:42:27 +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
451a173960
Merge branch 'bugfix/idf_exe_dll_deps_v4.4' into 'release/v4.4'
...
tools: fix idf_exe dependency on vcruntime140.dll, move it out of IDF (v4.4)
See merge request espressif/esp-idf!16352
2021-12-22 12:29:58 +00:00
Jiang Jiang Jian
255ca3d18e
Merge branch 'feature/cmake_linux_arm64_v4.4' into 'release/v4.4'
...
tools: updates for linux-arm64 (aarch64) platform (v4.4)
See merge request espressif/esp-idf!16353
2021-12-22 12:29:33 +00:00
Jiang Jiang Jian
abc7365777
Merge branch 'docs/pthread_rw_lock' into 'release/v4.4'
...
Docs: documentation about reader-writer-lock impl (v4.4)
See merge request espressif/esp-idf!16148
2021-12-22 12:29:19 +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
Roland Dobai
0b43544a24
Tools: Load tool versions automatically for IDF Tools tests
2021-12-22 10:31:17 +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