Commit Graph

22122 Commits

Author SHA1 Message Date
Armando (Dou Yiwen)
38bf2a5d2f Merge branch 'feature/updated_to_esp32p4_12_0_0_image' into 'master'
feat(rom): updated to esp32p4 image 12.0.0

See merge request espressif/esp-idf!25804
2023-09-12 10:27:59 +08:00
Marius Vikhammer
7a71454930 fix(wdt): changed WDT clock source to XTAL for C6/H2
Previously it used PLL, but PLL could potentially be powered down by power-management
when CPU frequency changed.
2023-09-12 09:41:24 +08:00
Wang Meng Yang
d7ab94eeb9 Merge branch 'test/bqb_test_bt_classic_sdp' into 'master'
feat(bt/bluedroid): Add language base attr list to SDP record for BQB test

Closes BT-3352

See merge request espressif/esp-idf!25622
2023-09-12 07:38:25 +08:00
Kapil Gupta
e6c5bd111d ci(esp_wifi): unit test for fast PBKDF2 validation 2023-09-11 19:33:54 +05:30
Kapil Gupta
c82a792bc3 change(esp_wifi): Port fast_pbkdf2 implementation for mbedlts
Add changes to use fast_pbkdf2 as default for PMK calculations.
fast_pbkdf2 is significantly faster than current implementations
for esp chips.

Also removes unnecessary code for pbkdf-sha256 and pbkdf-sha512.
2023-09-11 19:33:17 +05:30
You Wei
be88d11a81 fix(ldgen): check target conflict for entries with section alias 2023-09-11 21:24:05 +08:00
Mahavir Jain
2b3418b4a0 Merge branch 'feature/use_ecdsa_perph_while_mutual_auth' into 'master'
feat: ECDSA peripheral while performing http connection with mutual auth

Closes IDF-7390

See merge request espressif/esp-idf!25052
2023-09-11 19:41:21 +08:00
wanglai@espressif.com
6421460c0a feat(bt/bluedroid): Add avdt abort function for BQB test
1: add new AVDTP abort function for BQB test
2023-09-11 17:06:33 +08:00
morris
47e499de52 feat(mcpwm): clean up MCPWM ETM driver 2023-09-11 16:53:34 +08:00
Chen Jichang
7638235311 feat(mcpwm): MCPWM event comparator driver
In esp32p4, the MCPWM has a new feature, mainly ETM-oriented.
Each operator has two event comparators, can generate an event
when the count value of the timer that operator connects is equal
to the value of event comparator.
2023-09-11 16:53:34 +08:00
Mahavir Jain
bd0eac77b2 Merge branch 'feature/add_support_for_ds_peripheral_on_ota' into 'master'
feat(esp_http_client): Added support for OTA using ds peripheral for TLS

See merge request espressif/esp-idf!25713
2023-09-11 16:36:58 +08:00
baohongde
298e8cd7cb change(bt/bluedroid): Send a name tag with zero length when there is no EIR data 2023-09-11 08:35:32 +00:00
baohongde
c3ade2d54e change(bluedroid): Set AV is ready when suspended by remote 2023-09-11 08:25:00 +00:00
baohongde
d905993e1e remove(bluedroid): Delete media stop command and audio stopped state 2023-09-11 08:25:00 +00:00
Planck (Lu Zeyu)
2a340c5fc5 fix(test_etm): fix vTaskDelay caused ci failure 2023-09-11 16:24:24 +08:00
Rahul Tank
d0c00b1f76 Merge branch 'bugfix/ble_gap_unpair_fix' into 'master'
fix(nimble): Handled error return value while removing RPA list from controller.

Closes BT-2576

See merge request espressif/esp-idf!25452
2023-09-11 14:25:55 +08:00
Jiang Jiang Jian
1bcd94a167 Merge branch 'bugfix/fix_hidd_send_rpt_without_connection' into 'master'
Change(bt/bluedroid): Optimize HIDD sending interrupt report behavior

Closes BTQABR2023-92

See merge request espressif/esp-idf!25739
2023-09-11 14:13:15 +08:00
Kapil Gupta
fd04e98d28 change(esp_wifi): Copy fastpbkdf2 implementation
Copy pbkdf2 implementation from https://github.com/ctz/fastpbkdf2(3c56895)
2023-09-11 06:08:16 +00:00
Zhang Wen Xu
c1e464a9b6 Merge branch 'support/openthread_br_deinit' into 'master'
feat(openthread): support BR deinit

See merge request espressif/esp-idf!25623
2023-09-11 12:24:27 +08:00
hongshuqing
77a303276a esp32/esp32s2/esp32s3 cpu freq to pll
add assert for cpu_freq_to_8m

update esp32 DBIAS_XTAL_80M_160M define

delete modify of esp32

remove esp32 comment

restore esp32 modify
2023-09-11 10:40:27 +08:00
Kapil Gupta
a0b5fb4aeb Merge branch 'bugfix/wps_wpa3_passphrase' into 'master'
WiFi: get passphrase in WPS if AP support SAE

Closes WIFIBUG-54 and WIFI-6252

See merge request espressif/esp-idf!25850
2023-09-11 10:16:53 +08:00
Jiang Jiang Jian
0087f714ec Merge branch 'bugfix/pbc_overlap_in_wps_pin_method' into 'master'
wpa_supplicant: Fix for issue of wps-pbc overlap in wps-pin method

See merge request espressif/esp-idf!25694
2023-09-11 10:03:35 +08:00
Jiang Jiang Jian
5d983c3185 Merge branch 'bugfix/esp32c6_udp_bc_mc_short_time_cause_packet_loss' into 'master'
optimize the retention step of the APM and TEE modules to set only the critical parts to level 2 priority

Closes WIFIBUG-80

See merge request espressif/esp-idf!25792
2023-09-11 10:02:13 +08:00
wanglai@espressif.com
34ab5c1c89 feat(bt/bluedroid): Add language base attr list to SDP record for BQB test 2023-09-11 07:40:36 +08:00
Island
2bc1f2f574 Merge branch 'mesh_v1.1_idf' into 'master'
feat(ble_mesh): Support Bluetooth Mesh Protocol v1.1 (Preview)

See merge request espressif/esp-idf!25605
2023-09-09 13:06:11 +08:00
Aditya Patwardhan
a57c8dc938 Merge branch 'contrib/github_pr_12177' into 'master'
mbedtls: define MBEDTLS_SSL_CID_TLS1_3_PAD_GRANULARITY for CID padding (GitHub PR)

See merge request espressif/esp-idf!25826
2023-09-09 12:27:56 +08:00
morris
3e5906aa1b Merge branch 'feature/modify_mcpwm_clock_pre_scale' into 'master'
feat(mcpwm): Set group clock prescale dynamically

See merge request espressif/esp-idf!25117
2023-09-09 08:30:56 +08:00
Armando (Dou Yiwen)
ed2fa1d57e Merge branch 'change/improve_mmu_ll_code' into 'master'
mmu: improve mmu_ll_entry_id_to_paddr_base on p4

See merge request espressif/esp-idf!25864
2023-09-09 04:37:59 +08:00
Konstantin Kondrashov
2557513fb5 Merge branch 'bugfix/esp32p4_usage_clic_int_thresh_reg' into 'master'
fix(freertos): Use INTERRUPT_CURRENT_CORE_INT_THRESH_REG for esp32p4

See merge request espressif/esp-idf!25840
2023-09-08 22:43:22 +08:00
Sudeep Mohanty
371ad531ee feat(freertos): Added a Kconfig option for FreeRTOS Timer Service task name
This commit adds a Kconfig option for setting a custom name for the
FreeRTOS Timer Service task.
2023-09-08 16:39:15 +02:00
Liu Linyan
5bab168b0e feat(ble_mesh): Support Bluetooth Mesh Protocol v1.1 (Preview) 2023-09-08 21:37:33 +08:00
Liu Linyan
bf51fb965b feat(ble_mesh): Bluetooth Mesh folder and file misc updates 2023-09-08 21:37:33 +08:00
Island
c301deb351 Merge branch 'bugfix/fix_memery_free_bug_for_ble_mesh' into 'master'
fix(bt/bluedroid): Fix memory no free issue when disconneting for mesh

See merge request espressif/esp-idf!25853
2023-09-08 20:39:23 +08:00
Sudeep Mohanty
51846b497b Merge branch 'feature/freertos_add_sbom_file' into 'master'
feat(freertos): Added SBOM manifest file for SPDX file generation

Closes IDF-7979

See merge request espressif/esp-idf!25758
2023-09-08 18:21:46 +08:00
Zim Kalinowski
a0137ff682 Merge branch 'bufix/missing-linux-portable-macros' into 'master'
fix(freertos): Added missing Linux port layer macros

See merge request espressif/esp-idf!25844
2023-09-08 17:47:35 +08:00
cjin
7fc9c0ad62 ble: support esp32c2 wakeup overhead 2023-09-08 15:50:28 +08:00
C.S.M
c8f17b1b7c Merge branch 'bugfix/flash_pe_usr_interval' into 'master'
fix(spi_flash): Fix spi_flash write fail on 26M C2(including OTA fail on this chip)

See merge request espressif/esp-idf!25790
2023-09-08 15:24:25 +08:00
Marius Vikhammer
ca99f55316 fix(wdt): changed ESP32-C3 WDT to use XTAL as clock
This clock is unchanged even when CPU/APB frequency changes (e.g. due to esp_pm),
which means timeout period is correct even after such a change.
2023-09-08 15:12:21 +08:00
Harshit Malpani
692e1a9e61
feat: ECDSA peripheral while performing http connection with mutual auth 2023-09-08 12:22:41 +05:30
luomanruo
60d6b3c13e ble: update esp32h2 and esp32c6 libble to a9fa2002 2023-09-08 14:25:26 +08:00
Daniel Mangum
35c428b0ec
mbedtls: define MBEDTLS_SSL_CID_TLS1_3_PAD_GRANULARITY for CID padding
Updates config to define the new MBEDTLS_SSL_CID_TLS1_3_PAD_GRANULARITY
option, which replaced the previously used
MBEDTLS_SSL_CID_PADDING_GRANULARITY. The old option is continuing to be
used as the new one exceeds the maximum length for an option name in
esp-idf.

See https://github.com/Mbed-TLS/mbedtls/pull/4490 for more information.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
2023-09-08 11:45:55 +05:30
David Čermák
5f115cced8 Merge branch 'bugfix/http_client_tcp_config' into 'master'
http_client: Set common tcp config to both TCP and SSL transport

See merge request espressif/esp-idf!25354
2023-09-08 13:36:11 +08:00
Jiang Jiang Jian
0fd57f41ef Merge branch 'feature/add_api_to_enable_pll_track' into 'master'
Enable pll track by default on ESP32

See merge request espressif/esp-idf!25799
2023-09-08 13:22:26 +08:00
Kapil Gupta
ad62f428d2 fix(wifi): Get passphrase in WPS if AP support SAE
Also add changes to send NACK if WPS message received twice.
2023-09-08 10:48:55 +05:30
zhangwenxu
e3b23361f5 feat(openthread): support BR deinit 2023-09-08 12:23:37 +08:00
liqigan
b2b305fd5d change(bt/bluedroid): Limit sniff request when pending mode change event 2023-09-08 12:00:21 +08:00
Chen Jichang
fc80d3e568 feat(mcpwm): Set group clock prescale dynamically
MCPWM group clock pre scale was originally fixed to 2, which is
inconvenient. Set group clock prescale dynamically. Now the maximum
resolution of the MCPWM timer is up to 160MHz(when the prescale set
to 1). And add a resulotion config for MCPWM capture.
2023-09-08 11:57:29 +08:00
liqigan
bc1b01a966 change(bt/bluedroid): Optimize HIDD sending interrupt report behavior
HID device is allowed to trigger reconnection by sending an interrupt
report. When reconnection is in progress, no more interrupt report can
be sent until the procedure is accomplished.
2023-09-08 03:35:05 +00:00
Armando
956c94704b change(mmu): improve mmu_ll_entry_id_to_paddr_base on p4 2023-09-08 11:26:41 +08:00
Mahavir Jain
31e37c8313 Merge branch 'esp32p4/add_ecdsa_support' into 'master'
esp32p4: add ecdsa support

Closes IDF-7546

See merge request espressif/esp-idf!25191
2023-09-08 11:20:36 +08:00
Marius Vikhammer
11cf6f60b8 Merge branch 'feature/c6_h2_p4_lp_wdt' into 'master'
LP-WDT: add support for H2/P4

Closes IDF-5730, IDF-6402, IDF-5729, and IDF-7539

See merge request espressif/esp-idf!25782
2023-09-08 10:11:13 +08:00
Abhinav Kudnar
9a73cfc54c fix(nimble): Handled error return value while removing RPA list from controller 2023-09-07 19:48:34 +05:30
Rahul Tank
d6e0e86d0d Merge branch 'bugfix/fix_compilation_issue_enc_adv' into 'master'
fix(nimble): Fix compilation issue of unknown MYNEWT_VAL

See merge request espressif/esp-idf!25748
2023-09-07 22:05:25 +08:00
Zim Kalinowski
578d092595 fix(ringbuf): Fixed linux build 2023-09-07 15:33:50 +02:00
zhanghaipeng
0f17b6616e fix(bt/bluedroid): Fix memory no free issue when disconneting for mesh 2023-09-07 19:59:33 +08:00
Cao Sen Miao
f895c6d414 ci(spi_flash): Add flash test for 26MHZ XTAL on ESP32C2 2023-09-07 17:37:01 +08:00
Cao Sen Miao
c147a6d022 fix(spi_flash): Fix spi_flash write fail on 26M C2(including OTA fail on this chip) 2023-09-07 17:30:15 +08:00
aditi_lonkar
c241c9fbd6 wpa_supplicant: Fix for issue of wps-pbc overlap in wps-pin method 2023-09-07 14:12:13 +05:30
Zim Kalinowski
bee3ff952e fix(freertos): Added missing Linux port layer macros 2023-09-07 10:30:02 +02:00
zwl
4955bb3bda feat(ble): enable adv report flow control on esp32c2 2023-09-07 16:22:39 +08:00
zwl
67c8b38d20 fix(ble): fixed crash when memory is insufficient on esp32c2 2023-09-07 16:22:29 +08:00
KonstantinKondrashov
25c7a59e31 fix(freertos): Use INTERRUPT_CURRENT_CORE_INT_THRESH_REG for esp32p4 2023-09-07 15:25:35 +08:00
Armando
7dace60861 feat(rom): updated to esp32p4 image 12.0.0 2023-09-07 07:01:00 +00:00
David Cermak
7c012e3fe1 fix(http_client): Set common tcp config to both TCP and SSL transport
Foundation transport contained TCP properties for both TCP and SSL
transport, so it was enough to set the TCP connection properties
(keepalive, interface binding) to one transport only. After merging
5778a7c7 we have separate TCP properties for these transports and need
to set the same for both.
This commit also fixes unnecessary allocation of 1 more byte for if_name

Closes https://github.com/espressif/esp-protocols/issues/322
2023-09-07 08:33:44 +02:00
zhiweijian
5d8873f2d8 change: enable pll track by default on ESP32 2023-09-07 06:08:36 +00:00
Jiang Jiang Jian
02b6c1f0ca Merge branch 'bugfix/wpa_connection_in_ent_mode' into 'master'
fix(wifi): Fix sta connecting with wpa security in enterprise mode

Closes WIFIBUG-96

