Commit Graph

26009 Commits

Author SHA1 Message Date
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
Kapil Gupta
51f785fabe wpa_supplicant: Add WPS ssid length validation 2022-08-10 12:08:40 +05:30
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
satish.solanke
42743a7189 Update_sdkdefaultconfig_BLE_only_flag ESP32C2 2022-08-09 16:28:01 +00: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
pedro.minatel
1df9480e29 Added procedures for the USB flashing
Link to the esptool page fixed and changes on the USB diagrams
Changes from MR review
2022-08-09 09:52:07 +00:00
muhaidong
36feb95a9e esp_wifi: done beacon monitor timer and eloop timer when deinit 2022-08-09 17:22:39 +08:00
Liu Ning
f444aa4a7c Merge branch 'bugfix/esp32s2_fail_to_scan_after_recv_disassoc' into 'master'
esp_wifi: fix fail to scan after recv disassoc/deauth for esp32s2

Closes WIFI-4539

See merge request espressif/esp-idf!19407
2022-08-09 16:02:26 +08:00
Omar Chebib
d622bcfd46 Merge branch 'contrib/github_pr_9517' into 'master'
fix malloc(0) and heap_caps_alloc_failed() (GitHub PR)

Closes IDFGH-8007

See merge request espressif/esp-idf!19421
2022-08-09 15:49:27 +08:00
Island
ee10f25b89 Merge branch 'bugfix/friend_and_lpn_issues' into 'master'
ble_mesh: stack: Fix friend and lpn issues

See merge request espressif/esp-idf!19378
2022-08-09 14:39:58 +08:00
Guillaume Souchere
dfcd7c3b88 esp_hw_support: add hints for breaking changes.
hints are added:
- to indicate that esp_cpu_ccount_t must be replaced by esp_cpu_cycle_count_t
- to indicate that esp_cpu_get/set_ccount must be replaced by esp_cpu_get/set_cycle_count
- to indicate that soc/cpu.h and compare_set.h were removed and user must include esp_cpu.h instead
- to indicate that esp_intr.h was removed and user must include esp_intr_alloc.h instead
- to indicate that esp_panic.h was made private and user must use the functionalities from esp_debug_helper.h instead
- to indicate that spilock.h, clk_ctrl_os.h and rtc_wdt.h must be included without the soc/
- to indicate that soc_log.h was renamed esp_hw_log.h and made private
2022-08-09 07:15:57 +02:00
morris
ad59ae38d8 Merge branch 'bugfix/duplicate_i2s_test_case_name' into 'master'
i2s: fixed duplicated test case name

See merge request espressif/esp-idf!19442
2022-08-09 12:01:11 +08:00
Shang Zhou
a17b207e4f docs: Sync up EN and CN lines of ble-mesh, wifi, and i2c 2022-08-09 11:45:34 +08:00
Lin Rui Hao
68bd2badf4 Merge branch 'contrib/github_pr_9498' into 'master'
bluedroid: fix member typo

Closes IDFGH-7987

See merge request espressif/esp-idf!19436
2022-08-09 11:13:33 +08:00
morris
92a44afeba Merge branch 'bugfix/cleanup_rom_spiflash' into 'master'
esp-rom: remove undefined spi_flash functions from header

Closes IDFGH-109

See merge request espressif/esp-idf!19333
2022-08-09 10:39:14 +08:00
Omar Chebib
c6ddf7288c heap: add a unit test for malloc(0) and slightly optimize heap_caps_malloc_prefer 2022-08-09 10:30:36 +08:00
Omar Chebib
790aa40c38 Merge branch 'contrib/github_pr_7144' into 'master'
Update i2c.c to consider two I2C buses for clear bus counter (GitHub PR)

Closes IDFGH-5398

See merge request espressif/esp-idf!19093
2022-08-09 10:26:25 +08:00
Alexey Lapshin
2bfffa68ca tools: update gdb version to '11.2_20220808'
Closes https://github.com/espressif/esp-idf/issues/9522
2022-08-08 22:04:11 +04:00
Roland Dobai
311ab428c7 Merge branch 'bugfix/idf_py_gdb_s3_c3' into 'master'
tools: use built-in USB_SERIAL_JTAG for "idf.py openocd" on C3 and S3

See merge request espressif/esp-idf!19418
2022-08-08 22:53:39 +08:00
Roland Dobai
2dab221014 Merge branch 'feature/qemu_upgrade_20220802' into 'master'
ci: upgrade qemu to 20220802 release

See merge request espressif/esp-idf!19419
2022-08-08 22:46:30 +08:00