Darian Leung
c33b260e7a
freertos: Fix prvTaskIsTaskSuspended check
...
This commit fixes prvTaskIsTaskSuspended(). Both pending ready lists
should be checked to confirm that is truly suspended.
Closes https://github.com/espressif/esp-idf/issues/7564
2021-12-24 21:08:56 +08:00
Mahavir Jain
da6c5be6c1
Merge branch 'feature/mbedtls_dynamic_memory_v4.3' into 'release/v4.3'
...
fix(mbedtls): fix compiling error when open MBEDTLS_SSL_PROTO_DTLS and disable...(backport v4.3)
See merge request espressif/esp-idf!16521
2021-12-23 11:43:45 +00:00
Ivan Grokhotkov
f8ee842e8c
Merge branch 'bugfix/ringbuf_send_semaphore_release_order_v4.3' into 'release/v4.3'
...
esp_ringbuf: Fix order of semaphore release in xRingbufferSend (v4.3)
See merge request espressif/esp-idf!16230
2021-12-23 07:51:39 +00:00
Li Jingyi
e3b39381fd
fix(mbedtls): fix compiling error when open MBEDTLS_SSL_PROTO_DTLS and disable MBEDTLS_DYNAMIC_BUFFER feature when MBEDTLS_SSL_PROTO_DTLS is selected
2021-12-23 15:34:18 +08:00
Jiang Jiang Jian
57efd94fea
Merge branch 'bugfix/scannable_adv_duration_estimation_v4.3' into 'release/v4.3'
...
[Coexistence]: fixed BLE scannable extended adv performance issue in case of Wi-Fi coexistence(backport v4.3)
See merge request espressif/esp-idf!16477
2021-12-23 04:21:37 +00:00
Wang Fang
9abfa2c645
Merge branch 'fix/remove_deprecated_macro_SPI_TRANS_SET_CD' into 'release/v4.3'
...
Remove a deprecated macro: SPI_TRANS_SET_CD
See merge request espressif/esp-idf!16494
2021-12-23 02:21:11 +00:00
Jiang Jiang Jian
7a4ed65769
Merge branch 'bugifx/nimble_timer_memory_leak_v4.3' into 'release/v4.3'
...
[NimBLE]: Fixed memory leak of timer during NimBLE Host start-stop process(backport v4.3)
See merge request espressif/esp-idf!16446
2021-12-22 13:34:03 +00:00
Jiang Jiang Jian
31d1156c6d
Merge branch 'bugfix/fix_can_not_find_mac_addr_error_mr_4.3' into 'release/v4.3'
...
fix can not find mac addr error
See merge request espressif/esp-idf!16146
2021-12-22 13:33:29 +00:00
Jiang Jiang Jian
25c047d2fa
Merge branch 'bugfix/wpa_supplicant_logs_release_v4.3' into 'release/v4.3'
...
esp_wifi: Change the verbosity of wpa_supplicant logs. (Backport v4.3)
See merge request espressif/esp-idf!16348
2021-12-22 13:32:58 +00:00
Jiang Jiang Jian
0fed811a46
Merge branch 'feature/mbedtls-2.16.12-integration_v4.3' into 'release/v4.3'
...
mbedtls: upgrade to release v2.16.12 (v4.3)
See merge request espressif/esp-idf!16484
2021-12-22 13:32:30 +00:00
Mahavir Jain
bd5176f108
Merge branch 'bugfix/vfs_io_disabled_console_v4.3' into 'release/v4.3'
...
Fix console output flushing when CONFIG_VFS_SUPPORT_IO is disabled (v4.3)
See merge request espressif/esp-idf!15653
2021-12-22 13:12:21 +00:00
Jiang Jiang Jian
39ab27d0cf
Merge branch 'bugfix/wps_fixes_v4.3' into 'release/v4.3'
...
wpa_supplicant: Add WPS Fixes (backport V4.3)
See merge request espressif/esp-idf!16151
2021-12-22 12:20:46 +00:00
Jiang Jiang Jian
7c9ef7466f
Merge branch 'bugfix/riscv_fix_vector_mcause_v4.3' into 'release/v4.3'
...
RISC-V: fix usage of special register when interrupts are enabled (backport v4.3)
See merge request espressif/esp-idf!16188
2021-12-22 10:09:55 +00:00
Mahavir Jain
97f8f1b0d6
Merge branch 'feature/mbedtls_dynamic_memory_v4.3' into 'release/v4.3'
...
feat(mbedtls): modify __wrap_mbedtls_ssl_setup to decrease SSL peak heap cost(backport v4.3)
See merge request espressif/esp-idf!16274
2021-12-22 08:21:43 +00:00
Zim Kalinowski
eef3c878aa
Merge branch 'bugfix/fix_select_timeout_v4.3' into 'release/v4.3'
...
VFS: `select` function's timeout is now POSIX compliant (backport v4.3)
See merge request espressif/esp-idf!16190
2021-12-22 05:49:13 +00:00
Mahavir Jain
ad2652c1f4
Merge branch 'bugfix/stdatomic_sync_op_and_fetch_v4.3' into 'release/v4.3'
...
newlib: stdatomic: implement missing "op_fetch", "nand" builtins (v4.3)
See merge request espressif/esp-idf!16466
2021-12-22 04:14:53 +00:00
Zim Kalinowski
f00a1bf164
Merge branch 'bugfix/fix_esp32h2_efuse_get_ext_mac_v4.3' into 'release/v4.3'
...
efuse_table_gen: Fixes wrong joining fields with omitted names (v4.3)
See merge request espressif/esp-idf!15738
2021-12-22 02:17:47 +00:00
Ivan Grokhotkov
e0777cbbd4
Merge branch 'bugfix/freertos_linker_lf_fixes_v4.3' into 'release/v4.3'
...
freertos: linker.lf rules fixes (v4.3)
See merge request espressif/esp-idf!14042
2021-12-22 00:17:22 +00:00
Roland Dobai
71f7d9a8f4
Merge branch 'bugfix/ldgen_plus_in_archive_name_v4.3' into 'release/v4.3'
...
ldgen: allow + sign in archive names (v4.3)
See merge request espressif/esp-idf!16468
2021-12-21 17:52:21 +00:00
Jiang Jiang Jian
57d90c5cd6
Merge branch 'mesh/bugfix_fix_no_ip_issue_v4.3' into 'release/v4.3'
...
esp_wifi_mesh: fix the device can not receive IP_EVENT_STA_GOT_IP when the router restarted(backport_v4.3)
See merge request espressif/esp-idf!16344
2021-12-21 12:51:37 +00:00
Wang Fang
641e86c1dc
fix: remove a deprecated macro: SPI_TRANS_SET_CD
2021-12-21 17:44:15 +08:00
Roland Dobai
9d0fca67a9
Merge branch 'bugfix/remove_PIP_USER_v4.3' into 'release/v4.3'
...
tools: Add check for PIP_USER variable (backport v4.3)
See merge request espressif/esp-idf!16337
2021-12-21 08:38:42 +00:00
Mahavir Jain
0fd5c562bf
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 14:04:31 +05:30
Mahavir Jain
9d79b70acf
mbedtls: small documentation update
2021-12-21 14:04:12 +05:30
Li Jingyi
32e29580de
feat(mbedtls): modify __wrap_mbedtls_ssl_setup to decrease SSL peak heap cost
2021-12-21 15:19:29 +08:00
wangmengyang
3f63a4caee
component/bt: fixed coexistence scannable extended adv performance issue
2021-12-21 12:55:13 +08:00
Wang Meng Yang
450b05a64a
Merge branch 'bugfix/fix_spp_listen_err_v4.3' into 'release/v4.3'
...
Component_bt/Fix SPP cannot malloc slot bugs[backport v4.3]
See merge request espressif/esp-idf!16384
2021-12-21 04:35:07 +00:00
Mahavir Jain
9844845214
Merge branch 'bugfix/address_already_used_exception_in_ota_tests_v4.3' into 'release/v4.3'
...
Fix 'address already in use' exception in OTA tests (v4.3)
See merge request espressif/esp-idf!16417
2021-12-21 04:34:57 +00:00
Jiang Jiang Jian
778faeb7dd
Merge branch 'fix/remove_warning_when_disabling_rom_dl_mode_v4.3' into 'release/v4.3'
...
secure_boot: Fix warning when UART ROM DL mode is disabled (v4.3)
See merge request espressif/esp-idf!16238
2021-12-21 03:54:33 +00:00
Jiang Jiang Jian
e9f47296a8
Merge branch 'reduce_bootup_time_when_using_usb-serial-jtag_v4.3' into 'release/v4.3'
...
rtc_clk: reduce bootup time when using usb-serial-jtag(backport v4.3)
See merge request espressif/esp-idf!16261
2021-12-21 03:52:39 +00:00
Jiang Jiang Jian
7dbfd01520
Merge branch 'bugfix/hardware_mpi_fallback_issue_v4.3' into 'release/v4.3'
...
mbedtls: fix hardware MPI (bignum) related regression (v4.3)
See merge request espressif/esp-idf!16237
2021-12-21 03:49:11 +00:00
Jiang Jiang Jian
6c38e7c5de
Merge branch 'bugfix/esptool_bump_v4.3' into 'release/v4.3'
...
bugfix: ESP32 rev0/1 connection in release/v4.3
See merge request espressif/esp-idf!16218
2021-12-21 03:47:24 +00:00
Jiang Jiang Jian
201ae7e0e7
Merge branch 'bugfix/avoid-exception-messages-while-export_v4.3' into 'release/v4.3'
...
Avoid exception messages while autocomplete initialization in export.sh (v4.3)
See merge request espressif/esp-idf!16200
2021-12-21 03:46:12 +00:00
Jiang Jiang Jian
4ab1fb9b2a
Merge branch 'bugfix/bootloader_debug_buffers_v4.3' into 'release/v4.3'
...
bootloader_support: Fix and re-enable bootloader_debug_buffer function (v4.3)
See merge request espressif/esp-idf!16074
2021-12-21 03:45:32 +00:00
Jiang Jiang Jian
683a98fbe3
Merge branch 'feature/adds_fault_injection_protection_for_check_anti_rollback_v4.3' into 'release/v4.3'
...
bootloader_support: Adds fault injection protection for check_anti_rollback (v4.3)
See merge request espressif/esp-idf!16180
2021-12-21 03:44:41 +00:00
Jiang Jiang Jian
0193aeffd6
Merge branch 'feature/add_dhcp_option_v4.3' into 'release/v4.3'
...
lw-ip: Add macro to disable vendor class option(backport v4.3)
See merge request espressif/esp-idf!15983
2021-12-21 03:44:09 +00:00
Jiang Jiang Jian
9dac6b0643
Merge branch 'docs/examples_bluedroid_ble50_v4.3' into 'release/v4.3'
...
Readme for the bluedroid ble50 example with tutorial of walkthrough example (v4.3)
See merge request espressif/esp-idf!16100
2021-12-21 03:43:50 +00:00
Jiang Jiang Jian
9a0a697b27
Merge branch 'bugfix/mdns_non_standard_domains_v4.3' into 'release/v4.3'
...
mdns: Fix parsing non-standard queries (v4.3)
See merge request espressif/esp-idf!16060
2021-12-21 03:43:18 +00:00
Jiang Jiang Jian
3eb854c3ea
Merge branch 'bugfix/LAN8720_reset_assertion_v4.3' into 'release/v4.3'
...
Increased LAN8720 ETH-PHY reset assertion time (v4.3)
See merge request espressif/esp-idf!15826
2021-12-21 03:42:37 +00:00
Jiang Jiang Jian
e7db515b35
Merge branch 'bugfix/link_spi_flash_rom_func_in_bootloader_stage_v4.3' into 'release/v4.3'
...
esp_rom: link rom spi flash functions in bootloader stage (v4.3)
See merge request espressif/esp-idf!15257
2021-12-21 03:42:15 +00:00
Jiang Jiang Jian
4d2674a7f4
Merge branch 'docs/wifi_security_and_dpp_v4.3' into 'release/v4.3'
...
docs: Separate Doc on WiFi security, added DPP Doc (Backport v4.3)
See merge request espressif/esp-idf!14834
2021-12-21 03:40:23 +00:00
Wang Meng Yang
37591f6a85
Merge branch 'nimble/add_throughput_example_v4.3' into 'release/v4.3'
...
NimBLE: Add NimBLE throughput demo examples (v4.3)
See merge request espressif/esp-idf!16124
2021-12-21 03:38:39 +00:00
Wang Meng Yang
b62308c363
Merge branch 'nimble_spp_v4.3' into 'release/v4.3'
...
NimBLE: BLE example for SPP service (v4.3)
See merge request espressif/esp-idf!16123
2021-12-21 03:34:21 +00:00
Wang Meng Yang
04f69192d2
Merge branch 'bugfix/fix_blufi_encryption_fail_v4.3' into 'release/v4.3'
...
components/bt: fix blufi encryption fail(backport release/v4.3)
See merge request espressif/esp-idf!16315
2021-12-21 03:30:02 +00:00
Wang Meng Yang
91d7557579
Merge branch 'feature/support_ble_direct_ind_low_adv_v4.3' into 'release/v4.3'
...
components/bt: Support low duty cycle directed advertising(backport release/v4.3)
See merge request espressif/esp-idf!16378
2021-12-21 03:27:09 +00:00
Ivan Grokhotkov
e26a2250a5
freertos: linker.lf rules fixes
...
1. Add conditions based on Kconfig options for functions which are
compiled based on those options.
2. Static allocation is always enabled, move corresponding functions
into the common list.
2021-12-21 01:26:44 +00:00
Ivan Grokhotkov
8e7b11f6d1
newlib: set errno in the explicitly provided reent structure
...
Since these functions receive the pointer to reent structure, they
should set errno in it rather than using thread-local errno.
This didn't cause practical issues because console functions in IDF
are only called from threads, and in that case 'r' is a pointer to
the thread-local structure, so &errno is the same thing as
&__errno_r(r). Still, fixing this for consistency.
2021-12-21 01:25:49 +00:00
Ivan Grokhotkov
3d91e6d993
newlib: implement _fstat_r stub for console
...
When CONFIG_VFS_SUPPORT_IO is disabled, _read_r and _write_r
implementations in syscalls.c are used to provide console I/O via
esp_rom_uart_tx_one_char/esp_rom_uart_rx_one_char.
When newlib opens a (FILE*) stream, it calls fstat to check if the
underlying file is character-oriented. In this case, it configures the
stream to use line buffering. Otherwise (or if fstat fails) the stream
is opened as block buffered.
Since fstat wasn't provided, stdin/stdout/stderr streams got opened in
block buffered mode. For console, we need line buffered output so that
the stream buffer is flushed each time a complete line (ending with
'\n') is sent to stdout or stderr.
Fix by implementing _fstat_r stub, setting st->st_mdoe=S_IFCHR.
2021-12-21 01:25:49 +00:00
Ivan Grokhotkov
f976bb0ef8
ldgen: allow + sign in archive names
...
Closes https://github.com/espressif/esp-idf/issues/8073
2021-12-21 02:17:43 +01:00
Ivan Grokhotkov
bd598e36ea
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:16:02 +01:00