See merge request espressif/esp-idf!25574
2023-09-07 13:53:55 +08:00
Jiang Jiang Jian
a1c0d9c3a1 Merge branch 'feature/ble_lib_update_h2_c6' into 'master'
ble: update h2 c6 libble to 5d7af429

Closes BLERP-7

See merge request espressif/esp-idf!25691
2023-09-07 10:25:08 +08:00
morris
94d39009b4 Merge branch 'feature/esplcd_replace_periph_func_with_atomic' into 'master'
feat(esp_lcd): Replace `periph_module` function call with new ll func

Closes IDF-8167

See merge request espressif/esp-idf!25717
2023-09-07 01:59:04 +08:00
Ondrej Kosta
380b83d7a1 Merge branch 'feature/eth_iram_optimization' into 'master'
feat(esp_eth): added IRAM optimization option for internal EMAC

Closes WIFI-6226

See merge request espressif/esp-idf!25704
2023-09-07 00:35:56 +08:00
C.S.M
61920d0360 Merge branch 'bugfix/i2c_probe_continue' into 'master'
fix(i2c_master): Fix I2C new master cannot continously probe

See merge request espressif/esp-idf!25761
2023-09-06 17:23:48 +08:00
morris
2e6015b39f Merge branch 'refactor/add_namespace_intr_cpu_id' into 'master'
refactor(intr): add namespace for intr_cpu_id_t

See merge request espressif/esp-idf!25725
2023-09-06 16:41:57 +08:00
morris
01f3c93b17 Merge branch 'feature/esp_lcd_st7789_rgb_data_endian_config' into 'master'
feat(st7789): add data endian config

Closes IDFGH-10145

See merge request espressif/esp-idf!25475
2023-09-06 16:25:41 +08:00
Wang Meng Yang
cd9eeff345 Merge branch 'feature/add_hfp_api_pkt_stat_nums' into 'master'
feat(bt/bluedroid): Add new apis for hfp to get  packet status numbers

See merge request espressif/esp-idf!25446
2023-09-06 16:15:22 +08:00
Zhi Wei Jian
4f7e7ce6c9 Merge branch 'feature/add_api_to_enable_pll_track' into 'master'
feat(ble/controller): Add API to enable/disable pll track

See merge request espressif/esp-idf!25779
2023-09-06 15:29:55 +08:00
Li Shuai
0f103817bc fix(esp32c6/power save): optimize the retention step of the APM and TEE modules to set only the critical parts that affect wifi data frame receipt to level 2 priority 2023-09-06 14:57:46 +08:00
Planck (Lu Zeyu)
86d4f9993f feat(esp_lcd): replace periph_module func with new ll func
Update periph_ctrl.h
2023-09-06 14:42:01 +08:00
Shreyas Sheth
9b5bbb5bd7 fix(wifi): Fix sta connecting with wpa security in enterprise mode 2023-09-06 06:00:48 +00:00
harshal.patil
4c0dd8388b
feat(mbedtls): Integrate the ecdsa export public key feature in mbedtls 2023-09-06 11:07:40 +05:30
harshal.patil
cc32fbb302
ci(hal): add test for export public key mode of the ecdsa peripheral 2023-09-06 11:07:40 +05:30
harshal.patil
d86b320892
feat(ecdsa): add ECDSA peripheral support for esp32p4 2023-09-06 11:07:37 +05:30
Rahul Tank
57eb7858f0 fix(nimble): Fix compilation issue of unknown MYNEWT_VAL 2023-09-06 10:03:02 +05:30
Armando (Dou Yiwen)
bdfa91ab66 Merge branch 'change/delete_not_used_mmu_macros' into 'master'
mm: delete not used mmu macros and added soc_ prefix

Closes IDF-7686

See merge request espressif/esp-idf!25663
2023-09-06 11:59:03 +08:00
Marius Vikhammer
b06dc30ba2 feat(lp_wdt): add lp wdt HAL support on C6, H2 and P4 2023-09-06 11:39:27 +08:00
Marius Vikhammer
0a630831a7 Merge branch 'feature/move_wdt_defines_to_ll' into 'master'
fix(wdt): move non-auto generated wdt values to ll

See merge request espressif/esp-idf!25757
2023-09-06 10:12:43 +08:00
morris
e8847a176f refactor(intr): add namespace for intr_cpu_id_t
previously the intr_types.h doesn't have a namespace,
it has the risk of introduing conflict in user's project.
2023-09-06 09:50:41 +08:00
Darian
c60cbcee5c Merge branch 'refactor/freertos_move_idf_specific_functions' into 'master'
refactor(freertos/idf): Move IDF FreeRTOS API additions to header files

Closes IDF-7201, IDF-3873, and IDF-7907

See merge request espressif/esp-idf!25615
2023-09-06 01:13:13 +08:00
Rahul Tank
3da06e465a Merge branch 'bugfix/ext_adv_log' into 'master'
fix(nimble): added log for extended advertisement

See merge request espressif/esp-idf!25461
2023-09-06 00:34:12 +08:00
zhiweijian
2a11862118 feat(ble/controller): Add API to enable/disable pll track 2023-09-05 21:50:39 +08:00
luomanruo
a2935ba6ec change: print assert info before dump log 2023-09-05 20:40:04 +08:00
cjin
926695b000 change: changed ble msys init for controller 2023-09-05 20:40:04 +08:00
cjin
574800b50a feat: added ble wake up overhead support 2023-09-05 20:40:04 +08:00
luomanruo
7ec0ccad09 ble: update h2 c6 libble to 5d7af429 2023-09-05 20:40:04 +08:00
Zhi Wei Jian
98d9d14e87 Merge branch 'feature/add_new_mesh_adv_type_for_exception_list_c3' into 'master'
Add new mesh types for exception list on ESP32-C3 and ESP32-S3

See merge request espressif/esp-idf!25749
2023-09-05 19:18:03 +08:00
Sudeep Mohanty
2ddb47f533 feat(freertos): Added SBOM manifest file for SPDX file generation
This commit adds the SBOM manifest file for the FreeRTOS-Kernel to aid
SPDX file generation.
2023-09-05 18:30:30 +08:00
Mahavir Jain
5b001f9e53 Merge branch 'bugfix/aes_dma_descriptor_setup_issue' into 'master'
fix(aes): correct the linking of the DMA descriptors

See merge request espressif/esp-idf!25723
2023-09-05 17:19:28 +08:00
Darian Leung
035423eb37 refactor(freertos/idf): Move task creation "PinnedToCore" API to addition headers
This commit moves/merges the IDF FreeRTOS "PinnedToCore" task creation
functions from tasks.c/task.h to idf_additions.h/freertos_task_c_additions.h.

Also updated FreeRTOS Mock component to provide mocks for "idf_additions.h"
headers for our mock tests.
2023-09-05 16:20:59 +08:00
Darian Leung
e612db7d32 refactor(freertos/idf): Move weak xTimerCreateTimerTask() to IDF additions header
A weak xTimerCreateTimerTask() was added to tasks.c as a workaround in ESP-IDF
in order to prevent timers.c from being linked when unused.

This commit moves that workaround to `freertos_tasks_c_additions.h`
2023-09-05 16:20:59 +08:00
Darian Leung
a5f9a2505e refactor(freertos/idf): Remove application hook prototypes
The following application hook protoypes are defined in task.h from FreeRTOS
V10.4.0 onwwards and no longer need to be declared in tasks.c, thus have been
removed:

- vApplicationStackOverflowHook()
- vApplicationTickHook()
- vApplicationGetIdleTaskMemory()
2023-09-05 16:20:59 +08:00
Darian Leung
7b4dba4ffd refactor(freertos/idf): Move vTaskSetThreadLocalStoragePointerAndDelCallback()
This commit moves vTaskSetThreadLocalStoragePointerAndDelCallback() from
`tasks.c`/`task.h` to `freertos_tasks_c_additions.h`/`idf_additions.h`.
2023-09-05 16:20:59 +08:00
Darian Leung
5de6a9aff6 refactor(freertos/idf): Move compatibility functions
This function moves ulTaskNotifyTake()/xTaskNotifyWait() from IDF FreeRTOS
`tasks.c` to `freertos_compatibility.c`. These functions were kept for
pre-compiled library compatibilty. Move them reduces the kernel source code
difference when compared to upstream FreeRTOS.
2023-09-05 16:20:59 +08:00
Darian Leung
0db40f9e6c refactor(freertos/idf): Move IDF task utility functions to API addition headers
This commit combines various task utility API additions in IDF FreeRTOS and with
their Amazon SMP FreeRTOS addition counterparts. The folloiwng functions have
been moved to freertos_tasks_c_additions.h and idf_additions.h as these API
are considered public:

- xTaskGetCurrentTaskHandleForCPU()
- xTaskGetIdleTaskHandleForCPU()
- xTaskGetAffinity()
- pxTaskGetStackStart()

Also fixed in missing #if macros when vTaskCoreAffinityGet() is called in
Amazon SMP FreerTOS tests.
2023-09-05 16:20:59 +08:00
Darian Leung
db9d9658f9 refactor(freertos/idf): Move xTaskIncrementTickOtherCores() to IDF additition headers
This commit moves xTaskIncrementTickOtherCores() to freertos_tasks_c_additions.h
and freertos_idf_additions_priv.h (as API is private). This reduces the code
differences cmpared to upstream FreeRTOS.
2023-09-05 16:20:59 +08:00
Darian Leung
8825c8dda9 refactor(freertos/idf): Move critical section API to IDF addition headers
- The following IDF API additions are moved to freertos_tasks_c_additions.h
(implementation) and freertos_idf_additions_priv.h (declaration) as APIs are
private. This reduces the source code difference from upstream.
    - prvENTER_CRITICAL_OR_SUSPEND_ALL()
    - prvEXIT_CRITICAL_OR_RESUME_ALL()
    - prvENTER_CRITICAL_OR_MASK_ISR()
    - prvEXIT_CRITICAL_OR_UNMASK_ISR()
    - vTaskTakeKernelLock()
    - vTaskReleaseKernelLock()
- Rename vTask[Take/Release]KernelLock() to prv[Take/Release]KernelLock() to
indicate that the this API is private.
2023-09-05 16:20:59 +08:00
Darian Leung
6c66018d5b refactor(freertos/smp): Move vTaskStartSchedulerOtherCores() to API additions to headers
- Move vTaskStartSchedulerOtherCores()
    - implementation to freertos_tasks_c_additions.h
    - declaration to freertos_idf_additions_priv.h as API is private
- Rename vTaskStartSchedulerOtherCores() -> prvStartSchedulerOtherCores() to
indicate that the function is private.
2023-09-05 16:19:42 +08:00
Darian Leung
5227616e57 refactor(freertos/idf): Implicitly include idf_additions.h from FreeRTOS.h
This commit adds an implicit inclusion of `idf_additions.h` to `FreeRTOS.h` in
preparation for moving some IDf specific API to `idf_additions.h`.

This implict inclusion allows existing code to be continue using these
relocated APIs without any changes in header inclusions.

Also removed "#pragma once" directive from "freertos_tasks_c_additions.h" since
that header is included as a source file.
2023-09-05 16:19:42 +08:00
Rocha Euripedes
64d160b712 Merge branch 'mqtt/update_submodule_05b3476' into 'master'
feat(mqtt): Updates submodule to 05b3476

See merge request espressif/esp-idf!25754
2023-09-05 15:52:06 +08:00
Armando
cbe4470a1b change(soc): remove no longer used mmu.h on p4 2023-09-05 15:47:26 +08:00
Armando
de77ab3061 change(soc): added SOC_ prefix to mmu defs 2023-09-05 15:47:26 +08:00
Armando
a9e3f963c2 change(soc): remove / move rom only mmu defs 2023-09-05 15:47:26 +08:00
Ondrej Kosta
0ff10c3e06 feat(esp_eth): added IRAM optimization option for internal EMAC 2023-09-05 07:42:30 +02:00
Cao Sen Miao
c7740b4c2b fix(i2c_master): Fix I2C new master cannot continously probe 2023-09-05 12:27:18 +08:00
Shu Chen
32ad8f10e0 Merge branch 'feature/add_mesh_local_prefix_config' into 'master'
feat(openthread): add mesh local prefix configuration

See merge request espressif/esp-idf!25099
2023-09-05 12:16:19 +08:00
Planck (Lu Zeyu)
6f55f76344 feat(st7789): add data endian config
Closes https://github.com/espressif/esp-idf/issues/11416
2023-09-05 12:11:19 +08:00
Marius Vikhammer
e3861261eb fix(wdt): move non-auto generated wdt values to ll 2023-09-05 11:52:34 +08:00
Jiang Guang Ming
7d0c434e2c Merge branch 'bugfix/esp32h2_update_desc_ecdsa_workmode' into 'master'
fix(soc/esp32h2): Update the description of the ECDSA_WORK_MODE

See merge request espressif/esp-idf!25736
2023-09-05 09:20:22 +08:00
Jiang Guang Ming
89f6c6d999 fix(soc/esp32h2): Update the description of the ECDSA_WORK_MODE 2023-09-05 09:20:21 +08:00
Wang Meng Yang
efeb308bc0 Merge branch 'test/bqb_test_bt_classic_hid' into 'master'
feat(bt/bqb): Add setting local di record function for specific hid case of bqb auto test

Closes BT-3359

See merge request espressif/esp-idf!25055
2023-09-05 07:20:24 +08:00
Euripedes Rocha
8c72daafa8 feat(mqtt): Updates submodule to 05b3476
* Update submodule:
git log --oneline 301bd9e0282eb993523b84d6c56d2559346aa071..05b347643f6679cc60a50a9664b86a24ebf3ae10

Detailed description of the changes:
* Fix: Mock test should include idf_additions.h
  - See merge request espressif/esp-mqtt!191
  - fix: Mock tests include idf_additions.h (espressif/esp-mqtt@f35aaa1)
* Adds missing documentation to outbox configuration.
  - See merge request espressif/esp-mqtt!190
  - docs: Adds missing documentation to outbox configuration. (espressif/esp-mqtt@c355e0b)
2023-09-04 15:33:34 +02:00
zhiweijian
618c6f8336 Add new mesh types for exception list on ESP32-C3 and ESP32-S3 2023-09-04 20:38:36 +08:00
chenqingqing
75efaa6465 feat(bt/api): Add new apis for hfp to get the numbers of packet status received and sent 2023-09-04 20:29:03 +08:00
chenqingqing
55cdf8434b fix(bt/bluedroid): Fixed the issue of NULL address for btc_hf_ag 2023-09-04 19:30:37 +08:00
Mahavir Jain
d382eeed54 Merge branch 'esp32p4/add_hmac_ds_support' into 'master'
esp32p4/add hmac ds support

Closes IDF-7543 and IDF-6518

See merge request espressif/esp-idf!25148
2023-09-04 16:45:56 +08:00
morris
1af5e870f1 Merge branch 'refactor/esp_emac_module_control' into 'master'
refactor(emac): add LL functions for bus clock control

See merge request espressif/esp-idf!25710
2023-09-04 16:22:57 +08:00
Jiang Jiang Jian
104d50d442 Merge branch 'feature/improve_c6_iperf_performance' into 'master'
feat(wifi): optimize esp32c6 iperf performance

See merge request espressif/esp-idf!25020
2023-09-04 14:34:54 +08:00
Xu Xiao
8847eeec0c feat(wifi): optimize esp32c6 iperf performance 2023-09-04 14:34:54 +08:00
xiaqilin
d2660635aa feat(esp_coex): add external coex slave support 2023-09-04 14:21:22 +08:00
Darian
bd9d6b82ab Merge branch 'bugfix/freertos_private_critical_section_macro' into 'master'
fix(freertos): Fixed bug with prvENTER/EXIT_CRITICAL_OR_MASK_ISR() macro

