Commit Graph

21442 Commits

Author SHA1 Message Date
Zhi Wei Jian
6daba772d8 Merge branch 'feature/add_new_mesh_adv_type_for_exception_list' into 'master'
Add BLE mesh adv types for exception list

See merge request espressif/esp-idf!25652
2023-09-04 14:06:50 +08:00
Mahavir Jain
9dc4b8beeb fix(aes): correct the linking of the DMA descriptors
For certain data lengths, the last input descriptor was not getting appended
correctly and hence the EOF flag in the DMA descriptor link list was
set at incorrect location. This was resulting in the peripheral being
stalled expecting more data and eventually the code used to timeout
waiting for the AES completion interrupt.

Required configs for this issue:

CONFIG_MBEDTLS_HARDWARE_AES
CONFIG_SOC_AES_SUPPORT_DMA

This observation is similar to the issue reported in:
https://github.com/espressif/esp-idf/issues/10647

To recreate this issue, start the AES-GCM DMA operation with data length
12280 bytes and this should stall the operation forever.

In this fix, we are tracing the entire descriptor list and then appending the
extra bytes descriptor at correct position (as the last node).
2023-09-04 05:35:15 +00:00
Mahavir Jain
89584cd1d0 fix(aes-gcm): correct the DMA completion wait condition for hardware GCM case
DMA operation completion must wait until the last DMA descriptor
ownership has been changed to hardware, that is hardware is completed
the write operation for entire data. Earlier for the hardware GCM case,
the first DMA descriptor was checked and it could have resulted in some
race condition for non interrupt (MBEDTLS_AES_USE_INTERRUPT disabled) case.
2023-09-04 05:35:15 +00:00
darshan
50c5f09fc3 fix(nimble): added log for extended advertisement 2023-09-04 09:15:23 +05:30
Wang Meng Yang
78af508654 Merge branch 'feature/add_new_bluedroid_init' into 'master'
Feat(bt/bluedroid): Add new ESP Bluedroid stack init API

Closes BTQABR2023-32

See merge request espressif/esp-idf!25248
2023-09-04 11:24:44 +08:00
Wang Meng Yang
6598c6ecd7 Merge branch 'bugfix/hf_ag_report_event_with_null_bdaddr' into 'master'
Bugfix/fixed bugs of HFP in BlueDroid

Closes BTQABR2023-71, BTQABR2023-73, BTQABR2023-74, BTQABR2023-78, BTQABR2023-81, BTQABR2023-82, and BTQABR2023-69

See merge request espressif/esp-idf!25493
2023-09-04 11:21:15 +08:00
morris
0b970a8dfe refactor(emac): add LL functions for bus clock control 2023-09-04 10:52:03 +08:00
Sudeep Mohanty
b1e85404f1 Merge branch 'task/esp32p4_int_vectors_cleanup' into 'master'
fix(interrupts): Cleanup pending tags in the code base regarding interrupt vectors

Closes IDF-7863

See merge request espressif/esp-idf!25698
2023-09-04 09:54:23 +08:00
Sudeep Mohanty
62ee4135e0 Merge branch 'bugfix/freertos_incorrect_xPortCanYield' into 'master'
fix(freertos): Corrected xPortCanYield() for esp32p4

See merge request espressif/esp-idf!25679
2023-09-04 09:33:25 +08:00
Rahul Tank
830acd0e6e Merge branch 'feature/dynamic_services' into 'master'
Nimble: Add support for dynamic service addition / deletion

Closes BT-3182

See merge request espressif/esp-idf!22777
2023-09-03 00:47:15 +08:00
morris
78e166dfb4 Merge branch 'feature/esp_lcd_panel_add_data_and_type' into 'master'
feat(esp_lcd): add user data and init cmd

See merge request espressif/esp-idf!25647
2023-09-02 11:47:39 +08:00
Liu Zhong Wei
1d8668c31f feat(esp_lcd): add user data and init cmd 2023-09-02 11:47:39 +08:00
morris
3b0c0ae4d4 Merge branch 'feature/specify_rmt_intr_priority' into 'master'
feat(rmt): specify interrupt priority

Closes IDF-7955

See merge request espressif/esp-idf!25596
2023-09-02 11:38:46 +08:00
Darian Leung
75a3c99581 fix(freertos): Fixed bug with prvENTER/EXIT_CRITICAL_OR_MASK_ISR() macro
Fixed an undiscovered bug with prvENTER_CRITICAL_OR_MASK_ISR() and
prvEXIT_CRITICAL_OR_MASK_ISR() where the `uxInterruptStatus` argument was not
used.

