Darian Leung
d465316f0b
freertos: Fix event group task list race condition
...
FreeRTOS synchronization primitives (e.g., queues, eventgroups) use various event lists (i.e., task lists) to track what
tasks are blocked on a current primitive. Usually these event lists are accessed via one of the event lists functions
(such as vTask[PlaceOn|RemoveFrom]UnorderedEventList()), which in turn ensure that the global task list spinlock
(xTaskQueueMutex) is taken when accessing these lists.
However, some functions in event_groups.c manually traverse their event lists. Thus if a tick interrupt occurs on
another core during traversal and that tick interrupt unblocks a task on the event list being traversed, the event list
will be corrupted.
This commit modifies the following event_groups.c functions so that they take the global task list lock before
traversing their event list.
- xEventGroupSetBits()
- vEventGroupDelete()
2022-07-19 12:03:04 +08:00
jiangguangming
02afbaccdd
example: peripherals/usb: fix typo naming of local variables
2022-07-19 10:30:44 +08:00
Jiang Jiang Jian
f0a3ccc732
Merge branch 'ci/support_nightly_build_keyword_in_ttfw_v4.4' into 'release/v4.4'
...
ci: support keyword `nightly_run` in ttfw_idf decorator (v4.4)
See merge request espressif/esp-idf!18946
2022-07-18 21:20:28 +08:00
Chen Wu
4bb12517f5
lwip: Fixed that ipv6 dns cannot work
2022-07-15 16:18:01 +08:00
zhiweijian@espressif.com
85da506ec0
Fixed bluedroid host memory overflow
2022-07-15 14:47:28 +08:00
Jiang Jiang Jian
ee2029c38a
Merge branch 'update_v4.4/mbedtls_v2.28.1' into 'release/v4.4'
...
mbedtls: Update to release v2.28.1 (v4.4)
See merge request espressif/esp-idf!19041
2022-07-14 22:51:26 +08:00
morris
f69e6b3714
Merge branch 'bugfix/rgb_panel_set_gap_v4.4' into 'release/v4.4'
...
rgb_lcd: fix error in rgb_panel_set_gap
See merge request espressif/esp-idf!19051
2022-07-14 20:35:05 +08:00
Jiang Jiang Jian
c9119cbcef
Merge branch 'docs/update_wifi_beacon_timeout_doc_v4.4' into 'release/v4.4'
...
docs: update wifi beacon timeout docs (v4.4)
See merge request espressif/esp-idf!19044
2022-07-14 18:10:12 +08:00
morris
dee1bd1a24
rgb_lcd: fix error in rgb_panel_set_gap
...
Closes https://github.com/espressif/esp-idf/issues/9279
2022-07-14 16:52:55 +08:00
muhaidong
4b79600876
docs: add WIFI_EVENT_STA_BEACON_TIMEOUT event docs.
2022-07-14 15:38:33 +08:00
muhaidong
91a315f7c0
docs: update wifi beacon timeout docs
2022-07-14 15:38:33 +08:00
Laukik Hase
f7c20f3718
mbedtls: Update to release v2.28.1
...
- Changelog: https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.1
2022-07-14 10:01:39 +05:30
Jiang Jiang Jian
d446c4a18f
Merge branch 'bugfix/fix_beacon_timeout_timer_assert_issue_v4.4' into 'release/v4.4'
...
esp_wifi: fix sta reset beacon timeout timer issue(Backport v4.4)
See merge request espressif/esp-idf!19035
2022-07-14 11:25:14 +08:00
Jiang Jiang Jian
8dbe7582a9
Merge branch 'bugfix/print_ready_after_init_transaction_forv4.4' into 'release/v4.4'
...
ble_mesh:example:change the location of print ready(V4.4)
See merge request espressif/esp-idf!19028
2022-07-14 11:24:48 +08:00
Jiang Jiang Jian
c074da530b
Merge branch 'feature/temp_sensor_v4.4' into 'release/v4.4'
...
temperature sensor: Add support on ESP32-S3 (backport v4.4)
See merge request espressif/esp-idf!18718
2022-07-14 10:51:43 +08:00
Jiang Jiang Jian
5744a18555
Merge branch 'docs/update_linker_script_generation_v4.4' into 'release/v4.4'
...
docs:update linker script generation (v4.4)
See merge request espressif/esp-idf!19039
2022-07-14 10:50:09 +08:00
Linda
5b816c8551
docs:update linker script generation
2022-07-14 10:27:49 +08:00
Michael (XIAO Xufeng)
e33df4d5b5
Merge branch 'bugfix/flash_encryption_8l_psram_v4.4' into 'release/v4.4'
...
flash_encryption: Fix issue that flash encryption cannot work when 8-line psram enabled(backport v4.4)
See merge request espressif/esp-idf!19023
2022-07-13 23:33:06 +08:00
muhaidong
9f0532bdf3
esp_wifi: fix sta reset beacon timeout timer issue
2022-07-13 20:37:38 +08:00
Yuan Hong Hui
c2fe9327f2
ble_mesh:change the location of print ready
2022-07-13 17:58:39 +08:00
Cao Sen Miao
daceb3516d
temperature sensor: Add support on ESP32-S3,
...
Closes https://github.com/espressif/esp-idf/issues/8086
2022-07-13 17:22:59 +08:00
Cao Sen Miao
8538153616
flash_encryption: Fix issue that flash encryption cannot work when 8-line psram enabled,
...
Closes https://github.com/espressif/esp-idf/issues/9244 ,
Closes https://github.com/espressif/esp-idf/issues/9287
2022-07-13 17:20:38 +08:00
Jiang Jiang Jian
322a2240f1
Merge branch 'bugfix/eapol_drop_issue_v4.4' into 'release/v4.4'
...
esp_wifi: clear old keys before going for new connection(backport v4.4)
See merge request espressif/esp-idf!18996
2022-07-13 15:40:11 +08:00
Jiang Jiang Jian
b68fd2b88f
Merge branch 'bugfix/fix_memory_leak_in_hidh_v4.4' into 'release/v4.4'
...
Fix memory leak in bt_hidh.c[backport 4.4]
See merge request espressif/esp-idf!19007
2022-07-13 14:03:32 +08:00
Jiang Jiang Jian
dfb75aa230
Merge branch 'feature/uart_get_free_tx_buffer_size_v4.4' into 'release/v4.4'
...
uart: Add a new API to get the free space size of tx buffer (backport v4.4)
See merge request espressif/esp-idf!18977
2022-07-13 10:56:44 +08:00
Jiang Jiang Jian
bd7269411a
Merge branch 'bugfix/wifi_sta_and_ble_disconnect_BCI-303_v4.4' into 'release/v4.4'
...
component_bt: Fix wifi is initialized before bluetooth initialization, bluetooth can't stay connected(v4.4)
See merge request espressif/esp-idf!18999
2022-07-13 00:13:03 +08:00
Jiang Jiang Jian
327624b04c
Merge branch 'bugfix/correct_blecmd_for_rf_path_v4.4' into 'release/v4.4'
...
Bluedroid: Fixed compilation error due to incorrect macro name (v4.4)
See merge request espressif/esp-idf!18994
2022-07-12 20:32:02 +08:00
Jiang Jiang Jian
692ba818fe
Merge branch 'bugfix/fix_esp32_ke_mem_c_assert_v4.4' into 'release/v4.4'
...
fix esp32 BLE ke_mem.c assert for v4.4
See merge request espressif/esp-idf!19000
2022-07-12 20:30:32 +08:00
Jiang Jiang Jian
4e6f8b362d
Merge branch 'bugfix/ble_50_sync_periodic_adv_lost_data_v4.4' into 'release/v4.4'
...
components/bt: Fix ble sync periodic adv report will lost data(backport release/v4.4)
See merge request espressif/esp-idf!18958
2022-07-12 17:30:04 +08:00
Jiang Jiang Jian
9f5b700c9a
Merge branch 'bugfix/fix_esp32c3_s3_adv_report_duplicate_check_v4.4' into 'release/v4.4'
...
Fix esp32c3/s3 adv report duplicate check for v4.4
See merge request espressif/esp-idf!18962
2022-07-12 17:29:35 +08:00
liqigan
c2f9a0ad87
fix memory leak in esp_bt_hidh_dev_report_write and esp_bt_hidh_dev_set_report in bt_hidh.c
...
Closes https://github.com/espressif/esp-idf/issues/9323
2022-07-12 15:57:23 +08:00
zwj
f39df9a9c0
fix esp32 BLE ke_mem.c assert
2022-07-12 14:40:21 +08:00
xiongweichao
c85f71aee3
Fix wifi is initialized before bluetooth initialization, bluetooth can't stay connected
2022-07-12 14:35:32 +08:00
Kapil Gupta
522e0a6b06
esp_wifi: clear old keys before going for new connection
2022-07-12 10:43:34 +05:30
Rahul Tank
b5522f5709
Bluedroid: Fixed compilation error due to incorrect macro name
2022-07-12 09:42:27 +05:30
Jiang Jiang Jian
68225b63de
Merge branch 'docs/404_tips_backport_v4.4' into 'release/v4.4'
...
docs: update 404.rst (backport v4.4)
See merge request espressif/esp-idf!18975
2022-07-12 11:57:10 +08:00
Jiang Jiang Jian
724cbd4167
Merge branch 'bugfix/fix_spi_slave_example_sender_ccount_issue' into 'release/v4.4'
...
spi: fix spi slave example sender ccount issue (v4.4)
See merge request espressif/esp-idf!18423
2022-07-12 11:49:28 +08:00
Jiang Jiang Jian
cd13a62952
Merge branch 'bufix/Backport_some_wifi_lwip_bugs_for_4.4_0711' into 'release/v4.4'
...
Backport some wifi&lwip bugs for 4.4 0711
See merge request espressif/esp-idf!18984
2022-07-12 11:36:25 +08:00
Jiang Jiang Jian
2476d5d837
Merge branch 'fix/usb_cdc_reconnection' into 'release/v4.4'
...
tinyusb: Fix lost packet after reconnection
See merge request espressif/esp-idf!18952
2022-07-12 10:32:31 +08:00
Jiang Jiang Jian
b3e8d0f7bf
Merge branch 'bugfix/tinyusb_prs_v4.4' into 'release/v4.4'
...
Fix tinyusb_driver_install (dangling pointer) and ESP32S3 USB external PHY pinout (backport v4.4)
See merge request espressif/esp-idf!18978
2022-07-12 10:31:14 +08:00
Tomas Rezucha
4b4289ebba
tinyusb: Fix lost packet after reconnection
2022-07-11 17:06:33 +02:00
muhaidong
c3f077397a
esp_wifi: reset beacon timeout timer when keep alive null works or hw drop beacon
2022-07-11 21:29:34 +08:00
xueyunfei
f8a4504bc5
Icmp: get tos parameter in icmp reply
...
bugfix for add ttl for ping socket
2022-07-11 20:24:18 +08:00
Jeff H
101762718a
add option to route LWIP logs through ESP_LOG interface
...
Signed-off-by: xueyunfei <xueyunfei@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/8785
Closes https://github.com/espressif/esp-idf/issues/8361
2022-07-11 19:26:41 +08:00
xueyunfei
3e7aefd9fe
udp example:Optimization udp example with recv_msg
2022-07-11 19:16:30 +08:00
xueyunfei
4a3875c4c7
wifi:bugfix for wrong configuration of static txbuf
...
wifi:bugfix fix qos null update ba ssn
2022-07-11 19:16:11 +08:00
lsita
88361bddf2
USB external PHY pinout set as in Reference Manual Figure 29-3.
...
(cherry picked from commit 9ceff23c6d
)
2022-07-11 17:26:45 +08:00
lsita
41f78c1347
Fix tinyusb_driver_install (dangling pointer)
...
(cherry picked from commit db90b512a1
)
2022-07-11 17:20:57 +08:00
songruojing
f4d33d2739
uart: Add a new API to get the free space size of tx buffer
...
Closes https://github.com/espressif/esp-idf/issues/8932
Closes https://github.com/espressif/esp-idf/issues/3078
(cherry picked from commit 9d73475e44
)
2022-07-11 17:04:11 +08:00
xiewenxiang
3838e3da4a
components/bt: Fix ble sync periodic adv report lost data issue
2022-07-11 16:50:30 +08:00