Commit Graph

23837 Commits

Author SHA1 Message Date
Tomas Rezucha
6f30198ca3 feat(esp_hid): Add Connection Request event
This event is useful for situations where the HID device
requests connection. Typically in USB transport.
2024-02-07 15:34:55 +08:00
Tomas Rezucha
f7bff8b1fc refactor(esp_hid): Create new esp_hid_addr_t type 2024-02-07 15:34:55 +08:00
Tomas Rezucha
56a159a7d5 refactor(esp_hid): Move header files to esp_private directory
esp_hidd_private.h and esp_hidh_private.h are required by components
that extend esp_hid with a new transport layer, such as USB
2024-02-07 15:34:55 +08:00
Wang Meng Yang
4fb231088d Merge branch 'bugfix/fix_dangling_pointer_in_remove_bond_list_section' into 'master'
fix(bt/bluedroid): fix dangling pointer issue when logging removed section

See merge request espressif/esp-idf!28734
2024-02-07 14:51:17 +08:00
Song Ruo Jing
95133c179f feat(clk): preliminary clock tree support for ESP32C5 2024-02-07 14:38:15 +08:00
Song Ruo Jing
5276cd4f1d refactor(uart): add support to be able to test LP_UART port
Increase LP_UART_EMPTY_THRESH_DEFAULT value to 4. The original value
could cause the FIFO become empty before filling next data into the FIFO
when the buadrate is high. TX_DONE interrupt would raise before actual
transmission complete in such case.
2024-02-07 14:37:48 +08:00
Song Ruo Jing
dce27c3b09 change(clk_tree): add LP_DYN_FAST_CLK to soc_module_clk_t 2024-02-07 14:37:48 +08:00
liuning
42a0128d9c fix(wifi): fix wifi stop cost too much time 2024-02-07 13:49:18 +08:00
liuning
3fa9c578f9 fix(clk): clear all lpclk source at clk init 2024-02-07 13:49:18 +08:00
Marius Vikhammer
a2e5770bce Merge branch 'bugfix/c5_bringup_rtc_error' into 'master'
fix(system): fixed rtc_sleep not being placed in IRAM

Closes IDFCI-2022

See merge request espressif/esp-idf!28912
2024-02-07 13:16:03 +08:00
Mahavir Jain
e0dd917d31 Merge branch 'bugfix/update_incorrect_refereing_of_function_esp_https_ota_get_img_desc' into 'master'
fix(esp_https_ota): fix incorrect references of API esp_https_ota_get_img_desc()

See merge request espressif/esp-idf!28891
2024-02-07 12:05:58 +08:00
Marius Vikhammer
bca642f330 Merge branch 'refactor/astyle_timer' into 'master'
refactor(system): reformated esp_timer, linux and log comp with astyle

See merge request espressif/esp-idf!28876
2024-02-07 10:13:03 +08:00
Marius Vikhammer
2d8d87b396 fix(system): fixed rtc_sleep not being placed in IRAM 2024-02-07 09:47:23 +08:00
Martin Vychodil
590ebd3a79 Merge branch 'fix/diskio_format_error_codes_as_hex' into 'master'
fix: diskio format all error message codes to hex

Closes IDFGH-11071

See merge request espressif/esp-idf!28773
2024-02-06 20:23:42 +08:00
Armando (Dou Yiwen)
042cf231a7 Merge branch 'change/esp_driver_cam' into 'master'
change(cam): renamed to esp_driver_cam

See merge request espressif/esp-idf!28889
2024-02-06 19:19:51 +08:00
Sudeep Mohanty
7acc152f1c Merge branch 'bugfix/rtc_i2c_not_in_od_mode' into 'master'
fix(ulp_riscv): Updated RTC I2C to use open-drain IOs

See merge request espressif/esp-idf!28799
2024-02-06 15:40:24 +08:00
Rahul Tank
1741705517 Merge branch 'bugfix/fix_out_of_order_messages_causing_dos' into 'master'
fix(nimble): Out of order messages during SMP causing DOS vulerability

Closes BLERP-498

See merge request espressif/esp-idf!28544
2024-02-06 12:40:12 +08:00
Jiang Jiang Jian
fe2a5adc93 Merge branch 'contrib/github_pr_12867' into 'master'
fix(esp32): Removed rogue semicolon in #define in esp_smartconfig.h (GitHub PR)

Closes IDFGH-11769

See merge request espressif/esp-idf!28903
2024-02-06 11:57:14 +08:00
Jiang Jiang Jian
88317ed300 Merge branch 'bugfix/wait_for_child_disconnect_when_mesh_deinit' into 'master'
fix(wifi/mesh): wait for child disconnect when mesh deinit

Closes WIFIBUG-194

See merge request espressif/esp-idf!28736
2024-02-06 11:28:24 +08:00
Marius Vikhammer
db65efe0bd Merge branch 'feature/lp_core_lp_timer_p4' into 'master'
feat(lp_core): add support for lp timer and lp gpio on P4

Closes IDF-7536, IDF-7532, and IDF-8986

See merge request espressif/esp-idf!28871
2024-02-06 11:14:24 +08:00
morris
4472422358 Merge branch 'contrib/github_pr_13103' into 'master'
Remove validation of pins for LCD output. (GitHub PR)

Closes IDFGH-12038

See merge request espressif/esp-idf!28888
2024-02-06 10:16:41 +08:00
zhangyanjiao
7e6295fd75 fix(wifi/mesh): wait for child disconnect when mesh deinit 2024-02-06 09:49:09 +08:00
Marius Vikhammer
dff1e5df88 feat(lp_core): add support for lp timer and lp gpio on P4 2024-02-06 09:41:20 +08:00
Jiang Jiang Jian
b4fe434d2e Merge branch 'bugfix/fix_esp_wifi_scan_start_memory_leakage_issue' into 'master'
fix(wifi): fix esp_wifi_scan_start memory leakage issue

Closes IDFGH-9313

See merge request espressif/esp-idf!28869
2024-02-05 19:23:33 +08:00
Kevin (Lao Kaiyao)
1458e13b50 Merge branch 'ci/enable_hello_world_build_on_esp32c5' into 'master'
ci(esp32c5): enable template app & hello world build on ci

See merge request espressif/esp-idf!28776
2024-02-05 18:25:37 +08:00
Simon H
4b08c8b000 fix(esp_wifi): Remove semicolon from SMARTCONFIG_START_CONFIG_DEFAULT
Removed rogue semicolon from SMARTCONFIG_START_CONFIG_DEFAULT() macro. This
fixes build issues when this macro is used via C++ brace initialization.

Closes https://github.com/espressif/esp-idf/pull/12867

