Commit Graph

31864 Commits

Author SHA1 Message Date
Marius Vikhammer
e07023292a Merge branch 'feature/p4_spinlocks' into 'master'
esp32p4: support spinlocks

Closes IDF-7771

See merge request espressif/esp-idf!25036
2023-08-25 11:43:38 +08:00
Wang Meng Yang
3632aa5bd5 Merge branch 'feature/config_device_name_in_eir' into 'master'
Add option whether to include or exclude device name in extended inquiry response data

Closes BTQABR2023-31

See merge request espressif/esp-idf!25341
2023-08-25 11:19:38 +08:00
wanglai@espressif.com
2644b3efa5 feat(bt/bqb): Set SBC encoder as PTS required for BQB test
1: set SBC encoder as PTS required. The encoder is effective first.
But it changes to default after media start.
2023-08-25 11:15:15 +08:00
Jin Cheng
3e7a47a566 fix(bt/bluedroid): Fixed NULL Bluetooth device address in HF-AG events was reported to application layer 2023-08-25 11:11:32 +08:00
Cai Xin Ying
5538b12d31 Merge branch 'docs/add_Chinese_translation_for_api-reference/peripherals/etm.rst' into 'master'
docs: provide CN translation for api-reference/peripherals/etm.rst

Closes DOC-5812

See merge request espressif/esp-idf!24938
2023-08-25 09:59:15 +08:00
Rahul Tank
9daa2d9b93 Merge branch 'feature/walkthrough_for_bleprph' into 'master'
doc (nimble): Added the tutorial for bleprph example.

See merge request espressif/esp-idf!25193
2023-08-25 08:58:58 +08:00
C.S.M
0bb8c13acd Merge branch 'bugfix/usb_serial_jtag_write_return_val' into 'master'
bugfix(usb_serial_jtag): Fix usb_serial_jtag wrong return value, vfs lose data randomly

Closes IDFGH-10925 and IDFGH-10069

See merge request espressif/esp-idf!25492
2023-08-25 05:19:40 +08:00
Rahul Tank
53102f6600 Merge branch 'feat/add_high_duty_adv_interval' into 'master'
feat(nimble): Added support for high duty adv interval

See merge request espressif/esp-idf!25371
2023-08-25 04:00:56 +08:00
Marek Fiala
630b77094f feat(tools): Added Windows-ARM64 support
Closes https://github.com/espressif/esp-idf/issues/10345
2023-08-24 16:27:17 +02:00
Nachiket Kukade
17715777c3 Merge branch 'bugfix/supplicant_osi_violation' into 'master'
Fix abstraction violation in wpa_supplicant

Closes IDF-8084

See merge request espressif/esp-idf!25488
2023-08-24 21:25:25 +08:00
Peter Dragun
05c883e8f7 feat(tools): remove gdb_panic_server and use just a wrapper for script
gdb_panic_server is now part of esp-idf-panic-decoder
2023-08-24 15:20:29 +02:00
morris
641fdabbf0 Merge branch 'feature/default_clock_source_can_leave_empty' into 'master'
feat(mcpwm): default clock source setting can leave empty

See merge request espressif/esp-idf!25478
2023-08-24 20:22:47 +08:00
Darian Leung
57eb41ce83 refactor(freertos): Call TLSP deletion callback from portCLEAN_UP_TCB()
Previously, TLSP deletion callbacks were...

- Stored in a seprate TCB member "pvThreadLocalStoragePointersDelCallback"
- Called separately via multipole prvDeleteTLS() insertions in tasks.c

This commit refactors how TLSP deletion callbacks are stored and called:

- TLSP deletion callbacks are now stored in "pvThreadLocalStoragePointers"
directly. configNUM_THREAD_LOCAL_STORAGE_POINTERS is doubled in size so that
the deletion callbacks are stored in the latter half of the array

- The callbacks are now called via "portCLEAN_UP_TCB()". As such, the
prvDeleteTLS() additions are no longer needed and the function can be removed

- Removed some legacy TLSP tests using the old method of storing the callback
pointers.

This commit reduces the source code diff between IDF FreeRTOS and upstream
vanilla FreeRTOS, in preparation for v10.5.1 upgrade.
2023-08-24 19:32:06 +08:00
Darian Leung
5f2443b7d1 refactor(freertos): Remove portCLEAN_UP_COPROC()
portCLEAN_UP_COPROC() was an IDF specific addition to FreeRTOS, where the
macro was called from prvDeleteTCB() to clean up the coprocessor context of a
deleted task.

This commit removes portCLEAN_UP_COPROC(). The coprocessor cleanup routine
(i.e., vPortCleanUpCoprocArea()) is now called via portCLEAN_UP_TCB()->
vPortTCBPreDeleteHook().

