Commit Graph

23643 Commits

Author SHA1 Message Date
morris
8863d0930e Merge branch 'bugfix/gdma_legacy_macro_back_again' into 'master'
fix(gdma): reserve the SOC_GDMA_PAIRS_PER_GROUP

Closes IDFGH-11688

See merge request espressif/esp-idf!27981
2023-12-21 14:52:58 +08:00
luoxu
39b1ee4c9a bugfix(ble_mesh): add duplicate scan config for esp32s3 2023-12-21 12:13:13 +08:00
Marius Vikhammer
8fe0f99368 change(system): enabled pthread, ringbuf and event tests 2023-12-21 11:09:42 +08:00
Gao Xu
243e3149f6 Merge branch 'bugfix/fix_adc_reset_issue_on_legacy' into 'master'
fix(adc): fix adc continuous get less results beacuse do not reset apb clk(legacy)

See merge request espressif/esp-idf!27772
2023-12-21 10:59:01 +08:00
zhanghaipeng
b693094ee8 fix(bt/bluedroid): Fix BLE prepare write 2023-12-21 10:53:38 +08:00
Jiang Jiang Jian
6720610c0f Merge branch 'bugfix/fix_ble_recorrect_enable_bug' into 'master'
fix(ble/controller): Fixed BLE recorrect enable bug and fixed BLE bb isr enable by default

Closes WIFIBUG-316

See merge request espressif/esp-idf!28006
2023-12-21 10:51:02 +08:00
morris
eeae70ddf3 fix(dw_gdma): wrong master port setting for destination 2023-12-21 10:41:27 +08:00
Marius Vikhammer
9f1d001849 Merge branch 'feat/cache_error_c6_h2' into 'master'
fix(panic): fixed cache error being reported as illegal instruction

Closes IDF-6398, IDF-5657, IDF-7015, and IDF-6733

See merge request espressif/esp-idf!27430
2023-12-21 10:32:06 +08:00
Marius Vikhammer
4f1570e904 Merge branch 'ci/fix_qemu_intr_tests' into 'master'
ci: fix flakey intr_dump tests in QEMU

Closes IDF-8899

See merge request espressif/esp-idf!27983
2023-12-21 10:25:06 +08:00
Mahavir Jain
d3afab15bd Merge branch 'update/update_certs_bundle' into 'master'
Update esp_crt_bundle certificates

See merge request espressif/esp-idf!27932
2023-12-20 20:36:23 +08:00
Harshit Malpani
ae71e1ddb9
fix(esp_http_server): Add support for custom HTTP status codes
Closes https://github.com/espressif/esp-idf/issues/12399
2023-12-20 16:59:38 +05:30
Guillaume Souchere
0d6b84c939 Merge branch 'fix/heap-trace-hash-map-remove' into 'master'
fix(heap): prevent double traversal of hashmap in map_find_and_remove

Closes IDFGH-11713

See merge request espressif/esp-idf!27985
2023-12-20 18:53:39 +08:00
schottj
7b10d02201
fix(app_update): fixed undeclared variable 'ret' in esp_ota_ops.c 2023-12-20 14:58:06 +05:30
Song Ruo Jing
d7b3bf0b69 Merge branch 'fix/esp32p4_gpio_pins' into 'master'
change(gpio): esp32p4 available pins are GPIO0 ~ GPIO54

Closes IDF-7735

See merge request espressif/esp-idf!28016
2023-12-20 16:39:21 +08:00
Abhik Roy
01797231f9 fix(lwip): Fixed debug format, added ci test config
* Update submodule: git log --oneline 542ba299..f5c43549

Detailed description of the changes:
  - lwip_debug: Fixed string format error in ip6 and napt (espressif/esp-lwip@f5c43549)
  - dns: fix init with only ipv4 enabled (espressif/esp-lwip@5aab73d7)
2023-12-20 18:52:16 +11:00
Shu Chen
d7b9a3b3da Merge branch 'fix/allow_bind_no_index_netif' into 'master'
fix(openthread): allow setting netif_idx of udp pcb to no_index

See merge request espressif/esp-idf!28010
2023-12-20 15:09:50 +08:00
Roshan Bangar
473f2bdd1e fix(nimble): Added periodic_adv_enh soc_caps for c2, h2 2023-12-20 12:20:11 +05:30
Rahul Tank
f4c74d8b74 Merge branch 'feat/add_csa_selection_vsc' into 'master'
feat(nimble): Add VSC support for setting chan select algo

Closes BLERP-342

See merge request espressif/esp-idf!27942
2023-12-20 14:04:20 +08:00
Laukik Hase
c93bce28ed Merge branch 'contrib/github_pr_12570' into 'master'
Add check prov mgr is stopped (GitHub PR)

Closes IDFGH-11433

See merge request espressif/esp-idf!28003
2023-12-20 14:02:06 +08:00
luoxu
63a7db457a feat(ble_mesh): Miscellaneous updates for mesh kconfig, relay related 2023-12-20 12:20:26 +08:00
Song Ruo Jing
f244dc693d Merge branch 'feature/esp32p4_regi2c_support' into 'master'
feat(regi2c): support regi2c for esp32p4

Closes IDF-8825

See merge request espressif/esp-idf!28011
2023-12-20 11:43:36 +08:00
Song Ruo Jing
20f6505aa6 change(gpio): esp32p4 available pins are GPIO0 ~ GPIO54 2023-12-20 11:23:32 +08:00
Marius Vikhammer
1606d60c07 Merge branch 'ci/enable_bootloader_sup_tests' into 'master'
change(bootloader-support): enable tests for P4 and QEMU

Closes QEMU-149 and IDF-8114

See merge request espressif/esp-idf!28018
2023-12-20 10:59:47 +08:00
morris
8ebddc207f Merge branch 'feature/mipi_dsi_hal_driver' into 'master'
feat(dsi): add mipi dsi hal+ll layer driver

See merge request espressif/esp-idf!27555
2023-12-20 10:17:12 +08:00
C.S.M
eb7f6e5725 Merge branch 'fix/ci_flash_counter' into 'master'
fix(spi_flash): Fix spi_flash counter test on CI

See merge request espressif/esp-idf!27965
2023-12-20 09:56:19 +08:00
Marius Vikhammer
5b36225162 change(bootloader): enable tests for P4 and QEMU 2023-12-20 09:27:18 +08:00
Ivan Grokhotkov
c90b6c18c9
fix(linux): define __assert_func for IDF_TARGET=linux on macOS 2023-12-19 23:01:00 +01:00
Ivan Grokhotkov
6f9038809a
fix(esp_netif): move endian.h to linux component, fix macOS build
Co-authored-by: Radek Tandler <radek.tandler@espressif.com>
2023-12-19 23:00:48 +01:00
Guillaume Souchere
eb3507a5a2 fix(heap): prevent double traversal of hashmap in map_find_and_remove
Remove the use of SLIST_REMOVE in map_find_and_remove to prevent the hashmap
list to be traversed twice in the function.

Closes https://github.com/espressif/esp-idf/issues/12820
2023-12-19 18:02:08 +01:00
Ivan Grokhotkov
7b8f69404f
feat(linux): provide getrandom implementation for macOS
This makes getrandom(2) usable when compiling with IDF_TARGET=linux
on a macOS host.
2023-12-19 15:11:32 +01:00
Ivan Grokhotkov
a596ca56a8
fix(mbedtls): fix -Wstrict-prototypes warning when compiling on Linux 2023-12-19 13:29:15 +01:00
Ivan Grokhotkov
8bf23e5372
fix(esp-tls): fix build for IDF_TARGET=linux on macOS 2023-12-19 13:28:59 +01:00
Ivan Grokhotkov
49f289f893
fix(esp_http_server): fix build for IDF_TARGET=linux on macOS 2023-12-19 13:28:59 +01:00
Fu Zhibo
4149148fa2 feat(regi2c): support regi2c for esp32p4 2023-12-19 19:22:51 +08:00
Xu Si Yu
edb0063953 fix(openthread): allow setting netif_idx of udp pcb to no_index 2023-12-19 18:43:51 +08:00
zhiweijian
8dc646a9b3 fix(ble/controller): Fixed BLE recorrect enable bug and fixed BLE bb isr enable by default 2023-12-19 17:27:30 +08:00
monoliths
55acf50c48
feat(wifi_prov): Add API for checking whether the provisioning state machine is idle 2023-12-19 14:09:14 +05:30
Espressif BOT
8f0f7f007c change(mbedtls/crt_bundle): Update esp_crt_bundle certificates 2023-12-19 14:40:56 +08:00
cjin
71901499b9 change(ble): added ble cca en and thresh option 2023-12-19 14:38:44 +08:00
luomanruo
0504b60b7a ble: support for selecting CSA#2 by menuconfig
ble(fix): fixed event receiving on host side without returning event buffer to pool
2023-12-19 14:38:22 +08:00
Guillaume Souchere
b2cc934b94 fix(heap): Fix the use of block owner macro
In heap_caps_get_info, update the use of block owner
macros to use MULTI_HEAP_BLOCK_OWNER_SIZE() instead of
MULTI_HEAP_ADD_BLOCK_OWNER_SIZE(0).
2023-12-19 07:10:37 +01:00
Jiang Jiang Jian
73de93d55e Merge branch 'bugfix/wait_tvsl_after_non_pd_top_lightsleep_for_esp32c6' into 'master'
fix(esp_hw_support/sleep): wait flash ready after non-pd_top lightsleep for esp32c6

Closes IDF-6930

See merge request espressif/esp-idf!27726
2023-12-19 14:01:45 +08:00
luomanruo
573e13c569 ble(update):
Update c2 lib to 7c6c9d53
Update h2 lib to 0ecb36f0
Update c6 lib to 0ecb36f0
2023-12-19 12:25:08 +08:00
morris
44e856703c feat(dsi): add mipi dsi hal+ll layer driver 2023-12-19 11:39:59 +08:00
chenjianhua
bc98ff414f feat(bt/bluedroid): Make the max number of bond device to be configurable 2023-12-19 11:38:01 +08:00
Mahavir Jain
e4aa5667f1 Merge branch 'feat/flash_enc_encrypt_app_image_of_size_image_length' into 'master'
feat(bootloader_support): Encrypt only the app image instead of the whole partition

Closes IDFGH-11439

See merge request espressif/esp-idf!27295
2023-12-19 11:36:56 +08:00
Lou Tian Hao
fedb3d9f9d Merge branch 'change/change_regdma_power_issue_macro' into 'master'
change(pm): change name SOC_PM_RETENTION_HAS_REGDMA_POWER_BUG

Closes PM-45

See merge request espressif/esp-idf!27934
2023-12-19 11:19:51 +08:00
Marius Vikhammer
0e2bd068be feat(console): added config option for console task affinity 2023-12-19 10:35:14 +08:00
Armando (Dou Yiwen)
8c9e29898f Merge branch 'bringup/psram_p4_real_chip' into 'master'
psram: p4 psram 20M on real chip

See merge request espressif/esp-idf!27710
2023-12-18 21:12:08 +08:00
Wu Zheng Hui
8d165aa767 Merge branch 'bugfix/clear_lp_sw_trigger_int_before_sleep' into 'master'
fix(ulp): add api to get lp_cpu wakeup cause and clear wakeup source at startup

Closes IDFGH-11526

See merge request espressif/esp-idf!27747
2023-12-18 20:20:02 +08:00
Rahul Tank
df796b3ed9 feat(nimble): Add VSC support for setting chan select algo 2023-12-18 17:46:52 +05:30
wuzhenghui
5351275c87
change(esp_hw_support/sleep): rename ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY
1. Rename ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY to ESP_SLEEP_WAIT_FLASH_READY_EXTRA_DELAY
2. Set ESP_SLEEP_WAIT_FLASH_READY_EXTRA_DELAY visible for all targets
2023-12-18 19:56:56 +08:00
harshal.patil
42943845e4
feat(bootloader_support): Encrypt only the app image instead of the whole partition
Currently, when flash encryption is enabled, the whole partition gets encrypted.
This can be optimised by encrypting only the app image instead of encrypting the whole partition.

Closes https://github.com/espressif/esp-idf/issues/12576
2023-12-18 17:10:17 +05:30
harshal.patil
cb169cb02f
fix(bootloader_support): Fix image_length calculation when secure boot v1 is enabled
Fixed the value of the image_length field of the image metadata populated by esp_image_verfiy()
to include the size of the signature sector when Secure Boot V1 is enabled.
2023-12-18 17:08:11 +05:30
Xu Si Yu
fdf5783951 Merge branch 'bugfix/154_coex_break_notify' into 'master'
fix(coex): 802.15.4 coex break notification

See merge request espressif/esp-idf!27458
2023-12-18 19:32:39 +08:00
Aditya Patwardhan
21e1a48a62 Merge branch 'bugfix/esp_srp_doc' into 'master'
fix(esp_srp): Use `@file` for file documentation and resolved few doc build warnings

Closes IDF-8737

See merge request espressif/esp-idf!27411
2023-12-18 19:31:05 +08:00
Song Ruo Jing
0e759c6deb Merge branch 'refactor/esp_driver_uart' into 'master'
refactor(uart): make uart driver as component

Closes IDF-8384

See merge request espressif/esp-idf!27333
2023-12-18 19:16:34 +08:00
Cao Sen Miao
e7dd6bbcdf fix(spi_flash): Fix spi_flash counter test on CI 2023-12-18 19:03:30 +08:00
Rahul Tank
84ccc37b92 Merge branch 'feature/hogp_example_support' into 'master'
feat(nimble): Added HID over Gatt Profile Support

Closes BT-3456, BT-3493, and BT-3480

See merge request espressif/esp-idf!25072
2023-12-18 19:01:11 +08:00
C.S.M
f61cc56e1e Merge branch 'feature/introduce_jpeg_hal' into 'master'
feature(jpeg): Introduce JPEG hal layer

See merge request espressif/esp-idf!27900
2023-12-18 18:45:53 +08:00
Darian
459422f75f Merge branch 'refactor/usb_dwc_soc_and_hal' into 'master'
USB Host: Fix and Refactor struct headers

See merge request espressif/esp-idf!27850
2023-12-18 18:12:40 +08:00
morris
b00f5dd340 fix(gdma): reserve the SOC_GDMA_PAIRS_PER_GROUP
Closes https://github.com/espressif/esp-idf/issues/12798
2023-12-18 17:02:10 +08:00
Shu Chen
ff89cf5018 Merge branch 'fix/join_mcast_group_using_null_netif' into 'master'
fix(openthread): add netif check when call udp api for ot

Closes TZ-484

See merge request espressif/esp-idf!27915
2023-12-18 15:56:14 +08:00
Shu Chen
45f95e3317 Merge branch 'bugfix/ieee802154_deinit' into 'master'
fix(ieee802154): fix ieee802154 deinit

See merge request espressif/esp-idf!27502
2023-12-18 15:26:42 +08:00
Armando
8e9d90f603 feature(esp_psram): p4 real chip 20M 2023-12-18 15:18:07 +08:00
Mahavir Jain
56241f00b8 Merge branch 'feat/support_sha_256_in_http_auth' into 'master'
feat(esp_http_client): SHA256 support in digest auth

Closes IDFGH-11217

See merge request espressif/esp-idf!26585
2023-12-18 15:08:40 +08:00
Cao Sen Miao
40e882afae feature(jpeg): Introduce JPEG hal layer 2023-12-18 12:03:17 +08:00
Jiang Jiang Jian
31ede5b09d Merge branch 'bugfix/update_phylib_to_20231212' into 'master'
fix(phy): Fix Bluetooth coexist bug on ESP32

Closes BT-3487 and BT-3538

See merge request espressif/esp-idf!27905
2023-12-18 11:35:08 +08:00
wuzhenghui
a967a207c9
feat(ulp): add api to get lp_cpu wakeup cause and clear wakeup source at startup
Closes https://github.com/espressif/esp-idf/issues/12651
2023-12-18 11:29:53 +08:00
linruihao
fa3474496d fix(bt/controller): Fixed establish two sco connections failed 2023-12-18 11:26:06 +08:00
Shu Chen
b5160123b8 Merge branch 'feature/add_154_report' into 'master'
feat(ieee802154): add tx/rx report for IEEE802.15.4 debug

Closes ZB-105

See merge request espressif/esp-idf!26424
2023-12-18 10:43:15 +08:00
Adam Múdry
c0ea99220a Merge branch 'fix/move_nvs_partition_generator_to_pypi_package' into 'master'
fix(tools): replace nvs_partition_gen.py with new esp-idf-nvs-partition-gen package

Closes IDF-8147 and IDF-1958

See merge request espressif/esp-idf!26758
2023-12-18 09:13:38 +08:00
Darian Leung
d00aaf8648 refactor(soc/host): Update USB OTG struct fields
This commit updates the "*_struct.h" files for the USB OTG peripheral:

- Added/removed some missing/non-existing register fields
- Added "reserved" place holders for registers that are missing due to IP
configuration.
- Added "usb_dwc_cfg.h" listing the USB OTG IP configuration for each target.
- Updated LL/HAL according to register field updates. Also tidied up the include
directives in those headers.
2023-12-17 00:36:10 +08:00
Darian Leung
14d81fda18 refactor(hal/usb): Fix USB OTG compilation dependency
Update "hal/CMakeLists.txt" so that USB OTG related HAL files depend on
the "SOC_USB_OTG_SUPPORTED" capability.
2023-12-17 00:36:10 +08:00
Roshan Bangar
96ed1ae7a7 feat(nimble): added HID over Gatt profile support 2023-12-16 17:42:49 +05:30
Rahul Tank
204c194ce2 Merge branch 'bugfix/handle_all_zero_bdaddr' into 'master'
fix(nimble): Handle all 0s address of external controllers during IRK generation

See merge request espressif/esp-idf!27913
2023-12-16 19:55:25 +08:00
Sonika Rathi
12e7e3f1a2 Merge branch 'update/sdmmc_test_app' into 'master'
fix(sdmmc): Migrate erase/trim test cases from unit-test-app to component-test-app

See merge request espressif/esp-idf!26799
2023-12-15 23:50:08 +08:00
Jin Cheng
a3f68aef8a feat(bt/bluedroid): Added API to get local device name 2023-12-15 19:30:12 +08:00
morris
0bc94b3210 Merge branch 'refactor/async_mcp_non_cacheable_descriptor' into 'master'
feat(async_mcp): access DMA descriptor bypass cache