[Darian Leung: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2024-02-05 17:21:55 +08:00
nilesh.kale
3da0aa2d82 fix(esp_https_ota): fix incorrectly reference of API esp_https_ota_get_img_desc()
esp_https_ota_get_img_desc() is incorrectly referred to as esp_https_ota_read_img_desc()
in some error messages.So, this MR updates related references

Closes https://github.com/espressif/esp-idf/issues/13065
2024-02-05 13:55:42 +05:30
Island
37f0447961 Merge branch 'bugfix/fix_dtm_tx_count' into 'master'
fix(ble/controller): Fixed tx count in direct test mode

Closes BLERP-537, BLERP-549, and BLERP-550

See merge request espressif/esp-idf!28781
2024-02-05 14:45:05 +08:00
Mahavir Jain
14a54c5ead Merge branch 'feature/update_mbedtls_v3.5.2' into 'master'
feat(mbedtls): updated mbedtls version from 3.5.0 to 3.5.2

Closes IDF-9143

See merge request espressif/esp-idf!28827
2024-02-05 14:19:59 +08:00
laokaiyao
ea14b24048 ci(esp32c5): fix the build of the template app 2024-02-05 12:39:35 +08:00
laokaiyao
c0c6af99e9 fix(esp32c5): fixed the lack of crosscore ll on c5 2024-02-05 12:39:35 +08:00
SumeetSingh19
78a46316f1 fix(nimble): Out of order messages during SMP causing DOS vulerability 2024-02-05 09:30:55 +05:30
Jiang Jiang Jian
1bfd5cd5c5 Merge branch 'feature/add_api_to_get_controller_status_on_esp32' into 'master'
feat(ble/controller): Add API to get BLE controller status on ESP32

Closes BLERP-549

See merge request espressif/esp-idf!28875
2024-02-05 11:07:07 +08:00
Jiang Jiang Jian
289de9d872 Merge branch 'bugfix/fix_xQueueSemaphoreTask_assert_when_deinit_host' into 'master'
Fixed xQueueSemaphoreTask assert when deinit host during scan

Closes BLERP-536 and BLERP-552

See merge request espressif/esp-idf!28767
2024-02-05 11:03:12 +08:00
Armando
cfe06a7517 change(cam): renamed to esp_driver_cam 2024-02-05 10:30:54 +08:00
Shu Chen
ac76d44a9b Merge branch 'bugfix/fix_tx_pending_issue' into 'master'
fix(openthread): fix some openthread issues related to 5.1.3 release test

Closes TZ-605 and TZ-606

See merge request espressif/esp-idf!28818
2024-02-05 10:16:51 +08:00
gongyantao
3f205d4d85 fix(bt/bluedroid): fix dangling pointer issue when logging remove section 2024-02-05 10:01:44 +08:00
Hello1024
77029676d1 fix(rgb_lcd): remove validation of pins for LCD output
There are a bunch of cases you might want some pins not exposed.

Eg.

  * Reading say 8 bit data and outputting the top 5 bits, discarding the rest by not mapping those data pins to output pins

 * Not using hsync/vsync because sync data is embedded within the data bits for more timing flexibility (eg. interlacing).

 * Using the LCD module as a high speed parallel data output bus, with no need for sync/control pins.

Removing this validation makes these cases work.

Merges https://github.com/espressif/esp-idf/pull/13103
2024-02-05 10:00:35 +08:00
Armando (Dou Yiwen)
116c9494c7 Merge branch 'feat/csi_driver' into 'master'
feat(csi): added csi driver

See merge request espressif/esp-idf!28751
2024-02-05 09:59:35 +08:00
Wu Zheng Hui
5454d37d49 Merge branch 'feature/support_gdma_retention' into 'master'
feature: support gdma retention in pd_top lightsleep

Closes IDF-7704 and IDFGH-11389

See merge request espressif/esp-idf!27246
2024-02-04 20:17:02 +08:00
Jiang Jiang Jian
e00429d691 Merge branch 'feat/wifi_remote' into 'master'
feat(esp_wifi): Add dependency on wifi_remote for chips with no wifi

See merge request espressif/esp-idf!26217
2024-02-04 19:11:05 +08:00
Armando
f918079e8e feat(csi): added csi driver 2024-02-04 19:06:11 +08:00
Island
24aba63c5b Merge branch 'feat/support_get_bluedroid_status' into 'master'
feat(bt/bluedroid): Support get status of bluedroid host

Closes BLERP-468

See merge request espressif/esp-idf!28555
2024-02-04 16:00:42 +08:00
Marius Vikhammer
77dcb6d46e refactor(system): reformated esp_timer, linux and log comp with astyle 2024-02-04 14:50:54 +08:00
zhiweijian
307b2507f3 feat(ble/controller): Add API to get BLE controller status on ESP32 2024-02-04 14:16:40 +08:00
hongshuqing
35918b89a9 feat(pmu): set fix voltage to different mode for esp32c6 & c6 modify brownout rst2 2024-02-04 14:13:23 +08:00
zwx
970626ec2f feat(openthread): disable the rx on when idle in coex scenario 2024-02-04 13:59:47 +08:00
zwx
ba2350dde8 fix(openthread): fix RCP handle timeout crashing issue
* update openthread upstream
2024-02-04 13:59:47 +08:00
zwx
eb60726c44 fix(openthread): support uart ISR in IRAM 2024-02-04 13:59:47 +08:00
zwx
dcc52cd975 fix(802154): fix pending tx will be delayed issue 2024-02-04 13:59:47 +08:00
Armando
dd5843f490 change(memory): remove IDF-7890 todo 2024-02-04 12:54:13 +08:00
zhanghaipeng
eb92ea3461 fix(ble/controller): Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
- Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
- fixed modem sleep enter failed sometimes
2024-02-04 11:49:47 +08:00
Island
adc49dfed7 Merge branch 'bugfix/fix_some_ble_bugs_2401' into 'master'
FIxed some BLE bugs 2401 on ESP32C3(91980c2)

Closes BLERP-513, BLERP-514, BLERP-515, BLERP-516, BLERP-517, BLERP-518, BLERP-519, BLERP-520, BLERP-521, BLERP-522, BLERP-523, BLERP-524, BLERP-525, BLERP-526, and BLERP-527

See merge request espressif/esp-idf!28691
2024-02-04 10:49:23 +08:00
muhaidong
d278ffc501 fix(wifi): fix esp_wifi_scan_start memory leakage issue
Closes https://github.com/espressif/esp-idf/issues/10693
2024-02-03 16:32:09 +08:00
Rahul Tank
c769dfa7dc Merge branch 'bugfix/nimble_host_clean_up_api' into 'master'
fix(nimble): Added API to get current stack operation status

Closes BLERP-461

See merge request espressif/esp-idf!28476
2024-02-03 01:54:55 +08:00
Jakub Kocka
0b00e49ac5 fix: Fixed KConfig files that were not succesfully checked 2024-02-02 14:13:45 +01:00
Adam Múdry
71c6304f71 Merge branch 'feature/vfs_fat_x_little_revamp' into 'master'
feat(fatfs): Add format functions with a config parameter

Closes IDF-9111

See merge request espressif/esp-idf!28683
2024-02-02 18:19:33 +08:00
chenjianhua
a3f5382eaa feat(bt/bluedroid): Support get status of bluedroid host 2024-02-02 17:29:11 +08:00
Chen Jian Xing
c6405bda6a Merge branch 'bugfix/fix_log_format_resulting_in_compilation_failure_issue' into 'master'
fix(lwip): fix log format resulting in compilation failue issue

Closes IDFGH-11897

See merge request espressif/esp-idf!28494
2024-02-02 16:55:50 +08:00
Chen Yu Dong
566680b48c Merge branch 'ci/fix_protocol_network_pytest_markers' into 'master'
ci: update protocol/ethernet pytest markers

See merge request espressif/esp-idf!28794
2024-02-02 16:51:19 +08:00
Rahul Tank
4a7db059ba fix(nimble): Added API to get current stack operation status 2024-02-02 13:57:46 +05:30
Rahul Tank
444c76c886 Merge branch 'bugfix/add_adv_itvl_range_check' into 'master'
fix(nimble): Add adv interval min/max range check

Closes BLERP-474, BLERP-477, BLERP-476, and BLERP-475

See merge request espressif/esp-idf!28580
2024-02-02 14:04:35 +08:00
wuzhenghui
247b4e0574
change(esp_hw_support): collect retention link priority definition 2024-02-02 11:21:44 +08:00
wuzhenghui
0c2f811ca8
feat(esp_hw_support): support gdma register context sleep retention 2024-02-02 11:21:40 +08:00
Marius Vikhammer
ef87256e73 Merge branch 'docs/esp32c5_build_docs' into 'master'
docs(esp32c5): add support for building C5 docs

Closes IDF-8679

See merge request espressif/esp-idf!28753
2024-02-02 09:36:41 +08:00
Chen Yudong
a72d5f4b41 ci: update protocol/ethernet pytest markers 2024-02-01 22:47:18 +08:00
Abhik Roy
a6e2c52a43 Merge branch 'lwip/napt_doc_menu_modify' into 'master'
change(lwip): Remove 'experimental' from NAPT in kconfig, update lwIP doc

See merge request espressif/esp-idf!27849
2024-02-01 21:15:53 +08:00
Sarvesh Bodakhe
0154e81d87 feat(wifi): Sync public header files between ESP-IDF and Wi-Fi driver
- Updated WiFi libraries based on the IDF changes
- Renamed esp_wifi_native.h to esp_wifi_types_native.h
- Reverted forward declarations of native wifi types and HE types
- Forward declare as opaque structs only if we don't have native types (csi and ctrl_packet types)
2024-02-01 12:17:43 +01:00
David Cermak
344cb342b8 fix(esp_wifi): Support for esp_wifi_remote 2024-02-01 12:17:43 +01:00
Sarvesh Bodakhe
c0b3af2292 fix(esp_wifi): Add md5sum validation checks for new public headers and sync headers
Add checks for following public headers:
- esp_wifi_types_generic.h
- esp_wifi_native.h
2024-02-01 12:17:43 +01:00
David Cermak
597f2ce001 fix(esp_wifi): Split public/native, wifi_types.h -> types_generic.h 2024-02-01 12:17:43 +01:00
David Cermak
9088655030 fix(esp_wifi): Separate public and native wifi interface types 2024-02-01 12:17:37 +01:00
David Cermak
07d60b1c04 feat(esp_wifi): Add dependency on wifi_remote for chips with no wifi 2024-02-01 11:26:22 +01:00
morris
fdb597c159 Merge branch 'bugfix/mcpwm_reset_generator_gpio' into 'master'
fix(mcpwm): reset GPIO used by generator after delete

Closes IDFGH-11895

See merge request espressif/esp-idf!28804
2024-02-01 17:40:20 +08:00
Abhik Roy
35fe20da84 change(lwip): Remove 'experimental' from NAPT in kconfig, update lwIP doc 2024-02-01 20:09:08 +11:00
Rahul Tank
ac63f7c9dd fix(nimble): Add adv interval min/max range check 2024-02-01 13:35:28 +05:30
Sudeep Mohanty
bb1bc2afac Merge branch 'task/freertos_astyle_update' into 'master'
refactor(freertos): Updated FreeRTOS component files to astyle format

See merge request espressif/esp-idf!28741
2024-02-01 16:01:04 +08:00
nilesh.kale
8472bcb7d3 feat(mbedtls): updated mbedtls version from 3.5.0 to 3.5.2
This updates the submodule mbedtls to its latest version 3.5.2.
2024-02-01 10:43:16 +05:30
Kapil Gupta
2dc6783c55 Merge branch 'bugfix/esp32c2_eap_auth' into 'master'
fix(wifi): Added low heap usage Kconfig option for eap enterprise

Closes WIFIBUG-227 and WIFIBUG-296

See merge request espressif/esp-idf!26930
2024-02-01 12:33:46 +08:00
Jakob Hasse
ae3196b678 Merge branch 'refactor/esp_event_astyle_format' into 'master'
change(esp_event): formatted files with astyle

See merge request espressif/esp-idf!28801
2024-02-01 11:20:05 +08:00
Rahul Tank
20171bf19d Merge branch 'bugfix/remove_duplicate_hci_common' into 'master'
fix(nimble): Merge hci_common.h file for all chips

Closes BLERP-538

See merge request espressif/esp-idf!28787
2024-02-01 10:46:50 +08:00
morris
99fce2fdcb fix(mcpwm): reset GPIO used by generator after delete
Closes https://github.com/espressif/esp-idf/issues/12980
2024-02-01 10:14:17 +08:00
Marius Vikhammer
4d28524bdb docs(esp32c5): add support for building C5 docs 2024-02-01 10:06:41 +08:00
Erhan Kurubas
7234303e9e feat(system): move esp_dbg_stubs_init into component 2024-01-31 20:12:45 +01:00
Tomas Rezucha
49f3dae095 Merge branch 'ci/add_p4_usb_host_to_ci' into 'master'
feature(usb): Add USB support for ESP32-P4

Closes IDF-6873

See merge request espressif/esp-idf!28585
2024-01-31 22:04:23 +08:00
Roland Dobai
2e207db65f Merge branch 'feature/add_arguments_ninja_monitor' into 'master'
feat: Propagate arguments when running ninja monitor

Closes IDF-8856

See merge request espressif/esp-idf!28477
2024-01-31 20:09:59 +08:00
chenjianhua
20acc39eb2 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(91980c2)
- Fixed scheduling when modem sleep wakeup delayed
- Fixed IRQ FIFO overflow when enter critical
- Fixed clock sync timeout for modem sleep
- Fixed directed adv with RPA when privacy disabled
- Fixed instant passed for connection update and PHY update
2024-01-31 19:39:04 +08:00
zhiweijian
5b63a473f8 Fixed xQueueSemaphoreTask assert when deinit host during scan 2024-01-31 19:06:22 +08:00
morris
9bdd431fe3 Merge branch 'contrib/github_pr_13020' into 'master'
fix (esp_lcd): Don't assume panels are 16bit in VSYNC restart logic (GitHub PR)

Closes IDFGH-11941

See merge request espressif/esp-idf!28593
2024-01-31 18:49:51 +08:00
Konstantin Kondrashov
8d558a0ea7 Merge branch 'feature/update_config_wdt_desc' into 'master'
feat(bootloader): Update WDT Kconfig description

Closes IDFGH-11913 and IDFGH-7850

See merge request espressif/esp-idf!28568
2024-01-31 18:27:49 +08:00
Bogdan Kolendovskyy
3ad41ae31a Merge branch 'feature/mmd_access' into 'master'
esp_eth: Add functions to access PHY using MDIO

See merge request espressif/esp-idf!28311
2024-01-31 16:59:42 +08:00
Sudeep Mohanty
061da98124 refactor(freertos): Updated FreeRTOS component files to astyle format
This commit updates the FreeRTOS component source files (excluding
upstream source files) to the astyle coding format.
2024-01-31 16:41:58 +08:00
Jan Beran
b1d9762205 feat: Propagate arguments when running ninja monitor 2024-01-31 09:35:44 +01:00
Rahul Tank
6c614a50ab fix(nimble): Merge hci_common.h file for all chips 2024-01-31 13:41:31 +05:30
Rahul Tank
b2b84f9b5c Merge branch 'feature/nimble_host_only_uart' into 'master'
feat(nimble): Nimble Host only mode over uart

See merge request espressif/esp-idf!28415
2024-01-31 16:01:03 +08:00
Konstantin Kondrashov
c69466b0b3 Merge branch 'feature/esp_timer_reenable_test_on_p4' into 'master'
feat(esp_timer): Re-enable tests on ESP32P4

Closes IDF-8979

See merge request espressif/esp-idf!28365
2024-01-31 15:49:22 +08:00
KonstantinKondrashov
c40afaf4ad feat(doc): Update the WDT article
Closes https://github.com/espressif/esp-idf/issues/12995
2024-01-31 15:19:17 +08:00
C.S.M
afa876fac9 Merge branch 'example/hal_i2c' into 'master'
example(hal_i2c): Add pure I2C master example with only hal, rom, soc, etc. G0 G1 components.

See merge request espressif/esp-idf!28509
2024-01-31 14:51:31 +08:00
Roshan Bangar
51efb20516 feat(nimble): Nimble Host only mode over uart 2024-01-31 09:49:21 +05:30
Cao Sen Miao
62a0efdd7c feat(i2c): Add pure hal i2c master driver example 2024-01-31 11:47:14 +08:00
morris
97cda1a732 Merge branch 'feature/mipi_dpi_2ddma' into 'master'
Use DMA2D in MIPI DSI driver

See merge request espressif/esp-idf!28605
2024-01-31 11:25:32 +08:00
Jakob Hasse
417de470ec change(esp_event): reformat files with astyle 2024-01-31 11:07:07 +08:00
Marius Vikhammer
b9f9e0d9f7 Merge branch 'task/remove_esp_system_astyle' into 'master'
refactor(system): removed esp_system from astyle ignore list and formated it

See merge request espressif/esp-idf!28785
2024-01-31 09:47:28 +08:00
Kapil Gupta
d033c3ebff fix(wifi): add low memory options for eap enterprise 2024-01-30 22:54:22 +08:00
Tomas Rezucha
f13ae0fc08 feat(esp32p4): Add USB-OTG support for ESP32-P4 2024-01-30 15:07:11 +01:00
Sudeep Mohanty
e93c3068a0 fix(ulp_riscv): Updated RTC I2C to use open-drain IOs
This commit updates the RTC I2C driver in the ULP RISC-V to initialize
all I2C IOs in open-drain mode.
2024-01-30 14:54:45 +01:00
David Čermák
bc7e87b416 Merge branch 'feat/lwip_ppp_more_opts' into 'master'
lwip: PPP configs to enable/disable: Server side, IP header compression

See merge request espressif/esp-idf!27799
2024-01-30 20:17:50 +08:00
Konstantin Kondrashov
2b909f99d5 feat(esp_timer): Re-enable tests on ESP32P4
esp_timer example test requires Light Sleep support.
2024-01-30 13:39:23 +02:00
Bogdan Kolendovskyy
d9e1d69b4e esp_eth: Add functions to access PHY using MDIO
Specifically:
  - Set/get address
  - Read/write data at address with specified MDIO access function
  - Read/write both address and data with a single call
2024-01-30 12:08:18 +01:00
morris
872058f086 feat(mipi_dsi): support draw_bitmap by DMA2D engine
This feature can be enabled at runtime, by setting esp_lcd_dpi_panel_config_t:🎏:use_dma2d
2024-01-30 18:45:36 +08:00
morris
b2de1b5665 feat(dma2d): added help driver for copying frame buffer with DMA2D 2024-01-30 18:45:36 +08:00
morris
b10dec96c5 fix(rgb_lcd): relax the check for the data line GPIO
so we allow to leave some RGB data line unconnected by set the GPIO to -1
2024-01-30 18:29:13 +08:00
Brian Whitman
ff840b645d fix(rgb_lcd): don't assume 16 bit width on panels for restart logic
Merges https://github.com/espressif/esp-idf/pull/13020
2024-01-30 18:29:13 +08:00
morris
5074cc68c9 Merge branch 'feature/rmt_encoder_memory_allocator' into 'master'
feat(rmt): added a help function for allocating encoder memory

Closes IDFGH-11954

See merge request espressif/esp-idf!28667
2024-01-30 16:52:25 +08:00
Jiang Jiang Jian
307c53d4ff Merge branch 'feature/add_fall_back_dns_config_in_menuconfig' into 'master'
feat(lwip):add fall back dns config in menuconfig

See merge request espressif/esp-idf!27292
2024-01-30 16:01:29 +08:00
Jiang Jiang Jian
6ebda2a9b4 Merge branch 'bugfix/ble_rtc_slow_clk_drift_err' into 'master'
fix(ble): Fixed macro definition error for 136K clock drift

See merge request espressif/esp-idf!28749
2024-01-30 15:27:32 +08:00
Marius Vikhammer
06850e0e1e refactor(system): removed esp_system from astyle ignore list and reformated it 2024-01-30 15:17:15 +08:00
Jakob Hasse
6ea18dc17a Merge branch 'feature/console_linux' into 'master'
feat(console): Refactored code to support Linux target

Closes IDF-8103

See merge request espressif/esp-idf!28409
2024-01-30 11:26:04 +08:00
Marius Vikhammer
da1d587667 Merge branch 'bugfix/format_esp_common' into 'master'
fix(system): format esp_common, app_format and bootloader_format with astyle

See merge request espressif/esp-idf!28748
2024-01-30 09:25:37 +08:00
Rahul Tank
4e5e8a7102 Merge branch 'feat/add_dtm_function_support' into 'master'
feat(nimble): Add APIs to support BLE DTM functions

Closes BLERP-238

See merge request espressif/esp-idf!27121
2024-01-29 19:55:17 +08:00
Aditya Patwardhan
d8cc9d39a2 Merge branch 'fix/esp_tls_fix_arg_check' into 'master'
fix(esp_tls): Fixed input argument check for public APIs

Closes IDF-8542

See merge request espressif/esp-idf!28358
2024-01-29 18:21:42 +08:00
Michael (XIAO Xufeng)
35516652ad Merge branch 'doc/spi_flash_32bit_addr' into 'master'
doc(spi_flash): reorganize optional features

See merge request espressif/esp-idf!27808
2024-01-29 18:16:59 +08:00
Adam Múdry
085cdaa5f7 fix: diskio format all error message codes to hex 2024-01-29 10:32:31 +01:00
Jakob Hasse
a30546cd24 feat(console): Refactored code to support Linux target 2024-01-29 17:13:22 +08:00
Sudeep Mohanty
3465fd8956 Merge branch 'task/ringbuf_astyle_update' into 'master'
fix(esp_ringbuf): Updated esp_ringbuf to follow astyle format

See merge request espressif/esp-idf!28742
2024-01-29 16:56:14 +08:00
Sudeep Mohanty
df00205db3 Merge branch 'bugfix_lp_i2c_not_in_od_mode' into 'master'
fix(lp_i2c): Fixed an issue where the LP_I2C IO lines were not in open-drain mode

Closes IDFGH-11883

See merge request espressif/esp-idf!28739
2024-01-29 16:47:07 +08:00
Adam Múdry
376ea7e4ed feat(fatfs): VFS FATFS add format functions with config argument 2024-01-29 15:09:50 +08:00
Jiang Jiang Jian
946fdfce62 Merge branch 'bugfix/fix_ble_tx_2m_problem_causing_by_phy_wifi_enable_set' into 'master'
Fixed BLE TX 2M problem causing by phy_wifi_enable_set()

Closes BT-3441, BLERP-511, and BLERP-512

See merge request espressif/esp-idf!27903
2024-01-29 14:42:34 +08:00
Island
c3645202da Merge branch 'bugfix/ble_mesh_deinit_reinit' into 'master'
ble mesh: improve ble mesh deinit

See merge request espressif/esp-idf!19199
2024-01-29 13:59:07 +08:00
Rahul Tank
baf9b98cd0 feat(nimble): Add APIs to support BLE DTM functions 2024-01-29 11:20:10 +05:30
Rahul Tank
c8220ad5af Merge branch 'feat/features_and_fixes_for_pts_qualification' into 'master'
feat(nimble): Features and Fixes for PTS Qualification

Closes BLERP-427, BLERP-429, and BLERP-430

See merge request espressif/esp-idf!28608
2024-01-29 13:37:45 +08:00
Wan Lei
18df8fbc9b Merge branch 'fix/spi_clk_div_repaire' into 'master'
fix(spi_master): fix P4 clock src divider calc and 8bit support

See merge request espressif/esp-idf!28699
2024-01-29 12:34:52 +08:00
xiongweichao
dd943fad9a fix(ble): Fixed macro definition error for 136K clock drift 2024-01-29 11:29:01 +08:00
Marius Vikhammer
043dae211e fix(system): format esp_common, app_format and bootloader_format with astyle 2024-01-29 10:41:25 +08:00
Island
ec807d9127 Merge branch 'bugfix/ble_update_lib_20240125' into 'master'
Update C6 H2 lib to bb9d578e

Closes BLERP-528, BLERP-469, BLERP-530, and BLERP-533

See merge request espressif/esp-idf!28700
2024-01-29 10:40:28 +08:00
Michael (XIAO Xufeng)
6dbb3059f9 Merge branch 'h2_auto_dbias_master_hsq' into 'master'
ESP32H2: Active & sleep dbias get from efuse to fix the voltage

See merge request espressif/esp-idf!27483
2024-01-29 10:16:15 +08:00
Aditya Patwardhan
4d8436b90c fix(esp_tls): Fixed input argument checks for public APIs 2024-01-29 01:24:41 +08:00
Sudeep Mohanty
defd3ec220 fix(esp_ringbuf): Updated esp_ringbuf to follow astyle format
This commit updates the esp_ringbuf component to follow astyle
formatting.
2024-01-26 15:20:19 +01:00
Konstantin Kondrashov
4daaa94593 Merge branch 'feature/cleanup_rom_efuse_header' into 'master'
change(all): Clearing unused efuse rom headers

See merge request espressif/esp-idf!27109
2024-01-26 20:30:44 +08:00
Song Ruo Jing
10b41d7a24 Merge branch 'refactor/soc_rtc_h_file' into 'master'
refactor(rtc): move soc/rtc.h from soc to esp_hw_support component

Closes IDF-8941

See merge request espressif/esp-idf!28238
2024-01-26 20:20:20 +08:00
Jakob Hasse
ee6112b9d7 Merge branch 'docs/document_lethal_hazards' into 'master'
docs(esp_system): Document limitations of esp_execute_shared_stack_function

See merge request espressif/esp-idf!27872
2024-01-26 19:21:30 +08:00
Sudeep Mohanty
36ac4631ae fix(lp_i2c): Fixed an issue where the LP_I2C IO lines were not in open-drain mode
This commit fixes an issue where in the LP I2C IO lines were not
initialized in open-drain mode.

Closes https://github.com/espressif/esp-idf/issues/12969
2024-01-26 11:25:25 +01:00
zhiweijian
ef0d856aa8 fix(esp_phy): Fixed BLE TX 2M problem causing by phy_wifi_enable_set()
1. Fixed BLE 2M phy TX problem causing by phy_wifi_enable_set() on ESP32-C3 and ESP32-S3
2. Fixed BLE CCA bug on ESP32-C2
3. Fixed wifi boot bug at low temp on ESP32-C6
4. Fixed BLE and WIFI could not receive packets after entering light sleep for a long time on ESP32-C3, ESP32-S3, ESP32-C2 and ESP32-C6
2024-01-26 16:59:00 +08:00
Erhan Kurubas
ef655cbbd9 Merge branch 'enable_flash_elf_sha_tests' into 'master'
Enable SHA256 coredump flash integrity verification for all targets

Closes IDF-1820

See merge request espressif/esp-idf!28387
2024-01-26 16:28:24 +08:00
wanlei
45cbcad7cd fix(spi_master): fix P4 clock src divider and 8bit support 2024-01-26 14:51:46 +08:00
Shu Chen
b056ac760b Merge branch 'feat/154_enable_receive_done' into 'master'
feat(ieee802154): make the receive done handler feature mandatory

See merge request espressif/esp-idf!28573
2024-01-26 11:54:44 +08:00
Wang Meng Yang
6aa64033bc Merge branch 'bugfix/no_wakeup_sleep_master' into 'master'
fix(ble): Fixed Bluetooth not waking up due to clock drift

Closes BTQABR2023-158 and BLERP-464

See merge request espressif/esp-idf!28376
2024-01-26 11:42:15 +08:00
Marius Vikhammer
e67f101c5c Merge branch 'bugfix/stack_prot_issue_p4' into 'master'
fix(system): fixed -fstack-protector issue on P4

See merge request espressif/esp-idf!28688
2024-01-26 10:44:26 +08:00
Marius Vikhammer
b5540cfda6 Merge branch 'bugfix/format_ulp_astyle' into 'master'
fix(ulp): enable astyle linter and format ULP component

See merge request espressif/esp-idf!28597
2024-01-26 10:22:18 +08:00
Shu Chen
e358506118 Merge branch 'support/openthread_radio_caps_rx_on_when_idle' into 'master'
feat(openthread): support openthread radio caps rx on when idle

See merge request espressif/esp-idf!28583
2024-01-26 08:09:15 +08:00
Erhan Kurubas
f1d5f97719 feat(coredump): use SHA ROM functions for all targets except ESP32
For ESP32, continue using mbedtls due to a required ROM patch for the SHA implementation.
For other targets, we can now leverage the ROM functions.
2024-01-25 15:13:56 +01:00
SumeetSingh19
92d20f6708 feat(nimble): client presentation and aggregate format descriptor support 2024-01-25 18:34:55 +05:30
SumeetSingh19
0bd8301755 feat(nimble): signed write support 2024-01-25 18:34:55 +05:30
SumeetSingh19
7ad6df977e feat(nimble): additional AD types for advertisements 2024-01-25 18:34:55 +05:30
SumeetSingh19
7bda1db4f8 feat(nimble): authorization permission on gatt read and write 2024-01-25 18:34:55 +05:30
SumeetSingh19
2d71f64033 fix(nimble): allow auto connection and observer role 2024-01-25 18:34:55 +05:30
Shu Chen
aab24b0dd7 feat(ieee802154): make the receive done handler feature mandatory 2024-01-25 20:27:03 +08:00
zwl
2f7c122c51 Update ble lib to eb473dda on ESP32-C6 and ESP32-H2 2024-01-25 20:26:35 +08:00
Song Ruo Jing
cf93777077 refactor(rtc): move soc/rtc.h from soc to esp_hw_support component
Deprecated rtc_xtal_freq_t, replaced with soc_xtal_freq_t defined in
clk_tree_defs.h in soc component.
2024-01-25 19:15:33 +08:00
Jakob Hasse
65e4118893 docs(esp_system): Document limitations of esp_execute_shared_stack_function 2024-01-25 19:02:25 +08:00
Shu Chen
86cf144aa7 feat(ieee802154): remove the ieee802154 lib submodule 2024-01-25 18:59:09 +08:00
morris
08845cf669 feat(rmt): added a help function for allocating encoder memory
The encoder memory location should respect the RMT_MEM_ALLOC_CAPS,
which is affected by some Kconfig options, like ISR_IRAM_SAFE

Closes https://github.com/espressif/esp-idf/issues/13032
2024-01-25 18:44:25 +08:00
Ivan Grokhotkov
dee5b087fa
feat(newlib): implement scandir and alphasort
Based on https://man7.org/linux/man-pages/man3/scandir.3.html
2024-01-25 11:03:19 +01:00
Abhik Roy
dfb1e0e087 Merge branch 'update_esp_netif_changes' into 'master'
fix(lwip): Corrected NAPT dependency text

See merge request espressif/esp-idf!28546
2024-01-25 17:19:39 +08:00
zwl
5172a99c9b feat(ble): add ble controller version output on ESP32-C6 and ESP32-H2 2024-01-25 17:04:48 +08:00
zwl
4a5127c029 feat(ble): add ble controller status check api on ESP32-C6 and ESP32-H2 2024-01-25 17:04:48 +08:00
zwl
e1d27c3b5d fix(ble): fixed build error when disable sm feature 2024-01-25 17:04:44 +08:00
zwx
5a7e835373 fix(phy): fix pll track when enabling and disabling PHY frequently 2024-01-25 16:19:07 +08:00
zwx
265531c971 feat(openthread): support openthread radio caps rx on when idle 2024-01-25 16:11:50 +08:00
luomanruo
688cbcfa31 Update C6 H2 lib to bb9d578e 2024-01-25 16:09:08 +08:00
Marius Vikhammer
d90cad70f3 Merge branch 'bugfix/c5_newlib_reent_cleanup_fix' into 'master'
fix(newlib): fix stub_table init on C5

Closes IDF-9093

See merge request espressif/esp-idf!28647
2024-01-25 12:02:46 +08:00
Mahavir Jain
0e7908369f Merge branch 'bugfix/fix_http_auth_without_qop' into 'master'
fix(esp_http_client): Fix http digest auth without qop

Closes IDFGH-11876

See merge request espressif/esp-idf!28570
2024-01-25 11:48:53 +08:00
Marius Vikhammer
21d0c65e52 fix(system): fixed -fstack-protector issue on P4
During cpu_start stack-smashing would errorounsly trigger when compiled
with -Os on P4. This happened due to the stack canary value (stored in bss) changing when
we initialized bss and then getting flagged as a stackoverflow.

Disable fstack-protector for cpu_start to avoid this issue
2024-01-25 11:12:35 +08:00
xiongweichao
3e2ef4f26c fix(ble): Fixed Bluetooth not waking up due to clock drift 2024-01-25 10:23:02 +08:00
Konstantin Kondrashov
51e9cd4884 Merge branch 'bugfix/efuse_test_apps_for_p4' into 'master'
fix(efuse): Fix test_apps for esp32p4

Closes IDFCI-1972

See merge request espressif/esp-idf!28675
2024-01-24 21:44:20 +08:00
Wu Zheng Hui
55f04b3326 Merge branch 'feature/clean_up_retention_context_definitions' into 'master'
refactor(esp_hw_support): move sleep retention context definition to soc target folder

Closes PM-10

See merge request espressif/esp-idf!26753
2024-01-24 20:24:02 +08:00
Konstantin Kondrashov
5bede51ec8 fix(efuse): Fix test_apps for esp32p4 2024-01-24 11:25:08 +02:00
hongshuqing
0b79d9bf4c feat(pmu): set fix voltage to different mode for esp32h2
h2 remove include
2024-01-24 13:11:41 +08:00
Shu Chen
bbd0142ccb Merge branch 'fix/ieee802154_test_rx_break_issue' into 'master'
fix(ieee802154): add next operation in ieee802154 test when rx abort by tx ack coex

See merge request espressif/esp-idf!28541
2024-01-24 10:43:51 +08:00
Marius Vikhammer
7823d246c5 Merge branch 'bugfix/p4_rvfp_rom' into 'master'
fix(esp_rom): fixed float to int conversion functions not working on P4

Closes IDF-8977 and IDF-8109

See merge request espressif/esp-idf!28396
2024-01-24 10:10:57 +08:00
Shu Chen
d499ba432b Merge branch 'feature/add_ieee802154_pending_tx' into 'master'
feat(802.15.4): introduce pending tx while rx feature

See merge request espressif/esp-idf!28404
2024-01-24 09:30:54 +08:00
Ivan Grokhotkov
ecccad727f Merge branch 'bugfix/macos_build_linux_target_freertos' into 'master'
fix(freertos): override select function without relying on -Wl,--wrap

See merge request espressif/esp-idf!28065
2024-01-24 04:14:00 +08:00
Erhan Kurubas
1227409c02 Merge branch 'coredump_traverse_state_lists' into 'master'
Improve the probability of accessing healthy TCBs

Closes IDF-2245

See merge request espressif/esp-idf!28114
2024-01-24 01:44:10 +08:00
Ivan Grokhotkov
f5cd3b7ff4
fix(freertos): override select function without relying on -Wl,--wrap
This commit changes the approach used to override select function
in FreeRTOS simulator.

The previous approach relied on '--wrap', which is a feature of GNU
linker that performs symbol substitution at link time. Sadly this
feature is not present in macOS linker.

The alternative solution is to define 'select' wrapper as a regular
(exported) symbol, preventing it from being loaded from system
libraries. To call the "real" select implementation we use dlsym
function and find the function pointer at run time. This solution
works on both Linux and macOS.
2024-01-23 16:57:38 +01:00
Ivan Grokhotkov
66431a62d1
fix(freertos): warning fix for building with IDF_TARGET=linux on macOS 2024-01-23 16:57:37 +01:00
Xu Si Yu
ad3e1e3daf Merge branch 'bugfix/set_spinel_interface_buffer_to_static' into 'master'
fix(openthread): set spinel frame buffer to member variables

See merge request espressif/esp-idf!28510
2024-01-23 22:40:43 +08:00
Shu Chen
65c838b68a Merge branch 'support/integrate_console_command_with_ot_command' into 'master'
feat(openthread): integrate console command with ot command

See merge request espressif/esp-idf!28194
2024-01-23 22:03:55 +08:00
Ondrej Kosta
c956e44a9e Merge branch 'feature/ethernet_ci' into 'master'
ci(esp_eth): enable Ethernet tests

See merge request espressif/esp-idf!28566
2024-01-23 21:59:38 +08:00
Xu Si Yu
f9f32d4e5f Merge branch 'feature/add_config_for_ot_address_query' into 'master'
feat(openthread): add menuconfig for openthread address query

See merge request espressif/esp-idf!28445
2024-01-23 20:55:48 +08:00
Jakob Hasse
c6a570fb37 Merge branch 'feature/pthread_psram' into 'master'
feat(pthread): Allow SPI RAM as stack

Closes IDFGH-9237, IDF-7262, and IDFGH-7045

See merge request espressif/esp-idf!27166
2024-01-23 18:39:32 +08:00
Rahul Tank
bcb8d179dd Merge branch 'bugfix/fix_sm_inject_io_return_val' into 'master'
fix(nimble): Added change to ensure that API execution returns success

See merge request espressif/esp-idf!28402
2024-01-23 18:06:16 +08:00
Marius Vikhammer
4b89e52964 fix(newlib): fix stub_table init on C5 2024-01-23 18:05:53 +08:00
Tomas Rezucha
525bdf26f8 Merge branch 'feature/p4_usb_hal' into 'master'
feature(usb/host): Add HS PHY configuration

See merge request espressif/esp-idf!28549
2024-01-23 17:55:23 +08:00
Mahavir Jain
a02b0968d2 Merge branch 'fix/fix_esp_tls_client_key_parsing' into 'master'
fix(esp_tls): Fixed client key parsing for ECC key

Closes IDF-8894

See merge request espressif/esp-idf!27982
2024-01-23 17:14:49 +08:00
Mahavir Jain
09c9001895 Merge branch 'feature/add_key_manager_hw_support' into 'master'
Feature/add key manager hw support

Closes IDF-7925 and IDF-8041

See merge request espressif/esp-idf!26328
2024-01-23 17:11:05 +08:00
Song Ruo Jing
9ba5f4dab2 Merge branch 'feature/esp32p4_dma2d_support' into 'master'
feat(esp_hw_support/dma2d): Add 2D-DMA support on ESP32P4

Closes IDF-6498

See merge request espressif/esp-idf!25527
2024-01-23 15:19:25 +08:00
Harshit Malpani
bc901c0a3a
fix(esp_http_client): Fix http digest auth without qop
Closes https://github.com/espressif/esp-idf/issues/12962
2024-01-23 12:22:35 +05:30
Xu Si Yu
568adfb869 feat(openthread): add menuconfig for openthread address query 2024-01-23 14:43:51 +08:00
Guillaume Souchere
7bb236254e Merge branch 'doc/update-esp-event-instance-register-descrition' into 'master'
docs(esp-event): Update description of esp_event_handler_instance_x

Closes IDFGH-11711

See merge request espressif/esp-idf!28063
2024-01-23 13:48:31 +08:00
Aditya Patwardhan
e2d5b323ca fix(esp_tls): Fixed client key parsing for ECC key
Client key parsing for ECC keys was failing as the
    RNG supplied to the key parsing API was uninitialized.
    This commit fixes that behaviour
2024-01-23 13:40:57 +08:00
wuzhenghui
f3f12e973c
refactor(esp_hw_support): separate different chip system peripheral regs context defs to target folder 2024-01-23 13:30:01 +08:00
Mahavir Jain
e3d4b901f9 Merge branch 'bugfix/compilation_failed_in_bootloader_with_sb_fe_verbose' into 'master'
fix(bootloader): Fix compilation issue in bootloader build during verbose+sb+fe

Closes IDF-6373

See merge request espressif/esp-idf!26339
2024-01-23 13:29:02 +08:00
Jakob Hasse
db33f5a52e Merge branch 'fix/console_context_setting' into 'master'
fix(console): Made setting command context less error-prone and clearer

See merge request espressif/esp-idf!28395
2024-01-23 13:25:25 +08:00
Aditya Patwardhan
4dc2ace0b7
fix(esp_hw_support): Update key manager support
1) Added new Key Manager APIs
    2) Added crypto locking layer for Key Manager
    3) Remove support for deploying known key
    4) Format key manager support
    5) Fix build header error
    6) Updated the key_mgr_types.h file
    7) Added key manager tests