See merge request espressif/esp-idf!25705
2023-09-04 14:18:11 +08:00
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
xiaqilin
28e6014ba4 fix(esp_phy): fix esp32h2 tx-power incorrect issue after wakeup 2023-09-04 12:23:15 +08:00
darshan
50c5f09fc3 fix(nimble): added log for extended advertisement 2023-09-04 09:15:23 +05:30
Aditya Patwardhan
4be9bc4e2e feat(esp_http_client): Added support for OTA using ds peripheral for TLS 2023-09-04 09:00:03 +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
aditi_lonkar
c88e7106ec esp_wifi: Make enterprise support configurable to save binary size. 2023-08-25 11:00:54 +05:30
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
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
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
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
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
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
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
morris
3b50c716d8 Merge branch 'feature/gptimer_ll_enable_reset' into 'master'
HW-Support: Add Atomic Code Block for Reset and Clock Control

See merge request espressif/esp-idf!25401
2023-08-23 15:11:42 +08:00
Shu Chen
7af7723d46 Merge branch 'feature/openthread_disable_nd6_timer' into 'master'
openthread: disable lwip nd6 timer in openthread sleepy device

See merge request espressif/esp-idf!24653
2023-08-23 14:47:49 +08:00
morris
329bc7e5e9 Merge branch 'feature/mcpwm_interrupt_priority' into 'master'
feat(MCPWM): Support set interrupt priority

Closes IDF-7952

See merge request espressif/esp-idf!25364
2023-08-23 13:43:24 +08:00
Zim Kalinowski
db46f08172 fix(vfs): fix compilation error on 64bit linux 2023-08-23 13:28:49 +08:00
Nachiket Kukade
2b24798e33 fix(supplicant): Fix abstraction violation in wpa_supplicant 2023-08-23 10:03:05 +05:30
Chen Jichang
d7d87813ad fix(PCNT): Add zero input gpio enable flag
The default zero input gpio num is 0. Users need to set it additionally
when not use zero input signal. It may become a breaking change.
Add an enable flag to avoid it.
2023-08-23 12:08:15 +08:00
wanglai@espressif.com
d0395070c3 fix(bt/avdtp): Reject SET CONFIGURATION command with error code INVALID_CODEC_TYPE
1: reset p_scb->avdt_handle in cleanup function.
2: cancel comparing p_scb->codec_type and p_scb->seps[xx].codec_type to
   send the error INVALID_CODEC_TYPE.
2023-08-23 11:08:14 +08:00
Chen Jichang
713324ff9d feat(MCPWM): Support set interrupt priority 2023-08-23 10:44:34 +08:00
luomanruo
a2620e7588 ble: update btlib to f9db7b90, some esp32c2 issues bugfixed 2023-08-23 10:20:01 +08:00
Sudeep Mohanty
52bca70b1a Merge branch 'feature/freertos_dual_core_riscv_port' into 'master'
feat(freertos): Added changes for multi-core RISC-V port for FreeRTOS

Closes IDF-7566, IDF-7879, and IDF-2393

See merge request espressif/esp-idf!25123
2023-08-23 09:45:47 +08:00
Rahul Tank
d3b69c25e4 feat(nimble): Added support for high duty adv interval 2023-08-22 21:27:32 +05:30
Kapil Gupta
42ac4614e6 change(wifi): Reduce BSS logging in wpa_supplicant 2023-08-22 14:31:02 +00:00
Wang Meng Yang
8466930ac2 Merge branch 'bugfix/fix_bleqabr23_486' into 'master'
fix(bt/bluedroid): Fixed BLE disconnect event report when disconnecting

See merge request espressif/esp-idf!25370
2023-08-22 21:17:33 +08:00
Rahul Tank
94234f00f4 Merge branch 'feature/periodic_adv_enhancement' into 'master'
NimBLE : Added periodic Adv Feature Updates in BLE 5.3

See merge request espressif/esp-idf!20474
2023-08-22 19:55:23 +08:00
zhanghaipeng
faff6d3ee3 fix(bt): Fix bug while calculating block cipher using aes-128 2023-08-22 19:38:01 +08:00
Jiang Jiang Jian
514d9a8594 Merge branch 'docs/update_wifi_and_wpa_supplicant_documentation' into 'master'
Docs: Update wifi and wpa_supplicant documentation

See merge request espressif/esp-idf!24029
2023-08-22 19:29:37 +08:00
Nachiket Kukade
69cfe14622 Merge branch 'bugfix/ignore_eapol_nonkey' into 'master'
Ignore EAPOL non-key frames in EAPOL txdone callback

Closes WIFIBUG-104

See merge request espressif/esp-idf!25420
2023-08-22 17:25:01 +08:00
morris
4e143adf9d docs(hal): update readme about the usage of the RCC macros 2023-08-22 17:05:35 +08:00
morris
035c7c145c feat(clk_cali): always enable timer group0 for clock calibration
Calibration registers are located in the timer group0,
this commit is going to always enable it when the calibration is used by app
2023-08-22 17:05:35 +08:00
morris
71cf16ec01 feat(gptimer): use RCC atomic block to enable/reset peripheral 2023-08-22 17:05:35 +08:00
morris
a9c813ca3e feat(hw_support): add atomic code block for peripheral bus clock and reset 2023-08-22 17:05:35 +08:00
xiaqilin
c84cbd5e65 feat(openthread): disable lwip nd6 in openthread sleepy device 2023-08-22 08:11:41 +00:00
Sudeep Mohanty
4e51c6b049 feat(freertos): Added changes for multi-core RISC-V port for FreeRTOS
This commit updates the FreeRTOS port layer for multi-core RISC-V targets.
2023-08-22 15:35:15 +08:00
Roshan Bangar
67b956f503 feat(nimble): Added periodic Adv Feature Updates in BLE 5.3 2023-08-22 10:18:10 +05:30
wuzhenghui
eeab989d09 fix(esp_rom): fix esp32c6, esp32h2 hp_regi2c ops data conflict with phy ops 2023-08-22 11:00:00 +08:00
wanlei
1b7430e0a1 fix(ci): add timeout for i2c legacy multi_board test 2023-08-22 02:12:26 +00:00
Erhan Kurubas
f36f427579 feat(gcov): make gcov dump task size configurable 2023-08-22 01:07:42 +02:00
Nachiket Kukade
d3284d7189 fix(supplicant): Ignore EAPOL non-key frames in EAPOL txdone callback 2023-08-21 18:01:16 +05:30
Shreyas Sheth
043b8b55a1 docs(wifi): Update wifi and wifi security documentation
1. Update documentation for WPA3 Enterprise and WPA3 Enterprise 192-bit
mode
2. Update documentation for WPA3 OWE and OWE transition mode
3. Update documentation related to SAE PK, SAE PWE and Transition Disable
4. Update documnetation for wifi connect API
5. Fix config paramter information for wifi scan start
6. Fix documentation related to scan threshold config setting
7. Replace ESP_ERR_WIFI_ARG error code as ESP_ERR_INVALID_ARG
8. Update documentation for 802.11R Fast transition
2023-08-21 12:29:11 +00:00
Li Shuai
0c9eba8a2a fix(esp32c6/power save): improve TEE and APM module retention priority to 2 to avoid the wifi fail to read the rxbuf link and trigger the rxbuf overflow error 2023-08-21 12:28:51 +00:00
Jiang Jiang Jian
b642bb9b53 Merge branch 'fix/wifi_wps_pbc_overlap' into 'master'
fix(wpa_supplicant): Add support to detect  PBC overlap in wps registrar mode

Closes WIFIBUG-56

See merge request espressif/esp-idf!25331
2023-08-21 14:49:24 +08:00
Zhi Wei Jian
bec164ae93 Merge branch 'doc/update_p4_ble_docs' into 'master'
Update ESP32-P4 BLE docs

See merge request espressif/esp-idf!25355
2023-08-21 14:48:08 +08:00
Island
db51ceed69 Merge branch 'bugfix/esp32c6_heap_is_corrupted' into 'master'
Bugfix/esp32c6 heap is corrupted

See merge request espressif/esp-idf!25332
2023-08-21 14:03:09 +08:00
Rahul Tank
762e2be50e Merge branch 'bugfix/fix_pcl_set_rssi_vsc' into 'master'
fix(nimble): Add API to send pcl set rssi vsc

See merge request espressif/esp-idf!25016
2023-08-21 10:56:46 +08:00
Jiang Jiang Jian
6e9708a489 Merge branch 'feature/add_ci_for_esp_wifi_powersave_example' into 'master'
ci(wifi): add pytest case for wifi powersave example

See merge request espressif/esp-idf!25227
2023-08-21 10:49:50 +08:00
Lu Ze Yu
3d020d9ed1 Merge branch 'bugfix/intr_flags_to_level' into 'master'
fix(intr_flags_to_level): fix value returned one more than correct value

See merge request espressif/esp-idf!25419
2023-08-21 10:03:24 +08:00
chenjianhua
b9e98b3e7f fix(bt/bluedroid): Fixed BLE disconnect event report when disconnecting 2023-08-19 04:24:47 +00:00
chenjianhua
293bf23743 fix(bt/bluedroid): Fixed GATTC cache address save when list is full 2023-08-19 12:08:30 +08:00
Alexey Gerenkov
3247253671 Merge branch 'feature/newlib_getentropy' into 'master'
feat(newlib): Implement getentropy() function

Closes IDFGH-10746 and IDF-7383

See merge request espressif/esp-idf!25192
2023-08-18 23:43:29 +08:00
Ivan Grokhotkov
9fe275790f Merge branch 'fix/components_readme_file' into 'master'
Rephrase organization section in components readme

See merge request espressif/esp-idf!24957
2023-08-18 21:55:04 +08:00
Planck (Lu Zeyu)
e99a1e1bdd fix(intr_flags_to_level): fix value returned one more than correct value 2023-08-18 19:49:50 +08:00
chenjianhua
be0ef2d0e0 update esp32 bt-lib (7b24543)
- Support BLE RX error packet count record
- Fixed instant setting for LLC procedures with instants
- Fixed adv random delay when adv interval is less than 20ms
2023-08-18 16:49:35 +08:00
nilesh.kale
37a098e739 fix(component-esp_https_ota): Fix wrong debug print for ota upgrade size 2023-08-18 11:35:54 +05:30
Jiang Jiang Jian
cc01cc13aa Merge branch 'bugfix/fix_espnow_set_lr_rate_fail' into 'master'
fix(WiFi/Vendor): Fix set LR rate fail for espnow and 80211 tx

Closes WIFI-6149, WIFI-6116, and IDFGH-10505

See merge request espressif/esp-idf!24795
2023-08-18 13:54:39 +08:00
David Čermák
cdfd5a7eec Merge branch 'lwip/dhcp_client_fix_forwardport' into 'master'
Fix: Added check to ensure safe restart of dhcp fine timer

Closes IDFGH-9738

See merge request espressif/esp-idf!24705
2023-08-18 12:03:18 +08:00
Jiang Jiang Jian
968ce2efc2 Merge branch 'bugfix/update_esp32_phy' into 'master'
fix(phy): update esp32 phy v4771

See merge request espressif/esp-idf!25367
2023-08-18 10:32:36 +08:00
Adam Múdry
466ed3565d fix(fatfs): Fix a warning when FF_VOLUMES is set to 1
Closes https://github.com/espressif/esp-idf/issues/12089
2023-08-17 21:24:32 +02:00
Ivan Grokhotkov
af79a47422 Merge branch 'contrib/github_pr_12052' into 'master'
Two small patches for build system and fatfs (GitHub PR)

Closes IDFGH-10849

See merge request espressif/esp-idf!25337
2023-08-17 22:01:00 +08:00
zhiweijian
8f56d9a7d8 update p4 BLE docs 2023-08-17 19:58:01 +08:00
zwl
38d20430c7 ble: Added adv report flow control config on ESP32C6 and ESP32H2 2023-08-17 19:47:16 +08:00
zwl
386a31dfaf ble: fixed heap corruption on esp32c6 and esp32h2 2023-08-17 19:47:12 +08:00
zhangyanjiao
e9e149fc88 fix(wifi): fix some bugs in LR and bandwidth
1. Fix the LR rate set fail for espnow and 80211 tx
2. Check phy bandwidth when setting espnow peer rate

Closes https://github.com/espressif/esp-idf/issues/11751
2023-08-17 17:55:57 +08:00
Abhik Roy
9a2fb1a4a5 fix: Added check to ensure safe restart of dhcp fine timer 2023-08-17 18:39:48 +10:00
Rahul Tank
09dd6237ae fix(nimble): Add API to send pcl set rssi vsc 2023-08-17 12:37:00 +05:30
Mahavir Jain
0498c1ced4 Merge branch 'feature/update_mbedtls_v3.4.1' into 'master'
feat(mbedtls): Update to release/v3.4.1

Closes IDF-8040

See merge request espressif/esp-idf!25373
2023-08-17 12:28:20 +08:00
C.S.M
0ccfb126df Merge branch 'bugfix/fix_i2c_master_issue' into 'master'
fix(i2c_master): Fix some issues on new i2c_master

Closes IDF-8034

See merge request espressif/esp-idf!25320
2023-08-17 10:13:48 +08:00
Michael (XIAO Xufeng)
47c153b949 Merge branch 'ci/pre-commit-check-build-test-rule-exist' into 'master'
pre-commit: add check that build-test-rule paths must exist

See merge request espressif/esp-idf!25231
2023-08-17 02:25:45 +08:00
Mahavir Jain
200cf10373 Merge branch 'bugfix/fix_error_while_ota_over_tls_1_3_connection' into 'master'
fix: fix error while performing OTA over TLS 1.3 connection

Closes IDFGH-10451

See merge request espressif/esp-idf!24847
2023-08-16 20:28:19 +08:00
Tomas Borcin
03441db221 docs(components-readme): Fix Organization section 2023-08-16 14:26:11 +02:00
Martin Vychodil
4b79eef791 Merge branch 'fix/spiffs_log_errors' into 'master'
fix(spiffs): SPIFFS print formatter errors out

Closes IDFGH-10696

See merge request espressif/esp-idf!25363
2023-08-16 20:13:01 +08:00
Kevin (Lao Kaiyao)
f629c4b7e9 Merge branch 'feature/i2s_support_mclk_input' into 'master'
feat(i2s): supported external clock source input

Closes IDF-7889

See merge request espressif/esp-idf!24942
2023-08-16 19:07:22 +08:00
Cao Sen Miao
0f8e60368c fix(i2c_master): Add doc for internal pull-ups 2023-08-16 18:05:10 +08:00
Mahavir Jain
29a4b05cba Merge branch 'contrib/github_pr_11923' into 'master'
fix(esp-tls): fix pointer cast and condition for CONFIG_ATECC608A_TCUSTOM (GitHub PR)

Closes IDFGH-10697

See merge request espressif/esp-idf!25348
2023-08-16 14:19:46 +08:00
Mahavir Jain
ef24dd31e6 Merge branch 'bugfix/esp_tls_cert_check_failure_err' into 'master'
fix(esp-tls): fix the certificate check failure logging for cert bundle case

Closes IDFGH-10827