See merge request espressif/esp-idf!27809
2023-12-15 18:30:54 +08:00
Abhik Roy
0c41c4e1da change(lwip): Added macro to configure TCP accept mailbox size 2023-12-15 21:11:44 +11:00
Paul Guyot
336c0946fa Add missing configuration for DEFAULT_ACCEPTMBOX_SIZE (fix #12509)
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2023-12-15 21:04:26 +11:00
Song Ruo Jing
bc09031496 refactor(uart_vfs): Move uart implementation of vfs to esp_driver_uart
Deprecated esp_vfs_dev_uart_xxx APIs
vfs_uart test case moved to esp_driver_uart test_apps
Astyle fixed for uart_vfs
2023-12-15 17:14:55 +08:00
Jakob Hasse
b4865acd90 Merge branch 'refactor/move_shared_stack_test_to_esp_system' into 'master'
refactor(esp_system): moved shared stack tests from newlib to esp_system

See merge request espressif/esp-idf!27790
2023-12-15 17:06:27 +08:00
Song Ruo Jing
ef281dff5a fix(esp_driver_uart): always use heap_caps_malloc to malloc memory base on flags 2023-12-15 17:03:58 +08:00
Song Ruo Jing
6ad80f0332 refactor(uart): make uart driver as component, and fix astyle 2023-12-15 17:03:51 +08:00
Aditya Patwardhan
62a0b52a91 Merge branch 'feat/add_ble_support_in_local_ctrl_example' into 'master'
feat(examples): Add BLE support in the esp_local_ctrl example

Closes IDFGH-1491

See merge request espressif/esp-idf!27432
2023-12-15 16:32:37 +08:00
zwx
d4d860742d fix(openthread): fix openthread SPI tx timeout issue 2023-12-15 16:32:26 +08:00
Darian
dbb687b9e9 Merge branch 'refactor/usb_enable_formatting' into 'master'
USB Host: Enable pre-commit astyle formatting

See merge request espressif/esp-idf!27917
2023-12-15 16:24:21 +08:00
Lou Tianhao
d8b1f7207a change(pm): change macro SOC_PM_RETENTION_HAS_REGDMA_POWER_BUG 2023-12-15 15:04:06 +08:00
jgujarathi
40adf0bfcd fix(esp_wifi): Correct wifi lib docs for esp_wifi_crypto_types.h
- Wifi lib changes for docs of some APIs in esp_wifi_crypto_types.h
2023-12-15 12:28:18 +05:30
Wan Lei
936cab8e1c Merge branch 'fix/i2s_multi_dev_test_fix' into 'master'
fix(i2s): multi_dev test update to use non_boot_ctrl gpio

See merge request espressif/esp-idf!27873
2023-12-15 14:58:18 +08:00
Vikram Dattu
3d40b17576 fix(docs): fixed doxygen warnings in few headers
- non-matching arguments in `i2c_types.h` and `esp_wifi_crypto_types.h`
 - Fixed unended `@cond` macro in `esp_err.h`
2023-12-15 12:28:18 +05:30
Vikram Dattu
ec1057a05a fix(esp_srp): Use @file for file documentation and missing doc
Using @brief for file description wrongly associates the documentation to an API.
Correct way to add file description is to use `@file` and then `@brief`. Corrected the same.

- Also added missing doc for esp_srp_handle_t
2023-12-15 12:28:17 +05:30
Rahul Tank
3c6144046b fix(nimble): Handle all 0s address of external controllers during IRK generation 2023-12-15 11:39:41 +05:30
Harshit Malpani
803ad150cf
feat(esp_http_client): SHA256 support in digest auth
Added support for using SHA256 algorithm while calculating
digest auth in HTTP client connection

Closes https://github.com/espressif/esp-idf/issues/12383
2023-12-15 11:32:57 +05:30
Rahul Tank
5ec9f498bc Merge branch 'bugfix/add_peer_null_check' into 'master'
fix(nimble): Added NULL peer addr check

Closes BLERP-322

See merge request espressif/esp-idf!27624
2023-12-15 13:44:45 +08:00
harshal.patil
fd637d5be7
feat(examples): Add BLE support in the esp_local_ctrl example 2023-12-15 11:10:26 +05:30
Armando (Dou Yiwen)
30a0d847f3 Merge branch 'feature/esp32p4_base_ldo_support' into 'master'
ldo: new ldo driver on P4

Closes IDF-8808

See merge request espressif/esp-idf!27728
2023-12-15 12:31:17 +08:00
morris
d875d021e1 Merge branch 'feature/gdma_etm_esp32p4' into 'master'
feat(gdma): support ETM sub-driver on esp32p4

See merge request espressif/esp-idf!27719
2023-12-15 12:24:06 +08:00
Zhang Wen Xu
d5cd130469 Merge branch 'fix/spi_slave_thread_debug' into 'master'
fix(spi_slave): correct param check for trans APIs

See merge request espressif/esp-idf!27407
2023-12-15 12:08:54 +08:00
Jiang Jiang Jian
34ee34707b Merge branch 'bugfix/fix_beacon_eb_memory_leak_issue' into 'master'
fix(wifi): fix beacon eb memory leak issue

Closes WIFIBUG-322 and WIFIBUG-323

See merge request espressif/esp-idf!27923
2023-12-15 12:04:55 +08:00
Jiang Jiang Jian
6b02d3baaf Merge branch 'bugfix/When_psram_is_enable_the_number_of_ooseq_is_not_limited' into 'master'
optimize(lwip):when psram is enable the number of ooseq is not limited

See merge request espressif/esp-idf!27886
2023-12-15 11:59:41 +08:00
gongyantao
d5e5cd0237 fix(bt/bluedroid): fixed btc_config_lock error 2023-12-15 11:03:29 +08:00
C.S.M
3140fa2121 Merge branch 'bugfix/flash_enc_write_ram' into 'master'
fix(spi_flash): Fix that internal RAM has no enough space to put all stuff inside

See merge request espressif/esp-idf!27434
2023-12-15 10:56:16 +08:00
C.S.M
77c49cf3e2 Merge branch 'refactor/esp_driver_i2c' into 'master'
refactor(i2c): Make i2c  driver as a seperate component

See merge request espressif/esp-idf!27860
2023-12-15 10:48:33 +08:00
Darian Leung
d7b83bfd3b refactor(usb/host): reformat code with astyle_py 2023-12-15 04:44:02 +08:00
wanlei
25c17da4bb fix(spi_slave): correct param check for trans APIs 2023-12-14 12:57:02 +00:00
Xue yun fei
8da974aef4 optimize(lwip):when psram is enable the number of ooseq is not limited 2023-12-14 12:39:44 +00:00
Harshit Malpani
3e22e0b750 Merge branch 'contrib/github_pr_12796' into 'master'
fix(esp_http_client): correct the typo in the error log string (GitHub PR)

Closes IDFGH-11686

See merge request espressif/esp-idf!27904
2023-12-14 20:14:21 +08:00
Martin Vychodil
a6ad55823b Merge branch 'docs/update_esp_vfs_notes' into 'master'
docs(vfs): update esp_vfs_register_fd api description

See merge request espressif/esp-idf!27265
2023-12-14 19:54:59 +08:00
Mahavir Jain
8ef201be80 Merge branch 'bugfix/fix_partition_table_gen' into 'master'
fix(partition_table): Check partition size for type APP

See merge request espressif/esp-idf!26755
2023-12-14 18:41:52 +08:00
Harshit Malpani
760e92946c Merge branch 'contrib/github_pr_12500' into 'master'
change(components/esp_http_server): add task_caps configuration (GitHub PR)

Closes IDFGH-11351

See merge request espressif/esp-idf!27621
2023-12-14 18:30:41 +08:00
muhaidong
c5ea7510bc fix(wifi): fix beacon eb memory leak issue 2023-12-14 17:57:51 +08:00
Jiang Jiang Jian
0340043e59 Merge branch 'bugfix/fix_memory_leak_in_c3_s3_controller' into 'master'
Fixed memory leak in ESP32C3 and ESP32S3 controller

Closes BT-3516

See merge request espressif/esp-idf!27890
2023-12-14 17:52:47 +08:00
Cao Sen Miao
a5a29882ef fix(spi_flash): Fix that internal RAM has no enough space to put all stuff inside 2023-12-14 17:05:59 +08:00
wuzhenghui
7de2728733 fix(esp_hw_support/sleep): wait flash ready after non-pd_top lightsleep for esp32c6 2023-12-14 08:57:06 +00:00
zwx
e1a414a864 fix(openthread): add netif check when call udp api for ot 2023-12-14 16:45:38 +08:00
Cao Sen Miao
aa10770323 refactor(i2c): Make i2c driver as a seperate component 2023-12-14 15:39:35 +08:00
Rahul Tank
d852a5273d fix(nimble): Added NULL peer addr check 2023-12-14 12:50:15 +05:30
linruihao
3d09287738 fix(phy): Fix Bluetooth coexist bug on ESP32 2023-12-14 14:35:06 +08:00
Armando
9143a9dc90 feature(ldo): ldo driver 2023-12-14 12:46:51 +08:00
Xu Si Yu
6cef08c03d feat(ieee802154): add tx/rx report for IEEE802.15.4 debug 2023-12-14 12:29:57 +08:00
Island
45198988b0 Merge branch 'bugfix/fix_ble_gattc_deregister' into 'master'
fix(bt/bluedroid): Fix ble gattc deregister

Closes BLERP-321

See merge request espressif/esp-idf!27622
2023-12-14 12:26:27 +08:00
Wang Meng Yang
7a45809b4f Merge branch 'bugfix/crash_in_btc_hf_init' into 'master'
fix(bt/bluedroid): Added dynamic memory allocation for HFP control blocks

Closes BT-3498, BT-3505, BT-3524, COEXQABR24-4, COEXQABR24-16, COEXQABR24-17, and BTQABR2023-112

See merge request espressif/esp-idf!27211
2023-12-14 12:23:55 +08:00
Xu Si Yu
58992e2bc0 Merge branch 'feature/update_openthread_dc6bf36' into 'master'
feat(openthread): modification of uart and spi spinel based on openthread 41ef807

See merge request espressif/esp-idf!27390
2023-12-14 12:10:40 +08:00
zwx
48f1c2601e feat(ieee802154): rf enable and disable refactor 2023-12-14 10:58:57 +08:00
xiaqilin
04aa61717c fix(ieee802154): fix ieee802154 mac deinit and config ieee802154_enable 2023-12-14 10:47:56 +08:00
Jiang Jiang Jian
80c2bd3d7c Merge branch 'bugfix/put_extra_link_retention_in_iram' into 'master'
fix(pm): place extra link opt in iram

Closes PM-30

See merge request espressif/esp-idf!27625
2023-12-14 10:28:34 +08:00
Shinichi Tanaka
c5cb67d49c
fix(esp_http_client): correct the typo in the error log string
Corrected the module name in the error log.
("https_ota" to "http_client")
2023-12-14 09:21:24 +09:00
Kapil Gupta
36c38943c8 fix(wifi): Add support to move supplicant BSS to external memory 2023-12-13 16:07:13 +00:00
linruihao
b0bd1f38f8 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(9129dec) 2023-12-13 19:26:49 +08:00
Tomas Rezucha
f8080b2457 Merge branch 'fix/usb_binterval_parsing' into 'master'
fix(usb/host): Correctly parse wMaxPacketSize and bInterval fields in HighSpeed EP descriptors

See merge request espressif/esp-idf!27395
2023-12-13 17:28:45 +08:00
Jakob Hasse
1c606941ed Merge branch 'contrib/github_pr_12436' into 'master'
feature(console): add command user context support (GitHub PR)

Closes IDFGH-11280

See merge request espressif/esp-idf!27240
2023-12-13 16:36:54 +08:00
Alon Bar-Lev
af79fe0495
change(components/esp_http_server): add task_caps configuration
The HTTP server is not a critical component, it would be nice if we can
control the task caps by using configuration.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
2023-12-13 12:26:59 +05:30
Mahavir Jain
1b822573b6 Merge branch 'feat/make_verify_signature_block_function_public' into 'master'
feat(bootloader_support): Make `esp_secure_boot_verify_sbv2_signature_block()` function public

Closes IDFGH-11599

See merge request espressif/esp-idf!27742
2023-12-13 11:43:33 +08:00
wanlei
1a51f07a98 fix(i2s): multi_dev test update to use non_boot_ctrl gpio 2023-12-13 11:28:58 +08:00
Jiang Jiang Jian
45c5962b1e Merge branch 'feat/add_channel_change_event' into 'master'
feat(wifi): add wifi channel change event

Closes IDFGH-11400

See merge request espressif/esp-idf!27520
2023-12-13 10:41:54 +08:00
Alon Bar-Lev
bccb2873bd feat(console): add command user context support
Current implementation implicitly forces the developer to use global variables
to enter its context during the command invocation, this change enables each
module to register a context for command to find without the need to manage
global variables.

No API breakage.

Fields added:
   esp_console_cmd_t::func_w_context    - (*)(int argc, char **argv, void *context)

Functions added:
   esp_err_t esp_console_cmd_set_context(const char *cmd, void *context)

Usage:

   esp_console_cmd_register(&cmd));
   esp_console_cmd_set_context(cmd.command, (void *)"context"));

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2023-12-13 10:27:04 +08:00
paul
8596d46774 fix(ulp_adc): Provide ulp_adc_deinit() API to fix ADC1 handle leakage 2023-12-12 23:55:03 +03:00
Tomas Rezucha
e32b7b060c fix(usb/host): Correctly parse bInterval field in HighSpeed EP descriptors
For LS and FS interrupt endpoint: interval = bInterval
For isochronous and HS interrupt endpoint: interval = 2^(bInterval-1)
2023-12-12 21:10:43 +01:00
Tomas Rezucha
c2660ce7c6 fix(usb/host): Correctly parse MPS fields in HighSpeed EP descriptors
Bits [11,12] in HighSpeed periodic endpoints specify
the number of additional transaction opportunities per microframe
2023-12-12 21:10:37 +01:00
Darian
142218c2eb Merge branch 'contrib/github_pr_11575' into 'master'
feat(system): add esp_backtrace_print_all_tasks function (GitHub PR)

Closes IDFGH-10315 and IDFGH-10538

See merge request espressif/esp-idf!24974
2023-12-13 01:07:04 +08:00
Chip Weinberger
3686689a2a feat(esp_system): Add esp_backtrace_print_all_tasks()
This commit adds esp_backtrace_print_all_tasks() which prints the backtraces
of all tasks at runtime.

Closes https://github.com/espressif/esp-idf/issues/9708
CLoses https://github.com/espressif/esp-idf/pull/11575

[Omar Chebib: Prevent task switching while printing backtraces of tasks.]
[Omar Chebib: Ensure all task stacks are flushed from register to RAM.]
[Omar Chebib: Removed esp_task_snapshot_to_backtrace_frame() as task snapshot is private API.]
[Omar Chebib: Added test case for esp_backtrace_print_all_tasks().]

Signed-off-by: Omar Chebib <omar.chebib@espressif.com>
2023-12-12 19:54:17 +08:00
Jin Cheng
e1a5122dbc Merge branch 'fix/build_error_in_compiler_performance_mode' into 'master'
fix(bt/bluedroid): fixed build error when compiler in performace mode

Closes IDFGH-11637

See merge request espressif/esp-idf!27816
2023-12-12 18:56:42 +08:00
C.S.M
980780c2c5 Merge branch 'bugfix/bod_threshold' into 'master'
fix(bod): Fix BOD threshold value on ESP32H2

See merge request espressif/esp-idf!27760
2023-12-12 16:17:42 +08:00
gongyantao
f303fa0174 fix(bt/bluedroid): fixed build error when compiler in performace mode
Closes https://github.com/espressif/esp-idf/issues/12751
2023-12-12 15:00:45 +08:00
morris
02cc74a676 Merge branch 'feature/dwgdma_driver' into 'master'
feat(dw_gdma): channel allocator driver

Closes IDF-7085 and IDF-7498

See merge request espressif/esp-idf!27421
2023-12-12 14:21:57 +08:00
Xu Si Yu
e88dc25226 feat(openthread): modification of uart and spi spinel based on openthread 41ef807 2023-12-12 14:12:16 +08:00
Mahavir Jain
0281aa844b Merge branch 'bugfix/change_block_num_to_burn_keys' into 'master'
fix(hal/testapps): fix block number to burn keys to avoid overlapping

See merge request espressif/esp-idf!25611
2023-12-12 11:49:35 +08:00
morris
bf00021b37 feat(dw_gdma): channel allocator driver 2023-12-12 03:35:05 +00:00
Xu Si Yu
b2a32c5b3f fix(coex): 802.15.4 coex break notification 2023-12-12 11:08:52 +08:00
harshal.patil
fe293dfd83
feat(bootloader_support): Make esp_secure_boot_verify_sbv2_signature_block() function public
Closes https://github.com/espressif/esp-idf/issues/12717
2023-12-11 18:50:55 +05:30
Tomáš Rohlínek
c276c36dfe
feat(storage/nvs_flash): add dependencies to nvs_flash test apps 2023-12-11 13:10:54 +01:00
zhangyanjiao
40d7cd8b68 feat(wifi): add wifi channel change event
Closes https://github.com/espressif/esp-idf/issues/12538
2023-12-11 19:07:11 +08:00
Cao Sen Miao
b77b17efd2 fix(bod): Fix BOD threshold value on ESP32H2 2023-12-11 16:41:52 +08:00
Jakob Hasse
874d10ce11 refactor(esp_system): moved shared stack tests from newlib to here 2023-12-11 14:20:55 +08:00
Marius Vikhammer
79d04d4e14 Merge branch 'docs/update_sys_docs_p4' into 'master'
docs(esp32p4): update misc docs for esp32p4

Closes IDF-7751, IDF-7754, and IDF-7749

See merge request espressif/esp-idf!27713
2023-12-11 14:14:35 +08:00
Harshit Malpani
bbbede07d0
fix(partition_table): Check partition size for type APP
The size of partition of type APP should be multiple of 4 KB. Partition
generation tool now make this as a mandatory requirement. This is
minimum flash erase size. If the size of the APP type partition is not
aligned to 4 KB then the last erase operation could go beyond the allocated
partition and hence may fail. This issue would only be observed when the
firmware size grows very close to the allocated partition size, and hence
causing the OTA update to fail.

For already deployed devices on-field with the size of APP partition not
aligned to flash sector boundary, it is best to ensure that firmware
size always remains within the lower 4 KB boundary of the total
allocated space. While migrating to ESP-IDF 5.3 release, partition table
for an existing project can be adjusted accordingly for the build to
succeed.

Found during discussion in https://github.com/espressif/esp-idf/pull/12460
2023-12-11 10:14:57 +05:30
Aditya Patwardhan
7c738c0658 Merge branch 'fix/esp_https_server_breaking_change' into 'master'
fix(esp_https_server): Fix a breaking change

See merge request espressif/esp-idf!27146
2023-12-11 11:46:29 +08:00
Island
e5b77d7b8a Merge branch 'bugfix/ble_update_lib_20231201' into 'master'
update lib on master

Closes BLERP-302

See merge request espressif/esp-idf!27585
2023-12-11 11:33:42 +08:00
Zhang Xiao Yan
bba48f1e1e Merge branch 'docs/add_cn_trans_for_bootloader_image_format_and_random.rst' into 'master'
docs: Provide Chinese translation for bootloader_image_format, log, random, and internal-unstable.rst

Closes DOC-6419

See merge request espressif/esp-idf!26224
2023-12-11 11:02:31 +08:00
Jiang Jiang Jian
e60bc50ba4 Merge branch 'bugfix/fix_esp32h2_system_retention_restore' into 'master'
fix(esp_hw_support): fix esp32h2 retention link restore override the cpu clk configuration

Closes PM-29

See merge request espressif/esp-idf!27317
2023-12-11 11:01:55 +08:00
Jiang Jiang Jian
291c7a6506 Merge branch 'bugfix/fix_esp32c6eco1_depends_on_wifi_pwr_domain' into 'master'
fix(esp_hw_support): fix ble on esp32c6eco1 depends on wifipwr clock domain

Closes PM-34, BLERP-325, and BLERP-326

See merge request espressif/esp-idf!27412
2023-12-11 10:56:16 +08:00
Aditya Patwardhan
56879510a5
fix(esp_https_server): Fix a breaking change
HTTPD_SSL_CONFIG_DEFAULT used to be a MACRO and hence used to return
    a const pointer. With a recent change it started not returning a
    const variable. This change reverts the function to its MACRO form.
    Updated the https_server example to use static declration
2023-12-11 08:05:10 +05:30
morris
987174c203 feat(async_mcp): access DMA descriptor bypass cache 2023-12-10 15:19:27 +08:00
laokaiyao
e88d528b81 refactor(dac): remove redundant ll config for dac mode
Closes https://github.com/espressif/esp-idf/issues/12741
2023-12-09 20:14:54 +08:00
Kevin (Lao Kaiyao)
e05bf6b223 Merge branch 'feature/support_g0_components_on_c5' into 'master'
feat(esp32c5): support esp32c5 g0 components (stage 4/8)

See merge request espressif/esp-idf!27711
2023-12-09 19:54:43 +08:00
Marius Vikhammer
ac3915f092 docs(esp32p4): update misc docs for esp32p4 2023-12-09 09:09:55 +08:00
Radek Tandler
cb66d6f6fa Merge branch 'feature/storage_nvs_find_key' into 'master'
feat(nvs_flash): Added function nvs_find_key

Closes IDFGH-10963

See merge request espressif/esp-idf!26498
2023-12-09 02:08:11 +08:00
David Čermák
c008a515b3 Merge branch 'fix/esp_netif_test_depends_pattern' into 'master'
fix(esp_netif): Update test-apps dependency patterns

Closes IDF-8393

See merge request espressif/esp-idf!27682
2023-12-09 00:18:49 +08:00
radek.tandler
8740888967 feat(nvs_flash): Added function nvs_find_key
Closes https://github.com/espressif/esp-idf/issues/12155
2023-12-08 17:12:00 +01:00
Radek Tandler
12011d2057 Merge branch 'bugfix/fatfs_fatfsparse_relaxed' into 'master'
bugfix(fatfs): Fixed fatfsparse.py parses FAT boot sector too strictly

See merge request espressif/esp-idf!26888
2023-12-08 23:48:25 +08:00
David Cermak
a1e92d3b34 fix(esp_netif): Update test-apps dependency patterns 2023-12-08 14:03:37 +00:00
Jiang Jiang Jian
64a9cd5c80 Merge branch 'feat/support_dump_ack_csi' into 'master'
feat(wifi): support dump 802.11 ACK frame for CSI

Closes WIFI-5992