2024-01-23 10:24:39 +05:30
Aditya Patwardhan
5a1726c18c
feat(hal): Update HAL layer for Key manager
1)Added new clk related changes
2024-01-23 10:24:37 +05:30
Aditya Patwardhan
3eabb62850
feat(esp_hw_support): Add support for Key Manager 2024-01-23 10:24:35 +05:30
Island
9746de97ce Merge branch 'bugfix/struct_init_order_blemesh' into 'master'
ble mesh: Modify the structure initialization order to meet C++ requirements

See merge request espressif/esp-idf!18077
2024-01-23 12:20:18 +08:00
wuzhenghui
9b3dc69908
refactor(esp_hw_support): move regdma structure defination to soc components 2024-01-23 11:51:44 +08:00
wuzhenghui
2bd755c95d
refactor(esp_hw_support): move TIMG_WDT_WKEY_VALUE defination from hal to soc 2024-01-23 11:51:44 +08:00
Darian
a114237378 Merge branch 'refactor/core_component_headers_copyright_ignore' into 'master'
Tools/Core: Tidy up core-team releated copyright ignore list entries

See merge request espressif/esp-idf!28514
2024-01-23 11:39:59 +08:00
Xu Si Yu
65a261b290 fix(openthread): set spinel frame buffer to member variables 2024-01-23 10:52:03 +08:00
xueyunfei
4f96d04c9e feat(lwip): add fall back dns config in menuconfig
Closes https://github.com/espressif/esp-idf/issues/12530
2024-01-23 10:49:53 +08:00
KonstantinKondrashov
b471d9d22c change(all): Clearing unused efuse rom headers 2024-01-22 18:02:55 +02:00
Song Ruo Jing
08eada7301 feat(esp_hw_support/dma2d): Add 2D-DMA support on ESP32P4 2024-01-22 20:51:43 +08:00
Island
a4268b88c5 Merge branch 'bugfix/fix_ble_remove_bond' into 'master'
fix(ble/bluedroid): Fix dangling pointer issue in deletion of bonded devices