See merge request espressif/esp-idf!25335
2023-08-16 14:19:25 +08:00
Harshit Malpani
4c5a7de6a6
feat(mbedtls): Update to release/v3.4.1 2023-08-16 11:40:31 +05:30
Harshit Malpani
11715c5caf
fix(esp-tls): Retry reads if using session tickets with TLS 1.3
Fixed the error that occurred while performing OTA upgrades over
TLS 1.3 connection. After handshake is completed, post-handshake message
is received and internal state is changed. While performing mbedtls_ssl_read(),
it checks handshake state and if it is not MBEDTLS_SSL_HANDSHAKE_OVER,
mbedtls_ssl_handshake is called again.
2023-08-16 11:26:58 +05:30
Mahavir Jain
a93cdfb828 Merge branch 'bugfix/check_iram_optimization' into 'master'
fix(mbedtls): IRAM optimization analyzed on mbedtls/test_apps

Closes IDF-7145

See merge request espressif/esp-idf!25304
2023-08-16 13:08:34 +08:00
morris
4ee4158a8f Merge branch 'bugfix/async_memcpy_dst_align_check' into 'master'
fix(async_memcpy): destination alignment check against cache line size

Closes IDF-7494

See merge request espressif/esp-idf!25359
2023-08-16 12:57:19 +08:00
Darian
c1cbd9a788 Merge branch 'bugfix/freertos_event_list_removal' into 'master'
FreeRTOS: Fix and optimize event list removal functions

Closes IDFGH-10652

See merge request espressif/esp-idf!25157
2023-08-16 12:22:45 +08:00
Marius Vikhammer
f83c29f242 Merge branch 'feature/esp32p4_docs_build' into 'master'
ESP32-P4 build docs

Closes IDF-7520 and IDF-7773

See merge request espressif/esp-idf!25026
2023-08-16 11:49:43 +08:00
alanmaxwell
bcfde4440d fix(phy): update esp32 phy v4771
1. optimize ht40 tx side band issue
2. revert 4770 one minor fix may cause unknown issue
2023-08-16 11:47:55 +08:00
Jakob Hasse
0b595f3c77 Merge branch 'contrib/github_pr_11945' into 'master'
Added Help command parameter for displaying only a specific command (GitHub PR)

Closes IDFGH-10725

See merge request espressif/esp-idf!25329
2023-08-16 11:16:54 +08:00
Cao Sen Miao
6a89925501 fix(i2c): Fix wrong clock gate in clk_gate_ll 2023-08-16 10:43:18 +08:00
Cao Sen Miao
317da3ffaf fix(i2c_master): Fix some static issue checked by coverity 2023-08-16 10:43:18 +08:00
Marius Vikhammer
27baef2424 docs(esp32p4): added building docs for ESP32-P4 2023-08-16 10:13:47 +08:00
David Čermák
30068b6ee0 Merge branch 'update/format_warn_lwip_tcptransport' into 'master'
lwip: Fix print format -Wformat issues

See merge request espressif/esp-idf!23080
2023-08-15 22:58:17 +08:00
Adam Múdry
abaf997018 fix(spiffs): SPIFFS print formatter errors out
Closes https://github.com/espressif/esp-idf/issues/11922
2023-08-15 15:40:19 +02:00
Gao Xu
0ceb5f2648 Merge branch 'refactor/cache_disable_enable_interface' into 'master'
refactor(cache): abstract cache rom API in cache_ll.h

Closes IDF-7922

See merge request espressif/esp-idf!25040
2023-08-15 19:43:47 +08:00
Chen Ji Chang
b39fd79cb8 Merge branch 'feature/add_mcpwm_carrier_clk_source' into 'master'
feat(MCPWM): Add mcpwm carrier clk source

Closes IDF-8029

See merge request espressif/esp-idf!25342
2023-08-15 18:04:08 +08:00
morris
595c3fe6a2 fix(async_memcpy): destination alignment check against cache line size
On ESP32P4, becasue we need to invalidate the destination buffer,
if the buffer is not aligned to cache line, then it might break
other date structure, randomly.
2023-08-15 17:40:17 +08:00
David Cermak
c510560890 lwip: Fix print format -Wformat issues 2023-08-15 11:01:01 +02:00
Armando (Dou Yiwen)
5a81e00633 Merge branch 'feature/support_mmu_on_p4' into 'master'
mm: mmu support on p4

Closes IDF-7509

See merge request espressif/esp-idf!25121
2023-08-15 14:25:31 +08:00
Jakob Hasse
7b258bef0e refactor(esp_console): improved error handling, added tests and docs
* Updated documentation of
  esp_console_register_help_command
* Improved help command error handling
* Added test for the help command
2023-08-15 14:11:30 +08:00
David Čermák
9f69f881ab Merge branch 'bugfix/esp_netif_print_format' into 'master'
esp_netif: Fix Wno-format issues

See merge request espressif/esp-idf!22217
2023-08-15 13:58:15 +08:00
Chen Jichang
97d5db32ae feat(MCPWM): Add mcpwm carrier clk source
The MCPWM carrier is part of the operator and can work independently
without the MCPWM timer being enabled. This commit add the MCPWM
carrier clk source.
2023-08-15 13:04:11 +08:00
morris
05f110ea47 Merge branch 'feature/pcnt_interrupt_priority' into 'master'
feat(pcnt): support set interrupt priority

Closes IDF-7953

See merge request espressif/esp-idf!25305
2023-08-15 12:44:14 +08:00
Marius Vikhammer
78c4a7dcf2 Merge branch 'ci/ulp_i2c_multi_device_tests' into 'master'
ci(lp_core): added multi-device test for lp core i2c

See merge request espressif/esp-idf!25278
2023-08-15 11:22:01 +08:00
Michael (XIAO Xufeng)
8845767bc0 Merge branch 'feat/sub_power_modes_docs' into 'master'
sleep_modes: add docs and test app for sub power modes on S2, S3, C2, C3.

See merge request espressif/esp-idf!23142
2023-08-15 10:57:48 +08:00
Jiang Jiang Jian
3e891bef25 Merge branch 'bugfix/eapol_txdone_cb_issue' into 'master'
fix(wifi): Fix EAPOL Key TxDone callback implementation

Closes WIFIBUG-14

See merge request espressif/esp-idf!25153
2023-08-15 10:48:14 +08:00
Armando
ca515ca55e fix(efuse): fixed efuse_hal_get_major_chip_version not in iram issue 2023-08-15 10:17:03 +08:00
Armando
8c8affc812 feat(mmu): support mmu and flash mmap driver on p4 2023-08-15 10:17:03 +08:00
Armando
d97b3fec67 fix(rtc): fix .rtc_timer_data_in_rtc_mem wrongly in flash issue 2023-08-15 10:17:03 +08:00
Josef Norgan
f317cc55f2 feat(esp_console): Added Help command parameter for displaying only specific command 2023-08-15 10:09:37 +08:00
Adam Múdry
42ac85a6a1 Merge branch 'contrib/github_pr_11926' into 'master'
Support NVS image generation from CMake (GitHub PR)

Closes IDFGH-10702 and IDFGH-10542

See merge request espressif/esp-idf!25102
2023-08-15 00:20:11 +08:00
Sudeep Mohanty
6d90643ba4 Merge branch 'bugfix/missing_crosscore_int_header' into 'master'
fix(esp_gdbstub): Added missing crosscore_int.h header inclusion for RISC-V targets

See merge request espressif/esp-idf!25338
2023-08-14 21:44:25 +08:00
David Cermak
ca44460359 esp_netif: Fix Wno-format issues 2023-08-14 14:13:33 +02:00
Nachiket Kukade
29e6603ba7 fix(wifi): Fix EAPOL Key TxDone callback implementation
Fix issues arising due to not distinguishing between M2 and M4
TxDone during 4-way handshake. Also fix EAPOL frame rate to lowest
possible rate.
2023-08-14 16:50:42 +05:30
Alex
6704566476
fix(esp-tls): fix pointer cast and condition for CONFIG_ATECC608A_TCUSTOM
Closes https://github.com/espressif/esp-idf/pull/11923
2023-08-14 16:20:20 +05:30
C.S.M
7cd321814a Merge branch 'feature/i2c_support_p4' into 'master'
I2C: Add i2c support for ESP32P4

Closes IDF-6507

See merge request espressif/esp-idf!25281
2023-08-14 18:07:32 +08:00
Chen Jichang
eede3796c7 feat(pcnt): support set interrupt priority 2023-08-14 17:52:38 +08:00
Jiang Jiang Jian
0c1207aa8a Merge branch 'bugfix/fix_disassociation_callback_miss_free_key_lead_memory_leak_issue' into 'master'
fix(wifi): fix disassociation callback miss free key issue

Closes WIFIBUG-88

See merge request espressif/esp-idf!25327
2023-08-14 15:28:46 +08:00
xiaqilin
5ec03ea6b6 fix(ieee802154): fix ieee802154_test issue
* pti do not set in ieee802154 test
* ack_time_out do not using in ieee802154 test
2023-08-14 15:10:17 +08:00
Island
1f3e3f8f6a Merge branch 'bugfix/fix_current_issue_after_ble_init' into 'master'
Fix phy enable/disable for ESP32C6/H2/C2

See merge request espressif/esp-idf!25080
2023-08-14 13:11:19 +08:00
Marius Vikhammer
b11bec1ad2 ci(lp_core): added multi-device test for lp core i2c 2023-08-14 12:11:13 +08:00
Wang Meng Yang
37c3fa8221 Merge branch 'bugfix/incr_sdp_max_conns' into 'master'
fix(bt): Increased SDP maximum connections to avoid connection exhaustion

Closes BTQABR2023-12

See merge request espressif/esp-idf!25184
2023-08-14 12:02:23 +08:00
laokaiyao
22bb5729a4 ci(i2s): add external clock input multi_dev test cases 2023-08-14 03:25:12 +00:00
laokaiyao
4b6d71447c feat(i2s): supported external clock source input 2023-08-14 03:25:12 +00:00
Sudeep Mohanty
cac7651d29 fix(esp_gdbstub): Added missing crosscore_int.h header inclusion for RISC-V targets
This commit adds the missing crosscore_int.h header inclusion in
gdbstub_riscv.c file.
2023-08-11 16:58:03 +02:00
Mahavir Jain
ea3bb21cf7
fix(esp-tls): fix the certificate check failure logging for cert bundle case
For ESP certificate bundle case, the certificate failure error from
underlying TLS stack was not being tracked. Added the fix and also
updated example code showcasing how to retrieve it.

Closes https://github.com/espressif/esp-idf/issues/12034
2023-08-11 17:27:01 +05:30
Michal Jenikovsky
bcda40fcf2 fatfs: raw diskio: Fixed handling read-only filesystem
ff_ routines incorrectly reported disk state and caused whole fatfs
to lock-up when trying to write to read-only device.

Signed-off-by: Michal Jenikovsky <jendo@jmsystems.sk>
2023-08-11 12:37:33 +02:00
Sarvesh Bodakhe
2c3394ff01 fix(wpa_supplicant): Add support to detect PBC overlap in wps registrar mode 2023-08-11 16:06:23 +05:30
Xiao Xufeng
fca7fd8613 ci(sleep_mode): Update test app for new sub modes on S2, S3, C2, C3 2023-08-11 17:20:16 +08:00
Xiao Xufeng
f51258ec18 ci(pre-commit): add check that build-test-rule paths must exist 2023-08-11 17:04:35 +08:00
muhaidong
b871eff7d7 fix(wifi): fix disassociation callback miss free key issue 2023-08-11 15:09:03 +08:00
chenjianhua
7accddadaa Update bt lib for ESP32-C3 and ESP32-S3(59725b5)
- Support BLE RX error packet count record
- Fixed adv random delay when adv interval is less than 20ms
- Fixed adv random address setting when owner address type is public
2023-08-11 14:08:59 +08:00
Cao Sen Miao
de85f47bc9 feat(i2c): Add I2C driver support for esp32p4 2023-08-11 12:37:11 +08:00
morris
26f438cf89 Merge branch 'feature/esp32p4_gpio_support' into 'master'
feat(gpio): add support for ESP32P4

Closes IDF-6509

See merge request espressif/esp-idf!24868
2023-08-11 11:49:51 +08:00
Island
ba0b8dcac1 Merge branch 'bluedroid/memory_full' into 'master'
fix (Bluedroid) : Fix the memory corruption issue

See merge request espressif/esp-idf!24905
2023-08-10 19:05:32 +08:00
morris
84f9e5e8e5 Merge branch 'feature/esp32p4_pcnt_support' into 'master'
feat(pcnt): add support for ESP32P4

Closes IDF-7475

See merge request espressif/esp-idf!25149
2023-08-10 18:52:23 +08:00
Song Ruo Jing
be9afeac86 feat(gpio): add support for ESP32P4 2023-08-10 17:58:49 +08:00
morris
94a662995b Merge branch 'feature/support_hp_regi2c_for_esp32c6' into 'master'
feature: support_hp_regi2c_for_esp32c6

Closes IDF-7025

See merge request espressif/esp-idf!24303
2023-08-10 16:54:56 +08:00
C.S.M
96bf37ab78 Merge branch 'feature/i2c_master_new_driver' into 'master'
I2C: Add new i2c master impl APIs and i2c eeprom example

See merge request espressif/esp-idf!23592
2023-08-10 16:51:31 +08:00
nilesh.kale
b4f9dd1fa5 fix(mbedtls): IRAM optimization analyzed on mbedtls/test_apps 2023-08-10 14:05:22 +05:30
Armando (Dou Yiwen)
337aeb4b78 Merge branch 'feature/add_esp32p4_hello_world' into 'master'
esp32p4: introduced new chip ESP32P4: Hello World! 🌏

Closes IDF-7523

See merge request espressif/esp-idf!25013
2023-08-10 16:04:55 +08:00
Marius Vikhammer
9bb6a04e87 Merge branch 'bugfix/console_init_caps' into 'master'
fix(console): fixed esp_console_init not working if heap_alloc_caps was 0

See merge request espressif/esp-idf!25294
2023-08-10 14:34:11 +08:00
Jakob Hasse
efd46fc140 Merge branch 'refactor/public_header_checker_cxx' into 'master'
Add C++ check to public header file checker

Closes IDF-7286

See merge request espressif/esp-idf!25263
2023-08-10 14:17:22 +08:00
Lou Tian Hao
0878b9bdcd Merge branch 'feature/support_EXT1_WAKEUP_MODE_PER_PIN_for_esp32c6_and_esp32h2' into 'master'
Feature: support ext1 wakeup mode per pin for esp32c6 and esp32h2

See merge request espressif/esp-idf!24875
2023-08-10 14:01:03 +08:00
Cao Sen Miao
262dac9c4d change(ulp): change some hal(ll) function name to new ones 2023-08-10 11:55:54 +08:00
Cao Sen Miao
b6cbeeae01 feat(lcd): Add new version LCD implementation to adapt new I2C APIs 2023-08-10 11:55:54 +08:00
Cao Sen Miao
4ef94fc0dc feat(i2c): Add new API and implementation for I2C driver 2023-08-10 11:55:54 +08:00
Jiang Jiang Jian
70e223a867 Merge branch 'bugfix/fix_phy_rx_issue' into 'master'
fix(phy): Fix 11b/g rx issue for ESP32

See merge request espressif/esp-idf!25223
2023-08-10 10:56:33 +08:00
Marius Vikhammer
f80430911f fix(console): fixed esp_console_init not working if heap_alloc_caps was 0 2023-08-10 10:35:32 +08:00
Armando
32ed3538af fix(pwm): fix struct def 2023-08-10 10:16:20 +08:00
cjin
5a8e51f24c ble: move phy enabled/disable to controller enable/disable 2023-08-10 10:14:29 +08:00
Mahavir Jain
3befd5fff7 Merge branch 'contrib/github_pr_11869' into 'master'
bugfix: avoid warning in espcoredump when log disabled (GitHub PR)