However, all calls of this macro provide a local `uxSavedInterruptStatus`
variable, leading to this bug being hidden.
2023-09-02 02:27:09 +08:00
Roshan Bangar
af9a9076d6 feat(nimble): Added support for dynamic services
Added support for dynamic services
2023-09-01 17:40:42 +05:30
Island
8904d6bb37 Merge branch 'feature/esp32c2_add_trace_function' into 'master'
ble: supported trace function and adv report flow control on esp32c2

See merge request espressif/esp-idf!25639
2023-09-01 20:10:38 +08:00
Xu Xiao
d6c52277b6 Merge branch 'bugfix/skip_using_cache_in_wrong_passwd_cfg_master' into 'master'
Skip using PMK cache in WPA3 connection incase configured password is incorrect

See merge request espressif/esp-idf!25514
2023-09-01 19:51:22 +08:00
Rahul Tank
c0977bf730 Merge branch 'feature/adv_queue_congestion' into 'master'
feat(nimble): Added adv queue congestion check

See merge request espressif/esp-idf!25310
2023-09-01 19:50:19 +08:00
harshal.patil
21c3549800
ci(hal): add support for 4096 bits size digital signature hal test 2023-09-01 15:44:21 +05:30
harshal.patil
b8c208cdb3
feat(ds): add Digital Signature peripheral support for esp32p4 2023-09-01 15:44:21 +05:30
harshal.patil
095c2a3324
feat(hmac): add HMAC peripheral support for esp32p4 2023-09-01 15:41:39 +05:30
zhiweijian
65e18ff02a Add mesh adv type for exception list 2023-09-01 17:38:06 +08:00
Sudeep Mohanty
5cd989f23b fix(interrupts): Cleanup pending tags in the code base regarding interrupt vectors 2023-09-01 17:18:39 +08:00
Zhang Hai Peng
3dca0d7d2e Merge branch 'docs/update_ble_comment' into 'master'
docs(bt): Update comment in ble

See merge request espressif/esp-idf!25477
2023-09-01 16:08:49 +08:00
Island
3616815d09 Merge branch 'bugfix/timeout_when_update_conn_param' into 'master'
fix(bt): Fix bugs about updating connect param

See merge request espressif/esp-idf!25442
2023-09-01 15:37:44 +08:00
Island
6b14a61544 Merge branch 'bugfix/fix_crash_when_using_aes_128' into 'master'
fix(bt): Fix bug while calculating block cipher using aes-128

See merge request espressif/esp-idf!25476
2023-09-01 15:37:32 +08:00
Island
d750b3bfb6 Merge branch 'feat/support_per_adv_adi' into 'master'
feat(bt/bluedroid): Support periodic adi

Closes BLEQABR23-372

See merge request espressif/esp-idf!25546
2023-09-01 15:37:13 +08:00
Wang Meng Yang
ef056aadaa Merge branch 'bugfix/hci_chg_conn_pkt_type_command' into 'master'
fix(bt/controller): Fixed some HCI commands parameter check

Closes BTQABR2023-5, BTQABR2023-6, BTQABR2023-2, and BTQABR2023-90

See merge request espressif/esp-idf!25543
2023-09-01 15:02:46 +08:00
C.S.M
30ff1637e2 Merge branch 'bugfix/i2c_master_probe' into 'master'
fix(i2c_master): Fix issue that i2c master probe device failed

See merge request espressif/esp-idf!25670
2023-09-01 12:43:44 +08:00
Omar Chebib
d3afca3020 Merge branch 'fix/esp32p4_supports_interrupts' into 'master'
feat(riscv): Add support to ESP32-P4's CLIC interrupt controller

Closes IDF-7795 and IDF-7793

See merge request espressif/esp-idf!25383
2023-09-01 11:48:39 +08:00
Planck (Lu Zeyu)
80fa5da9e8 feat(rmt): specify interrupt priority 2023-09-01 11:30:41 +08:00
Cao Sen Miao
6e3e923290 fix(i2c_master): Fix issue that i2c master probe device failed,
Closes https://github.com/espressif/esp-idf/issues/12159
2023-09-01 10:00:46 +08:00
Armando (Dou Yiwen)
24caae62eb Merge branch 'feature/psram_use_rcc' into 'master'
psram: atomic set clock and reset

See merge request espressif/esp-idf!25650
2023-09-01 09:56:36 +08:00
wanglai@espressif.com
f9fd217020 feat(bt/bqb): Add setting local di record function for bt classic hid device bqb test 2023-09-01 01:54:29 +00:00
wanglai@espressif.com
25b1e6fe36 fix(bqb): Changed HID related copyright automatically 2023-09-01 01:54:29 +00:00
Radek Tandler
352e759d1d Merge branch 'contrib/github_pr_11118' into 'master'
nvs: support iteration over namespace by handle (GitHub PR)

Closes IDFGH-9782