Closes BLERP-478

See merge request espressif/esp-idf!28589
2024-01-22 20:35:51 +08:00
Mahavir Jain
8b7d24ad71 Merge branch 'bugfix/soc_cpu_subsys_region' into 'master'
fix(soc): change debug addr range to CPU subsystem range

See merge request espressif/esp-idf!28499
2024-01-22 20:02:21 +08:00
Kevin (Lao Kaiyao)
2e037b8ab5 Merge branch 'feature/support_legacy_i2s_driver_on_p4' into 'master'
feat(i2s): support i2s legacy driver on p4

Closes IDF-8194

See merge request espressif/esp-idf!28474
2024-01-22 19:35:49 +08:00
Tomas Rezucha
ed1f20a972 feat(hal/usb): Add HS PHY configuration 2024-01-22 12:14:11 +01:00
C.S.M
c967dac3a9 Merge branch 'bugfix/one_byte_receive' into 'master'
fix(i2c_master): Fix bug on esp32 that read one byte data fails

See merge request espressif/esp-idf!28523
2024-01-22 18:17:33 +08:00
Darian Leung
f50d83413e refactor(tools): Tidy up core component files copyright ignore
Some files that should have their copyrights checked are still placed on the
copyright ignore list.

- These entries have been tidied up
- Copyrights of those files have been updated.
2024-01-22 18:07:35 +08:00
Darian Leung
06952431a0 refactor(esp_system): Remove intr.c from the esp_system component
This file is empty and not used anywhere, thus can be removed.
2024-01-22 18:01:25 +08:00
zwx
706005c2e6 feat(802.15.4): introduce pending tx while rx feature 2024-01-22 16:43:41 +08:00
Ondrej Kosta
f732c3b7fd ci(esp_eth): enable Ethernet tests 2024-01-22 09:30:24 +01:00
xiaqilin
0fe78ed468 fix(ieee802154): add next operation in ieee802154 test when rx abort by tx ack coex 2024-01-22 16:04:37 +08:00
zwx
f478d3d81d feat(openthread): integrate console command with ot command 2024-01-22 16:04:04 +08:00
Jakob Hasse
be59c94917 feat(pthread): Pthread can now use PSRAM as stack
Closes https://github.com/espressif/esp-idf/pull/10623
Closes https://github.com/espressif/esp-idf/issues/8662