Closes IDFGH-10636

See merge request espressif/esp-idf!25134
2023-08-10 02:19:32 +08:00
Rahul Tank
301b322245 Merge branch 'feature/enc_adv_data' into 'master'
NimBLE: Added support of encrypted advertising data

See merge request espressif/esp-idf!23746
2023-08-09 23:00:40 +08:00
wuzhenghui
a425d8816a feat(esp_hw_support): manage modem_etm clock in modem_clock for bt/154 indepently 2023-08-09 20:19:50 +08:00
radek.tandler
28f82d8de7 refactor(nvs_flash): Host test migrated to esp_partition emulation for linux 2023-08-09 14:14:21 +02:00
radek.tandler
1da6a4f5fa fix(spiffs): Corrected buffer size and allocation in host test 2023-08-09 14:14:20 +02:00
radek.tandler
4c13bf53ea change(esp_partition): Improved granularity of power-off emulation for Linux 2023-08-09 14:14:14 +02:00
Lou Tianhao
808a01e656 feat(pm/deepsleep): Support EXT1_WAKEUP_MODE_PER_PIN 2023-08-09 19:46:25 +08:00
Armando
06782d1623 change(esp32p4): update rtc interrupt registration todo list 2023-08-09 19:33:36 +08:00
Armando
00df6b378d refactor(sar): build sar_periph_ctrl related files by chip 2023-08-09 19:33:36 +08:00
KonstantinKondrashov
c09d823b6a change(efuse): Update eFuses for esp32p4 chip 2023-08-09 19:33:35 +08:00
Armando
aa245489fb change(bootloader): added address check in bootloader.ld 2023-08-09 19:33:26 +08:00
Armando
706d684418 feat(esp32p4): introduced new target esp32p4, supported hello_world 2023-08-09 19:33:25 +08:00
gaoxu
fd759d65b0 refactor(cache): abstract cache rom API in cache_ll.h 2023-08-09 10:32:12 +00:00
Darian Leung
1620d97299 change(freertos): Optimized xTaskRemoveFromEventList()
This commit optimizes xTaskRemoveFromEventList() by removing the
listLIST_IS_EMPTY() check from single core builds. The scenario of the event
list being empty when the function is called can only occur on multi-core
builds.
2023-08-09 16:43:52 +08:00
Darian Leung
5947314431 fix(freertos): Fix vTaskRemoveFromUnorderedEventList()
This commit fixes and optimizes vTaskRemoveFromUnorderedEventList() in the
following ways:

- Fixed bug in single core builds where the unblocked task would be placed on
xPendingReadyList.
    - If an ISR occurs while accessing xPendingReadyList, and the ISR also
      accesses the xPendingReadyList, xPendingReadyList would be corrupted.
    - In single core builds, this function is only called from event groups with
      the scheduler suspended. Thus the function should have exclusive access to
      pxReadyTasksLists instead of xPendingReadyList.
    - The function's single core logic has now been updated to match upstream
      behavior, by always placing the unblocked task on pxReadyTasksLists.

- Optimized the function for single core builds by removing the
taskCAN_BE_SCHEDULED() check.
    - In single core builds, given that the function is always called with the
      scheduler suspended
    - Thus, the taskCAN_BE_SCHEDULED (and the subsequent routine to place the
      unblocked task on the xPendingReadyList) is not necessary for single core
      builds.
    - The function now matches upstream behavior in single core builds.

Closes https://github.com/espressif/esp-idf/issues/11883
2023-08-09 16:43:52 +08:00
Jakob Hasse
44e4ef79e2 fix(esp_system): Fixed C++ compilation of libunwind.h 2023-08-09 16:17:08 +08:00
Jakob Hasse
342a5b428c fix(esp_event): made #include <stdint.h> explicit 2023-08-09 16:17:06 +08:00
Darian Leung
fdcab76128 fix(freertos): taskCAN_BE_SCHEDULED macro parenthesis
This commit adds missing parenthesis around the taskCAN_BE_SCHEDULED macro so
that it can properly used with a negation operator.
2023-08-09 15:54:14 +08:00
Radek Tandler
db4308888d Merge branch 'feature/storage_nvs_stat' into 'master'
nvs_flash: nvs_get_stats extended by available_entries, API documentation updated

See merge request espressif/esp-idf!24523
2023-08-09 15:40:35 +08:00
Xiao Xufeng
5ee8add38c refactor(esp_hw_support): Move rtc_8md256 and rtc_power_modes test apps to esp_hw_support 2023-08-09 14:57:57 +08:00
Chen Jichang
3fed3cf50e feat(pcnt): add support for ESP32P4 2023-08-09 14:41:22 +08:00
Lou Tianhao
d59e91c030 feature: support_hp_regi2c_for_esp32c6 2023-08-09 14:24:31 +08:00
Zhang Xiao Yan
30983a25d5 Merge branch 'docs/fix_typos_adc_continuous.h' into 'master'
docs: fix typos in esp_adc/include/esp_adc/adc_continuous.h

See merge request espressif/esp-idf!25241
2023-08-09 14:20:51 +08:00
Konstantin Kondrashov
a12c06367f Merge branch 'ci/test_verify_image' into 'master'
fix(bootloader_support): Fix memory leak for unit tests

Closes IDFCI-1754 and IDFCI-1755

See merge request espressif/esp-idf!24870
2023-08-09 13:44:22 +08:00
morris
bd8eaf7a38 Merge branch 'feature/esp32p4_mcpwm_support' into 'master'
feat(MCPWM): Add support for ESP32P4

Closes IDF-7493

See merge request espressif/esp-idf!25029
2023-08-09 11:00:00 +08:00
Jakob Hasse
bb227e0d84 Merge branch 'refactor/semaphore_to_platform_includes' into 'master'
refactor: moved semaphore.h to newlib platform_include

Closes IDFGH-10281

See merge request espressif/esp-idf!24088
2023-08-08 23:45:37 +08:00
Sudeep Mohanty
397825af93 Merge branch 'bugfix/lp_i2c_bugfixes' into 'master'
Fixed multiple LP I2C bugs

Closes IDFGH-10740

See merge request espressif/esp-idf!25255
2023-08-08 23:37:53 +08:00
Alexey Gerenkov
f8e020b1d7 feat(newlib): Implement getentropy() function
Closes https://github.com/espressif/esp-idf/issues/11963
2023-08-08 18:06:58 +03:00
morris
3e31826719 Merge branch 'bugfix/gptimer_hal_placement_wrong_condition' into 'master'
fix(gptimer): hal function placement under wrong condition

Closes IDFGH-10809

See merge request espressif/esp-idf!25237
2023-08-08 22:15:55 +08:00
morris
259dea3912 Merge branch 'feature/drivers_use_creation_with_caps_functions' into 'master'
Drivers: Update drivers to use CreateWithCaps() API

See merge request espressif/esp-idf!24378
2023-08-08 22:04:49 +08:00
alanmaxwell
52751c2a3a fix(phy): Fix 11b/g rx issue for ESP32 2023-08-08 12:57:01 +00:00
satish.solanke
b250e598dc fix(Bluedroid) : Fix the memory corruption issue 2023-08-08 12:16:55 +00:00
Jiang Guang Ming
eaca3316b1 Merge branch 'feature/support_mbedtls_ecp_fixed_point_configurable' into 'master'
feat(mbedtls): support ecp fixed-point multiplication configurable

See merge request espressif/esp-idf!25152
2023-08-08 19:32:05 +08:00
Chen Jichang
72f66b6d1d feat(mcpwm): add support for ESP32P4 2023-08-08 18:12:58 +08:00
isha.pardikar@espressif.com
9178a78142 NimBLE: Added support of encrypted advertising data 2023-08-08 15:37:51 +05:30
Jakob Hasse
8042362e2a refactor: moved semaphore.h to newlib platform_include
Closes https://github.com/espressif/esp-idf/issues/11540
2023-08-08 16:45:57 +08:00
wuzhenghui
e9c6083729 fix(light_sleep): shouldn't backup uart fifo reg in pd_top light sleep 2023-08-08 16:45:17 +08:00
radek.tandler
3ffb8f8ffd nvs: nvs_get_stats fixed test, improved comment 2023-08-08 08:43:19 +02:00
radek.tandler
ac6c03fad1 change(nvs_flash): nvs_get_stats extended, API documentation improved 2023-08-08 08:43:19 +02:00
Sudeep Mohanty
00955f7e59 fix(lp_i2c): Fixed a bug where the LP_I2C did not send NACK for 16-byte reads
This commit updates the LP_I2C driver used by the LP CPU wherein the
driver did not send out a NACK when we do a read of multiple of the FIFO
depth bytes. This was because the LP I2C controller was configured to
send an ACK when the Rx FIFO reaches the threshold instead of a NACK.
This commit updates the behavior.
2023-08-08 06:35:15 +00:00
Sudeep Mohanty
5b46ef3cdd fix(lp_i2c): Fixed a bug where LP I2C write got stuck
This commit fixes a bug where an I2C write got stuck when using the
lp_core_i2c_master_write_read_device() API. This was because the LP I2C
HW was not programmed with an END condition and therefore did not know
the end of a transaction.

Closes: https://github.com/espressif/esp-idf/issues/11958
2023-08-08 06:35:15 +00:00
Sudeep Mohanty
4464599dad fix(lp_i2c): Fixed incorrect clock setting for LP_I2C
The LP_I2C clock setting was incorrect and a lower frequency value was
being set during initialization. This commit fixes the behavior.
2023-08-08 06:35:15 +00:00
Linda
df85758c7e docs: fix typos in esp_adc/include/esp_adc/adc_continuous.h 2023-08-08 06:11:30 +00:00
Jiang Guang Ming
3f2746688c feat(mbedtls): support ecp fixed-point multiplication configurable 2023-08-08 14:03:57 +08:00
isha.pardikar@espressif.com
e0b5ab3cef fix(nimble): Added checks before accessing event pointers 2023-08-08 04:58:20 +00:00
Darian Leung
9ed58bf564 feat(driver): updated drivers to use CreateWithCaps() API
This commit simplifies various drivers by using the ...CreateWithCaps() API
when creating driver objects in internal RAM.
2023-08-08 04:26:42 +00:00
morris
a662ec0a8d fix(gptimer): hal function placement under wrong condition
timer_hal_capture_and_get_counter_value
should be placed in the IRAM for speed optimization
because the default ISR handler is placed in the IRAM.

Closes https://github.com/espressif/esp-idf/issues/12021
2023-08-08 04:26:02 +00:00
Marius Vikhammer
31d87a0c59 Merge branch 'ci/mpi_public_header_fix' into 'master'
fix(mpi): fixed missing include in mpi_ll.h for P4

See merge request espressif/esp-idf!25257
2023-08-08 11:58:43 +08:00
Marius Vikhammer
54f327a380 Merge branch 'contrib/github_pr_11562' into 'master'
[Console] add setting to use PSRAM (GitHub PR)

Closes IDFGH-10303

See merge request espressif/esp-idf!25136
2023-08-08 09:34:47 +08:00
Marius Vikhammer
ff15d4045e fix(mpi): fixed missing include in mpi_ll.h for P4 2023-08-08 09:29:28 +08:00
Chen Jian Hua
f5d9986246 Merge branch 'bugfix/fix_bleqabr23_178' into 'master'
fix(bt/bluedroid): Fix address check when using NRPA as random device address

See merge request espressif/esp-idf!25074
2023-08-07 20:38:32 +08:00
Chen Jian Hua
ad149a6a80 Merge branch 'feature/support_high_duty_adv_interval' into 'master'
feat(bt/bluedroid): Support high duty adv interval setting

See merge request espressif/esp-idf!25108
2023-08-07 20:38:17 +08:00
Lou Tian Hao
791360336a Merge branch 'feature/support_pd_hp_aon_domain_in_deepsleep' into 'master'
Feature: support pd hp aon domain in deepsleep

See merge request espressif/esp-idf!25175
2023-08-07 17:28:40 +08:00
morris
5748ce45fe Merge branch 'bugfix/i80_lcd_reset_gpio_config' into 'master'
fix(i80_lcd): reset cs gpio on exit

See merge request espressif/esp-idf!25209
2023-08-07 15:50:42 +08:00
morris
27eec5bb6f Merge branch 'feature/twai_linker_file' into 'master'
feat(twai): Add twai linker.lf to control the placement of driver and hal

Closes IDF-7806

See merge request espressif/esp-idf!25126
2023-08-07 15:21:37 +08:00
Mahavir Jain
f089cd5fab Merge branch 'esp32p4/add_mpi_support' into 'master'
feat(mpi): add MPI peripheral support for esp32p4

See merge request espressif/esp-idf!25110
2023-08-07 13:37:14 +08:00
Roland Dobai
1f6fd9027a Merge branch 'feature/add_esp32p4_public_header_check' into 'master'
CI: enable esp32p4 public header check

See merge request espressif/esp-idf!25166
2023-08-07 12:24:01 +08:00
morris
aacd7d84d9 fix(i80_lcd): reset cs gpio on exit 2023-08-07 03:15:21 +00:00
Planck (Lu Zeyu)
7469f34948 feat(twai): Add twai linker.lf to control the placement of driver and hal
- Replace TWAI_ISR_ATTR flag with linker.lf
- Use the linker.lf to control the placement of the driver functions
2023-08-07 10:21:47 +08:00
Adam Múdry
ebde53bbb9 docs(fatfs): Move mentioned APIs to a separate API reference section 2023-08-04 23:47:44 +00:00
Armando
b9708d933f fix(soc): fix ecc_mult_struct.h struct size check 2023-08-04 14:13:59 +02:00
Armando
de68029de9 change(header): modify p4 headers issues from check_header_py 2023-08-04 14:13:59 +02:00
morris
55ea6b78a7 Merge branch 'feature/async_memcpy_rewrite' into 'master'
feat(async_memcpy): refactor driver code to support different DMA backends

See merge request espressif/esp-idf!25050
2023-08-04 17:52:13 +08:00
Jiang Jiang Jian
025be6bbba Merge branch 'bugfix/manage_i2c_clock_with_modem_clock_driver' into 'master'
fix(esp_hw_support): manage i2c_ana_mst clock with modem clock driver

Closes IDF-7939 and BT-3368

See merge request espressif/esp-idf!25132
2023-08-04 17:34:51 +08:00
Wang Meng Yang
3da60ec6e7 Merge branch 'bugfix/remove_deprecated_err_code' into 'master'
fix(bt): Removed an incorrectly defined HCI error code in Bluedroid

See merge request espressif/esp-idf!25162
2023-08-04 17:26:47 +08:00
morris
a296532715 Merge branch 'bugfix/temperature_get_value_negative' into 'master'
bugfix(temperature_sensor): Fix issue that get the value is negative

See merge request espressif/esp-idf!25165
2023-08-04 15:24:11 +08:00
wuzhenghui
8b5052f213 fix(light_sleep): save vddsdio_config before lightsleep 2023-08-04 11:58:07 +08:00
wuzhenghui
0b0e8ab80b fix(light_sleep): suspend/resume cache correspondingly after light sleep 2023-08-04 11:56:55 +08:00
C.S.M
40532cb820 Merge branch 'bugfix/esp32s3_lack_boot_resume' into 'master'
bugfix(spi_flash): Add flash resuem in bootloader on esp32s3