See merge request espressif/esp-idf!27735
2023-12-08 19:43:11 +08:00
Jiang Jiang Jian
c9c147f5d5 Merge branch 'bugfix/fix_ble_clear_white_list' into 'master'
Fixed add(remove) RPA to(from) white list on ESP32C3(65db61f)

Closes BLERP-329 and BLERP-330

See merge request espressif/esp-idf!27741
2023-12-08 19:06:55 +08:00
renpeiying
cf03d6341e docs: Provide Chinese translation for bootloader_image_format, log, random, and internal-unstable.rst 2023-12-08 17:01:36 +08:00
laokaiyao
2b44d62e43 feat(esp32c5): support esp32c5 g0 components 2023-12-08 15:12:24 +08:00
gaoxu
dc36237915 fix(adc): fix adc continuous get less results beacuse do not reset apb clk(legacy) 2023-12-08 15:10:41 +08:00
Wu Zheng Hui
8eee6529dd Merge branch 'bugfix/fix_rtc_us_to_cycle_div_zero_in_deepsleep' into 'master'
fix(esp_hw_support/sleep): fix rtc_time_us_to_slowclk div zero in deepsleep process

Closes IDFGH-11574

See merge request espressif/esp-idf!27590
2023-12-08 13:57:01 +08:00
chenjianhua
7c56f21981 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(65db61f)
- Fixed remove and clear white list
2023-12-08 13:37:09 +08:00
morris
5d5f3e7844 Merge branch 'feature/systimer_etm_esp32p4' into 'master'
feat(systimer): remaining work on esp32p4

Closes IDF-8797

See merge request espressif/esp-idf!27745
2023-12-08 11:39:50 +08:00
Igor Udot
f0607f6d3b Merge branch 'fix/unity_tester' into 'master'
refactor: changed logic of unity_tester

See merge request espressif/esp-idf!25767
2023-12-08 09:48:51 +08:00
morris
e96491fb1f feat(systimer): support ETM on esp32p4 2023-12-07 18:46:24 +08:00
Erhan Kurubas
892315292b Merge branch 'save_twdt_to_coredump' into 'master'
feat(coredump): save twdt panic output to coredump elf file

Closes IDF-908

See merge request espressif/esp-idf!27024
2023-12-07 17:47:58 +08:00
nilesh.kale
36ab1c681c fix(hal/testapps): fix block number to burn keys to avoid overlapping 2023-12-07 14:47:26 +05:30
Island
9bdcfa672f Merge branch 'bugfix/fix_ble_adv_scan_status' into 'master'
fix(bt/bluedroid): Fix ble adv and scan status when deinit bluedroid

Closes BLERP-324

See merge request espressif/esp-idf!27636
2023-12-07 16:25:37 +08:00
Island
fecd858fd5 Merge branch 'bugfix/fix_ble_robost_cashing' into 'master'
fix(bt/bluedroid): Fix BLE robost cashing config

See merge request espressif/esp-idf!27665
2023-12-07 16:25:34 +08:00
Jiang Jiang Jian
1cbc44fc28 Merge branch 'bugfix/connect_after_scan' into 'master'
fix(conn): Change second connect delay time to 730ms

See merge request espressif/esp-idf!27031
2023-12-07 15:52:34 +08:00
wuzhenghui
e1d24ebd7f fix(esp_hw_support/sleep): fix rtc_time_us_to_slowclk div zero in deepsleep process
Closes https://github.com/espressif/esp-idf/issues/12695
2023-12-07 07:50:32 +00:00
wuzhenghui
5280ef4924
fix(esp_hw_support): fix ble on esp32c6eco1 depends on wifipwr clock domain 2023-12-07 14:02:04 +08:00
alanmaxwell
571c99bda2 feat(wifi): support dump 802.11 ACK frame for CSI 2023-12-07 11:51:32 +08:00
zhanghaipeng
305bb1a146 fix(bt/bluedroid): Fix ble gattc deregister 2023-12-07 11:21:13 +08:00
Sudeep Mohanty
356b77ce84 Merge branch 'contrib/github_pr_12461' into 'master'
Enables VERSION argument for project() macro in cmake

Closes IDFGH-11310

See merge request espressif/esp-idf!27369
2023-12-06 20:57:17 +08:00
Rahul Tank
6b361bdb05 Merge branch 'bugfix/fix_sm_inject_return_value' into 'master'
fix(nimble): Added change to return success for API execution

Closes BLERP-315

See merge request espressif/esp-idf!27556
2023-12-06 20:48:20 +08:00
Jiang Jiang Jian
3f442497fa Merge branch 'bugfix/fix_disconnected_abnormal_sleep' into 'master'
fix(wifi): fix disconnected abnormal sleep

Closes WIFIBUG-261

See merge request espressif/esp-idf!27469
2023-12-06 20:09:02 +08:00
Wan Lei
63b349aa6f Merge branch 'refactor/spi_common_and_hal_refact_dma_ll' into 'master'
Refactor/replace dma ll in spi hal layer (part1)

See merge request espressif/esp-idf!26130
2023-12-06 18:59:10 +08:00
sonika.rathi
8e0ce2fda4 fix(sdmmc): remove the legacy test cases from 'components/sdmmc/test' 2023-12-06 11:14:20 +01:00
sonika.rathi
a7a0245d8e fix(sdmmc): Migrate erase/trim test cases from unit-test-app to component-test-app 2023-12-06 11:07:33 +01:00
morris
a7577f88bd feat(gdma): support ETM subsystem on esp32p4 2023-12-06 18:02:43 +08:00
Zhang Wen Xu
636092d2a4 Merge branch 'feature/add_config_to_set_using_custom_mac_as_base_mac' into 'master'
feat(mac): Add a configuration to set custom MAC as base MAC

See merge request espressif/esp-idf!26820
2023-12-06 16:29:41 +08:00
Jiang Jiang Jian
a5bd6a57f1 Merge branch 'fix/coexist_reg_esp32c6_set_default_value' into 'master'
fix(esp_coex): fix esp32c6 coex reg reset issue

See merge request espressif/esp-idf!27664
2023-12-06 16:04:58 +08:00
igor.udot
6e258a879d fix: add count for wpa test 2023-12-06 15:58:05 +08:00
igor.udot
e0a40feb5c refactor: changed logic of unity_tester, replaced threads by generators 2023-12-06 15:58:05 +08:00
radek.tandler
a640626b76 fix(fatfs): Fixed fatfsparse.py parsing of FAT boot sector
The fatfsparse.py script was too strict in parsing the FAT boot sector, causing it to fail in
certain cases. This commit fixes the issue by making the parsing less strict and allowing for more
flexibility in the boot sector format.

This change improves the reliability and compatibility of the fatfsparse.py script, ensuring that it
can correctly parse a wider range of FAT boot sectors.

Docs updated
2023-12-06 08:31:50 +01:00
Kevin (Lao Kaiyao)
0704733708 Merge branch 'feature/add_esp32c5_beta3_rom_support' into 'master'
feat(esp32c5): add esp32c5 beta3 esp_rom support (stage 3/8, part 1)

See merge request espressif/esp-idf!27542
2023-12-06 15:31:49 +08:00
luomanruo
ca4f9ccedb ble(fix): Fixed crash issue when reset event queue 2023-12-06 14:13:23 +08:00
wuzhenghui
b6669d76b2
fix(esp_hw_support): fix esp32h2 system link restore override cpu clk configuration 2023-12-06 13:58:51 +08:00
Rahul Tank
d4db3a2f87 fix(nimble): Added change to return success for API execution 2023-12-06 10:20:18 +05:30
Rahul Tank
c256bed7f8 Merge branch 'bugfix/authcomplete_failure' into 'master'
fix(nimble): Fixed authcomplete failure caused by a mismatch in the c1 value

Closes BLERP-303, BLERP-304, and BLERP-319

See merge request espressif/esp-idf!27499
2023-12-06 12:47:48 +08:00
Jiang Jiang Jian
c87d0a27a8 Merge branch 'bugfix/fix_dhcp_server_can_not_restore_address_pool_issue' into 'master'
fix(dhcp server):dhcp server can not restore address pool

See merge request espressif/esp-idf!27666
2023-12-06 11:59:16 +08:00
liuning
f7d005bd34 fix(wifi): fix disconnected abnormal sleep 2023-12-06 11:32:02 +08:00
Island
9040dea13b Merge branch 'bugfix/BLEQABR23-35master' into 'master'
fix(ble_mesh): avoid ble_mesh packet collision by using random adv interval

Closes BLERP-113 and BLERP-112

See merge request espressif/esp-idf!26348
2023-12-06 11:06:38 +08:00
Wu Meng Shi
a93783ae90 fix(ble_mesh): avoid ble_mesh packet collision by using random adv interval 2023-12-06 11:06:38 +08:00
Jiang Jiang Jian
d64217006c Merge branch 'bugfix/IDFGH-11398' into 'master'
bugfix(ble_mesh): Fixed incorrect RPR Client unicast address was obtained(154b4fcc)

Closes IDFGH-11398

See merge request espressif/esp-idf!27564
2023-12-06 10:50:50 +08:00
zwx
a58c416a60 feat(mac): Add a configuration to set custom MAC as base MAC 2023-12-06 10:46:22 +08:00
Laukik Hase
429cb75661 Merge branch 'fix/nvs_encr_flash_enc_dependency' into 'master'
fix(nvs_flash): Remove the forceful selection of NVS_ENCRYPTION with flash encryption

Closes IDFGH-11411

See merge request espressif/esp-idf!27286
2023-12-06 02:08:01 +08:00
laokaiyao
1c9ecfa159 feat(esp32c5): supplement of esp_rom for esp32c5 beta3 target 2023-12-05 22:01:15 +08:00
wanglei
5f2c48acd6 feat(esp32c5): add esp32c5 beta3 esp_rom support 2023-12-05 22:01:15 +08:00
Mahavir Jain
25c2cc5f03 Merge branch 'feature/esp32p4_enable_flash_encryption' into 'master'
Enable Flash Encryption for ESP32P4

Closes IDF-7545

See merge request espressif/esp-idf!26959
2023-12-05 21:42:18 +08:00
Erhan Kurubas
58ee206c99 feat(coredump): save twdt panic output to coredump elf file 2023-12-05 13:28:51 +01:00
xiaqilin
2c2f1bd60d fix(esp_coex): fix esp32c6 coex reg reset issue 2023-12-05 20:16:48 +08:00
Jin Cheng
e78209ad47 fix(bt/bluedroid): Disabled Sniff Subrating temporarily as it did not work well 2023-12-05 20:10:03 +08:00
Jin Cheng
58256d8c4b fix(bt/bluedroid): Changed the default air mode to invalid value 2023-12-05 20:10:03 +08:00
Jin Cheng
dba328d9d5 fix(bt/bluedroid): Removed redundant operation of SCO clean up 2023-12-05 20:10:03 +08:00
Jin Cheng
0f9e8687ee fix(bt/bluedroid): Corrected the definitions of HF Client callback events 2023-12-05 20:10:00 +08:00
Jiang Jiang Jian
608664781d Merge branch 'bugfix/fix_bt_3262' into 'master'
Fixed random address setting when scanning on ESP32(fa43201)

See merge request espressif/esp-idf!27396
2023-12-05 19:47:09 +08:00
Jiang Jiang Jian
6da710df94 Merge branch 'bugfix/fix_psram_enabled_psram_initialized_fail_issue' into 'master'
fix(wifi): fix psram enabled but initialized fail issue

Closes IDFGH-10755

See merge request espressif/esp-idf!27218
2023-12-05 19:12:12 +08:00
kohait00
9beda4ce48 feat(tools/cmake): Added VERSION argument to the project() macro in cmake
This commit enables the standad VERSION argument for the project() macro
in ESP-IDF. The VERSION argument is compilant with the requirements of
cmake 3.16. This commit also adds new test cases for verifying the
validity of the version argument.

Merges https://github.com/espressif/esp-idf/pull/12461

Co-authored-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2023-12-05 11:29:43 +01:00
Darian
105f6dd22c Merge branch 'refactor/soc_caps_multiple_cores' into 'master'
change(docs): Update multicore tags to SOC_CPU_HAS_MULTIPLE_CORES

See merge request espressif/esp-idf!27523
2023-12-05 18:20:21 +08:00
Armando (Dou Yiwen)
96c1aea50a Merge branch 'change/split_fpga_overrides.c' into 'master'
bringup: added bypass rng configuration for bringup stage

See merge request espressif/esp-idf!27657
2023-12-05 16:55:43 +08:00
Darshan Dobariya
c34cba9db1 fix(nimble): Fixed authcomplete failure caused by a mismatch in the c1 value 2023-12-05 14:18:42 +05:30
luomanruo
bf44a9e9c6 ble(fix): clear event queue when init event queue
ble: update log module on ESP32C2, ESP32H2 and ESP32C6
2023-12-05 16:12:09 +08:00
xueyunfei
02c1a1c6af fix(dhcp server):dhcp server can not restore address pool 2023-12-05 15:56:20 +08:00
zhanghaipeng
41facc2e08 fix(bt/bluedroid): Fix BLE robost cashing config 2023-12-05 15:44:15 +08:00
Aditya Patwardhan
a84234c23f
feat(security): Enable Flash encryption for ESP32P4 2023-12-05 13:10:55 +05:30
Darian
e3191df37a Merge branch 'change/deprecate_legacy_xtensa_include_path' into 'master'
change(xtensa): Deprecate legacy include paths

Closes IDF-7230

See merge request espressif/esp-idf!26725
2023-12-05 15:05:29 +08:00
Aditya Patwardhan
e09d50d244
feat(soc): Updated soc cap for flash encryption
1) In the ESP32-P4 SoC, we have an eFuse to disable the MSPI access
    when in download mode. This commit adds relevant soc cap for esp32p4
    chip.
    2) Added FE related soc caps
    3) Removed unwanted cap from soc_caps
    4) esp_hw_support: Enable flash encryption related ll APIs for esp32p4
2023-12-05 11:03:48 +05:30
Island
345013fa46 Merge branch 'bugfix/fix_bleqabr23_808' into 'master'
Fixed assert when LLCP instant passed on ESP32-C3 and ESP32-S3(b8f0db9)

Closes BLERP-298, BLERP-299, BLERP-300, BLERP-301, BLERP-310, BLERP-311, and BLERP-312

See merge request espressif/esp-idf!27477
2023-12-05 11:51:20 +08:00
Armando
2c32bd209a change(fpga): added bypass rng configuration 2023-12-05 11:38:35 +08:00
Jiang Jiang Jian
9f2578a0bd Merge branch 'bugfix/wps_disable_crash' into 'master'
Fix a crash in esp_wifi_wps_disable

Closes WIFIBUG-252 and WIFIBUG-266

See merge request espressif/esp-idf!27233
2023-12-05 11:21:09 +08:00
muhaidong
f37448cddb fix(wifi): fix psram enabled but initialized fail issue
Closes https://github.com/espressif/esp-idf/issues/11971
2023-12-05 11:19:59 +08:00
Darian Leung
5697f260fe change(soc): Add SOC_HP_CPU_HAS_MULTIPLE_CORES
This commit adds a the SOC_HP_CPU_HAS_MULTIPLE_CORES convenience macro to
soc_caps.h. This is a convenience boolean cap to represent whether or not the
target has multiple cores, and is intended to be used when writing docs for
multiple targets.
2023-12-05 10:56:22 +08:00
zhanghaipeng
1eb0522774 fix(bt/bluedroid): Fix ble adv and scan status when deinit bluedroid 2023-12-05 10:38:01 +08:00
Martin Vychodil
b61ea3ba97 Merge branch 'fix/fatfsgen_construct' into 'master'
fix(tools): Fix fatfsgen construct dependency

Closes IDFCI-1891

See merge request espressif/esp-idf!27626
2023-12-05 07:33:47 +08:00
Martin Vychodil
bf5acc88fa Merge branch 'fix/fatfs_sbom' into 'master'
fix(storage/fatfs): add Organization prefix to originator

Closes IDF-8793

See merge request espressif/esp-idf!27597
2023-12-05 01:16:40 +08:00
Armando (Dou Yiwen)
0cdc8b167b Merge branch 'change/use_xmc_support_for_p4_fpga_images' into 'master'
change(flash): use xmc support for p4 fpga images

See merge request espressif/esp-idf!27614
2023-12-05 01:08:21 +08:00
Roland Dobai
035e59bfd8 fix(tools): Fix fatfsgen construct exception type and dependency
construct=2.10.70 fixed an issue
(c3866e9492)
and StringError is raised instead of UnicodeDecodeError.
2023-12-04 16:38:46 +01:00
Rahul Tank
2cd09e8f71 Merge branch 'bugfix/remove_rpa_rec' into 'master'
fix(nimble): Handled the deletion of RPA mapping

Closes BLERP-289 and BLERP-295

See merge request espressif/esp-idf!27305
2023-12-04 19:49:40 +08:00
Island
4869d96220 Merge branch 'bugfix/BLEQA23-811' into 'master'
bugfix(ble_mesh): Enable CONFIG_BT_NIMBLE_VS_SUPPORT when using the duplicate...

See merge request espressif/esp-idf!27323
2023-12-04 19:42:50 +08:00
Harshit Malpani
1e8261eabf Merge branch 'fix/wrong_order_of_includes_in_esp_tls' into 'master'
fix(esp-tls): Fix wrong order of includes in esp_tls.h

Closes IDFGH-11403

See merge request espressif/esp-idf!27302
2023-12-04 19:02:11 +08:00
Laukik Hase
ea51f4e2f7
fix(nvs_flash): Remove the forceful selection of NVS_ENCRYPTION with flash encryption
- This change will introduce a breaking change for SoCs with the HMAC
  peripheral. Turning on flash encryption will no longer enable NVS
  encryption automatically.

Closes https://github.com/espressif/esp-idf/issues/12549
2023-12-04 16:18:01 +05:30
chenjianhua
74f99d2679 fix(bt): Update bt lib for ESP32(fa43201)
- Fixed assert for instant passed workaround
- Fixed scan evt timeout
- Fixed random address setting when scanning
2023-12-04 17:03:38 +08:00
Island
94d7ec7a38 Merge branch 'bugfix/bluedroid_menuconfig' into 'master'
Bugfix/bluedroid menuconfig

Closes BLERP-317

See merge request espressif/esp-idf!27508
2023-12-04 16:30:05 +08:00
wanlei
d0023b061f refactor(spi): replace dma_ll related in spi by dma driver (part1) 2023-12-04 16:20:05 +08:00
Frantisek Hrbata
41afb506d7 fix(storage/fatfs): add Organization prefix to originator
MR espressif/esp-idf!27436 added sbom manifest file for fatfs,
but the originator is missing a prefix required by SPDX specification.
This results in malformed SPDX sbom files.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-12-04 08:16:48 +01:00
Armando
f470f66f75 change(flash): use xmc support for p4 fpga images 2023-12-04 14:52:54 +08:00
cjin
797edb54fa fix(pm): place extra link opt in iram 2023-12-04 14:46:42 +08:00
Darian
c4819658a2 Merge branch 'change/freertos_remove_xcoreid_for_single_core' into 'master'
change(freertos/idf): Remove xCoreID from TCB in single-core builds

Closes IDF-7894

See merge request espressif/esp-idf!27207
2023-12-04 12:54:54 +08:00
Jakob Hasse
ffedd74f52 Merge branch 'fix/esp_hw_support_remove_unused_include_dirs' into 'master'
fix(esp_hw_support): Removed nonexistent include directories from cmake

Closes IDFGH-11581

See merge request espressif/esp-idf!27551
2023-12-04 12:26:43 +08:00
luoxu
18e91216bd bugfix(ble_mesh): Enable CONFIG_BT_NIMBLE_VS_SUPPORT when using the duplicate scan feature on the NimBLE host. 2023-12-04 03:10:09 +00:00
Jiang Jiang Jian
ac7235523e Merge branch 'bugfix/dpp_deinit_memleak' into 'master'
Fix a memory leak in dpp deinit path

Closes WIFIBUG-174 and WIFIBUG-234

See merge request espressif/esp-idf!26781
2023-12-04 11:02:09 +08:00
Marius Vikhammer
9a6de4cb3e fix(panic): fixed cache error being reported as illegal instruction
On riscv chips accessing cache mapped memory regions over the ibus would
result in an illegal instructions exception triggering faster than the cache
error interrupt/exception.

Added a cache error check in the panic handler, if any cache errors are active
the panic handler will now report a cache error, even if the trigger exception
was a illegal instructions.
2023-12-04 10:49:00 +08:00
Jiang Jiang Jian
077067bb10 Merge branch 'bugfix/fix_connect_error_for_mesh' into 'master'
fix(wifi/mesh): fix connection and opmoode error in mesh