This removes a minor code difference between IDF FreeRTOS and upstream.
2023-08-24 19:32:06 +08:00
Wan Lei
623c4e653a Merge branch 'fix/spi_polling_api_buslock_logic' into 'master'
fix(spi_master): polling_transmit forgot release bus lock when alloc DMA buffer failed

Closes IDFGH-10608

See merge request espressif/esp-idf!25457
2023-08-24 16:27:49 +08:00
Erhan Kurubas
4714521b21 feat(coredump): add panic details to the elf file 2023-08-24 10:20:56 +02:00
zhanghaipeng
bd2bde1448 fix(bt): Fix bugs about updating connect param 2023-08-24 14:14:35 +08:00
Jiang Jiang Jian
b39180d7a1 Merge branch 'bugfix/m_ble_issues_bugfix_c2' into 'master'
update btlib to 7d0ce3ba, some esp32c2 issues bugfixed

See merge request espressif/esp-idf!25428
2023-08-24 14:13:05 +08:00
Chen Jian Hua
cce55cf071 Merge branch 'bugfix/fix_bleqabr23_457' into 'master'
fix(bt/bluedroid): Fixed GATTC cache address save when list is full

See merge request espressif/esp-idf!25362
2023-08-24 14:09:01 +08:00
baohongde
e7a2096397 feat(bt/bluedroid): Add option whether to include device name in extended inquiry response 2023-08-24 14:04:28 +08:00
Abhinav Kudnar
1afe32294f doc (nimble): Added the tutorial for bleprph example. 2023-08-24 10:34:24 +05:30
morris
49c49f9480 Merge branch 'feature/esp_etm_core_esp32p4' into 'master'
feat(etm): add core driver support for esp32-p4

Closes IDF-7814 and IDF-7478

See merge request espressif/esp-idf!25361
2023-08-24 12:59:30 +08:00
Armando
dc9ddfc0d4 change(soc): added SOC_EFUSE_SUPPORTED 2023-08-24 12:51:20 +08:00
Armando
6f412393b6 change(ci): add todo to p4 build test enable 2023-08-24 12:51:19 +08:00
Armando
7dbd3f6909 feat(ci): Enable p4 example, test_apps and unit tests CI build 2023-08-24 12:51:19 +08:00
Cao Sen Miao
c92615308c fix(usb_serial_jtag): Fix usb_serial_jtag wrong return value, vfs lose data randomly,
Closes https://github.com/espressif/esp-idf/issues/12119,
Closes https://github.com/espressif/esp-idf/pull/11344,
Closes https://github.com/espressif/esp-idf/issues/9318
Closes https://github.com/espressif/esp-idf/issues/11192
2023-08-24 11:59:20 +08:00
Chen Jian Hua
70071a334f Merge branch 'bugfix/fix_bleqabr23_181_esp32' into 'master'
Support BLE RX error packet count record on esp32

See merge request espressif/esp-idf!25316
2023-08-24 11:12:36 +08:00
Wang Fang
db86b59330 Merge branch 'docs/update_cn_trans_for_22755' into 'master'
docs: Update CN translation for auto_suspend.inc (!22755)

Closes DOC-5790

See merge request espressif/esp-idf!25236
2023-08-24 11:00:46 +08:00
Shang Zhou
af6f8c4c8c docs: Update CN translation for auto_suspend.inc (!22755) 2023-08-24 11:00:45 +08:00
renpeiying
269435e79d docs: Provide Chinese translation for api-reference/protocols/esp_local_ctrl.rst 2023-08-24 10:36:19 +08:00
Omar Chebib
3e9d2155eb feat(esp_eth): add opencores ethernet support for ESP32-C3 (QEMU) target 2023-08-24 10:32:46 +08:00
Marius Vikhammer
0d9f9e6816 feat(core-systems): add support for spinlock/compare and set on esp32p4 2023-08-24 10:30:25 +08:00
wanlei
f62b025f93 fix(spi_master): polling_transmit forgot release bus lock when alloc DMA buffer failed
Close https://github.com/espressif/esp-idf/issues/11845
2023-08-24 02:09:08 +00:00
Rocha Euripedes
9552ef012d Merge branch 'ci/publish_connect_fix' into 'master'
Fix publish connect mqtt test

See merge request espressif/esp-idf!25479
2023-08-24 08:30:53 +08:00
Ren Pei Ying
809ca61087 Merge branch 'docs_add_CN_trans_for_contribute/esp-idf-tests-with-pytest.rst' into 'master'
docs: add CN translation for contribute/esp-idf-tests-with-pytest.rst

Closes DOC-5911

