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
Angus Gratton
564229c9a6
pthread: Fix behaviour when pthread destructor calls pthread_getspecific/pthread_setspecific
...
Update as per specification at https://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_key_create.html
Specifically:
- Before a destructor is called then the value for the corresponding key is
already set to NULL.
- If a destructor calls pthread_setspecific() to assign a non-NULL value then
this destructor is called again, after all existing non-NULL values have been
called.
Adds a test for this relatively complex behaviour.
Closes https://github.com/espressif/esp-idf/issues/6643
2021-12-21 01:27:49 +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
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
6217ebd865
Merge branch 'feature/remove_component_manager_tests_v4.3' into 'release/v4.3'
...
ci: Remove component manager test from build system tests (v4.3)
See merge request espressif/esp-idf!16107
2021-12-21 01:02:40 +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
c72c3fdb3c
Merge branch 'update/version_4_3_2' into 'release/v4.3'
...
Update version to 4.3.2
See merge request espressif/esp-idf!16462
2021-12-21 00:56:13 +00:00
Ivan Grokhotkov
8bf14a9238
versions: Update version to 4.3.2
2021-12-20 19:02:41 +01:00
Kapil Gupta
92331a8c62
wpa_supplicant: Add WPS Fixes
...
Add following bugfixes
1. Station not able to connect when WPS pin is pressed first on AP.
2. PBC overlap getting detected for selected registrar PIN APs.
3. Station not considering authorised MACs for PIN method.
4. For PIN methodm If no AP is found, station will loop through
APs in its vicinity and try to do WPS with them one by one till
WPS timeout occurs. This is for some APs which do not set
selected registrar correctly.
2021-12-20 22:02:53 +05:30
weitianhua
bb9a13e328
Fix Typos
2021-12-20 17:03:14 +08:00
weitianhua
b34c461d35
Optimize HFP Documents
2021-12-20 17:03:02 +08:00
wangmengyang
971d9b9436
component/bt/host/nimble: fixed memory leak due to timer not destroyed during NimBLE host start-stop
2021-12-20 15:55:47 +08:00
shenjun
6a2f9b21ec
esp_wifi_mesh: fix the device can not receive IP_EVENT_STA_GOT_IP when the router restarted
2021-12-16 17:27:24 +08:00
Harshit Malpani
3a55b28ba9
Fix for advanced_ota_redirect_url example failure in CI
2021-12-16 12:18:00 +05:30
Harshit Malpani
c9940a3eed
Fix 'address already in use' exception in OTA tests
...
We will stop the server instance at the end of each test case. This will solve the "address already in use" exception
2021-12-16 10:16:32 +05:30
Armando
b812712757
spi_slave_hd: fix stack variable bug in seg_slave example
...
Closes https://github.com/espressif/esp-idf/issues/7163
2021-12-14 12:40:38 +08:00
liqigan
a269df84e9
fix SPP server bugs when the BTC layer can not allocate a slot for the listen port
2021-12-14 11:07:29 +08:00
xiewenxiang
a7900f871f
components/bt: Fix high duty cycle directed advertising will not be stopped when timeout
2021-12-14 09:33:24 +08:00
xiewenxiang
d4cc192782
components/bt: Support low duty cycle directed advertising
2021-12-14 09:33:17 +08:00
xiewenxiang
8409e3bcbe
components/bt: fix blufi encryption fail
2021-12-13 09:55:00 +08:00
Hrudaynath Dhabe
d3b88a13e1
esp_wifi: Change the verbosity of wpa_supplicant logs.
2021-12-09 12:41:36 +05:30
Juraj Sadel
255da2605b
tools: Add check for PIP_USER variable
...
Closes https://github.com/espressif/esp-idf/issues/7910
2021-12-08 16:23:50 +01:00
Chen Yudong
1c18f28a4a
ci: preserve artifacts for local test apps
...
build ble_mesh_console example on c3 as well
add test dir examples/bluetooth/esp_ble_mesh/ble_mesh_console
add test dir examples/bluetooth/hci/controller_hci_uart_esp32
2021-12-08 16:31:21 +08:00
Marius Vikhammer
44af11f38c
spi-slave: fix single-board: hd test failing due to DMA buffers ending up in PSRAM
2021-12-08 12:17:06 +08:00
jingli
4b73610eea
reduce bootup time when using usb-serial-jtag
2021-12-03 20:55:52 +08:00
RichFalk
2305b5f474
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-03 09:34:15 +05:30
Mahavir Jain
70936f4c92
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:15:42 +05:30
Aditya Patwardhan
9fb61791fe
secure_boot: Fix warning when UART ROM DL mode is disabled
...
*Additionally use updated calls to enable rom secure download mode
2021-12-02 15:17:56 +05:30