See merge request espressif/esp-idf!23175
2023-08-31 20:59:19 +08:00
Shyamal Khachane
fb1037f032 fix(esp_wifi): Skip PMK cache usage if configured password is incorrect 2023-08-31 12:39:26 +00:00
liqigan
4b35ac5c2d remove(bt/bluedroid): Remove unused macro BT_SSP_INCLUDED and global
variable bte_bt_appl_cfg
2023-08-31 12:28:38 +00:00
liqigan
0df585dc35 feat(bt/bluedroid): Add new version of API for Bluedroid host stack initialization 2023-08-31 12:28:38 +00:00
Jin Cheng
cde05ef495 fix(bt/bluedroid): Deleted the redundant 'memset' in btc_hf_cb_handler 2023-08-31 19:44:37 +08:00
Sudeep Mohanty
d9da8f1953 Merge branch 'task/disable_amz_smp_freertos_for_p4' into 'master'
change(freertos): Disable Amazon SMP FreeRTOS kernel for esp32p4

See merge request espressif/esp-idf!25496
2023-08-31 18:24:09 +08:00
Shu Chen
c135efee83 Merge branch 'bugfix/fix_openthread_setting_get_next_empty_index' into 'master'
fix(openthread): fix openthread settings get next empty index

Closes IDFGH-10960

See merge request espressif/esp-idf!25671
2023-08-31 18:00:06 +08:00
Sudeep Mohanty
d9a3e3bb86 fix(freertos): Corrected xPortCanYield() for esp32p4
This commit updates the xPortCanYield() for esp32p4 by correcting the
return condition. Previously, the API would return true if an ISR of
priority 1 was received which is incorrect.
2023-08-31 17:45:17 +08:00
Armando
b75f8561e5 change(psram): atomic set clock and reset 2023-08-31 17:10:34 +08:00
zhangwenxu
8eff9df2b0 feat(openthread): add mesh local prefix configuration 2023-08-31 17:05:30 +08:00
zhanghaipeng
79c2764d1e docs(bt): Update comment in ble 2023-08-31 16:43:32 +08:00
Armando (Dou Yiwen)
167ab6ded7 Merge branch 'feature/adc_continuous_flush_api' into 'master'
adc: added an API to flush the continuous driver pool

See merge request espressif/esp-idf!25274
2023-08-31 16:27:12 +08:00
Roland Dobai
d823208899 Merge branch 'gdb/removed_wrongly_added_esp32p4_files' into 'master'
fix(gdb): removed wrongly added esp32p4 files

See merge request espressif/esp-idf!25318
2023-08-31 16:26:02 +08:00
zhangwenxu
99394d5791 fix(openthread): fix openthread settings get next empty index 2023-08-31 15:38:58 +08:00
morris
cf61f63bc2 Merge branch 'feature/hw_crc_esp32p4' into 'master'
feat(gdma): support hardware crc calculation on esp32p4

Closes IDF-7497

See merge request espressif/esp-idf!25307
2023-08-31 14:46:32 +08:00
Jiang Jiang Jian
23ebfd1420 Merge branch 'test/bqb_test_bt_classic_a2dp' into 'master'
feat(bt/bqb): Add setting SBC encoder and reject invalid codec type support for a2dp BQB test

Closes BT-3338

See merge request espressif/esp-idf!25484
2023-08-31 13:53:26 +08:00
darshan
8e0cfe7f66 feat(nimble): Added adv queue congestion check 2023-08-31 10:57:11 +05:30
Song Ruo Jing
91aab6bda0 Merge branch 'feature/add_uart_iram_safe_check' into 'master'
feat(uart): Add sdkconfig.ci.iram_safe test for UART driver

See merge request espressif/esp-idf!25618
2023-08-31 12:57:46 +08:00
Omar Chebib
8ca191e4c1 fix(esp32p4): Fixed interrupt handling to use the CLIC controller 2023-08-31 12:16:08 +08:00
zwl
4abf0c46b5 ble: supported trace function and adv report flow control on esp32c2 2023-08-31 11:58:29 +08:00
Armando
b450dffa8b fix(gdb): removed wrongly added esp32p4 files 2023-08-31 03:52:47 +00:00
Armando
73c9182581 feat(adc): added an API to flush the continuous driver pool 2023-08-31 03:52:28 +00:00
Marius Vikhammer
eb8883cc20 Merge branch 'feature/p4_wdt' into 'master'
feat(core-system/wdt): added support for watchdogs on P4

Closes IDF-8135 and IDF-7750