Closes IDFCI-1864 and IDFGH-11521

See merge request espressif/esp-idf!27524
2023-12-04 10:45:21 +08:00
Tomas Rezucha
d34b8c81a8 Merge branch 'feature/usb_hs_support' into 'master'
feat(usb/host): Add High Speed enumeration types

See merge request espressif/esp-idf!27348
2023-12-03 21:58:54 +08:00
Kevin (Lao Kaiyao)
03414a1550 Merge branch 'feature/add_esp32c5_beta3_soc_header_files_part3' into 'master'
feat(esp32c5): add struct name and reformat struct headers (stage 2/8, part3)

See merge request espressif/esp-idf!27521
2023-12-02 21:49:31 +08:00
Darian Leung
33b7e40223 fix(freertos/idf): Fix invalid xCoreID arguments in single-core
IDF FreeRTOS v10.5.1 no longer accepts out of range xCoreID arguments in
"PinnedToCore" task creation functions when building for single-core. This
commit fixes those violations through ESP-IDF.
2023-12-02 15:46:07 +08:00
Darian Leung
439c7c4261 change(freertos/idf): Remove xCoreID TCB member for single-core
This commit does the following:

- removes the xCoreID member from the TCB when building for single-core
- xCoreID is no longer hard set to 0 when calling "PinnedToCore" task creation
functions in single-core
- Tidy up or add missing xCoreID asserts for functions that take xCoreID as an
argument:
    - Functions that set/query a variable of a particular core will call
      taskVALID_CORE_ID() to ensure ) 0 <= xCoreID < configNUMBER_OF_CORES
    - Task creation functions that accept xCoreID also call taskVALID_CORE_ID()
      but also allow tskNO_AFFINITY.
- Fix TaskStatus_t
    - Remove xCoreID from TaskStatus_t if configTASKLIST_INCLUDE_COREID is not
      defined.
    - Set xCoreID to 0 when calling vTaskGetInfo() in single-core builds
2023-12-02 15:46:07 +08:00
Darian Leung
ae2bd61054 refactor(freertos/idf): Refactor yield and affinity macros
This commit refactors the following macros so that calling them no longer
requires referencing pxTCB->xCoreID.

- taskIS_YIELD_REQUIRED()
- taskIS_YIELD_REQUIRED_USING_PRIORITY()
- taskIS_AFFINITY_COMPATIBLE()
2023-12-02 15:46:07 +08:00
Ivan Grokhotkov
81385b3476 Merge branch 'feature/update_catch2' into 'master'
ci: upgrade host tests to use espressif/catch2 component, add missing build rules

Closes IDF-8775

See merge request espressif/esp-idf!27455
2023-12-01 21:25:25 +08:00
chenjianhua
daae89357c fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(b8f0db9)
- Fixed assert when llcp instant passed
2023-12-01 21:12:43 +08:00
chenjianhua
9c40585b23 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(70ab55f)
- Fixed assert for instant passed workaround
- Fixed add RPA to white list
- Fixed AES encryption for RPA resolution
2023-12-01 21:01:53 +08:00
chenjianhua
51607c87d6 fix(bt/bluedroid): Fixed add RPA to white list 2023-12-01 21:01:53 +08:00
Abhinav Kudnar
7bafda1155 fix(nimble): Handled the deletion of RPA mapping. 2023-12-01 17:04:20 +05:30
Darian
cc34c4fc08 Merge branch 'contrib/github_pr_12481' into 'master'
Many places in the ESP_SYSTEM are using CONFIG_FREERTOS_UNICORE instead of CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE (GitHub PR)

Closes IDFGH-11333

See merge request espressif/esp-idf!27435
2023-12-01 19:33:19 +08:00
luomanruo
3c90024f25 ble(update):
Update c2 lib to 47a787f0
Update h2 lib to 73452eac
Update c6 lib to 73452eac
2023-12-01 19:30:35 +08:00
laokaiyao
40bce13348 feat(esp32c5): update reg headers for multiple instances module (part3) 2023-12-01 19:04:55 +08:00
laokaiyao
9b31979107 feat(esp32c5): add struct name and reformat struct headers (part3) 2023-12-01 19:04:46 +08:00
Harshal Patil
d69ee9e133 Merge branch 'fix/aes_mpi_interrupt_allocation_workflow_for_aes_gcm' into 'master'
fix(mbedtls/aes): fix AES interrupt allocation for AES-GCM operations

See merge request espressif/esp-idf!27516
2023-12-01 19:03:00 +08:00
jgujarathi
322aa53d9d fix(wpa_supplicant): Add support for a dpp authentication timeout
- Adds support for a 1 second dpp authentication timeout.
2023-12-01 15:08:32 +05:30
zhanghaipeng
d528cc598e fix(bt/bluedroid): Fix BLE SMP register log level 2023-12-01 17:21:49 +08:00
morris
2d4a6748a3 Merge branch 'feature/sdm_driver_esp32p4' into 'master'
esp_driver_sdm driver support on esp32p4

Closes IDF-7551

See merge request espressif/esp-idf!27543
2023-12-01 17:21:04 +08:00
Island
e3ab9f009b Merge branch 'feat/support_ble_create_sync_report' into 'master'
feat(bt/bluedroid): Support ble create sync report disable and filter duplicate

Closes BLERP-216

See merge request espressif/esp-idf!26923
2023-12-01 17:17:48 +08:00
Harshit Malpani
9e8761880b
fix(esp-tls): Add headers in esp_tls_errors.h header file
Closes https://github.com/espressif/esp-idf/issues/12541
2023-12-01 14:15:43 +05:30
luoxu
c90fd0ebe2 bugfix(ble_mesh): Fixed incorrect RPR Client unicast address was obtained(154b4fcc) 2023-12-01 15:53:44 +08:00
David Čermák
096d1ce1bb Merge branch 'feat/http_client_session_ticket' into 'master'
feat(http_client): Restore TLS session and custom transport

See merge request espressif/esp-idf!26059
2023-12-01 15:11:20 +08:00
jgujarathi
8508363ce5 fix(wpa_supplicant): Restructuring DPP init method to ensure cleanup
- Restructuring DPP init function to ensure cleanup of variables in case of
  init failure
2023-12-01 12:23:03 +05:30
jgujarathi
76da067bce fix(wpa_supplicant): Fix location of clearing up dpp global variables
- Fix location of cleaing up dpp global variables to ensure that there are
  no concurrency issues.
2023-12-01 12:23:03 +05:30
jgujarathi
30c510020f fix(wpa_supplicant): Fix a memory leak in dpp deinit path
- Ensures that the auth information of dpp gets freed when there is
  dpp gets deinited.
2023-12-01 12:23:00 +05:30
C.S.M
2d4a9240dc Merge branch 'feat/add_example_usj' into 'master'
change(usb_serial_jtag): Add example for usb serial jtag echo

Closes IDFGH-11503, IDFGH-11493, and IDFGH-11478

See merge request espressif/esp-idf!27366
2023-12-01 14:39:14 +08:00
Island
682ca74e98 Merge branch 'bugfix/ble_update_lib_20231124' into 'master'
ble(update):Update c2 lib to 79ed4e8a,Update h2 lib to 9a237426,Update c6 lib to 9a237426

Closes BLERP-269 and BLERP-291

See merge request espressif/esp-idf!27391
2023-12-01 13:58:11 +08:00
Mahavir Jain
0df6afadef Merge branch 'fix/esp32s3_soc_drom_high_addr' into 'master'
fix(soc): esp32s3/Fix the DROM_HIGH_ADDR

See merge request espressif/esp-idf!27015
2023-12-01 12:41:59 +08:00
zhangyanjiao
550f858c0f fix(wifi/mesh): fix connection and opmoode error in mesh
1. fix the bug that station can't found AP when the authmode is WPA
2. fix wifi mode error when mesh start after station has connected to router

Closes https://github.com/espressif/esp-idf/issues/12646
2023-12-01 12:03:06 +08:00
Jakob Hasse
637d4c4381 fix(esp_hw_support): Removed unused include directories from cmake
* Closes https://github.com/espressif/esp-idf/issues/12700
2023-12-01 11:33:12 +08:00
Jiang Jiang Jian
e6a490c2ae Merge branch 'bugfix/dpp_listen_bugs' into 'master'
fix(wpa_supplicant): Fix few bugs in dpp

See merge request espressif/esp-idf!26792
2023-12-01 11:07:18 +08:00
Wang Meng Yang
76923a7a7f Merge branch 'bugfix/hci_param_check' into 'master'
fix(bt/controller): Fixed some HCI commands parameter

See merge request espressif/esp-idf!27423
2023-12-01 10:24:11 +08:00
morris
d171a7b958 change(sdm): move driver to a new component: esp_driver_sdm 2023-12-01 10:03:48 +08:00
morris
846751216b feat(sdm): add driver support for esp32p4 2023-12-01 10:03:09 +08:00
Liu Linyan
9879615053 Merge branch 'update/ble_mesh_put_lib_in_submodule' into 'master'
fix(ble_mesh): Put Mesh 1.1 lib files in submodule

Closes IDFCI-1860

See merge request espressif/esp-idf!26987
2023-12-01 09:56:19 +08:00
Wang Meng Yang
eaa172033a Merge branch 'bugfix/alarm_args_double_free' into 'master'
fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in l2cap

Closes BTQABR2023-141

See merge request espressif/esp-idf!27532
2023-12-01 09:32:39 +08:00
Darian Leung
8c2949a97e change(xtensa): Deprecate ".../xtensa_timer.h" include path
This commit deprecates the "freertos/xtensa_timer.h" and "xtensa/xtensa_timer.h"
include paths. Users should use "xtensa_timer.h" instead.

- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_timer.h"
- Add warning to compatibility header
2023-11-30 21:58:52 +08:00
Darian Leung
a5d5ee7445 change(xtensa): Deprecate ".../xtensa_context.h" include path
This commit deprecates the "freertos/xtensa_context.h" and "xtensa/xtensa_context.h"
include paths. Users should use "xtensa_context.h" instead.

- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Add warning to compatibility header
2023-11-30 21:58:52 +08:00
Darian Leung
2204c8e137 change(xtensa): Deprecate ".../xtensa_api.h" include path
This commit deprecates the "freertos/xtensa_api.h" and "xtensa/xtensa_api.h"
include paths. Users should use "xtensa_api.h" instead.

- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Replaced some calls with "esp_cpu_..." equivalents
- Add warning to compatibility header
2023-11-30 21:58:52 +08:00
Jin Cheng
48d410e10d fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in l2cap 2023-11-30 19:47:57 +08:00
aditi_lonkar
bdeec024e8 fix(esp_wifi):Fix WDT when esp_supp_dpp_start_listen called multiple times 2023-11-30 15:37:17 +05:30
Shu Chen
195d4013a2 Merge branch 'fix/lwip_na_packets_router_flag' into 'master'
feat(lwip): support NA router farwording flag set

See merge request espressif/esp-idf!27132
2023-11-30 17:48:42 +08:00
Ivan Grokhotkov
e39d1ae9ce Merge branch 'feature/update_unity' into 'master'
feat(unity): upgrade to 2.6.0-RC1

See merge request espressif/esp-idf!27456
2023-11-30 17:12:12 +08:00
Liu Linyan
94d3f5037b fix(ble_mesh): Use submodule for mesh 1.1 lib files 2023-11-30 16:56:58 +08:00
Liu Linyan
2c579d03ca fix(ble_mesh): Remove the orginal mesh 1.1 lib files 2023-11-30 16:34:22 +08:00
Sudeep Mohanty
35fc493dcc Merge branch 'bugfix/freertos_incorrect_placement_of_unblocked_task_during_tick_increment' into 'master'
fix(freertos/idf): Refactor suspend-resume tests

Closes IDF-8364

See merge request espressif/esp-idf!26849
2023-11-30 15:53:31 +08:00
Kevin (Lao Kaiyao)
15803e14e9 Merge branch 'feature/add_esp32c5_beta3_soc_header_files' into 'master'
feat(esp32c5): add esp32c5 soc header files (stage 2, part 1)

See merge request espressif/esp-idf!27492
2023-11-30 15:07:04 +08:00
Cao Sen Miao
b8e8042c4e fix(usb_serial_jtag): Fix issue that buffer seems not flush when TX buffer is full and flush slow,
Closes https://github.com/espressif/esp-idf/issues/12628
2023-11-30 14:38:06 +08:00
Kevin (Lao Kaiyao)
11461aff62 Merge branch 'feature/add_esp32c5_beta3_soc_header_files_part2' into 'master'
feat(esp32c5): add esp32c5-beta3 soc header files (stage2, part2)

See merge request espressif/esp-idf!27500
2023-11-30 14:35:54 +08:00
harshal.patil
47821f6299
fix(mbedtls/aes): fix AES interrupt allocation for AES-GCM operations 2023-11-30 11:59:59 +05:30
Jiang Jiang Jian
41400d8224 Merge branch 'feat/add_new_api_to_get_scan_ap_record' into 'master'
feat(wifi): add new api to get one scan ap record

Closes WIFI-6311, WIFIBUG-210, and WIFIBUG-211

See merge request espressif/esp-idf!26912
2023-11-30 13:56:51 +08:00
C.S.M
cce1bf36fc Merge branch 'bugfix/u32_reg_tsens' into 'master'
fix(temperature_sensor): Fix regs on temperature sensor is not volatile due to GCC bug

See merge request espressif/esp-idf!27468
2023-11-30 12:37:10 +08:00
Tomas Rezucha
39d57f1cfd refactor(usb/host): Move FIFO size configuration to HAL layer
The logic of calculating FIFO sizes is DWC OTG specific.
We move it to the HAL layer to provide better abstraction in the HDC layer.
2023-11-30 12:04:30 +08:00
zhanghaipeng
a1b678e721 fix(bt/bluedroid): Fix bluedroid menuconfig 2023-11-30 10:43:12 +08:00
shangke
a7dc484564 fix(bt/controller): Fixed some HCI commands parameter 2023-11-30 02:41:56 +00:00
Wang Meng Yang
0fb0fc8654 Merge branch 'bugfix/alarm_args_double_free' into 'master'
fix(bt/bluedroid): Free the alarm args only when it is not NULL

Closes BTQABR2023-141

See merge request espressif/esp-idf!27475
2023-11-30 10:27:14 +08:00
Tomas Rezucha
b258bbf068 refactor(usb/host): Make private hal types USB_DWC specific 2023-11-30 10:24:53 +08:00
Armando (Dou Yiwen)
d36fe73960 Merge branch 'test/improve_sdmmc_tests' into 'master'
sd: improve tests and added on CI

See merge request espressif/esp-idf!27384
2023-11-30 10:21:11 +08:00
Tomas Rezucha
69d9e7625b feat(usb/host): Add High Speed enumeration types 2023-11-30 10:17:00 +08:00
Marius Vikhammer
ae4be8eb03 Merge branch 'feature/p4_lp_core' into 'master'
feat(ulp/lp_core): Added basic support for building and running a LP-Core app on ESP32P4

Closes IDF-7534

See merge request espressif/esp-idf!26869
2023-11-30 09:35:49 +08:00
Adam Múdry
a4ff2decdd Merge branch 'fix/esp_vfs_fat_sdcard_format_workbuf_leak' into 'master'
fix: esp_vfs_fat_sdcard_format workbuf memory leak

Closes IDF-8779

See merge request espressif/esp-idf!27490
2023-11-30 05:42:00 +08:00
David Cermak
96069eef3b feat(http_client): Add support for using custom tcp_transport 2023-11-29 20:48:40 +01:00
David Cermak
7e22a13afe feat(http_client): Add support for TLS session tickets 2023-11-29 20:48:35 +01:00
Gao Xu
4e843a1a70 Merge branch 'bugfix/fix_adc_continuous_do_not_rst_apb_clk' into 'master'
fix(adc): fix adc continuous get less results beacuse do not reset apb clk

Closes IDF-8414

See merge request espressif/esp-idf!27115
2023-11-30 00:22:48 +08:00
laokaiyao
d87e007c66 feat(esp32c5): add esp32c5-beta3 soc header files (part1) 2023-11-29 20:53:33 +08:00
laokaiyao
87f7d2edc4 feat(esp32c5): add esp32c5-beta3 soc header files (part2) 2023-11-29 20:48:52 +08:00
Kevin (Lao Kaiyao)
cd9d321062 Merge branch 'feature/introduce_target_esp32c5' into 'master'
feat(esp32c5): introduce target esp32c5 (stage 1)

See merge request espressif/esp-idf!27299
2023-11-29 20:31:34 +08:00
Adam Múdry
29c30b961d fix: esp_vfs_fat_sdcard_format workbuf memory leak 2023-11-29 12:39:15 +01:00
Ivan Grokhotkov
b52182e14f
ci(tcp_transport): upgrade to Catch2 as a component 2023-11-29 12:38:47 +01:00
Ivan Grokhotkov
ae3da4a383
ci(wear_levelling): upgrade to Catch2 as a component 2023-11-29 12:38:47 +01:00
Ivan Grokhotkov
33896fe67e
ci(log): upgrade to Catch2 as a component 2023-11-29 12:38:47 +01:00
Ivan Grokhotkov
88e77ba1ed
ci(nvs_flash): upgrade to Catch2 as a component, fix warnings 2023-11-29 12:38:47 +01:00
Ivan Grokhotkov
047e50615e
ci(fatfs): upgrade to Catch2 as a component, enable CI build 2023-11-29 12:38:46 +01:00
Ivan Grokhotkov
8e81bbe014
ci(esp_rom): upgrade to Catch2 as a component, enable CI build 2023-11-29 12:38:46 +01:00
Ivan Grokhotkov
79a2c15477
ci(esp_event): upgrade host test to Catch2 as a component, fix build
- use espressif/catch2 component
- fix build issues after FreeRTOS upgrade
- enable test app build in CI
2023-11-29 12:38:46 +01:00
zhangyanjiao
b495f54329 fix(wifi): fix the crash issue when clear scan ap list 2023-11-29 19:23:35 +08:00
zhangyanjiao
0f18104d53 feat(wifi): add new api to get one scan ap record 2023-11-29 19:19:25 +08:00
C.S.M
96f49c2603 Merge branch 'bugfix/bod_reset_c6_h2' into 'master'
fix(bod): Fix issue that RF cannot be enabled again after BOD triggered.

See merge request espressif/esp-idf!27287
2023-11-29 17:21:38 +08:00
Martin Vychodil
875849128f Merge branch 'feature/add_fatfs_sbom' into 'master'
feat(storage/fatfs): add sbom file manifest for FatFs

Closes IDF-8229

See merge request espressif/esp-idf!27436
2023-11-29 17:11:52 +08:00
Marius Vikhammer
99c88b9272 Merge branch 'feature/misc_core_build_tests_p4' into 'master'
ci(system): fixed and enabled misc system build tests

Closes IDF-8069, IDF-8071, and IDF-8119

See merge request espressif/esp-idf!27431
2023-11-29 16:58:07 +08:00
Jin Cheng
823e0711c9 fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free 2023-11-29 15:55:46 +08:00
Rahul Tank
427f734dca Merge branch 'bugfix/add_legacy_adv_clear_vsc' into 'master'
fix(nimble): Add support for VSC to clear legacy adv memory

Closes BLERP-160

See merge request espressif/esp-idf!26561
2023-11-29 14:57:22 +08:00
gaoxu
7f296f2a20 ci(adc): add a test that adc continuous read after restarting 2023-11-29 14:30:25 +08:00
gaoxu
3acf3ec648 fix(adc): fix adc continuous get less results beacuse do not reset apb clk 2023-11-29 14:28:33 +08:00
Cao Sen Miao
b0c90ac456 fix(tempertuer_sensor): Fix regs on temperature sensor is not volatile due to GCC bug 2023-11-29 14:25:25 +08:00
Shu Chen
60da3e9c44 Merge branch 'fix/ieee802154_sleep_config' into 'master'
fix(ieee802154): fix ieeee802154 sleep enable configuration dependency issue

See merge request espressif/esp-idf!27389
2023-11-29 12:25:01 +08:00
Jiang Jiang Jian
145d40a120 Merge branch 'bugfix/fix_wifi_deinit_s_wifi_modem_sleep_lock' into 'master'
fix(wifi): fix wifi deinit s_wifi_modem_sleep_lock

