Commit Graph

22923 Commits

Author SHA1 Message Date
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
Mahavir Jain
69e89c4e95 Merge branch 'contrib/github_pr_12459' into 'master'
manager: fixing unwinding protocom endpoints, on prov_stop. (GitHub PR)

Closes IDFGH-11307

See merge request espressif/esp-idf!26742
2023-11-02 23:47:22 +08:00
Sudeep Mohanty
4979ce604a Merge branch 'feature/frertos_idle_task_name_suffix' into 'master'
fix(freertos/idf): Updated IDLE task names for each core to have the coreID as a suffix

Closes IDFGH-11021 and IDF-8220

See merge request espressif/esp-idf!26723
2023-11-02 23:34:16 +08:00
Abhinav Kudnar
0132cce1cc fix(nimble):Handled the Load access fault crash caused due to an invalid setting of index-varible 'reattempt_idx'. 2023-11-02 17:30:48 +05:30
Guillaume Souchere
4cdb2f3f93 Merge branch 'fix/patch-heap-rom-integrity-check' into 'master'
fix(heap): Patch tlsf_check_pool in ROM heap

See merge request espressif/esp-idf!26615
2023-11-02 19:21:43 +08:00
Omar Chebib
8ac4b48b2f change(espcoredump): save RAM space by placing constants in flash
All the log messages of espcoredump component used to be in DRAM, which would
lower the available RAM space for the user application. Since the cache is always
enabled after an exception, constants can be put in flash.
2023-11-02 19:09:57 +08:00
Island
ca331989f8 Merge branch 'feat/support_clear_legacy_adv_on_esp32c3' into 'master'
Support clear legacy adv using vendor hci on esp32c3

Closes BLERP-191

See merge request espressif/esp-idf!26696
2023-11-02 19:00:05 +08:00
Island
dc66da9d1d Merge branch 'feat/support_clear_legacy_adv_on_esp32' into 'master'
Support clear legacy adv using vendor hci on esp32

Closes BLERP-191

See merge request espressif/esp-idf!26697
2023-11-02 18:59:48 +08:00
Jakob Hasse
e176b8990e Merge branch 'bugfix/esp_event_tests' into 'master'
fix(esp_event): dedicated task test now waits for semaphore correctly

See merge request espressif/esp-idf!26777
2023-11-02 18:43:03 +08:00
darshan
e1ec13548f fix(protocomm): added Protocomm BLE Event Structure and Event Handling 2023-11-02 15:37:50 +05:30
Jin Cheng
46327936cb feat(bt/bluedroid): Added an API to specify data types for ACL-U traffic 2023-11-02 17:43:04 +08:00
Jiang Jiang Jian
5f697d8641 Merge branch 'bugfix/increase_esp32h2_slow_clock_calibration_wdt_threshold' into 'master'
fix(esp_system): increase esp32h2 slow clock calibration timeout watchdog threshold

Closes PM-15

See merge request espressif/esp-idf!26634
2023-11-02 17:08:58 +08:00
Jiang Jiang Jian
b839a70aea Merge branch 'bugfix/lp_active_slow_clock_domain_default_power_down' into 'master'
In the LP ACTIVE state, the slow clock power domain is by default in a powered-off state

Closes IDF-8410

See merge request espressif/esp-idf!26599
2023-11-02 17:04:30 +08:00
Jiang Jiang Jian
39b2af9a29 Merge branch 'bugfix/fix_some_rom_ld_issue' into 'master'
fix(rom): fix wifi rom ld

See merge request espressif/esp-idf!26767
2023-11-02 16:10:58 +08:00
Simon Arlott
1feb3c9f9b espcoredump: Support for not overwriting existing core dump in flash
If there's an unattended boot loop or a crash that causes another crash on
the next boot, it needs to be possible to avoid overwriting a saved core
dump with another core dump.

Add an option to do this and skip writing core dumps if the partition isn't
empty.

Fixes #12027.

Mergeshttps://github.com/espressif/esp-idf/pull/12105
2023-11-02 06:58:47 +00:00
Kapil Gupta
c84b2cbaed fix(esp_wifi): Drop fragmented AMPDU(fixCVE-2020-26142) 2023-11-02 14:05:47 +08:00
alanmaxwell
8a47c4875b fix(wifi): optimize wifi bin size and fix some issue
1.Optimize bin size for STA only mode
2.Change fragment threshold to 256
3.Support fragment for LR mode
4.Fix ampdu duration issue
5.Fix rx fragment fail in Open mode.
2023-11-02 14:05:45 +08:00
Konstantin Kondrashov
c13e41ae18 Merge branch 'feature/memalign_internal_external_as_malloc' into 'master'
fix(heap): memalign respect malloc_alwaysinternal_limit (PR)

Closes IDFGH-11209

See merge request espressif/esp-idf!26409
2023-11-02 13:59:32 +08:00
Jiang Jiang Jian
b10580fb04 Merge branch 'bugfix/supplicant_tls_fix' into 'master'
fix(wpa_supplicant): Correct iv lenght passed in mbedtls_cipher_set_iv()

Closes WIFIBUG-212

See merge request espressif/esp-idf!26837
2023-11-02 13:59:05 +08:00
Marius Vikhammer
95703297a6 Merge branch 'ci/psram_config_fix' into 'master'
ci: fix warnings for invalid kconfig option

See merge request espressif/esp-idf!23250
2023-11-02 13:44:04 +08:00
Mahavir Jain
7441cdb82b Merge branch 'feature/esp_crt_bundle_deprecated_list' into 'master'
esp_crt_bundle: add support for deprecated cert list and relevant config

Closes IDF-8188 and IDFGH-10992

See merge request espressif/esp-idf!26734
2023-11-02 12:07:58 +08:00