See merge request espressif/esp-idf!25584
2023-08-31 10:14:19 +08:00
morris
b962fdee89 refactor(gdma): add reset and clock control in LL driver 2023-08-31 02:11:47 +00:00
morris
200eb866dc feat(gdma): support hardware crc calculation
On ESP32-P4, the GDMA peripherals support CRC calculating.
2023-08-31 02:11:47 +00:00
Darian
57456cc11f Merge branch 'refactor/freertos_format_addition_headers' into 'master'
refactor(freertos): Uncrustify IDF additions header/sources

See merge request espressif/esp-idf!25612
2023-08-31 09:50:24 +08:00
linruihao
f3b87ee3bd fix(bt/controller): Fixed some HCI commands parameter check
Fixed HCI_Change_Connection_Packet_Type Command parameter check
Fixed HCI_Accpet_Synchronous_Connection_Request Command parameter check
Fixed HCI_Set_Connectionless_Peripheral_Broadcast_Data Command parameter check
2023-08-30 19:38:14 +08:00
Jin Cheng
0a03f7e03a docs(bt/bluedroid): Changed the description of esp_hf_client_reject_call 2023-08-30 17:27:13 +08:00
Jin Cheng
fbb69daaaa fix(bt/bluedroid): Fixed wrong indexes of HF-AG indicators 2023-08-30 17:27:13 +08:00
Jin Cheng
6d301d11bc fix(bt/bluedroid): Added peer Bluetooth device address into HF callback parameters 2023-08-30 17:27:03 +08:00
Jin Cheng
a93b6674c4 fix(bt/bluedroid): Changed log level from WARNING to DEBUG in bta_ag_sco_read_cback 2023-08-30 17:24:45 +08:00
Jin Cheng
0c4dc36695 fix(bt/bluedroid): Fixed wrong code logic in 'AT+CIND?' of HFP 2023-08-30 17:24:45 +08:00
Jin Cheng
ccfcc6a153 fix(bt/bluedroid): Fixed errors in parsing ATD command in HFP AG 2023-08-30 17:24:38 +08:00
Shu Chen
a5169db6fe Merge branch 'bugfix/fix_using_wrong_macro' into 'master'
bugfix(esp_phy): fix using wrong macro

See merge request espressif/esp-idf!25632
2023-08-30 16:44:43 +08:00
morris
1cbfe15cd6 Merge branch 'refactor/rcc_critical_section_twai' into 'master'
refactor(twai): add reset and clock control to twai LL layer

See merge request espressif/esp-idf!25559
2023-08-30 15:56:27 +08:00
Jiang Jiang Jian
ad2ccdfdda Merge branch 'ci/connect_at_different_phase' into 'master'
ci(wifi): Test connect api at different phase

Closes WIFI-2364

See merge request espressif/esp-idf!25352
2023-08-30 15:48:40 +08:00
Rocha Euripedes
cf604c79e2 Merge branch 'mqtt/update_submodule_301bd9e0' into 'master'
MQTT: Update submodule reference to 301bd9e0

See merge request espressif/esp-idf!25571
2023-08-30 15:41:24 +08:00
zhanghaipeng
ca2c295cca feat(bt/bluedroid): Support periodic adv adi feature 2023-08-30 14:27:30 +08:00
Darian Leung
0a15f28d17 refactor(freertos): Uncrustify and format IDF addition headers
- Uncrustified IDF addition related header/source files
- Reorganized functions into groups
- linker_common.lf updated to adhere to new function organization
2023-08-30 14:11:52 +08:00
Darian Leung
a67e8c1972 refactor(freertos): Rename freertos_v8_compat.c to freertos_compatibility.c
Rename API compatibility file to be more general, and add a proper description.
2023-08-30 14:11:52 +08:00
Song Ruo Jing
767698b90d feat(uart): Add sdkconfig.ci.iram_safe test for UART driver 2023-08-30 11:30:03 +08:00
Wang Meng Yang
0f852ec0da Merge branch 'feature/add_bt_set_page_timeout_api' into 'master'
Feat(bt/bluedroid): Add new apis for bluetooth to set and get page timeout

Closes BT-3392

See merge request espressif/esp-idf!25351
2023-08-30 11:29:44 +08:00
Marius Vikhammer
4f71937a9f Merge branch 'bugfix/move_arch_files_system_cmake' into 'master'
feat(esp-system): moved common arch files out to common cmakelist