See merge request espressif/esp-idf!25163
2023-08-04 11:24:56 +08:00
Wang Meng Yang
8e5aebe69e Merge branch 'bugfix/fix_bt_3379' into 'master'
fix(bt): Fix phy enable and disable for bt controller on esp32c3

See merge request espressif/esp-idf!25012
2023-08-04 10:52:24 +08:00
wuzhenghui
c34cdd05e9 fix(esp_hw_support): manage i2c_ana_mst clock witch modem clock driver 2023-08-04 10:39:43 +08:00
Xiong Wei Chao
0331e6fabd Merge branch 'bugfix/role_switch_enc_mode_lmp_timeout' into 'master'
bt: Fix disconnection due to lmp messages not being processed by both sides

Closes BTQABR2023-38 and BTQABR2023-37

See merge request espressif/esp-idf!24757
2023-08-04 10:23:26 +08:00
Jiang Jiang Jian
ea33db32ac Merge branch 'bugfix/fix_ftm_error_propagation' into 'master'
Fix error propagation while initiating FTM

Closes WIFIBUG-23

See merge request espressif/esp-idf!25118
2023-08-04 08:35:58 +08:00
Jiang Jiang Jian
5ab6f5f0bb Merge branch 'bugfix/allow_owe_traffic_after_eapol' into 'master'
Fix some OWE issues

Closes WIFIBUG-10, WIFIBUG-29, and WIFIBUG-58

See merge request espressif/esp-idf!25071
2023-08-04 05:01:23 +08:00
morris
6eabfc2c9f Merge branch 'feature/gptimer_interrupt_priority' into 'master'
feat(gptimer): support set interrupt priority

Closes IDF-7954

See merge request espressif/esp-idf!25125
2023-08-04 04:10:45 +08:00
Bogdan Kolendovskyy
87d8273bda Merge branch 'feature/eth_loopback_test' into 'master'
esp_eth/test_apps: add loopback test

Closes IDF-6186

See merge request espressif/esp-idf!23858
2023-08-04 02:12:10 +08:00
Aditya Patwardhan
e468d2220f Merge branch 'bugfix/secure_ota_without_padding' into 'master'
fix(secure_ota): secure app verification issue without padding bytes

Closes IDFGH-10784

See merge request espressif/esp-idf!25156
2023-08-03 22:07:07 +08:00
Nachiket Kukade
fc3798f590 fix(wifi): Fix error propagation while initiating FTM 2023-08-03 16:59:28 +05:30
Bogdan Kolendovskyy
224ba396f1 esp_eth: add loopback test, change chip drivers to reflect chip specific behaviour
In esp_eth_test_apps.c:
Add test of loopback functionality. Change speed/duplex/autonegotiation test - remove need to enable loopback (required
for it to work on some phys supported by ESP-IDF)

In Kconfig.projbuild:
Add parameters to select which configuration is used - standard or custom.
Add for custom configuration parameters to select MDC and MDIO pins (required to work with WESP-32 and other boards that
use non-standard pin assignments).

In esp_eth_test_common.c:
Add code to support changes made in Kconfig

In sdkconfig.ci.default_rtl8201:
Change config which is used. Now custom is used and MDC is gpio 16, MDIO is gpio 17. Reuqired to work with WESP-32

In esp_eth_phy_802_3.h:
Make 802.3 API public.

In esp_eth_phy_802_3.c:
Add loopback check in eth_phy_802_3_set_duplex(). Now ESP_ERR_INVALID_STATE is invoked on attempt to set duplex to half
when loopback is enabled.
Remove static property from esp_eth_phy_802_3_autonego_ctrl and esp_eth_phy_802_3_loopback.

In esp_eth_phy_dm9051.c:
Add dm9051_loopback() because DM9051 requires setting additional bit to enable auto-negotiation loopback for data to be
received. Add dm9051_set_speed() which invokes ESP_ERR_INVALID_STATE on attempt to set speed to 10 Mbps when loopback is
enabled because such speed configuration is unsupported.

In esp_eth_phy_ksz80xx.c:
Add ksz80xx_set_speed() which invokes ESP_ERR_INVALID_STATE on attempt to set speed to 10 Mbps when loopback is enabled
because such speed configuration is unsupported.

In esp_eth_phy_ksz8851snl.c:
Change phy_ksz8851_set_duplex() to invoke ESP_ERR_INVALID_STATE on attempt to set duplex to half when loopback is enabled.

In  esp_eth_phy_dp83848.c, esp_eth_phy_rtl8201.c:
Add autonego_ctrl implementation which prevents enabling autonegotiation when loopback is enabled.
Add loopback implementation which disables autonegotiation prior to enabling loopback.

In esp_eth_phy_lan87xx.c:
Add autonego_ctrl implementation which prevents enabling autonegotiation when loopback is enabled.
Add loopback implementation which disables autonegotiation prior to enabling loopback.
Fix link indicating being down when loopback is enabled by force setting link up.
2023-08-03 13:18:44 +02:00
morris
c32cabc7f8 feat(gptimer): support set interrupt priority
Related forum post: https://esp32.com/viewtopic.php?f=13&t=34959
2023-08-03 19:16:37 +08:00
Cao Sen Miao
91ad084c15 bugfix(spi_flash): Add flash resuem in bootloader on esp32s3 2023-08-03 18:26:00 +08:00
Lou Tianhao
caddc10bf3 feat(pm/deepsleep): support pd hp aon domain in deepsleep 2023-08-03 17:23:02 +08:00
Jin Cheng
99eb6bf3ec fix(bt): Increased SDP maximum connections to avoid connection exhausted 2023-08-03 16:52:50 +08:00
Roman Leonov
e297470e62 Merge branch 'bugfix/usb/host/urb_compliance_verification_add' into 'master'
feature(usb/host) added URB check args and transfer check compliance for regular EP transfer submit

See merge request espressif/esp-idf!24106
2023-08-03 16:20:49 +08:00
Island
b43914770f Merge branch 'bugfix/fix_duplicate_disable_compile_issue' into 'master'
bugfix(ble): Fix compile issue when disable duplicate config option in kconfig.

See merge request espressif/esp-idf!25003
2023-08-03 16:09:44 +08:00
Kapil Gupta
d0fb902789 Merge branch 'bugfix/update_supplicant_copyrights' into 'master'
change(esp_wifi): Update copyright info for wpa_supplicant

See merge request espressif/esp-idf!24919
2023-08-03 13:17:31 +08:00
Jin Cheng
79bb7b6c8a fix(bt): Removed an incorrectly defined HCI error code 2023-08-03 12:15:03 +08:00
harshal.patil
031175d22a
feat(mpi): add MPI peripheral support for esp32p4 2023-08-03 09:44:02 +05:30
Rahul Tank
bae1838f66 Merge branch 'bugfix/handle_NULL_data_periodic_adv' into 'master'
fix(nimble): Add check to set length only if data is valid in periodic adv

Closes BLEQABR23-351

See merge request espressif/esp-idf!24498
2023-08-03 12:11:55 +08:00
Shyamal Khachane
e986bda085 fix(esp_wifi): Fix some OWE issues
1. Allow flow of traffic after 4 way handshake is completed
2. Fix beacon timeout issue in transition mode
2023-08-03 09:41:43 +05:30
morris
956ec54aed fix(heap): use _SAFE version of critical section
because we allow to call malloc and free in an ISR context
2023-08-03 12:02:09 +08:00
morris
fd3d1aa101 feat(async_memcpy): refactor driver code to support different DMA backen
To support AHB and AXI DMA memory copy for the same target (esp32p4).
2023-08-03 12:02:09 +08:00
Cao Sen Miao
4ccbec93e2 bugfix(temperature_sensor): Fix issue that get the value is negative 2023-08-03 11:16:42 +08:00
chenjianhua
e43e4b83fc feat(bt/bluedroid): Support high duty adv interval setting 2023-08-03 11:14:38 +08:00
chenjianhua
6719002dd1 Update bt lib for ESP32-C3 and ESP32-S3(ff6efe7)
- fix(bt/controller): Fixed PHY enable and disable
- feat(bt/controller): Support DAA and LBT mode for BLE CCA
2023-08-03 10:53:03 +08:00
Liu Ning
de409c2ec3 Merge branch 'bugfix/fix_no_mac_retention_at_wifi_start' into 'master'
fix(esp_wifi): fix no mac retention at wifi start

Closes WIFI-6068 和 WIFI-3695

See merge request espressif/esp-idf!25122
2023-08-03 10:47:52 +08:00
Michael (XIAO Xufeng)
1317d9a5b5 Merge branch 'feat/psram_support_d2wd_single_clk_u4wdh' into 'master'
spiram: Add support for U4WDH, and fixed D0WD/D2WD cannot share CLK pins

Closes IDF-4485

See merge request espressif/esp-idf!17665
2023-08-03 10:37:46 +08:00
Marius Vikhammer
1ec1a69ed0 feature(console): updated console alloc config to use static config struct
No need to store the config in a separate variable, can re-use the config struct
2023-08-03 10:19:15 +08:00
Jiang Jiang Jian
494c33e8d1 Merge branch 'bugfix/fix_pmf_set_race' into 'master'
fix(wifi): Prevent PMF config overwritten by tx_cb

Closes WIFIBUG-42

See merge request espressif/esp-idf!25119
2023-08-03 09:36:18 +08:00
Aditya Patwardhan
ef320349fe Merge branch 'bugfix/nitpick_in_esp_http_client' into 'master'
fix: nitpick in esp_http_client

See merge request espressif/esp-idf!25066
2023-08-03 02:49:51 +08:00
Mahavir Jain
36d42625af Merge branch 'fix/mmu_hal_valid_vaddr_check' into 'master'
fix(hal): Fix the external memory vaddr region validity check

See merge request espressif/esp-idf!25101
2023-08-02 23:05:16 +08:00
Mahavir Jain
56fb618733
fix(secure_ota): secure app verification issue without padding bytes
For the following configuration case:

 - CONFIG_SECURE_SIGNED_APPS_RSA_SCHEME
 - CONFIG_SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT
 - CONFIG_SECURE_BOOT_ALLOW_SHORT_APP_PARTITION

verification of the application was failing because the externally
padded bytes were not considered in the hash (checksum) process.

This commit fixes the problem by enabling relevant code for secure OTA
without secure boot case.

Closes https://github.com/espressif/esp-idf/issues/11995
2023-08-02 19:31:20 +05:30
liuning
12b894fd5d fix(esp_wifi): fix no mac retention at wifi start 2023-08-02 21:33:41 +08:00
Kapil Gupta
fb908dfe98 change(esp_wifi): Update copyright info for wpa_supplicant 2023-08-02 18:51:37 +05:30
Island
24d9ea4939 Merge branch 'ble_mesh/esp32c6_BLEQABR23-266' into 'master'
ble mesh: stack: return error when scanning failed to be enabled

See merge request espressif/esp-idf!24771
2023-08-02 21:08:10 +08:00
Wu Meng Shi
d57bf77699 ble mesh: stack: return error when scanning failed to be enabled 2023-08-02 21:08:10 +08:00
Kapil Gupta
2b18dd4899 fix(wifi): Prevent PMF config overwritten by tx_cb 2023-08-02 11:33:33 +00:00
Jiang Jiang Jian
7bab23130e Merge branch 'bugfix/revert_send_wake_up_and_sleep_null_between_scanning' into 'master'
Fix(esp_wifi):revert send wake up and sleep null between scaning

See merge request espressif/esp-idf!25115
2023-08-02 18:28:37 +08:00
Harshit Malpani
8d95e45c05
fix: nitpick in esp_http_client 2023-08-02 13:48:14 +05:30
Mahavir Jain
172f086c6e Merge branch 'feat/update_cjson_submodule' into 'master'
feat: Update cJSON version to v1.7.16

Closes IDF-7827

See merge request espressif/esp-idf!25064
2023-08-02 15:50:03 +08:00
Rahul Tank
a43c37ff75 fix (nimble): Add check to set length only if data is valid in periodic adv 2023-08-02 12:34:26 +05:30
Chip Weinberger
9178748ff3 [Console] add heap caps settings 2023-08-01 23:38:47 -07:00
Rahul Tank
4b6f22e3f8 Merge branch 'feature/add_duplicate_excep_list_vsc' into 'master'
feat(mesh): Add support for Duplicate Exception list update VSC for Nimble

Closes BLEQABR23-390

See merge request espressif/esp-idf!24772
2023-08-02 14:35:56 +08:00
Armando (Dou Yiwen)
92419363aa Merge branch 'feat/const_ptr_adc_io_channel' into 'master'
feat(adc): use const pointer in io_to_channel APIs

See merge request espressif/esp-idf!24672
2023-08-02 14:10:35 +08:00
Laukik Hase
f281c08ce7
fix(hal): Fix the external memory vaddr region validity check
- For c6, h2 and p4, the vaddr end calculated was off by 1
  byte.
2023-08-02 10:53:26 +05:30
Mahavir Jain
56b8741e38 Merge branch 'esp32p4/add_ecc_support' into 'master'
esp32p4: Add ecc support

See merge request espressif/esp-idf!24984
2023-08-02 12:14:03 +08:00
Jiang Jiang Jian
1210a3e96b Merge branch 'bugfix/vtasksteptick_assert_failed_issue' into 'master'
fix the issue of esp32c6 enable light sleep, vTaskStepTick assert failed caused by wifi baseband sleep retention linked list

Closes WIFI-6173

See merge request espressif/esp-idf!25039
2023-08-02 11:22:03 +08:00
Wu Zheng Hui
016cb6a19a Merge branch 'bugfix/fix_cache_data_mem_corrupt_after_sleep' into 'master'
fix(lightsleep): Suspend cache before goto sleep to avoid cache load wrong data

Closes IDFCI-1760

See merge request espressif/esp-idf!25084
2023-08-02 11:02:01 +08:00
Jiang Jiang Jian
871943a63c Merge branch 'update/openthread_lib' into 'master'
feat(openthread): update openthread lib

See merge request espressif/esp-idf!25088
2023-08-02 10:43:38 +08:00
Omar Chebib
0368aa5257 Merge branch 'feature/bootloader_ignore_extra_component' into 'master'
bootloader: add the possibility to ignore extra components

Closes IDF-7825

See merge request espressif/esp-idf!24806
2023-08-02 10:28:41 +08:00
Armando (Dou Yiwen)
aedc9f06fe Merge branch 'bugfix/fix_potential_cache_msync_issue_on_psram_stack' into 'master'
cache: improve esp_cache_msync() test cases, added psram stack test

Closes IDF-7833

See merge request espressif/esp-idf!24837
2023-08-02 10:27:59 +08:00
Alexey Lapshin
a120ea823e Merge branch 'contrib/github_pr_11569' into 'master'
[GDBStub] kconfig gdbstub runtime should be separate bool (GitHub PR)

Closes IDF-7846 and IDFGH-10309

See merge request espressif/esp-idf!24775
2023-08-02 07:50:47 +08:00
Island
22914f2a13 Merge branch 'doc/c2_h2_c6' into 'master'
c2 h2 c6 headfile re-organized

See merge request espressif/esp-idf!25078
2023-08-01 23:11:29 +08:00
Rahul Tank
9dafd9f778 feat(mesh): Add support for Duplicate Exception list update VSC for
Nimble
2023-08-01 19:27:29 +05:30
Rahul Tank
8467e37bc9 Merge branch 'bugfix/fix_gcc_13_warning' into 'master'
fix (nimble): Fix compilation warnings generated in GCC13