See merge request espressif/esp-idf!27450
2023-11-29 12:15:51 +08:00
Armando
1400f3553d change(sdspi): disabled some tests (needs check/re-enable future) 2023-11-29 12:13:03 +08:00
Armando
4aadacbcdc refactor(sdspi): added component pytest cases and enabled them on CI 2023-11-29 12:13:03 +08:00
Armando
9b0d75f2df refactor(sdmmc): added component pytest cases and enabled them on CI 2023-11-29 12:13:03 +08:00
Jiang Jiang Jian
234e5e8d09 Merge branch 'feat/max_ver_c3_199' into 'master'
feat(soc): Increase max supported version of C3 to 1.99

See merge request espressif/esp-idf!26821
2023-11-29 11:17:59 +08:00
Marius Vikhammer
0c067fcb05 feat(ulp/lp_core): Added basic support for building and running a LP-Core app on ESP32P4 2023-11-29 10:50:40 +08:00
Ivan Grokhotkov
88fa79fcc7
feat(unity): upgrade to 2.6.0-RC1 2023-11-28 20:22:02 +01:00
Erhan Kurubas
4b0da52aa8 Merge branch 'save_isr_ctx_to_coredump' into 'master'
feat(coredump): save isr context to coredump elf file

Closes IDF-7790

See merge request espressif/esp-idf!27182
2023-11-28 23:40:11 +08:00
Jiang Jiang Jian
469dda11f9 Merge branch 'bugfix/nan_datapath_issues' into 'master'
Fix issues with NAN datapath

See merge request espressif/esp-idf!25595
2023-11-28 21:06:19 +08:00
liuning
2366bab75f fix(wifi): fix wifi deinit s_wifi_modem_sleep_lock 2023-11-28 20:56:37 +08:00
Rahul Tank
6b5d5698cf fix(nimble): Add support for VSC to clear legacy adv memory
Legacy adv does not have an API for clear adv memory in controller.
 Added VSC for same.
2023-11-28 18:13:51 +05:30
Rahul Tank
7ab678873c Merge branch 'bugfix/cts_handle_invalid_year_val' into 'master'
fix(nimble): Handled invalid write on year value in Current Time Service

Closes BT-3478

See merge request espressif/esp-idf!27301
2023-11-28 20:20:15 +08:00
Jeroen Domburg
7830b01d9f Merge branch 'bugfix/usb_ser_jtag_filled_ep_flush' into 'master'
Fix(driver): Add docs and driver fix for the case where a full EP does not cause the host to pickup the data

See merge request espressif/esp-idf!27388
2023-11-28 18:20:38 +08:00
Sudeep Mohanty
0b1649d22b refactor(freertos/idf): Refactor FreeRTOS suspend-resume tests
This commit refactors suspend-resume tests by moving them to appropraite
test files. This commit also removes tests which are not necessary or
have been subsumed by refactored tests.
2023-11-28 10:50:24 +01:00
jgujarathi
f73432f651 fix(wpa_supplicant): Move concurrent wps and dpp check to before creating task
- Move the check for checking concurrent wps and dpp check to before creating
  task rather than after.
2023-11-28 15:18:39 +05:30
Ivan Grokhotkov
b48b501d85 Merge branch 'refactor/core_init_registration' into 'master'
refactor(startup): implement registration of core init functions

See merge request espressif/esp-idf!27402
2023-11-28 17:25:00 +08:00
Tomáš Rohlínek
526ce4f5cc
feat(storage/fatfs): add sbom file for FatFs 2023-11-28 09:36:40 +01:00
laokaiyao
7fa0d61c35 refactor(build_test_rules): invert the logic to avoid involving preview target
Only set enable condition for the app will introduce the preview target in README.md
Replace with disable logic instead
2023-11-28 16:14:17 +08:00
laokaiyao
bb0879b3f8 feat(esp32c5): introduce target esp32c5 2023-11-28 16:14:17 +08:00
fl0wl0w
d149c1b26f Use configuration option instead of in components not related to FreeRTOS
Mergeshttps://github.com/espressif/esp-idf/pull/12481
2023-11-28 07:49:20 +00:00
jgujarathi
bb4b9d0687 fix(wpa_supplicant): Fix a crash in esp_wifi_wps_disable
- Fixes a crash observed in esp_wifi_wps_disable when wps process
  is ongoing, caused due to concurrency issues in cancelling timers.
2023-11-28 11:55:35 +05:30
Marius Vikhammer
b96f93b879 ci(system): fixed and enabled misc system build tests 2023-11-28 14:00:16 +08:00
Shyamal Khachane
d7db8e08e5 fix(esp_wifi): Fix issues with NAN datapath
1. Avoid possible crash scenarios while forming datapath
2. Modify peer records structure thus fixing issues in datapath establishment
3. Fix timer out of bound issue causing "No timer handle" warning
4. Fix miscellaneous service discovery and datapath issues
2023-11-28 10:24:52 +05:30
C.S.M
dbe08fbaae Merge branch 'refactor/esp_driver_tsens' into 'master'
refactor(temperature_sensor): Make temperature sensor driver as a seperate component

See merge request espressif/esp-idf!27408
2023-11-28 10:39:14 +08:00
morris
19d71f7dd6 Merge branch 'bugfix/i80_lcd_tx_param_check_enhancement' into 'master'
fix(i80_lcd): enhance the check of a valid data phase

See merge request espressif/esp-idf!27347
2023-11-28 09:55:55 +08:00
Erhan Kurubas
a7bbf0d3aa feat(coredump): save isr context to coredump elf file 2023-11-27 16:46:42 +01:00
Tomas Rohlinek
38ee8c6373 Merge branch 'fix/fatfs_locking' into 'master'
fix(storage/fatfs): add missing locks in fatfs wrapper for vfs

Closes IDF-8282

See merge request espressif/esp-idf!26747
2023-11-27 19:21:21 +08:00
Cao Sen Miao
09f99e51db refactor(temperature_sensor): Make temperature sensor driver as a seperate component 2023-11-27 17:51:40 +08:00
Ivan Grokhotkov
6046b396ac
fix(esp_timer): avoid signed integer overflow in ESP_SYSTEM_INIT_FN
CONFIG_ESP_TIMER_ISR_AFFINITY can be equal to -1, whereas
ESP_SYSTEM_INIT_FN takes an uint16_t argument. To avoid overflow,
move the choice of init mask into source code and set the value
explicitly.
2023-11-27 10:20:51 +01:00
Ivan Grokhotkov
75c92c3a66
refactor(startup): implement registration of core init functions
Similar to how the secondary init functions were already registered
via ESP_SYSTEM_INIT_FN, do the same for the core init functions.
This MR doesn't actually move the init functions into respective
components yet. This has to be carefully done in follow-up MRs.
2023-11-27 10:20:51 +01:00
Roshan Bangar
f78a948c8b fix(nimble): Handled invalid write on year value in Current Time Service 2023-11-27 14:46:00 +05:30
Tomáš Rohlínek
91e158aa0c
fix(storage/fatfs): add missing locks in fatfs wrapper for vfs 2023-11-27 07:47:28 +01:00
wuzhenghui
04fcfff5e0
fix(esp_system): fix uart clock disabled in driver cause esp_restart stuck 2023-11-27 12:06:07 +08:00
Jeroen Domburg
3f08e5c91a fix(driver): Add docs and driver fix for the case where a full EP does not cause the host to pickup the data 2023-11-27 12:04:30 +08:00
Darian
e334cda304 Merge branch 'change/usb_host_minor_optimizations' into 'master'
change(usb/host): Remove unecessary features

See merge request espressif/esp-idf!27308
2023-11-27 11:31:14 +08:00
Rahul Tank
82532740ae Merge branch 'bugfix/fix_duplicate_exception_vsc' into 'master'
fix(nimble): Fix the parameters in duplicate exception list vsc command

Closes BLERP-211

See merge request espressif/esp-idf!26863
2023-11-27 11:16:01 +08:00
Rahul Tank
d2a52ae749 fix(nimble): Fix the parameters in duplicate exception list vsc command 2023-11-26 12:45:01 +05:30
morris
f2751213fd feat(rmt): move the driver to a new component 2023-11-25 00:29:53 +00:00
Darian Leung
095b541125 change(usb/host): Remove some handler function event flags
This commit removes internal event flags in the USB Host Library event handling
functions (i.e., usb_host_lib_handle_events() and usb_host_client_handle_events()).

Previously, these flags were added to reduce the number of times semaphores
were given. However, these flags were removed as the performance gain is
negligible and made the logic more complicated.

For usb_host_client_handle_events(), the following flags were removed:

- Remove 'events_pending' flag. The semaphore is now always given
- Remove 'blocked' flag. The 'handling_events' flag is already sufficient
- Critical sections are now shortened due to simplication of semaphore usage.

For usb_host_lib_handle_events(), the following flags were removed:

- Remove 'process_pending' flag. The semaphore is now always given
- Renamed 'blocked' flag to 'handling_events'
2023-11-24 22:08:57 +08:00
Song Ruo Jing
b403ef9527 Merge branch 'refactor/uart_read_bytes_from_ringbuf' into 'master'
change(uart): improved the internal logic of uart_read_bytes

Closes IDFGH-11220

See merge request espressif/esp-idf!27290
2023-11-24 21:35:05 +08:00
Darian Leung
16c37f9db1 change(usb/host): Remove data buffer headers from URBs
This commit removes the ability to reserve a header in the data buffer of an
allocated URB. The header was required for a now defunct implementation of a
synchronous USB Host library API. Thus, headers are no longer required in
URB data buffers.
2023-11-24 20:57:03 +08:00
luomanruo
201b7b8785 ble: update rom.ld file 2023-11-24 20:34:41 +08:00
luomanruo
7eb1a29eb8 ble: update sdkconfig_version on ESP32C2, ESP32H2 and ESP32C6 2023-11-24 20:18:23 +08:00
luomanruo
cb1390108e ble(fix): fix RX issue on ESP32-C2 2023-11-24 19:38:19 +08:00
luomanruo
f5ef22d54d ble:
Update c2 lib to 79ed4e8a
Update h2 lib to 9a237426
Update c6 lib to 9a237426
2023-11-24 19:20:47 +08:00
Song Ruo Jing
e358d379e5 change(uart): improved the internal logic of uart_read_bytes
Ringbuffer usage becomes more efficient with the use of xRingbufferReceiveUpTo

Closes https://github.com/espressif/esp-idf/issues/12386
2023-11-24 19:02:11 +08:00
Martin Vychodil
76011fc8f7 Merge branch 'fix/uart_select_malloc' into 'master'
fix(vfs): fix uart malloc when locates ISR context in IRAM

See merge request espressif/esp-idf!27278
2023-11-24 18:57:30 +08:00
Gao Xu
b9a3dd1b37 Merge branch 'bugfix/fix_adc_cali_error_after_light_sleep_wake_on_h2' into 'master'
adc: fix calibration error when waking up from light sleep on H2 and enable test

Closes IDF-8569

See merge request espressif/esp-idf!27242
2023-11-24 18:25:35 +08:00
xiaqilin
8178961704 fix(ieee802154): fix ieeee802154 sleep enable configuration dependency issue 2023-11-24 17:56:57 +08:00
Shyamal Khachane
05896af6bd fix(esp_wifi): Fix crash while cancelling NAN service 2023-11-24 04:15:39 +00:00
C.S.M
372f069324 Merge branch 'fix/flash_s2_ci' into 'master'
fix(spi_flash): Fix ESP32S2 multi-flash test

See merge request espressif/esp-idf!27338
2023-11-24 11:52:19 +08:00
Kevin (Lao Kaiyao)
ff45ef6516 Merge branch 'refactor/esp_driver_dac' into 'master'
refactor(dac): make dac driver as component

Closes IDF-8370

See merge request espressif/esp-idf!27264
2023-11-24 11:28:23 +08:00
Cao Sen Miao
b3280677fd fix(bod): Reset brownout in configuration to avoid RF cannot be enabled again 2023-11-24 10:17:20 +08:00
Adam Múdry
7464f5e3ea fix(tools): replace nvs_partition_gen.py with new esp-idf-nvs-partition-gen package 2023-11-23 23:58:20 +01:00
Martin Vychodil
aee0ed7c07 Merge branch 'fix/fatfs_formatting_wrong_volume' into 'master'
Fix: FATFS formatting wrong partition

Closes IDFGH-11404

See merge request espressif/esp-idf!27011
2023-11-24 05:22:57 +08:00
Adam Múdry
25714837cf fix(storage): FATFS WL function formatting wrong partition
Closes https://github.com/espressif/esp-idf/issues/12542

Co-authored-by: Tony Stuart <anthonyfstuart@gmail.com>
2023-11-23 13:54:00 +01:00
Cao Sen Miao
2c131672db fix(spi_flash): Fix ESP32S2 multi-flash test 2023-11-23 19:49:59 +08:00
Martin Vychodil
caf3ae711b Merge branch 'fix/memory_leak_in_nvs_flash' into 'master'
fix(nvs_flash): Fix the memory leak in the nvs_flash test app

Closes IDFCI-1872

See merge request espressif/esp-idf!27324
2023-11-23 18:23:13 +08:00
Martin Vychodil
65cdca7696 Merge branch 'feature/expose_unload_partitions' into 'master'
refactor(esp_partition): Expose function for unloading partitions

Closes IDFGH-11498

See merge request espressif/esp-idf!27331
2023-11-23 17:11:53 +08:00
Michael (XIAO Xufeng)
eb93daafd0 feat(soc): Increase max supported version of C3 to 1.99 2023-11-23 06:58:18 +00:00
laokaiyao
ef7772eee0 refactor(dac): make dac driver as component 2023-11-23 12:04:06 +08:00
Wu Zheng Hui
581824d1f2 Merge branch 'feature/reinitialize_icg_map_in_modem_module_enable' into 'master'
fix(esp_hw_support): re-initialize icg map in modem_clock_module_enable

Closes WIFI-6312

See merge request espressif/esp-idf!27168
2023-11-23 11:55:34 +08:00
Jiang Jiang Jian
676968ab0e Merge branch 'bugfix/ble_update_lib_1110' into 'master'
Bugfix/ble update lib 1110

Closes BLERP-242, BLERP-248, BLERP-241, BLERP-243, BLERP-239, BLERP-256, BLERP-257, BLERP-258, BLERP-259, BLERP-260, BLERP-261, BLERP-262, BLERP-240, BLERP-227, BLERP-214, BLERP-266, BLERP-267, BLERP-268, BT-3481, WIFI-6313, and BLERP-287

See merge request espressif/esp-idf!27060
2023-11-23 11:05:18 +08:00
morris
adf33fa57e fix(i80_lcd): enhance the check of a valid data phase
in case the user passes a (uint8_t){0x00} parameter with the perameter size
set to zero
2023-11-23 11:02:28 +08:00
Jiang Jiang Jian
5d3c1bb8ef Merge branch 'bugfix/fix_wifi_init_reentrant_issue' into 'master'
fix(wifi): fix wifi init reentrant issue

Closes WIFIBUG-242

See merge request espressif/esp-idf!26718
2023-11-23 10:57:28 +08:00
Jakob Hasse
0a5fd73dd2 Merge branch 'refactor/memory_leak_message_shorter' into 'master'
refactor(ci): prevent memory leak message without memory leak

See merge request espressif/esp-idf!27226
2023-11-23 10:49:24 +08:00
Jakob Hasse
5f4865e838 Merge branch 'doc/soc_cap_tool' into 'master'
Doc/soc cap tool

See merge request espressif/esp-idf!27154
2023-11-23 10:47:01 +08:00
Mahavir Jain
810133a5fd Merge branch 'support/add_srp_salt_ver_gen_api' into 'master'
Generate Salt and verifier pair for given username and password

See merge request espressif/esp-idf!25239
2023-11-23 00:30:57 +08:00
Jiang Jiang Jian
80209bfca6 Merge branch 'bugfix/authmode_incompatible_reason_code' into 'master'
Expand situations for incompatible security configuration disconnect reason code and fix wep connection issue

Closes WIFIBUG-260

See merge request espressif/esp-idf!27232
2023-11-22 22:58:12 +08:00
Roland Dobai
f39a620afa Merge branch 'contrib/github_pr_12558' into 'master'
Fix: esptool_py incorrectly assumed target name equals binary name (GitHub PR)

Closes IDFGH-11420

See merge request espressif/esp-idf!27173
2023-11-22 22:40:34 +08:00
Armando (Dou Yiwen)
b8121227b6 Merge branch 'refactor/esp_driver_sdio' into 'master'
refactor(sdio): place sdio slave driver into a new component

Closes IDF-8373

See merge request espressif/esp-idf!27125
2023-11-22 21:13:00 +08:00
harshal.patil
5e1335aae4
fix(nvs_flash): Fix the memory leak in the nvs_flash test app
The leak is now reduced by allocating the AES interrupt and
loading the partitions in the test setup instead of in the tests itself.
2023-11-22 16:23:18 +05:30
Adam Múdry
0cc38fb901 refactor(esp_partition): Expose function for unloading partitions
Closes https://github.com/espressif/esp-idf/issues/12625
2023-11-22 11:13:32 +01:00
Rahul Tank
356fe4881b Merge branch 'bugfix/fix_dangling_pointer_compilation_warning' into 'master'
fix(nimble): Fix dangling pointer error during compilation

See merge request espressif/esp-idf!26984
2023-11-22 17:59:30 +08:00
Martin Vychodil
bd91c7b510 Merge branch 'contrib/github_pr_12567' into 'master'
Add option to configure FATFS_USE_LABEL boolean (GitHub PR)

Closes IDFGH-11429

See merge request espressif/esp-idf!27100
2023-11-22 17:57:23 +08:00
Liu Ning
e50d9fca3a Merge branch 'feature/refactor_some_coexist_sections' into 'master'
feature(coex): refactor some coexist sections

Closes WIFI-5976、WIFI-5464 以及 TZ-81

See merge request espressif/esp-idf!26706
2023-11-22 17:48:24 +08:00
liuning
b47bf9e742 fix(wifi): fix wifi init reentrant issue 2023-11-22 17:39:56 +08:00
Harshit Malpani
3e0700bfda Merge branch 'bugfix/return_code_of_ota_finish_api' into 'master'
fix(esp_https_ota): fix return code of esp_https_ota_finish API

Closes IDFGH-11510

See merge request espressif/esp-idf!27296
2023-11-22 15:48:39 +08:00
C.S.M
067ee29774 Merge branch 'bugfix/improve_enc_write_performance' into 'master'
bugfix(spi_flash): Improve encryption write performance

Closes IDFGH-11415

See merge request espressif/esp-idf!27123
2023-11-22 15:19:28 +08:00
jgujarathi
b47b75f6c8 fix(esp_wifi): Expand situations for REASON_NO_AP_FOUND_WITH_COMPATIBLE_SECURITY
- Fixes issue with connecting and discovering WEP APs
- Expsnds the reasons for trigerring a disconnect using
REASON_NO_AP_FOUND_WITH_COMPATIBLE_SECURITY
-- SAE-PK configured as compulsory in sta config but disabled for the AP
-- SAE-H2e configured as compulsory in sta config but disabled for an AP
that has authmode as WPA3-PSK or WPA3-WPA2-PSK.
-- Open AP found but we have set password or enabled enterprise mode.
-- SAE H2E only ap but we have SAE HnP setup in config.
-- WPA3-EXT_PSK AP but SAE-H2E disabled in config
2023-11-22 11:29:30 +05:30
morris
397f9f2274 Merge branch 'feature/rgb_lcd_support_esp32p4' into 'master'
feat(lcd): add LL driver of rgb/i80 LCD for esp32p4

See merge request espressif/esp-idf!27200
2023-11-22 13:08:59 +08:00
Rahul Tank
1e4e193ca7 fix(nimble): Fix dangling pointer error during compilation 2023-11-22 08:58:41 +05:30
Armando
22b4270a6b refactor(sdio): place sdio slave driver into a new component 2023-11-22 10:37:31 +08:00
Cao Sen Miao
6953b51b3a fix(spi_flash): Improve encryption write performance, Closes https://github.com/espressif/esp-idf/issues/12553 2023-11-22 10:33:05 +08:00
Jiang Jiang Jian
275a7ec2a2 Merge branch 'fix/esp32c6_sleep_pll_issue' into 'master'
fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue

Closes BLERP-105, BLERP-213, and BLERP-234

See merge request espressif/esp-idf!26208
2023-11-22 10:29:48 +08:00
Rahul Tank
ff967f8b3b Merge branch 'bugfix/ble_gap_unpair_oldest_peer_fix' into 'master'
fix(nimble): Fixed ble_gap_unpair_oldest_peer to prevent writing to invalid memory

Closes IDFCI-1871, BT-3509, and BLERP-270

See merge request espressif/esp-idf!27158
2023-11-22 09:14:30 +08:00
morris
106baac0bc Merge branch 'feature/rmt_receive_partial_callback' into 'master'
feat(rmt): support partial receive if the incoming packet is very long