See merge request espressif/esp-idf!25625
2023-08-30 11:19:04 +08:00
Marius Vikhammer
8ecbd1f59b feat(core-system/wdt): added support for watchdogs on P4 2023-08-30 11:04:02 +08:00
ding huan
22697a2e37 ci(wifi): Test connect api at different phase 2023-08-30 10:31:02 +08:00
morris
47bb157cab refactor(twai): add reset and clock control to twai LL layer 2023-08-29 22:19:57 +08:00
radek.tandler
f693b78f93 feature(nvs_flash) : added support iteration over namespace by index - review changes 2023-08-29 16:05:02 +02:00
Ivan Grokhotkov
92ff04ebea nvs: use 'handle' argument name for consistency 2023-08-29 13:59:34 +02:00
Cody P Schafer
f2af1c5305 nvs: support iteration over namespace by index
Users of the nvs API are likely to have `nvs_handle_t` in all cases, but
not all of them carry around the partition name and namespace name (as
they aren't needed after creating an `nvs_handle_t`).

Allow this common case to use nvs iteration without them tracking
additional data by using the `nvs_handle_t` to locate the namespace
index and the partition name by introducing an alterate to
`nvs_entry_find` called `nvs_entry_find_in_handle`, which operates
similarly except that it is given a `nvs_handle_t` instead of partition
and namespace strings.

This is somewhat more limited than the `nvs_entry_find` API as one
cannot examine all keys in a given partition.
2023-08-29 13:59:34 +02:00
zhangwenxu
58b0fcde36 bugfix(esp_phy): fix using wrong macro 2023-08-29 18:28:29 +08:00
Erhan Kurubas
f0fba3fc4c Merge branch 'fix/bp_wp_in_panic' into 'master'
Fix bp/wp logic when debugger is connected

See merge request espressif/esp-idf!25582
2023-08-29 18:23:36 +08:00
gongyantao
ff353beec9 feat(bt/gap): Add new apis for bluetooth to set and get page timeout
1: add two new apis for classic bluetooth,
esp_bt_gap_set_page_timeout(page_to) and esp_bt_gap_get_page_timeout(),
which can get and set the value of page timeout.
2023-08-29 16:28:35 +08:00
Marius Vikhammer
73954ab9e8 feat(esp-system): moved common arch files out to common cmakelist 2023-08-29 16:14:43 +08:00
Armando (Dou Yiwen)
c9adbe13d8 Merge branch 'feature/support_psram_on_p4' into 'master'
esp_psram: esp32p4 psram device driver support

Closes IDF-7495

See merge request espressif/esp-idf!25368
2023-08-29 15:50:30 +08:00
Wan Lei
cff1631ac7 Merge branch 'fix/fixed_polling_api_lock_logic' into 'master'
fix(spi_master): fixed polling_start break common resouce when error

See merge request espressif/esp-idf!25593
2023-08-29 15:21:24 +08:00
Shu Chen
11b9d983c5 Merge branch 'bugfix/fix_ieee802154_test_issue' into 'master'
fix(ieee802154): fix ieee802154_test

See merge request espressif/esp-idf!24886
2023-08-29 15:11:05 +08:00
Darian
f1c71b75fa Merge branch 'refactor/freertos_task_snapshot_option' into 'master'
refactor(freertos): Remove option for Task Snapshot

See merge request espressif/esp-idf!25610
2023-08-29 14:19:55 +08:00
Sudeep Mohanty
abc89df287 Merge branch 'bugfix/ulp_riscv_reg_ops_header_inclusion' into 'master'
fix(ulp_riscv): Fixed the header inclusion dependency for ulp_riscv_register_ops.h

Closes IDFGH-10922

See merge request espressif/esp-idf!25599
2023-08-29 11:15:26 +08:00
morris
cd9f48823d Merge branch 'refactor/rcc_critical_section_follow_up' into 'master'
refactor(lp_periph): move enable and reset control to LL driver

See merge request espressif/esp-idf!25498
2023-08-29 08:40:02 +08:00
Martin Vychodil
e44d4260ad Merge branch 'feature/storage_host_test_nvs_flash2' into 'master'
nvs_flash: finished migration of host tests to the linux emulator of esp_partition

See merge request espressif/esp-idf!23926
2023-08-28 20:20:16 +08:00
Darian Leung
6adcb64ad4 refactor(freertos): Uncrustify Task Snapshot header 2023-08-28 20:11:27 +08:00
Darian Leung
659ec67967 refactor(freertos): Remove option for Task Snapshot
Previously, Task Snapshot could be conditionally built based on the
CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT option. However, there is no overhead
with always enabling Task Snapshot functions, as the linker will remove any
functions if they are not called.

This commit...

- removes all ESP-IDF dependencies on the CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT
option so that Task Snapshot functions are always available.
- Makes CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT a hidden option to maintain
compatibility with user code.
- adds documentation regarding Task Snapshot.
2023-08-28 20:11:27 +08:00
Island
5663531a7e Merge branch 'bugfix/ble_hci_issues_chain_mbuf' into 'master'
fix hci issues when chain mbuf exists

See merge request espressif/esp-idf!25531
2023-08-28 18:39:45 +08:00
Sudeep Mohanty
fad94806ef change(freertos): Disable Amazon SMP FreeRTOS kernel for esp32p4
This commit disables building of the Amazon SMP FreeRTOS kernel for
esp32p4. Supported to be enabled in the future.
2023-08-28 10:26:13 +00:00
Sudeep Mohanty
a7e8bf34bb Merge branch 'docs/freertos_docs_for_p4' into 'master'
docs(freertos): Updated FreeRTOS documentation for ESP32-P4

Closes IDF-7760

See merge request espressif/esp-idf!25550
2023-08-28 18:24:58 +08:00
Adam Múdry
f75bc09cee Merge branch 'fix/fatfs_ff_volumes_warning' into 'master'
fix(fatfs): Fix a warning when FF_VOLUMES is set to 1

Closes IDFGH-10887

See merge request espressif/esp-idf!25422
2023-08-28 18:20:38 +08:00
wanlei
f7068bd937 fix(spi_master): fixed polling_start break common resouce when error 2023-08-28 18:18:38 +08:00
Erhan Kurubas
16be3a18c5 Merge branch 'feature/configurable_gcov_task_size' into 'master'
feat(gcov): make gcov dump task size configurable

See merge request espressif/esp-idf!25456
2023-08-28 18:00:22 +08:00
Sudeep Mohanty
ac4a0649bb fix(ulp_riscv): Fixed the header inclusion dependency for ulp_riscv_register_ops.h
There are redefinition compilation warnings for the register operation
macros when a ULP program was compiled which included soc.h before
ulp_riscv_register_ops.h. This commit fixes the issues by delegating the
exclusion macro to the CMakeLists.txt file.

Closes: https://github.com/espressif/esp-idf/issues/12116
2023-08-28 17:39:48 +08:00
Erhan Kurubas
7549995754 fix(readme): add esp32p4 etm test app to the supported targets table 2023-08-28 10:46:56 +02:00
Erhan Kurubas
65dcc565a7 fix(breakpoint): fix bp/wp logic when debugger is connected 2023-08-28 10:46:56 +02:00
Euripedes Rocha
e29c0c9554 feat(mqtt): Update submodule reference to 301bd9e0
git log --oneline dffabb067fb3c39f486033d2e47eb4b1416f0c82..301bd9e0282eb993523b84d6c56d2559346aa071

Detailed description of the changes:
* fix: Added missing update to message data
  - See merge request espressif/esp-mqtt!189
  - See commit https://github.com/espressif/esp-mqtt/commit/cc41d1b
* PR: fixing typos in `mqtt5_error_reason_code`
  - See merge request espressif/esp-mqtt!188
  - feat: Add enum definition with typo to keep backwards compatibility (espressif/esp-mqtt@90b4a45)
  - fixing typos in `mqtt5_error_reason_code` (espressif/esp-mqtt@dc775bb)
* docs: Clarify keepalive timeout
  - See merge request espressif/esp-mqtt!186
  - See commit https://github.com/espressif/esp-mqtt/commit/cb1e6cf
* fix: LOG format strings
  - See merge request espressif/esp-mqtt!187
  - See commit https://github.com/espressif/esp-mqtt/commit/a3b04f2
* Fix: Stop client only if it's running.
  - See merge request espressif/esp-mqtt!183
  - See commit https://github.com/espressif/esp-mqtt/commit/36eec6f
* fix: Error on publish message creation was ignored.
  - See merge request espressif/esp-mqtt!185
  - See commit https://github.com/espressif/esp-mqtt/commit/585e3ba
* Fix: Allocation for connection buffer was incorrectly done.
  - See merge request espressif/esp-mqtt!182
  - See commit https://github.com/espressif/esp-mqtt/commit/6c849c6
* Adds mqtt host tests to Ci
  - See merge request espressif/esp-mqtt!181
  - See commit https://github.com/espressif/esp-mqtt/commit/4050df4
* Fix: Outbox was leaked in case of initialization failure
  - See merge request espressif/esp-mqtt!180
  - See commit https://github.com/espressif/esp-mqtt/commit/5d491a4
* feat: Add option to bind interface of use
  - See merge request espressif/esp-mqtt!179
  - Closes https://github.com/espressif/esp-mqtt/issues/253
  - See commit https://github.com/espressif/esp-mqtt/commit/363fbf7
* Add outbox size control feature
  - See merge request espressif/esp-mqtt!141
  - feat: Introduces outbox limit (espressif/esp-mqtt@372ab7b)
  - Removes unused outbox functions. (espressif/esp-mqtt@21a5491)
  - refactor: Group access to output buffer in mqtt_connection_t (espressif/esp-mqtt@122875b)
* Add custom transport configuration
  - See merge request espressif/esp-mqtt!169
  - feat: Add custom transport configuration (espressif/esp-mqtt@a5c1b44)
* Removes leftover calls to event_handler
  - See merge request espressif/esp-mqtt!178
  - See commit https://github.com/espressif/esp-mqtt/commit/a492935
* PR: Added support to set server common name.
  - See merge request espressif/esp-mqtt!173
  - Added support to set server common name. (espressif/esp-mqtt@6195762)
* Merge branch 'bugfix/return_on_qos0_disconnected' into 'master'
  - See merge request espressif/esp-mqtt!175
  - See commit https://github.com/espressif/esp-mqtt/commit/5bd9724
* Merge branch 'bugfix/cpp_compilation' into 'master'
  - See merge request espressif/esp-mqtt!174
  - See commit https://github.com/espressif/esp-mqtt/commit/70cbaca
* bug: Incorrect return on disconnect qos0 publish
  - See merge request espressif/esp-mqtt!172
* Fix: Compilation in C++ with multiple subscribe
  - See merge request espressif/esp-mqtt!171
* ci: Fix qemu build against 5.1
  - See merge request espressif/esp-mqtt!170
  - See commit https://github.com/espressif/esp-mqtt/commit/94defb8
* Minor cleanups on mqtt client
  - See merge request espressif/esp-mqtt!168
  - Removes pending message count (espressif/esp-mqtt@da6d38a)
  - Bugfix: Dispatch transport error on all write operations (espressif/esp-mqtt@5729048)
  - Merge enqueue functions (espressif/esp-mqtt@72833c7)
* Adds a configuration for outbox data destination
  - See merge request espressif/esp-mqtt!166
  - feat: Adds a configuration for outbox data destination (espressif/esp-mqtt@2c71f9e)
* CI: Add configuration for ttfw
  - See merge request espressif/esp-mqtt!167
  - See commit https://github.com/espressif/esp-mqtt/commit/d71dcf3
* mqtt5: Fix flow control will increase count when send fragmented packet
  - See merge request espressif/esp-mqtt!164
  - Closes https://github.com/espressif/esp-mqtt/issues/255
  - See commit https://github.com/espressif/esp-mqtt/commit/5cce2c4
* Add license information to queue
  - See merge request espressif/esp-mqtt!163
  - See commit https://github.com/espressif/esp-mqtt/commit/36f0faa
* MQTTv5: Fixes and additions from GitHub PRs
  - See merge request espressif/esp-mqtt!162
  - Merges https://github.com/espressif/esp-mqtt/pull/250
  - fix: Allow MQTT v5 zero length payload (espressif/esp-mqtt@65a4fda)
  - feature: Include subscribe_id in esp_mqtt5_event_property_t (espressif/esp-mqtt@1011e63)
* Feature:  Enable SUBSCRIBE to multiple topics
  - See merge request espressif/esp-mqtt!156
  - See commit https://github.com/espressif/esp-mqtt/commit/3210255
* Adds Kconfig option to configure poll read timeout
  - See merge request espressif/esp-mqtt!159
  - Closes: https://github.com/espressif/esp-mqtt/issues/245
  - See commit https://github.com/espressif/esp-mqtt/commit/2fa945d
* Fix formatting when using printf nano
  - See merge request espressif/esp-mqtt!160
  - See commit https://github.com/espressif/esp-mqtt/commit/e9b865e
* mqtt5: Fix flow control will regard the DUP packet and not consider PUBCOMP packet
  - See merge request espressif/esp-mqtt!158
  - Closes https://github.com/espressif/esp-mqtt/issues/243
  - See commit https://github.com/espressif/esp-mqtt/commit/ed76036
* Remove possible null pointer dereferences
  - See merge request espressif/esp-mqtt!157
  - Bugfix: Remove Remove possible null pointer dereferences (espressif/esp-mqtt@f80772b)
2023-08-28 06:20:59 +00:00
Aditya Patwardhan
e05455e592 Merge branch 'bugfix/wrong_ota_upgrade_size_log' into 'master'
fix(esp_https_ota): Fix wrong debug print for ota upgrade size

See merge request espressif/esp-idf!25188
2023-08-28 14:15:57 +08:00
Armando
712c0c0075 feat(psram): esp32p4 psram device driver support 2023-08-28 14:14:58 +08:00
Jiang Jiang Jian
550f5b7593 Merge branch 'bugfix/reduce_bss_logging' into 'master'
WiFi: Reduce BSS logging in wpa_supplicant

Closes WIFIBUG-57 and WIFIBUG-17

See merge request espressif/esp-idf!25247
2023-08-28 13:44:38 +08:00
Jiang Jiang Jian
24914d15d8 Merge branch 'feature/manage_modem_etm_clock_indepently' into 'master'
feat(esp_hw_support): manage modem_etm clock in modem_clock for bt/154 indepently

Closes IDF-8013

See merge request espressif/esp-idf!25284
2023-08-28 13:35:58 +08:00
morris
4a45479336 refactor(lp_periph): move enable and reset control to LL driver 2023-08-28 05:17:56 +00:00
morris
ab42d63054 fix(ci): pre-commit failure on readme check 2023-08-28 05:17:56 +00:00
Roland Dobai
2fbb63124f Merge branch 'feature/coredump_panic_details' into 'master'
feat(coredump): add panic details to the elf file

Closes IDF-7788 and IDF-7789

See merge request espressif/esp-idf!25198
2023-08-28 13:05:58 +08:00
Jiang Jiang Jian
52aea44fa0 Merge branch 'bugfix/esp32c6_udp_bc_mc_rx_loss_rate_is_high' into 'master'
fix esp32c6 UDP BC/MC RX loss rate is high when light sleep is enabled

Closes WIFIBUG-85

See merge request espressif/esp-idf!25309
2023-08-28 12:50:29 +08:00
Krzysztof Budzynski
1d030b7601 Merge branch 'bugfix/description_for_AR2023-003' into 'master'
[docs] Update API Reference of SPI Flash for AR2023-003

See merge request espressif/esp-idf!25458
2023-08-28 12:17:04 +08:00
Omar Chebib
3bf829a157 Merge branch 'feature/esp32c3_opencores_ethernet_support' into 'master'
feat(esp_eth): add opencores ethernet support for ESP32-C3 (QEMU) target

See merge request espressif/esp-idf!25487
2023-08-28 11:16:26 +08:00
Zhi Wei Jian
09f5f66661 Merge branch 'bugfix/fix_ble_examples_malloc' into 'master'
BLE examples malloc related code optimization

See merge request espressif/esp-idf!23638
2023-08-28 11:14:18 +08:00
Jiang Jiang Jian
948e3193d2 Merge branch 'bugfix/fix_esp32c6_hp_regi2c_api' into 'master'
fix(esp_rom): fix esp32c6 hp_regi2c ops api in rom patch

Closes BCI-339 and IDFCI-1786

See merge request espressif/esp-idf!25409
2023-08-28 10:48:28 +08:00
Armando
bc4bdd6169 change(ci): update p4 etm gptimer test readme 2023-08-28 10:20:47 +08:00
Sudeep Mohanty
ec4cd2bb19 docs(freertos): Updated FreeRTOS documentation for ESP32-P4 2023-08-28 10:07:43 +08:00
Zim Kalinowski
b83d362245 Merge branch 'bugfix/fix-compile-error-on-64bit-linux' into 'master'
fix(vfs): fix compilation error on 64bit linux

See merge request espressif/esp-idf!25483
2023-08-27 22:59:15 +08:00
Krzysztof
290ca75ae0 [docs] Update API Reference of SPI Flash for AR2023-003 2023-08-27 18:31:31 +08:00
Rahul Tank
6072487ad8 Merge branch 'feat/add_set_data_related_addr_change_cmd' into 'master'
feat(nimble): Add support for LE Data Set Related Address Change command

Closes BLECRT-27

See merge request espressif/esp-idf!25418
2023-08-26 22:59:13 +08:00
Darian
ede131ce73 Merge branch 'refactor/freertos_tslfcb_and_coproc_cleanup' into 'master'
refactor(freertos): Remove portCLEAN_UP_COPROC() and TLSP deletion callback kernel changes from IDF FreeRTOS

See merge request espressif/esp-idf!25481
2023-08-25 15:34:40 +08:00
Armando (Dou Yiwen)
d4d6241db0 Merge branch 'feature/esp32p4_build_test' into 'master'
ci: enable ci build stage on esp32p4

Closes IDF-7524 and IDF-7525

See merge request espressif/esp-idf!25343
2023-08-25 13:35:20 +08:00
Rahul Tank
db996617d3 feat(nimble): Add support for LE Data Set Related Address Change command 2023-08-25 10:41:46 +05:30
morris
fc4fcb5519 Merge branch 'feature/esp_lcd_spi_support_quad_mode' into 'master'
esp_lcd: spi support quad mode

Closes IDFGH-10543 and IDF-5538

See merge request espressif/esp-idf!25390
2023-08-25 12:43:21 +08:00
Liu Zhong Wei
20ebcf76fd esp_lcd: spi support quad mode 2023-08-25 12:43:20 +08:00
luomanruo
3f6dd76e41 ble: Assert when getting memory fail 2023-08-25 12:23:00 +08:00
luomanruo
91f531b14e ble: Fix hci issues when chain mbuf exists 2023-08-25 12:22:16 +08:00
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
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
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
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
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