See merge request espressif/esp-idf!25105
2023-08-01 21:54:00 +08:00
Lou Tian Hao
3f6be5938b Merge branch 'docs/rewrite_all_low_to_any_low_when_not_esp32' into 'master'
Docs: rewrite_all_low_to_any_low_when_not_esp32

See merge request espressif/esp-idf!24997
2023-08-01 20:56:36 +08:00
Xu Si Yu
36511a3005 Merge branch 'feature/add_sleep_test_for_ot_ci' into 'master'
OpenThread CI: add a test case of sleepy device

See merge request espressif/esp-idf!24715
2023-08-01 20:38:29 +08:00
xueyunfei
217226d3c9 Fix(esp_wifi):revert send wake up and sleep null between scaning 2023-08-01 20:27:22 +08:00
Darian
84eedefca2 Merge branch 'refactor/freertos_port_types_usage' into 'master'
FreeRTOS: Remove usage of portXXX_TYPE

See merge request espressif/esp-idf!25107
2023-08-01 19:57:32 +08:00
Jiang Jiang Jian
8ed9671c2c Merge branch 'bugfix/optimize_beacon_rx' into 'master'
fix(esp_phy): improve 11b rx for esp32c3.

See merge request espressif/esp-idf!24691
2023-08-01 19:48:02 +08:00
Jiang Jiang Jian
d00506892d Merge branch 'bugfix/action_tx_sleep_fix_v5.2' into 'master'
Trigger null data frame TX before going offchannel.

Closes WIFI-6124

See merge request espressif/esp-idf!25094
2023-08-01 19:47:14 +08:00
Armando
8382b75cac refactor(cache): improved cache test with set cache dirty first 2023-08-01 11:00:49 +00:00
Armando
88c64f609b change(cache): remove similar aim test 2023-08-01 11:00:49 +00:00
Armando
75cec2d58a feat(cache): added psram stack test 2023-08-01 11:00:49 +00:00
Alexey Lapshin
47e400c296 feature(gdbstub): Move runtime gdbstub out of panic config
Closes https://github.com/espressif/esp-idf/pull/11569
2023-08-01 14:28:07 +04:00
Lou Tian Hao
3b14a9d58e Merge branch 'support/deep_sleep_test_for_esp32h2' into 'master'
Support: enable CI test for esp32h2 deep_sleep

Closes IDF-7838

See merge request espressif/esp-idf!25002
2023-08-01 17:37:10 +08:00
Mahavir Jain
53ff7d43db Merge branch 'ci/fix_test_switch_ota' into 'master'
fix(app_update): Fix CI test_switch_ota by increasing deepsleep

See merge request espressif/esp-idf!24801
2023-08-01 16:49:25 +08:00
Mahavir Jain
6f5f7fd9d8 Merge branch 'bugfix/sha_dma_mode_incorrect_result' into 'master'
fix(sha): DMA mode iteration calculation issue for certain data lengths

Closes IDFGH-10690

See merge request espressif/esp-idf!25010
2023-08-01 16:44:47 +08:00
wuzhenghui
26618ad536 fix(lightsleep): suspend cache before goto sleep
There is a possibility that the cache is still accessing the
SPI flashwhen sleep isolating SPI IO, so it is necessary to
wait for the cache to be free before requesting sleep.
2023-08-01 16:29:04 +08:00
Zhang Xiao Yan
0fc252bc1f Merge branch 'docs/fix_Doxygen_syntax_in_adc_continuous' into 'master'
fix(adc_continuous.h): Fix Doxygen syntax error

See merge request espressif/esp-idf!25077
2023-08-01 15:50:23 +08:00
Jiang Jiang Jian
e6e0b0dc40 Merge branch 'bugfix/neighbour_report_crash' into 'master'
Fix crash in RRM neighbour report requests.

Closes WIFI-5838

See merge request espressif/esp-idf!24993
2023-08-01 15:24:56 +08:00
Jiang Jiang Jian
07dd194fdb Merge branch 'bugfix/minor_enterprise_fixes' into 'master'
Minor enterprise fixes

See merge request espressif/esp-idf!24987
2023-08-01 15:16:23 +08:00
zhangwenxu
ce878cb563 feat(thread): update openthread lib 2023-08-01 14:56:43 +08:00
harshal.patil
f2801ae4c9 feat(ecc): add ECC peripheral support for esp32p4 2023-08-01 10:20:30 +05:30
harshal.patil
b4cf035608 feat(soc): Add hwcrypto_reg.h for esp32p4 2023-08-01 10:19:18 +05:30
Lou Tianhao
f33188fb35 docs(pm/sleep): rewrite_all_low_to_any_low_when_not_esp32 2023-08-01 11:53:14 +08:00
Vincent Hamp
d975a26666 feat: Add support for NVS image generation from CMake
Closes: https://github.com/espressif/esp-idf/pull/11926
Closes: https://github.com/espressif/esp-idf/pull/11785

Co-authored-by: Nebojša Cvetković <nebkat@gmail.com>
2023-07-31 18:26:06 +02:00
Darian Leung
6fc935e584 refactor(freertos): Refactor usage of portBASE_TYPE to BaseType_t
portBASE_TYPE is an internal macro defined by the porting layer. This commit
changes all references to BaseType_t which is the official type exposed by
FreeRTOS.
2023-07-31 17:10:34 +02:00
Darian Leung
1e51387222 refactor(freertos): Refactor usage of portSTACK_TYPE to StackType_t
portSTACK_TYPE is an internal macro defined by the porting layer. This commit
changes all references to StackType_t which is the official type exposed by
FreeRTOS.
2023-07-31 16:59:41 +02:00
Rahul Tank
8ce1c45d6d fix (nimble): Fix warnings generated in GCC13 2023-07-31 18:37:01 +05:30
jgujarathi
cabb41d889 fix(esp_wifi) : Trigger null data frame TX before offchan channel switch.
Moves the location of null data frame TX to before channel switch during
offchannel action frame TX req.
2023-07-31 16:51:57 +05:30
Sonika Rathi
02f5b9a898 Merge branch 'update/littlefs_demo_example' into 'master'
LittleFS demo example added

See merge request espressif/esp-idf!24472
2023-07-31 18:24:50 +08:00
Xu Si Yu
753f74cb99 feat(openthread): add sleep debug message 2023-07-31 17:01:37 +08:00
Geng Yuchao
bcdf8964d6 fix(ble): Fix compile issue when disable duplicate config option in kconfig. 2023-07-31 14:53:48 +08:00
luomanruo
1636061b81 c2 h2 c6 headfile re-organized
c2 c6 h2 cfg_t and addr_t documented

comments for controller_enable
2023-07-31 12:39:43 +08:00
Linda
3c1e129ac3 fix(adc_continuous.h): Fix Doxygen syntax error 2023-07-31 12:11:00 +08:00
Dai Zi Yan
8b9610b94f Merge branch 'docs/udpate_memory-types' into 'master'
Docs/udpate memory types

Closes DOC-5388 and DOC-5157

See merge request espressif/esp-idf!24392
2023-07-31 10:45:12 +08:00
morris
1ef1d9354b Merge branch 'bugfix/remove__warning_for_rc_fast_calibration_h2' into 'master'
remove(clk): remove warning log if RC_FAST clock calibration is needed on esp32h2

Closes IDF-7917

See merge request espressif/esp-idf!25015
2023-07-31 10:43:20 +08:00
chenjianhua
7083222a2f fix(bt/bluedroid): Fix address check when using NRPA as random device address 2023-07-30 19:53:16 +08:00
Harshit Malpani
778bdbd99f
feat: Update cJSON version to v1.7.16
Changelog: https://github.com/DaveGamble/cJSON/releases/tag/v1.7.16
2023-07-28 16:45:00 +05:30
Shyamal Khachane
d64a3d7755 fix(esp_wifi): Drop Eapol msg if EAP success is not processed 2023-07-28 15:00:03 +05:30
Mahavir Jain
224a308fd5
ci(test): add SHA DMA mode test for large data in PSRAM
Covers a test scenario described in following issue:
https://github.com/espressif/esp-idf/issues/11915
2023-07-28 14:23:02 +05:30
Alexey Lapshin
5f07ed87f6 Merge branch 'fix/esp32c2-gdbstub-runtime' into 'master'
fix(freertos): enable esp32c2 runtime-gdbstub

See merge request espressif/esp-idf!24858
2023-07-28 15:41:07 +08:00
morris
d1055758e4 Merge branch 'feature/gptimer_support_p4' into 'master'
Feature/gptimer support p4

Closes IDF-6515

See merge request espressif/esp-idf!24746
2023-07-28 15:17:45 +08:00
Omar Chebib
c98d1f1619 feat(bootloader): add the possibility to ignore extra components 2023-07-28 15:04:21 +08:00
Michael (XIAO Xufeng)
2253d3fe83 Merge branch 'test/s3_emmc_powerdown' into 'master'
sdmmc: support power down card on S3 emmc board

See merge request espressif/esp-idf!24871
2023-07-28 15:02:07 +08:00
Zim Kalinowski
456d288a2e Merge branch 'bugfix/remove-unnecessary-define' into 'master'
fix(bt): Removed unnecessary define

See merge request espressif/esp-idf!24918
2023-07-28 14:12:58 +08:00
Li Shuai
6ba55e1b78 fix(wifi/phy): fix the issue of vTaskStepTick assert failed caused by wifi baseband retention linked list 2023-07-28 13:46:30 +08:00
Mahavir Jain
89c7608f05 Merge branch 'update/mbedtls_mpi_assert' into 'master'
fix(mbedtls): Update redundant assert for H/W MPI operations

See merge request espressif/esp-idf!24922
2023-07-28 13:16:02 +08:00
Bogdan Kolendovskyy
c5ec77d9ca Merge branch 'bugfix/eth_netif_speed_after_connected' into 'master'
esp_eth/eth_netif_glue: Move reporting speed from action start to action connected.

Closes IDF-5545

See merge request espressif/esp-idf!24434
2023-07-28 00:02:43 +08:00
chenjianxing
0672067e6c fix(esp_phy): WIFI RX multipath optimization.
fix(esp_phy): BLE TX sideband optimization for C3/S3.
2023-07-27 20:55:37 +08:00
morris
5aaba6c877 Merge branch 'feature/update_etm_source_on_p4' into 'master'
feat(etm): update etm source on p4

See merge request espressif/esp-idf!25021
2023-07-27 19:23:55 +08:00
Bogdan Kolendovskyy
a28d87e72a fix(eth_netif_glue): Move reporting speed to action connected
esp_eth_netif_glue.c:
Moved reporting link speed to action connected, removed speed reportg code from action start.
2023-07-27 13:15:42 +02:00
daiziyan
1037135761 docs: provided translation for storage.rst and system.rst and updated a typo for memory-types.rst 2023-07-27 16:24:29 +08:00
Laukik Hase
521dd35f2f
fix(mbedtls): Updated redundant assert for H/W MPI operations 2023-07-27 11:40:23 +05:30
Lou Tianhao
34b269fb03 remove(pm/deep_sleep): enable CI test for esp32h2 deepsleep 2023-07-27 12:11:35 +08:00
laokaiyao
8d993931b5 feat(etm): update etm source on p4 2023-07-27 11:30:31 +08:00
morris
22cfbf30c3 Merge branch 'bugfix/fix_c6_wrong_pwdet_register' into 'master'
pwdet: fix pwdet wrong base address on c6 h2

Closes WIFI-6168

See merge request espressif/esp-idf!25001
2023-07-27 11:10:46 +08:00
Roland Dobai
240deaaabe Merge branch 'tools/added_chip_rev_field_into_coredump_header' into 'master'
coredump: added the chip_rev field into the coredump header

See merge request espressif/esp-idf!21315
2023-07-26 21:03:18 +08:00
Song Ruo Jing
8b574fb87f remove(clk): remove warning log if RC_FAST clock calibration is needed on esp32h2 2023-07-26 20:29:58 +08:00
morris
9cd16a8f95 feat(gptimer): driver support on esp32p4 2023-07-26 19:27:49 +08:00
Jiang Jiang Jian
ad99c16200 Merge branch 'bugfix/fix_rx_error_for_softap_add_espnow' into 'master'
fix(wifi): fix the RX error when softAP/station and ESP-NOW both encrypted

Closes WIFI-4116

See merge request espressif/esp-idf!24996
2023-07-26 18:39:02 +08:00
Luo Man Ruo
aa6a8b79c9 Merge branch 'feature/controller_log' into 'master'
ble: bugfix for esp32c6 and esp32h2

See merge request espressif/esp-idf!24951
2023-07-26 18:07:20 +08:00
Mahavir Jain
735c0c325b
fix(sha): DMA mode iteration calculation issue for certain data lengths
SHA hardware DMA mode calculation had off-by-one error for specific
input lengths. This was causing last chunk of the input data not being
fed to the hardware accelerator and hence resulting in an incorrect
final result.

Closes: https://github.com/espressif/esp-idf/issues/11915
2023-07-26 15:31:12 +05:30
Zhang Hai Peng
5d9821829a Merge branch 'doc/organize_header_files_for_esp32c3_esp32s3' into 'master'
docs(bt): Support organizing header files for esp32c3 and esp32s3

See merge request espressif/esp-idf!24874
2023-07-26 16:20:42 +08:00
Xiao Xufeng
df7e887d18 test(sdmmc): support power down card on S3 emmc board 2023-07-26 15:44:45 +08:00
Armando
dd71c7fe17 fix(pwdet): fix pwdet wrong base address on c6 h2 2023-07-26 14:39:34 +08:00
Aditya Patwardhan
6d3db47187 Merge branch 'fix/wifi_prov_mgr_retry_auth_expire' into 'master'
fix (wifi_prov): Retry provisioning on `WIFI_AUTH_EXPIRE` event

Closes IDFGH-10503 and IDFGH-9793

See merge request espressif/esp-idf!24548
2023-07-26 12:25:33 +08:00
Wang Meng Yang
27ad736356 Merge branch 'test/bqb_test_btdm_sync_20230711' into 'master'
feat(bt/bqb): Add BQB enabling and rfcomm msc command sending support

See merge request espressif/esp-idf!24782
2023-07-26 10:54:15 +08:00
Aleksei Apaseev
ba51b09cb2 coredump: added the chip_rev field into the coredump header 2023-07-26 10:53:28 +08:00
Jiang Jiang Jian
8ef5a0f723 Merge branch 'bugfix/ccmp_decrypt_log' into 'master'
esp_wifi: Move ccmp mgmt enc/decrypt logs to verbose

See merge request espressif/esp-idf!24331
2023-07-26 10:37:06 +08:00
Zhang Hai Peng
2c3454ea8b Merge branch 'bugfix/set_addr_resolution_enable_while_advertising' into 'master'
Bugfix/Fix bug with address resolution enabling during non-connected activities

See merge request espressif/esp-idf!24923
2023-07-26 10:36:41 +08:00
Zhang Hai Peng
47ae2c2c3a Merge branch 'bugfix/support_periodic_adv_len_0' into 'master'
fix(bt): Fix ble periodic advertising data length 0 error

See merge request espressif/esp-idf!24853
2023-07-26 10:34:37 +08:00
zhangyanjiao
a33a78f73f fix(wifi): fix the RX error when softAP and ESP-NOW both encrypted 2023-07-26 10:32:01 +08:00
Jiang Jiang Jian
f7ef577f4c Merge branch 'bugfix/fix_dhcp_server_address_pool_issue' into 'master'
fix(dhcp server): Fix dhcp server address pool issue

