wangmengyang
9a6101bfed
components/bt: fixed the invalid workqueue number for BTU thread in Bluedroid
...
There should be only one workqueue for BTU task. The queue length for the second workqueue of BTU can be uninitialized and caused memory overflow and corruption.
Closes https://github.com/espressif/esp-idf/issues/9507
2022-08-11 16:09:44 +08:00
Darian Leung
85c009eb67
esp_event: Fix flakey esp_event example test
...
The execution order of the "task_event_source" and "application_task" tasks
on startup can vary. This will result a different order of logs, thus leading
to the example test failing.
This commit synchronizes both tasks on startup.
2022-08-11 16:02:48 +08:00
Darian Leung
287ab7566b
freertos: Use check yielding macros
...
This commit updates various FreeRTOS functions to call the newly added
prvCheckForYield() and prvCheckForYieldUsingPriority() when checking for
yielding. This allows the source code to match upstream more closely.
2022-08-11 16:02:48 +08:00
Darian Leung
0fd305da2d
freertos: Add new macro to check for yielding
...
When a FreeRTOS function unblocks a task, that function will check whether
the unblocked task requires a yield to be called. This is currently done by
having each function individually check if the unblocked task has a higher
priority than the both cores, and yielding the appropriate core.
This commit adds the macros list below to abstract away the yielding checking
procedure. This will allow the code to match upstream more closely.
- prvCheckForYield()
- prvCheckForYieldUsingPriority()
2022-08-11 16:02:48 +08:00
Roland Dobai
cacd27f93e
Merge branch 'staging/add_hints_esp_system' into 'master'
...
Build: add hints for the breaking changes of esp_system related components
Closes IDF-5757
See merge request espressif/esp-idf!19499
2022-08-11 15:51:19 +08:00
chaijie@espressif.com
b250589f2f
set fosc div to 1 to make chip run stablly for C2
2022-08-11 14:28:11 +08:00
Sachin Parekh
3a050cde26
Merge branch 'fix/s3_world_controller_headers' into 'master'
...
esp32s3: Update world controller headers
Closes IDF-5648
See merge request espressif/esp-idf!19219
2022-08-11 13:38:53 +08:00
morris
6aa08af572
Merge branch 'bugfix/remove_format_warnings_in_driver' into 'master'
...
driver: remove -Wno-format flag
Closes IDF-5764
See merge request espressif/esp-idf!19401
2022-08-11 12:19:50 +08:00
Omar Chebib
49613ab832
Build: add hints for the breaking changes of esp_system related components
2022-08-11 11:35:04 +08:00
Island
8886316a22
Merge branch 'bugfix/mesh_bqb_test_issues' into 'master'
...
ble_mesh: stack: Fix mesh v1.0 BQB test issues
See merge request espressif/esp-idf!19411
2022-08-11 11:33:18 +08:00
Armando
d792b49804
idf.py hints: add build error hints when legacy adc calibration driver is used
2022-08-11 11:26:20 +08:00
Armando
677793c28f
doc: improve adc migration guide
2022-08-11 11:26:20 +08:00
Marius Vikhammer
ca0201dfa9
Merge branch 'bugfix/efuse_base_mac_test' into 'master'
...
ci: fix base_mac_address test failure for S2 chips
Closes IDFCI-1417
See merge request espressif/esp-idf!19428
2022-08-11 09:22:40 +08:00
Ivan Grokhotkov
afc6fba7f5
Merge branch 'bugfix/exclude_component_dirs_pacman' into 'master'
...
build: fix excluded components being passed to component manager
Closes PACMAN-422
See merge request espressif/esp-idf!19443
2022-08-11 01:10:17 +08:00
Ondrej Kosta
505d330cdc
eth_iperf_test: improved regex to properly evaluate IP address
2022-08-10 16:13:37 +02:00
wangjialiang
e814f57b0f
ble_mesh: stack: Fix kr from non-primary subnet shouldn't ignore
...
For case MESH/NODE/KR/BV-02-C
2022-08-10 14:12:37 +00:00
wangjialiang
3632250884
ble_mesh: stack: Add a check if the appkey is bound to the model.
...
For case MESH/NODE/CFG/MP/BI-03-C
2022-08-10 14:12:37 +00:00
wangjialiang
59c1e9a25d
ble_mesh: stack: the count_log field should be set to 0 when HBS is sent.
...
For MESH/NODE/CFG/HBS/BV-02-C
2022-08-10 14:12:37 +00:00
wangjialiang
0cb883b407
ble_mesh: stack: The Heartbeat Publication Period Log value can set to 0x11, range: [0, 0x11]
2022-08-10 14:12:37 +00:00
wangjialiang
ee7d448e3c
ble_mesh: stack: The value of expect_ack_for will be rewrited after send_pub_key().
...
For case MESH/PVNR/PROV/BV-04-C
2022-08-10 14:12:37 +00:00
wangjialiang
5830ac8b12
ble_mesh: stack: Fix ignore connectable PB-ADV PDU containing a Link Open message.
...
For case MESH/NODE/PBADV/BI-04-C
2022-08-10 14:12:37 +00:00
wangjialiang
fc9edce9bc
ble_mesh: stack: Fix PB-GATT not check invalid link flag
...
For case MESH/NODE/PROV/BI-03-C
2022-08-10 14:12:37 +00:00
wangjialiang
bd418e7a76
ble_mesh: stack: Fix invalid provisioning pdu type check
...
For case MESH/NODE/PROV/BI-15-C
2022-08-10 14:12:37 +00:00
Tomas Rezucha
d777b790d0
tinyusb: Add TinyUSB example tests
2022-08-10 14:51:18 +02:00
Roland Dobai
03bce377c8
Merge branch 'feature/update-toolchain-to-esp-2022r1-11.2.0' into 'master'
...
tools: update toolchain version to 'esp-2022r1-11.2.0'
Closes GCC-264
See merge request espressif/esp-idf!19151
2022-08-10 20:36:22 +08:00
Darian
b236e0d328
Merge branch 'bugfix/freertos_eventgroup_test_flakiness' into 'master'
...
freertos: Fix flakey event group unit tests
Closes IDFCI-1416
See merge request espressif/esp-idf!19487
2022-08-10 20:22:01 +08:00
Roland Dobai
e6c313b5f0
Tools: Upgrade pip and setuptools if venv is not able
...
venv upgrades pip and setuptools by the --upgrade-deps option available
since Python 3.9. This commit adds manual upgrade for Pythons 3.7 and 3.8.
2022-08-10 14:04:14 +02:00
morris
8f670b71ff
Merge branch 'docs/sync_up_lines_api_guides' into 'master'
...
Docs: update CN trans for several docs in api-guides
Closes DOC-3464
See merge request espressif/esp-idf!19382
2022-08-10 18:55:39 +08:00
Mo Fei Fei
694c54595b
Docs: update CN trans for several docs in api-guides
2022-08-10 18:55:39 +08:00
Darian Leung
a73dd07d12
esp_hw_support: Fix esp_light_sleep_start() deadlock
...
esp_light_sleep_start() will stall the other CPU via esp_ipc_isr_stall_other_cpu(). After stalling the other CPU,
will call esp_clk_... API which themselves take locks. If the other stalled CPU is holding those locks, this will
result in a deadlock.
This commit adds a workaround calling esp_clk_private_lock() to take the lock before stalling the other CPU.
2022-08-10 18:52:32 +08:00
Darian Leung
2a6c6c18f7
esp_hw_support: esp_clk should use spinlock instead of mutex
...
esp_clk used to be protected using _lock_t (i.e., a FreeRTOS Mutex). However, esp_clk API is current called from
from critical sections, thus mutex should not be used (as they can be blocking).
This commit updates esp_clk to use spinlocks for critical sections instead.
2022-08-10 18:52:32 +08:00
Dai Zi Yan
954c1b9d8d
Merge branch 'docs/update_trans_for_19147' into 'master'
...
docs: updated trans for ulp-risc-v,fatfs and sleep_modes
Closes DOC-3457
See merge request espressif/esp-idf!19395
2022-08-10 18:25:34 +08:00
Darian Leung
5804d2b6a7
freertos: Fix flakey event group unit tests
...
The event group unit tests would previously use a single call bit (the
"BIT_CALL" macro) to unblock all the test tasks. However, if one or more tasks
were delayed in calling xEventGroupWaitBits(), the other tasks would clear the
test bits, leading to the test deadlocking.
This commit updates the bits used so that each task gets their own CALL and
RESPONSE bits.
2022-08-10 16:54:25 +08:00
daiziyan
d422e2e7fa
docs: updated trans for ulp-risc-v,fatfs and sleep_modes
2022-08-10 16:53:51 +08:00
Roland Dobai
49d25e1888
Merge branch 'idf_py/hints_protocol_prov' into 'master'
...
protocols/provisioning: Added hints for breaking changes
Closes IDF-5674 and IDF-5675
See merge request espressif/esp-idf!19285
2022-08-10 16:40:56 +08:00
Sachin Parekh
41c5359703
esp32s3: Update world controller headers
2022-08-10 07:22:02 +00:00
Laukik Hase
f887922cf4
protocols/provisioning: Added hints for breaking changes
...
- For migrating from ESP-IDF v4.4.x to v5.0
2022-08-10 10:39:54 +05:30
morris
ac11b17d8d
Merge branch 'docs/sync_up_i2c_wifi_blemesh' into 'master'
...
docs: Sync up EN and CN lines of ble-mesh, wifi, and i2c
Closes DOC-3465
See merge request espressif/esp-idf!19455
2022-08-10 12:01:52 +08:00
morris
4e66c23bc8
Merge branch 'docs/update_migration_guide_esp_hw_support_cn' into 'master'
...
Docs: update CN trans for migration-guides/system.rst
See merge request espressif/esp-idf!19462
2022-08-10 11:57:09 +08:00
Mo Fei Fei
8b904d0c06
Docs: update CN trans for migration-guides/system.rst
2022-08-10 11:57:09 +08:00
Mahavir Jain
2bd1888e47
Merge branch 'feature/adds_c2_tests' into 'master'
...
ci: Adds CI tests (secure_boot and flash encryption) for esp32c2
Closes IDF-5610
See merge request espressif/esp-idf!18485
2022-08-10 11:35:52 +08:00
Zhang Xiao Yan
6da89eb855
Merge branch 'docs/update_FSM_of_I2S' into 'master'
...
docs: update the diagram of FSM of I2S
See merge request espressif/esp-idf!19440
2022-08-10 10:02:03 +08:00
Roland Dobai
887368e7b3
CI: Migrate monitor IDE integration test to pytest
2022-08-09 18:09:56 +02:00
Wang Yuan Ze
debf2c0b70
Merge branch 'test/move_touch_related_unit_tests_to_test_apps' into 'master'
...
test: move touch related unit tests to test apps
Closes IDFCI-1283, IDFCI-1156, and IDF-5766
See merge request espressif/esp-idf!19348
2022-08-09 23:15:18 +08:00
simon.chupin
35dda59209
tools: remove the dependency on the future package
2022-08-09 16:46:58 +02:00
Pedro Minatel
fe2bd5cdf2
Merge branch 'docs_add_usb_flash_procedure' into 'master'
...
[Docs] Added procedures for the USB peripheral flashing
See merge request espressif/esp-idf!18484
2022-08-09 22:28:17 +08:00
Roland Dobai
e2abad6db9
Merge branch 'feature/add-esp-hw-support-breaking-change-hints' into 'master'
...
system/esp_hw_support: Added hints for breaking changes
Closes IDF-5758
See merge request espressif/esp-idf!19388
2022-08-09 21:40:38 +08:00
Roland Dobai
0b2acbf974
Merge branch 'feature/system_migration_hints' into 'master'
...
idf.py hints: added hints for misc system breaking changes.
Closes IDF-5759
See merge request espressif/esp-idf!19390
2022-08-09 21:26:58 +08:00
Mahavir Jain
54baaa9bc1
ci: updates rules to trigger docker build on submodules change
2022-08-09 17:18:29 +05:30
Shang Zhou
a199f6f773
docs: provide CN translation for 18484
2022-08-09 09:52:07 +00:00