Thanks to f-hoepfinger-hr-agrartechnik for the contribution
in https://github.com/espressif/esp-idf/pull/10623
2024-01-22 15:33:05 +08:00
InfiniteYuan
8191f319a3 ble_mesh: stack: fix the structure init order to meet C++ requirements 2024-01-22 14:12:11 +08:00
Mahavir Jain
9ecd2fd7e3 fix(soc): change debug addr range to CPU subsystem range
For C6/H2/P4/C5, there is no SoC specific debug range. Instead the same
address range is part of CPU Subsystem range which contains debug mode
specific code and interrupt config registers (CLINT, PLIC etc.).

For now the PMP entry is provided with RWX permission for both machine
and user mode but we can save this entry and allow the access to only
machine mode for this range.

For P4/C5 case, this PMP entry can have RW permission as the debug mode
specific code is not present in this memory range.
2024-01-22 13:34:32 +08:00
Xiao Xufeng
e0856e208e ci(flash): remove hpm-dc configs from octal flash 2024-01-22 12:44:27 +08:00
Marius Vikhammer
1bcfde4e7f fix(ulp): enable astyle linter and format ULP component 2024-01-22 11:43:38 +08:00
morris
01f1434fdd Merge branch 'feature/esp_lcd_mipi_dsi' into 'master'
esp lcd mipi dsi driver

