baohongde
918d8fabcf
components/bt: Update the document of demo bt discovery
2021-12-29 14:39:18 +08:00
Omar Chebib
7467c68a17
Merge branch 'bugfix/xStreamBufferReset_crashing_v4.3' into 'release/v4.3'
...
FreeRTOS: Fix xStreamBufferReset function always crashing (backport v4.3)
See merge request espressif/esp-idf!16171
2021-12-27 14:25:01 +00:00
Ivan Grokhotkov
df5f73e165
Merge branch 'bugfix/modbus_port_fix_lgpl_licensed_files_v43' into 'release/v4.3'
...
freemodbus: fix port contains lgpl licensed files (backport v4.3)
See merge request espressif/esp-idf!16183
2021-12-27 10:02:21 +00:00
Mahavir Jain
8a7b2f326b
Merge branch 'bugfix/freertos_prvTaskIsTaskSuspended_v4.3' into 'release/v4.3'
...
freertos: Fix prvTaskIsTaskSuspended check (v4.3)
See merge request espressif/esp-idf!16540
2021-12-27 03:56:22 +00:00
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
Yang Zhao
65edf90e93
Update esp32c3 phy lib and bb lib
...
Fix the ble task watchdog timeout issue caused by phy enable when exit modem sleep.
2021-12-23 20:30:12 +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
Omar Chebib
5e805d58a8
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-12-23 06:15:50 +00: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
Wang Fang
641e86c1dc
fix: remove a deprecated macro: SPI_TRANS_SET_CD
2021-12-21 17:44:15 +08: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
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
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
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
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
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
Omar Chebib
824552e9b4
RISC-V: fix usage of special register when interrupts are enabled
2021-12-21 01:06:11 +00:00
Ivan Grokhotkov
3c0d892d43
Merge branch 'bugfix/missing-atomic-definitions' into 'release/v4.3'
...
newlib: missing atomic definitions (v4.3)
See merge request espressif/esp-idf!15610
2021-12-21 01:03:24 +00:00
Ivan Grokhotkov
5ec8dcf937
Merge branch 'bugfix/scheduler_state_query_thread_safety_v4.3' into 'release/v4.3'
...
freertos: fix thread safety for checking scheduler state (v4.3)
See merge request espressif/esp-idf!16131
2021-12-21 01:02:12 +00:00
Ivan Grokhotkov
8bf14a9238
versions: Update version to 4.3.2
2021-12-20 19:02:41 +01:00