Closes IDF-7316

See merge request espressif/esp-idf!24818
2023-07-26 10:14:12 +08:00
zhanghaipeng
9a9ce20e41 fix(bt): Fix bug with address resolution enabling during non-connected activities 2023-07-25 21:53:04 +08:00
xueyunfei
15be9a0c3a fix(dhcp server): Fix dhcp server address pool issue 2023-07-25 20:48:19 +08:00
Wan Lei
f5e26a595d Merge branch 'bugfix/spi_bus_unify_defualt_mosi_level' into 'master'
spi: unify default mosi level on all targets

Closes IDF-7683

See merge request espressif/esp-idf!24591
2023-07-25 20:06:09 +08:00
jgujarathi
c610594abb fix(rrm) : Fix crash in RRM neighbour report requests.
Fix crash in sending new RRM neighbour report requests by removing
the call to neighbour report request timeout callback in case of
already ongoing neighbour report request timer.
2023-07-25 16:38:59 +05:30
morris
ed36b91517 Merge branch 'feature/mcpwm_trigger_driver' into 'master'
feature(MCPWM): Add MCPWM trigger driver

Closes IDF-3613

See merge request espressif/esp-idf!24829
2023-07-25 18:50:57 +08:00
Armando (Dou Yiwen)
6bc9a39010 Merge branch 'feature/add_esp32p4_esp_system_support' into 'master'
system: added p4 base support for system related parts

See merge request espressif/esp-idf!24850
2023-07-25 16:50:40 +08:00
Erhan Kurubas
8e69e0a468 Merge branch 'bugfix/coredump_build_error' into 'master'
fix(coredump): fix build error

Closes IDFGH-10200

See merge request espressif/esp-idf!24959
2023-07-25 15:56:16 +08:00
morris
facb9a02d3 Merge branch 'bugfix/fix_gdma_build_failure_on_p4' into 'master'
fix(gdma): fixed compilation failure of gdma

See merge request espressif/esp-idf!24964
2023-07-25 15:10:40 +08:00
Chen Jichang
5ab755915b feature(MCPWM): Add MCPWM trigger driver and test
Each MCPWM operator has two Trigger (named T0 and T1), and they can be
routed to GPIO fault signal or timer sync event.Generator can be set up
to perform different action on Trigger event.
This commit add a trigger driver and a test for the driver.
2023-07-25 14:44:41 +08:00
luomanruo
c291b02651 esp_rom_printf 2023-07-25 14:40:39 +08:00
luomanruo
3ece525e26 ble update for doc: bugfix for esp32c6 and esp32h2 2023-07-25 14:40:39 +08:00
luomanruo
2a2251487b ble update: bugfix for esp32c6 and esp32h2 2023-07-25 14:40:39 +08:00
wanglai@espressif.com
c9d77f7028 fix(bt/bqb): Modify BQB related configurations 2023-07-25 14:17:28 +08:00
Armando
e8bbb490ec feat(cache): added cache init configurations on p4 2023-07-25 05:59:10 +00:00
Armando
756c36504a feat(tcm): added tcm basic support on esp32p4 2023-07-25 05:59:10 +00:00
Armando
a336b94527 feat(esp_system): base support on p4 2023-07-25 05:59:10 +00:00
Armando
fd096c012d change(vector.S): port hw stack guard change to p4 2023-07-25 05:59:10 +00:00
Armando
ecf1461f1c feat(panic): base support on p4 2023-07-25 05:59:10 +00:00
Armando
5986e63c47 change(riscv): added fence after CLIC_INT_THRESH_REG is set 2023-07-25 05:59:10 +00:00
Armando
48ee1ba36e feat(freertos): base support on p4 2023-07-25 05:59:10 +00:00
Armando
e11b154c99 feat(interrupt): mtvt, mtvec base support on p4 2023-07-25 05:59:10 +00:00
Armando
c156e56684 feat(spinlock): added spinlock base support on p4 2023-07-25 05:59:10 +00:00
Armando
019e68bb15 feat(interrupt): added clic support on p4 2023-07-25 05:59:10 +00:00
Armando
c76de79f4c feat(cpu): added cpu utils base support on p4 2023-07-25 05:59:10 +00:00
Armando
bc182ef010 feat(brc_predictor): p4 base support for branch predictor 2023-07-25 05:59:10 +00:00
Armando
211c3c0e05 feat(esp_timer): added esp_timer p4 base support 2023-07-25 05:59:10 +00:00
morris
6d46cf739c feat(gdma): test non-cacheable DMA descriptor
To avoid different DMA descriptors reside in the same cache line,
we want the CPU to access the DMA descriptor in a non-cachable way
2023-07-25 10:59:07 +08:00
morris
3b7da7eae5 feat(gdma): gdma descriptor alignment 2023-07-25 10:43:17 +08:00
laokaiyao
274e1c0089 fix(gdma): fixed compilation failure of gdma 2023-07-24 19:36:31 +08:00
wanlei
8f5851d064 fix(all): unify default mosi level to low on all targets 2023-07-24 15:45:21 +08:00
Lou Tian Hao
57c6c0a1a3 Merge branch 'bringup/esp32h2_deep_sleep_for_rebase' into 'master'
esp32h2: support deep_sleep

Closes IDF-6268, IDF-6572, and IDF-7406

See merge request espressif/esp-idf!24438
2023-07-24 10:47:51 +08:00
Darian
2032c9029f Merge branch 'bugfix/freertos_1051_remove_croutine' into 'master'
FreeRTOS: Remove croutine.h from v10.5.1

See merge request espressif/esp-idf!24911
2023-07-24 10:35:20 +08:00
zhanghaipeng
f4b10bd304 docs(bt): Organize header files for esp32c3 and esp32s3 2023-07-23 11:42:03 +08:00
Erhan Kurubas
912f5afefa fix(coredump): Fix strncpy error in core_dump_elf.c
core_dump_elf.c:504:5: error: 'strncpy' specified bound 66 equals
destination size [-Werror=stringop-truncation]
2023-07-22 02:22:58 +02:00
David Čermák
70951831c0 Merge branch 'bugfix/netif_default_sta_init' into 'master'
wifi: Fix default wifi-netif creation to assert if no event loop

Closes IDFGH-10321

See merge request espressif/esp-idf!24361
2023-07-21 21:56:37 +08:00
Lou Tianhao
0d30bbe855 change(pm/deepsleep): rewrite the option all low as any low for esp32s2, esp32s3, esp32c6 and esp32h2 2023-07-21 20:44:15 +08:00
Lou Tianhao
44cd96b543 change(pm/deepsleep): remove disable rtcio before hold it when ext1 wakeup 2023-07-21 20:44:09 +08:00
sonika.rathi
c9b2b03d3d feat(example/storage/littlefs): add LittleFS demo example 2023-07-21 11:08:01 +02:00
C.S.M
7927ec44f1 Merge branch 'bugfix/gd25lq255e_unlock' into 'master'
spi_flash: fix gd25lq255e unlock mistake

See merge request espressif/esp-idf!24859
2023-07-21 15:29:45 +08:00
Jiang Jiang Jian
c720d0167a Merge branch 'bugfix/mem_leak_assoc_deinit' into 'master'
fix(wifi): Fix memory leak caused by assoc IE and retry timer

See merge request espressif/esp-idf!24895
2023-07-21 15:12:11 +08:00
Island
a313fcb34d Merge branch 'feature/ble_mesh_example_support_duplicate_scan' into 'master'
ble_mesh: stack: Supporting duplicate scan on esp32c6 and esp32h2

See merge request espressif/esp-idf!24683
2023-07-21 15:07:20 +08:00
Kevin (Lao Kaiyao)
7219e50579 Merge branch 'feature/gdma_support_err_eof_callback' into 'master'
feat(gdma): supported rx err_eof interrupt

See merge request espressif/esp-idf!24557
2023-07-21 14:41:46 +08:00
KonstantinKondrashov
28aec9594a fix(app_update): Fix CI test_switch_ota by increasing deepsleep
It increases the deepsleep time from 2000 to 20000.
2000 is too small for esp32-s3 chip.
2023-07-21 13:58:20 +08:00
Xu Si Yu
42e18dde97 Merge branch 'feature/enable_ot_border_agent_id' into 'master'
feat(openthread): enable openthread border agent id support

See merge request espressif/esp-idf!24872
2023-07-21 12:22:40 +08:00
Jiang Jiang Jian
9a1cc59338 Merge branch 'bugfix/cache_writeback_bug' into 'master'
esp_rom: patch Cache_WriteBack_Addr,  avoid accessing cachelines that are being writebacked

Closes AUD-4678

See merge request espressif/esp-idf!24663
2023-07-21 10:42:41 +08:00
wangjialiang
def6442044 feat(ble_mesh: stack: esp32c6/h2): update Kconfig file to support duplicate scan. 2023-07-21 02:02:21 +00:00
Song Ruo Jing
4b9f601ac3 Merge branch 'feature/esp32p4_clock_prework_support' into 'master'
feat(clk): Add support to get xtaL freq for ESP32P4

See merge request espressif/esp-idf!24927
2023-07-21 00:12:18 +08:00
Xu Si Yu
fa8971d76d feat(openthread): enable openthread border agent id support 2023-07-20 20:31:05 +08:00
Ivan Grokhotkov
e6c3f62281 Merge branch 'feature/esp_intr_dump' into 'master'
system: add esp_intr_dump API to debug interrupt allocation

Closes IDF-4281 and IDF-6066

See merge request espressif/esp-idf!23877
2023-07-20 19:53:58 +08:00
Song Ruo Jing
b8a8713f96 feat(clk): Add support to get xtaL freq for ESP32P4 2023-07-20 18:13:13 +08:00
Zim Kalinowski
2b11025981 fix(bt): Removed unnecessary define 2023-07-20 14:35:33 +08:00
laokaiyao
3c2233d48b feat(gdma): supported rx err_eof interrupt 2023-07-20 14:19:39 +08:00
Shreyas Sheth
691eed15cc fix(wifi): Fix memory leak caused by assoc IE and retry timer 2023-07-20 10:13:25 +05:30
morris
d2589a504c Merge branch 'feature/gdma_support_p4' into 'master'
GDMA: channel allocator for AHB-DMA and AXI-DMA (ESP32-P4)

Closes IDF-6504

See merge request espressif/esp-idf!24815
2023-07-20 12:29:11 +08:00
Armando
ae6d9e2b93 fix(cache): added alignment check for M2C direction 2023-07-20 12:20:42 +08:00
Rahul Tank
c68b5b0b39 Merge branch 'bugfix/handle_conn_type_and_array_reset' into 'master'
fix(nimble): Update connection type in reattempt connection code

Closes BLEQABR23-354

See merge request espressif/esp-idf!24839
2023-07-20 11:44:18 +08:00
Lou Tianhao
e70763f9a4 feat(pm/deepsleep): Support EXT1 wakeup for esp32h2 deep_sleep 2023-07-20 11:43:57 +08:00
Song Ruo Jing
99c2691467 change(driver/rtcio): Describe RTCIO CAPS with more accurate note 2023-07-20 11:43:57 +08:00
Lou Tianhao
7bd92287c4 change(pm/deepsleep): Update deep_sleep pmu analog parameter for esp32h2 2023-07-20 11:43:57 +08:00
Lou Tianhao
dcacd8cdf8 feat(pm/deepsleep): Support deep_sleep example and deep_sleep_wake_stub example for esp32h2 2023-07-20 11:43:57 +08:00
gaoxiaojie
640d391783 fix(rom_cache): use assembly to implement api cache_writeback_items_freeze
ensure cache freeze -> Writeback enable -> wait done -> cache unfreeze routine
never trigger a window overflow
2023-07-20 10:47:17 +08:00
Armando
eb1831f8d7 fix(cache): no longer use freeze in esp_cache_msync
Writeback and invalidation don't need cache to be frozen first
2023-07-20 10:45:57 +08:00
Jakob Hasse
fd11e1130f Merge branch 'bugfix/included-missing-limits-h-in-time-c' into 'master'
fix(newlib): included limits.h to fix warning

See merge request espressif/esp-idf!24722
2023-07-20 09:37:27 +08:00
Zim Kalinowski
140f78b66d Merge branch 'bugfix/fixed-log-related-warning-in-freertos' into 'master'
fix(freertos): fixed log related warning

See merge request espressif/esp-idf!24725
2023-07-20 07:36:26 +08:00
Zim Kalinowski
4cb8f24805 Merge branch 'bugfix/fixed-log-related-warnings-in-pthread' into 'master'
bugfix(pthread): fixed log related warning

See merge request espressif/esp-idf!24726
2023-07-20 06:26:43 +08:00
Zim Kalinowski
72757bf68b fix(freertos): fixed log related warning 2023-07-20 06:22:36 +08:00
Darian Leung
0a77949477 fix(freertos): Removed croutine.h from v10.5.1
Remove croutine.h as is not supported in ESP-IDF
2023-07-19 23:09:19 +03:00
Ivan Grokhotkov
0ebe2cecfa
feat(system): add an error log and a hint on failed interrupt alloc
When interrupt allocation fails, esp_intr_alloc will now print a
message telling that no free interrupt was found. This message is
then checked in hints.yml, to give a link to the troubleshooting
guide.
2023-07-19 16:47:41 +02:00
Ivan Grokhotkov
621afc48b1
feat(system): add esp_intr_dump function to debug interrupt alloc
esp_intr_dump function can be used to print the list of allocated and
free interrupts. It can be used as a debugging aid when interrupt
allocation fails.
2023-07-19 16:47:40 +02:00
KonstantinKondrashov
95626b9401 fix(bootloader_support): Fix memory leak for unit tests 2023-07-19 21:25:31 +08:00
morris
57879e772d feat(gdma): support channel allocator on esp32p4
There's two GDMA groups on ESP32P4, one is connected to AHB bus,
and another one is connected AXI bus.
We now have two seperate APIs for allocating DMA channels,
depends on the bus type.
2023-07-19 18:18:07 +08:00
Zim Kalinowski
1f3aec2e67 bugfix(pthread): fixed log related warning 2023-07-19 15:51:56 +08:00
Armando
83683d8b12 fix(rom_cache): use esp_rom_caps.h itself 2023-07-19 15:10:35 +08:00
gaoxiaojie
b1436633c5 fix(esp32s3): patch Cache_WriteBack_Addr api
avoid accessing cachelines that are being writebacked
2023-07-19 15:10:35 +08:00
morris
ff4a1bb5cf Merge branch 'bugfix/fix_gpio_driver_calloc' into 'master'
fix(gpio): fix potential crash when processing gpio isr

Closes IDFGH-10644

See merge request espressif/esp-idf!24878
2023-07-19 15:09:02 +08:00
morris
b488cb70e7 Merge branch 'contrib/github_pr_11878' into 'master'
feat(mcpwm): Allow for pull up/down to be configurable on generators (GitHub PR)

Closes IDFGH-10647 and IDFGH-10646

See merge request espressif/esp-idf!24825
2023-07-19 15:01:27 +08:00
Jakob Hasse
52279c0837 Merge branch 'refactor/esp_event_test' into 'master'
ESP Event: improved tests to fail less frequently on QEMU

See merge request espressif/esp-idf!24783
2023-07-19 14:54:23 +08:00
morris
fb7cc00378 Merge branch 'refactor/reorganize_the_interrupt_description_files' into 'master'
refactor(interrupt): Put the interrupts definitions in soc/interrupts.h

Closes IDF-5776

See merge request espressif/esp-idf!24578
2023-07-19 12:05:56 +08:00