Closes IDF-6499

See merge request espressif/esp-idf!28273
2024-01-22 11:22:00 +08:00
Adam Múdry
3da19a647c Merge branch 'feature/fatfs_2_fat_copies_on_volume' into 'master'
feat(fatfs): Add an option to use 2 FATs (file allocation tables) in FATFS volumes

Closes IDF-8735 and IDF-4091

See merge request espressif/esp-idf!27452
2024-01-22 11:15:04 +08:00
Cao Sen Miao
1e3ffdf628 fix(i2c_master): Fix bug on esp32 that read one byte data fails 2024-01-22 11:13:10 +08:00
Island
ed025da95c Merge branch 'feat/support_ble_aux_when_data_length_zero' into 'master'
feat(bt/bluedroid): Support ext adv aux option

Closes BLERP-253 and BLERP-470

See merge request espressif/esp-idf!28458
2024-01-22 11:06:01 +08:00
Jiang Jiang Jian
54bcaae1ac Merge branch 'bugfix/fix_scan_request_ifs_error' into 'master'
Fixed BLE scan request ifs time error in coexistence scenarios on ESP32

Closes BT-3593, CBLE50Y23-138, and BT-3605

See merge request espressif/esp-idf!28460
2024-01-22 11:00:54 +08:00
Island
f8a12adcf5 Merge branch 'feat/support_ble_get_callback' into 'master'
Feat/support ble get callback

