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
songruojing
b25fb1111d
gpio: Fix some gpio pin num errors on esp32s2 and esp32c3
2021-12-30 12:27:14 +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
Li Jingyi
c91afab332
fix(mbedtls): fix compiling error when open MBEDTLS_SSL_PROTO_DTLS and disable MBEDTLS_SSL_PROTO_DTLS when open MBEDTLS_DYNAMIC_BUFFER
2021-12-21 16:31:47 +08:00
Mahavir Jain
3e3e1a9a9d
mbedtls: upgrade to release v2.16.12
...
For release notes, please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.12
2021-12-21 13:58:40 +05:30
Mahavir Jain
d0b465c7cd
mbedtls: small documentation update
2021-12-21 13:58:40 +05:30
wangmengyang
8152978d73
component/bt: fixed coexistence scannable extended adv performance issue
2021-12-21 12:43:33 +08:00
wangmengyang
bcd47fa0cc
component/bt/host/nimble: fixed memory leak due to timer not destroyed during NimBLE host start-stop
2021-12-21 12:31:42 +08:00
Jiang Jiang Jian
d037359359
Merge branch 'bugfix/static_analysis_fixes_v4.4' into 'release/v4.4'
...
ESP_WIFI: Remove static analysis warnings(backport v4.4)
See merge request espressif/esp-idf!16333
2021-12-21 04:11:22 +00:00
Jiang Jiang Jian
187f47d232
Merge branch 'feature/support_ble_direct_ind_low_adv_v4.4' into 'release/v4.4'
...
components/bt: Support low duty cycle directed advertising(backport release/v4.4)
See merge request espressif/esp-idf!16377
2021-12-21 04:07:13 +00:00
Jiang Jiang Jian
c50eec53d1
Merge branch 'bugfix/fix_spp_listen_err_v4.4' into 'release/v4.4'
...
Component_bt/Fix SPP cannot malloc slot bugs[backport v4.4]
See merge request espressif/esp-idf!16383
2021-12-21 04:06:40 +00:00
Jiang Jiang Jian
a650995a2e
Merge branch 'bugfix/bt_enc_proc_finish_v4.4' into 'release/v4.4'
...
bt/bugfix: ACL Rx data is sent to host before enc change event
See merge request espressif/esp-idf!16424
2021-12-21 04:06:22 +00:00
Jiang Jiang Jian
8529a1da35
Merge branch 'bugfix/wpa_supplicant_logs_release_v4.4' into 'release/v4.4'
...
esp_wifi: Change the verbosity of wpa_supplicant logs (Backport v4.4)
See merge request espressif/esp-idf!16340
2021-12-21 04:03:17 +00:00
Darian Leung
f72baac109
freertos: Add missing INCLUDE_ configurations for some functions
...
This commit adds missing INCLUDE_ configurations to FreeRTOSConfig.h for
the following functions:
- xTaskAbortDelay()
- xTaskGetHandle()
Unit tests for these functions were also added.
Closes https://github.com/espressif/esp-idf/issues/7902
2021-12-21 10:54:28 +08:00
Ivan Grokhotkov
c8c65a2854
newlib: stdatomic: implement missing "op_fetch", "nand" builtins
...
* Adds implementations of __{atomic,sync}_nand_fetch_n. These builtins
were implemented for other operations but were not defined for NAND.
* Adds implementation of __atomic_OP_fetch_n for all OPs.
* Adds implementation of __sync_OP_and_fetch_n for all OPs.
Reported in https://github.com/espressif/arduino-esp32/issues/5948
2021-12-21 02:15:45 +01:00
Jiacheng Guo
9688cf5c04
openthread: update libraries to v4.4 release
...
Fixes the library mismatch and border router crash issue in v4.4
release.
2021-12-20 16:16:10 +08:00
Darian Leung
63ac2111ce
esp_ipc: Update documentation and API descriptions
...
This commit updates the documentation and API descriptions of
the esp_ipc and esp_ipc_isr features.
2021-12-20 12:41:10 +08:00
Jiang Jiang Jian
161d7ee25a
Merge branch 'bugfix/mcpwm_ll_missing_type_conversion_v4.4' into 'release/v4.4'
...
mcpwm: fix implicit conversion in LL function (v4.4)
See merge request espressif/esp-idf!16407
2021-12-16 10:16:03 +00:00
Chinmay Chhajed
431bf72295
bt/bugfix: ACL Rx data is sent to host before enc change event
2021-12-16 15:41:31 +05:30
morris
23e4c12a86
mcpwm: fix implicit conversion in LL function
...
Closes https://github.com/espressif/esp-idf/issues/8066
2021-12-15 10:24:42 +08:00
Armando
2aed35b804
adc: fix adc1 channel 8 and 9 not defined bug on s3
2021-12-14 20:10:47 +08:00
Hrudaynath Dhabe
40ae2037bc
esp_wifi: Change the verbosity of wpa_supplicant log.
2021-12-14 14:29:09 +05:30
NikLeberg
416b3b9465
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())
2021-12-14 12:46:37 +08:00
Shang Zhou
c42db9308f
docs: Update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file
2021-12-14 12:46:11 +08:00
muhaidong
094b3dba33
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
2021-12-14 12:42:25 +08:00
liqigan
b8602d4bf9
fix SPP server bugs when the BTC layer can not allocate a slot for the listen port
2021-12-14 11:03:57 +08:00
intern
215f8fe68e
docs: fix typo in header files
2021-12-14 11:01:17 +08:00
xiewenxiang
a628ef5be0
components/bt: Fix high duty cycle directed advertising will not be stopped when timeout
2021-12-14 09:32:34 +08:00
xiewenxiang
5086d6f3d2
components/bt: Support low duty cycle directed advertising
2021-12-14 09:32:15 +08:00
Armando
4a429d59ac
adc: update adc calibration efuse version
...
ADC calibration scheme and algorithm are not changed. Only the eFuse bit BLOCK1_VERSION is changed. This MR updated the logic to recognize the adc efuse version
2021-12-13 13:03:23 +08:00
Tomas Rezucha
e04eae6659
usb: Add USB host CDC-ACM class driver
2021-12-10 10:04:16 +01:00
Cao Sen Miao
a9a5894fe9
opi_flash: Add a function pointer for opi required registers
2021-12-10 15:11:33 +08:00
Jiang Jiang Jian
f23dcd3555
Merge branch 'bugfix/fix_phy_enable_watchdog_timeout_issue_4.4' into 'release/v4.4'
...
Fix the ble task watchdog timeout issue
See merge request espressif/esp-idf!16287
2021-12-09 08:32:34 +00:00
Marius Vikhammer
d730c84038
ci: fix "can set sleep wake stub from stack in RTC RAM" test case failure
...
"can set sleep wake stub from stack in RTC RAM" would randomly fail on S3 due to stack overflow.
Fixed wrong usage of stack size and slightly increased it.
2021-12-09 13:59:30 +08:00
Jiang Jiang Jian
e104dd7f27
Merge branch 'bugfix/fix_wifi_bugs_v4.4' into 'release/v4.4'
...
esp_wifi: fix wifi bugs (Backport v4.4)
See merge request espressif/esp-idf!16278
2021-12-08 15:46:40 +00:00
Jiang Jiang Jian
bd650062ca
Merge branch 'feature/update_rtc_memory_heap_caps' into 'release/v4.4'
...
heap: update RTC memory heap caps (backport v4.4)
See merge request espressif/esp-idf!15941
2021-12-08 13:35:18 +00:00
Jiang Jiang Jian
141c1cd004
Merge branch 'bugfix/crypto_allocate_lldesc_v4.4' into 'release/v4.4'
...
crypto: dont create DMA descriptors on the stack (v4.4)
See merge request espressif/esp-idf!16323
2021-12-08 13:31:41 +00:00
Kapil Gupta
a77ab8c03e
ESP_WIFI: Remove static analysis warnings
2021-12-08 18:03:43 +05:30
Mahavir Jain
c190ab1830
Merge branch 'fix/remove_warning_when_disabling_rom_dl_mode_v4.4' into 'release/v4.4'
...
secure_boot: Fix warning when UART ROM DL mode is disabled (v4.4)
See merge request espressif/esp-idf!16228
2021-12-08 11:56:15 +00:00
Yang Zhao
9c686ff341
Update esp32c3 and esp32s3 phy lib and bb lib
...
Fix the ble task watchdog timeout issue caused by phy enable when exit modem sleep.
2021-12-08 19:16:28 +08:00
Jiang Jiang Jian
fe5ee1041c
Merge branch 'bugfix/minimal_stacksize_watchpoint_aware_4.4' into 'release/v4.4'
...
[freertos]: Changed minimal stack size to regard watchpoint usage (backport v4.4)
See merge request espressif/esp-idf!16303
2021-12-08 10:28:05 +00:00
Jiang Jiang Jian
f2db4c7520
Merge branch 'bugfix/ringbuf_send_semaphore_release_order_v4.4' into 'release/v4.4'
...
esp_ringbuf: Fix order of semaphore release in xRingbufferSend (v4.4)
See merge request espressif/esp-idf!16229
2021-12-08 10:26:12 +00:00
Jiang Jiang Jian
a6e31652b8
Merge branch 'feature/mbedtls_dynamic_memory_v4.4' into 'release/v4.4'
...
feat(mbedtls): modify __wrap_mbedtls_ssl_setup to decrease SSL peak heap cost(backport v4.4)
See merge request espressif/esp-idf!16275
2021-12-08 10:21:04 +00:00
Jiang Jiang Jian
a89ff2677b
Merge branch 'bugfix/fix_esp32h2_efuse_get_ext_mac_v4.4' into 'release/v4.4'
...
efuse_table_gen: Fixes wrong joining fields with omitted names (v4.4)
See merge request espressif/esp-idf!15735
2021-12-08 10:12:25 +00:00
Jiang Jiang Jian
67fcfc2e02
Merge branch 'feature/freertos_try_enter_critical_v4.4' into 'release/v4.4'
...
freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions (v4.4)
See merge request espressif/esp-idf!16040
2021-12-08 10:10:17 +00:00
Mahavir Jain
ff3922d217
Merge branch 'bugfix/fix_select_timeout_v4.4' into 'release/v4.4'
...
VFS: `select` function's timeout is now POSIX compliant (and fix eventfd example) (backport v4.4)
See merge request espressif/esp-idf!16189
2021-12-08 08:32:42 +00:00
Aditya Patwardhan
2a2d8f5cbc
efuse_example_test: Fix the example test
...
*Unify the log messages when UART ROM Download mode is kept enabled
2021-12-08 16:11:59 +08:00
Aditya Patwardhan
2c0081b286
secure_boot: Fix warning when UART ROM DL mode is disabled
...
*Additionally use updated calls to enable rom secure download mode
2021-12-08 16:11:59 +08:00
Marius Vikhammer
a1ee43fe9d
crypto: also apply cache writeback/invalidate for SPIRAM_USE_MEMMAP
...
Closes https://github.com/espressif/esp-idf/issues/7944
2021-12-08 16:10:19 +08:00
Marius Vikhammer
3b3826b61c
crypto: allocate all DMA descriptors to DMA capable memory.
...
These were previously placed on the stack, but the stack could be placed in
RTC RAM which is not DMA capable.
2021-12-08 16:10:18 +08:00
Jiang Jiang Jian
36e1d1c180
Merge branch 'bugfix/wifi_netif_on_off_cycle_race_v4.4' into 'release/v4.4'
...
wifi: Fix race conditon invoking invalid callback on deinit (v4.4)
See merge request espressif/esp-idf!16309
2021-12-08 07:31:13 +00:00
Jiang Jiang Jian
feee6a2f36
Merge branch 'bugfix/eth_emac_reset_dma_desc_v4.4' into 'release/v4.4'
...
esp-eth: emac: Reset Tx DMA channel owner on init (v4.4)
See merge request espressif/esp-idf!16008
2021-12-08 07:18:42 +00:00
Michael (XIAO Xufeng)
f4e5948102
Merge branch 'bugfix/lcd_rgb_pclk_default_to_low_v4.4' into 'release/v4.4'
...
lcd: rgb pclk idle default to low && RMT IR protocol example for esp32s3 (v4.4)
See merge request espressif/esp-idf!16211
2021-12-08 07:01:08 +00:00
David Cermak
1b7cc59b10
wifi: Fix race conditon invoking invalid callback on deinit
...
Closes https://github.com/espressif/esp-idf/issues/7579
2021-12-08 07:14:08 +01:00
Jakob Hasse
32077601c4
bugfix (freertos): Changed minimal stack size to regard watchpoint usage
2021-12-08 11:29:09 +08:00
Marius Vikhammer
68fc49c4d2
spi-slave: fix single-board: hd test failing due to DMA buffers ending up in PSRAM
2021-12-08 10:59:26 +08:00
Nachiket Kukade
d7599a53b8
esp_wifi: Update wifi lib
...
1. Fix FTM failures after repeated operations
2. Update Mexico channel refer to FCC
3. Mesh: fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared
4. Decouple softap and 8684 support
2021-12-06 17:45:57 +08:00
Zhang Jun Hao
f490adf800
esp_wifi: support station only mode for code size down
2021-12-06 17:34:56 +08:00
Li Jingyi
03b7ffdf4a
feat(mbedtls): modify __wrap_mbedtls_ssl_setup to decrease SSL peak heap cost
2021-12-06 17:07:11 +08:00
Jiang Jiang Jian
220a91ae30
Merge branch 'feature/adds_fault_injection_protection_for_check_anti_rollback_v4.4' into 'release/v4.4'
...
bootloader_support: Adds fault injection protection for check_anti_rollback (v4.4)
See merge request espressif/esp-idf!16179
2021-12-06 04:03:11 +00:00
Jiang Jiang Jian
6affb3da3c
Merge branch 'bugfix/scheduler_state_query_thread_safety_v4.4' into 'release/v4.4'
...
freertos: fix thread safety for checking scheduler state (v4.4)
See merge request espressif/esp-idf!16126
2021-12-06 04:02:53 +00:00
Jiang Jiang Jian
3211346669
Merge branch 'bugfix/hardware_mpi_fallback_issue_v4.4' into 'release/v4.4'
...
mbedtls: fix hardware MPI (bignum) related regression (v4.4)
See merge request espressif/esp-idf!16236
2021-12-06 04:00:36 +00:00
Jiang Jiang Jian
0c8391acb1
Merge branch 'reduce_bootup_time_when_using_usb-serial-jtag_v4.4' into 'release/v4.4'
...
rtc_clk: reduce bootup time when using usb-serial-jtag(backport v4.4)
See merge request espressif/esp-idf!16260
2021-12-06 04:00:01 +00:00
Jiang Jiang Jian
b458a60791
Merge branch 'bugfix/fix_can_not_find_mac_addr_error_mr_4.4' into 'release/v4.4'
...
fix can not find mac addr error
See merge request espressif/esp-idf!16145
2021-12-06 03:37:24 +00:00
Jiang Jiang Jian
5e9c085ae9
Merge branch 'bugfix/xStreamBufferReset_crashing_v4.4' into 'release/v4.4'
...
FreeRTOS: Fix xStreamBufferReset function always crashing (backport v4.4)
See merge request espressif/esp-idf!16170
2021-12-06 03:36:51 +00:00
morris
e311554554
lcd: rgb pclk idle default to low
2021-12-06 10:02:55 +08:00
jingli
1d6c95000b
reduce bootup time when using usb-serial-jtag
2021-12-03 20:50:22 +08:00
yuanjm
3ebb1a2a00
lwip: Update LWIP_DHCP_OPTIONS_LEN default value when LWIP_DHCP_DISABLE_VENDOR_CLASS_ID disabled
...
Closes https://github.com/espressif/esp-idf/issues/7742
2021-12-03 17:23:35 +08:00
Mahavir Jain
a28e0bf064
mbedtls: remove wrap from component.mk as well
...
Note: This was not required in original MR, as master branch does
not support GNU Make.
2021-12-02 17:13:31 +05:30
Mahavir Jain
7fe9d41e33
esp_bignum: move check for supported MPI bits at start of API
...
This can allow hardware MPI API to return as soon as it identifies
that it can handle require bitlength operation.
2021-12-02 15:07:08 +05:30
Mahavir Jain
9cb4948a23
mbedtls: update mbedtls submodule pointer for MPI API change
2021-12-02 15:07:08 +05:30
Mahavir Jain
99c9637e9b
mbedtls: fix hardware MPI (bignum) related regression
...
In commit de22f3a4e5
, combination of
hardware and software MPI (bignum) related approach was used to
work around chip (e.g. ESP32-C3) limitation of max 3072 bits support.
This was done using linker "--wrap" flag but since the relevant API is
being used in same translation (compilation unit), hardware mode was not
getting used in some cases (e.g., RSA key generation).
This commit modified internal mbedTLS API and makes software+hardware
combination deterministic.
2021-12-02 15:07:08 +05:30
Mahavir Jain
e0e6523c09
mbedtls: update kconfig help to correct on supported MPI bits
2021-12-02 15:07:07 +05:30
David Čermák
b98a2a41e0
Merge branch 'bugfix/ksz8081_loopback' into 'release/v4.4'
...
KSZ8081 Loopback Callback Fix
See merge request espressif/esp-idf!16081
2021-12-02 07:29:31 +00:00
David Čermák
d5c607c54a
Merge branch 'bugfix/dm9051_tx_throughput_rate_optimization_v4.4' into 'release/v4.4'
...
esp_eth: optimize dm9051 Tx throughput(v4.4)
See merge request espressif/esp-idf!15885
2021-12-02 06:51:22 +00:00
RichFalk
92829f66c8
esp_ringbuf: Fix assertion xQueueGenericSend queue.c:818
...
The release of the semaphore indicating the item was successfully sent must be the last semaphore released. The receiver may be in another task and may delete the Ringbuffer (such as with a return code across tasks design pattern) if they are through with the Ringbuffer.
The function xRingbufferSendAcquire followed by xRingbufferSendComplete had the semaphores released in the proper order and that same pattern should have been used in xRingbufferSend and xRingbufferSendFromISR. This commit fixes this order.
Issue (IDFGH-6030) #7716 describes the problem in more detail.
Closes IDFGH-6030, https://github.com/espressif/esp-idf/issues/7716
Closes IDFGH-6036, https://github.com/espressif/esp-idf/pull/7721
2021-12-02 10:25:06 +05:30
Zim Kalinowski
aa96a98c0c
Merge branch 'bugfix/riscv_fix_vector_mcause_v4.4' into 'release/v4.4'
...
RISC-V: fix usage of special register when interrupts are enabled (backport v4.4)
See merge request espressif/esp-idf!16187
2021-12-01 04:20:54 +00:00
Zim Kalinowski
66c547e5ab
Merge branch 'bugfix/ringbuf_read_pointer_wrap_v4.4' into 'release/v4.4'
...
ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers (v4.4)
See merge request espressif/esp-idf!15881
2021-12-01 04:18:48 +00:00
xutao
5c08cd3fe1
esp_http_client: add a get HTTP client session errno API for esp_http_client(backport v4.4)
2021-11-30 15:26:48 +08:00
Yang Zhao
a96b8e151d
Add the feature that switch random address to origin mac addr in the ADV
...
report data.
2021-11-30 14:24:52 +08:00
Jiang Jiang Jian
51e295b5c2
Merge branch 'bugfix/vfs-select-lock-latency-4.4' into 'release/v4.4'
...
vfs: reduce lock in vfs_select (v4.4)
See merge request espressif/esp-idf!16172
2021-11-30 03:56:08 +00:00
Jiang Jiang Jian
db6bc89b8c
Merge branch 'bugfix/leedarson_v4.4' into 'release/v4.4'
...
component_bt: Fix some code logic errors (v4.4)
See merge request espressif/esp-idf!16016
2021-11-30 03:52:24 +00:00
Omar Chebib
cf21312d8d
VFS: select
function's timeout is now POSIX compliant
...
`select` function will now round up the timeout passed as a parameter (if any).
It makes it POSIX compliant.
* Closes https://github.com/espressif/esp-idf/issues/7514
2021-11-30 11:51:46 +08:00
Omar Chebib
7cab983b86
RISC-V: fix usage of special register when interrupts are enabled
2021-11-30 11:45:18 +08:00
Mahavir Jain
5f7037d143
bootloader: add anti-FI checks around secure version in anti-rollback scheme
2021-11-29 18:49:22 +05:30
Christian Fischerauer
26baeaca60
esp_eth: add loopback for ksz8081
2021-11-29 20:16:35 +08:00
Jiacheng Guo
ce7c936633
vfs: reduce lock in vfs_select
2021-11-29 17:32:43 +08:00
Omar Chebib
581f1c4550
FreeRTOS: Fix xStreamBufferReset function always crashing
...
This function resets the spinlock given as a parameter after taking it
(when entering the critical section). This then results in a panic once
it tries to exit the same critical section.
* Closes https://github.com/espressif/esp-idf/issues/7725
2021-11-29 15:31:30 +08:00
Jiang Jiang Jian
75fa6d7e3f
Merge branch 'feature/add_coex_hci_command_v4.4' into 'release/v4.4'
...
Add hci command to set coexistence status (v4.4)
See merge request espressif/esp-idf!16053
2021-11-29 03:23:32 +00:00
Mahavir Jain
a524bd85fd
Merge branch 'bugfix/bootloader_utility_warnings_v4.4' into 'release/v4.4'
...
bootloader_support: Fix compiler warnings (v4.4)
See merge request espressif/esp-idf!16139
2021-11-26 13:32:28 +00:00
Roland Dobai
3c02b30a54
Merge branch 'bugfix/app_trace_tmo_init_v4.4' into 'release/v4.4'
...
startup: init timer before calling esp_apptrace_tmo_init (v4.4)
See merge request espressif/esp-idf!16136
2021-11-26 11:53:09 +00:00
Jiang Jiang Jian
fe91b306e4
Merge branch 'bugfix/multi_heap_get_info_impl_backport_v4.4' into 'release/v4.4'
...
heap: fix multi_heap_get_info_impl(backport v4.4)
See merge request espressif/esp-idf!16119
2021-11-26 05:44:49 +00:00
Gustavo Henrique Nihei
6f6538f053
bootloader_support: Fix unused-but-set-variable compiler warning
...
When building with BOOTLOADER_LOG_LEVEL lesser then VERBOSE, an error
code variable was being set but not consumed, resulting in a compiler
warning.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-26 01:34:42 -03:00
Gustavo Henrique Nihei
d21ef9b10a
bootloader_support: Fix unused-variable compiler warning
...
Builds for every chip other than ESP32 resulted in a compiler warning
due to "drom_load_addr_aligned" and "irom_load_addr_aligned" not being
used, besides being possible to actually reuse them.
Furthermore, extended the logic for the other similar variables.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-26 01:34:40 -03:00
Erhan Kurubas
b748053e2e
startup: init timer before calling esp_apptrace_tmo_init
2021-11-25 23:58:36 +01:00
Mahavir Jain
41906a8d31
freertos: fix thread safety for checking scheduler state
...
This issue was earlier fixed in commit 79e74e5d5f
but during migration to newer FreeRTOS release, it got introduced again.
This commit fixes thread safety issues with configASSERT() calls
regarding the value of uxSchedulerSuspended. A false negative
occurs if a context switch to the opposite core occurs in between
the getting the core ID and the assesment.
Relevant https://github.com/espressif/esp-idf/issues/4230
Closes https://github.com/espressif/esp-idf/issues/7726
Closes IDFGH-6041
2021-11-25 15:43:07 +05:30
Wang Meng Yang
02237e4b77
Merge branch 'bugfix/bt_assert_failed_when_interrupt_hlevel_disable_v4.4' into 'release/v4.4'
...
component/bt: fix assert fail when interrupt hlevel disable(backport release/v4.4)
See merge request espressif/esp-idf!16043
2021-11-25 06:30:08 +00:00
gaoxiaojie
666218d753
heap: fix multi_heap_get_info_impl
2021-11-25 10:34:06 +08:00