Closes IDF-6579

See merge request espressif/esp-idf!27033
2023-11-22 06:37:46 +08:00
Vikram Dattu
08f2422ff8
feat(provisioning): Generate Salt and verifier pair for given username and password
This commit adds a new feature to generate a salt and verifier pair for a given username and
password during the provisioning process. This is useful in scenarios where the pairing pin is
randomly generated and shown via some interface such as a display or console.

- Uses the provided username and password to generate a salt and verifier pair
- Adds support for dev mode where the pin/password can still be read from flash
2023-11-21 18:06:24 +05:30
Vikram Dattu
b97322c521
refactor(esp_srp): Expose esp_srp.h and add API docs
- Also added missing `protocomm_security2` reference in `protocomm.rst`
2023-11-21 18:06:24 +05:30
liuning
c783332962 feat(coex): apply struct for coex version 2023-11-21 18:00:26 +08:00
liuning
aec27052b6 feat(coex): rename coexist sections 2023-11-21 18:00:25 +08:00
Harshit Malpani
85e4220250
fix(esp_https_ota): fix return code of esp_https_ota_finish API
Closes https://github.com/espressif/esp-idf/issues/12635
2023-11-21 14:49:21 +05:30
darshan
a3cdfcb3aa fix(nimble): Fixed ble_gap_unpair_oldest_peer to prevent writing to invalid memory 2023-11-21 14:42:36 +05:30
zwx
7409f41527 fix(vfs): fix uart malloc when locates ISR context in IRAM 2023-11-21 16:36:08 +08:00
Mahavir Jain
30eb2918c6 Merge branch 'contrib/github_pr_12460' into 'master'
fixing OTA write up to SPI_FLASH_SEC_SIZE margins (GitHub PR)

Closes IDFGH-11311

See merge request espressif/esp-idf!26897
2023-11-21 15:12:12 +08:00
luomanruo
29f712651a ble(fix): deinit crash issue 2023-11-21 15:02:43 +08:00
zwl
e9b4c3e6c2 fix(ble): fixed ble occasional rx exception issue 2023-11-21 15:00:55 +08:00
luomanruo
20c890f33b ble: update controller log module 2023-11-21 15:00:55 +08:00
luomanruo
93df0042d1 ble: update c6 h2 lib to 5b1dfd2b, c2 lib to db4e1fb2 2023-11-21 15:00:55 +08:00
luomanruo
ec119aa694 ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
2023-11-21 15:00:55 +08:00
Lou Tian Hao
cde12242b4 Merge branch 'feature/support_ext1_clear_spec_pins' into 'master'
feat: support ext1 add or remove spec pin for chips which support ext1 wakeup

Closes IDFGH-11440

See merge request espressif/esp-idf!26999
2023-11-21 11:29:33 +08:00
morris
e86acbe556 feat(lcd): pre-support rgb and i80 lcd driver on esp32p4
added LL functions for LCD_CAM module, only the LCD part
2023-11-21 10:46:52 +08:00
Marius Vikhammer
4bb8f5c577 Merge branch 'feature/remove_esp_spi_g1' into 'master'
refactor(spi): moved spi hw sharing func to hw support

Closes IDF-8503

See merge request espressif/esp-idf!27110
2023-11-21 10:26:55 +08:00
Tomas Rezucha
9b233aca2b Merge branch 'fix/usb_short_desc' into 'master'
fix(usb/host): Do not abort on string descriptor overflow

See merge request espressif/esp-idf!27127
2023-11-21 10:22:03 +08:00
xiaqilin
a0ecd49725 feat(pm): change power up/down register callback name 2023-11-21 10:18:55 +08:00
xiaqilin
5a77f87986 feat(ieee802154): register power_down/power_up callback for esp32c6 2023-11-21 10:18:55 +08:00
cjin
e98e291601 fix(pm): switch root clk src to PLL for modem reg opt and added callback 2023-11-21 10:18:32 +08:00
xiaqilin
3292ee7039 fix(ieee802154): remove skip light sleep callback 2023-11-21 10:18:17 +08:00
cjin
c1798adac6 change(pm): add pm lock count check before reg backup 2023-11-21 10:18:16 +08:00
xiaqilin
15df836ab4 fix(ieee802154): add skip light sleep for esp32c6 light sleep 2023-11-21 10:18:03 +08:00
xiaqilin
f428f9d8c0 fix(pm): remove unuse extra_refs related code 2023-11-21 10:18:03 +08:00
cjin
ff69928064 feat(pm): change power down prepare position 2023-11-21 10:18:03 +08:00
cjin
15e1c8d3ca feat(ble): remove software regdma opt in bt 2023-11-21 10:18:03 +08:00
xiaqilin
b9baf49782 fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue 2023-11-21 10:18:03 +08:00
Jakob Hasse
e6e1cf4a19 Merge branch 'contrib/github_pr_12525' into 'master'
change(console): print sorted help (GitHub PR)

Closes IDFGH-11382

See merge request espressif/esp-idf!27022
2023-11-21 09:31:44 +08:00
Jiang Jiang Jian
59ba806b01 Merge branch 'bugfix/allow_some_special_invalid_igtk_keyindex_to_workaround_faulty_ap' into 'master'
fix(wifi): allow some special igtk keyindx to workaround faulty APs

Closes WIFI-6342

See merge request espressif/esp-idf!27213
2023-11-20 21:42:05 +08:00
Lou Tianhao
ea7cfc40ae change(pm/ext1): replace esp_sleep_clear_ext1_wakeup_io by esp_sleep_disable_ext1_wakeup_io 2023-11-20 19:30:50 +08:00
Armando (Dou Yiwen)
712e7756f5 Merge branch 'refactor/esp_driver_sdspi' into 'master'
refactor(sdspi): place sdspi driver into a new component

See merge request espressif/esp-idf!27225
2023-11-20 19:24:10 +08:00
morris
add4749d15 feat(rmt): callback function can support partial receive 2023-11-20 18:49:38 +08:00
gaoxu
4f81883ccf fix(adc): restore cali registers after light sleep wake up on H2 and enable test 2023-11-20 17:38:34 +08:00
morris
05e6ccbba7 feat(gdma): can read interrupt raw status 2023-11-20 17:25:57 +08:00
morris
2f72b3578a feat(gdma): distinguish abnormal and normal eof in the gdma event data 2023-11-20 17:25:57 +08:00
Sudeep Mohanty
3334ec54fa Merge branch 'feature/freertos_config_for_tmr_task_affinity' into 'master'
feat(freertos/idf): Add config option for FreeRTOS Timer Task core affinity

Closes IDF-7906 and IDFGH-8895

See merge request espressif/esp-idf!26652
2023-11-20 16:51:31 +08:00
sonika.rathi
e15fcd2b28 docs(vfs): update esp_vfs_register_fd api description
Closes https://github.com/espressif/esp-idf/issues/11586
2023-11-20 09:39:05 +01:00
Lou Tianhao
b86d550ec5 change(pm/ext): remove ext0_wakeup_clear and ext1_wakeup_clear 2023-11-20 16:36:50 +08:00
Tomas Rezucha
f48f433d5b fix(usb/host): Do not abort on string descriptor overflow
Some devices return full LANGID table, even if short LANGID table was requested.
No memory overflow occurs, because we have allocated enough memory for transfers to the
default pipe. So we can ignore the error and continue with string desc fetching.
2023-11-20 09:12:54 +01:00
Lou Tianhao
8db9f79bd2 change(pm/ext1): replace esp_sleep_set_ext1_wakeup_io by esp_sleep_enable_ext1_wakeup_io 2023-11-20 16:04:01 +08:00
Lou Tianhao
d97f45b3a8 bugfix: ext0_wakeup_prepare func when s_config.wakeup_triggers & RTC_EXT0_TRIG_EN == false 2023-11-20 16:03:57 +08:00
morris
72e414105d Merge branch 'contrib/github_pr_12559' into 'master'
fix(spi): correct macro REG_SPI_BASE(i) for all targets (GitHub PR)

Closes IDFGH-11421 and IDFGH-11424

See merge request espressif/esp-idf!27085
2023-11-20 15:55:41 +08:00
morris
7690888e4f Merge branch 'bugfix/rmt_tx_check_owner' into 'master'
fix(rmt): reenable dma owner check

Closes IDFGH-11426

See merge request espressif/esp-idf!27141
2023-11-20 14:51:34 +08:00
Rahul Tank
3ccadd053c Merge branch 'bugfix/fix_incorrect_irk_set' into 'master'
fix(nimble): Fixed issue of incorrect IRK being set

See merge request espressif/esp-idf!27244
2023-11-20 14:06:40 +08:00
Aditya Patwardhan
9cf90d8a7a Merge branch 'bugfix/fix_http_client_async_mode' into 'master'
fix(esp_http_client): Fix esp_http_client async mode

Closes IDFGH-11191

See merge request espressif/esp-idf!26333
2023-11-20 14:05:03 +08:00
Armando
b8aba80172 feat(sd): added readme for dependency among SD host related components 2023-11-20 12:30:03 +08:00
Armando
c50e364a97 refactor(sdspi): place sdspi driver into a new component 2023-11-20 12:30:03 +08:00
Marius Vikhammer
52e3f09b32 refactor(spi): moved spi hw sharing func to hw support
Common spi functionality for sharing the SPI bus between modules is moved from esp_driver_spi to
a more fitting location in esp_hw_support (shared HW resource control).

This also allows us to decouple the spi_flash driver from esp_driver_spi, removing
esp_driver_spi and esp_ringbuf from G1 builds.
2023-11-20 12:07:54 +08:00
Mahavir Jain
f2a0beb579 Merge branch 'fix/esp32p4-memory-layout' into 'master'
fix(heap): Update the heap memory layout on esp32p4 target

Closes IDF-8024, IDF-7921, and IDF-8002

See merge request espressif/esp-idf!26702
2023-11-20 11:14:39 +08:00
Kevin (Lao Kaiyao)
8074fa4fae Merge branch 'refactor/esp_driver_i2s' into 'master'
refactor(i2s): make i2s driver as component

Closes IDF-8377

See merge request espressif/esp-idf!26991
2023-11-20 11:14:07 +08:00
Mahavir Jain
9fb38d82a3 Merge branch 'fix/rng_register_prefix_discrepency_newer_targets' into 'master'
Fix: RNG register prefix discrepancy for ESP32C6 and ESP32H2

Closes DOC-5161 and DOC-5175

See merge request espressif/esp-idf!27212
2023-11-20 10:53:09 +08:00
Roman Leonov
1d7132ce6b Merge branch 'bugfix/usb_host_binterval_check_loosening' into 'master'
fix(usb/host): Remove bInterval verification during pipe opening for Interrupt and Isochronous EPs

Closes https://github.com/espressif/esp-idf/issues/12336

See merge request espressif/esp-idf!27075
2023-11-18 03:39:18 +08:00
C.S.M
10f4b04e40 Merge branch 'change/add_scl_check' into 'master'
change(i2c): Add check for scl frequency for master_bus_add_device

Closes IDFGH-11469

See merge request espressif/esp-idf!27223
2023-11-17 23:30:32 +08:00
laokaiyao
74441d14ab refactor(i2s): make i2s driver as component 2023-11-17 21:29:17 +08:00
Kevin (Lao Kaiyao)
f0129e17a8 Merge branch 'refactor/esp_driver_ana_cmpr' into 'master'
refactor(ana_cmpr): make analog comparator driver as component

Closes IDF-8521

See merge request espressif/esp-idf!27029
2023-11-17 19:07:08 +08:00
Rahul Tank
edb28d7276 fix(nimble): Fixed issue of incorrect IRK being set 2023-11-17 15:42:57 +05:30
morris
1677bfa0a3 Merge branch 'bugfix/mcpwm_fault_trigger_test' into 'master'
fix(mcpwm): fault trigger test forget connect timer and operator

See merge request espressif/esp-idf!27001
2023-11-17 16:31:36 +08:00
Lou Tianhao
7343d16a13 change(pm): add ESP_PM_LOCK_MAX in esp_pm_lock_type_t and change some description for esp_pm_lock_create 2023-11-17 16:24:01 +08:00
Lou Tianhao
a02f72bb81 change(pm/ext1): replace deprecated ext1 func 2023-11-17 16:20:54 +08:00
Lou Tianhao
5b91acb1a1 fix(pm/ext1): ext1_wakeup_prepare func when s_config.wakeup_triggers & RTC_EXT1_TRIG_EN == false 2023-11-17 16:20:38 +08:00
Lou Tianhao
cc0e73a11f feat(pm/ext1): support esp_sleep_enable_io_ext1_wakeup and esp_sleep_disable_io_ext1_wakeup
squash! feat(pm/ext1): support esp_sleep_enable_io_ext1_wakeup and esp_sleep_disable_io_ext1_wakeup
2023-11-17 16:20:38 +08:00
Mahavir Jain
7505667e7d Merge branch 'bugfix/esp32h2_ecdsa_hardware_k' into 'master'
fix(esp32h2): program use_hardware_k efuse bit for ECDSA key purpose

Closes IDF-8508 and IDF-8506

See merge request espressif/esp-idf!26918
2023-11-17 15:10:12 +08:00
Cao Sen Miao
85ced64983 change(i2c): Add check for scl frequency for master_bus_add_device
Closes https://github.com/espressif/esp-idf/issues/12598
2023-11-17 15:07:42 +08:00
wuzhenghui
6661e11203
fix(esp_hw_support): re-initialize icg map in modem_clock_module_enable 2023-11-17 14:05:23 +08:00
Jakob Hasse
7781bfae79 refactor(ci): prevent memory leak message without memory leak 2023-11-17 12:15:46 +08:00
Wang Meng Yang
a7fbf452fa Merge branch 'feature/support_for_32_and_128_bit_custom_uuids' into 'master'
feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs

Closes IDFGH-10721

See merge request espressif/esp-idf!27069
2023-11-17 11:48:57 +08:00
Lou Tianhao
7469df6c14 fix(pm/ext1): fix c6 h2 lp_aon_ll_ext1_set_wakeup_pins func 2023-11-17 11:38:20 +08:00
Wang Meng Yang
0107fe2076 Merge branch 'bugfix/add_par_check_in_ag_cind_res' into 'master'
Bugfix/add par check in ag cind res

See merge request espressif/esp-idf!27147
2023-11-17 11:07:50 +08:00
Wu Zheng Hui
a2f0198cd1 Merge branch 'bugfix/fix_onebyte_watchpoint_setting' into 'master'
fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting

See merge request espressif/esp-idf!27159
2023-11-17 10:47:23 +08:00
Jakob Hasse
46e44ee154 docs(soc): improved soc caps generation documentation 2023-11-17 10:43:59 +08:00
wanlei
4dcd6d7913 fix(spi): correct some signals and dummy bits docs 2023-11-17 02:39:28 +00:00
TD-er
90eada6993 fix(spi): Correct REG_SPI_BASE(i) macro for all targets
The existing formula can never match these registers.

Closes https://github.com/espressif/esp-idf/pull/12559
Closes https://github.com/espressif/esp-idf/pull/12562
2023-11-17 02:39:28 +00:00
Kevin (Lao Kaiyao)
2e6e47d988 Merge branch 'feature/support_touch_sensor_on_p4' into 'master'
feat(touch): pre-support of touch driver on p4

See merge request espressif/esp-idf!25569
2023-11-17 10:36:11 +08:00
Wang Meng Yang
1eff15b7eb Merge branch 'bugfix/spp_deinit_crash' into 'master'
fix(bt/bluedroid): Fix crash caused by undeleted timer in esp_spp_deinit

Closes BT-3492

See merge request espressif/esp-idf!27093
2023-11-17 10:33:27 +08:00
laokaiyao
bc0201d6f0 refactor(ana_cmpr): make analog comparator driver as component 2023-11-17 10:05:22 +08:00
Jin Cheng
57e3e97497 fix(bt/bluedroid): Avoided crash of LoadProhibited during HFP AG deinitialization
Move the release of the control blocks from the start
of deinitialization to the profile disabled event.
2023-11-17 09:39:46 +08:00
Roman Leonov
bd51768340 fix(usb/host): remove bInterval verification during pipe opening for INTR and ISOC EPs 2023-11-16 14:11:01 +01:00
zwx
da3107a159 feat(lwip): support NA router farwording flag set
* Update submodule: git log --oneline
  4a8286ab8bcf983f22421e3d4be650837b5eb277..542ba2997f6cc14fe9c3d781bf9b0d890cd70bb1
- fix router forwarding flag set (espressif/esp-lwip@542ba299)
2023-11-16 20:21:06 +08:00
muhaidong
147463a0ac fix(wifi): allow some special igtk keyindx to workaround faulty APs 2023-11-16 20:20:08 +08:00
harshal.patil
91af44d6e8
fix(soc/esp32h2): Fix llperi_rng_data field discrepancy 2023-11-16 17:49:26 +05:30
harshal.patil
798059ace1
fix(soc/esp32c6): Fix llperi_rng_data field discrepancy 2023-11-16 17:49:26 +05:30
Jin Cheng
eab9037b1c fix(bt/bluedroid): Added dynamic memory allocation for HFP control blocks 2023-11-16 20:10:29 +08:00
Armando (Dou Yiwen)
00124b6f65 Merge branch 'refactor/esp_driver_sdmmc' into 'master'
refactor(sdmmc): place sdmmc driver into a new component

See merge request espressif/esp-idf!27059
2023-11-16 20:02:23 +08:00
laokaiyao
f35ec64a0b feat(touch): support touch driver on p4 (soc) 2023-11-16 11:13:02 +00:00
Sudeep Mohanty
f01dbe0314 feat(freertos/idf): Add config option for FreeRTOS Timer Task core affinity
This commit adds the ability to set the core affinity for the FreeRTOS
Timer Service task when multi-core configuration is enabled. This commit
also adds a Kconfig option to set the core affinity of the timer task
via the menuconfig.

Closes https://github.com/espressif/esp-idf/issues/10315
2023-11-16 11:42:40 +01:00
wuzhenghui
783059a592 fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting 2023-11-16 18:11:57 +08:00
wuzhenghui
161bd8bfed change(soc): rename SOC_CPU_WATCHPOINT_SIZE to SOC_CPU_WATCHPOINT_MAX_REGION_SIZE 2023-11-16 18:11:57 +08:00
Island
dd5b091a8b Merge branch 'bugfix/fix_bt_3407' into 'master'
Fixed power state setting when entering modem sleep on esp32c3

See merge request espressif/esp-idf!27165
2023-11-16 17:09:29 +08:00
Armando
a2a489354b refactor(sdmmc): move sdmmc test apps to tools/test_apps 2023-11-16 15:37:32 +08:00
Armando
5b8d904a9b refactor(sdmmc): dependency inversion to sdmmc component 2023-11-16 15:37:32 +08:00
Armando
c7c38b7904 refactor(sdmmc): place sdmmc driver into a new component 2023-11-16 15:37:32 +08:00
Arno Moonen
fec80b5d36 fix(build): fix build failure if CMAKE_EXECUTABLE_SUFFIX is set
From: Arno Moonen <arno.moonen@airios.eu>

Follows original message from Arno Moonen <arno.moonen@airios.eu>

While integrating the ESP-IDF into our existing CMake structure,
I've come across quite some hurdles. Most I've been able to fix
in our CMake files, however this one I could not.

Most of the targets created by the esptool_py component assume
that the EXECUTABLE IDF build property (which contains the name
of the CMake executable target) always equals the name of the
created binary.

This is however not always true. For instance, in our setup we use
CMAKE_EXECUTABLE_SUFFIX_C and CMAKE_EXECUTABLE_SUFFIX_CXX in our
toolchain file (both set to .elf). If we do add_executable(my_app),
the target binary file would actually be my_app.elf.

In order to fix this, I've updated it to use the TARGET_FILE generated
expression. That way we also no longer need the EXECUTABLE_DIR IDF build
property here.

I've fixed this on v5.0.1 (as that's the ESP-IDF version I'm currently
trying to integrate), but I assume it should be easy to apply the same
fix to newer versions and the master branch as well.

Note that this problem might exist in multiple places where EXECUTABLE
is being used. While going through the ESP-IDF code base, I even noticed
that a few places actually already seem to use the TARGET_FILE expression.
To be honest the property name might be somewhat confusing as well, as it
is actually the executable target.

Closes https://github.com/espressif/esp-idf/pull/12558
2023-11-16 08:14:19 +01:00
Mahavir Jain
c4559198b8 Merge branch 'fix/cleanup_deleted_menuconfig_option_entries' into 'master'
fix(mbedtls): Fix menuconfig option entries