See merge request espressif/esp-idf!28355
2024-01-22 10:43:28 +08:00
Island
44862867a7 Merge branch 'bugfix/fix_ble_memory_leak' into 'master'
fix(ble/bluedroid): Fix ble memory leak when gattc config off

See merge request espressif/esp-idf!28468
2024-01-22 10:42:56 +08:00
Island
b667d20312 Merge branch 'bugfix/ble_update_lib_20231229' into 'master'
update lib on master

Closes BLERP-414, BLERP-415, BLERP-416, BLERP-418, BLERP-419, BLERP-417, BLERP-355, BLERP-420, BLERP-421, BLERP-422, BLERP-443, BLERP-445, BLERP-444, BLERP-442, BLERP-446, and BT-3558

See merge request espressif/esp-idf!28186
2024-01-22 10:38:16 +08:00
Island
4071984f47 Merge branch 'bugfix/fix_ble_heap_malloc' into 'master'
fix(bt/bluedroid): Fix BLE malloc internal wrapper fail

See merge request espressif/esp-idf!27677
2024-01-22 10:34:07 +08:00
Erhan Kurubas
029a0582e1 feat(coredump): improve the probability of accessing healthy TCBs 2024-01-22 00:18:28 +08:00
morris
e0dec99741 feat(dsi): add mipi dsi lcd unit test app 2024-01-20 17:02:28 +08:00
morris
7013815ea7 feat(dsi): add mipi dsi driver to esp_lcd 2024-01-20 16:50:22 +08:00
zhanghaipeng
101bfcd7a1 fix(ble/bluedroid): Fix BLE background connection log level 2024-01-20 16:42:54 +08:00
zhanghaipeng
b491c7bb6f fix(ble/bluedroid): Fix dangling pointer issue in deletion of bonded devices 2024-01-20 16:35:38 +08:00
linruihao
b6d6735190 fix(esp_coex): Fixed potential BLE scan request ifs timer error bug 2024-01-20 11:26:52 +08:00
zhiweijian
5552941e57 Fixed BLE scan request ifs timer error in coexistence scenarios 2024-01-20 11:26:52 +08:00
Konstantin Kondrashov
261651fc19 Merge branch 'feature/efuse_update' into 'master'
feat(efuse): Adds new efuses for H2 and C6 chips

See merge request espressif/esp-idf!27672
2024-01-20 03:10:44 +08:00
David Cermak
73102c60ef fix(lwip): Used dedicated IP4 address type 2024-01-19 17:48:47 +01:00
Jiang Jiang Jian
984418d0c4 Merge branch 'bugfix/fix_pmk_invalid_wpa_or_wpa2_connect_fail_issue' into 'master'
fix(wifi): fix pmk invalid lead same ssid wpa and wpa2 connect fail issue

Closes WIFIBUG-192 and WIFIBUG-346

See merge request espressif/esp-idf!28571
2024-01-19 19:50:06 +08:00
laokaiyao
b9e44b92b3 ci(i2s): enable i2s ci tests on p4 2024-01-19 19:28:33 +08:00
laokaiyao
62ae0efa54 feat(i2s): support i2s legacy driver on p4 2024-01-19 19:28:33 +08:00
Darshan Dobariya
35d3306200 fix(nimble): Added change to ensure that API execution returns success 2024-01-19 14:48:43 +05:30
zhanghaipeng
aeeb64966b feat(bt/bluedroid): Support ext adv aux option 2024-01-19 16:48:18 +08:00
luomanruo
dededd1267 change(ble): npl count is zero if nimble host is not used
change(ble): added npl eventq put to front

change(ble): added cache safe check in ble power save example

ble(update):
    Update c2 lib to 91b81332
    Update h2 lib to 620fbe79
    Update c6 lib to 620fbe79

fix(ble): fix stack overflow disable at sleep

Revert "change(ble): added ble cca en and thresh option"

This reverts commit 71901499b9.
2024-01-19 16:13:12 +08:00
Sudeep Mohanty
82f2294bcb Merge branch 'feature/ulp_riscv_interrupt_handling' into 'master'
feat(ulp-riscv): Added interrupt handling for ULP RISC-V

Closes IDFGH-9866 and IDF-1713

See merge request espressif/esp-idf!27802
2024-01-19 15:44:27 +08:00
muhaidong
f268621627 fix(wifi): fix pmk invalid lead same ssid wpa and wpa2 connect fail issue 2024-01-19 11:54:10 +08:00
zhanghaipeng
0f29b3cef9 fix(bt/bluedroid): Fix BLE malloc internal wrapper fail 2024-01-19 11:22:33 +08:00
zhanghaipeng
ee4d4f1d35 docs(ble/bluedroid): Optimize documentation for BLE duplicate scan 2024-01-19 11:21:42 +08:00
zhanghaipeng
8de484888f feat(ble/bluedroid): Add getter for BLE GATTC calllback 2024-01-19 11:21:42 +08:00
Zeke Gustafson
be47da1962 feat(ble/bluedroid): Add getter for BLE GATTS callback 2024-01-19 11:21:42 +08:00
Zeke Gustafson
6bc5b0069f feat(ble/bluedroid): Add getter for BLE GAP callback 2024-01-19 11:21:42 +08:00
Omar Chebib
cdde05335e Merge branch 'refactor/riscv_interrupt' into 'master'
refactor(riscv): Refactor crosscore interrupts and core interrupt code

Closes IDF-5720, DOC-5177, and IDF-7899

See merge request espressif/esp-idf!27845
2024-01-19 10:51:04 +08:00
Shu Chen
9a6b0941b0 Merge branch 'bugfix/esp32h2_wakeup_i2c_fail' into 'master'
fix(esp_phy): fix esp32h2 wakeup i2c fail

Closes BLERP-465

See merge request espressif/esp-idf!28462
2024-01-19 10:08:17 +08:00
Omar Chebib
71e7f175ff Merge branch 'bugfix/stack_watermark_fpu_esp32p4' into 'master'
fix(riscv): adjust TCBs lowest stack address when the FPU is used

