Darian Leung
1625a3aae2
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-06-30 20:12:26 +08:00
Mahavir Jain
3df4c01d62
Merge branch 'ci/remove_redundant_jobs' into 'master'
...
ci: remove redundant OTA examples jobs
See merge request espressif/esp-idf!18721
2022-06-30 19:27:30 +08:00
Zhang Xiao Yan
be4d13d888
Merge branch 'docs/add_chiptype_link_gpio' into 'master'
...
docs: Add chip target and link to gpio.h
Closes DOC-3169
See merge request espressif/esp-idf!18623
2022-06-30 17:12:04 +08:00
Jiang Jiang Jian
af83290002
Merge branch 'bugfix/fix_some_c2_ble_bugs' into 'master'
...
Fixed ESP32C2 BLE bugs
See merge request espressif/esp-idf!18693
2022-06-30 16:39:50 +08:00
Mu Hai Dong
cfa3b03d8e
Merge branch 'bugfix/fix_blufi_example_softap_current_connection_equal_zero_issue' into 'master'
...
bluetooth:fix two blufi example bugs
Closes IDFGH-6621
See merge request espressif/esp-idf!18298
2022-06-30 15:34:11 +08:00
muhaidong
5dc221b0fc
bluetooth: fix two blufi example bugs
...
1. Softap mode do not assign ip
2. SotAp current connection always show 0
2022-06-30 14:26:23 +08:00
morris
9d87d6ad50
Merge branch 'feature/check_public_header_targets' into 'master'
...
ci: check_public_headers: run the check for all targets
Closes IDF-3698
See merge request espressif/esp-idf!18765
2022-06-30 13:55:19 +08:00
David Čermák
5fcb860a10
Merge branch 'bugfix/lwip_gcc11_warnings' into 'master'
...
lw ip: suppress some GCC 11 warnings
See merge request espressif/esp-idf!18479
2022-06-30 13:48:47 +08:00
Jiang Jiang Jian
927f9e369a
Merge branch 'bugfix/fix_stale_pmf_config' into 'master'
...
Fix stale PMF config in NVS issue
See merge request espressif/esp-idf!18469
2022-06-30 12:32:10 +08:00
Chen Yudong
7031d00aed
CI: update submodule patterns
2022-06-30 12:15:31 +08:00
Mu Hai Dong
b0b44221ed
Merge branch 'bugfix/fix_deinit_init_connect_fail_issue' into 'master'
...
esp_wifi: clear phy calibrated flag when phy pd memory deinit
Closes WIFI-4467, WIFI-4555, and WIFI-4543
See merge request espressif/esp-idf!18716
2022-06-30 12:13:36 +08:00
Ivan Grokhotkov
4c3dec9705
ci: check_public_headers: run for all targets
2022-06-29 22:49:51 +02:00
Ivan Grokhotkov
fefbf6a5b3
ci: check_public_headers: exclude sections generated on RISC-V target
2022-06-29 22:48:16 +02:00
Ivan Grokhotkov
28ac778099
ci: check_public_headers: run the build in a temporary directory
...
this allows running multiple builds for different targets
2022-06-29 22:47:02 +02:00
Zim Kalinowski
2f81b96e45
Merge branch 'bugfix/fix_example_nvs_rw_value_with_freertos_smp' into 'master'
...
freertos-smp: fix nvs_rw_value and nvs_rw_value_cxx tests
Closes IDF-5275
See merge request espressif/esp-idf!18640
2022-06-30 04:11:39 +08:00
Sudeep Mohanty
3cd2b67f84
Revert "hal: Fix incorrect spi_hal log usage"
...
This reverts commit a65165dd52
.
2022-06-29 14:52:28 +00:00
Sudeep Mohanty
1d482a32df
Revert "freertos-smp: fix nvs_rw_value and nvs_rw_value_cxx tests"
...
This reverts commit 0d9b130cb6f7e4c88d526be3c86941108329f442.
2022-06-29 14:52:28 +00:00
Sudeep Mohanty
6da5f113e9
freertos-smp: fix nvs_rw_value and nvs_rw_value_cxx tests
...
TBD
2022-06-29 14:52:28 +00:00
Zim Kalinowski
0660e4f2f9
Merge branch 'feature/force-non-smp-build-tests' into 'master'
...
freertos: Don't use FreeRTOS SMP build for partition nearly full warning test
See merge request espressif/esp-idf!18737
2022-06-29 22:52:25 +08:00
Mu Hai Dong
8078092fae
Merge branch 'docs/update_wifi_beacon_timeout_doc' into 'master'
...
docs: update wifi beacon timeout docs
Closes WIFI-4427 and IDFGH-7496
See merge request espressif/esp-idf!18379
2022-06-29 21:54:29 +08:00
Zim Kalinowski
70ee0885ad
freertos: don't use FreeRTOS SMP build for partition nearly full warning test
2022-06-29 12:03:01 +00:00
Anton Maklakov
d2ce9abb2a
lwip: suppress some GCC 11 warnings
...
Closes https://github.com/espressif/esp-idf/issues/9142
2022-06-29 11:42:09 +00:00
Harshit Malpani
e526e5593a
ci: remove redundant OTA examples jobs
2022-06-29 16:30:02 +05:30
Roland Dobai
87c987920a
Merge branch 'revert-2e817c44' into 'master'
...
Revert "Merge branch 'feature/clippy' into 'master'"
See merge request espressif/esp-idf!18741
2022-06-29 18:37:48 +08:00
Roland Dobai
8dddb8b596
Revert "Merge branch 'feature/clippy' into 'master'"
...
This reverts merge request !16998
2022-06-29 16:46:47 +08:00
Mahavir Jain
9ee26516a7
Merge branch 'fix/update_docs_for_hmac_api' into 'master'
...
esp_hmac: Fix documentation for API and Programming Guide
See merge request espressif/esp-idf!18703
2022-06-29 16:06:33 +08:00
Roland Dobai
2e817c4426
Merge branch 'feature/clippy' into 'master'
...
idf.py: Add automated hints on how to resolve errors
Closes IDF-4511, IDF-4512, and IDF-4631
See merge request espressif/esp-idf!16998
2022-06-29 15:44:55 +08:00
Aditya Patwardhan
006e53b06a
Merge branch 'bugfix/fix_ota_anti_rollback_example_test' into 'master'
...
ci: fix ota anti rollback example test
See merge request espressif/esp-idf!18709
2022-06-29 14:04:28 +08:00
Mahavir Jain
b41a524d3a
Merge branch 'fix/protocol_example_tests' into 'master'
...
Fix/protocol example tests
See merge request espressif/esp-idf!18698
2022-06-29 13:29:34 +08:00
Jiang Jiang Jian
04830a3284
Merge branch 'bugfix/a2dp_source_not_stop_discovery_correctly' into 'master'
...
bugfix/avoid wrongly restart discovery in a2dp_source
See merge request espressif/esp-idf!18536
2022-06-29 11:24:00 +08:00
Armando (Dou Yiwen)
e13d7f8351
Merge branch 'bugfix/s2_ap64_psram_crash_issue' into 'master'
...
psram: fix esp32s2 module with APS6404 PSRAM crash issue
Closes IDF-5361
See merge request espressif/esp-idf!18699
2022-06-29 11:19:17 +08:00
morris
85ab06440b
Merge branch 'bugfix/remove_dc_as_cmd_phase' into 'master'
...
spi_lcd: don't support dc_as_cmd_phase
Closes IDFGH-7026
See merge request espressif/esp-idf!18694
2022-06-29 10:50:36 +08:00
Ondrej Kosta
ed7afd8b73
Merge branch 'feature/eth_phy_common' into 'master'
...
ESP PHY structure refactor
Closes IDF-5149
See merge request espressif/esp-idf!18158
2022-06-28 23:25:12 +08:00
David Čermák
8678f9a9f4
Merge branch 'bugfix/esp_eth_test_hotfix' into 'master'
...
esp_eth: pytest_esp_eth CI timeout hotfix
See merge request espressif/esp-idf!18666
2022-06-28 23:11:26 +08:00
Aditya Patwardhan
c6fe3ba7c6
esp_hmac: Fix documentation for API and Programming Guide
2022-06-28 12:47:28 +00:00
Aditya Patwardhan
28af19f6f4
Merge branch 'fix/fix_protocomm_documentation' into 'master'
...
protocomm.rst: Fix documentation regarding Security Version 0
See merge request espressif/esp-idf!18722
2022-06-28 20:43:00 +08:00
Kevin (Lao Kaiyao)
47266d7736
Merge branch 'refactor/add_description_to_touch_pad_set_meas_time' into 'master'
...
touch_sensor: add description to distinguish the API on different target
Closes IDFGH-7499
See merge request espressif/esp-idf!18341
2022-06-28 20:00:02 +08:00
Aditya Patwardhan
d736cd560a
protocomm.rst: Fix documentation regarding Security Version 0
2022-06-28 15:13:52 +05:30
morris
489d14cf55
spi_lcd: don't support dc_as_cmd_phase
...
The current SPI hardware can't support 9bit SPI data format very well
(i.e. inserting an extra bit before each data byte)
Closes https://github.com/espressif/esp-idf/pull/8644
2022-06-28 17:11:31 +08:00
morris
602e154c12
Merge branch 'refactor/move_gdma_to_hw_support' into 'master'
...
dma: move from driver to hw_support
See merge request espressif/esp-idf!18706
2022-06-28 15:57:56 +08:00
Armando (Dou Yiwen)
4dbd2c7e30
Merge branch 'refactor/move_spi_necessary_private_headers' into 'master'
...
spi: move spi_common_internal to esp_private
See merge request espressif/esp-idf!18146
2022-06-28 15:51:22 +08:00
muhaidong
3ed30a515f
esp_wifi: clear phy calibrated flag when phy pd memory deinit
2022-06-28 15:03:11 +08:00
Marius Vikhammer
5b6fbe6a5c
Merge branch 'bugfix/ulp_fsm_cocpu_trap' into 'master'
...
ulp: only enable relevant wakeup sources for ULP
Closes IDFCI-1323
See merge request espressif/esp-idf!18616
2022-06-28 14:24:23 +08:00
Armando
63d4b52e21
psram: correct psram size log
2022-06-28 14:17:44 +08:00
Armando
c51c1a8651
mmu: fix wrong mmu entry id issue
2022-06-28 14:17:44 +08:00
Armando
31b3f31ef4
ext_mem: make memory region check strict
2022-06-28 14:17:44 +08:00
morris
7fd9a91034
dma: move from driver to hw_support
2022-06-28 14:17:12 +08:00
morris
dede9da16e
led_strip: move api functions to single file
2022-06-28 14:17:12 +08:00
Harshit Malpani
ad1567e132
ci: fix ota anti rollback example test
2022-06-28 11:37:15 +05:30
Mahavir Jain
827837dce3
Merge branch 'fix/tls-size-esp32c2_esp32c3_esp32h2' into 'master'
...
esp_system: Fix esp32c2/esp32c3/esp32h2 TLS size
Closes IDFCI-1312, IDFGH-7652, and IDF-1944
See merge request espressif/esp-idf!18554
2022-06-28 13:52:28 +08:00