See merge request espressif/esp-idf!26699
2023-11-16 13:34:16 +08:00
C.S.M
9e70bda89e Merge branch 'feature/support_suspend_on_120m' into 'master'
feat(spi_flash): Enable auto suspend on when flash works under 120M

See merge request espressif/esp-idf!27119
2023-11-16 12:24:14 +08:00
Jiang Jiang Jian
461514319a Merge branch 'bugfix/coex_deprecate_config_rename' into 'master'
fix(esp_coex): Fix deprecated configuration options not rename to new one

Closes BT-3245

See merge request espressif/esp-idf!27068
2023-11-16 10:58:42 +08:00
ding huan
5fe34d7ed1 fix(conn): Change second connect delay time to 730 2023-11-16 10:51:01 +08:00
Jakob Hasse
bf6a904a44 Merge branch 'refactor/remove_unnecessary_mock_headers' into 'master'
refactor(ci): removed unnecessary hal and soc mock header files

Closes IDF-8511

See merge request espressif/esp-idf!27047
2023-11-16 09:37:21 +08:00
Jiang Jiang Jian
b7c2e63bb4 Merge branch 'bugfix/supplicant_disconnect_process' into 'master'
esp_wifi:  Fix bug in esp_wifi_deauthenticate_internal() & wpa_supplicant: Add parameter to configure reason code of deauth frame

Closes WIFIBUG-13

See merge request espressif/esp-idf!23776
2023-11-15 23:52:32 +08:00
Darian
fb8ff0e9fe Merge branch 'feature/freertos_add_valid_core_id_macro' into 'master'
feat(freertos/idf): Add taskVALID_CORE_ID() macro

See merge request espressif/esp-idf!27014
2023-11-15 20:51:55 +08:00
Xue Yun Fei
8ecee62c6d Merge branch 'bugfix/fix_dhcp_subnet_option_api_dos_not_work_issue' into 'master'
Fix(dhcps):fix dhcp subnet option api dos not work issue

See merge request espressif/esp-idf!26490
2023-11-15 20:14:28 +08:00
morris
b37b9b7d64 Merge branch 'docs/mcpwm_missing_fields_capture_channel_config' into 'master'
docs: fix MCPWM API Documentation Issue

Closes IDFGH-11443

See merge request espressif/esp-idf!27112
2023-11-15 18:26:37 +08:00
Darian
ce6519672f Merge branch 'feature/usb_dwc_otg_caps' into 'master'
change(usb): Add soc caps for DWC_OTG options

See merge request espressif/esp-idf!26961
2023-11-15 17:48:49 +08:00
Cao Sen Miao
66bba5694e feat(spi_flash): Enable auto suspend on when flash works under 120M 2023-11-15 17:27:42 +08:00
Omar Chebib
ca1a0bdc59 Merge branch 'bugfix/esp32p4_fpu_check' into 'master'
fix(riscv): fix a bug in FPU exception handling

See merge request espressif/esp-idf!27045
2023-11-15 17:19:55 +08:00
chenjianhua
7a07d51859 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(2758518)
- Fixed power state setting when entering modem sleep
2023-11-15 16:46:10 +08:00
Jin Cheng
f5c15be581 fix(bt/bluedroid): corrected the API documents of profile HFP and A2DP 2023-11-15 15:34:27 +08:00
Jin Cheng
4edd531fe3 fix(bt/bluedroid): Added some argument check in APIs of HFP AG 2023-11-15 15:18:22 +08:00
C.S.M
386111e8d1 Merge branch 'feature/add_tsens_intr_reason' into 'master'
feature(temperature_sensor): Add temperature sensor threshold interrupt reason

See merge request espressif/esp-idf!27126
2023-11-15 15:10:16 +08:00
Gao Xu
8d9e297301 Merge branch 'bugfix/fix_adc_read_zero_h2_new' into 'master'
ADC: fix adc raw data get 0 because of signal delay on ESP32H2

See merge request espressif/esp-idf!27023
2023-11-15 14:47:01 +08:00
Aditya Patwardhan
ae05f3f140 fix(mbedtls): Removed redundant menuconfig entry 2023-11-15 04:59:52 +00:00
Mahavir Jain
4a02987182 Merge branch 'fix/aes_mpi_interrupt_allocation_workflow' into 'master'
fix(mbedtls): move interrupt allocation during initialization phase

See merge request espressif/esp-idf!26525
2023-11-15 12:38:39 +08:00
Jakob Hasse
7b4cd55d97 refactor(ci): removed unnecessary hal and soc mock header files 2023-11-15 12:15:08 +08:00
Mahavir Jain
fec7fc30f1
fix(api-docs): include in the ECDSA APIs for doxygen build 2023-11-15 09:42:27 +05:30
Mahavir Jain
7bb29086df
docs: add ECDSA peripheral chapter for H2/P4
- Add ECDSA peripheral chapter and instructions to program efuse key block
- Update security guide for ECDSA peripheral mention for device identity
- Link with ESP-TLS guide about using ECDSA peripheral in TLS connection
2023-11-15 09:42:26 +05:30
Mahavir Jain
f9501f6ea9
fix(ecdsa): remove unused k_mode from the ECDSA HAL/LL API
For ESP32-H2 case, the hardware k mode is always enforced through
efuse settings (done in startup code).

For ESP32-P4 case, the software k mode is not supported in the peripheral
itself and code was redundant.
2023-11-15 09:42:26 +05:30
Mahavir Jain
94bf4710fa
fix(esp32h2): program use_hardware_k efuse bit for ECDSA key purpose
In ESP32-H2, the ECDSA peripheral by default uses the TRNG (hardware)
generated k value but it can be overridden to software supplied k.
This can happen through by overriding the `ECDSA_SOFTWARE_SET_K` bit
in the configuration register. Even though the HAL API is not exposed
for this but still it could be achieved by direct register
programming. And for this scenario, if sufficiently random k is not
supplied by the software then it could posses a security risk.

In this change, we are unconditionally programming the efuse
`ESP_EFUSE_ECDSA_FORCE_USE_HARDWARE_K` bit during startup security
checks itself. Additionally, same is ensured in the `esp_efuse_write_key`
API as well. This always enforces the hardware k mode in the ECDSA
peripheral and ensures strongest possible security.
2023-11-15 09:42:26 +05:30
Darian Leung
c12da6b77d feat(freertos/idf): Add taskVALID_CORE_ID() macro
This commit adds a taskVALID_CORE_ID() macro, similar to the one offered in
Amazon SMP FreeRTOS.

- Various functions have been updated to use that macro
- Removed some unecessary static asserts of CONFIG_FREERTOS_NO_AFFINITY and
added casting.
- Uncrustify changes
2023-11-15 11:53:26 +08:00
Sarvesh Bodakhe
b42e14c9b7 fix(wifi): fix bug in 'esp_wifi_deauthenticate_internal' and other improvements 2023-11-15 08:27:50 +05:30
xueyunfei
5982d1cda4 Fix(dhcps):fix dhcp subnet option api dos not work issue 2023-11-15 10:53:50 +08:00
Jiang Jiang Jian
65b8830d07 Merge branch 'bugfix/disallow_dpp_wps' into 'master'
fix(wifi): Disallow DPP and WPS concurrency

Closes WIFIBUG-205

See merge request espressif/esp-idf!26850
2023-11-15 10:41:59 +08:00
Sarvesh Bodakhe
2d83e3e7f4 fix(wpa_supplicant): Add some bugfixes in wpa_supplicant
1) Add parameter to configure reason code of deauth frame
2) Add logs to indicate MIC failure 4-Way-Handshake
3) Process RSNXE capabilities only if AP advertises them
2023-11-15 08:06:37 +05:30
Jin Cheng
97e9eb5ca8 fix(bt/bluedroid): Fix the crash of invalid access to released resources
It is caused by the delayed timer is alarmed after esp_spp_deinit.
2023-11-15 02:12:14 +00:00
Rahul Tank
677faec371 Merge branch 'bugfix/generate_new_irk_across_reboot' into 'master'
fix(nimble): Generate a new unique IRK for every chip.

Closes BLERP-75 and IDFGH-9564

See merge request espressif/esp-idf!26071
2023-11-15 00:04:49 +08:00
morris
9a6c279dbd fix(rmt): enable dma owner check
Closes https://github.com/espressif/esp-idf/issues/12564
2023-11-14 22:40:02 +08:00
David Čermák
0d12732b4c Merge branch 'bugfix/dhcp_opts_vsi_vci' into 'master'
lwip: Fix receiving of DHCP vendor info (GitHub PR)

Closes IDFGH-10591

See merge request espressif/esp-idf!25043
2023-11-14 22:36:10 +08:00
Sudeep Mohanty
bf237a2bd4 Merge branch 'feature/freertos_expose_list_integrity_check_option' into 'master'
feat(freertos): Exposed Kconfig option for configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES

Closes IDF-8366

See merge request espressif/esp-idf!26960
2023-11-14 21:27:19 +08:00
Darian Leung
c0de14d0b9 refactor(hal/usb_dwc): Add DWC OTG configuration values
This commit adds a subset of the DWC OTG configuration values to the
'usb_dwc_ll.h' file. Only relevant configuration values have been added.

Some DWC OTG releated constants have also been moved from 'usb_dwc_hal.h'
to 'usb_dwc_ll.h' and renamed.
2023-11-14 20:49:51 +08:00
Darian Leung
a51813d9d9 refactor(soc): SOC_USB_PERIPH_NUM option
This commit refactors SOC_USB_PERIPH_NUM as follows:

- Renamed to SOC_USB_OTG_PERIPH_NUM to avoid confusion with USB Serial JTAG
- Updated to unsigned integer "1U"
- Updated some build rules to depend on SOC_USB_OTG_SUPPORTED instead
2023-11-14 18:48:01 +08:00
Cao Sen Miao
343f03c3a7 feature(temperature_sensor): Add temperature sensor threshold interrupt reason 2023-11-14 18:23:33 +08:00
Omar Chebib
e56f5b15cc fix(riscv): fix a bug in FPU exception handling
On the ESP32-P4, it is possible to have an exception because of an FPU instruction
while EXT_ILL CSR is not zero and its FPU bit is not set.
2023-11-14 06:55:08 +00:00
morris
b50d30f860 docs(mcpwm): add missing explanation about keep_io_conf_at_exit
Closes https://github.com/espressif/esp-idf/issues/12579
2023-11-14 14:34:14 +08:00
Rahul Tank
4f20eec398 fix(nimble): Generate a new unique Local IRK for each chip 2023-11-14 10:36:09 +05:30
Wu Zheng Hui
bb95f9bcc6 Merge branch 'bugfix/fix_psram_access_faild_after_pd_cpu_wakeup' into 'master'
fix(esp_pm): fix psram access failed after pd_cpu wakeup if uart driver driven console is used

Closes WIFIBUG-238

See merge request espressif/esp-idf!27020
2023-11-14 11:50:50 +08:00
Jakob Hasse
dad563cfaf change(console): changed unit tests according to sorted help
Merges https://github.com/espressif/esp-idf/pull/12525
2023-11-14 11:33:45 +08:00
Jiang Jiang Jian
97e33fbb75 Merge branch 'bugfix/fix_lightsleep_current_leakage_on_usj_pad' into 'master'
fix(esp_hw_support): fix lightsleep current leakage on usb pad

Closes IDF-6154 and PM-18

See merge request espressif/esp-idf!26470
2023-11-14 11:17:29 +08:00
Marius Vikhammer
e7734a3367 Merge branch 'feature/g1_driver_refactors' into 'master'
refactor(system): removed dependency on driver from g1 components

Closes IDF-8454

See merge request espressif/esp-idf!27086
2023-11-14 09:45:47 +08:00
Jiang Jiang Jian
1b46e14054 Merge branch 'bugfix/add_header_files_for_wifi_os_adapter' into 'master'
Fix(esp_wifi):add missing stdbool.h and sdkconfig.h in wifi_os_adapter.h

Closes WIFI-6105

See merge request espressif/esp-idf!25669
2023-11-13 22:46:44 +08:00
Sudeep Mohanty
ff6b0ed148 Merge branch 'task/freertos_deprecate_xtaskgetaffinity' into 'master'
change(freertos/idf): Deprecate some FreeRTOS IDF addition functions

Closes IDF-8164 and IDF-8163

See merge request espressif/esp-idf!26875
2023-11-13 20:23:49 +08:00
Armando (Dou Yiwen)
035d5d17cf Merge branch 'feat/sdio_cross_chip_test_apps' into 'master'
sdio: cross chip test apps

Closes IDF-8459

See merge request espressif/esp-idf!26670
2023-11-13 18:58:54 +08:00
Sudeep Mohanty
11109fc386 Merge branch 'bugfix/freertos_define_list_volatile' into 'master'
fix(freertos/idf): Define configLIST_VOLATILE for list elements

Closes IDF-8361

See merge request espressif/esp-idf!27066
2023-11-13 16:56:57 +08:00
wuzhenghui
59ad88d9f7 fix(esp_pm): fix psram access faild after pd_cpu wakeup 2023-11-13 16:32:30 +08:00
wuzhenghui
232187d12c change(esp_pm): improve POWER_DOWN_TAGMEM_IN_LIGHT_SLEEP description
Rename PM_POWER_DOWN_TAGMEM_IN_LIGHT_SLEEP to PM_RESTORE_CACHE_TAGMEM_AFTER_LIGHT_SLEEP
and improve the description for it
2023-11-13 16:32:25 +08:00
zhangyanjiao
1b5fb22da8 feat(wifi/vendor): get more wifi information in csi rx callback 2023-11-13 16:08:45 +08:00
zhangyanjiao
6d4e41f992 doc(Wi-Fi/Vendor): Update comments for wifi_csi_info_t 2023-11-13 16:08:45 +08:00
xueyunfei
9df662703b Fix(esp_wifi): Add the missing header file to the wifi header files. 2023-11-13 16:08:45 +08:00
Jiang Jiang Jian
4f47c40542 Merge branch 'bugfix/add_disconnect_reason_codes' into 'master'
Add more descriptive reasons for disconnect.

Closes WIFI-2900

See merge request espressif/esp-idf!25321
2023-11-13 16:05:40 +08:00
Marius Vikhammer
d293ad94bd feat(pm): removed dependency on driver component 2023-11-13 15:49:12 +08:00
Marius Vikhammer
74887d81c9 refactor(system): removed dependency on driver from g1 components
esp-system and esp-hw-support, and the rest of the g1 components, now only depend on
esp_driver_spi and esp_driver_gpio. Removing the rest of the driver components from g1 builds.
2023-11-13 15:42:48 +08:00
morris
ed6ede696e Merge branch 'feature/esp_driver_mcpwm' into 'master'
feat(mcpwm): refactor mcpwm driver into a component

Closes IDF-8379

See merge request espressif/esp-idf!26738
2023-11-13 15:26:56 +08:00
gaoxu
36be1473de fix(adc): fix h2 adc oneshot read zero and add delay after getting done signal 2023-11-13 14:48:40 +08:00
jgujarathi
47e8de1d4d fix(esp_wifi): Add more descriptive reasons for disconnect
Adds 3 more ddisconnect reasons in case of No AP found.
1. REASON_NO_AP_FOUND_IN_RSSI_THRESHOLD : AP rejected because it did
   not meet rssi threshold.

2. REASON_NO_AP_FOUND_IN_AUTHMODE THRESHOLD : AP rejected because it
   did not meet security threshold.

3. REASON_NO_AP_FOUND_WITH_COMPATIBLE_ SECURITY : AP rejected because
   of incompatible security configuration. These situations could include
   -- bss offerring WEP, but our password is not WEP compliant,
   -- Encrypted AP bss but we have no password config set.
   -- AP is Enterprise but we have not setup enterprise config and vice versa

    Closes https://github.com/espressif/esp-idf/issues/5957
2023-11-13 14:22:59 +08:00
Jakob Hasse
342d6ba882 Merge branch 'bugfix/newlib_test_correct_assertions' into 'master'
fix(newlib,ci): wrong floating point number handling in tests

See merge request espressif/esp-idf!27032
2023-11-13 12:22:16 +08:00
Jiang Jiang Jian
735b9cd827 Merge branch 'bugfix/build_error_when_enable_ag_and_hf' into 'master'
fix(bt/bluedroid): Fix build error when both of the HFP roles are enabled

See merge request espressif/esp-idf!27073
2023-11-13 11:26:19 +08:00
Armando
faa6e51086 feat(sdio): sdio cross chip test app 2023-11-13 11:21:47 +08:00
Jiang Jiang Jian
907a7d9977 Merge branch 'test/ctrl_acl_u_pkt_type' into 'master'
feat(bt/bluedroid): Added an API to specific data types for ACL-U traffic

See merge request espressif/esp-idf!26173
2023-11-13 11:17:37 +08:00
Steven Burnett
0a79d13a2d Add option to configure FATFS_USE_LABEL in menuconfig 2023-11-11 23:00:08 +00:00
Rahul Tank
9d49241c92 Merge branch 'bugfix/remove_bond' into 'master'
fix(nimble): Handled deletion of IRK/LTK on basis of key availability.

Closes BLERP-81, BLERP-127, BLERP-128, BLERP-129, and BLERP-219

See merge request espressif/esp-idf!26128
2023-11-11 14:06:42 +08:00
wuzhenghui
0ab0d2182e fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad 2023-11-11 13:00:55 +08:00
Wu Zheng Hui
573d06f6f7 Merge branch 'bugfix/move_fe_32m_to_adc_fe_common_clock' into 'master'
fix(esp_hw_support): move fe_32m to fe/adc common clock

Closes IDF-8540

See merge request espressif/esp-idf!27030
2023-11-10 23:40:31 +08:00
Ondrej Kosta
1844a6680c Merge branch 'bugfix/lan8720_ci_speed' into 'master'
Added ioctl option to read/write PHY registers + addressed LAN8720 errata

Closes IDFCI-1845

See merge request espressif/esp-idf!26796
2023-11-10 23:24:26 +08:00
Wang Mengyang
479cecc1f8 fix(bt/bluedroid): Fix build error when both of the HFP roles are enabled and also CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY is set to true 2023-11-10 20:14:01 +08:00
Sudeep Mohanty
289913daaf fix(freertos/idf): Define configLIST_VOLATILE for list elements
It was noticed that when high level compiler optimizations are enabled,
the compiler optimizes some list manupulation code. This commit enables
the configLIST_VOLATILE for list elements to prevent the compiler from
optimizing out essential kernel code.
2023-11-10 09:23:51 +01:00
Abhinav Kudnar
0af52055e1 fix(nimble): Handled IRK/LTK deletion based on key availability 2023-11-10 12:27:21 +05:30
Rahul Tank
f9d334bc96 Merge branch 'bugfix/pairing_when_enc_with_no_key_fails' into 'master'
fix(nimble): Initate pairing if encryption fails with reason no pin or key missing

Closes BLERP-231

See merge request espressif/esp-idf!27010
2023-11-10 14:37:43 +08:00
Guillaume Souchere
fd2b8b5eb3 fix(heap): Update the heap memory layout on esp32p4 target
- fix the value of SOC_ROM_STACK_START in soc.h
- Update the memory usage of ROM bootloader appendix in bootloader.ld
- Update the soc_memory_regions table to minimize the number of regions
  created after the startup stack is added back as a heap.
2023-11-10 07:29:22 +01:00
Song Ruo Jing
365123dfaa Merge branch 'bugfix/uart_custom_console' into 'master'
fix(console): enable to select UART1 port for console output

Closes IDF-6190

See merge request espressif/esp-idf!26642
2023-11-10 12:31:22 +08:00
linruihao
33909cfa68 fix(esp_coex): Fix deprecated configuration options not rename to new one 2023-11-10 12:03:27 +08:00
Jiang Jiang Jian
221122ebeb Merge branch 'bugfix/fix_deinit_init_wifi_scan_fail_issue' into 'master'
fix(wifi): fix deinit init wifi scan fail issue

Closes WIFIBUG-200 and WIFI-5775

See merge request espressif/esp-idf!26957
2023-11-10 11:05:03 +08:00
Guillaume Souchere
6ab440168a Merge branch 'fix/heap-task-tracking' into 'master'
fix(heap): Fix bugs in heap task tracking

Closes IDFGH-11348 and IDFGH-11345