Closes IDF-8995 and IDF-8423

See merge request espressif/esp-idf!28429
2024-01-19 10:04:29 +08:00
C.S.M
6c5373911a Merge branch 'bugfix/cannot_jump_range' into 'master'
fix(temperature_sensor): Cannot switch the range smoothly on esp32h2

Closes IDF-9054

See merge request espressif/esp-idf!28530
2024-01-19 09:44:26 +08:00
Sudeep Mohanty
94e2516f6c feat(ulp-riscv): Added support for RTC IO interrupts for ULP RISC-V
This commit adds a feature to register RTC IO interrupt handlers for the
ULP RISC-V co-processor.
2024-01-18 15:59:45 +01:00
Sudeep Mohanty
b9ecc1e57a feat(ulp-riscv): Added SW interrupt capability for ULP RISC-V
This commit adds a feature to ULP RISC-V where the user can trigger
a software interrupt on the ULP RISC-V core.
2024-01-18 15:59:40 +01:00
Sudeep Mohanty
70241d13a2 feat(ulp-riscv): Added interrupt allocator and de-allocator
This commit adds methods to allocate and de-allocate interrupt handlers
for the ULP RISC-V.
2024-01-18 15:59:35 +01:00
Sudeep Mohanty
a6461eab77 feat(ulp-riscv): Added interrupt vector handling for ULP RISC-V
This commit adds interrupt vector processing for the ULP RISC-V co-processor.
2024-01-18 15:59:27 +01:00
Adam Múdry
8e50d63fea feat(fatfs): Add an option to use 2 FATs (file allocation tables) in FATFS volumes
Should help with redundancy and data corruption when enabled but uses more space.
2024-01-18 14:03:28 +01:00
Wan Lei
2bd7e67205 Merge branch 'contrib/github_pr_12998' into 'master'
fix(twai): TWAI_GENERAL_CONFIG_DEFAULT initialize controller_id (GitHub PR)

Closes IDFGH-11917

See merge request espressif/esp-idf!28554
2024-01-18 20:03:47 +08:00
aditi_lonkar
6006568c77 fix(wpa_supplicant):Add MBO config flag for mbo apis 2024-01-18 15:11:30 +05:30
Darian
c1cc22d245 Merge branch 'refactor/usb_remove_unused_files' into 'master'
USB: Remove unused HAL files and deprecate usb_periph

See merge request espressif/esp-idf!28293
2024-01-18 17:01:06 +08:00
Wan Lei
73ff086e21 Merge branch 'fix/p4_spi_master_clock_sourse_sel' into 'master'
fix(spi_master): Fix p4 spi clock source support other than XTAL

See merge request espressif/esp-idf!28392
2024-01-18 16:46:44 +08:00
Omar Chebib
102d5bbf72 refactor(riscv): added a new API for the interrupts 2024-01-18 16:36:53 +08:00
Rahul Tank
041da5cb60 Merge branch 'bugfix/add_minor_fixes_debug' into 'master'
fix(nimble): Add minor debug fixes

See merge request espressif/esp-idf!28518
2024-01-18 16:32:33 +08:00
Omar Chebib
5cdf145f55 refactor(riscv): refactor crosscore interrupt 2024-01-18 16:27:36 +08:00
C.S.M
298931596a Merge branch 'bugfix/wrong_serial_num_2_rom' into 'master'
fix(uart,usj..): Fix wrong serial number that has been parsed to rom functions

Closes IDFGH-11872

See merge request espressif/esp-idf!28414
2024-01-18 16:17:37 +08:00
Wu Zheng Hui
d3df4246d8 Merge branch 'bugfix/fix_systick_lost_in_esp32_dfs' into 'master'
fix(esp_pm): safely check ccompare validity in DFS update_ccompare

Closes IDF-8879

See merge request espressif/esp-idf!28176
2024-01-18 16:16:08 +08:00
nilesh.kale
59c5b5fe6b fix(bootloader): Fix compilation issue in bootloader build during verbose+sb+fe 2024-01-18 12:15:15 +05:30
David Cermak
d707161881 fix(lwip): esp_netif supports esp_netif_get_netif_impl() for PPP 2024-01-18 14:20:39 +08:00
David Cermak
63e8e01646 feat(lwip): Added PPP config option to control VJ header compression 2024-01-18 14:20:39 +08:00
David Cermak
18ff62017a feat(lwip): Add support for PPP server
Added support PPP_SERVER option in LWIP
Added support for configuring preferred addresses of PPP endpoints.
2024-01-18 14:20:39 +08:00
Omar Chebib
c7e63078b7 fix(riscv): adjust TCBs lowest stack address when the FPU is used 2024-01-18 13:06:29 +08:00
Marius Vikhammer
4f96919039 Merge branch 'bugfix/p4_newlib_test' into 'master'
test(newlib): enable and fix newlib tests on P4

Closes IDF-7862 and IDF-8983

See merge request espressif/esp-idf!28553
2024-01-18 13:02:56 +08:00
Jiang Jiang Jian
48b3f8a198 Merge branch 'bugfix/fix_crash_issue_when_mesh_deinit' into 'master'
fix(wifi/mesh): fix crash issue when mesh deinit

Closes WIFIBUG-194, WIFIBUG-193, WIFIBUG-209, and WIFIBUG-265

See merge request espressif/esp-idf!27570
2024-01-18 11:13:26 +08:00
Cao Sen Miao
6768805d20 fix(uart,usj...): Fix wrong serial number that has been parsed to rom functions,
Closes https://github.com/espressif/esp-idf/issues/12958
2024-01-18 10:51:51 +08:00
wuzhenghui
0dc7cad586 fix(esp_pm): safely check ccompare validity in DFS update_ccompare 2024-01-18 10:34:47 +08:00
Marius Vikhammer
9ab0d95f65 test(newlib): enable and fix newlib tests on P4 2024-01-18 09:52:11 +08:00
Song Ruo Jing
e45aea723b Merge branch 'feature/esp32p4_ppa_ll_support' into 'master'
feat(ppa): add low level support for PPA

See merge request espressif/esp-idf!28268
2024-01-17 23:18:35 +08:00
Ondrej Kosta
0766bb5f62 Merge branch 'feature/p4_emac' into 'master'
ESP32P4 EMAC

See merge request espressif/esp-idf!27178
2024-01-17 22:22:05 +08:00
Nebojša Cvetković
bd9711dde6 fix(twai): TWAI_GENERAL_CONFIG_DEFAULT initialize controller_id
Fix for C++ warning `-Wmissing-field-initializers`
2024-01-17 13:42:50 +00:00
Darian Leung
19c18845b0 refactor(soc): Remove soc/usb_types.h
This header has been removed for the following reasons:

- Header is misplaced. 'xxx_types.h' headers should be placed in the 'hal'
component.
- The 'usb_xxx_endpoint_t' should be placed in the 'xxx_struct.h' header.
2024-01-17 21:28:25 +08:00
Darian Leung
6a43b623dc refactor(soc): Rename usb_otg_periph to usb_dwc_periph
- Renamed usb_otg_periph.h/c to usb_dwc_periph.h/c to match naming convention
of other DWC OTG related files
- Added compatibility header for usb_otg_periph.h
2024-01-17 21:28:25 +08:00
Darian Leung
01a4a1d7f0 refactor(soc): Deprecate usb pin mappings
usb_pins.h and usb_periph.h/c lists mappings of USB DWC signals to GPIOs used
to connect to external FSLS PHYs. However, those signals can be routed to any
GPIOs via the GPIO matrix. Thus, these mapping are meaningless and have been
deprecated.
2024-01-17 21:28:25 +08:00
Darian Leung
e63bfb24f5 refactor(hal): Remove usb_hal and usb_ll
This commit removes some legacy USB related HAL and LL files that are no longer
used.
2024-01-17 21:28:25 +08:00
Abhik Roy
7004c07e3f fix(lwip): Corrected NAPT dependency text 2024-01-17 23:42:31 +11:00
Rahul Tank
6a7dc27421 fix(nimble): Add minor debug fixes 2024-01-17 17:24:59 +05:30
Rahul Tank
6e860a8a5b Merge branch 'bugfix/address_resolution' into 'master'
fix(nimble): Added support for address resolution during inquiry

Closes IDFCI-1894

See merge request espressif/esp-idf!28294
2024-01-17 19:31:52 +08:00
Erhan Kurubas
bc2650cdca Merge branch 'update_spdx_license_tag' into 'master'
feat(license): update OpenOCD stub source files with additional MIT license

See merge request espressif/esp-idf!28480
2024-01-17 19:26:06 +08:00