See merge request espressif/esp-idf!25205
2023-08-24 05:32:12 +08:00
Ren Pei Ying
3e1a6afb00 docs: add CN translation for contribute/esp-idf-tests-with-pytest.rst 2023-08-24 05:32:11 +08:00
Darian
4962bb51dc Merge branch 'change/freertos_clean_up_tcb_macro' into 'master'
change(freertos): Deprecate usage of vPortCleanUpTCB() by applications

Closes IDF-7256

See merge request espressif/esp-idf!25480
2023-08-24 01:46:20 +08:00
Mahavir Jain
77fb44a489 Merge branch 'fix/fix_host_based_security_workflow_documentation' into 'master'
fix(security): Fixed the host-based security workflows

See merge request espressif/esp-idf!25460
2023-08-23 23:25:58 +08:00
Mahavir Jain
e3d6a325f8 Merge branch 'fix/esp_prov_recent_changes' into 'master'
fix(esp_prov): update devices tuple usage due to API deprecations

See merge request espressif/esp-idf!25470
2023-08-23 23:17:54 +08:00
Mahavir Jain
dbd7c4b372 Merge branch 'ci/fix_example_test_advanced_ota' into 'master'
ci(fix): example test advanced_https_ota_example_bluedroid_gatts

Closes IDFCI-1791

See merge request espressif/esp-idf!25486
2023-08-23 23:10:55 +08:00
Chen Ji Chang
9db2ffd4fb Merge branch 'fix/pcnt_zero_input_init' into 'master'
feat(PCNT): Add new api of clear signal

See merge request espressif/esp-idf!25372
2023-08-23 20:15:59 +08:00
Rahul Tank
82cceabc6e Merge branch 'feature/walkthrough_for_blecent' into 'master'
doc(nimble): Added the tutorial for blecent example.

See merge request espressif/esp-idf!25378
2023-08-23 19:46:38 +08:00
Chen Jian Xing
a7bd04b120 Merge branch 'contrib/github_pr_12039' into 'master'
docs(iperf): Update documentation with console interface details(GitHub PR)

Closes IDFGH-10832

See merge request espressif/esp-idf!25301
2023-08-23 19:25:22 +08:00
morris
fa58d2c6b0 feat(mcpwm): default clock source setting can leave empty 2023-08-23 18:36:02 +08:00
morris
54febcae0e fix(adc): invalid assertion on the adc_unit 2023-08-23 18:36:02 +08:00
Darian Leung
39cf3638ae change(freertos): Deprecate usage of vPortCleanUpTCB() by applications
Previously, if CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP was enabled, users
would provide a definition for a vPortCleanUpTCB() hook function that is called
right before a task's memory is freed in prvDeleteTCB(). However,
vPortCleanUpTCB() will be reclaimed by ESP-IDF for internal use in v6.0.

This commit introduces the following changes...

Introduced a new CONFIG_FREERTOS_TASK_PRE_DELETION_HOOK option:

- Provides the same pre-deletion hook functionality. But users now define
vTaskPreDeletionHook() instead.
- CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP still exists, but is marked as
deprecated. This is to maintain compatibility with existing applications
that already define vPortCleanUpTCB().
- Removed redundant --wl --wrap workaround with vPortCleanUpTCB()
- Added todo notes to remove support for user defined vPortCleanUpTCB()
completely in v6.0.
- Updated test cases to use new CONFIG_FREERTOS_TASK_PRE_DELETION_HOOK option

Freed up portCLEAN_UP_TCB() to call a new internal vPortTCBPreDeleteHook():

- vPortTCBPreDeleteHook() now replaces the previous "wrapped" implementation
of vPortCleanUpTCB().
- vPortTCBPreDeleteHook() is an internal task pre-delete hook for IDF FreeRTOS
ports to inject some pre-deletion operations.
- Internal pre-delete hook now invokes user provided vTaskPreDeletionHook()
if enabled.
- Relocated vPortTCBPreDeleteHook() to correct section in port.c
2023-08-23 17:50:08 +08:00
Wang Fang
9d8b121ef2 Merge branch 'docs/fix_formatting_issues_in_spi_flash_concurrency_doc' into 'master'
docs: fix formatting issues in spi_flash_concurrency document

See merge request espressif/esp-idf!24619
2023-08-23 17:08:39 +08:00
Euripedes Rocha
d80a2881d1 ci: Fix publish connect mqtt test
Minor changes necessary to make the test run correctly
2023-08-23 10:04:19 +02:00
zwj
334a8f2459 BLE examples malloc related code optimization 2023-08-23 15:34:28 +08:00
morris
911c388cf8 feat(etm): add core driver support for esp32-p4
esp_etm core driver support:
- channel allocator
- gpio etm sub driver
- gptimer etm sub driver
2023-08-23 15:11:56 +08:00