See merge request espressif/esp-idf!26730
2023-11-09 23:51:00 +08:00
Song Ruo Jing
46d33e46ef fix(console): enable to select UART1 port for console output
This feature was only enabled for esp32, esp32s2, esp32s3 previously.
Now, enabling this feature for all targets.
2023-11-09 22:32:49 +08:00
morris
eb5183f503 feat(mcpwm): refactor mcpwm driver into a component 2023-11-09 22:05:06 +08:00
Sudeep Mohanty
d507a86285 feat(freertos): Exposed Kconfig option for configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES
This commit exposes the FreeRTOS List integrity check option
configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES via menuconfig.
2023-11-09 14:54:13 +01:00
Jiang Jiang Jian
92c4714128 Merge branch 'bugfix/fix_softap_set_config_issue' into 'master'
fix(wifi): fix some wifi bugs

Closes WIFI-6207

See merge request espressif/esp-idf!25242
2023-11-09 21:53:55 +08:00
Armando (Dou Yiwen)
2b173ce727 Merge branch 'refactor/esp_driver_spi' into 'master'
refactor(spi): make spi driver as component

Closes IDF-8371

See merge request espressif/esp-idf!26549
2023-11-09 21:41:29 +08:00
Sonika Rathi
c8243465e4 Merge branch 'bugfix/uart_vfs_select_in_iram' into 'master'
fix: add UART VFS select callback in IRAM when CONFIG_UART_ISR_IN_IRAM is enabled

See merge request espressif/esp-idf!24899
2023-11-09 20:14:48 +08:00
zhanghaipeng
4c9861d40d feat(bt/bluedroid): Support ble create sync report disable and filter duplicate 2023-11-09 17:30:23 +08:00
wuzhenghui
1537cbf9c7 fix(esp_hw_support): move fe_32m to fe/adc common clock 2023-11-09 17:26:24 +08:00
Jakob Hasse
8624e9edf4 fix(newlib,ci): wrong floating point number handling in tests 2023-11-09 17:12:07 +08:00
Guillaume Souchere
e8f046358d fix(heap): Add missing test for heap task tracking config
- Add sdkconfig.ci.task_tracking that runs generic tests
with heap task tracking enabled.
- Add task_tracking.c that includes a test checking that
a created task that allocates memory is added to the list
of task tracked by the heap task tracking feature.
2023-11-09 09:20:45 +01:00
Guillaume Souchere
872bc74954 fix(heap): Fix bugs in heap task tracking
Update task tracking feature to fix bugs introduced when
decoupling task tracking from heap poisoning.

Closes https://github.com/espressif/esp-idf/issues/12498
Closes https://github.com/espressif/esp-idf/issues/12493
2023-11-09 09:20:45 +01:00
Alon Bar-Lev
07a9137fd7 change(console): print sorted help
console commands may be registered in random order in application, for example
each module registers its own commands.

the output of help is displayed to human, best to have consistent sorted
output so that the implementation ordering will not affect the output and
allow the user to see a list in some logic order.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2023-11-09 10:18:42 +02:00
Armando
f346e96e72 change(spi): update test_app build dependency 2023-11-09 14:50:25 +08:00
Armando
714ad573e7 refactor(esp_driver_spi): reformat code with astyle_py 2023-11-09 14:50:05 +08:00
wanlei
3c7609fc53 ci(driver): reduce spi test_app build times 2023-11-09 14:50:05 +08:00
Armando
fca46eac52 refactor(spi): make spi driver as component 2023-11-09 14:50:05 +08:00
Wan Lei
c8c7f999ef Merge branch 'feature/esp32p4_hp_spi_slave_hd_support' into 'master'
Feature/esp32p4 hp spi slave hd support

Closes IDF-7505

See merge request espressif/esp-idf!25974
2023-11-09 14:42:05 +08:00
morris
3d0115034e Merge branch 'contrib/github_pr_12450' into 'master'
Support SSD1306 128x32 (GitHub PR)

Closes IDFGH-11296

See merge request espressif/esp-idf!26943
2023-11-09 14:37:52 +08:00
muhaidong
91bd2c8541 change(hal): remove useless code from periph_ll_wifi_bt_module_enable_clk 2023-11-09 14:17:54 +08:00
Aditya Patwardhan
7c1d9a5813 fix(soc): esp32s3/Fix the DROM_DROM_HIGH limit
Previously the DROM_HIGH_ADDR for esp32s3 was 0x3D000000, which
    convers only 16 MB of address range. But esp32s3 supports 32 MB
    external memory. So this address should be 0x3E000000
2023-11-09 09:58:17 +05:30
muhaidong
1ddcca6dcd fix(wifi): fix deinit init wifi scan fail issue 2023-11-09 12:05:20 +08:00
C.S.M
647f0d24a7 Merge branch 'feature/suspend_tsus_config' into 'master'
feat(spi_flash): Support configurable tSUS in flash suspend and update the test

See merge request espressif/esp-idf!26567
2023-11-09 10:45:17 +08:00
Rahul Tank
a823541487 fix(nimble): Initate pairing if encryption fails with reason no pin or key missing 2023-11-08 18:56:50 +05:30
Ondrej Kosta
383bb46298 ci(esp_eth): addressed LAN8720 errata in CI test 2023-11-08 12:40:28 +00:00
Ondrej Kosta
78f791d4d5 feat(esp_eth): added ioctl option to read/write PHY registers
LAN87xx: Added extra delay after setting PHY speed
2023-11-08 12:40:28 +00:00
Island
294c2bd70d Merge branch 'debug/fix_ble_scan_rsp' into 'master'
Debug/fix ble scan rsp

Closes BLERP-190 and BLERP-225

See merge request espressif/esp-idf!26988
2023-11-08 19:39:53 +08:00
muhaidong
407ff67128 fix(wifi): sta not pmf capable when ap requires should reject profile 2023-11-08 19:12:37 +08:00
sonika.rathi
9c82ad06c3 fix(vfs/uart): add UART VFS select callback in IRAM
UART VFS select callback is placed in IRAM when CONFIG_UART_ISR_IN_IRAM is enabled
2023-11-08 11:34:22 +01:00
morris
6f35f4be4d fix(mcpwm): fault trigger test forget connect timer and operator 2023-11-08 17:44:30 +08:00
morris
5cc965e6cb Merge branch 'feature/rmt_receive_in_isr' into 'master'
feat(rmt): support calling rmt_receive in ISR callback

Closes IDF-8488

See merge request espressif/esp-idf!26874
2023-11-08 14:25:52 +08:00
Jiang Jiang Jian
2051a9fe46 Merge branch 'bugfix/fix_esp_wifi_esp_phy_esp_coex_license_and_header_file_docs_issue' into 'master'
esp_supplicant: remove wpa supplicant ROM source code copyrights

Closes WIFI-5528, WIFI-6224, and DOC-6408

See merge request espressif/esp-idf!23059
2023-11-08 14:11:12 +08:00
Darian
c4eea80c07 Merge branch 'change/freertos_local_crit_section_macro' into 'master'
change(freertos/idf): Refactor thread safety convenience macros

Closes IDF-8161

See merge request espressif/esp-idf!26805
2023-11-08 10:29:22 +08:00
zhangyanjiao
7cd1115815 fix(wifi/mesh): fix the IE crypto disable error and update doc 2023-11-08 10:24:45 +08:00
morris
7121e8f78d refactor(lcd): reuse the color types in the hal/color_types.h 2023-11-08 10:09:42 +08:00
morris
0c3f80495a feat(ssd1306): support 128x32 resolution 2023-11-08 09:58:50 +08:00
morris
2be27f292e change(esp_lcd): split panel vendor driver into seperate header file 2023-11-08 09:58:50 +08:00
Alexey Storozhev
c4dc16c612 feat(ssd1306): Add vendor specific configuration for SSD1306
Merges https://github.com/espressif/esp-idf/pull/12450
2023-11-08 09:58:50 +08:00
zhanghaipeng
ba2f5c4475 fix(bt/bluedroid): Fix ble adv report evt type 2023-11-07 19:59:35 +08:00
zhanghaipeng
c189842b82 fix(bt/bluedroid): Fix ble keysize check 2023-11-07 19:52:59 +08:00
Cao Sen Miao
ef46828683 docs(i2c): Modify some variables in I2C driver for good docs 2023-11-07 18:42:08 +08:00
Wu Zheng Hui
a9ea49cba2 Merge branch 'bugfix/clear_ulp_wake_intr_in_wake_source_enable' into 'master'
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable

Closes PM-14

See merge request espressif/esp-idf!26674
2023-11-07 16:58:38 +08:00
Liu Linyan
9aeca2516f Merge branch 'test/ble_mesh_sar_enh' into 'master'
update(ble_mesh): Miscellaneous updates/fixes and support SAR enhancement

See merge request espressif/esp-idf!26871
2023-11-07 16:12:27 +08:00
morris
eb0258e618 Merge branch 'refactor/ringbuffer_set_build_test_dependency' into 'master'
change(esp_ringbuf): specify build test dependency

Closes IDF-8395

See merge request espressif/esp-idf!26965
2023-11-07 16:08:59 +08:00
wanlei
2e115ec98c feat(spi_slave_hd): p4 update examples and document 2023-11-07 16:01:44 +08:00
wanlei
daeb71d7e4 feat(spi_slave_hd): add esp32p4 support for seg and append mode 2023-11-07 15:59:56 +08:00
Jakob Hasse
af0a502f97 Merge branch 'bugfix/linux_gpio_definitions' into 'master'
fix(driver): gpio number definitions on Linux

Closes IDFGH-11376

See merge request espressif/esp-idf!26934
2023-11-07 12:24:29 +08:00
wanlei
751efec8b6 refactor(spi_slave_hd): refactor append mode dma_desc struct 2023-11-07 12:06:45 +08:00
morris
369e423dad change(esp_ringbuf): specify build test dependency 2023-11-07 10:40:00 +08:00
Armando (Dou Yiwen)
0c81f41e16 Merge branch 'bugfix/fix_wrong_adc_attenuation_name' into 'master'
adc: rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12

See merge request espressif/esp-idf!26460
2023-11-07 10:37:24 +08:00
morris
5f9d8a77ed Merge branch 'feature/esp_driver_gptimer' into 'master'
refactor(gptimer): refactor gptimer driver into a component

Closes IDF-8375

See merge request espressif/esp-idf!26716
2023-11-07 01:17:29 +08:00
muhaidong
deed5684ce change(wifi): update esp_coexist_internal.h and esp_modem_wrapper.h 2023-11-06 21:55:33 +08:00
muhaidong
3e98a7be6e docs(esp_mesh): update esp_mesh_internal.h 2023-11-06 21:55:21 +08:00
muhaidong
0851c7135d update(wifi): update esp_wifi_crypto_types.h 2023-11-06 21:55:11 +08:00
muhaidong
dea39f359e update(esp_coexist): update esp coexist header file 2023-11-06 21:54:59 +08:00
Jiang Jiang Jian
e4d70e98e5 Merge branch 'bugfix/fix_fragment_bug' into 'master'
fix(wifi): fix rate check error in fragment

See merge request espressif/esp-idf!26913
2023-11-06 20:34:59 +08:00
Armando
d3be2541de fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12
By design, it's 12 dB. There're errors among chips, so the actual
attenuation will be 11dB more or less
2023-11-06 18:55:49 +08:00
Cao Sen Miao
dcff5220a7 feat(spi_flash): Support configurable tSUS in flash suspend 2023-11-06 18:04:43 +08:00
Kapil Gupta
8768c9231c Merge branch 'bugfix/dpp_config_memset' into 'master'
fix(wpa_supplicant): memzero wifi config before sending config event

Closes WIFIBUG-230

See merge request espressif/esp-idf!26915
2023-11-06 17:33:36 +08:00
morris
2ef14fe55e refactor(gptimer): refactor gptimer driver into a component 2023-11-06 17:09:31 +08:00
Harshit Malpani
61d4775027
fix(esp_http_client): Fix esp_http_client async mode
Closes https://github.com/espressif/esp-idf/issues/12358
2023-11-06 13:13:15 +05:30
Song Ruo Jing
8029946cba Merge branch 'refactor/esp_driver_gpio' into 'master'
refactor(gpio): make gpio driver as component

See merge request espressif/esp-idf!26509
2023-11-06 15:03:30 +08:00
harshal.patil
d3be7bda05
fix(mbedtls): move interrupt allocation during initialization phase 2023-11-06 11:20:53 +05:30
Jiang Jiang Jian
25f729c758 Merge branch 'bugfix/hal_memcpy' into 'master'
fix(hal): Fix incorrect behavior of hal_memcpy

Closes IDFGH-11341

See merge request espressif/esp-idf!26801
2023-11-06 11:31:13 +08:00
Jakob Hasse
96d7e0762d fix(driver): gpio number definitions on Linux
* Removed gpio_types.h as it is already available
  for Linux in the hal component.
* Moved gpio_num.h from tools/mocks to soc component
  and added missing GPIO pin definitions

Closes https://github.com/espressif/esp-idf/issues/12520
2023-11-06 11:16:50 +08:00
zhangyanjiao
9cab732a29 fix(wifi): fix rate check error in fragment 2023-11-06 11:09:44 +08:00
Liu Linyan
ff7639bcd6 feat(ble_mesh): Support Bluetooth Mesh SAR enhancement 2023-11-06 10:34:51 +08:00
Liu Linyan
c628a94513 fix(ble_mesh): Miscellaneous updates and fixes 2023-11-06 10:34:50 +08:00
Liu Linyan
4c2236c9b5 update(ble_mesh): Remove useless mesh lib copy script 2023-11-06 10:34:50 +08:00
Xu Xiao
29438504c4 Merge branch 'fix/fix_some_esp32c6_wifi_bugs' into 'master'
fix(wifi): fixed esp32c6 rxctrl info is not correct

Closes WIFI6-341, WIFI6-342, and WIFI6-343

See merge request espressif/esp-idf!26671
2023-11-06 10:19:40 +08:00
Rahul Tank
6ab25d7de6 Merge branch 'feature/current_time_service' into 'master'
feat(nimble): Added Example support for Current Time Service

Closes BLERP-217

See merge request espressif/esp-idf!25658
2023-11-04 21:30:17 +08:00
Michael (XIAO Xufeng)
bf86aeb19e Merge branch 'bugfix/ram_load_app_mmap' into 'master'
ram_load_app: fixed mmap can't run on main flash issue

See merge request espressif/esp-idf!24601
2023-11-04 18:48:55 +08:00
Roshan Bangar
aabb595860 feat(nimble): Added example support for Current Time Service 2023-11-04 13:21:59 +05:30
darshan
10f06abf32 fix(nimble): Fixed incorrect handling of bonded devices 2023-11-04 09:12:17 +05:30
Rahul Tank
32e3ecb788 fix(nimble): Added check to validate allowed random address 2023-11-04 06:34:54 +05:30
KonstantinKondrashov
b366dad79b fix(hal): Fix incorrect behavior of hal_memcpy
Closes https://github.com/espressif/esp-idf/issues/12489
2023-11-03 23:36:37 +08:00
Sudeep Mohanty
ebeea3df60 Merge branch 'revert/freertos_same_priority_preemption_disabled' into 'master'
Revert "fix(freertos/idf): Add workaround for same priority preemption in xTaskIncrementTick()"

Closes IDF-8428

See merge request espressif/esp-idf!26732
2023-11-03 21:59:17 +08:00
Sudeep Mohanty
d38f100223 change(freertos/idf): Deprecate some FreeRTOS IDF addition functions
This commit deprecates xTaskGetAffinity(), xTaskGetCurrentTaskHandleForCPU()
and xTaskGetIdleTaskHandleForCPU() APIs for IDF-FreeRTOS kernel.
Instead, users are directed to use alternatives. All other
components in IDF using these functions have been updated accordingly.
2023-11-03 14:54:06 +01:00
Rahul Tank
c8cae65f45 Merge branch 'bugfix/ble_gap_connect' into 'master'
fix(nimble):Handled the Load access fault crash caused due to an invalid setting of index-variable  'reattempt_idx'.

Closes BLEQABR23-698

See merge request espressif/esp-idf!26584
2023-11-03 19:57:03 +08:00
David Čermák
a7cba03a28 Merge branch 'fix/netif_macro_semicolon' into 'master'
esp_netif: Remove semicolons from ESP_IP4ADDR_INIT and ESP_IP6ADDR_INIT macros (GitHub PR)

Closes IDFGH-10189

See merge request espressif/esp-idf!26759
2023-11-03 18:25:15 +08:00
Kapil Gupta
c815fe67fa fix(wpa_supplicant): memzero wifi config before sending config event 2023-11-03 15:44:08 +05:30
morris
14b7db5dd0 feat(rmt): support calling rmt_receive in ISR callback 2023-11-03 15:42:56 +08:00
Song Ruo Jing
9461993ec5 refactor(gpio): make gpio driver as component, and fix astyle 2023-11-03 15:42:23 +08:00
Darian Leung
52a929521d refactor(freertos/idf): Update thread safety convenience macros
This commit refactors some of the thread safety convenience macros by removing
some repeated definitions and keeping them all in "freertos_idf_additions_priv.h"
2023-11-03 15:41:46 +08:00
Darian Leung
e2c8185f72 fix(freertos/idf): Fix xEventGroupGetBitsFromISR() critical section
Adds missing critical section to xEventGroupGetBitsFromISR() that is required
in dual-core SMP.
2023-11-03 15:41:39 +08:00
Rahul Tank
e689cc55d8 Merge branch 'feature/protocomm_update_params' into 'master'
fix(protocomm): added Protocomm BLE Event Structure and Event Handling

See merge request espressif/esp-idf!26707
2023-11-03 14:09:27 +08:00
xuxiao
5c3a7ec88a fix(wifi): fix esp32c6 rxctrl info is not correct 2023-11-03 13:55:45 +08:00
Kevin (Lao Kaiyao)
3ea8519a9e Merge branch 'bugfix/fix_pdm_rx_high_pass_cut_off_coeff' into 'master'
bugfix(i2s): fix pdm rx high pass filter cut off coeff

See merge request espressif/esp-idf!26835
2023-11-03 12:46:08 +08:00
Omar Chebib
ff2a492002 Merge branch 'staging/espcoredump_move_strings_flash' into 'master'
change(espcoredump): save RAM space by placing constants in flash

See merge request espressif/esp-idf!26872
2023-11-03 12:20:25 +08:00
kohait00
fc295ec021
fix(app_update): avoid erasing an extra sector than the actual required size
OTA update used to fail if `firmware_size == partition_size`, because the code was trying to
erase one additional sector beyond the space reserved for the firmware partition.

This commit fixes the problem and OTA update can work if the firmware
size exactly matches the allocated partition size.

Closes https://github.com/espressif/esp-idf/pull/12460
2023-11-03 09:30:55 +05:30
Jiang Jiang Jian
0eae131fe5 Merge branch 'bugfix/add_config_for_tcp_ooseq' into 'master'
Fix(lwip):bugfix for add config for tcp ooseq bufs

Closes WIFI-6185

See merge request espressif/esp-idf!25346
2023-11-03 11:04:40 +08:00
Omar Chebib
342535f47c Merge branch 'contrib/github_pr_12105' into 'master'
feat(espcoredump): Support for not overwriting existing core dump in flash (GitHub PR)

Closes IDFGH-10907

See merge request espressif/esp-idf!26865
2023-11-03 10:51:39 +08:00
Jiang Jiang Jian
7ae8e1c438 Merge branch 'feat/optimize_bin_size' into 'master'
feat(wifi): Optimize bin size for STA only mode

Closes IDF-8120, IDFGH-11017, and WIFI-5010

See merge request espressif/esp-idf!25642
2023-11-03 09:39:17 +08:00
Jiang Jiang Jian
1936c2f14c Merge branch 'bugfix/fixed_ble_disconnect_under_temp_change' into 'master'
fix(ble): fixed ble disconnection issue under temperature change

See merge request espressif/esp-idf!26827
2023-11-03 05:07:59 +08:00
Gao Xu
dce1e8d96a Merge branch 'feature/support_adc_calibration_on_h2' into 'master'
adc_cali: supported adc calibration v1 on ESP32H2

Closes IDF-6216

See merge request espressif/esp-idf!26463
2023-11-03 01:49:00 +08:00
Ilia Lutchenko
0a23da71ac feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs
1. Added new API functions that can add 32 and 128-bit UUID to the EIR data
when these UUIDs are set in SDP.
The old functions that only work with 16-bit UUIDs have been left
unchanged to avoid having to redo code that already utilizes them.

2. Fixed bug with zero handler return in btc_sdp.c
sdp_create_record.handle in tBTA_SDP struct wasn't saved before.
Because of it Bluetooth stack always returned zero handler to
application callback.

Closes https://github.com/espressif/esp-idf/issues/11529
2023-11-02 17:43:55 +01:00