Compare commits

..

9613 Commits

Author SHA1 Message Date
Xiao Xufeng
f5c3654a1c change(version): Update version to 5.4.2 2025-06-20 14:35:04 +08:00
Jiang Jiang Jian
f0f2980d05 Merge branch 'bugfix/http_client_test_failure_v5.4' into 'release/v5.4'
fix: update root certificate for postman-echo endpoint (v5.4)

See merge request espressif/esp-idf!39847
2025-06-20 14:18:29 +08:00
morris
fe5927aee6 Merge branch 'ci/readme_remove_c61_fix_ci' into 'release/v5.4'
ci(esp32c61): remove c61 support from readme on 5.4

See merge request espressif/esp-idf!39892
2025-06-18 11:30:52 +08:00
morris
ee76b46195 fix(onewire): enable internal pull-up resistor by default
In case there's no pull-up resistor on the external device
2025-06-17 15:09:40 +08:00
wanckl
ea03622621 ci(esp32c61): remove c61 support from readme on 5.4 2025-06-17 15:09:40 +08:00
Jiang Jiang Jian
75f9cc646d Merge branch 'fix/update_dfs_compensate_table_v5.4' into 'release/v5.4'
fix(esp_hw_support): update esp32 dfs table to make the timing drift always negative (v5.4)

See merge request espressif/esp-idf!39839
2025-06-16 20:42:34 +08:00
wuzhenghui
2519605acb change(bt): increase BTDM_MODEM_WAKE_UP_DELAY 2025-06-13 20:37:35 +08:00
wuzhenghui
626123bbeb change(esp_timer): make esp_timer timming drift always be negative 2025-06-13 20:37:30 +08:00
Mahavir Jain
96eb236610 fix: update root certificate for postman-echo endpoint
The certificate chain for postman-echo endpoint has switched to
Let's Encrypt root CA
2025-06-13 11:05:38 +05:30
wuzhenghui
5b64757042 fix(esp_hw_support): config lact in critical 2025-06-13 12:06:18 +08:00
Jiang Jiang Jian
46909c5048 Merge branch 'bugfix/add_missing_deinit_call_v5.4' into 'release/v5.4'
fix(nimble): Add invocation for mempool_deinit (v5.4)

See merge request espressif/esp-idf!39671
2025-06-10 19:23:27 +08:00
morris
e03d8d7ee9 Merge branch 'test/c61_disable_build_test_v5.4' into 'release/v5.4'
test(ci): disable c61 build test on 5.4

See merge request espressif/esp-idf!39630
2025-06-09 17:23:33 +08:00
Island
b3d3a82daa Merge branch 'fix/ble_log_spi_out_timer_delete_v5.4' into 'release/v5.4'
fix(ble): set timer handle to null after deletion (v5.4)

See merge request espressif/esp-idf!39559
2025-06-06 14:19:27 +08:00
Rahul Tank
401f0a7cae fix(nimble): Add invocation for mempool_deinit 2025-06-04 17:02:41 +05:30
wanckl
66c8539368 test(ci): disable c61 build test on 5.4 2025-06-03 20:09:05 +08:00
Zhou Xiao
c3c7164dc5 fix(ble): set timer handle to null after deletion
(cherry picked from commit 1614e71eb6)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-30 19:53:39 +08:00
Jiang Jiang Jian
28980b62c9 Merge branch 'bugfix/add_more_checks_when_receiving_espnow_v5.4' into 'release/v5.4'
fix(wifi): Added more check when receiving espnow data (v5.4)

See merge request espressif/esp-idf!39518
2025-05-30 00:35:27 +08:00
sibeibei
b369c44beb fix(wifi): rx bcn failed when sta off channel under modem state 2025-05-29 20:46:16 +08:00
zhangyanjiao
d4dafbdc35 fix(wifi): Added more check when receiving espnow data 2025-05-29 20:46:16 +08:00
Jiang Jiang Jian
306f101a2b Merge branch 'fix/incorrect_setting_of_sco_packet_type_mask_v5.4' into 'release/v5.4'
fix(bt): fixed incorrect mask was used to exclude sco packets (backport v5.4)

See merge request espressif/esp-idf!39500
2025-05-29 16:19:08 +08:00
Jiang Jiang Jian
8497af9b77 Merge branch 'bugfix/scan_stop_when_conenct_v5.4' into 'release/v5.4'
fix(esp_wifi): Fix locking in incorrect state when stop_scan is called after connect

See merge request espressif/esp-idf!39481
2025-05-29 16:18:35 +08:00
Shreyas Sheth
5fb9c3a849 fix(esp_wifi): Fix locking in incorrect state when stop_scan is called after connect 2025-05-29 12:53:42 +05:30
Jiang Jiang Jian
d5a43edfbc Merge branch 'feature/add_uart_io_deinit_process_v5.4' into 'release/v5.4'
fix(uart): eliminate garbled data on TX/RX line in sleep (v5.4)

See merge request espressif/esp-idf!39263
2025-05-29 13:50:38 +08:00
Jiang Jiang Jian
b901c89f95 Merge branch 'feat/impl_bt_coex_timer_event_v5.4' into 'release/v5.4'
feat(coex): implement BT coex timer event (Backport v5.4)

See merge request espressif/esp-idf!39437
2025-05-29 13:50:16 +08:00
Jiang Jiang Jian
104f57db68 Merge branch 'bugfix/fix_sta_connection_info_error_on_c5_c6_v5.4' into 'release/v5.4'
fix(wifi): fix the issue that sta connection info loss lr info on C5/C6 (v5.4)

See merge request espressif/esp-idf!39439
2025-05-29 11:33:19 +08:00
gongyantao
ac5b71e415 fix(bt): fixed incorrect mask was used to exclude sco packets 2025-05-29 09:55:41 +08:00
zhangyanjiao
49ac962c51 fix(wifi): fix the issue that sta connection info loss lr info on C5/C6 2025-05-28 19:09:34 +08:00
Jiang Jiang Jian
c8b1951189 Merge branch 'fix/rrm_config_set_v5.4' into 'release/v5.4'
Set rrm config condition in case RRM monitoring is enabled

See merge request espressif/esp-idf!39431
2025-05-28 17:56:45 +08:00
Jiang Jiang Jian
f906de4eb6 Merge branch 'bugfix/incorrect_sae_pk_flag_v5.4' into 'release/v5.4'
Disable SAE-PK indication in Assoc Request when not configured (Backport v5.4)

See merge request espressif/esp-idf!39075
2025-05-28 17:56:27 +08:00
Jiang Jiang Jian
7cc3e9c957 Merge branch 'bugfix/supplicant_analyzer_fixes_v5.4' into 'release/v5.4'
Bugfix/supplicant analyzer fixes (v5.4)

See merge request espressif/esp-idf!39455
2025-05-28 14:29:59 +08:00
Jiang Jiang Jian
ebcbbb94fe Merge branch 'bugfix/fix_few_nimble_issues_10052025_v5.4' into 'release/v5.4'
fix(nimble): fix few issues 10052025(v5.4)

See merge request espressif/esp-idf!39014
2025-05-28 14:24:57 +08:00
Jiang Jiang Jian
70ff14e4fa Merge branch 'bugfix/fix_some_external_coexist_issues_v5.4' into 'release/v5.4'
fix(coex): fix some external coexist issue(Backport v5.4)

See merge request espressif/esp-idf!39435
2025-05-28 14:24:53 +08:00
Jiang Jiang Jian
a68299e69f Merge branch 'fix/bootloader_reserved_area_alignment_v5.4' into 'release/v5.4'
fix(esp_system): fix RTC reserved area alignment in the linker script (backport v5.4)

See merge request espressif/esp-idf!39253
2025-05-28 14:24:20 +08:00
akshat
bcd91ec882 bugfix(wifi): Fix incorrect SAE-PK advertisement in assoc request 2025-05-28 14:23:56 +08:00
Jiang Jiang Jian
df50dda690 Merge branch 'bugfix/wps_pbc_overlap_uuid_v5.4' into 'release/v5.4'
fix(wpa_supplicant): Ensure pbc_overlap event is posted correctly (Backport v5.4)

See merge request espressif/esp-idf!39056
2025-05-28 14:22:27 +08:00
Jiang Jiang Jian
fe9669d4fb Merge branch 'ci/fix-custom-oocd-setting_v5.4' into 'release/v5.4'
ci: select OpenOCD binary based on runner (v5.4)

See merge request espressif/esp-idf!39377
2025-05-28 14:20:39 +08:00
Island
9b329bb893 Merge branch 'feat/reduce_bin_size_and_iram_for_ble_rom_code_v5.4' into 'release/v5.4'
feat(ble/controller): Reduce bin size and IRAM for BLE rom code on ESP32-C3 and ESP32-S3 (v5.4)

See merge request espressif/esp-idf!39452
2025-05-28 11:19:00 +08:00
Island
282c1d6576 Merge branch 'bugfix/fix_send_delete_link_key_cmd_1_v5.4' into 'release/v5.4'
Bugfix/fix send delete link key cmd 1 (v5.4)

See merge request espressif/esp-idf!39445
2025-05-28 10:58:37 +08:00
Island
f3e781b8a2 Merge branch 'fix/ble_mesh_micellaneous_update_v5.4' into 'release/v5.4'
Fix/ble mesh micellaneous update v5.4

See merge request espressif/esp-idf!39460
2025-05-28 10:58:14 +08:00
luoxu
6305482abb feat(ble_mesh): update lib to bbb57d10f9 2025-05-27 20:57:18 +08:00
luoxu
549cecbe6e feat(ble_mesh): Change the type of rpl size from uint8 to uint16 2025-05-27 20:57:18 +08:00
luoxu
355e56ba55 fix(ble_mesh): update ble 50 macro on unsupported version 2025-05-27 20:57:18 +08:00
luoxu
736eda2189 fix(ble_mesh): fixed issue where private beacon used incorrect adv type 2025-05-27 20:57:18 +08:00
luoxu
85fcf36fb0 fix(ble_mesh): fixed some issues with ble50 2025-05-27 20:57:18 +08:00
luoxu
822385a92e feat(ble_mesh): Remote Provisioning Server UUID Matchs Supported 2025-05-27 20:57:18 +08:00
luoxu
228470339f fix(ble_mesh): Remote Provisioning Client/Server bugs fixed 2025-05-27 20:57:18 +08:00
Kapil Gupta
2348bc3ff9 ci(esp_wifi): Extend eloop test to verify wifi deinit properly 2025-05-27 13:43:03 +05:30
Kapil Gupta
6d97c71d91 fix(esp_wifi): Fixed some concurrency issues in eloop deinit 2025-05-27 13:42:55 +05:30
Kapil Gupta
3e810f5936 fix(esp_wifi): Add eloop blocking call API for public APIs 2025-05-27 13:42:41 +05:30
Kapil Gupta
221f641eb8 fix(esp_wifi): Fixed static analyzer issues 2025-05-27 13:39:08 +05:30
Kapil Gupta
4514aa8e11 fix(esp_wifi): Disble IP renew skip by default 2025-05-27 13:37:23 +05:30
Zhi Wei Jian
33df4408d7 feat(ble/controller): Reduce bin size and IRAM for BLE rom code
(cherry picked from commit 1d739291ca)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2025-05-27 16:03:34 +08:00
Zhang Hai Peng
3ebab4f681 fix(ble/bluedroid): Fixed clear BLE device recored
(cherry picked from commit 21391a45fd)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-05-27 15:13:54 +08:00
Zhang Hai Peng
3b6faa8514 fix(ble/bluedroid): Fixed issue with deleting link key when classic Bluetooth is not used
(cherry picked from commit 7c16bce827)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-05-27 15:13:51 +08:00
linruihao
b50ce3c7ac feat(coex): implement BT coex timer event 2025-05-27 15:00:12 +08:00
Jiang Jiang Jian
6f5c9d4a4c Merge branch 'change/exclude_cve-2023-53154_v5.4' into 'release/v5.4'
change: adds CVE-2023-53154 to cJSON sbom exclude list (v5.4)

See merge request espressif/esp-idf!39416
2025-05-27 14:43:37 +08:00
muhaidong
279dc78e38 fix(coex): fix some external coexist issue 2025-05-27 14:36:28 +08:00
Song Ruo Jing
a46990ff5e fix(uart): fix nmea0183 example wrong knots to m/s unit conversion
Closes https://github.com/espressif/esp-idf/issues/15695
2025-05-27 14:15:33 +08:00
Song Ruo Jing
ec373b51b8 fix(uart): correct C3/S3 module enable porcedure to avoid undesired line noise 2025-05-27 14:15:33 +08:00
Song Ruo Jing
3b3ae85bbe fix(sleep): uart suspend/flush should also check if port is enabled on esp32 2025-05-27 14:15:33 +08:00
Song Ruo Jing
16fced715f docs(uart): improve set/get baud rate API docs
Closes https://github.com/espressif/esp-idf/issues/15449
2025-05-27 14:15:33 +08:00
Song Ruo Jing
1084a1e14c fix(uart): fixed coverity ininitialized scalar variable in uart_tcgetattr 2025-05-27 14:15:33 +08:00
Song Ruo Jing
253c69da08 fix(dedic_gpio): fix calloc to heap_caps_calloc 2025-05-27 14:15:33 +08:00
Song Ruo Jing
bb52e53ede fix(uart): eliminate garbled data on UART TX/RX line in sleep 2025-05-27 14:15:33 +08:00
Song Ruo Jing
60f5828a4a feat(uart): add pin release process to uart driver 2025-05-27 14:15:29 +08:00
Rahul Tank
78214d16ee fix(nimble): Add changes for coverity reported issue 2025-05-27 11:08:25 +05:30
Rahul Tank
66c12d4efe fix(nimble): Add support for minimilistic builds 2025-05-27 11:07:33 +05:30
Rahul Tank
89c26078da fix(nimble): Extend support for allow connect during scan for more chips 2025-05-27 11:06:12 +05:30
Rahul Tank
c36adf0947 fix(nimble): Add configurable option to select ext adv v2 command 2025-05-27 11:04:54 +05:30
Astha Verma
6e4a2619ee fix(nimble): Added api's for fetching gatt cache info and discover included service 2025-05-27 11:03:20 +05:30
tarun.kumar
11334e1afd fix(wifi) : Set rrm config condition in case RRM monitoring is enabled 2025-05-27 10:53:07 +05:30
Jiang Jiang Jian
606ba21345 Merge branch 'feat/ble_log_spi_out_dev_phase_3_v5.4' into 'release/v5.4'
Feat/ble log spi out dev phase 3 (v5.4)

See merge request espressif/esp-idf!39355
2025-05-27 11:32:51 +08:00
Omar Chebib
fd7cfe0b04 fix(esp_system): fix RTC reserved area alignment in the linker script
Make sure the size of the RTC reserved area complies with the alignment requirement.

Closes https://github.com/espressif/esp-idf/issues/13082
2025-05-27 11:20:07 +08:00
Jiang Jiang Jian
76b003c8d6 Merge branch 'bugfix/fix_ble_scan_no_adv_report_when_connected_v5.4' into 'release/v5.4'
Fixed missing ADV reports after bonding and connection on ESP32-C3 and ESP32-S3 (v5.4)

See merge request espressif/esp-idf!39275
2025-05-27 11:15:50 +08:00
Jiang Jiang Jian
3c118a4a10 Merge branch 'bugfix/handle_flow_control_flag_v5.4' into 'release/v5.4'
fix(nimble): Add chip dependancy flag for Flow control feature (v5.4)

See merge request espressif/esp-idf!39294
2025-05-27 11:15:32 +08:00
Jiang Jiang Jian
89edea04e1 Merge branch 'bugfix/esp32s2_memprot_clear_v5.4' into 'release/v5.4'
fix(esp_hw_support): clear the memory protection interrupt status on boot (backport v5.4)

See merge request espressif/esp-idf!38052
2025-05-27 11:14:39 +08:00
Jiang Jiang Jian
871aeae6ad Merge branch 'fix/lp_periph_use_int_raw_v5.4' into 'release/v5.4'
change(lp-core): Update LP I2C and LP UART drivers to use raw interrupt status (v5.4)

See merge request espressif/esp-idf!39249
2025-05-27 11:11:29 +08:00
Jiang Jiang Jian
9d6a4e6962 Merge branch 'docs/fix_p4_usb_jtag_pins_v5.4' into 'release/v5.4'
docs(jtag): fix esp32p4 usb jtag pins (v5.4)

See merge request espressif/esp-idf!39157
2025-05-27 11:02:02 +08:00
Jiang Jiang Jian
82eba308c8 Merge branch 'docs/autocolor_multiline_v5.4' into 'release/v5.4'
docs(tools/idf-monitor): Add note about autocoloring limitation on multiline logs (v5.4)

See merge request espressif/esp-idf!39147
2025-05-27 11:01:24 +08:00
Jiang Jiang Jian
0ba1b04ebb Merge branch 'bugfix/fix_some_ble_bugs_0422_v5.4' into 'release/v5.4'
Bugfix/fix some ble bugs 0422 (v5.4)

See merge request espressif/esp-idf!39072
2025-05-27 10:58:54 +08:00
Jiang Jiang Jian
5c11f71fbc Merge branch 'backport/backport_some_changes_250512_v5.4' into 'release/v5.4'
fix(wifi): fix some wifi bugs(backport v5.4)

See merge request espressif/esp-idf!39400
2025-05-27 10:52:57 +08:00
Jiang Jiang Jian
87c18b1a46 Merge branch 'feat/socket_count_checks_v5.4' into 'release/v5.4'
feat(network/lwip): Add checks for maximum socket count (v5.4)

See merge request espressif/esp-idf!38865
2025-05-27 10:32:30 +08:00
Jiang Jiang Jian
fc5b878c65 Merge branch 'fix/remove-unnecessary-select_v5.4' into 'release/v5.4'
fix(esp_system): Remove unnecessary select from esp_system/Kconfig (v5.4)

See merge request espressif/esp-idf!37520
2025-05-26 19:52:26 +08:00
Jiang Jiang Jian
c8848f4147 Merge branch 'fix/slot0_requires_all_pins_in_1bit_mode_issue_v5.4' into 'release/v5.4'
sd: fixed all pins need to be set when using slot0 on esp32p4 issue (v5.4)

See merge request espressif/esp-idf!39306
2025-05-26 19:48:59 +08:00
Jiang Jiang Jian
aed8bdc8dd Merge branch 'update/v5.4_esp-idf-doc-env-v5.4_ubuntu_24.04' into 'release/v5.4'
Update esp-idf-doc-env-v5.4 image

See merge request espressif/esp-idf!38955
2025-05-26 19:48:14 +08:00
Jiang Jiang Jian
b53f520ebc Merge branch 'fix/fix_esp_timer_accuracy_when_do_dfs_v5.4' into 'release/v5.4'
fix(esp_hw_support): improve esp timer accuracy on DFS for esp32 & esp32s2 (v5.4)

See merge request espressif/esp-idf!39340
2025-05-26 19:46:58 +08:00
Jiang Jiang Jian
ee04629723 Merge branch 'feat/some_xip_psram_related_optimisations_and_fixes_v5.4' into 'release/v5.4'
feat(esp_psram): Add some wasted XIP PSRAM memory in heap and PSRAM protection (v5.4)

See merge request espressif/esp-idf!38872
2025-05-26 19:46:08 +08:00
Jiang Jiang Jian
9a36e3fea9 Merge branch 'contrib/github_pr_15059_v5.4' into 'release/v5.4'
feat(https): Get TLS errors from http client (GitHub PR) (v5.4)

See merge request espressif/esp-idf!39142
2025-05-26 19:45:50 +08:00
Jiang Jiang Jian
afa7b83ed7 Merge branch 'bugfix/gpio_dump_io_config_v5.4' into 'release/v5.4'
fix(gpio): fix pu, pd, drv value incorrect from gpio_dump_io_configuration on esp32 (v5.4)

See merge request espressif/esp-idf!37778
2025-05-26 19:45:25 +08:00
Jiang Jiang Jian
b999d102d1 Merge branch 'feat/calibrate_bus_latency_v5.4' into 'release/v5.4'
Feat/calibrate bus latency v5.4

See merge request espressif/esp-idf!39131
2025-05-26 19:44:51 +08:00
Jiang Jiang Jian
cf0c42936b Merge branch 'fix/fix_esp32p4_stuck_in_pd_ana_v5.4' into 'release/v5.4'
fix(esp_hw_support): fix esp32p4 may get stuck when entering deepsleep (v5.4)

See merge request espressif/esp-idf!39282
2025-05-26 19:44:17 +08:00
Jiang Jiang Jian
c61c31e884 Merge branch 'ci/enable_gcov_test_v5.4' into 'release/v5.4'
ci: enable gcov example for all chips (v5.4)

See merge request espressif/esp-idf!39164
2025-05-26 19:42:51 +08:00
Jiang Jiang Jian
84174f6ffc Merge branch 'feat/apptrace-crc16_v5.4' into 'release/v5.4'
Store CRC16 checksum value in the PERFMON1 reg (v5.4)

See merge request espressif/esp-idf!39209
2025-05-26 19:42:34 +08:00
Jiang Jiang Jian
28c4303059 Merge branch 'refactor/add_dfs_init_auto_test_v5.4' into 'release/v5.4'
fix(mcpwm): the wrong pm lock type on esp32 and esp32s3 (v5.4)

See merge request espressif/esp-idf!39193
2025-05-26 19:41:09 +08:00
Jiang Jiang Jian
f8be92085d Merge branch 'fix/gattc_proc_comparison_v5.4' into 'release/v5.4'
fix(nimble): Fix proc rx entry comparison (v5.4)

See merge request espressif/esp-idf!39187
2025-05-26 19:40:47 +08:00
Jiang Jiang Jian
e5145a9352 Merge branch 'refactor/usb_dwc_buff_delay_on_p4_backport_v5.4' into 'release/v5.4'
refactor(hcd_dwc): Apply ls_via_fs_hub delay for all targets (backport to v5.4)

See merge request espressif/esp-idf!39149
2025-05-26 19:40:06 +08:00
Jiang Jiang Jian
6837ed3974 Merge branch 'fix/usbjtag_after_tinyusb_backport_v5.4' into 'release/v5.4'
fix(usb/phy): Fix ability to switch back to USB/JTAG after uninstalling TinyUSB (backport to v5.4)

See merge request espressif/esp-idf!39126
2025-05-26 19:39:25 +08:00
Jiang Jiang Jian
b29391408b Merge branch 'feature/parttable_tool_use_only_ascii_for_names_v5.4' into 'release/v5.4'
fix(partition_table): Ignore UTF-8 BOM bytes in csv file (v5.4)

See merge request espressif/esp-idf!39180
2025-05-26 19:38:42 +08:00
Jiang Jiang Jian
12143d6587 Merge branch 'contrib/github_pr_15942_v5.4' into 'release/v5.4'
fix(esp_hw_support): Fix compile error on esp_cpu_int_has_handler on ESP32-P4 (GitHub PR) (v5.4)

See merge request espressif/esp-idf!39118
2025-05-26 19:38:22 +08:00
Jiang Jiang Jian
c51c27e879 Merge branch 'fix/fix_usb_hs_phy_leakage_on_deepsleep_v5.4' into 'release/v5.4'
fix(esp_hw_support): Fix deepsleep leakage after initializing USB HS phy (v5.4)

See merge request espressif/esp-idf!39168
2025-05-26 19:36:29 +08:00
Jiang Jiang Jian
10bf6f8b0d Merge branch 'feat/usb_host_move_dma_cap_mem_to_psram_p4_backport_v5.4' into 'release/v5.4'
feat(usb_host): Move DMA capable memory to external ram on P4 (backport v5.4)

See merge request espressif/esp-idf!39078
2025-05-26 19:35:12 +08:00
Jiang Jiang Jian
e84c28eff8 Merge branch 'freertos_sysview_deadlock_fix_v5.4' into 'release/v5.4'
fix(app_trace): prevent deadlock on sysview start (v5.4)

See merge request espressif/esp-idf!39137
2025-05-26 19:34:22 +08:00
Jiang Jiang Jian
9bb2fd0a83 Merge branch 'fix/cache_support_duing_pure_ram_app_v5.4' into 'release/v5.4'
fix(esp_mm): Move cache-related sources out of pure RAM app check (v5.4)

See merge request espressif/esp-idf!39063
2025-05-26 19:33:28 +08:00
Jiang Jiang Jian
43d3dd7b9c Merge branch 'bugfix/secure_ota_no_secure_boot_v5.4' into 'release/v5.4'
fix: secure OTA without secure boot issue for MMU page size configurable SoCs (v5.4)

See merge request espressif/esp-idf!39124
2025-05-26 19:30:53 +08:00
Jiang Jiang Jian
b4cacfe9ae Merge branch 'fix/fix_usj_pad_leakage_v5.4' into 'release/v5.4'
fix(esp_hw_support): always disable USJ pad in sleep to supress leakage (v5.4)

See merge request espressif/esp-idf!39106
2025-05-26 19:29:39 +08:00
akshat
4cc09f2436 fix(wpa_supplicant): Disconnect from previous AP while initiating WPS 2025-05-26 19:27:46 +08:00
akshat
4d8b266c08 fix(wpa_supplicant): Detect PBC overlap even when UUID is null 2025-05-26 19:27:46 +08:00
akshat
255c34ba9f fix(wpa_supplicant): Ensure pbc_overlap event is posted correctly
Preserves the pbc_overlap flag to allow proper event posting.
This ensures that pbc overlap detection functions as expected.
2025-05-26 19:27:46 +08:00
Jiang Jiang Jian
022805670d Merge branch 'bugfix/enable_additional_lp_io_wakeup_v5.4' into 'release/v5.4'
fix(lp_io): enable setting edge type wakeup sources for targets that support this (v5.4)

See merge request espressif/esp-idf!36010
2025-05-26 19:26:28 +08:00
Tomáš Rohlínek
0a9105a406 feat(network/lwip): Add checks for maximum socket count 2025-05-26 19:23:31 +08:00
Ashish Sharma
14a41c29c9 feat(cjson): update to latest upstream 2025-05-26 17:39:50 +08:00
Ashish Sharma
02a0db1dc4 change: adds CVE-2023-53154 to cJSON sbom exclude list 2025-05-26 17:31:11 +08:00
Zhou Xiao
a13ddd5c85 change(ble): make falling edge when disabling ts sync 2025-05-26 15:35:18 +08:00
yinqingzhao
bdc1f1b172 fix(wifi): fix some wifi bugs 2025-05-26 14:48:53 +08:00
Zhou Xiao
e2742ca1f7 fix(ble): fixed spi log init failure return value for ESP32 2025-05-26 10:47:14 +08:00
Zhou Xiao
d6cbc45350 fix(ble): fixed ts sync sleep support trigger 2025-05-23 19:13:00 +08:00
Zhou Xiao
279777aec8 fix(ble): fixed printf va list cross function pass failure 2025-05-23 12:29:46 +08:00
Samuel Obuch
6ee607b00f ci: select OpenOCD binary based on runner 2025-05-23 00:41:15 +02:00
Zhou Xiao
10ec6c6f27 fix(ble): fixed upper layer trans append failure bug
(cherry picked from commit 1e6bc70837)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:55:09 +08:00
Zhou Xiao
772fa9b2c7 feat(ble): support ts sync for sleep app
(cherry picked from commit e10460ce14)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:55:07 +08:00
Zhou Xiao
1bde1985ff feat(ble): support controller raw log print out
(cherry picked from commit ed09e97c66)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:55:05 +08:00
Zhou Xiao
1ddc2a69c1 feat(ble): refactored loss report module and represent frame using struct
(cherry picked from commit 9800d715a5)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:55:02 +08:00
Zhou Xiao
eb73902c9c feat(ble): support le audio log buffer separation
(cherry picked from commit cd3aa6527c)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:55:00 +08:00
Zhou Xiao
7298a27121 feat(ble): optimized printf functions code size and speed
(cherry picked from commit e4be25ba63)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:54:57 +08:00
Zhou Xiao
c690670f65 feat(ble): refactored flush module and provided public flush api
(cherry picked from commit 70792443c7)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:54:55 +08:00
Zhou Xiao
1cc5a41322 feat(ble): refactored ll isr buffer append and buffer flush using event handler
(cherry picked from commit bba90309e7)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:54:52 +08:00
Zhou Xiao
4f1e4cc83b feat(ble): provided dynamic spi enable/disable api
(cherry picked from commit 3568f19fef)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:54:50 +08:00
Zhou Xiao
bfdc8f3924 feat(ble): support hci log buffer separation
(cherry picked from commit 16a3b2c71b)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:54:47 +08:00
Zhou Xiao
25cd0ef51a feat(ble): optimized macros readability
(cherry picked from commit f8699785e9)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-22 16:54:45 +08:00
wuzhenghui
3fa79684cd ci(esp_timer): add UT case for esp_timer period alarm with DFS 2025-05-22 15:18:22 +08:00
wuzhenghui
b5da8a52c6 feat(esp_hw_support): compensate the error introduced to LACT during APB frequency switching 2025-05-22 15:18:21 +08:00
wuzhenghui
db6aedef25 fix(esp_hw_support): update systimer step immediately when XTAL changes on esp32s2 2025-05-22 15:18:21 +08:00
wuzhenghui
78e9c47580 fix(esp_hw_support): update LACT clock prescale immediately when APB changes on esp32 2025-05-22 15:18:16 +08:00
armando
6e3d0e5384 fix(sd): fixed menuconfig multi pin definitions issue 2025-05-21 11:11:33 +08:00
armando
d6b5320bf6 fix(sd): fixed slot0 requires all pins to be set when using 1bit iomux mode on p4 2025-05-21 11:11:28 +08:00
Rahul Tank
58f1f092e9 fix(nimble): Add chip dependancy flag for Flow control feature 2025-05-20 18:10:26 +05:30
wuzhenghui
e27321ab51 fix(esp_hw_support): fix esp32p4 may get stuck when entering deepsleep 2025-05-20 15:52:52 +08:00
Song Ruo Jing
c3e4134b0c feat(gpio): gpio_reset_pin should do IO reservation revoke
Closes https://github.com/espressif/esp-idf/issues/15598
2025-05-20 15:30:26 +08:00
Song Ruo Jing
8f231272f6 fix(gpio): fix IO output enable control
oen_sel and oen_inv_sel fields from func_out_sel_cfg register
2025-05-20 15:30:26 +08:00
Song Ruo Jing
9ed617fb17 fix(gpio): removed unnecessary step when routing input signal to a pin 2025-05-20 15:30:26 +08:00
Song Ruo Jing
f61b453a25 fix(gpio): fix 8/16-bit gpio, rtc/lp_io register access 2025-05-20 15:30:26 +08:00
Song Ruo Jing
6cffc5c994 fix(gpio): fix pu, pd, drv value incorrect from gpio_dump_io_configuration on esp32
Closes https://github.com/espressif/esp-idf/issues/14931
2025-05-20 15:30:14 +08:00
Island
734b1b1be5 Merge branch 'change/ble_update_lib_20250516_v5.4' into 'release/v5.4'
change(ble): [AUTO_MR] 20250516 - Update ESP BLE Controller Lib (v5.4)

See merge request espressif/esp-idf!39237
2025-05-20 11:41:52 +08:00
Zhang Hai Peng
abb3b2d70c fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(4713205)
- Fix: Missing ADV reports after bonding and connection


(cherry picked from commit 244d4f8fa7)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-05-20 11:13:32 +08:00
Zhao Wei Liang
6f99672c32 feat(ble): support creating connections during scanning process on ESP32-C5
(cherry picked from commit 9d687daf36)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-05-19 19:17:03 +08:00
Sudeep Mohanty
6b75576db2 change(lp-core): Update LP I2C and LP UART drivers to use raw interrupt status
This commit updates the LP I2C and LP UART drivers to use the raw
interrupt status without enabling the interrupts.
2025-05-19 10:33:21 +02:00
Zhao Wei Liang
6a9fedcab3 fix(ble): added missed printf for ll log interface
(cherry picked from commit d12e072b35)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-19 12:04:21 +08:00
Zhao Wei Liang
2f92b39cc5 feat(ble): support creating connections during scanning process on ESP32-H2
(cherry picked from commit 207d85a5f7)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-05-19 12:04:18 +08:00
Zhao Wei Liang
efd16c699a fix(ble): fixed occasional assert issue in scan and connection scenarios on ESP32-C6
(cherry picked from commit cd6038b6cf)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-05-19 12:04:16 +08:00
Zhao Wei Liang
d15978a30d change(ble): [AUTO_MR] Update lib_esp32c2 to 664e4255
(cherry picked from commit 3cfd4d0166)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-05-19 12:04:14 +08:00
Zhao Wei Liang
60d528f7a7 change(ble): [AUTO_MR] Update lib_esp32c6 to 1304a9d0
(cherry picked from commit 69158d5064)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-05-19 12:04:11 +08:00
Zhao Wei Liang
8a447d44c6 change(ble): [AUTO_MR] Update lib_esp32c5 to 1304a9d0
(cherry picked from commit 27220c1b4c)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-05-19 12:04:09 +08:00
Zhao Wei Liang
af84660236 change(ble): [AUTO_MR] Update lib_esp32h2 to 1304a9d0
(cherry picked from commit 29f89efea6)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-05-19 12:04:07 +08:00
Erhan Kurubas
41ac26292f feat(apptrace): Store CRC16 checksum value of exposed block in the perfmon reg 2025-05-16 11:32:41 +02:00
Konstantin Kondrashov
809925eb60 refactor(partition_table): Refactoring of code style 2025-05-16 09:42:03 +03:00
morris
488ab842e3 fix(mcpwm): the wrong pm lock type on esp32 and esp32s3 2025-05-16 10:50:43 +08:00
Sumeet Singh
4bfd493087 fix(nimble): Fix proc rx entry comparison (v5.4) 2025-05-15 19:44:48 +05:30
Konstantin Kondrashov
41dd352149 fix(partition_table): Ignore UTF-8 BOM bytes in csv file 2025-05-15 13:35:28 +03:00
Samuel Obuch
d452abc17e ci: fix app_trace_basic rules and test 2025-05-15 11:29:27 +02:00
Samuel Obuch
3c673cbea3 ci: enable gcov example for all chips 2025-05-15 11:29:22 +02:00
wuzhenghui
1811757ad9 fix(esp_hw_support): Fix deepsleep leakage after initializing USB HS phy 2025-05-15 16:05:05 +08:00
Anton Maklakov
7ec02857f4 docs(jtag): fix esp32p4 usb jtag pins 2025-05-15 12:13:31 +07:00
renpeiying
f114a94369 docs: Update CN for idf-monitor.rst 2025-05-14 13:55:08 +02:00
Peter Dragun
bb3655d6e7 docs(tools/idf-monitor): Add note about autocoloring limitation on multiline logs
Closes https://github.com/espressif/esp-idf/issues/15793
2025-05-14 13:54:55 +02:00
Roman Leonov
2034360d96 refactor(hcd_dwc): Apply ls_via_fs_hub delay for all targets 2025-05-14 13:53:34 +02:00
nilesh.kale
10fe93f1c3 fix(esp_http_client): update code format for API
This commit update code format as per IDF standard for API
esp_http_client_get_and_clear_last_tls_error().
2025-05-14 15:25:06 +05:30
Lorenzo Consolaro
5bd8026249 feat(https): Get TLS errors from http client
update PR

update mr

Update components/esp_http_client/esp_http_client.c

Co-authored-by: Nilesh Kale <nilesh.kale@espressif.com>
2025-05-14 15:25:06 +05:30
Samuel Obuch
23773bb4dc fix(sysview): do not use freertos ticks to prevent deadlock 2025-05-14 11:22:21 +02:00
Tan Yan Quan
5e3f2e7129 feat(openthread): change border agent to kconfig option 2025-05-14 16:12:27 +08:00
Tan Yan Quan
a53f89e66c fix(openthread): handle SetTimeSyncState when ifconfig up or down 2025-05-14 16:12:17 +08:00
Tan Yan Quan
f59e0b6dc7 feat(openthread): support bus_latency for dual-chip BR solution 2025-05-14 16:12:10 +08:00
John Boiles
2557132185 fix(usb/phy): Fix ability to switch back to USB/JTAG after uninstalling TinyUSB
Fixes #15912. This is a revert of a change made in 005ae0554 that breaks the
ability to re-initalize the USB/JTAG device after uninstalling TinyUSB.

Closes https://github.com/espressif/esp-idf/issues/15912
2025-05-14 08:25:40 +02:00
Mahavir Jain
e1d41ada5c test: add secure image verification case for C6/H2 2025-05-14 10:57:09 +05:30
Mahavir Jain
09fbed0eec fix: secure OTA without secure boot issue for MMU page size configurable SoCs
For secure app verification during OTA update case, the image was
getting memory mapped twice and hence the failure in verification.

Modified from memory mapped flash read to SPI flash read approach
for the MMU page size from image header.

Regression from 07318a4987

Closes https://github.com/espressif/esp-idf/issues/15936
2025-05-14 10:55:48 +05:30
Weltenprinz
d34bdc8394 fix(esp_hw_support): Fix compile error on esp_cpu_int_has_handler on ESP32-P4
Merges https://github.com/espressif/esp-idf/pull/15942
Closes https://github.com/espressif/esp-idf/issues/15941
2025-05-13 18:20:42 +03:00
wuzhenghui
daaba0f36c fix(esp_hw_support): always disable USJ pad in sleep to supress leakage 2025-05-13 20:11:18 +08:00
peter.marcisovsky
95bd653ec1 feat(usb_host): Move DMA capable memory to external ram on P4
- DWC-OTG internal DMA can access psram on esp32p4
    - Move DMA memory buffs to psram, to save internal ram
    - HCD tests and MSC example runs in CI with psram enabled
2025-05-13 13:31:17 +02:00
Peter Macko
417fe048a1 change(ci): Update esp-idf-docs-env-v5.4 image
- Add Sphinx warnings caused by [#11323](https://github.com/doxygen/doxygen/issues/11323)
- Update esp-idf-doc-env-v5.4 to use the updated parent image (Ubuntu 24.04 and Node.js 22)
- Exclude sphinx-known-warnings.txt from pre-commit checks.
2025-05-13 11:21:58 +02:00
Zhang Hai Peng
0743b4ad6e fix(ble/bluedroid): Reduce Bluedroid host log output over SPI
(cherry picked from commit 0586d10317)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-05-13 16:14:14 +08:00
Zhang Hai Peng
8a11127ddd fix(ble/bluedroid): Added value len check in esp_ble_gatts_send_indicate()
(cherry picked from commit bfa0fff2e5)

Co-authored-by: Nebojsa Cvetkovic <nebkat@gmail.com>
2025-05-13 16:14:12 +08:00
Zhang Hai Peng
e2915a60c5 fix(ble/bluedroid): Change maximum length of attribute value to 517
(cherry picked from commit df8c1f7a96)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-05-13 16:14:09 +08:00
Zhang Hai Peng
901fc0c9ac docs(ble): clarify meaning of 0 value for esp_ble_gap_start_ext_scan() parameters
(cherry picked from commit ebb76933d0)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-05-13 16:14:07 +08:00
Zhang Hai Peng
4f050ed635 fix(ble/bluedroid): Fixed BLE GAP appearance configuration check
(cherry picked from commit 6552854cb5)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-05-13 16:14:04 +08:00
nilesh.kale
93ca084b62 fix(esp_mm): Move cache-related sources out of pure RAM app check
This change resolves build issues when compiling with
CONFIG_APP_BUILD_TYPE_PURE_RAM_APP enabled.
2025-05-13 12:57:19 +05:30
Jan Beran
fdca2c76f3 fix(esp_system): Remove unnecessary select from esp_system/Kconfig 2025-05-12 09:51:04 +02:00
Marius Vikhammer
fe75355314 Merge branch 'bugfix/heap_in_flash_v5.4' into 'release/v5.4'
fix(heap): fixed CONFIG_HEAP_PLACE_FUNCTION_INTO_FLASH not working together with CONFIG_HEAP_TLSF_USE_ROM_IMPL (v5.4)

See merge request espressif/esp-idf!38121
2025-05-12 11:50:39 +08:00
Jiang Jiang Jian
fd37cd46b2 Merge branch 'feat/nvs_pytest_add_non_ascii_string_test_v5.4' into 'release/v5.4'
feat: Add NVS generator check test for CRC of non-ASCII strings (v5.4)

See merge request espressif/esp-idf!38842
2025-05-12 10:46:10 +08:00
Jiang Jiang Jian
063d9d4307 Merge branch 'contrib/github_pr_15132_v5.4' into 'release/v5.4'
fix(newlib): usleep returning early (GitHub PR) (v5.4)

See merge request espressif/esp-idf!38708
2025-05-12 10:42:50 +08:00
morris
77ae1d2b04 Merge branch 'bugfix/fixed_mismatch_of_tx_queue_statue_v5.4' into 'release/v5.4'
fix(i2s): fixed the false buf catenate while use preload (v5.4)

See merge request espressif/esp-idf!38967
2025-05-12 10:35:14 +08:00
Marius Vikhammer
2fcebb7483 fix(lp_io): allow edge wakeup types for LP-IO on chips which support it 2025-05-12 09:48:30 +08:00
Marius Vikhammer
cccccd6da8 fix(newlib): fixed newlib malloc wrappers IRAM/flash placement
If HEAP_PLACE_FUNCTION_INTO_FLASH = y then we should also place
the newlib wrappers for the heap in to flash.
2025-05-12 09:47:08 +08:00
Marius Vikhammer
209ac93ac2 fix(heap): fixed HEAP_PLACE_FUNCTION_INTO_FLASH disabled if heap impl in ROM 2025-05-12 09:47:08 +08:00
Rahul Tank
4a927ac8d6 Merge branch 'bugfix/provide_user_option_delete_pair_v5.4' into 'release/v5.4'
fix(nimble): Added option to stack to handle repeat pairing internally (v5.4)

See merge request espressif/esp-idf!38959
2025-05-10 22:55:07 +08:00
Shu Chen
3fc7689ea1 Merge branch 'feat/ot_br_esp32p4_v5.4' into 'release/v5.4'
feat(br): support ot_br example for esp32p4 (v5.4)

See merge request espressif/esp-idf!39003
2025-05-09 19:46:49 +08:00
Jiang Jiang Jian
4f09162f42 Merge branch 'bugfix/hwlp_coproc_saving_master_v5.4' into 'release/v5.4'
fix(freertos): workaround a hardware bug related to HWLP coprocessor (backport v5.4)

See merge request espressif/esp-idf!38059
2025-05-09 19:31:06 +08:00
Jiang Jiang Jian
ed8580011c Merge branch 'fix/reduce_rtc_text_size_v5.4' into 'release/v5.4'
fix(system): linker script: free unused .rtc.text memory for esp32c3, esp32s2 (v5.4)

See merge request espressif/esp-idf!35366
2025-05-09 18:54:01 +08:00
Jiang Jiang Jian
a3b5428364 Merge branch 'docs/fix-kconfserver-link_v5.4' into 'release/v5.4'
docs: Fix link to the kconfserver documentation (v5.4)

See merge request espressif/esp-idf!38905
2025-05-09 17:58:50 +08:00
Jiang Jiang Jian
90607ee77b Merge branch 'bugfix/esp32_c6_rev0_ecdsa_build_v5.4' into 'release/v5.4'
fix: Secure boot (ECDSA) build failure for C6 rev0 target (v5.4)

See merge request espressif/esp-idf!38834
2025-05-09 17:57:55 +08:00
Jiang Jiang Jian
aa1db69a13 Merge branch 'feat/remove_const_from_voltopart_v5.4' into 'release/v5.4'
feat(fatfs/diskio): Remove const from PARTITION VolToPart (v5.4)

See merge request espressif/esp-idf!38782
2025-05-09 17:55:57 +08:00
morris
bb2c83ef20 Merge branch 'fix/rmt_race_condition_v5.4' into 'release/v5.4'
fix(rmt): fix race condition and add receive config error message (v5.4)

See merge request espressif/esp-idf!38998
2025-05-09 17:20:53 +08:00
Mahavir Jain
103db4a4ac Merge branch 'fix/async_handler_example_stack_overflow_issue_v5.4' into 'release/v5.4'
fix(esp_http_server): Async handler example stack overflow fix (v5.4)

See merge request espressif/esp-idf!38996
2025-05-09 17:12:27 +08:00
Tan Yan Quan
58f08be521 feat(openthread/br): update thread-lib for esp32p4 and OT upstream ec2b0d487
* esp-openthread: thread_zigbee/esp-openthread@80d6e2f8e
* openthread: espressif/openthread@ec2b0d487
* esp-idf: espressif/esp-idf@64d713a71
2025-05-09 07:43:49 +00:00
Tan Yan Quan
64d713a712 feat(openthread): update OT upstream to ec2b0d487 2025-05-09 14:42:15 +08:00
Tan Yan Quan
58c1339077 feat(openthread): support esp32p4 as ot_br 2025-05-09 14:40:48 +08:00
Island
8ad0d3d8f2 Merge branch 'change/ble_update_lib_20250430_v5.4' into 'release/v5.4'
change(ble): [AUTO_MR] 20250430 - Update ESP BLE Controller Lib (v5.4)

See merge request espressif/esp-idf!38974
2025-05-09 14:05:17 +08:00
Island
1b1796fb2d Merge branch 'docs/update_ble_feature_status_latest_v5.4' into 'release/v5.4'
Updated BLE feature status (v5.4)

See merge request espressif/esp-idf!38991
2025-05-09 14:02:54 +08:00
Chen Jichang
65e8047c07 fix(rmt): fix race condition and add receive config error message
Closes https://github.com/espressif/esp-idf/issues/15842
Closes https://github.com/espressif/esp-idf/issues/15836
2025-05-09 13:44:18 +08:00
hrushikesh.bhosale
ccdd373eca fix(esp_http_server): Async handler example stack overflow fix
1. In async handler example, on hitting /long URI and closing the
connection forcefully from client (example ctrl + c) cause more stack
size (almost 200 bytes) than successfull request.
2. The connection should be closed from the server as soon as the client
closes the connect (i.e. handler should return ESP_FAIL to close the
connection)
2025-05-09 10:18:13 +05:30
Mahavir Jain
daf1057209 fix: Secure boot (ECDSA) build failure for C6 rev0 target
Closes https://github.com/espressif/esp-idf/issues/15856
2025-05-09 12:03:07 +08:00
Alexey Lapshin
c06fb3b759 fix(system): linker script: free unused .rtc.text memory for esp32c3/esp32s2/esp32s3 2025-05-09 11:39:24 +08:00
Omar Chebib
827f6bca2b fix(freertos): optimize HWLP context switch by disabling it when unused 2025-05-09 11:38:33 +08:00
Omar Chebib
d973153488 fix(freertos): workaround a hardware bug related to HWLP coprocessor
This commit manually sets the HWLP context to dirty when a Task that needs it is scheduled it.
2025-05-09 11:38:33 +08:00
Omar Chebib
f3fad943fd fix(esp_hw_support): clear the memory protection interrupt status on boot
Fixes https://github.com/espressif/esp-idf/issues/15359
2025-05-09 11:37:40 +08:00
Wei Yu Han
4c62b9b8e9 Updated BLE feature status
(cherry picked from commit b6fc400d1d818094de959930c20e1583c2e22c1a)

Co-authored-by: weiyuhan <weiyuhan@espressif.com>
2025-05-09 11:36:42 +08:00
Jiang Jiang Jian
796ca12684 Merge branch 'fix/ble_mesh_trans_pending_fix_v5.4' into 'release/v5.4'
fix(ble_mesh): remove tx pending assert (v5.4)

See merge request espressif/esp-idf!38936
2025-05-09 11:35:06 +08:00
morris
d62e3c7d14 Merge branch 'contrib/github_pr_15638_v5.4' into 'release/v5.4'
fix(i2c): Fix clear bus issue in legacy i2c driver, etc. (backport v5.4)

See merge request espressif/esp-idf!38828
2025-05-09 10:38:11 +08:00
Jiang Jiang Jian
d2b2909f6a Merge branch 'bugfix/fix_modem_state_rx_bcn_failed_v5.4' into 'release/v5.4'
fix(wifi):fix modem state rx bcn failed when tbtt update, support modem state for coexist (backport v5.4)

See merge request espressif/esp-idf!38935
2025-05-09 10:15:57 +08:00
Wang Meng Yang
304acd5c4c Merge branch 'feat/add_sdkconfig_for_secure_connection_v5.4' into 'release/v5.4'
fix(bt): disable dm1 for acl-u when aes-ccm is on in peripheral(backport v5.4)

See merge request espressif/esp-idf!38975
2025-05-09 09:38:58 +08:00
morris
a2022990a4 Merge branch 'ci/remove_c5_support_from_readme' into 'release/v5.4'
ci(esp32c5): remove c5 support from readme on v5.4

See merge request espressif/esp-idf!38851
2025-05-08 18:27:24 +08:00
gongyantao
44cc3f963d fix(bt): disable dm1 for acl-u when aes-ccm is on in peripheral 2025-05-08 18:20:45 +08:00
Rahul Tank
581dbafe22 fix(nimble): Added option to stack to handle repeat pairing internally 2025-05-08 15:33:05 +05:30
Rahul Tank
5d4d3c697e Merge branch 'feat/autopts_and_ssc_fixes_v5.4' into 'release/v5.4'
feat(nimble): Added fixes related to SSC and AutoPTS testing (v5.4)

See merge request espressif/esp-idf!38796
2025-05-08 17:59:05 +08:00
Mahavir Jain
977a9182ea Merge branch 'feat/c6_v002_compatibility_v5.4' into 'release/v5.4'
hw_support: Add Kconfig option for c6 v0.2 (v5.4)

See merge request espressif/esp-idf!38942
2025-05-08 16:48:31 +08:00
Shen Wei Long
08dbf8b7ff fix(ble): update ld file on ESP32-C2
(cherry picked from commit ee6607b489)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-05-08 14:54:15 +08:00
Shen Wei Long
ef8873f8b8 change(ble): [AUTO_MR] Update lib_esp32c2 to 16e16586
(cherry picked from commit 26754d8e71)

Co-authored-by: Shen Weilong <shenweilong@espressif.com>
2025-05-08 14:54:13 +08:00
Shen Wei Long
fe0899f94f change(ble): [AUTO_MR] Update lib_esp32c6 to 9ecb81c8
(cherry picked from commit a477bfb140)

Co-authored-by: Shen Weilong <shenweilong@espressif.com>
2025-05-08 14:54:11 +08:00
Shen Wei Long
59b8d97e3e change(ble): [AUTO_MR] Update lib_esp32c5 to 9ecb81c8
(cherry picked from commit 852a095b59)

Co-authored-by: Shen Weilong <shenweilong@espressif.com>
2025-05-08 14:54:08 +08:00
Shen Wei Long
3da6ad8f3a change(ble): [AUTO_MR] Update lib_esp32h2 to 9ecb81c8
(cherry picked from commit a3cc91dbf0)

Co-authored-by: Shen Weilong <shenweilong@espressif.com>
2025-05-08 14:54:06 +08:00
laokaiyao
30e78a644c fix(i2s): fixed the false buf catenate while use preload
Closes https://github.com/espressif/esp-idf/issues/15775
2025-05-08 14:24:10 +08:00
Shu Chen
c5f88c452c Merge branch 'feat/mtd_parent_search_v5.4' into 'release/v5.4'
feat(openthread): enable parent search function for MTD (v5.4)

See merge request espressif/esp-idf!38820
2025-05-08 14:13:05 +08:00
Shu Chen
323af330b9 Merge branch 'fix/calibrate_csl_rx_v5.4' into 'release/v5.4'
fix(openthread): calibrate CSL parameters (v5.4)

See merge request espressif/esp-idf!38533
2025-05-08 14:11:45 +08:00
Jiang Jiang Jian
5e7a047ad7 Merge branch 'bugfix/tsens_read_abnormal_value_v5.4' into 'release/v5.4'
fix: tsens read abnormal value in esp32c2eco4 (backport v5.4)

See merge request espressif/esp-idf!38900
2025-05-08 12:40:14 +08:00
laokaiyao
4318434aa6 ci(esp32c5): remove c5 support from readme on v5.4 2025-05-08 11:08:07 +08:00
Rahul Tank
151dc0bd74 Merge branch 'bugfix/conn_with_scan_c6_h2_v5.4' into 'release/v5.4'
fix(nimble): Enable support for Connect with scan for 32/ c6/ h2 chip (v5.4)

See merge request espressif/esp-idf!38852
2025-05-08 00:28:01 +08:00
Sumeet Singh
ffaa688582 feat(nimble): Added some fixes for autopts testing 2025-05-07 16:58:36 +05:30
Island
c799865f91 Merge branch 'bugfix/fix_scan_stopped_with_high_rtc_freq_v5.4' into 'release/v5.4'
fix(ble): fix rtc freq set too high on ESP32-C2 (v5.4)

See merge request espressif/esp-idf!38931
2025-05-07 18:47:22 +08:00
Xiao Xufeng
94217c03ec feat(soc): add config option for c6 v0.2 2025-05-07 16:45:53 +08:00
Rahul Tank
b65d20d371 fix(nimble): Enable support for Connect with scan for esp32/c6/ h2 chip 2025-05-07 12:40:18 +05:30
Island
8686f29e4f Merge branch 'fix/ble_mesh_fixed_insufficient_link_close_v5.4' into 'release/v5.4'
fix(ble_mesh): fixed issue with insufficient link close transmit cnt (v5.4)

See merge request espressif/esp-idf!38898
2025-05-07 14:58:26 +08:00
luoxu
b1d1170499 fix(ble_mesh): remove tx pending assert 2025-05-07 14:55:21 +08:00
Li Shuai
7014cfc831 fix(esp_hw_support): fix modem wakeup req always high caused by pmu min slp cycle update 2025-05-07 14:25:05 +08:00
Li Shuai
d5ff59f144 change(esp_hw_support): add interface to calculate slow clock period by clock frequency 2025-05-07 14:15:20 +08:00
Rahul Tank
6af56914c8 Merge branch 'fix/optimize_nimble_throughput_example_v5.4' into 'release/v5.4'
fix(nimble): Added support of Dynamic switching between different Phy modes. (v5.4)

See merge request espressif/esp-idf!38910
2025-05-07 12:38:55 +08:00
sibeibei
444dddd87d fix(wifi):fix modem state rx bcn failed when tbtt update, support modem state for coexist 2025-05-07 11:57:55 +08:00
morris
be8d37700b Merge branch 'feature/usb_host_ext_hub_collective_backport_v5.4' into 'release/v5.4'
feat(usb_host): External Hub collective backport to v5.4

See merge request espressif/esp-idf!37266
2025-05-07 10:48:35 +08:00
morris
02a4deca7d Merge branch 'contrib/github_pr_15853_v5.4' into 'release/v5.4'
Fix for an infinite wait in spi-lcd-touch example (GitHub PR) (v5.4)

See merge request espressif/esp-idf!38899
2025-05-07 10:46:02 +08:00
Jin Chen
ffad40df88 fix(ble): fix rtc freq set too high on ESP32-C2
(cherry picked from commit 6a80deac03)

Co-authored-by: cjin <jinchen@espressif.com>
2025-05-07 10:18:38 +08:00
Roman Leonov
e329d34109 refactor(ext_port): Removed ext_hub dependency 2025-05-06 15:22:15 +02:00
Roman Leonov
f78927334f refactor(ext_port): Changed the mechanism for hub class request
Merged all Hub Class specific request to one function.
Added a callback for the External Port Driver to break the dependency from ext_hub.h
2025-05-06 15:02:03 +02:00
Roman Leonov
08fd2d8d4e feat(ext_hub): Added device error handling 2025-05-06 14:58:26 +02:00
Roman Leonov
fb6e803bfa feat(usbh): Added uid presence check in USBH device object list 2025-05-06 14:58:26 +02:00
Shreeyash
4dfa2beaf1 fix(nimble): Added support for 1m, 2m, coded phy channels and optimized throughput 2025-05-06 17:58:17 +05:30
Rahul Tank
05e67781a1 Merge branch 'bugfix/add_adv_type_parse_v5.4' into 'release/v5.4'
fix(nimble): Add API to parse adv report for given type (v5.4)

See merge request espressif/esp-idf!38789
2025-05-06 19:55:48 +08:00
Jiang Jiang Jian
beb0bcc970 Merge branch 'bugfix/wps_msg_timeout_increase_v5.4' into 'release/v5.4'
fix(esp_wifi): Increase WPS message timeout (v5.4)

See merge request espressif/esp-idf!38875
2025-05-06 16:37:56 +08:00
akshat
71fde740e1 fix(wpa_supplicant): Fix build errors when Supplicant logs are enabled 2025-05-06 12:47:33 +05:30
Kapil Gupta
0de5180d8a fix(esp_wifi): Increase WPS timeout 2025-05-06 12:46:42 +05:30
Jan Beran
d0dd9c0511 docs: Fix link to the kconfserver documentation 2025-05-06 09:15:04 +02:00
Chen Jichang
c979548bfe fix(lcd): fix test failure regression 2025-05-06 14:31:32 +08:00
Chen Jichang
0daccd7f30 fix(lcd): fix the infinite wait when lvgl timer is no ready
Merges https://github.com/espressif/esp-idf/pull/15853
2025-05-06 14:31:32 +08:00
sibeibei
e2a1b933e8 fix: tsens read abnormal value in esp32c2eco4 2025-05-06 14:20:17 +08:00
Jiang Jiang Jian
45d95b1bd8 Merge branch 'fix/fix_esp32p4_retention_cost_v5.4' into 'release/v5.4'
fix(esp_hw_support): optimize retention cost and update sleep time compensation (v5.4)

See merge request espressif/esp-idf!38744
2025-05-06 14:18:49 +08:00
Decstar77
7cef584834 fix(spi-lcd-touch-example): Fix for an infinite wait caused by UINT32_MAX 2025-05-06 14:14:14 +08:00
Jiang Jiang Jian
89a76e918e Merge branch 'docs/update_ble_feature_support_status_v5.4' into 'release/v5.4'
Docs: update ble feature support status (v5.4)

See merge request espressif/esp-idf!37091
2025-05-06 14:02:31 +08:00
morris
0448c4bda5 Merge branch 'fix/usb_host_hcd_dma_ls_via_fs_hubs_backport_v5.4' into 'release/v5.4'
fix(hcd): Added delay to slow down scatter-gather dma for ls device via fs hubs (backport v5.4)

See merge request espressif/esp-idf!38650
2025-05-06 13:41:08 +08:00
Luo Xu
df82a96f15 fix(ble_mesh): fixed issue with insufficient link close transmit cnt
(cherry picked from commit ad1073693e)

Co-authored-by: luoxu <luoxu@espressif.com>
2025-05-06 12:23:33 +08:00
Jiang Jiang Jian
6a75fd8518 Merge branch 'bugfix/fix_not_update_country_in_beacon_v5.4' into 'release/v5.4'
fix(wifi): fix not update country in beacon(backport v5.4)

See merge request espressif/esp-idf!38831
2025-05-06 09:54:43 +08:00
harshal.patil
26586deb7d fix(esp_psram): Add XIP PSRAM alignment gaps in heap only if PSRAM protection is enabled 2025-05-05 11:52:15 +05:30
harshal.patil
9406fde68d feat(cpu_region_protect): Enable basic memory protection for SPIRAM 2025-05-05 11:52:04 +05:30
Rahul Tank
10d6bee001 Merge branch 'bugfix/fix_ext_disc_example_usage_v5.4' into 'release/v5.4'
fix(nimble): Corrected structure field name usage in examples (v5.4)

See merge request espressif/esp-idf!38858
2025-05-05 13:44:32 +08:00
harshal.patil
f77e96e7c6 feat(esp_psram): Add the gap created due to alignment of XIP segments in heap 2025-05-05 11:09:52 +05:30
harshal.patil
fac460f89e feat(esp_psram): Add some helper APIs to get usable PSRAM memory size 2025-05-05 11:09:52 +05:30
Mahavir Jain
b62c2cef1b Merge branch 'docs/fix_unterminated_quotes_v5.4' into 'release/v5.4'
fix(docs): Fix unterminated quotes in secure-boot-v2.rst (v5.4)

See merge request espressif/esp-idf!38885
2025-05-02 18:48:59 +08:00
harshal.patil
9276f7b294 fix(docs): Fix unterminated quotes in secure-boot-v2.rst 2025-05-02 15:16:39 +05:30
morris
92a5676c6e Merge branch 'fix/usb_comprehensive_heap_backport_v5.4' into 'release/v5.4'
fix(usb/host): Do not call heap_caps_get_allocated_size() in USB host driver (backport to v5.4)

See merge request espressif/esp-idf!38864
2025-05-01 07:58:56 +08:00
Roland Dobai
f811882a11 Merge branch 'ci/rename-packages_v5.4' into 'release/v5.4'
ci: rename local idf_ci folder, avoid name collision (v5.4)

See merge request espressif/esp-idf!38757
2025-04-30 17:17:23 +08:00
Tomas Rezucha
462c1ed957 fix(usb/host): Do not call heap_caps_get_allocated_size() in USB host driver
It causes heap corruption if heap poisoning is enabled on ESP32-P4.
It returns incorrect size on ESP32-S3.

Closes https://github.com/espressif/esp-idf/issues/15815
2025-04-30 08:38:37 +02:00
morris
733ff2bff6 Merge branch 'fix/fix_image_check_16_mega_bytes_limit_v5.4' into 'release/v5.4'
bootloader: fixed image cannot exceed 16MB issue (v5.4)

See merge request espressif/esp-idf!38846
2025-04-30 14:22:35 +08:00
Shu Chen
2423cd3257 Merge branch 'fix/fix_ot_set_mac_framecounter_v5.4' into 'release/v5.4'
backport: OpenThread features and bug fixes to v5.4

See merge request espressif/esp-idf!38816
2025-04-30 13:04:27 +08:00
Marius Vikhammer
93c7af19c7 Merge branch 'bugfix/linux_host_test_v5.4' into 'release/v5.4'
fix(linux): fix mixed linux host test issues found after CI docker image upgrade (v5.4)

See merge request espressif/esp-idf!38232
2025-04-30 13:02:25 +08:00
Aditya Patwardhan
f3617e69b6 Merge branch 'fix/build_failure_when_sha1_config_is_disabled_v5.4' into 'release/v5.4'
Fix build failure when CONFIG_MBEDTLS_SHA1_C is disabled (v5.4)

See merge request espressif/esp-idf!38815
2025-04-30 12:06:16 +08:00
Island
3e39358976 Merge branch 'bugfix/fix_cble50y25_207_v5.4' into 'release/v5.4'
Fixed MIC error disconnection when pairing with iOS devices on ESP32-C3 and ESP32-S3(edf923e) (v5.4)

See merge request espressif/esp-idf!38764
2025-04-30 11:16:53 +08:00
Marius Vikhammer
7781b4ac2b Merge branch 'fix/multi_core_race_cond_in_panic_handler_v5.4' into 'release/v5.4'
fix(panic_handler): Prevent race condition in panic handler (v5.4)

See merge request espressif/esp-idf!38664
2025-04-30 11:02:07 +08:00
armando
0255950b63 fix(bootloader): fixed image cannot exceed 16MB issue
flash 32-bit-addr is an experimental feature that has multiple
dependencies, e.g. flash chip vendor, etc.

If CONFIG_BOOTLOADER_CACHE_32BIT_ADDR_QUAD_FLASH can be enabled
successfully and tests are passed, we can allow images to be
placed on higher-than-16MB flash addresses
2025-04-30 10:33:10 +08:00
Rahul Tank
fec3a5f5bd fix(nimble): Corrected structure field name usage in examples 2025-04-29 21:44:57 +05:30
Adam Múdry
5929a8eacc feat: Add NVS generator check test for CRC of non-ASCII strings 2025-04-29 16:47:24 +02:00
yinqingzhao
c10d0fd84a fix(wifi): fix not update country in beacon 2025-04-29 21:44:38 +08:00
C.S.M
94cbc9bbac fix(i2c): Fix that fsm reset cause i2c scl frequency changed on esp32s2 2025-04-29 16:58:36 +08:00
C.S.M
30f60557ec fix(i2c): Fix some i2c coverity issue 2025-04-29 16:20:27 +08:00
C.S.M
d41636cfad fix(i2c): I2C should not clear bus in a nack state 2025-04-29 16:20:27 +08:00
Jonathan Swoboda
7079f03fb6 fix(i2c): Fix clear bus issue in legacy i2c driver,
Closes https://github.com/espressif/esp-idf/pull/15638
2025-04-29 16:20:27 +08:00
Rahul Tank
ddac3bfa71 fix(nimble): Add API to parse adv report for given type 2025-04-29 12:25:24 +05:30
Tan Yan Quan
cac14a0a61 feat(openthread): enable parent search function for MTD 2025-04-29 14:37:07 +08:00
morris
678ac6a83a Merge branch 'bugfix/remove_invalid_link_in_parlio_rx_example_v5.4' into 'release/v5.4'
fix(parlio_rx): remove invalid link in example readme (v5.4)

See merge request espressif/esp-idf!38750
2025-04-29 14:23:57 +08:00
Xu Si Yu
352ea8d02c feat(openthread): add a callback to handle rcp reset failure 2025-04-29 14:23:35 +08:00
Xu Si Yu
f1ae86f830 feat(openthread): dns server of border router bind unspecified netif 2025-04-29 14:23:34 +08:00
Xu Si Yu
0804c77a51 fix(openthread): use esp_netif_tcpip_exec when sending a trel message 2025-04-29 14:23:34 +08:00
Xu Si Yu
e134817623 feat(openthread): add a function to ensure monotonically increasing frame counter 2025-04-29 14:12:50 +08:00
Jiang Jiang Jian
ed9d55a0cb Merge branch 'refactor/sae_pt_flag_v5.4' into 'release/v5.4'
refactor(wifi): Optimize wifi bin size for station mode (Backport v5.4)

See merge request espressif/esp-idf!38306
2025-04-29 13:47:41 +08:00
laokaiyao
5750b0cc8f ci(esp32c5): disable c5 target tests on v5.4 2025-04-29 13:44:47 +08:00
laokaiyao
26a7397b35 fix(parlio_rx): remove invalid link in example readme 2025-04-29 13:44:47 +08:00
Kapil Gupta
ad4f3277db fix(esp_wifi): Use supplicant's internal SHA1 if not available from IDF 2025-04-29 11:10:56 +05:30
harshal.patil
05353d8d8f fix(mbedtls): Fix config dependencies when ROM mbedtls is used 2025-04-29 10:53:06 +05:30
harshal.patil
1f0aa66f4e fix(wpa_supplicant): Disable fastpbkdf2 when s/w and h/w SHA1 is disabled 2025-04-29 10:53:06 +05:30
harshal.patil
37dba24869 fix(esp-tls): Fix build failure when CONFIG_MBEDTLS_SHA1_C is disabled 2025-04-29 10:53:06 +05:30
Marius Vikhammer
ad821b3367 test(app_format): fixed buffer overflow in esp_app_format test 2025-04-29 11:59:36 +08:00
Marius Vikhammer
cb29838788 test(heap): fixed align_alloc issues in host test 2025-04-29 11:59:36 +08:00
Marius Vikhammer
b1d1494290 ci(linux): re-enable failures for test_pytest_linux jobs 2025-04-29 11:59:36 +08:00
Marius Vikhammer
204017af9f test(log): fixed buffer overflow in log host test fixture 2025-04-29 11:59:36 +08:00
Alexey Gerenkov
986a52a52f Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20250422_v5.4' into 'release/v5.4'
feat(tools): update openocd version to v0.12.0-esp32-20250422 (v5.4)

See merge request espressif/esp-idf!38799
2025-04-28 23:33:31 +08:00
Sudeep Mohanty
8423f5fc46 test(newlib): Added unit tests for usleep and sleep_for functions
This commit adds unit tests to verify the basic functionality of
usleep() and this_thread::sleep_for() std functions.
2025-04-28 17:07:52 +02:00
Stephen Noonan
ac386c7416 fix(newlib): usleep returning early
This commit updates usleep() to always sleep for the required sleep
period or more. This fixes a bug where the usleep() could sleep for less
than the request sleep period.

Closes https://github.com/espressif/esp-idf/pull/15132
2025-04-28 17:07:17 +02:00
Rahul Tank
837eecabca Merge branch 'bugfix/blufi_add_missing_adv_stop_v5.4' into 'release/v5.4'
fix(nimble): Added code for missing adv stop in blufi (v5.4)

See merge request espressif/esp-idf!38718
2025-04-28 19:19:18 +08:00
Sajia
36940f8c0e refactor(wifi): Optimize wifi bin size for station mode 2025-04-28 14:28:01 +05:30
Marius Vikhammer
204907a927 Merge branch 'feat/heap-update-to-latest-tlsf_v5.4' into 'release/v5.4'
feat(heap): Update to latest TLSF (v5.4)

See merge request espressif/esp-idf!38711
2025-04-28 15:58:25 +08:00
chenjianhua
96bde12558 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(edf923e)
- Fixed ble lib linkage issue
2025-04-28 14:10:14 +08:00
Chen Jian Hua
07233ed2d3 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(edf923e)
- Fixed MIC error disconnection when pairing with iOS devices


(cherry picked from commit 0df0b53b0a)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-04-28 14:09:56 +08:00
Jiang Jiang Jian
d0068c4203 Merge branch 'bugfix/fix_some_wifi_bugs_0427_v5.4' into 'release/v5.4'
fix(phy): fix phy data partition restoring default fails issue(Backport v5.4)

See merge request espressif/esp-idf!38770
2025-04-28 10:50:28 +08:00
Wang Meng Yang
e912a4f6ba Merge branch 'bugfix/l2cap_no_report_stop_server_evt_v5.4' into 'release/v5.4'
fix(bt): Fixed l2cap not reporting stop server completion event(v5.4)

See merge request espressif/esp-idf!38698
2025-04-28 08:19:43 +08:00
Adam Múdry
f7054acf46 feat(fatfs/diskio): Remove const from PARTITION VolToPart
Closes https://github.com/espressif/esp-idf/issues/14148
2025-04-28 01:21:48 +02:00
Jiang Jiang Jian
475301889e Merge branch 'fix/fix_usj_pad_retention_v5.4' into 'release/v5.4'
fix(esp_hw_support): fix usj pad config bad retention (v5.4)

See merge request espressif/esp-idf!38746
2025-04-27 19:32:13 +08:00
Rahul Tank
012b9c7031 Merge branch 'bugfix/ios_hid_failure_v5.4' into 'release/v5.4'
fix(nimble): Update hid device example in nimble to work with iOS (v5.4)

See merge request espressif/esp-idf!38676
2025-04-27 18:36:25 +08:00
muhaidong
592e747c78 fix(wifi): fix some wifi bugs 250427
1. fix ersu compatibility issue
2. fix association timeout timer issue for wep shared auth
2025-04-27 15:18:21 +08:00
muhaidong
57fd0fe836 fix(phy): fix phy data partition restoring default fails issue
Closes https://github.com/espressif/esp-idf/issues/14698
2025-04-27 14:58:24 +08:00
Island
b9123d5554 Merge branch 'feat/add_sync_cte_type_in_pa_sync_v5.4' into 'release/v5.4'
Feat/add sync cte type in pa sync (v5.4)

See merge request espressif/esp-idf!38592
2025-04-27 14:11:35 +08:00
Island
fcd5c75e3a Merge branch 'feat/spi_ble_log_improvement_v5.4' into 'release/v5.4'
feat(ble): Improved SPI BLE Log functionality (v5.4)

See merge request espressif/esp-idf!38741
2025-04-27 14:04:32 +08:00
Island
0bfda8cfda Merge branch 'feat/optimize_cble50y24_109_v5.4' into 'release/v5.4'
feat(bt/bluedroid): Added throughput mode for BLE SPP example (v5.4)

See merge request espressif/esp-idf!38693
2025-04-27 10:15:05 +08:00
Alexey Gerenkov
abd28fb2be feat(tools): update openocd version to v0.12.0-esp32-20250422 2025-04-26 12:40:11 +02:00
Jiang Jiang Jian
5295bc39e5 Merge branch 'fix/update_os_time_struct_v5.4' into 'release/v5.4'
Modifying os_time_t datatype for platform and compiler independence

See merge request espressif/esp-idf!38736
2025-04-25 18:28:16 +08:00
Fu Hanxi
bed18219c6 ci: rename local idf_ci folder, avoid name collision 2025-04-25 11:26:15 +02:00
wuzhenghui
33aca83c63 change(ci): remove esp32c5 from readme since esp32c5 skipped CI build 2025-04-25 17:13:27 +08:00
wuzhenghui
dbd4934205 fix(esp_hw_support): specify optimize options to avoid dirtying L2 mem after L1D$ writeback 2025-04-25 17:13:27 +08:00
wuzhenghui
8cfe912053 fix(esp_hw_support): fix wrong APB clock freq on retenion 2025-04-25 17:13:26 +08:00
wuzhenghui
192ffcb894 feat(esp_hw_support): count pau backup time into sleep rejection judgment 2025-04-25 17:13:26 +08:00
wuzhenghui
41e6e25e2d feat(esp_hw_support): remeasure sleep_time_overhead_out if min_freq_mhz changed 2025-04-25 17:13:26 +08:00
wuzhenghui
81860c55d6 feat(esp_hw_support): use non-lock regi2c fast-up cpll/mpll enable process after sleep wakeup 2025-04-25 17:13:22 +08:00
wuzhenghui
c29cd7333b fix(esp_hw_support): fix usj pad config bad retention
Closes https://github.com/espressif/esp-idf/issues/15797
2025-04-25 15:52:10 +08:00
wuzhenghui
41dd6ef81a feat(esp_hw_support): optimize esp32p4 GPIO retention link 2025-04-25 15:26:05 +08:00
wuzhenghui
d9fdab14d0 fix(esp_hw_support): iomux slp_sel is not avaliable to isolate mspi pin leakage on esp32p4 2025-04-25 15:26:02 +08:00
Sudeep Mohanty
f56cf54183 fix(panic_handler): Prevent race condition in panic handler
This commit updates all RTC WDT contexts to be local instead of global
to avoid race conditions when both cores enter the panic handler
simultaneously.
2025-04-25 09:10:58 +02:00
Zhou Xiao
1771685866 feat(ble): Improved SPI BLE Log functionality
* Added checksum for every frame
* Added SPI slave transaction interval workaround
* Added SPI tx done isr issue workaround
* Turned buffer flush to a menuconfig and disabled by default
* Modified packet loss write operation and trigger condition
* Optimized buffer append efficiency for controller ISR


(cherry picked from commit 243705c143)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-04-25 14:53:46 +08:00
tarun.kumar
96e06bd2ca fix(esp_wifi): Modifying os_time_t datatype for platform and compiler independence 2025-04-25 11:21:31 +05:30
Rahul Tank
f3b3c4362c fix(nimble): Update hid device example in nimble to work with iOS 2025-04-25 10:43:09 +05:30
Wang Meng Yang
a15c978f08 Merge branch 'feat/add_api_get_avrc_status_v5.4' into 'release/v5.4'
feat(bt): Add API to get some information of Classic Bluetooth profile(v5.4)

See merge request espressif/esp-idf!38685
2025-04-25 12:05:15 +08:00
xiongweichao
be9713fe10 fix(bt): Fixed l2cap not reporting stop server completion event 2025-04-25 11:39:51 +08:00
morris
705592c719 Merge branch 'test/parlio_rx_cache_safe_v5.4' into 'release/v5.4'
Reenable parlio rx cache safe test (v5.4)

See merge request espressif/esp-idf!38683
2025-04-25 10:09:56 +08:00
Martin Vychodil
1c29e55deb Merge branch 'fix/nvs_logger_json_output_v5.4' into 'release/v5.4'
fix(nvs_flash/nvs_tool): Fix nvs_tool.py to output required values (v5.4)

See merge request espressif/esp-idf!38681
2025-04-25 00:46:40 +08:00
Jiang Jiang Jian
b4bbfe16c1 Merge branch 'fix/fix_dhcp_server_recv_decline_issue_v54' into 'release/v5.4'
fix(dhcp): fix dhcp server recv decline issue v54

See merge request espressif/esp-idf!38507
2025-04-24 19:52:13 +08:00
Jiang Jiang Jian
97af977d0b Merge branch 'bugfix/fix_some_wifi_bugs_0421_v5.4' into 'release/v5.4'
fix(wifi): fix some wifi bugs 0421 (v5.4)

See merge request espressif/esp-idf!38594
2025-04-24 19:46:22 +08:00
Rahul Tank
cb29590a70 fix(nimble): Added code for missing adv stop in blufi 2025-04-24 14:17:39 +05:30
Guillaume Souchere
826f8a5f53 feat(heap): Update to latest TLSF
- this new version of TLSF uses uintptr_t instead of unsigned int
  casting in tlsf_malloc_addr to allow proper use of the function
  on 64bit targets.
2025-04-24 10:39:41 +02:00
morris
0e584aa200 Merge branch 'bugfix/fix_esp32_touch_example_task_watchdog_issue_v5.4' into 'release/v5.4'
fix(legacy_touch): fixed touch read WDT issue on esp32 (v5.4)

See merge request espressif/esp-idf!38581
2025-04-24 16:37:19 +08:00
Aditya Patwardhan
7dfccfb5d0 Merge branch 'bugfix/crypto_reset_on_exit_v5.4' into 'release/v5.4'
fix(esp_system): reset crypto peripherals before device restart (v5.4)

See merge request espressif/esp-idf!38475
2025-04-24 15:27:57 +08:00
Marius Vikhammer
63d0aa7ecb Merge branch 'fix/dram_dma_aligned_attr_for_p4_v5.4' into 'release/v5.4'
fix(esp_common): Fix DRAM_DMA_ALIGNED_ATTR for ESP32-P4 (v5.4)

See merge request espressif/esp-idf!38643
2025-04-24 14:43:53 +08:00
Marius Vikhammer
ef797e0239 Merge branch 'fix/freertos_tickless_idle_tick_jump_v5.4' into 'release/v5.4'
fix(freertos): Fixed tickless idle tick count accounting (v5.4)

See merge request espressif/esp-idf!38510
2025-04-24 13:35:50 +08:00
morris
8770ad5fcc Merge branch 'fix/fix_p4_adc_reread_oneshot_error' into 'release/v5.4'
fix(ADC): fix P4 ADC oneshot error when reread  (v5.4)

See merge request espressif/esp-idf!38634
2025-04-24 13:13:26 +08:00
zwl
edaea6dc23 feat(ble): add configuration command during RF testing 2025-04-24 12:08:47 +08:00
zhangbowen
c9a7aea7d2 feat(bt/bluedroid): Added throughput mode for BLE SPP example 2025-04-24 12:08:01 +08:00
Shu Chen
70e0e18576 Merge branch 'fix/meshcop_udp_port_v5.4' into 'release/v5.4'
fix(openthread/meshcop): get right udp port for publishing meshcop-e (v5.4)

See merge request espressif/esp-idf!38659
2025-04-24 11:04:55 +08:00
Shu Chen
c0146964d2 Merge branch 'fix/ieee802154_tx_ack_timeout_crash_v5.4' into 'release/v5.4'
fix(802.15.4): fix 15.4 process for unsupported frame (v5.4)

See merge request espressif/esp-idf!38669
2025-04-24 10:58:44 +08:00
morris
50e1d46980 fix(parlio): reenable parlio rx driver cache safe test 2025-04-24 10:41:08 +08:00
morris
bd396ad476 fix(spi): allocate driver memory with caps explicitly 2025-04-24 10:41:08 +08:00
Island
e6885983fa Merge branch 'feat/support_136k_rc_clk_on_ble_sleep_v5.4' into 'release/v5.4'
Feat/support 136k rc clk on ble sleep (v5.4)

See merge request espressif/esp-idf!38621
2025-04-24 10:37:55 +08:00
xiongweichao
b59e8634f2 feat(bt): Add API to get some information of Classic Bluetooth profile 2025-04-24 10:34:07 +08:00
morris
7e11597089 Merge branch 'bugfix/fix_i2s_assign_and_check_sequence_v5.4' into 'release/v5.4'
fix(i2s): fixed i2s inappropriate check and assign sequence (v5.4)

See merge request espressif/esp-idf!38605
2025-04-24 10:32:48 +08:00
Jiang Jiang Jian
4854f415e4 Merge branch 'bugfix/fix_bt_access_ext_mem_in_intr_v5.4' into 'release/v5.4'
fix(bt/controller): Fixed access external memory in isr context (v5.4)

See merge request espressif/esp-idf!38572
2025-04-24 10:29:45 +08:00
wangtao@espressif.com
c8e36049b1 fix(dhcp): fix dhcp server recv decline issue 2025-04-24 10:29:26 +08:00
hrushikesh.bhosale
6988a149b4 feat(nvs_tool): Test for print_minimal_json
Added the test for the print_minimal_json function
and setup_minimal_json function to setup the test.
2025-04-23 16:23:18 +02:00
hrushikesh.bhosale
f21a30fee2 fix(nvs_flash/nvs_tool): Fix nvs_tool.py to output required values
nvs_tool.py did not provide the minimal output support which outputs
the only necessary data.

nvs_tool.py minimal text ouptut, the deliminators were not handled
in the output

Closes https://github.com/espressif/esp-idf/issues/15274
2025-04-23 16:23:18 +02:00
Rahul Tank
81c34b09f0 Merge branch 'fix/pawr_docs_v5.4' into 'release/v5.4'
feat(nimble):Added tutorials for PAwR examples (v5.4)

See merge request espressif/esp-idf!38622
2025-04-23 19:44:40 +08:00
Rahul Tank
b5802d7230 Merge branch 'feat/pawr_bugfix_v5.4' into 'release/v5.4'
fix(nimble): Fix sync handle assignment for pawr connection (v5.4)

See merge request espressif/esp-idf!38502
2025-04-23 19:35:28 +08:00
zwx
dcb1e52988 fix(802.15.4): fix 15.4 process for unsupported frame 2025-04-23 19:01:34 +08:00
Island
69173b1864 Merge branch 'bugfix/fix_some_ble_bugs_250331_esp32c3_v5.4' into 'release/v5.4'
Fixed some BLE bugs 250331 on esp32c3 (v5.4)

See merge request espressif/esp-idf!38580
2025-04-23 18:13:52 +08:00
Tan Yan Quan
98363edfaf fix(openthread/meshcop): get right udp port for publishing meshcop-e
* esp-openthread: thread_zigbee/esp-openthread@ad81e1b23
* openthread: espressif/openthread@8c30b93fe
* esp-idf: espressif/esp-idf@a97879b71
2025-04-23 10:10:35 +00:00
Mahavir Jain
5cdc53df23 fix(esp_system): reset crypto peripherals before device restart
This change addresses a rare but critical issue observed on certain
ESP32-C3 and ESP32-S3 devices, where secure boot verification
intermittently fails due to improper cleanup of crypto peripherals
during a restart.

Background – Restart Behavior in IDF
------------------------------------
In ESP-IDF, when the device restarts (via `esp_restart()` or due to a
panic/exception), a partial peripheral reset is performed followed by a
CPU reset. However, until now, crypto-related peripherals were not
included in this selective reset sequence.

Problem Scenario
----------------
If a restart occurs while the application is in the middle of a bignum
operation (i.e., using the MPI/Bignum peripheral), the ROM code may
encounter an inconsistent peripheral state during the subsequent boot.
This leads to transient RSA-PSS secure boot verification failures.

Following such a failure, the ROM typically triggers a full-chip reset
via the watchdog timer (WDT). This full reset clears the crypto
peripheral state, allowing secure boot verification to succeed on the
next boot.

Risk with Aggressive Revocation
-------------------------------
If secure boot aggressive revocation is enabled (disabled by default in
IDF), this transient verification failure could mistakenly lead to
revocation of the secure boot digest.

If your product configuration has aggressive revocation enabled,
applying this fix is strongly recommended.

Frequency of Occurrence
-----------------------
The issue is rare and only occurs in corner cases involving
simultaneous use of the MPI peripheral and an immediate CPU reset.

Fix
---
This fix ensures that all crypto peripherals are explicitly reset prior
to any software-triggered restart (including panic scenarios),
guaranteeing a clean peripheral state for the next boot and preventing
incorrect secure boot behavior.
2025-04-23 17:53:09 +08:00
Marius Vikhammer
a97879b71c Merge branch 'feature/add_core_num_def_for_linux_v5.4' into 'release/v5.4'
feat(soc): Adds core_num definition for Linux target (v5.4)

See merge request espressif/esp-idf!38485
2025-04-23 17:38:08 +08:00
Jiang Jiang Jian
ee317c3d6f Merge branch 'bugfix/sae_send_confirm_v5.4' into 'release/v5.4'
fix(esp_wifi): Fix send_confirm according to specification provided by IEEE 802.11 (v5.4)

See merge request espressif/esp-idf!38434
2025-04-23 16:37:50 +08:00
Roman Leonov
b760531d5b fix(usb_host): Correctly initialize set pipe ep char 2025-04-23 10:09:18 +02:00
Roman Leonov
56daed6169 fix(hcd): Added delay to slow down scatter-gather dma for ls device via fs hubs 2025-04-23 10:09:18 +02:00
Konstantin Kondrashov
5c3910d8ca fix(esp_common): Fix DRAM_DMA_ALIGNED_ATTR for P4 2025-04-23 10:37:00 +03:00
gaoxu
c04ae03729 fix(ADC): fix P4 ADC oneshot error when reread 2025-04-23 11:33:06 +08:00
linruihao
224e9feed9 fix(bt/controller): Fixed access external memory in isr context 2025-04-23 11:25:48 +08:00
Jin Cheng
529a471a55 fix(bt/controller): update libbtdm_app.a
- fixed errors in the coexistance of ACL and SCO
- fixed dynamic priority config error in dual mode
2025-04-23 11:25:48 +08:00
Island
180ee9ef0e Merge branch 'feat/optimize_cble50y24_111_v5.4' into 'release/v5.4'
feat(bt/bluedroid): Added BLE eddystone sender example (v5.4)

See merge request espressif/esp-idf!38158
2025-04-23 10:32:30 +08:00
morris
15da3ccc52 Merge branch 'ci/disable_c5_target_test_on_v5.4' into 'release/v5.4'
ci(esp32c5): disable esp32c5 build and target test on v5.4

See merge request espressif/esp-idf!38587
2025-04-23 09:56:36 +08:00
Abhinav Kudnar
2a86fcd4e5 feat(nimble):Added tutorials for PAwR examples 2025-04-22 19:18:03 +08:00
Jin Chen
b0e1c7b244 feat(ble): support ble sleep using 136 kHz RC on ESP32-H2
(cherry picked from commit 6c8ee69151)

Co-authored-by: cjin <jinchen@espressif.com>
2025-04-22 19:05:50 +08:00
Jin Chen
bc5962499d feat(ble): support ble sleep using 136 kHz RC on ESP32-C6
(cherry picked from commit 718dd7a87a)

Co-authored-by: cjin <jinchen@espressif.com>
2025-04-22 19:05:48 +08:00
Jin Chen
3dc694f167 feat(ble): support ble sleep using 136 kHz RC on ESP32-C5
(cherry picked from commit cb8ea7951c)

Co-authored-by: cjin <jinchen@espressif.com>
2025-04-22 19:05:45 +08:00
Jin Chen
5226629d18 feat(ble): support ble sleep using 136 kHz RC on ESP32-C2
(cherry picked from commit 73f1084bf8)

Co-authored-by: cjin <jinchen@espressif.com>
2025-04-22 19:05:43 +08:00
Sudeep Mohanty
8f2f1abdd5 test(freertos): Added a unit test for tickless idle tick jump scenario
This commit adds a unit test to test that tickless idle mode does not
cause an unexpected jump in tick count after tickless idle mode is
exited.
2025-04-22 16:32:08 +08:00
Sudeep Mohanty
3e18049461 fix(freertos): Fixed tickless idle tick count accounting
This commit fixes an issue where the FreeRTOS kernel does not account
for the pended ticks occuring during automatic light-sleep mode and
hence causing a jump in the tick count at a later stage in the
application lifetime.

Closes: https://github.com/espressif/esp-idf/issues/15642
2025-04-22 16:32:08 +08:00
laokaiyao
ecf073e650 ci: disable esp32c5 build and target test on v5.4 2025-04-22 16:07:50 +08:00
laokaiyao
e5e713892b fix(i2s): add check for the minimum sample rate
Closes https://github.com/espressif/esp-idf/issues/15659
2025-04-22 15:37:47 +08:00
laokaiyao
f22cd54760 fix(i2s): reset the dma buf_size while allocation failed
Closes https://github.com/espressif/esp-idf/issues/15648
2025-04-22 15:19:39 +08:00
Jiang Jiang Jian
bb60389063 Merge branch 'esp32/run_panic_debug_v5.4' into 'release/v5.4'
fix(esp32): Fixed qa program may fail issue when cpu 240m (v5.4)

See merge request espressif/esp-idf!37231
2025-04-22 15:06:11 +08:00
morris
93cff127be Merge branch 'fix/gpio_pull_enable_disable_strategy_v5.4' into 'release/v5.4'
fix(i2c,mcpwm): fix gpio pull strategy (v5.4)

See merge request espressif/esp-idf!38565
2025-04-22 13:33:33 +08:00
Island
26b9ba6b63 Merge branch 'bugfix/fix_some_ble_bugs_2503_v5.4' into 'release/v5.4'
Bugfix/fix some ble bugs 2503 (v5.4)

See merge request espressif/esp-idf!38291
2025-04-22 11:49:13 +08:00
zhangyanjiao
53164297d7 fix(wifi): update the wifi lib for espnow and lr issues 2025-04-22 11:06:58 +08:00
zhangyanjiao
c5a61099c1 fix(docs): update max data length in espnow doc 2025-04-22 11:06:58 +08:00
liuning
5bf37234b8 feat(docs): update connectionless module window syncronization documentation 2025-04-22 11:06:58 +08:00
zhangyanjiao
41fed6aec5 fix(wifi): fix the noise floor error on ESP32C5
Closes https://github.com/espressif/esp-idf/issues/15594
2025-04-22 11:06:58 +08:00
zhangyanjiao
56257439a2 fix(wifi/vendor): separate the lr bit in phy mode for station and softAP
Closes https://github.com/espressif/esp-idf/issues/9978
2025-04-22 11:06:58 +08:00
zhangyanjiao
133d40d6d1 fix(wifi): Fixed the scan information error in LR only mode 2025-04-22 11:06:58 +08:00
zhangyanjiao
ab71248476 fix(wifi): Fixed the max log level not work when it exceeds the default log level 2025-04-22 11:06:58 +08:00
zhangyanjiao
8bee78e5ea docs(wifi): update the description for esp_mesh_send() return value
Closes https://github.com/espressif/esp-idf/issues/14440
2025-04-22 11:06:58 +08:00
zhangyanjiao
c9cc85b68c fix(wifi): fix the ESPNOW data length issue and connection issue
1. Changed the max data length to 1470 bytes for ESP-NOW v2.0
2. Added timer to send wake null after STA received assoc response
2025-04-22 11:06:58 +08:00
zhangyanjiao
e9d8241b53 fix(wifi): Update the doc for espnow add peer 2025-04-22 11:06:58 +08:00
zhangyanjiao
1a7ed6c1df fix(wifi): fixed the espnow data length error in example 2025-04-22 11:06:58 +08:00
chaijie@espressif.com
bb8a86856a fix(esp32): Fixed qa program may fail issue when cpu 240m (v5.4) 2025-04-22 10:24:27 +08:00
Chen Jian Hua
cc336b0d88 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(a684dd5)
- Fixed clear legacy adv error when adv not exist
- Disable anonymous extended adv reporting
- Fixed BLE assert lld_adv.c 2992
- Fixed heap assert due to adv data buffer double freeing
- Fixed BLE 0x08 disconnect when the win size is greater than half of the conn interval


(cherry picked from commit 4602665e5d)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-04-22 09:58:34 +08:00
laokaiyao
8e6a7845b7 fix(touch): fixed tie option take no effect 2025-04-21 20:45:50 +08:00
Jiang Jiang Jian
be719bfe2d Merge branch 'bugfix/pmkid_password_mismatch_regression_v5.4' into 'release/v5.4'
fix(wifi): Avoid writing to NVS if station configuration is not changed (Backport v5.4)

See merge request espressif/esp-idf!38486
2025-04-21 17:41:38 +08:00
Zhi Wei Jian
6098df35ec feat(ble/bluedroid): Add sync_cte_type in creat_periodic_adv_sync function
(cherry picked from commit eb647d10c6)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2025-04-21 17:03:36 +08:00
Zhi Wei Jian
a30d47b6fe fix(ble/bluedroid): Fixed BLE_FEAT_CREATE_SYNC_ENH define error in bluedroid host
(cherry picked from commit cf6135c990)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2025-04-21 17:03:33 +08:00
Roland Dobai
17e79ef8b6 Merge branch 'bugfix/linux_cert_bundle_build_warn_v5.4' into 'release/v5.4'
fix(tools): suppress GNU bin-utils warning about executable stack (v5.4)

See merge request espressif/esp-idf!38345
2025-04-21 16:45:44 +08:00
Marius Vikhammer
7256deafc9 Merge branch 'fix/lp_wakeup_cause_bits_accumulation_v5.4' into 'release/v5.4'
fix(ulp): Fix accumulation of wakeup cause bits in ULP (v5.4)

See merge request espressif/esp-idf!38561
2025-04-21 16:42:47 +08:00
laokaiyao
f1903f095a fix(legacy_touch): fixed the concurrent issue in esp32 touch driver 2025-04-21 14:57:29 +08:00
laokaiyao
a9f8ed3bbf fix(touch): fixed touch read WDT issue on esp32
Closes https://github.com/espressif/esp-idf/issues/15629
2025-04-21 14:47:26 +08:00
Island
2038923cc4 Merge branch 'fix/blemesh25-92_v5.4' into 'release/v5.4'
fix(ble_mesh): fixed issues with decrypt failed when resending messages (v5.4)

See merge request espressif/esp-idf!38560
2025-04-21 14:22:04 +08:00
Tan Yan Quan
781123eb08 fix(openthread): check state for ot wake 2025-04-21 10:45:44 +08:00
Tan Yan Quan
72c4063d1a fix(openthread): relax CSL accuracy default value 2025-04-21 10:45:44 +08:00
Island
3ad36321ea Merge branch 'change/ble_update_lib_20250417_v5.4' into 'release/v5.4'
change(ble): [AUTO_MR] 20250417 - Update ESP BLE Controller Lib (v5.4)

See merge request espressif/esp-idf!38545
2025-04-21 10:40:38 +08:00
Chen Jichang
cbc6382b26 fix(i2c,mcpwm): fix gpio pull strategy
Closes https://github.com/espressif/esp-idf/issues/15774
2025-04-21 10:35:52 +08:00
Sarvesh Bodakhe
c74773c091 fix(wifi): Avoid writing to NVS if station configuration is not changed
Fixes the regression introduced by f8b1c0976a

Co-authored-by: yinqingzhao <yinqingzhao@espressif.com>
2025-04-19 17:33:39 +05:30
Konstantin Kondrashov
93750520fe fix(ulp): Fix accumulation of wakeup cause bits in ULP
Closes https://github.com/espressif/esp-idf/issues/15794
2025-04-18 15:52:28 +03:00
Luo Xu
5c65747537 fix(ble_mesh): fixed issues with decrypt failed when resending messages
(cherry picked from commit 4803cea3cc)

Co-authored-by: luoxu <luoxu@espressif.com>
2025-04-18 20:23:49 +08:00
Shen Weilong
de00b516b8 change(ble): [AUTO_MR] Update lib_esp32c5 to cd6ba0ec 2025-04-18 19:59:48 +08:00
Alexey Gerenkov
438b6cf3e6 Merge branch 'disable_apptrace_test_on_c5_v5.4' into 'release/v5.4'
ci(change): disable esp32c5 apptrace test (v5.4)

See merge request espressif/esp-idf!38528
2025-04-18 15:29:30 +08:00
Shen Wei Long
ca02c5ec24 change(ble): [AUTO_MR] Update lib_esp32c6 to cd6ba0ec
(cherry picked from commit a89916eef4)

Co-authored-by: Shen Weilong <shenweilong@espressif.com>
2025-04-18 14:10:14 +08:00
Shen Wei Long
5c3edd7a74 change(ble): [AUTO_MR] Update lib_esp32h2 to cd6ba0ec
(cherry picked from commit d48cc9ce2a)

Co-authored-by: Shen Weilong <shenweilong@espressif.com>
2025-04-18 14:10:12 +08:00
morris
af3fa8731f Merge branch 'refactor/gdma_set_iram_safe_in_runtime_v5.4' into 'release/v5.4'
refactor(gdma): use run-time iram-safe config (v5.4)

See merge request espressif/esp-idf!38459
2025-04-18 13:26:42 +08:00
Island
017480b377 Merge branch 'change/ble_update_lib_20250414_v5.4' into 'release/v5.4'
change(ble): [AUTO_MR] 20250414 - Update ESP BLE Controller Lib (v5.4)

See merge request espressif/esp-idf!38494
2025-04-18 11:07:01 +08:00
Erhan Kurubas
80ec596e1e ci(change): disable esp32c5 apptrace test 2025-04-17 18:57:10 +02:00
Jiang Jiang Jian
274925fa8a Merge branch 'bugfix/pmf_enabled_sae_query_v5.4' into 'release/v5.4'
fix(wifi): SA Query responses not transmitted (Backport v5.4)

See merge request espressif/esp-idf!38245
2025-04-17 22:44:28 +08:00
Jiang Jiang Jian
dbfa8ba5b2 Merge branch 'fix/fix_uart_console_broken_after_sleep_v5.4' into 'release/v5.4'
fix(esp_hw_support): fixed gpio sleep switching filling junk data to the console UART FIFO (v5.4)

See merge request espressif/esp-idf!38444
2025-04-17 17:14:33 +08:00
Jiang Jiang Jian
79d965f16a Merge branch 'change/allow_keep_sar_poweron_in_light_sleep_v5.4' into 'release/v5.4'
change(esp_hw_support): allow sar power keep on during lightsleep (v5.4)

See merge request espressif/esp-idf!38454
2025-04-17 17:14:11 +08:00
Jiang Jiang Jian
9f8548bb2d Merge branch 'feat/enable_esp32p4_auto_clock_gate_v5.4' into 'release/v5.4'
feat(esp_hw_support): enable auto clock gating for multi peripherals (v5.4)

See merge request espressif/esp-idf!38443
2025-04-17 17:13:40 +08:00
Jiang Jiang Jian
9c9d5cc1a2 Merge branch 'fix/esp32p4_xtal_path_not_on_top_v5.4' into 'release/v5.4'
fix(esp_hw_support): fix esp32p4 xtal_xpd depends on TOP power domain (v5.4)

See merge request espressif/esp-idf!38452
2025-04-17 17:03:47 +08:00
morris
0be344409b Merge branch 'fix/fix_mmu_map_concurrent_issue_v5.4' into 'release/v5.4'
mmu: fix mmu map concurrent issue (v5.4)

See merge request espressif/esp-idf!38411
2025-04-17 15:59:06 +08:00
Wang Meng Yang
4ad27c76c6 Merge branch 'feat/add_l2cap_register_event_v5.4' into 'release/v5.4'
feat(bt): Added events for l2cap register and unregister vfs(v5.4)

See merge request espressif/esp-idf!38421
2025-04-17 14:40:32 +08:00
Abhinav Kudnar
5a6072d035 fix(nimble): Fix sync handle assignment for pawr connection 2025-04-17 14:06:58 +08:00
Jiang Jiang Jian
65e0d49246 Merge branch 'fix/fix_current_leakage_after_ext_osc_detect_failed_v5.4' into 'release/v5.4'
fix(esp_hw_support): fix current leakage if ext32k slow clock source not exists (v5.4)

See merge request espressif/esp-idf!38439
2025-04-17 11:04:57 +08:00
Zhou Xiao
9ef1c15bba fix(ble): remove null pointer assert in npl event deinit
(cherry picked from commit ece108c0bf)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-04-17 10:54:56 +08:00
Zhou Xiao
75343d25d0 change(ble): bugs fixed on spi ble log
* removed spi master in iram select for flash only firmware
* fixed memory issue in transaction init function
* fixed memory issue in transaction deinit function


(cherry picked from commit 7c3b9fa56f)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-04-17 10:54:54 +08:00
Zhou Xiao
46b786d79a feat(ble): support configurable rxbuf opt feat on ESP32-C6
(cherry picked from commit 5fbbec8655)

Co-authored-by: cjin <jinchen@espressif.com>
2025-04-17 10:54:52 +08:00
Zhou Xiao
e90390a90a feat(ble): support configurable rxbuf opt feat on ESP32-H2
(cherry picked from commit 4937d3c883)

Co-authored-by: cjin <jinchen@espressif.com>
2025-04-17 10:54:49 +08:00
Zhou Xiao
0cc6e2bb36 feat(ble): use new section for ble sleep on ESP32-C2
(cherry picked from commit ce4e012c8b)

Co-authored-by: cjin <jinchen@espressif.com>
2025-04-17 10:54:47 +08:00
Zhou Xiao
ebef86f435 change(ble): [AUTO_MR] Update lib_esp32c2 to fca2b9ea
(cherry picked from commit 09467baed0)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-04-17 10:54:45 +08:00
Zhou Xiao
6836bd9870 change(ble): [AUTO_MR] Update lib_esp32c6 to 76549818
(cherry picked from commit e2d1a5509e)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-04-17 10:54:43 +08:00
Zhou Xiao
eecf74a7c9 change(ble): [AUTO_MR] Update lib_esp32h2 to 76549818
(cherry picked from commit c11bb1ddd0)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-04-17 10:54:41 +08:00
akshat
cd3a072c0f fix(wifi): Fix occasional dropping of SA Query responses by SoftAP 2025-04-16 22:24:28 +05:30
Konstantin Kondrashov
295535985c feat(soc): Adds core_num definition for Linux target
Closes https://github.com/espressif/esp-idf/issues/15758
2025-04-16 18:32:18 +03:00
Jiang Jiang Jian
395295cc35 Merge branch 'feat/add_svc_info_in_sdf_v5.4' into 'release/v5.4'
Add extended SSI support for NAN Services (Backport v5.4)

See merge request espressif/esp-idf!38302
2025-04-16 20:02:44 +08:00
morris
2c376ff99f refactor(drivers): refactor the iram-safe option of the gdma peripherals
Closes https://github.com/espressif/esp-idf/issues/15771
2025-04-16 17:09:04 +08:00
morris
7bcb7248bb feat(gdma): support allocate cache safe ISR for channels separately 2025-04-16 16:44:41 +08:00
wuzhenghui
e22c4a146d change(esp_hw_support): allow sar power keep on during lightsleep
Closes https://github.com/espressif/esp-idf/issues/12426
2025-04-16 15:51:48 +08:00
Mahavir Jain
7ddb2ba0a0 Merge branch 'feat/update_mbedtls_3.6.3_v5.4' into 'release/v5.4'
feat(component/mbedtls): update to upstream v3.6.3 (v5.4)

See merge request espressif/esp-idf!38178
2025-04-16 15:49:09 +08:00
wuzhenghui
d2755374e0 fix(esp_hw_support): fix esp32p4 xtal_xpd depends on TOP power domain 2025-04-16 15:37:11 +08:00
wuzhenghui
76d021ad11 fix(esp_hw_support): fixed gpio sleep switching filling junk data to the console UART FIFO 2025-04-16 15:23:27 +08:00
wuzhenghui
7643f77225 feat(esp_hw_support): enable auto clock gating for multi peripherals 2025-04-16 15:08:51 +08:00
wuzhenghui
ba88b91e28 fix(esp_hw_support): fix unused OSC source deinit breaks XTAL32K configuration 2025-04-16 14:56:49 +08:00
wuzhenghui
54c4606111 fix(esp_hw_support): fix current leakage if ext32k slow clock source not exists 2025-04-16 14:56:12 +08:00
Shreyas Sheth
8221f0b01b ci(wifi): Add build test for with wpa3 disabled for station and softap 2025-04-16 11:56:20 +05:30
Shreyas Sheth
8b979114e0 fix(esp_wifi): Fix send_confirm according to specification provided by IEEE 802.11 2025-04-16 11:56:20 +05:30
Shu Chen
a7cc6804df Merge branch 'feature/add_ot_cli_ci_case_v5.4' into 'release/v5.4'
feat(openthread): add openthread ci ssed case v5.4

See merge request espressif/esp-idf!38256
2025-04-16 10:15:13 +08:00
morris
b8bb557085 Merge branch 'feat/allow_rmt_tx_channel_to_switch_other_gpios_v5.4' into 'release/v5.4'
feat(rmt_tx): allow to switch gpio in tx channal (v5.4)

See merge request espressif/esp-idf!38394
2025-04-16 10:12:07 +08:00
Ashish Sharma
605206b69f feat(mbedtls): new config to allow weak cert verification 2025-04-16 09:50:24 +08:00
Ashish Sharma
7578913742 feat(mbedtls): update to version 3.6.3 2025-04-16 09:50:24 +08:00
Mahavir Jain
87947712af fix(tools): suppress GNU bin-utils warning about executable stack
Newer GNU bin-utils version 2.39 has started emitting a warning
about an executable stack region for Linux target build:

/usr/bin/ld: warning: x509_crt_bundle.S.o: missing .note.GNU-stack section implies executable stack

Fix the issue by adding appropriate "noexecute" attribute for stack
section.
2025-04-15 21:55:30 +08:00
xiongweichao
93bd316b3a fix(bt): fixed spp not reporting write event 2025-04-15 19:03:02 +08:00
xiongweichao
63ca09cacd fix(bt): Fixed the issue with l2cap not using dynamic memory 2025-04-15 19:02:33 +08:00
xiongweichao
ebce1de0fc fix(bt): Fixed write_read task stack overflow in l2cap example 2025-04-15 19:02:28 +08:00
xiongweichao
3d2faed4c6 feat(bt): Added events for l2cap register and unregister vfs 2025-04-15 19:02:22 +08:00
armando
873cde487c test(system): increased 200B memory leak thresh due to mmu mmap mutex
200B to extend the thresh, real increase to the memory usage will be smaller
2025-04-15 14:22:48 +08:00
armando
256dbafe15 test(mmu): added esp_mmu_map concurrency test 2025-04-15 14:21:51 +08:00
armando
56cd01899c fix(mmu): fixed esp_mmu_map concurrent issue and add related docs 2025-04-15 14:21:46 +08:00
morris
ef1a5075f5 Merge branch 'refactor/ana_cmpr_driver_v5.4' into 'release/v5.4'
refactor(ana_cmpr): enhanced the driver implementation (v5.4)

See merge request espressif/esp-idf!38388
2025-04-15 13:15:23 +08:00
Marius Vikhammer
6b617c54c2 Merge branch 'bugfix/p4_lpwdt_efuse_v5.4' into 'release/v5.4'
fix(lpwdt): P4 LP-WDT now takes into account the EFUSE_WDT_DELAY for the timeout (v5.4)

See merge request espressif/esp-idf!38392
2025-04-15 12:28:38 +08:00
Wang Meng Yang
26e415dcb4 Merge branch 'feature/add_profile_stat_v5.4' into 'release/v5.4'
feat(bt): Add API to get profile status(v5.4)

See merge request espressif/esp-idf!38274
2025-04-15 08:13:24 +08:00
Chen Jichang
7be85fd8ba feat(rmt_tx): allow to switch gpio in tx channal 2025-04-14 18:38:45 +08:00
morris
d20d3c7a60 fix(ana_cmpr): ETM event not work for Unit 1 2025-04-14 17:13:48 +08:00
Island
8e473c6bed Merge branch 'bugfix/fix_ble_controller_only_error_if_hci_uart_enabled_v5.4' into 'release/v5.4'
fix(ble/controller): Fixed controller flash only bug if hci-uart is enabled (v5.4)

See merge request espressif/esp-idf!38148
2025-04-14 17:12:53 +08:00
morris
9d3b69fabb Merge branch 'doc/touch_element_support_esp32s3_v5.4' into 'release/v5.4'
docs(touch): build the touch element doc for esp32s3 (v5.4)

See merge request espressif/esp-idf!38390
2025-04-14 16:48:01 +08:00
Tan Yan Quan
86db777bd2 feat(openthread): add esp_system dependency for SSED CI 2025-04-14 16:37:52 +08:00
Tan Yan Quan
94af9e2a54 feat(openthread): relax conditions for trel case approval 2025-04-14 16:37:47 +08:00
Tan Yan Quan
400d7efaed feat(openthread): add openthread ci ssed case 2025-04-14 16:37:40 +08:00
Tan Yan Quan
c66fe0a72c feat(openthread): use freertos timer for debug logs 2025-04-14 16:37:35 +08:00
xiongweichao
ecf646cefc feat(bt): Add API to get profile status 2025-04-14 15:43:22 +08:00
Marius Vikhammer
8e1f47ef04 fix(lpwdt): P4 LP-WDT now takes into account the EFUSE_WDT_DELAY forthe timeout 2025-04-14 14:52:15 +08:00
morris
794f5b04a9 docs(touch): build the touch element doc for esp32s3
Closes https://github.com/espressif/esp-idf/issues/15755
2025-04-14 14:49:42 +08:00
akshat
90c008fe8c feat(esp_wifi): Add extended SSI support for NAN Services 2025-04-14 10:57:23 +05:30
morris
756cd17c61 Merge branch 'contrib/github_pr_15484_v5.4' into 'release/v5.4'
fix(twai): fixed twai assert fail during recover (GitHub PR) (v5.4)

See merge request espressif/esp-idf!37988
2025-04-14 13:23:02 +08:00
Alexey Gerenkov
72de7111cc Merge branch 'fix/coredump_uart_checksum_error_v5.4' into 'release/v5.4'
Fix/coredump uart checksum error (v5.4)

See merge request espressif/esp-idf!38364
2025-04-11 20:54:14 +08:00
Rocha Euripedes
9103ce5d03 Merge branch 'fix/fix-test-socks-transport_v5.4' into 'release/v5.4'
fix(tcp_transport): Fix test for socks transport (v5.4)

See merge request espressif/esp-idf!38293
2025-04-11 20:26:54 +08:00
Kapil Gupta
a18ce5df2d Merge branch 'bugfix/roaming_app_issues_v5.4' into 'release/v5.4'
fix(wifi): Fix some issues observed in roaming app (v5.4)

See merge request espressif/esp-idf!37414
2025-04-11 19:34:05 +08:00
Kapil Gupta
d255e7e7b5 fix(esp_wifi): Fix some compilation errors in roaming app 2025-04-11 15:49:12 +05:30
Kapil Gupta
5574205935 fix(esp_wifi): Removed unnecessary handlers to cleanup 2025-04-11 15:49:06 +05:30
Kapil Gupta
2b495713b2 fix(esp_wifi): Roaming app, sync api naming 2025-04-11 15:47:19 +05:30
Kapil Gupta
e5915c3ce3 fix(esp_wifi): Some more cleanup for roaming app 2025-04-11 15:47:17 +05:30
Kapil Gupta
8ed1cf8050 fix(esp_wifi): moving around roaming app code a bit 2025-04-11 15:46:25 +05:30
Kapil Gupta
7c94365ce9 fix(roaming_app): Add get set config params for the app 2025-04-11 15:46:25 +05:30
Kapil Gupta
e296094b00 fix(wifi): Provide a config option to skip IP renew during roam 2025-04-11 15:46:25 +05:30
Kapil Gupta
84ae3dc848 fix(esp_wifi): Set minimum scan time to 30ms in roaming app 2025-04-11 15:46:25 +05:30
Kapil Gupta
516551adc4 fix(wifi): Fix some issues observed in roaming app 2025-04-11 15:46:25 +05:30
Rahul Tank
b4ebe7a0af Merge branch 'fix/fix_incorrect_ota_address_assignment_v5.4' into 'release/v5.4'
fix(nimble): Fix incorrect OTA address type assignment (v5.4)

See merge request espressif/esp-idf!38348
2025-04-11 14:06:58 +08:00
morris
5190ce55a0 Merge branch 'fix/usb-hal-dwc-host-channel-num_v5.4' into 'release/v5.4'
fix(usb/hal/dwc): Correct host channel number calculation (backport v5.4)

See merge request espressif/esp-idf!37367
2025-04-11 11:27:34 +08:00
Erhan Kurubas
1ddd160dd2 fix(coredump): make sure consistency with uart data and calculated checksum
Closes https://github.com/espressif/esp-idf-monitor/issues/23
2025-04-10 16:27:25 +02:00
Martin Vychodil
a542b2b36a Merge branch 'fix/fatfs_use_dyn_buf_kconfig_mistake_v5.4' into 'release/v5.4'
fix(fatfs): Mistake in Kconfig for FATFS_USE_DYN_BUFFERS

See merge request espressif/esp-idf!38347
2025-04-10 20:30:45 +08:00
diplfranzhoepfinger
30d871d206 fix(twai): fixed twai assert fail when recover
driver try start new frame in ISR however already bus off

Closes https://github.com/espressif/esp-idf/issues/9697
2025-04-10 20:08:34 +08:00
Shreeyash
5b796a93e4 fix(nimble): Fix incorrect OTA address assignment 2025-04-10 15:15:36 +05:30
Adam Múdry
338dab5358 fix(fatfs): Mistake in Kconfig for FATFS_USE_DYN_BUFFERS 2025-04-10 10:53:19 +02:00
Wang Meng Yang
1bdd5daa83 Merge branch 'fix/some_issues_in_bt_controller_v5.4' into 'release/v5.4'
fix(bt): fixed some issues in bt controller(backport v5.4)

See merge request espressif/esp-idf!38331
2025-04-10 16:45:08 +08:00
Jiang Jiang Jian
24a92a3b23 Merge branch 'feat/eap_domain_check_v5.4' into 'release/v5.4'
esp_wifi: Add EAP domain validation support (v5.4)

See merge request espressif/esp-idf!38278
2025-04-10 14:59:41 +08:00
Jiang Jiang Jian
b79dcab1ec Merge branch 'feature/add_ds_param_in_probe_req_v5.4' into 'release/v5.4'
Add DS parameter in probe requests from STA (Backport v5.4)

See merge request espressif/esp-idf!38310
2025-04-10 13:53:22 +08:00
Shu Chen
a7f74bb220 Merge branch 'fix/ldgen_section_name_v54' into 'release/v5.4'
fix(ldgen): extend section name regex to include '_' (v5.4)

See merge request espressif/esp-idf!38323
2025-04-10 11:15:11 +08:00
morris
220a036318 Merge branch 'bugfix/remove_broken_link_for_wifi_expansion_v5.4' into 'release/v5.4'
bugfix: Remove the broken link in wifi-expansion.rst (v5.4)

See merge request espressif/esp-idf!38332
2025-04-10 10:41:40 +08:00
Rahul Tank
bf1a803795 Merge branch 'bugfix/fix_sscanf_usage_v5.4' into 'release/v5.4'
fix(nimble): Updated sscanf usage in examples to work for all versions (v5.4)

See merge request espressif/esp-idf!38021
2025-04-10 09:16:06 +08:00
Rahul Tank
297ebc7db7 fix(nimble): Updated sscanf usage in examples to work for all versions 2025-04-09 18:27:58 +05:30
Zhang Shuxian
2586e86cec bugfix: Remove the broken link in wifi-expansion.rst 2025-04-09 19:05:07 +08:00
gongyantao
af494b8b4e fix(bt): fixed some issues in bt controller
- add check for Wi-Fi channel
- fix the incorrect unit of duration_min in cpb tx
- recalculate the channel map when afh is enabled
- fix incorrect vendor event count causing an assertion failure
2025-04-09 18:58:44 +08:00
morris
c94014cc3d Merge branch 'fix/flash_encryption_verify_write_etc_v5.4' into 'release/v5.4'
fix(spi_flash): Fix flash encryption write verify (backport v5.4)

See merge request espressif/esp-idf!38269
2025-04-09 17:12:50 +08:00
Alexey Lapshin
6ad902d5be fix(ldgen): extend section name regex to include '_' (e.g.: used by picolibc) 2025-04-09 16:44:25 +08:00
Rahul Tank
5e38aaeb22 Merge branch 'bugfix/handle_missing_unlock_v5.4' into 'release/v5.4'
fix(nimble): Fixed one missing ble_hs_unlock() (v5.4)

See merge request espressif/esp-idf!38259
2025-04-09 13:24:37 +08:00
morris
89e81dfdc9 Merge branch 'fix/i2c_race_condition_etc_v5.4' into 'release/v5.4'
fix(i2c_master): Fix i2c master race condition issue, etc. (backport v5.4)

See merge request espressif/esp-idf!38265
2025-04-09 10:55:54 +08:00
C.S.M
9282eec541 fix(spi_flash): Add suspend check on esp32c6 and esp32h2 for some reason 2025-04-09 10:10:47 +08:00
Kapil Gupta
0cb892d6a2 Merge branch 'feature/github_pull_15073_v5.4' into 'release/v5.4'
feat(wpa_supplicant): Add optimized PSK implementation (v5.4)

See merge request espressif/esp-idf!38104
2025-04-09 00:21:40 +08:00
Kapil Gupta
582c2d8d4c fix(esp_wifi): Flush PMK when EAP config is changed 2025-04-08 17:58:24 +05:30
Kapil Gupta
c2fad24731 fix(esp_wifi): Code cleanup for PR#15550 PR#15551
Closes https://github.com/espressif/esp-idf/pull/15550
Closes https://github.com/espressif/esp-idf/pull/15551
2025-04-08 17:57:27 +05:30
akshat
c6a56d0216 feat(esp_wifi): Add DS parameter in probe requests from STA
Parse the DS IE to get intended channel when softAP rx request,
send probe response only if request is intended for the channel
2025-04-08 16:40:47 +05:30
morris
bfdca51a67 Merge branch 'fix/fix_l2_cache_miss_issue_v5.4' into 'release/v5.4'
cache: fixed l2 cache suspended/frozen but l1cache triggers l2 writeback issue (v5.4)

See merge request espressif/esp-idf!37998
2025-04-08 18:15:16 +08:00
Jiang Jiang Jian
3ee14caf6b Merge branch 'backport/backport_some_code_to_v5.4' into 'release/v5.4'
fix(wifi): fix twt post just one event for multiple flow(backport v5.4)

See merge request espressif/esp-idf!38273
2025-04-08 14:05:17 +08:00
Shu Chen
c0c7023dd8 Merge branch 'feature/add_txrx_frame_dump_debugging_v5.4' into 'release/v5.4'
feat(802.15.4): supported tx/rx frame dumping (v5.4)

See merge request espressif/esp-idf!38234
2025-04-08 11:01:54 +08:00
glmfe
5c76c789f8 fix(tcp_transport): Fix test for socks transport
- Removed out of scope stack acess
2025-04-07 12:09:34 -03:00
Zhang Hai Peng
20910df9d6 feat(ble/bluedroid): Implement BLE channel map reading API
(cherry picked from commit 55043e280a)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-04-07 21:14:23 +08:00
Zhang Hai Peng
d47d3230cd fix(ble/bluedroid): Fix potential uint32_t overflow in BLE btu_start_timer
(cherry picked from commit a9286567f0)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-04-07 21:14:21 +08:00
Zhang Hai Peng
e2c02966d2 fix(ble/bluedrooid): Fixed memory leak issue when deinit the host
(cherry picked from commit 6becf74cbb)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-04-07 21:14:19 +08:00
Zhang Hai Peng
44f3208a49 feat(bluedroid): Support get bt config path
(cherry picked from commit d6bb90b453)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-04-07 21:14:16 +08:00
Zhang Hai Peng
03e87e18f7 fix(ble/bluedroid): Fix missing event reporting in esp_ble_create_sc_oob_data
(cherry picked from commit f291725936)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-04-07 21:14:14 +08:00
Zhang Hai Peng
d7e8cfadca fix(ble/bluedroid): Fixed BLE crash when disable bluedroid host
(cherry picked from commit 9dfa6ab0e9)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-04-07 21:14:12 +08:00
morris
796bac0b74 Merge branch 'fix/jpeg_dma_stuck_v5.4' into 'release/v5.4'
fix(jpeg): use dma2d empty rx desc event to avoid a stuck on bad quality image (backport v5.4)

See merge request espressif/esp-idf!38262
2025-04-07 19:03:50 +08:00
Michael Stoll
4470cf7b49 fix: Force validate when using the default crt bundle 2025-04-07 14:43:15 +05:30
Michael Stoll
8144ed8599 feat: Add domain match to wifi_enterprise example 2025-04-07 14:43:03 +05:30
morris
781712062a Merge branch 'refactor/improve_p4_psram_timing_tuning_point_selection_v5.4' into 'release/v5.4'
mspi: improve p4 psram timing tuning point selection (v5.4)

See merge request espressif/esp-idf!38190
2025-04-07 17:10:38 +08:00
Michael Stoll
134b9ac589 feat(esp_wifi): Implement esp_eap_client_set_domain_match 2025-04-07 14:28:45 +05:30
yinqingzhao
0f07bfdef3 fix(wifi): fix twt post just one event for multiple flow 2025-04-07 16:13:49 +08:00
zhiweijian
33093418f8 feat(ble/bluedroid): report cte_type in periodic adv report if CTE feature is enabled 2025-04-07 16:04:24 +08:00
zhiweijian
15a901fb5e fix(bt/controller): Fixed controller flash only bug if hci-uart is enabled 2025-04-07 16:03:45 +08:00
Island
4e61ce24d6 Merge branch 'feat/support_bluedroid_host_iso_feature_master_v5.4' into 'release/v5.4'
Support bluedroid host new  features (v5.4)

See merge request espressif/esp-idf!38163
2025-04-07 16:01:16 +08:00
Mahavir Jain
6f36eddc48 Merge branch 'contrib/github_pr_15715_v5.4' into 'release/v5.4'
fix(esp_http_client): fix error return when set_header has value==NULL (GitHub PR) (v5.4)

See merge request espressif/esp-idf!38264
2025-04-07 15:29:42 +08:00
C.S.M
04a0c758e7 fix(spi_flash): Return false directly in suspend caps check 2025-04-07 15:22:39 +08:00
C.S.M
5ea148a80c fix(spi_flash): Fix flash encryption write verify,
Closes https://github.com/espressif/esp-idf/issues/15380
2025-04-07 15:22:21 +08:00
Jiang Jiang Jian
ba9b1c46e2 Merge branch 'fix/fix_sleep_reject_on_esp32_v5.4' into 'release/v5.4'
fix(esp_hw_support): fix short duration sleep requests rejected in pd_flash lightsleep(v5.4)

See merge request espressif/esp-idf!38226
2025-04-07 15:20:53 +08:00
C.S.M
c29d6575a1 fix(i2c): Fix i2c customize only read one byte issue 2025-04-07 14:08:23 +08:00
C.S.M
0752abf3c7 fix(i2c_master): Fix the stretch happen cause timeout in probe,
Closes https://github.com/espressif/esp-idf/issues/15589
2025-04-07 14:08:10 +08:00
C.S.M
785e45cfcb fix(i2c): Fix i2c slave auto selection issue,
Closes https://github.com/espressif/esp-idf/issues/15644
2025-04-07 14:07:58 +08:00
C.S.M
e2ce4d256a fix(i2c): Fix the array size of static operation,
Closes https://github.com/espressif/esp-idf/issues/15583
2025-04-07 14:07:45 +08:00
C.S.M
a4ecb6b15c fix(i2c_master): Fix i2c master race condition issue,
Closes https://github.com/espressif/esp-idf/issues/15444
2025-04-07 14:05:32 +08:00
Kapil Gupta
2a0866ac9f fix(ci): Update UT to verify fast psk calculations
Also update some comments
2025-04-07 14:02:48 +08:00
Kapil Gupta
b9f2ca9068 fix(esp_wifi): Add some comments in github PR 15073
Closes https://github.com/espressif/esp-idf/pull/15073
2025-04-07 14:02:48 +08:00
Chien Wong
d3ec99b9cd feat(wpa_supplicant): Add optimized PSK impl
Signed-off-by: Chien Wong <m@xv97.com>
2025-04-07 14:02:48 +08:00
Jiang Jiang Jian
19e864060a Merge branch 'fix/rmii_ref_ckl_v5.4' into 'release/v5.4'
fix(esp_eth): fixed ESP32P4 EMAC REF RMII CLK output mode (v5.4)

See merge request espressif/esp-idf!38039
2025-04-07 13:58:48 +08:00
Jiang Jiang Jian
b809629dba Merge branch 'contrib/github_pr_15637_v5.4' into 'release/v5.4'
fix(esp_eth): Fix order of fields in ETH_ESP32_EMAC_DEFAULT_CONFIG on P4 (GitHub PR) (v5.4)

See merge request espressif/esp-idf!38165
2025-04-07 13:58:32 +08:00
Jiang Jiang Jian
9920b0994c Merge branch 'fix/test_nvs_gen_check_read_only_part_support_v5.4' into 'release/v5.4'
fix: test_nvs_gen_check.py support for read-only NVS partitions (v5.4)

See merge request espressif/esp-idf!37078
2025-04-07 13:57:25 +08:00
Jiang Jiang Jian
5bedbdf8e0 Merge branch 'feat/ff_fs_nofsinfo_kconfig_v5.4' into 'release/v5.4'
feat(fatfs): Add an option to set FF_FS_NOFSINFO value (v5.4)

See merge request espressif/esp-idf!36678
2025-04-07 13:56:54 +08:00
Jiang Jiang Jian
8c68adfbf1 Merge branch 'fix/apptrace_basic_tests_v5.4' into 'release/v5.4'
test(apptrace): run tests from custom OpenOCD class (v5.4)

See merge request espressif/esp-idf!37602
2025-04-07 13:53:21 +08:00
Jiang Jiang Jian
dc68766ea3 Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20250226_v5.4' into 'release/v5.4'
feat(tools): update openocd version to v0.12.0-esp32-20250226 (v5.4)

See merge request espressif/esp-idf!37526
2025-04-07 13:53:05 +08:00
Jiang Jiang Jian
6897a7bf40 Merge branch 'ci/add_test_for_ecos_wifi_enterprise_v54' into 'release/v5.4'
ci(c2/c3): add major eco version tests(v5.4)

See merge request espressif/esp-idf!37808
2025-04-07 13:52:43 +08:00
Jiang Jiang Jian
7ea75e3c58 Merge branch 'bugfix/ci_eth_ip_v5.4' into 'release/v5.4'
iperf fix on SH runners (v5.4)

See merge request espressif/esp-idf!37331
2025-04-07 13:51:38 +08:00
nilesh.kale
27951298ab fix(esp_http_client): Added test case to verify set header functionality
This commit added testcase to verify esp_http_client_set_header
allows header value as NULL. Setting this NULL will delete the header.

Closes https://github.com/espressif/esp-idf/issues/15714
2025-04-07 11:14:13 +05:30
Mathew Harman
bbd57a2204 fix(esp_http_client): fix error return when set_header has value==NULL
Prior to v5.4, headers could be deleted from an HTTP client by calling
esp_http_client_set_header("Header", NULL). This pattern is used by
esp_http_client_set_post_field(NULL, 0), which is the only API usage
that will delete the request body in a persistent connection scenario.
2025-04-07 11:14:13 +05:30
C.S.M
ba3d59c69e fix(jpeg): use dma2d empty rx desc event to avoid a stuck 2025-04-07 13:37:06 +08:00
C.S.M
05d0fdb7a5 feat(dma2d): Add a rx empty event callback 2025-04-07 13:36:57 +08:00
Rahul Tank
3b08b2b82d fix(nimble): Fixed one missing ble_hs_unlock() 2025-04-07 09:39:17 +05:30
Rahul Tank
f8b7c14703 Merge branch 'bugfix/handle_invalid_rd_rem_feat_v5.4' into 'release/v5.4'
fix(nimble): Handle connection posting condition (v5.4)

See merge request espressif/esp-idf!38227
2025-04-07 12:01:02 +08:00
armando
b67b1160e7 fix(cache): fixed l2 cache suspended/frozen but l1cache triggers l2 writeback issue 2025-04-07 11:37:40 +08:00
Jiang Jiang Jian
0d11e40920 Merge branch 'bugfix/pmkid_password_mismatch_v5.4' into 'release/v5.4'
fix(wifi): Fix wrong PMKSA cache entry being used when wifi password is changed (Backport v5.4)

See merge request espressif/esp-idf!38250
2025-04-07 11:14:41 +08:00
armando
71e99e8eaa refactor(mspi): improve p4 timing tuning delayline configurations 2025-04-07 10:14:17 +08:00
armando
98496eca72 refactor(mspi): improved timing tuning max consecutive success points calculation 2025-04-07 10:14:17 +08:00
Sajia
a73c5c0312 fix(wifi): Fix crash when set config is called with changed password
Closes https://github.com/espressif/esp-idf/issues/15584
2025-04-06 15:22:15 +05:30
Sarvesh Bodakhe
f8b1c0976a fix(wifi): Fix wrong PMKSA cache entry being used when wifi password is changed 2025-04-06 15:21:56 +05:30
Rahul Tank
b1a0b0c698 Merge branch 'bugfix/replace_sizeof_with_strlen_v5.4' into 'release/v5.4'
fix(nimble): Replaced incorrect sizeof with strnlen (v5.4)

See merge request espressif/esp-idf!37797
2025-04-04 19:04:19 +08:00
Aditya Patwardhan
cb24473016 Merge branch 'fix/examples_python3.13_ssl_conn_failure_v5.4' into 'release/v5.4'
Change in Python3.13's default ssl context caused SSL connection failure (v5.4)

See merge request espressif/esp-idf!38199
2025-04-04 13:57:16 +08:00
Mahavir Jain
952e0e3bfb Merge branch 'feat/configurable_mbedtls_sha1_v5.4' into 'release/v5.4'
feat(mbedtls): Make mbedtls SHA1 support configurable (v5.4)

See merge request espressif/esp-idf!37980
2025-04-04 12:32:38 +08:00
igor.masar
c9c0e8b63e fix(usb/hal/dwc): Correct host channel number calculation
The hardware field `ghwcfg2.numhstchnl` is zero-based, meaning the actual
number of available host channels is `numhstchnl + 1`. This off-by-one
error caused the USB Host controller to report N-1 channels instead of N,
leading to premature "No more HCD channels available" errors when
connecting multiple devices.

This issue affects ESP32-S2, ESP32-S3, and ESP32-P4.
2025-04-03 23:53:01 +08:00
Aditya Patwardhan
26ffbce8c2 Merge branch 'fix/fix_security_app_readme_v5.4' into 'release/v5.4'
fix(security): Fixed README for security features app (v5.4)

See merge request espressif/esp-idf!38184
2025-04-03 22:38:35 +08:00
Jiang Jiang Jian
d1b0c395c6 Merge branch 'feature/support_sco_coexist_v5.4' into 'release/v5.4'
feat(coex): Support BR/EDR (e)SCO and Wi-Fi coexistence

See merge request espressif/esp-idf!38133
2025-04-03 20:13:03 +08:00
zwx
75abe550a3 feat(802.15.4) add a build CI test for debugging feature 2025-04-03 17:30:50 +08:00
zwx
c72bbe13ba feat(802.15.4): supported tx/rx frame dumping 2025-04-03 17:30:50 +08:00
Martin Vychodil
9df731bf36 Merge branch 'fix/incorrect_console_open_and_close_behaviour_v5.4' into 'release/v5.4'
fix(storage/vfs_console): stop new console opens from overwriting existing fds (v5.4)

See merge request espressif/esp-idf!35267
2025-04-03 17:01:57 +08:00
Marius Vikhammer
6f13ac088f Merge branch 'fix/memory-utils-ptr-executable_v5.4' into 'release/v5.4'
fix(memory-utils): Missing case in esp_ptr_executable logic (backport v5.4)

See merge request espressif/esp-idf!37101
2025-04-03 14:58:36 +08:00
Island
a3cf6b07b7 Merge branch 'bugfix/fixed_c2eco4_ble_crash_issue_5.4' into 'release/v5.4'
fix(ble): fixed a heap assertion issue when enabling BLE for esp32c2 v2.0

See merge request espressif/esp-idf!38213
2025-04-03 14:42:30 +08:00
Rahul Tank
3abd397e67 fix(nimble): Handle connection posting condition 2025-04-03 11:05:57 +05:30
harshal.patil
dcd80b2528 fix(examples): Example CA certs must contain the Key Usage parameter
- Example CA certificates that are used for self-signed client certificates
need to include the Key Usage parameter.
- Python3.13 changed the default context of the SSL context that is
generated using ssl.create_default_context() by enabling the VERIFY_X509_STRICT
flag by default
2025-04-03 10:51:09 +05:30
Rahul Tank
77771f50d5 fix(nimble): Replaced incorrect sizeof with strnlen 2025-04-03 10:22:15 +05:30
wuzhenghui
ddd19eee94 fix(esp_hw_support): fix min sleep time calculation missmatch in powerdown flash decision 2025-04-03 11:51:57 +08:00
Island
dd9dbfccd6 Merge branch 'change/ble_update_lib_20250313_v5.4' into 'release/v5.4'
change(ble): [AUTO_MR] 20250313 - Update ESP BLE Controller Lib (v5.4)

See merge request espressif/esp-idf!37822
2025-04-03 11:18:35 +08:00
Marius Vikhammer
7929002754 Merge branch 'fix/memory-utils-unused-var_v5.4' into 'release/v5.4'
fix(esp_hw_support): Unused variables in memory_utils functions (backport v5.4)

See merge request espressif/esp-idf!36351
2025-04-03 10:55:43 +08:00
morris
7e1238de97 Merge branch 'fix/parlio_add_gdma_fifo_reset_v5.4' into 'release/v5.4'
fix(parlio_tx): add clock and fifo reset in disable function (v5.4)

See merge request espressif/esp-idf!36273
2025-04-03 10:27:04 +08:00
morris
ae57289414 Merge branch 'fix/usb-host-device-close-err-give-semaphore_v5.4' into 'release/v5.4'
fix(usb_host): Give semaphore on attempted close of non-opened device (backport v5.4)

See merge request espressif/esp-idf!38151
2025-04-03 10:23:24 +08:00
Shu Chen
0355d741cf Merge branch 'feat/update_ot_upstream_v54' into 'release/v5.4'
feat(openthread): update openthread upstream submodule to support BR DNS resolution (v5.4)

See merge request espressif/esp-idf!38191
2025-04-03 09:52:03 +08:00
Shen Weilong
39acce7c40 fix(ble): fixed a heap assertion issue when enabling BLE for esp32c2 v2.0 2025-04-03 08:42:45 +08:00
Roland Dobai
17a2461297 Merge branch 'fix/linux_std_flags_v5.4' into 'release/v5.4'
fix(build): don't call enable_language() before project() (v5.4)

See merge request espressif/esp-idf!37880
2025-04-02 23:42:58 +08:00
baohongde
12117c66d4 feat(coex): Support BR/EDR (e)SCO and Wi-Fi coexistence 2025-04-02 19:25:53 +08:00
Zhou Xiao
e3e91deca2 fix(ble): fix ble log init failure mem leak for ESP32-C3 2025-04-02 15:18:22 +08:00
Shen Weilong
e1920ec42f feat(ble/controller): Added memory boundary check for ESP32-C6/C5/H2/C2/C61 2025-04-02 15:18:18 +08:00
Geng Yuchao
0645197a46 fix(ble): Add link requires esp_phy for ble. 2025-04-02 15:18:18 +08:00
Zhou Xiao
94480cc0c0 feat(ble): support ble log simple output via SPI interface 2025-04-02 15:18:18 +08:00
Zhou Xiao
18725220d4 fix(ble): fix ble log init failure mem leak for ESP32 2025-04-02 15:18:18 +08:00
cjin
1848a85f99 fix(ble): remove macro in lpclk src get api on ESP32-C6 2025-04-02 15:18:18 +08:00
cjin
15d421c060 fix(ble): remove macro in lpclk src get api on ESP32-C5 2025-04-02 15:18:18 +08:00
zwl
c93081cec4 feat(ble): add enhanced connect function on ESP32-C2 2025-04-02 15:18:18 +08:00
Zhou Xiao
b7bffc84f9 feat(ble): support ble log simple output via SPI interface for ESP32-C6 2025-04-02 15:18:17 +08:00
Zhou Xiao
8e036761ed feat(ble): support ble log simple output via SPI interface for ESP32-C5 2025-04-02 15:18:17 +08:00
Zhou Xiao
9a3b5e8393 feat(ble): support ble log simple output via SPI interface for ESP32-H2 2025-04-02 15:18:17 +08:00
Zhou Xiao
8eb051cb30 feat(ble): support ble log simple output via SPI interface for ESP32-C2 2025-04-02 15:18:17 +08:00
Zhou Xiao
cda345ffc7 fix(ble): add feed wdts during ble log dump for ESP32-C2 2025-04-02 15:18:17 +08:00
Zhou Xiao
3051078939 fix(ble): fix flushout and sync issues 2025-04-02 15:18:17 +08:00
zhanghaipeng
e323d22353 fix(ble/bluedroid): Added SPI output support for Bluedroid host log 2025-04-02 15:18:17 +08:00
zhanghaipeng
231bf742b0 fix(ble/bluedroid): Support SPI log output options for HCI 2025-04-02 15:18:17 +08:00
Zhou Xiao
41a33fcd46 feat(ble): add printf and write with timestamp interface for ble log spi out
(cherry picked from commit f8efa4cd80)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-04-02 15:18:17 +08:00
Roland Dobai
58210d69b2 Merge branch 'fix/remove-unused-from-gdbinit_cmake_v5.4' into 'release/v5.4'
fix(tools): remove unused variables in gdbinit.cmake (v5.4)

See merge request espressif/esp-idf!38008
2025-04-02 15:14:37 +08:00
Island
6f0255713e Merge branch 'feat/support_blecrt_359_v5.4' into 'release/v5.4'
Support BLE vendor hci set rx sensie and max gain on esp32c3 (v5.4)

See merge request espressif/esp-idf!38130
2025-04-02 15:06:58 +08:00
Tan Yan Quan
41e9933e2f feat(openthread): increase CI timeout for dns CLI commands 2025-04-02 14:59:31 +08:00
Tan Yan Quan
d6b6583995 feat(openthread): update thread-lib to support BR DNS resolution 2025-04-02 14:59:11 +08:00
Tan Yan Quan
30ffbfcf6b feat(openthread): revert to OT upstream main branch 2025-04-02 14:49:43 +08:00
Tan Yan Quan
17f206400d fix(openthread): change include statement to updated upstream path 2025-04-02 14:49:37 +08:00
Tan Yan Quan
8063f82219 fix(openthread): update openthread upstream to support BR DNS resolution 2025-04-02 14:49:29 +08:00
Marius Vikhammer
d2eb653916 Merge branch 'fix/esp-log-put-function-in-iram_v5.4' into 'release/v5.4'
fix(log): Modified linker script to move functions from flash to iram (backport v5.4)

See merge request espressif/esp-idf!36817
2025-04-02 14:44:48 +08:00
Guillaume Souchere
2bdfba3c30 fix(memory-utils): Missing case in esp_ptr_executable logic
esp_ptr_executable does not consider that the PSRAM and FLASH
memory mapping are not always matching.

Added a "pointer is in PSRAM" specific check in the logic to
fix the issue.
2025-04-02 08:44:22 +02:00
Guillaume Souchere
e82a248593 fix(esp_hw_support): Unused variables in memory_utils functions 2025-04-02 08:43:37 +02:00
Marius Vikhammer
58c5aa2591 Merge branch 'fix/memory-utils-esp_ptr_in_rtc_dram_fast_v5.4' into 'release/v5.4'
fix(esp_hw_support): esp_ptr_in_rtc_iram_fast check to return false (backport v5.4)

See merge request espressif/esp-idf!36933
2025-04-02 14:33:43 +08:00
Aditya Patwardhan
f7bce692ab fix(security): Fixed README for security features app 2025-04-02 10:18:43 +05:30
morris
7fe190313c Merge branch 'feat/p4_adc_calibration' into 'release/v5.4'
Feature/esp32 p4 adc calibration (backport v5.4)

See merge request espressif/esp-idf!36179
2025-04-02 11:04:46 +08:00
Island
cebb126055 Merge branch 'feat/support_ble_vendor_hci_event_report_v5.4' into 'release/v5.4'
feat(bt/bluedroid): Support BLE vendor hci event reporting (v5.4)

See merge request espressif/esp-idf!37354
2025-04-02 10:44:09 +08:00
chenjianhua
e2bc4fc39f fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(566c8e3)
- Support BLE vendor hci set RX sensitivity and AGC gain command
- Fixed enhanced TX power setting and getting for legacy adv
- Fixed BLE assert lld_con.c 2387
- Fixed compatibility issues during the encryption procedure
- Support BLE vendor hci enable CCA command
- Added BLE controller debug log trace
- Added BLE controller log module
2025-04-02 10:38:40 +08:00
zhiweijian
c06b78595d fix(ble/bluedroid): move setting host feature API to GAP 2025-04-02 10:31:42 +08:00
zhiweijian
0e6e23ec53 feat(bt/bluedroid): Support ble bluedroid host connection subrating feature 2025-04-02 10:31:33 +08:00
zhiweijian
5425ed8eef feat(bt/bluedroid): Support ble bluedroid host power control feature 2025-04-02 10:31:24 +08:00
zhiweijian
b47a6003a1 feat(bt/bluedroid): Support BLE CTE in bluedroid host 2025-04-02 10:31:14 +08:00
zhiweijian
e3bf21b31a feat(bt/bluedroid): Support BLE iso in bluedroid host 2025-04-02 10:31:04 +08:00
morris
ff8c836be3 Merge branch 'feat/allow_setting_rmt_group_prescale_v5.4' into 'release/v5.4'
refactor(rmt): set group clock prescale dynamically (v5.4)

See merge request espressif/esp-idf!36737
2025-04-02 10:15:16 +08:00
morris
13baf981ca Merge branch 'bugfix/sdmmc_high_prio_timeout_v5.4' into 'release/v5.4'
fix(sdmmc): move DMA descriptor refilling into the ISR (v5.4)

See merge request espressif/esp-idf!37694
2025-04-02 10:13:22 +08:00
Sergei Silnov
891f7eeef2 Merge branch 'ci/update_esp-env-v5.4_to_ubuntu_24.04' into 'release/v5.4'
5.4: Update ubuntu base image for esp-env-v5.4 to 24.04

See merge request espressif/esp-idf!37872
2025-04-02 02:30:09 +08:00
Island
b641411c06 Merge branch 'feat/add_save_debug_context_250226_v5.4' into 'release/v5.4'
Feat/add save debug context 250226 (v5.4)

See merge request espressif/esp-idf!37297
2025-04-01 19:33:51 +08:00
Shu Chen
f481174cbd Merge branch 'feat/add_config_to_set_addrfamily_v5.4' into 'release/v5.4'
feat(tcp_transport): add an api to configure the addr family (v5.4)

See merge request espressif/esp-idf!37911
2025-04-01 19:32:14 +08:00
morris
a125701444 Merge branch 'bugfix/uart_async_rxtxtasks_example_stack_overflow_v5.4' into 'release/v5.4'
fix(uart): enlarged task stack size for uart_async_rxtxtasks example (v5.4)

See merge request espressif/esp-idf!37590
2025-04-01 18:48:00 +08:00
Ondrej Kosta
ac29bd7ca4 ci(esp_eth): enabled Ethernet target tests 2025-04-01 12:45:59 +02:00
Jonathan Swoboda
3581d9d5a9 fix(esp_eth): Fix order of fields in ETH_ESP32_EMAC_DEFAULT_CONFIG on P4 2025-04-01 07:24:19 +00:00
chenjianhua
352ee491db feat(bt/bluedroid): Support BLE vendor hci event reporting 2025-04-01 15:12:28 +08:00
Island
f6dc2b658d Merge branch 'feat/optimize_hci_data_recv_process_v5.4' into 'release/v5.4'
Feat/optimize hci data recv process (v5.4)

See merge request espressif/esp-idf!37834
2025-04-01 15:12:28 +08:00
chenjianhua
189e40bc7b feat(bt/bluedroid): Support BLE setting vendor event mask 2025-04-01 15:12:28 +08:00
Kapil Gupta
2863fe328c fix(esp_wifi): Add alternate SHA1 APIs in WiFi
Add alternate SHA1 APIs to handle cases when
`CONFIG_MBEDTLS_SHA1_C` is disabled.
2025-04-01 12:40:55 +05:30
harshal.patil
96f48cd1cf feat(mbedtls): Make mbedtls SHA1 support configurable 2025-04-01 12:40:55 +05:30
gaoxu
221da3fbb4 docs(adc): add ADC calibration docs on ESP32P4 2025-04-01 15:08:04 +08:00
gaoxu
d74f12dea7 feat(adc): support ADC calibration on ESP32P4 2025-04-01 15:07:56 +08:00
gaoxu
b227da9b2b ci(adc): enable P4 ADC test and correct ADC performance thresh 2025-04-01 15:05:36 +08:00
gaoxu
f380cb6a4d fix(adc): fix P4 adc continuous mode stop early 2025-04-01 15:05:34 +08:00
gaoxu
3e9c1ae62b fix(adc): fix adc1 error after bootloader random 2025-04-01 15:05:31 +08:00
Rahul Tank
9d45436a5f Merge branch 'feat/added_change_to_ble_spp_client_v5.4' into 'release/v5.4'
feat(nimble): Allow BLE SPP Client to subscribe to the server (v5.4)

See merge request espressif/esp-idf!37455
2025-04-01 14:58:52 +08:00
Marius Vikhammer
8c9946fe9b Merge branch 'feat/enable_freertos_smp_for_c5_c61_v5.4' into 'release/v5.4'
feat(freertos): Enable Amazon FreeRTOS SMP kernel for esp32c5 and esp32c61 (v5.4)

See merge request espressif/esp-idf!38073
2025-04-01 14:56:32 +08:00
Marius Vikhammer
a218e3f553 Merge branch 'fix/ringbuf_allow_split_receive_crash_v5.4' into 'release/v5.4'
fix(ringbuf): xRingbufferReceive() crashes for allow-split buffers (v5.4)

See merge request espressif/esp-idf!37922
2025-04-01 14:55:36 +08:00
Marius Vikhammer
4354c3080a Merge branch 'fix/lp_uart_flush_wait_for_idle_v5.4' into 'release/v5.4'
fix(lp_uart): Update the `lp_core_uart_tx_flush()` API to wait for UART Tx idle state (v5.4)

See merge request espressif/esp-idf!37473
2025-04-01 14:55:18 +08:00
Marius Vikhammer
592c6312b6 Merge branch 'bugfix/adc_work_mode_for_ulp_riscv_v5.4' into 'release/v5.4'
fix(ulp-riscv): Fixed ADC oneshot initialization for ULP RISC-V (v5.4)

See merge request espressif/esp-idf!37372
2025-04-01 14:54:56 +08:00
Wang Meng Yang
0cecb7bcf3 Merge branch 'bug/xtensa_cpu1_sys_lockup_v5.4' into 'release/v5.4'
fix(panic_handler): Updated panic handler to use RTC WDT (v5.4)

See merge request espressif/esp-idf!37112
2025-04-01 14:51:18 +08:00
Rahul Tank
078a29e351 Merge branch 'fix/periodic_adv_example_v5.4' into 'release/v5.4'
fix(nimble):Fix conversion for min-max itvl of periodic adv param (v5.4)

See merge request espressif/esp-idf!38091
2025-04-01 14:49:42 +08:00
Ondrej Kosta
300adf0045 fix(esp_eth): fixed emac_ll_pause_frame_enable for ESP32P4 2025-04-01 08:32:09 +02:00
Ondrej Kosta
e544d57179 fix(esp_eth): fixed ESP32P4 EMAC REF RMII CLK output mode
fixed units returned and used by periph_rtc_mpll_freq_set function
2025-04-01 08:32:09 +02:00
Rahul Tank
4d749ee5b0 Merge branch 'fix/ble_issue_10032025_v5.4' into 'release/v5.4'
fix(nimble): Fix some nimble issues ble_issue_10032025_v5.4

See merge request espressif/esp-idf!37625
2025-04-01 12:47:00 +08:00
Shu Chen
8fa7bf6c47 Merge branch 'fix/csl_rx_off_when_idle_v5.4' into 'release/v5.4'
fix(openthread): turn off rx for SSED running CSL during idle (v5.4)

See merge request espressif/esp-idf!37992
2025-04-01 11:30:38 +08:00
Shu Chen
f122d1113c Merge branch 'bugfix/fix_ot_ci_cases_avahi_service_issue_v5.4' into 'release/v5.4'
feat(openthread): fix ci avahi service cases issue (v5.4)

See merge request espressif/esp-idf!37861
2025-04-01 11:29:14 +08:00
Shu Chen
667b2431ee Merge branch 'fix/154_txpower_set_api_v5.4' into 'release/v5.4'
fix(802.15.4): fix the behavior of the `esp_ieee802154_set_txpower` (v5.4)

See merge request espressif/esp-idf!37736
2025-04-01 11:28:56 +08:00
Shu Chen
89c73fc502 Merge branch 'support/ieee802154_set_txon_delay_using_phylib_impl_v5.4' into 'release/v5.4'
feat(802.15.4): configure tx on delay using phylib implementation (v5.4)

See merge request espressif/esp-idf!37656
2025-04-01 11:28:47 +08:00
morris
beee8e047e Merge branch 'contrib/github_pr_15499_v5.4' into 'release/v5.4'
Add missing break statements to usb_serial_jtag_ll_phy_select (GitHub PR) (v5.4)

See merge request espressif/esp-idf!38124
2025-04-01 11:14:52 +08:00
morris
57a83359d5 Merge branch 'bugfix/clear_ledc_gamma_ram_v5.4' into 'release/v5.4'
fix(ledc): left-off gamma ram registers should be cleared (v5.4)

See merge request espressif/esp-idf!37572
2025-04-01 11:13:32 +08:00
Chen Jichang
da4c0a3a8d fix(parlio): fix non-free running test case 2025-04-01 11:11:44 +08:00
Chen Jichang
4e7c593098 fix(parlio): fix rempty interrupt during resetting fifo
Move the fifo reset to after disabling the tx core clock.
And add external non-free running clock src test.
2025-04-01 11:11:44 +08:00
Chen Jichang
21792d572e fix(parlio_tx): add clock and fifo reset in disable function 2025-04-01 11:11:44 +08:00
morris
8bce1430ee Merge branch 'bugfix/lp_uart_baudrate_limitation_v5.4' into 'release/v5.4'
fix(uart): LP UART does not have the pre-divider for its clock source (v5.4)

See merge request espressif/esp-idf!37594
2025-04-01 10:35:29 +08:00
Renze Nicolai
e743875cd8 fix: add missing break statements to usb_serial_jtag_ll_phy_select,
Closes https://github.com/espressif/esp-idf/pull/15499
2025-04-01 10:09:47 +08:00
morris
46685f1dfd Merge branch 'docs/update_translation_for_nvs_bootloader_v5.4' into 'release/v5.4'
docs: Provide CN translation for nvs bootloader and fix broken link (v5.4)

See merge request espressif/esp-idf!37445
2025-04-01 10:03:21 +08:00
morris
321fd07663 Merge branch 'docs/add_note_about_twai_instance_install_v5.4' into 'release/v5.4'
docs: Add a note about TWAI multiple instances install (v5.4)

See merge request espressif/esp-idf!37965
2025-04-01 10:03:02 +08:00
morris
80be2e9dac Merge branch 'fix/usb_host_docs_host_num_chan_reference_backport_v5.4' into 'release/v5.4'
fix(usb_host): Fixing reference to OTG_NUM_HOST_CHAN in docs backport to v5.4

See merge request espressif/esp-idf!37384
2025-04-01 10:02:31 +08:00
morris
373f508a99 Merge branch 'update_usb_jtag_doc_v5.4' into 'release/v5.4'
docs(jtag): add esp32p4 usb jtag pin numbers (v5.4)

See merge request espressif/esp-idf!37241
2025-04-01 10:01:53 +08:00
morris
3076186e8f Merge branch 'fix/pr_15513_psram_bss_noinit_calc_issue_v5.4' into 'release/v5.4'
psram: correct .bss and .noinit vaddr calculation (v5.4)

See merge request espressif/esp-idf!37664
2025-04-01 10:00:56 +08:00
morris
fba83778cb Merge branch 'bugfix/ledc_fade_stop_race_condition_v5.4' into 'release/v5.4'
fix(ledc): fix race condition in ledc_fade_stop causing assert failure (v5.4)

See merge request espressif/esp-idf!38080
2025-04-01 09:59:31 +08:00
morris
62ace4d687 Merge branch 'fix/spi_master_halt_using_rc_fast_v5.4' into 'release/v5.4'
fix(spi_master): fix spi halt when remove device who using rc_fast (v5.4)

See merge request espressif/esp-idf!37002
2025-04-01 09:58:50 +08:00
morris
0e3cdc3b75 Merge branch 'feat/update_pcnt_reg_on_h2_eco5_v5.4' into 'release/v5.4'
feat(pcnt): update pcnt reg on h2 eco5 (v5.4)

See merge request espressif/esp-idf!38117
2025-04-01 09:54:51 +08:00
weiyuhan
6fe81dfc1b docs(ble): Updated the Bluetooth SIG Qualification information for ESP32C6 2025-04-01 09:33:05 +08:00
Wei Yu Han
10f7a7b8b7 Updated BLE feature status
(cherry picked from commit 6a584e9698)

Co-authored-by: weiyuhan <weiyuhan@espressif.com>
2025-04-01 09:33:05 +08:00
Chen Jian Hua
45400a78d0 feat(bt/bluedroid): Added BLE eddystone sender example
(cherry picked from commit 06366353d8)

Co-authored-by: zhangbowen <zhangbowen@espressif.com>
2025-04-01 09:30:56 +08:00
Wang Meng Yang
74d5769159 Merge branch 'feat/add_sdk_config_for_sdp_size_option_v5.4' into 'release/v5.4'
feat(bt): Implement SDK Config SDP Size Options (backport v5.4)

See merge request espressif/esp-idf!37209
2025-04-01 09:08:00 +08:00
igor.masar
2e8a928ee7 fix(usb_host): Fix return code and description
Changed error code from ESP_ERR_INVALID_STATE to ESP_ERR_NOT_FOUND
when the client never opened the device.
Updated function documentation to correctly reflect return values.
2025-03-31 23:44:27 +02:00
Myk Melez
71d098ed63 fix(usb_host): Give semaphore on attempted close of non-opened device
If you call *usb_host_device_close()* for a device that isn't open, the function exits early,
without giving back the semaphore it took, which causes any other call that tries to take
that semaphore to hang indefinitely.

Strangely, there's redundant handling of this condition, with two checks in a row that both handle
the case where `_check_client_opened_device(client_obj, dev_addr)` returns `false`:

```c
    HOST_CHECK_FROM_CRIT(_check_client_opened_device(client_obj, dev_addr), ESP_ERR_NOT_FOUND);
    if (!_check_client_opened_device(client_obj, dev_addr)) {
        // Client never opened this device
        ret = ESP_ERR_INVALID_STATE;
        HOST_EXIT_CRITICAL();
        goto exit;
    }
…
exit:
    xSemaphoreGive(p_host_lib_obj->constant.mux_lock);
    return ret;
```

The first line is the one that exits early, as HOST_CHECK_FROM_CRIT returns its second parameter
if its first parameter is false, without giving back the semaphore (although it does exit
the critical section).

The subsequent block handles the exact same case, except that it ensures the semaphore is given
back before returning. Currently, this block is never reached.

Perhaps the first check was added, then someone noticed the issue and added the second check,
but they forgot to remove the first one.

In any case, this PR removes the first check, so the second check can properly handle this case
by giving back the semaphore before returning.

This bug appears to have been present in the initial commit of the USB Host library to the ESP-IDF
repo: accbaee57c

Of course, if you never try to close a non-opened device, then you won't encounter it!
Unfortunately, I have some code that tried to do that, which is how I found the issue.
2025-03-31 23:44:27 +02:00
Mahavir Jain
710ed9bcad Merge branch 'contrib/github_pr_15291_v5.4' into 'release/v5.4'
fix(esp_http_client): Fix invalid content length header (GitHub PR) (v5.4)

See merge request espressif/esp-idf!37540
2025-03-31 21:32:49 +08:00
Mahavir Jain
54283c9567 Merge branch 'feature/add_support_for_ota_resumption' into 'release/v5.4'
feat(app_update): Introduced API for managing OTA resumption scenarios (v5.4)

See merge request espressif/esp-idf!37194
2025-03-31 21:32:14 +08:00
Mahavir Jain
a33851c9db Merge branch 'fix/incorrect_calculation_of_used_xip_pages_v5.4' into 'release/v5.4'
fix(esp_psram): Fix incorrect calculation of used XIP PSRAM pages (v5.4)

See merge request espressif/esp-idf!37495
2025-03-31 21:31:59 +08:00
Jiang Jiang Jian
1113c7183d Merge branch 'doc/add_wakeup_source_usage_precautions_v5.4' into 'release/v5.4'
change(doc): added more usage notes & warings about PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP (v5.4)

See merge request espressif/esp-idf!37391
2025-03-31 17:33:32 +08:00
Wang Meng Yang
75721348d8 Merge branch 'bugfix/sec_service_record_conn_fail_v5.4' into 'release/v5.4'
fix(bt/bluedroid): fix the issue of connection failure when initializing multiple profiles(v5.4)

See merge request espressif/esp-idf!38074
2025-03-31 17:15:22 +08:00
Wang Meng Yang
8f2b6dfe95 Merge branch 'bugfix/fix_esp32_bt_disable_crash_v5.4' into 'release/v5.4'
fix(bt): Fix controller disable cause iwdt timeout on esp32 (v5.4)

See merge request espressif/esp-idf!37772
2025-03-31 17:14:52 +08:00
Wang Meng Yang
b1a3813698 Merge branch 'bugfix/fix_hid_reconnect_issue_v5.4' into 'release/v5.4'
feat(bt/bluedroid): Add Kconfig option to keep device bonding info when HID unplugging (v5.4)

See merge request espressif/esp-idf!37181
2025-03-31 17:14:40 +08:00
Wang Meng Yang
381379354d Merge branch 'bugfix/spp_mem_leak_v5.4' into 'release/v5.4'
fix(bt/bluedroid): fixed memory leaks in SPP callback mode (v5.4)

See merge request espressif/esp-idf!37385
2025-03-31 17:14:12 +08:00
Wang Meng Yang
b1659a5cd1 Merge branch 'bugfix/spp_free_server_slot_err_v5.4' into 'release/v5.4'
fix(bt/bluedroid): Fixed freeing spp server memory when disconnected(v5.4)

See merge request espressif/esp-idf!37608
2025-03-31 17:13:50 +08:00
Wang Meng Yang
d6a436c97a Merge branch 'bugfix/err_disc_state_changed_evt_v5.4' into 'release/v5.4'
fix(bt/bluedroid): fixed other events being reported when disconnected(v5.4)

See merge request espressif/esp-idf!37936
2025-03-31 17:13:48 +08:00
Island
4af23443e0 Merge branch 'feat/ble_read_long_value_v5.4' into 'release/v5.4'
feat(ble/bluedroid): Add Read Long Characteristic Values example (v5.4)

See merge request espressif/esp-idf!37489
2025-03-31 17:10:03 +08:00
Island
3fbc2b7bce Merge branch 'feat/optimize_ble_config_reduce_bin_v5.4' into 'release/v5.4'
Feat/optimize bluedroid host config and reduce bin size (v5.4)

See merge request espressif/esp-idf!37261
2025-03-31 17:09:50 +08:00
Island
55352b6b62 Merge branch 'bugfix/fix_ble_kconfig_v5.4' into 'release/v5.4'
fix(ble/controller): Fix BLE Kconfig on ESP32 to avoid unexpected behavior (v5.4)

See merge request espressif/esp-idf!37422
2025-03-31 17:08:42 +08:00
Island
08d2987db4 Merge branch 'bugfix/fix_ble_report_len_v5.4' into 'release/v5.4'
fix(ble/bluedroid): Fix adv data and scan rsp data not reported together in BLE active scan (v5.4)

See merge request espressif/esp-idf!37203
2025-03-31 17:08:30 +08:00
morris
21d470dd26 Merge branch 'fix/i2s_iram_safe_issue_while_use_psram_v5.4' into 'release/v5.4'
fix(i2s): fixed failure when dma is iram_safe but i2s not (v5.4)

See merge request espressif/esp-idf!38003
2025-03-31 17:07:43 +08:00
morris
70ab1ccdd0 Merge branch 'bugfix/ppa_srm_scale_frag_yuv420_v5.4' into 'release/v5.4'
fix(ppa): fix ppa srm potentially get blocked when scaling to YUV420 (v5.4)

See merge request espressif/esp-idf!37592
2025-03-31 17:05:23 +08:00
morris
8d446396bf Merge branch 'fix/jpeg_decoder_collective_backport_v5.4' into 'release/v5.4'
fix(jpeg_decoder): JPEG Decoder collective backport to v5.4

See merge request espressif/esp-idf!37509
2025-03-31 16:53:25 +08:00
morris
67a6fbc72e Merge branch 'fix/usb_phy_pull_override_backport_v5.4' into 'release/v5.4'
fix(usb_phy): Removed pad pull override config for Full-speed (backport to v5.4)

See merge request espressif/esp-idf!36776
2025-03-31 16:50:37 +08:00
morris
de3964a9c0 Merge branch 'bugfix/adc_oneshot_error_after_continuous_v5.4' into 'release/v5.4'
fix(adc): fix adc oneshot error after continuous v5.4

See merge request espressif/esp-idf!37143
2025-03-31 16:47:34 +08:00
morris
c3b4d5a895 Merge branch 'fix/rmt_lim_thres_incorrect_v5.4' into 'release/v5.4'
fix(rmt): fix the received symbols issue (v5.4)

See merge request espressif/esp-idf!37899
2025-03-31 16:45:28 +08:00
morris
74ec3b3c7f Merge branch 'docs/update_i2c_static_v5.4' into 'release/v5.4'
docs: Update static for i2c.rst (v5.4)

See merge request espressif/esp-idf!37764
2025-03-31 16:44:51 +08:00
morris
e29346014f Merge branch 'feat/add_temperature_calib_v5.4' into 'release/v5.4'
feat(temperature_sensor): Add temperature sensor calibration support (backport v5.4)

See merge request espressif/esp-idf!37311
2025-03-31 16:43:31 +08:00
morris
a8e166ec07 Merge branch 'feat/unilc_psram_s3_v5.4' into 'release/v5.4'
psram: supported UnilC octal psram on s3 (v5.4)

See merge request espressif/esp-idf!37859
2025-03-31 16:43:01 +08:00
morris
70e8afb9a1 Merge branch 'fix/fix_cam_iram_safe_compile_error_v5.4' into 'release/v5.4'
cam: fix cam iram safe compile error (v5.4)

See merge request espressif/esp-idf!37606
2025-03-31 16:42:44 +08:00
morris
2dd1f03b0d Merge branch 'bugfix/spi_lcd_dc_io_setup_v5.4' into 'release/v5.4'
fix(lcd): DC signal shouldn't affect the input path of the GPIO (v5.4)

See merge request espressif/esp-idf!37449
2025-03-31 16:40:17 +08:00
morris
7c7c96e815 Merge branch 'refactor/spi_remove_unnecessary_dependency_v5.4' into 'release/v5.4'
fix(spi): removed PERIPH_CTRL_FUNC_IN_IRAM dependency (v5.4)

See merge request espressif/esp-idf!37563
2025-03-31 16:39:13 +08:00
morris
f74b338539 Merge branch 'bugfix/missing_kconfig_definition_v5.4' into 'release/v5.4'
fix(i2c): add Kconfig to skip driver conflict check (v5.4)

See merge request espressif/esp-idf!37761
2025-03-31 16:39:04 +08:00
morris
ff74f67de4 Merge branch 'bugfix/usj_wrong_return_value_v5.4' into 'release/v5.4'
fix(usb_serial_jtag): wrong return value in usb_serial_jtag_write_bytes (v5.4)

See merge request espressif/esp-idf!37969
2025-03-31 16:38:22 +08:00
morris
2d582fec60 Merge branch 'refactor/gptimer_isr_logs_opt_int_v5.4' into 'release/v5.4'
feat(gptimer): make start and stop function idempotent (v5.4)

See merge request espressif/esp-idf!37248
2025-03-31 16:36:46 +08:00
morris
ddd8a5d348 Merge branch 'bugfix/rmt_simple_encoder_example_v5.4' into 'release/v5.4'
fix(example): wrong ws2812 reset duration (v5.4)

See merge request espressif/esp-idf!37466
2025-03-31 16:36:08 +08:00
morris
b59ecd5e3d Merge branch 'feat/enable_l2mem_burst_buffer_mode_v5.4' into 'release/v5.4'
improve AXI-ICM QoS function (v5.4)

See merge request espressif/esp-idf!37468
2025-03-31 16:35:49 +08:00
morris
3d650abcba Merge branch 'feat/can_bypass_buffer_align_check_v5.4' into 'release/v5.4'
feat(gdma): allow bypass the alignment check in the link driver (v5.4)

See merge request espressif/esp-idf!37423
2025-03-31 16:21:25 +08:00
Roland Dobai
13bc9ceec0 Merge branch 'change/move_deprecated_kconfig_checker_v5.4' into 'release/v5.4'
change: move check_deprecated_configs.py logic to esp-idf-kconfig (v5.4)

See merge request espressif/esp-idf!37405
2025-03-31 16:10:44 +08:00
Roland Dobai
215d90a87a Merge branch 'fix/fix_kconfig_files_v5.4' into 'release/v5.4'
fix(kconfig): Fix issues with Kconfig files (v5.4)

See merge request espressif/esp-idf!37575
2025-03-31 16:10:25 +08:00
Roland Dobai
43b42c6dfd Merge branch 'fix/extractall_deprecation_v5.4' into 'release/v5.4'
fix(idf_tools): Patch extractall() deprecation warning (v5.4)

See merge request espressif/esp-idf!37883
2025-03-31 16:10:08 +08:00
Roland Dobai
916d1d30a7 Merge branch 'fix/install_input_validation_v5.4' into 'release/v5.4'
fix(idf_tools): Validate input features (v5.4)

See merge request espressif/esp-idf!37889
2025-03-31 16:08:58 +08:00
Roland Dobai
6d4faa0956 Merge branch 'feat/deactivate_idf_env_every_run_v5.4' into 'release/v5.4'
feat(tools): Deactivate current ESP-IDF environment with every export run (v5.4)

See merge request espressif/esp-idf!38026
2025-03-31 16:08:39 +08:00
Roland Dobai
487b26a72e Merge branch 'fix/check_python_dependencies_v5.4' into 'release/v5.4'
fix(tools): handle packages with dots in their names during dependency checks (v5.4)

See merge request espressif/esp-idf!38062
2025-03-31 16:08:21 +08:00
Frantisek Hrbata
a30e3051fb fix(build): don't call enable_language() before project()
For the Linux target, we currently attempt to fallback to older C/CXX
lagnuage standards in the __build_set_lang_version() function. The
language standard support is checked using CMake's language-specific
functions, such as check_c_compiler_flag(). These functions require the
language to be enabled[1] in CMake beforehand, which is done by calling
project() or by enabling the languages later with enable_language(). At
present, we use enable_language() to enable C and CXX languages in
CMake, allowing us to set the standard early, before invoking project().
However, newer CMake versions (>3.29) issue a warning[2] if
enable_language() is called before project(), as noted in CMP0165[3].

It should generally be acceptable to call __build_set_lang_version()
after __project(), but doing so would alter the behavior of the
COMPILE_OPTIONS also for non-Linux targets. Currently, users can
add to COMPILE_OPTIONS even before calling project() in the project's
CMakeLists.txt and the options will be in the desired order. In other
words, appending to COMPILE_OPTIONS can occur either before or after
calling project() in the project's CMakeLists.txt, with the outcome
remaining consistent. This means the user's settings will appear later
and take priority. However, if __build_set_lang_version() is called
after __project(), the user's COMPILE_OPTIONS settings would be
overridden if set before calling project(). Our documentation[4] explicitly
states that COMPILE_OPTIONS and similar properties should be modified
using idf_build_set_property() after calling project() to prevent
default values from overwriting them.

Even with this guidance, some existing components that modify
COMPILE_OPTIONS before invoking project() might be impacted by this
change. Therefore, separate the language standard settings for non-Linux
and Linux targets. For non-Linux targets, these settings are applied in
__build_set_default_build_specifications(), maintaining the current
behavior. For the Linux target, the language standard is set with
__linux_build_set_lang_version() after calling __project(), ensuring the
languages are already enabled in CMake and no warning is issued. Since the Linux
target is still in preview, this approach should be acceptable,
especially with the existing documentation[4].

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

[1] https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#languages
[2] https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9396
[3] https://cmake.org/cmake/help/latest/policy/CMP0165.html#policy:CMP0165
[4] https://docs.espressif.com/projects/esp-idf/en/v5.4/esp32/api-guides/
    build-system.html#overriding-default-build-specifications

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-03-31 16:06:06 +08:00
Chen Jichang
51cbe9291b fix(pcnt): remove the gpi0_reset_pin function 2025-03-30 13:48:02 +08:00
Chen Jichang
5a6e4760d4 fix(pcnt): update pcnt_reg on esp32h2 eco5 2025-03-30 13:48:01 +08:00
Peter Macko
a71141a250 ci: Update esp-env-v5.4 to Ubuntu 24.04 and handle related issues
- Allow test_pytest_linux failures
- Allow test_transport_on_host failures
- Fix deprecated C++ syntax by removing unused volatile variable in nvs_page_test
- Add x509_crt_bundle.S.o GNU-stack ld warning to ignore list
2025-03-28 15:59:44 +01:00
Abhinav Kudnar
a441421b2c fix(nimble): Fix conversion for min-max itvl of periodic adv param 2025-03-28 14:19:07 +08:00
xiongweichao
34e6333dd3 fix(bt/bluedroid): fix the issue of connection failure when initializing multiple profiles
- Due to the number of service security records exceeding the maximum value, the connection failed
2025-03-28 08:34:00 +08:00
xiongweichao
b48c152ca6 fix(bt/bluedroid): Fixed freeing spp server memory when disconnected 2025-03-28 08:20:01 +08:00
linruihao
e3bb3216df fix(bt): Fix controller disable cause iwdt timeout on esp32 2025-03-28 08:17:24 +08:00
Michael (XIAO Xufeng)
2f7dcd862a Merge branch 'update/version_5_4_1' into 'release/v5.4'
Update version to 5.4.1

See merge request espressif/esp-idf!38067
2025-03-28 02:04:54 +08:00
Song Ruo Jing
ac883027c3 fix(ledc): fix race condition in ledc_fade_stop causing assert failure
Closes https://github.com/espressif/esp-idf/issues/15580
2025-03-27 20:16:53 +08:00
Sudeep Mohanty
30f8649fb8 feat(freertos): Enable Amazon FreeRTOS SMP kernel for esp32c5 and esp32c61
This commit enables the Amazon SMP port for FreeRTOS for the esp32c5 and
esp32c61 targets.
2025-03-27 11:17:47 +01:00
Xiao Xufeng
4c2820d377 change(version): Update version to 5.4.1 2025-03-27 15:29:07 +08:00
Frantisek Hrbata
39ebccb7fb fix(tools): handle packages with dots in their names during dependency checks
The `setuptools` package starting with `v70.1.0`[1] contains built-in
`bdist_wheel` command. Before this version `setuptools` relied on the
`bdist_wheel` command implementation from the `wheel` package. Starting with
`setuptools` `v75.8.1` the `PEP 491`[3] restrictions on the distribution name
of a wheel package are enforced[4], replacting also `.` with `_`.  Note that
`PEP 491` actually allows `.` in the distribution name, but for some reason the
latest packaging docs[10][11] does not, stating that `.` should be replaced
with `_`. This was discussion here[12].

Also the `wheel` package starting with `v0.45.0`[5] is using the `bdist_wheel`
command from `setuptools`.  This means that any package which has `.` in its
distribution name, like `ruamel.yaml.clib`, can have different wheel name,
depending on which version of the `bdist_wheel` command was used.

The `bdist_wheel` command from setuptools prior `v75.8.1` or `wheel` prior
`v0.45.0` will keep the dots in distribution name preserved.  For exaple the
`ruamel.yaml.clib` package will have distribution name
`ruamel.yaml.clib-0.2.12.dist-info. Newer versions will replace the dots with
`_` according to [10][11], creating distribution like
`ruamel_yaml_clib-0.2.12.dist-info`.

From packaging point of view `ruamel.yaml.clib-0.2.12.dist-info` and
`ruamel_yaml_clib-0.2.12.dist-info` are the same packages, but this is not
reflected in `importlib.metadata` prior python 3.10[9], which does not perform
name normalization prior the distribution search. This causes the `version`
from `importlib.metadata` to fail on python prior the 3.10 version if the
package with dots in distribution name was generated with normalized paths with
newer `setuptools`. Note that the distribution name normalization was
backported to some later 3.9 python version.

Let's demonstrate this behavior on a simple package with the
`my.minimal.package` name.

```
my_minimal_package/
├── pkg
│   └── __init__.py
└── setup.py

from setuptools import setup, find_packages

setup(
    name='my.minimal.package',
    version='0.1.0',
    packages=find_packages(),
    install_requires=[],
    entry_points={},
)
```

With python 3.9.0 search for `my.minimal.package` fails because
of the missing name normalization.
```
docker run --rm -it --platform linux/x86_64 python:3.9.0 bash
python -m venv venv
. venv/bin/activate
pip install setuptools==v75.8.1
python setup.py bdist_wheel
pip install dist/my_minimal_package-0.1.0-py3-none-any.whl
python
Python 3.9.0 (default, Nov 18 2020, 13:28:38)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from importlib.metadata import version as get_version
>>> get_version('my.minimal.package')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/importlib/metadata.py", line 551, in version
    return distribution(distribution_name).version
  File "/usr/local/lib/python3.9/importlib/metadata.py", line 524, in distribution
    return Distribution.from_name(distribution_name)
  File "/usr/local/lib/python3.9/importlib/metadata.py", line 187, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: my.minimal.package
>>> get_version('my_minimal_package')
'0.1.0'
```

With python 3.10.0 search for both `my.minimal.package` and
`my_minimal_package` succeeds.
```
docker run --rm -it --platform linux/x86_64 python:3.10.0 bash
python
Python 3.10.0 (default, Dec  3 2021, 00:21:30) [GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from importlib.metadata import version as get_version
>>> get_version('my.minimal.package')
'0.1.0'
>>> get_version('my_minimal_package')
'0.1.0'
```

In our `tools/check_python_dependencies.py` we cannot relay on the default
distribution finder, used in the `version` function from `importlib.metadata`,
to do name normalization on older python versions.  To cope with this,
implement a fallback version search. If `version` fails with
`PackageNotFoundError`, do the name normalization according to [10][11] and try
again.

Note: There is also a `wheel`[6][7] `v0.43.0` package embeded in `setuptools`
along with the new implementation[8].  This one seems to be used if the
external `wheel` package is not available but imported. TBH this is all kinda
messy and I may have overlooked something.

* [1] https://setuptools.pypa.io/en/stable/history.html#v70-1-0
* [2] https://setuptools.pypa.io/en/stable/history.html#v75-8-1
* [3] https://peps.python.org/pep-0491/#escaping-and-unicode
* [4] https://github.com/pypa/setuptools/pull/4766/files
* [5] https://wheel.readthedocs.io/en/stable/news.html
* [6] https://github.com/pypa/setuptools/blob/main/setuptools/_vendor/wheel/__init__.py
* [7] https://github.com/pypa/setuptools/issues/1386
* [8] https://github.com/pypa/setuptools/blob/main/setuptools/command/bdist_wheel.py
* [9] c6ca368867
* [10] https://packaging.python.org/en/latest/specifications/name-normalization/#name-normalization
* [11] https://packaging.python.org/en/latest/specifications/binary-distribution-format/
       #escaping-and-unicode
* [12] https://github.com/pypa/setuptools/issues/3777

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-03-27 08:04:55 +01:00
Geng Yu Chao
ca75074cf7 feat(ble): Add Kconfig support for direction finding feature
(cherry picked from commit 8c7af817d89c254714dc9c93414499fead3717d3)

Co-authored-by: Geng Yuchao <gengyuchao@espressif.com>
2025-03-27 10:01:17 +05:30
Geng Yuchao
ba7e760473 feat(ble): Support Bluetooth LE 5.1 direction finding feature 2025-03-27 10:01:17 +05:30
Rahul Tank
e092561bc8 fix(nimble): Fix SMP command allocation 2025-03-27 10:01:17 +05:30
Shreeyash
105b3d7816 feat(nimble): support vendor event mask set and vendor HCI event on nimble host 2025-03-27 10:01:17 +05:30
Rahul Tank
68ef1bdfe0 fix(nimble): Fix incorrect event deinit in gatt caching discovery 2025-03-27 10:01:17 +05:30
Abhinav Kudnar
d714ad6bc1 fix(nimble): Exposed the ble_gap_wl_tx_add API to add a device in whitelist 2025-03-27 10:01:17 +05:30
Shen Weilong
15262e37a8 feat(bt): support hardware ecc acceleration for bt tinycrypt 2025-03-27 10:01:17 +05:30
Shen Weilong
6ea8cd1c0f change(bt): moved porting/ext/tinycrypt into common 2025-03-27 10:01:17 +05:30
Rahul Tank
5c982b0923 fix(nimble): Fix SC only pairing failure 2025-03-27 10:01:17 +05:30
Rahul Tank
26d71a5cbc fix(nimble): Handle probable release breaking change
link_estab event may be handled by customers in application and the previous would break it.
Revert few changes so as to not break the customer's code
2025-03-27 10:01:17 +05:30
Rahul Tank
54e22cfd49 fix(nimble): update data length after connection for all chips 2025-03-27 10:01:17 +05:30
Rahul Tank
20f902c953 fix(nimble): Keep only BLE_GAP_EVENT_CONNECT gap event 2025-03-27 10:01:17 +05:30
Alexey Lapshin
f810a440c9 fix(tools): remove unused variables in gdbinit.cmake
Closes https://github.com/espressif/esp-idf/issues/15035
2025-03-26 19:56:03 +07:00
Island
daf8117cb9 Merge branch 'feature/add_vendor_ble_cmd_definitions_5.4' into 'release/v5.4'
Feature/add vendor ble cmd definitions (v5.4)

See merge request espressif/esp-idf!37956
2025-03-26 16:39:28 +08:00
zwx
f519297704 fix(802.15.4) fix the behavior of the esp_ieee802154_set_txpower 2025-03-26 13:47:05 +08:00
Marek Fiala
8180dd00ab feat(tools): Remove PATH duplicity from first call of tools/activate.py 2025-03-25 14:16:16 +01:00
Marek Fiala
0cace3827b feat(tools): Deactivate current ESP-IDF environment with every export run
Unix systems only
2025-03-25 14:16:16 +01:00
laokaiyao
5bc5fd34d6 fix(i2s): add check for i2s DMA buffer array allocation
Closes https://github.com/espressif/esp-idf/issues/15607
2025-03-25 15:23:38 +08:00
laokaiyao
b22964cc4f fix(i2s): fixed mismatch of the i2s and gdma iram-safe config
Closes https://github.com/espressif/esp-idf/issues/15533
2025-03-25 15:17:47 +08:00
zhiweijian
f66322c9b7 feat(bt): fixed some doc error and add ocf parameters description 2025-03-25 14:27:02 +08:00
Tan Yan Quan
d3bc511c36 fix(openthread): add some bugfixes to pass CI pipeline 2025-03-25 13:33:03 +08:00
Tan Yan Quan
fceb55dd25 refactor(openthread): move isr_handle_timerX to esp_ieee802154_timer 2025-03-25 13:33:03 +08:00
Tan Yan Quan
b014901619 fix(openthread): calibrate CSL tx parameters 2025-03-25 13:33:03 +08:00
Tan Yan Quan
47cd629459 fix(openthread): modify ETM task numbers for esp32c5 2025-03-25 13:33:03 +08:00
Tan Yan Quan
469b5c14e4 fix(openthread): turn off rx for SSED running CSL during idle 2025-03-25 13:33:01 +08:00
Shen Weilong
e35dbbbee0 feat(bt): added definitions for bluetooth hci vendor commands and events 2025-03-24 20:28:22 +08:00
Shen Wei Long
da1372d691 feat(ble/controller): Deleted useless functions for ESP32-C2 2025-03-24 20:28:22 +08:00
morris
7164043140 fix(usb_serial_jtag): wrong return value in usb_serial_jtag_write_bytes
Closes https://github.com/espressif/esp-idf/issues/15620
2025-03-24 11:46:47 +08:00
Zhang Shuxian
50b5db12e3 docs: Add a note about TWAI multiple instances install 2025-03-24 10:54:29 +08:00
Shen Wei Long
6d9c2b9c0f feat(ble/controller): Deleted useless functions for ESP32-C6/C61/H2/C5 2025-03-21 19:56:59 +08:00
zhiweijian
119048bb75 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3 (d74042a8)
- Remove unused functions in the controller
2025-03-21 19:44:30 +08:00
baohongde
57bcbbb449 feat(bt): added definitions for BR/EDR hci vendor commands and events 2025-03-21 19:32:22 +08:00
chenjianhua
bc38724221 fix(bt): Update bt lib for ESP32(dc1cd581)
- Remove unused functions in the controller
- Add an SDK config for the minimum size of encryption key
2025-03-21 19:29:32 +08:00
Jiang Jiang Jian
8b80e26f4d Merge branch 'bugfix/11r_compile_error_v5.4' into 'release/v5.4'
fix(wifi): Fixed compilation error when 11KV is disabled and 11R is enabled (v5.4)

See merge request espressif/esp-idf!37865
2025-03-21 17:38:45 +08:00
Jiang Jiang Jian
74eadefb1a Merge branch 'bugfix/fix_github_cert_verification_simpleota_v5.4' into 'release/v5.4'
fix: failing Github certificate verification (v5.4)

See merge request espressif/esp-idf!37824
2025-03-21 16:55:17 +08:00
Jiang Jiang Jian
b1d0ffba15 Merge branch 'feat/add_protocomm_sec_patch_config_v5.4' into 'release/v5.4'
feat(protocomm): add (hidden) config option to indicate security patch feature (v5.4)

See merge request espressif/esp-idf!37790
2025-03-21 16:54:50 +08:00
xiongweichao
e74cae7016 fix(bt/bluedroid): fixed other events being reported when disconnected
- Since no initial value is assigned, the variable evt is a random value,
causing the ESP_BT_GAP_DISC_STATE_CHANGED_EVT event to be reported when
the connection is disconnected.
2025-03-21 11:11:37 +08:00
Sudeep Mohanty
3f5f6ec13e fix(ringbuf): xRingbufferReceive() crashes for allow-split buffers
This commit adds an assert check to xRingbufferReceive() and
xRingbufferReceiveFromISR() functions to prevent them from being used to
retrieve items from an allow-split buffer. Corresponding documentation
has also been updated.
2025-03-20 11:48:59 +01:00
Xu Si Yu
db3840e94d feat(tcp_transport): add an api to configure the addr family 2025-03-20 16:07:54 +08:00
Chen Jichang
916af811f4 fix(rmt): fix the received symbols issue 2025-03-20 10:36:45 +08:00
Radim Karniš
1aeb50d497 fix(idf_tools): Validate input features 2025-03-19 21:44:18 +01:00
Radim Karniš
a262ce2cc7 fix(idf_tools): Patch extractall() deprecation warning 2025-03-19 13:48:15 +01:00
luaijun
c8508e992f ci(c2/c3): add major eco version tests 2025-03-19 18:40:21 +08:00
yiwenxiu
8b72fa3c17 feat(openthread): fix ci avahi service cases issue 2025-03-19 18:08:02 +08:00
Kapil Gupta
a2d0171a17 ci(wifi): Add builds for FT, RRM and WNM configs 2025-03-19 12:43:30 +05:30
Kapil Gupta
24fed6d3c2 fix(wifi): Fixed compilation error when 11R is enabled without 11KV 2025-03-19 12:43:20 +05:30
armando
4bd0d04c2f feat(psram): supported new octal psram on s3 2025-03-19 10:20:44 +08:00
Zhao Wei Liang
86001719b3 feat(ble): change nimble whitelist max size to 31
(cherry picked from commit 93357e8613)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-18 16:05:00 +08:00
Zhao Wei Liang
2662cdd232 feat(ble): change whitelist max size to 31 on ESP32-C5
(cherry picked from commit fdae270427)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-18 16:04:58 +08:00
Zhao Wei Liang
8297b40cf5 feat(ble): change whitelist max size to 31 on ESP32-C2
(cherry picked from commit 578f2358c6)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-18 16:04:56 +08:00
Zhao Wei Liang
1fe9c33ea2 feat(ble): change whitelist max size to 31 on ESP32-C6
(cherry picked from commit 2b435687b0)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-18 16:04:53 +08:00
Zhao Wei Liang
11aca2398b fix(ble): Fixed warning that the gpio is not usable when reconfig hci uart pin
(cherry picked from commit 57417ca30f)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-18 16:04:51 +08:00
Zhao Wei Liang
5d5c0209e6 fix(ble): fixed hci driver stack protection fault issue on ESP32-C5
(cherry picked from commit 132e0d6695)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-18 16:04:49 +08:00
Zhao Wei Liang
bd1223cc91 fix(ble): fixed hci driver stack protection fault issue on ESP32-C2
(cherry picked from commit afd44d14b9)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-18 16:04:47 +08:00
Zhao Wei Liang
f496072977 fix(ble): fixed hci driver stack protection fault issue on ESP32-C6
(cherry picked from commit ec4a1324f5)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-18 16:04:44 +08:00
Zhao Wei Liang
1626f36867 fix(ble): delete ble_hci_trans header file
(cherry picked from commit 327182e3e6)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-18 16:04:42 +08:00
Zhao Wei Liang
abc7beac70 fix(ble): fixed hci assertion issue when uart interference occurs
(cherry picked from commit 84f0b39e4d)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-18 16:04:40 +08:00
Ashish Sharma
a83a0ab02b fix(component/mbedtls): Adds github root cert to cmn_crt_authorities.csv 2025-03-18 14:36:18 +08:00
Mahavir Jain
291a008840 feat(protocomm): add (hidden) config option to indicate security patch feature 2025-03-17 13:30:45 +05:30
peter.marcisovsky
1b4fd125c4 fix(jpeg_decoder): Correctly handle invalid 0xffff JPEG marker 2025-03-14 22:16:27 +08:00
peter.marcisovsky
16d16320ce feat(jpeg_decode): Add support for default Huffman tables
- In case of a missing Huffman table, while decoding a JPEG image
    - Define a default Huff table and add it to JPEG image header
2025-03-14 22:16:27 +08:00
peter.marcisovsky
52f380741c feat(jpeg_decoder): Correctly set JPEG restart interval 2025-03-14 22:16:27 +08:00
Island
5cbd2a3877 Merge branch 'bugfix/reduce_controller_bin_size_v5.4' into 'release/v5.4'
fix(ble/controller): reduce controller bin size (backport v5.4)

See merge request espressif/esp-idf!37754
2025-03-14 19:26:56 +08:00
zhanghaipeng
cdefff9cc5 feat(ble/bluedroid): Support read periodic advertiser list size command 2025-03-14 18:03:31 +08:00
zhiweijian
7f5af25348 feat(ble/bluedroid): reduce bluedrois host bin size and disable BLE_HOST_BG_CONNECT_EN 2025-03-14 18:03:31 +08:00
zhiweijian
85fe2c584b feat(ble/bluedroid): disable bluedroid host unused functions 2025-03-14 18:03:31 +08:00
zhiweijian
694ed47dbb feat(bt/bluedroid): optimize bluedroid menuconfig 2025-03-14 18:03:31 +08:00
zhiweijian
388626019e feat(bt/bluedroid): delete unused host congest check 2025-03-14 18:03:31 +08:00
Zhang Shuxian
3bb893414c docs: Update static for i2c.rst 2025-03-14 12:00:40 +08:00
morris
eca61e07ce fix(i2c): add Kconfig to skip driver conflict check 2025-03-14 11:17:58 +08:00
zhiweijian
c26ce742cf fix(ble/controller): reduce controller bin size 2025-03-14 11:10:20 +08:00
morris
9b493740ab Merge branch 'fix/change_pm_lock_type_v5.4' into 'release/v5.4'
fix(pm): use CPU lock in dirvers use axi dma to access psram (v5.4)

See merge request espressif/esp-idf!37712
2025-03-13 13:51:08 +08:00
Chen Jichang
3d55047a09 fix(drivers): use CPU_MAX lock in dirvers use axi dma to access psram 2025-03-13 11:20:27 +08:00
morris
2bed64fafc fix(axi_icm): qos can be applied to read and write independently 2025-03-12 21:36:53 +08:00
Tomáš Rohlínek
8e0239f04b fix(storage/console): fix test configuration 2025-03-12 20:06:31 +08:00
Tomáš Rohlínek
c6d24bddf7 fix(storage/vfs_console): stop new console opens from overwriting existing fds 2025-03-12 20:06:31 +08:00
Ivan Grokhotkov
c27683eb98 test(sdmmc): add test for high-prio task busy while writing
Related to https://github.com/espressif/esp-idf/issues/13934
2025-03-12 10:30:58 +08:00
Ivan Grokhotkov
4bd2322993 fix(sdmmc): move DMA descriptor refilling into the ISR
Previously, as DMA descriptors were processed, the task performing
SDMMC transfer would get woken up and would refill the descriptors.
This design didn't work correctly when higher priority tasks occupied
the CPU for too long, resulting in SDMMC transfer timing out.

This change moves DMA descriptor refilling into SDMMC ISR. Now the
"DMA done" interrupt is delivered back to task context only when
the entire transfer is completed.

Closes https://github.com/espressif/esp-idf/issues/13934
2025-03-12 10:30:53 +08:00
armando
53d019563b refactor(psram): rename .bss .noinit segments to sections
Closes https://github.com/espressif/esp-idf/pull/15513
2025-03-11 11:43:01 +08:00
Erki Aring
d23549db4c fix(psram): correct heap vaddr calculation
- fixes https://github.com/espressif/esp-idf/issues/15496

Signed-off-by: armando <douyiwen@espressif.com>
2025-03-11 11:42:57 +08:00
zwx
959dbe37ad feat(802.15.4): configure tx on delay using phylib impl 2025-03-11 11:36:11 +08:00
Island
061ba0c99e Merge branch 'bugfix/disable_dbg_hci_cmd_on_esp32_v5.4' into 'release/v5.4'
Disable debug vendor hci command on ESP32 (v5.4)

See merge request espressif/esp-idf!37630
2025-03-11 11:10:51 +08:00
Jiang Jiang Jian
7c0e10ba41 Merge branch 'bugfix/fix_some_wifi_bugs_202502_v5.4' into 'release/v5.4'
fix(sniffer): fix channel in rx_ctrl is zero when using sniffer(Backport v5.4)

See merge request espressif/esp-idf!37568
2025-03-11 10:41:30 +08:00
Jiang Jiang Jian
4f39b2476e Merge branch 'bugfix/wps_reconnect_failure_v5.4' into 'release/v5.4'
fix(wpa_suppplicant): Fix for issue in wps reconnection (Backport v5.4)

See merge request espressif/esp-idf!37641
2025-03-11 10:40:45 +08:00
Jiang Jiang Jian
f8843158b2 Merge branch 'bugfix/provisioning_sec2_aes_iv_usage_v5.4' into 'release/v5.4'
fix(provisioning): fix incorrect AES-GCM IV usage in security2 scheme (v5.4)

See merge request espressif/esp-idf!37613
2025-03-11 10:40:27 +08:00
Jiang Jiang Jian
8e031cf8c3 Merge branch 'fix/fix_esp32s3_reboot_cache_failure_v5.4' into 'release/v5.4'
fix(esp_system): fix possible cache_error by another core accessing flash in esp_restart (v5.4)

See merge request espressif/esp-idf!37586
2025-03-10 21:04:24 +08:00
Sarvesh Bodakhe
f86473e255 fix(wifi): Resolved WPS connectivity issue with pre-connected stations
This fixes the issue where station was not able connect using WPS if it was
already in connected state.

wifi_wps_scan_done() issues an esp_wifi_disconnect() before
calling esp_wifi_connect() to associate with the newly discovered AP. This
behavior incorrectly triggered a failure event (WIFI_EVENT_STA_WPS_ER_FAILED)
even though the disconnection was part of the normal WPS flow. This commit
prevents sending the false failure event, ensuring expected WPS behavior.
2025-03-10 14:58:12 +05:30
Aditi
24f00874af fix(wpa_suppplicant): Add fix for issue in wps reconnection 2025-03-10 14:58:06 +05:30
Song Ruo Jing
e774dbfd0f fix(uart): LP UART does not have the pre-divider for its clock source
Closes https://github.com/espressif/esp-idf/issues/15427
2025-03-10 15:29:09 +08:00
chenjianhua
6bad67bf3c fix(bt): Update bt lib for ESP32(e250cf1)
- Disable debug vendor hci command
2025-03-10 15:23:42 +08:00
gongyantao
8eab42d7e1 fix(bt): fixed some issues in bt controller
- fixed the issue where the NULL pointer was deferenced in lc_free state
- avoid accessing released ACL resources in SCO logic
2025-03-10 15:23:33 +08:00
Jin Cheng
9d59600746 fix(bt/controller): fixed some controller bugs on ESP32.
1. added a VSC to control whether to initiate lmp_auto_rate
        - Closes https://github.com/espressif/esp-idf/issues/15133
    2. fixed EA resource cleanup error after SNIFF negotiation failure
        - Closes https://github.com/espressif/esp-idf/issues/13605
    3. removed an assertion in SCO data TX handler after disconnection
        - Closes https://github.com/espressif/esp-idf/issues/15176
2025-03-10 15:23:17 +08:00
shenmengjing
aa60465e13 docs(provisioning): Sync CN translation and EN source 2025-03-10 09:29:47 +05:30
Mahavir Jain
2469db58a9 fix(esp_local_ctrl): update for changes in protocomm security2 scheme 2025-03-10 09:29:44 +05:30
Mahavir Jain
109532bbf9 fix(docs): update for changes in provisioning security2 scheme 2025-03-10 09:29:42 +05:30
Mahavir Jain
6d749486b9 fix(provisioning): fix incorrect AES-GCM IV usage in security2 scheme
Using same IV in AES-GCM across multiple invocation of
encryption/decryption operations can pose a security risk. It can help
to reveal co-relation between different plaintexts.

This commit introduces a change to use part of IV as a monotonic
counter, which must be incremented after every AES-GCM invocation
on both the client and the device side.

Concept of patch version for a security scheme has been introduced here
which can help to differentiate a protocol behavior for the provisioning
entity. The security patch version will be available in the JSON
response for `proto-ver` endpoint request with the field
`sec_patch_ver`.

Please refer to documentation for more details on the changes required
on the provisioning entity side (e.g., PhoneApps).
2025-03-10 09:29:39 +05:30
Mahavir Jain
2fa5c7d9eb fix(protocomm): memory leak issue for session command0 failure case 2025-03-10 09:29:35 +05:30
wuzhenghui
6de3fde3c2 fix(esp_system): fix possible cache_error by another core accessing flash in esp_restart 2025-03-10 11:40:10 +08:00
yinqingzhao
e72c3b4ee4 fix(sniffer): fix channel in rx_ctrl is zero when using sniffer 2025-03-10 11:39:33 +08:00
Jiang Jiang Jian
9fcb33d3ac Merge branch 'bugfix/c5_libphy_20250124_v5.4' into 'release/v5.4'
change(ble): update c5 beta5 lib phy to phy_version: 1 103, 48ac5755, Feb 22 2025 (v5.4)

See merge request espressif/esp-idf!37514
2025-03-10 11:38:57 +08:00
Jiang Jiang Jian
e1b32b4363 Merge branch 'fix/sleep_cpu_mspi_freq_mismatch_issue_p4_v5.4' into 'release/v5.4'
mspi: fixed cpu and mspi freq mismatch issue when in dfs/sleep on p4 (v5.4)

See merge request espressif/esp-idf!37583
2025-03-10 11:27:44 +08:00
armando
b806496635 test(cam): added cache-safe build test 2025-03-10 10:34:36 +08:00
armando
a446e78469 refactor(cam): rename IRAM-Safe to Cache-Safe 2025-03-10 10:34:32 +08:00
armando
20014ea97c fix(cam): fixed cam iram safe build error 2025-03-10 10:34:27 +08:00
Erhan Kurubas
38d17fe1cd test(apptrace): enable esp32c5 and esp32c61 tests 2025-03-09 17:28:27 +01:00
Erhan Kurubas
288dfc7c2b test(apptrace): run tests from custom OpenOCD class 2025-03-08 21:00:14 +01:00
wuzhenghui
7f88cf3ee9 change(esp_hw_support): only do mpll disable in lightsleep process 2025-03-08 14:06:12 +08:00
Armando
419e8b2e20 fix(mspi): fixed cpu and mspi freq mismatch issue when in dfs/sleep on p4 2025-03-08 14:06:09 +08:00
Song Ruo Jing
d8c1d9f603 fix(gpio): fix bad bit shift operation and OOB (h2) in io_mux.c 2025-03-07 21:16:18 +08:00
Song Ruo Jing
3d08efd83a refactor(uart): increase test app memory leak tolerance 2025-03-07 21:15:51 +08:00
Song Ruo Jing
9f08e5e9d8 fix(ppa): fix ppa srm potentially get blocked when scaling to YUV420
YUV420 requires scale_x_frag, scale_y_frag be even
2025-03-07 21:04:49 +08:00
Song Ruo Jing
9004e5009a fix(dma2d): dma2d_force_end should not crash when rx channel is idle 2025-03-07 21:04:49 +08:00
Song Ruo Jing
24747868dd docs(uart): aligned the config order in the programming guide with examples
Closes https://github.com/espressif/esp-idf/issues/13182
2025-03-07 21:01:16 +08:00
Song Ruo Jing
602393dfea fix(uart): enlarged task stack size for uart_async_rxtxtasks example
Meanwhile, added CI pytest for some UART examples

Closes https://github.com/espressif/esp-idf/issues/15363
2025-03-07 21:01:16 +08:00
Song Ruo Jing
9aaa4f9e9c fix(ledc): overflowed integer argument in ledc_hal_clear_left_off_fade_param 2025-03-07 20:33:01 +08:00
Guillaume Souchere
6545e21f4b fix(esp_hw_support): esp_ptr_in_rtc_iram_fast check to return false
esp_ptr_in_rtc_iram_fast logic should be executed if
SOC_RTC_FAST_MEM_SUPPORTED is set but it should also be executed
if IRAM and DRAM region mapping is the same. Remove the
SOC_RTC_IRAM_LOW != SOC_RTC_DRAM_LOW part of the check.

Update heap component to use the modify function appropriately.
2025-03-07 12:21:22 +01:00
Jan Beran
f943491014 fix(kconfig): Fix issues with Kconfig files 2025-03-07 11:31:37 +01:00
Song Ruo Jing
bea4615d0c docs(ledc): add notes for ledc_set_fade_with_time API reference
Closes https://github.com/espressif/esp-idf/issues/15085
2025-03-07 17:22:40 +08:00
Song Ruo Jing
b2dbcd7804 fix(ledc): left-off gamma ram registers should be cleared
Hardware reads in (range_number+1) fade parameter registers, which could
cause output waveform error.
2025-03-07 17:22:39 +08:00
Song Ruo Jing
351e11ebd2 fix(ledc): updated docs for esp32h2 eco5 bugfix 2025-03-07 17:22:39 +08:00
morris
22d2b85c11 fix(spi): removed PERIPH_CTRL_FUNC_IN_IRAM dependency 2025-03-07 15:44:43 +08:00
Jiang Jiang Jian
3f69abdb7e Merge branch 'bugfix/11kv_config_break_v5.4' into 'release/v5.4'
fix(esp_wifi): Correctly break 11kv config into wnm and rrm configs (v5.4)

See merge request espressif/esp-idf!37478
2025-03-07 10:55:28 +08:00
Sudeep Mohanty
cd887ef59a fix(panic_handler): Updated panic handler to use RTC WDT
This commit updates the following:
- Updates the panic handler to use only the RTC WDT to reset the system.
- Refactors some of the panic handler code.
- Updates Bluetooth files where in they now feed the WDTs instead of
  reconfiguring them.
- Removes some unnecessary configuration of WDTs from various files.
- Added a unit test to verify that the system does not lock up when the
  panic handler is stuck.
- Updates the memprot unit tests to work with the refactored panic
  handler.

Closes https://github.com/espressif/esp-idf/issues/15166
Closes https://github.com/espressif/esp-idf/issues/15018
Closes https://github.com/espressif/esp-idf/issues/10110
2025-03-06 09:17:26 +01:00
Christopher Durand
72d4204a6f fix(esp_http_client): Fix invalid content length header
In case a request with no content is sent after one with the content
length header set the header of the previous request is sent with the
subsequent one.
For instance, an empty GET request after a PUT request will still
indicate the non-zero content length of the previous request.

This is fixed by clearing the content length header when it shouldn't be
set.
2025-03-06 12:18:20 +05:30
Jiang Jiang Jian
b0306575a8 Merge branch 'fix/fix_ot_uart_init_bug_v5.4' into 'release/v5.4'
fix(openthread): fix a bug of openthread uart init port (v5.4)

See merge request espressif/esp-idf!37322
2025-03-06 14:44:11 +08:00
Jiang Jiang Jian
3144cef12e Merge branch 'fix/secure_boot_verfication_failure_sig_block_key_digest_mismatch_combo_v5.4' into 'release/v5.4'
fix(bootloader_support): Fix SB verification failure when application is not signed with the boot loader's first key (v5.4)

See merge request espressif/esp-idf!37497
2025-03-06 10:36:01 +08:00
Jiang Jiang Jian
2ed77df856 Merge branch 'fix/fix_bad_dslp_param_after_lightsleep_v5.4' into 'release/v5.4'
fix(esp_hw_support): Fixed the issue that light sleep destroyed the parameters of subsequent deep sleep (v5.4)

See merge request espressif/esp-idf!37302
2025-03-06 10:35:11 +08:00
Erhan Kurubas
fcd48a71d7 test(hmac_soft_jtag): check jtag connection status properly 2025-03-05 15:34:04 +01:00
Erhan Kurubas
61f30a58fb feat(tools): update openocd version to v0.12.0-esp32-20250226 2025-03-05 15:31:26 +01:00
Zhou Xiao
78f615f979 change(ble): update c5 beta5 lib phy to phy_version: 1 103, 48ac5755, Feb 22 2025 2025-03-05 19:55:42 +08:00
Kapil Gupta
793fe61c81 fix(esp_wifi): Prevent flushing of FT data mistakenly 2025-03-05 12:41:10 +05:30
Kapil Gupta
2ed843bdd2 fix(esp_wifi): Correctly break 11kv config into wnm and rrm configs 2025-03-05 12:40:54 +05:30
Shreeyash
7650812920 feat(nimble): Allow BLE SPP Client to subscribe to the server 2025-03-05 11:38:16 +05:30
harshal.patil
0076bb0289 fix(secure_boot): Fix SB verification failure when sig block and key digest mismatch
- Secure boot V2 verification failed when multiple keys are used to sign the bootloader
  and the application is signed with a key other than the first key that is used to
  sign the bootloader.
- The issue was introduced as a regression from the commit `ff16ce43`.
2025-03-05 11:26:33 +05:30
harshal.patil
0cdcd3a0fb fix(esp_psram): Fix incorrect calculation of used XIP PSRAM pages
The functions mmu_config_psram_text_segment() and mmu_config_psram_rodata_segment()
used to return the value of next start page in *out_page instead of the number
of pages used as mentioned in the documentation
2025-03-05 10:37:21 +05:30
Jiang Jiang Jian
5afa94872b Merge branch 'fix/sdmmc_concurrency_slot_count_doesnt_work_v5.4' into 'release/v5.4'
fix(sdmmc): SDMMC concurrency change active slot only after the slot is initialized (v5.4)

See merge request espressif/esp-idf!36653
2025-03-05 10:38:08 +08:00
Zhang Hai Peng
52390f9b3e feat(ble/bluedroid): Add Read Long Characteristic Values example
(cherry picked from commit 32e4fb79e8)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-03-04 22:13:41 +08:00
Sudeep Mohanty
528b1b3c37 fix(lp_uart): Update the lp_core_uart_tx_flush() API to wait for Tx idle
This commit updates the lp_core_uart_tx_flush() API to wait for the Tx line
to become idle, therefore confirming that all bytes are sent out.

Closes https://github.com/espressif/esp-idf/issues/15433
2025-03-04 08:52:22 +01:00
morris
fe2bf07209 fix(example): wrong ws2812 reset duration
Closes https://github.com/espressif/esp-idf/issues/15498
2025-03-04 11:10:44 +08:00
morris
f305313922 fix(lcd): DC signal shound't affect the input path of the GPIO
With this fix, user can use the same GPIO for both LCD DC output and SPI
MISO input.

Closes https://github.com/espressif/esp-idf/issues/15478
2025-03-03 18:29:17 +08:00
Zhang Shuxian
cbbfdb1e3d docs: Provide CN translation for nvs bootloader and fix broken link 2025-03-03 17:10:30 +08:00
Jiang Jiang Jian
d4aa25a38e Merge branch 'docs/fix_some_coexist_doc_issue_v5.4' into 'release/v5.4'
docs(coex): update rf coexistence documents (v5.4)

See merge request espressif/esp-idf!37344
2025-03-03 11:39:01 +08:00
Jiang Jiang Jian
57d976b7f3 Merge branch 'feat/add_h2_config_and_maxver_for_v5.4' into 'release/v5.4'
feat(soc): add Kconfig rev min option and increase max ver for H2 v1.2 (v5.4)

See merge request espressif/esp-idf!36416
2025-03-03 11:38:41 +08:00
Jiang Jiang Jian
154b7548cb Merge branch 'docs/wifi_wpa3_ent_migration_guide_backport_v5.4' into 'release/v5.4'
docs: Add migration guide for WPA3-Enterprise authentication modes for v5.4 (Backport v5.4)

See merge request espressif/esp-idf!37189
2025-03-03 11:36:51 +08:00
morris
9a93c89945 feat(gdma): allow bypass the alignment check in the link driver
Closes https://github.com/espressif/esp-idf/issues/15228
2025-03-03 11:21:22 +08:00
Zhang Hai Peng
0eb4b9aa15 fix(ble/controller): Fix BLE Kconfig on ESP32 to avoid unexpected behavior
(cherry picked from commit 9496949132)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-03-03 11:13:46 +08:00
Jan Beran
f7bf1a992c change: move check_deprecated_configs.py file to esp-idf-kconfig 2025-02-28 14:51:09 +01:00
wuzhenghui
e549dca8ae change(doc): added more usage notes & warings about PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP 2025-02-28 16:43:02 +08:00
peter.marcisovsky
aae16c1cfd fix(usb_host): Fixing dererence to OTG_NUM_HOST_CHAN in docs 2025-02-28 09:21:27 +01:00
Jin Cheng
8c1b39f2df fix(bt/bluedroid): fixed memory leaks in SPP callback mode 2025-02-28 16:11:33 +08:00
Tomas Rezucha
141c4414ee fix(usb/phy): Fixed crash on external PHY init with speed != UNDEFINED
Also deprecated usb_phy_otg_dev_set_speed()
and usb_phy_action() which are no longer used in esp-idf
2025-02-27 15:08:28 +01:00
Roman Leonov
894cecf174 fix(usb_phy): Removed pad pull override config for Full-speed 2025-02-27 15:08:28 +01:00
Sudeep Mohanty
3675245a23 fix(ulp-riscv): Fixed ADC oneshot initialization for ULP RISC-V
This commit fixes a bug in the ADC oneshot driver initialization for the
ULP RISC-V.
2025-02-27 15:06:18 +01:00
linruihao
7b95c5d571 docs(coex): update rf coexistence documents
- remove BLE connecting state in coexistence scenario
- remove WIFI section in H2 docs
2025-02-27 11:06:49 +08:00
Shu Chen
7e31189ede docs(coex): add the supported coexistence scenario for Wi-Fi and 802.15.4 2025-02-27 11:05:51 +08:00
Ondrej Kosta
0121f4fc40 fix(esp_eth): init Ethernet after repl init in iperf example 2025-02-26 13:38:18 +00:00
Xu Si Yu
99fe472c8f fix(openthread): fix a bug of openthread uart init port 2025-02-26 19:22:02 +08:00
C.S.M
44315b715c feat(temperature_sensor): Add temperature sensor calibration support 2025-02-26 17:50:54 +08:00
wuzhenghui
6e2b2a0e54 fix(esp_hw_support): fix lightsleep destroys deepsleep rtc parameters 2025-02-26 16:51:46 +08:00
Xiao Xufeng
e1ef60deef feat(soc): add Kconfig rev min option and increase max ver for H2 v1.2 2025-02-26 15:48:00 +08:00
Zhao Wei Liang
86585699a7 feat(ble): add a debug way to retain scene on ESP32-C5
(cherry picked from commit da07b1fabe)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-02-26 15:03:49 +08:00
Zhao Wei Liang
ea463572a2 feat(ble): add a debug way to retain scene on ESP32-C6
(cherry picked from commit bc299e784c)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-02-26 15:03:46 +08:00
Zhao Wei Liang
907e11c880 fix(ble): fixed common kconfig error when controller enable only
(cherry picked from commit 5b8ac71ace)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-02-26 15:03:44 +08:00
Chen Jichang
fc5d2e1bae refactor(rmt): set group clock prescale dynamically
Closes https://github.com/espressif/esp-idf/issues/14760
2025-02-26 14:17:12 +08:00
morris
46cc737580 feat(gptimer): make start and stop function idempotent
Closes https://github.com/espressif/esp-idf/issues/12325
Closes https://github.com/espressif/esp-idf/issues/13486
2025-02-25 11:41:56 +08:00
Erhan Kurubas
a289d1e0fe docs(jtag): add esp32p4 usb jtag pin numbers 2025-02-24 14:44:19 +01:00
Zhang Shuxian
fcfa85cb77 docs: Update CN translation for fatfs 2025-02-21 21:35:06 +08:00
Adam Múdry
d4c9da31e2 feat(fatfs): Add Kconfig options to set FF_FS_NOFSINFO value
Closes https://github.com/espressif/esp-idf/issues/15241
2025-02-21 21:35:06 +08:00
Sarvesh Bodakhe
03e9656ce0 docs: Add migration guide for WPA3-Enterprise authentication modes for v5.4 2025-02-21 16:58:04 +05:30
gongyantao
65f46b68b4 change(bt): optimize the macro definition for sdp_max_pad_len 2025-02-21 17:39:04 +08:00
Mitch Cairns
018aae7c3e feat(bt): Implement SDK Config SDP size options
Closes https://github.com/espressif/esp-idf/pull/15321
2025-02-21 17:39:04 +08:00
nilesh.kale
c107fa24f7 feat(app_update): enabled ota resumption feature
This commit added ota resumption changes for app_update
component. This commit is specifically added for release/v5.4.
2025-02-21 14:38:54 +05:30
Zhang Hai Peng
c2f399b4b0 fix(ble/bluedroid): Fix adv data and scan rsp data not reported together in BLE active scan
(cherry picked from commit 7f2cedc048)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-02-21 16:13:53 +08:00
Jiang Jiang Jian
0ba53566fa Merge branch 'fix/fix_s2_s3_rtc_iomux_clock_management_v5.4' into 'release/v5.4'
fix(esp_hw_support): fix esp32s2/esp32s3 RTC IOMUX clock management (v5.4)

See merge request espressif/esp-idf!37145
2025-02-21 12:19:07 +08:00
linruihao
0c95b541e8 feat(bt/bluedroid): Add Kconfig option to keep device bonding info when HID unplugging 2025-02-21 11:49:48 +08:00
Jiang Jiang Jian
aa97a0fc3c Merge branch 'bugfix/fix_i2s_std_initializer_order_for_cpp_compiler_v5.4' into 'release/v5.4'
fix(i2s): fixed i2s_std initializer order for cpp compiler (v5.4)

See merge request espressif/esp-idf!37047
2025-02-21 11:48:58 +08:00
morris
6150ea9a43 Merge branch 'bugfix/fix_cache_count_flash_pages_patchs_return_wrong_value_v5.4' into 'release/v5.4'
fix(rom): Fix s2 and s3 Cache_Count_Flash_Pages rom function wrapper (v5.4)

See merge request espressif/esp-idf!37153
2025-02-21 10:17:27 +08:00
Jiang Jiang Jian
62db86d229 Merge branch 'fix/memprot-config-used-in-memory-layouts_v5.4' into 'release/v5.4'
fix(heap): Fix wrong config to enable MALLOC_CAP_EXEC in memory_layout.c (backport  v5.4)

See merge request espressif/esp-idf!35200
2025-02-21 10:01:36 +08:00
wuzhenghui
8e6ec50bcc fix(esp_hw_support): fix esp32s2/esp32s3 RTC IOMUX clock management 2025-02-21 09:50:42 +08:00
Jiang Jiang Jian
ccb69d4cf6 Merge branch 'change/ble_update_lib_20250217_v5.4' into 'release/v5.4'
change(ble): [AUTO_MR] 20250217 - Update ESP BLE Controller Lib (v5.4)

See merge request espressif/esp-idf!37131
2025-02-21 09:44:45 +08:00
Jiang Jiang Jian
0ee066c8b5 Merge branch 'feature/esp32h2_eco5_ecc_v5.4' into 'release/v5.4'
feat(ecc): enable ECC constant time mode for ESP32-H2 ECO5 (v5.4)

See merge request espressif/esp-idf!36581
2025-02-21 09:44:35 +08:00
Martin Vychodil
8a44211856 Merge branch 'bugfix/memprot_s2_intr_peri1_v5.4' into 'release/v5.4'
fix(security): ESP32S2 memory protection check for Peri1 RTCSLOW interrupt (v5.4)

See merge request espressif/esp-idf!37117
2025-02-21 01:57:46 +08:00
laokaiyao
b18506da8b fix(i2s): fixed the pdm2pcm capability on c5 and c61 2025-02-20 21:41:33 +08:00
laokaiyao
4ecb1cec3c docs(i2s): fix some i2s capabilities in programming guide 2025-02-20 21:41:33 +08:00
laokaiyao
1312472337 fix(i2s): fixed i2s_std initializer order for cpp compiler
Closes https://github.com/espressif/esp-idf/issues/15405
2025-02-20 21:41:33 +08:00
morris
a043a96abb Merge branch 'revert/i2s_apll_pm_type_v5.4' into 'release/v5.4'
fix(i2s): lock APB when using apll with DFS feature (v5.4)

See merge request espressif/esp-idf!37144
2025-02-20 21:33:39 +08:00
Zhang Shuxian
2d14e692eb docs: Update CN translation for size.rst 2025-02-20 21:03:10 +08:00
Aditya Patwardhan
b301e03f57 feat(docs): Update minimizing binary size
The ESP32-H2 software countermeasure may not be necessary
        for ESP32-H2 v1.2 and above, this commit updates
        the relevant documentation
2025-02-20 21:03:10 +08:00
laokaiyao
202b74eca8 refactor(ecdsa): rely on efuse to get chip revision 2025-02-20 21:03:10 +08:00
Aditya Patwardhan
2ff128ebf4 fix(soc): Fixed ECDSA register compatibility 2025-02-20 21:03:10 +08:00
Aditya Patwardhan
3bcafe77d8 fix(hal): Make the ECDSA countermeasure dynamically applicable
This commit makes the ECDSA countermeasure dynamically applicable
    across different revisions of the ESP32H2 SoC.
2025-02-20 21:03:10 +08:00
Mahavir Jain
748d29b5ad feat(ecc): enable ECC constant time mode for ESP32-H2 ECO5 2025-02-20 21:03:10 +08:00
Jiang Jiang Jian
2fe702e8f7 Merge branch 'fix/backport_wifi_fixes_v5.4' into 'release/v5.4'
Fix/backport wifi fixes v5.4

See merge request espressif/esp-idf!37147
2025-02-20 21:02:14 +08:00
Jiang Jiang Jian
2c3b9ff383 Merge branch 'docs/fix_gps_broken_link_v5.4' into 'release/v5.4'
docs(examples): fixed broken link in uart example readme (v5.4)

See merge request espressif/esp-idf!37149
2025-02-20 20:30:37 +08:00
Jiang Jiang Jian
87d39ac41b Merge branch 'fix/esp_vfs_register_fd_range_warning_message_v5.4' into 'release/v5.4'
fix(storage/vfs): incorrect log level in esp_vfs_register_fd_range (v5.4)

See merge request espressif/esp-idf!36318
2025-02-20 20:29:14 +08:00
Guillaume Souchere
0f74a1608f fix(log): fix file name for esp_log_level_get_timeout 2025-02-20 20:21:31 +08:00
Cristian Funes
f4ed4d4954 fix(log): Modified linker script to move functions from flash to iram 2025-02-20 20:21:31 +08:00
Adam Múdry
1185786adb fix(sdmmc): SDMMC concurrency change active slot only after the slot is initialized
Fixes counting of initialized slots
2025-02-20 20:05:53 +08:00
Island
36ef188b85 Merge branch 'feat/improve_bt_log_spi_output_interface_v5.4' into 'release/v5.4'
Feat/improve bt log spi output interface (v5.4)

See merge request espressif/esp-idf!37137
2025-02-20 19:51:25 +08:00
cjin
f2330fd2fb change(ble): update esp32c6 lib to 7ead2d29 2025-02-20 18:01:46 +08:00
cjin
bbb160a083 change(ble): update esp32c5 lib to 7ead2d29 2025-02-20 18:01:46 +08:00
cjin
49164ce77f change(ble): update esp32h2 lib to 7ead2d29 2025-02-20 18:01:46 +08:00
zwl
18ce40a23a feat(ble): implement ble capture info user handler on ESP32-C5 2025-02-20 18:01:41 +08:00
zwl
aeff03bac4 feat(ble): implement ble capture info user handler on ESP32-C6 and ESP32-H2 2025-02-20 18:00:07 +08:00
Shen Weilong
a92f4ed389 change(ble): Supported cuttable architecture for ble 2025-02-20 17:36:55 +08:00
Tomasz Kramkowski
452e20d90b fix(rom): Fix s2 and s3 Cache_Count_Flash_Pages rom function wrapper
The rom function on the s2 and s3 only counts one page for any pages
which are mapped to page 0 of flash as the Cache_Flash_To_SPIRAM_Copy
function attempts to map all flash page 0 mapped pages to one PSRAM
page.

As this function can be called for multiple regions, it needs to track
if a page mapped to page 0 has previously been accounted for by a
previous call. It does this using the page0_mapped in-out parameter.
This logic contains an error:

```
if (*page0_mapped == 0) {
    // BUG: If page0_count is 0, 1 is still added
    count = valid_flash_count + 1 - page0_count;
} else {
    count = valid_flash_count - page0_count;
}
*page0_mapped += page0_count;
return count;
```

The current Cache_Count_Flash_Pages wrapper in the idf attempts to
compensate for this bug by checking if the page0_mapped parameter was
changed by a call to the function and reducing the count if it has not.

This, however, will incorrectly over-compensate in situations where the
initial value of page0_mapped was not zero as the code above only
miscounts when it was zero.

This patch addresses the issue in this wrapper function by correctly
compensating for the bug only in cases where the final page0_mapped
value is 0.
2025-02-20 15:17:35 +08:00
morris
96c3f6c041 Merge branch 'fix/build_when_rom_patch_disable_v5.4' into 'release/v5.4'
fix(spi_flash): Fix build fail when rom_patch config disabled  (backport v5.4)

See merge request espressif/esp-idf!37103
2025-02-20 14:41:25 +08:00
Jiang Jiang Jian
f9ae8dfb04 Merge branch 'fix/esp32p4_lightsleep_fixes_v5.4' into 'release/v5.4'
fix(esp_hw_support): some fixes of esp32p4 lightsleep retention & power switch process (v5.4)

See merge request espressif/esp-idf!37086
2025-02-20 13:48:50 +08:00
Marius Vikhammer
8f756b6a59 docs(examples): fixed broken link in uart example readme 2025-02-20 12:49:21 +08:00
Aditi
bb639472b9 fix(esp_wifi): Fix for issue in esp_now_send when wifi tx callback registered 2025-02-20 11:39:56 +08:00
tarun.kumar
a7ee422cff fix(wifi): Modify authmode to sta for sta connect event 2025-02-20 11:38:49 +08:00
Jiang Jiang Jian
e9285cc50c Merge branch 'fix/env_var_idf_path_old_not_set_in_ps1_v5.4' into 'release/v5.4'
fix(tools): IDF_PATH_OLD not found in PowerShell (v5.4)

See merge request espressif/esp-idf!37076
2025-02-20 11:29:08 +08:00
Jiang Jiang Jian
6d455feb22 Merge branch 'feature/c3_libphy_20250120_v5.4' into 'release/v5.4'
feat(phy): update libphy for RXDC cal opt, no antenna current opt, add cca api(Backport v5.4)

See merge request espressif/esp-idf!37102
2025-02-20 11:28:13 +08:00
morris
85a53f96ad Merge branch 'bugfix/dma_alignment_for_encryption_memory_v5.4' into 'release/v5.4'
fix(gdma): relax alignment constraint for internal memory (v5.4)

See merge request espressif/esp-idf!37093
2025-02-20 11:11:03 +08:00
morris
5054e0caf3 Merge branch 'fix/i2c_scl_freq_s2_v5.4' into 'release/v5.4'
fix(i2c): Fix scl frequency is wrong on esp32s2 in legacy i2c driver & Add api for customize i2c transaction interface for un-standard i2c device  (backport v5.4)

See merge request espressif/esp-idf!37113
2025-02-20 11:10:13 +08:00
Zhou Xiao
a03b8e13be change(ble): update ble log spi out config for ESP32-C5 2025-02-20 10:56:51 +08:00
Jiang Jiang Jian
ab0e43d75b Merge branch 'bugfix/sdp_uuid16_match_err_v5.4' into 'release/v5.4'
fix(bt): Fix the incorrect record found using uuid16 search(v5.4)

See merge request espressif/esp-idf!36843
2025-02-20 10:56:37 +08:00
morris
cf392937b6 Merge branch 'feature/flash_software_resume_v5.4' into 'release/v5.4'
feat(spi_flash): Add config for adding auto check status after suspend to improve performance (backport v5.4)

See merge request espressif/esp-idf!36525
2025-02-20 10:52:17 +08:00
Jiang Jiang Jian
23db06892b Merge branch 'feat/wait_pll_stable_after_sleep_wakeup_fix_xtal_v5.4' into 'release/v5.4'
feat(esp_hw_support): wait pll stable after sleep wakeup (v5.4)

See merge request espressif/esp-idf!36018
2025-02-20 10:36:20 +08:00
laokaiyao
6f40f19047 docs(i2s): add application notes to es7210 example 2025-02-20 10:22:49 +08:00
laokaiyao
409397f181 fix(i2s): lock APB when using apll with DFS feature
Closes https://github.com/espressif/esp-idf/issues/14707

Append to the commit ad9021a844.
2025-02-20 10:22:49 +08:00
gaoxu
6771e388f4 fix(adc): fix adc oneshot apb cnts incosistency v5.4
closes https://github.com/espressif/esp-idf/issues/14502
2025-02-20 10:20:56 +08:00
gaoxu
ec15fa9e4b fix(adc): fix adc oneshot error after continuous v5.4
closes https://github.com/espressif/esp-idf/issues/14506
2025-02-20 10:20:49 +08:00
Frantisek Hrbata
1de2bee28f fix(tools): honor IDF_PYTHON_ENV_PATH value
The active.py script is currently clearing the IDF_PYTHON_ENV_PATH,
preventing it from being set to a custom location for the python virtual
environment directory. Although the install script checks to ensure that
an existing python virtual environment is not overwritten with one for a
different ESP-IDF version than it was originally created for, we should
still permit setting a custom path for the python virtual environment.

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

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-02-19 15:37:11 +01:00
Jiang Jiang Jian
69bd12d792 Merge branch 'fix/backport_wifi_fixes_v5.4' into 'release/v5.4'
fix(wifi): backport some fixes to v5.4

See merge request espressif/esp-idf!37008
2025-02-19 21:59:20 +08:00
Martin Vychodil
fef8695c7a fix(security): Fixed ESP32S2 memory protection check for Peri1 RTCSLOW interrupt
- fixes the issue found in https://github.com/espressif/esp-idf/issues/15359
- extends debug printouts in the related tests
2025-02-19 14:25:55 +01:00
Zhou Xiao
d3a639bb06 feat(ble): support ble log spi out for ESP32-C3 and ESP32-S3
(cherry picked from commit e41f619566)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:54:38 +08:00
Zhou Xiao
e7f712f78f feat(ble): support ble log spi out for ESP32
(cherry picked from commit e2fbec5d2e)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:54:35 +08:00
Zhou Xiao
ef95009563 change(ble): update ble log spi out config for ESP32-H2
(cherry picked from commit 608ecf63e2)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:54:33 +08:00
Zhou Xiao
5425ab7b83 change(ble): update ble log spi out config for ESP32-C6
(cherry picked from commit e61089e7e0)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:54:29 +08:00
Zhou Xiao
c6ea18fd55 change(ble): update ble log spi out config for ESP32-C2
(cherry picked from commit e4b698fc32)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:54:27 +08:00
Zhou Xiao
21f7a2b152 feat(ble): improved ble log spi output interface to support multisource log
(cherry picked from commit 2221133ba8)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:54:24 +08:00
C.S.M
3299b654b9 docs(i2c): Add document for customize i2c transaction interface for un-standard i2c device 2025-02-19 17:43:50 +08:00
C.S.M
d6de1df245 test(i2c): Add test for customize i2c transaction interface for un-standard i2c device 2025-02-19 17:43:50 +08:00
C.S.M
c6161380d3 feat(i2c): Add api for customize i2c transaction interface for un-standard i2c device 2025-02-19 17:43:50 +08:00
C.S.M
bd4f0b44f4 fix(i2c): Fix scl frequency is wrong on esp32s2 in legacy i2c driver,
Closes https://github.com/espressif/esp-idf/issues/15301,
Closes https://github.com/espressif/esp-idf/issues/14603
2025-02-19 17:38:32 +08:00
Island
93651ddbd5 Merge branch 'change/ble_update_lib_20250212_v5.4' into 'release/v5.4'
change(ble): [AUTO_MR] 20250212 - Update ESP BLE Controller Lib (v5.4)

See merge request espressif/esp-idf!37044
2025-02-19 17:19:04 +08:00
muhaidong
ca1ac73e0e feat(phy): update libphy for RXDC cal opt, no antenna current opt, add cca api 2025-02-19 16:52:43 +08:00
C.S.M
569ac03d7f refactor(spi_flash): remove redundent flash suspend check 2025-02-19 16:50:13 +08:00
C.S.M
4da5de094e fix(spi_flash): Fix build fail when rom_patch config disabled,
Closes https://github.com/espressif/esp-idf/issues/15229
2025-02-19 16:50:03 +08:00
morris
c7e8b6819c Merge branch 'fix/esp_mmu_vaddr_to_paddr_cannot_figure_psram_p4_v5.4' into 'release/v5.4'
mmu: vaddr to paddr cannot figure psram vaddr on esp32p4 (v5.4)

See merge request espressif/esp-idf!37049
2025-02-19 16:48:12 +08:00
wanlei
9ecfa3a0e7 fix(spi_master): fix spi halt when remove device who using rc_fast 2025-02-19 16:44:48 +08:00
Marius Vikhammer
315f0fc3f1 Merge branch 'bugfix/freertos_wcaps_coproc_v5.4' into 'release/v5.4'
fix(freertos): fix a bug in `prvTaskDeleteWithCaps` related to coprocessors (backport v5.4)

See merge request espressif/esp-idf!37081
2025-02-19 16:44:01 +08:00
Island
b9ebf6cd91 Merge branch 'feat/support_ble_debug_with_gpio_v5.4' into 'release/v5.4'
Support change HID task size by Kconfig in HID example (v5.4)

See merge request espressif/esp-idf!36999
2025-02-19 16:37:14 +08:00
morris
36de1af357 fix(gdma): relax alignment constraint for internal memory
external memory encryption should not affect internal memory alignment

Closes https://github.com/espressif/esp-idf/issues/15228
2025-02-19 15:16:08 +08:00
wuzhenghui
b654a78646 change(esp_hw_support): wrapper sleep dcdc/ldo ops with ll 2025-02-19 14:32:22 +08:00
wuzhenghui
8233c250de feat(esp_hw_support): add branch prediction config retention 2025-02-19 14:32:19 +08:00
wuzhenghui
a63e9c5aef fix(esp_hw_support): fix DCDC switch bad software powerdown 2025-02-19 14:32:15 +08:00
wuzhenghui
4542c463c6 change(esp_hw_support): not use ROM Cache invalidate in sleep process to avoid dirtying the L1 Cache 2025-02-19 14:32:12 +08:00
wuzhenghui
ea05eba7f5 feat(esp_hw_support): do mstatus restore on each core 2025-02-19 14:32:08 +08:00
wuzhenghui
228e74e06c feat(esp_hw_support): do esp32p4 l1 cache invalidate by regdma 2025-02-19 14:32:04 +08:00
wuzhenghui
f3cc52d234 feat(esp_hw_support): do esp32p4 l1&l2 cache regs retention by regdma 2025-02-19 14:32:00 +08:00
Jiang Jiang Jian
da3f2ea5ce Merge branch 'fix/add_sleep_duration_check_for_timer_wakeup_v5.4' into 'release/v5.4'
fix(esp_hw_support): add timer wakeup sleep duration check (v5.4)

See merge request espressif/esp-idf!37010
2025-02-19 13:48:17 +08:00
Jiang Jiang Jian
c7c332761a Merge branch 'fix/disable_wfe_feature_for_e906_chips_v5.4' into 'release/v5.4'
change(esp_hw_support): disable CPU wait-for-event mode on cpu start (v5.4)

See merge request espressif/esp-idf!37000
2025-02-19 13:48:02 +08:00
Nachiket Kukade
597cfcb4f3 feat(wifi): Enable Wi-Fi Aware (NAN) for ESP32C5 and ESP32C61 2025-02-19 10:48:43 +08:00
muhaidong
cbcfecd604 fix(wifi): fix some esp32p4 host issues 2025-02-19 10:48:43 +08:00
zhangyanjiao
2e55890069 fix(wifi): update wifi lib for doc changes 2025-02-19 10:48:43 +08:00
Linda
afab2130fd docs: update the API description for esp-wifi_scan_get_ap_records 2025-02-19 10:48:43 +08:00
Nachiket Kukade
50e700792b fix(esp_wifi): Check SSID from Assoc Req before starting SA Query 2025-02-19 10:48:43 +08:00
Sarvesh Bodakhe
0a33f8fda0 fix(wifi): Fix crash when failure_retry_cnt is set in station config
Fixes the regression introduced by 21c2bef602
2025-02-19 10:48:43 +08:00
Sarvesh Bodakhe
b565bbdbab fix(wifi): Fix stack overflow when failure_retry_cnt is set
Fix issue of increased stack usage when failure_retry_cnt is set
and wifi driver internally retries connection attempts
2025-02-19 10:48:43 +08:00
muhaidong
df4667849c fix(wifi): fix wep shared auth connect fail issue 2025-02-19 10:48:43 +08:00
wangtao@espressif.com
35771eed0e fix(wifi): fix max idle period 1 issue 2025-02-19 10:48:43 +08:00
Omar Chebib
54f257b909 fix(freertos): fix a bug in prvTaskDeleteWithCaps related to coprocessors
When a coprocessor is used, the stack pointer is altered. It must be restored
before freeing the memory allocated to the task.
2025-02-19 10:22:23 +08:00
morris
15e75f21a7 Merge branch 'fix/adc_func_register_not_reset_issue_v5.4' into 'release/v5.4'
adc: func register not reset issue (v5.4)

See merge request espressif/esp-idf!37045
2025-02-19 10:02:29 +08:00
Shu Chen
11b3f939a4 Merge branch 'support/ieee802154_get_rssi_comp_from_phy_v5.4' into 'release/v5.4'
feat(802.15.4): support ieee802154 get rssi comp from phylib (v5.4)

See merge request espressif/esp-idf!37051
2025-02-19 10:00:38 +08:00
Adam Múdry
8db2420a2e fix: test_nvs_gen_check.py support for read-only NVS partitions 2025-02-18 16:33:43 +01:00
Marek Fiala
1fa9db53bd fix(tools): IDF_PATH_OLD not found in PowerShell
Closes https://github.com/espressif/esp-idf/issues/15396
2025-02-18 16:09:00 +01:00
morris
bcb3c32d3a Merge branch 'bugfix/sdmmc_reset_pins_slot_width_v5.4' into 'release/v5.4'
fix(sdmmc): fix reset of pins above slot width (v5.4)

See merge request espressif/esp-idf!36874
2025-02-18 22:53:26 +08:00
Ivan Grokhotkov
8ad144a415 fix(sdmmc): fix missed deinitialization of CD and WP pins in f8f40ad
Related to https://github.com/espressif/esp-idf/issues/15330
2025-02-18 12:23:16 +01:00
Ivan Grokhotkov
722cc23a89 fix(sdmmc): fix reset of pins above slot width
Closes https://github.com/espressif/esp-idf/issues/15328
2025-02-18 12:23:16 +01:00
wuzhenghui
95fb085fe3 fix(esp_hw_support): add timer wakeup sleep duration check
Closes https://github.com/espressif/esp-idf/issues/15255
2025-02-18 19:21:57 +08:00
Jiang Jiang Jian
c93d7d0132 Merge branch 'bugfix/idf-11643_v5.4' into 'release/v5.4'
backport v5.4: fix some issues on esp32c61 eco2

See merge request espressif/esp-idf!36987
2025-02-18 19:21:21 +08:00
wuzhenghui
1e11f287e1 change(esp_hw_support): disable CPU wait-for-event mode on cpu start 2025-02-18 19:21:09 +08:00
Marius Vikhammer
36ae237691 Merge branch 'fix/usb-cdc-non-blocking-read_v5.4' into 'release/v5.4'
fix(esp_vfs_console): USB CDC read when non blocking (backport v5.4)

See merge request espressif/esp-idf!36750
2025-02-18 12:17:08 +08:00
zwx
44e7fecbe6 feat(802.15.4): use btbb function to get rssi comp for h2 2025-02-18 12:09:25 +08:00
Armando
03e344df86 test(flash_mmap): added psram enabled test for esp32p4 as mmu is per target 2025-02-18 11:50:52 +08:00
Armando
253fc4f35a test(mmu): added test for checking esp_mmu_vaddr_to_paddr with psram vaddrs 2025-02-18 11:49:50 +08:00
Armando
7bbfe91432 fix(mmu): fixed esp_mmu_vaddr_to_paddr cannot figure out psram vaddr issue on esp32p4 2025-02-18 11:49:45 +08:00
Marius Vikhammer
7a71c4bb65 Merge branch 'test/fix_flaky_lp_uart_tests_v5.4' into 'release/v5.4'
fix(lp_uart): Fixed flaky LP UART unit tests (v5.4)

See merge request espressif/esp-idf!37023
2025-02-18 11:15:09 +08:00
Li Shuai
61fb531471 fix(esp_hw_support): fix the issue of mmu table content loss due to default sd signal 2025-02-18 10:39:50 +08:00
Armando
a387ec0123 fix(adc): fixed adc function register not reset issue 2025-02-18 10:33:25 +08:00
zwl
8e5aee2261 feat(ble): support enhanced controller log capabilities on ESP32-C5 2025-02-18 10:32:44 +08:00
zwl
3c6236df50 feat(ble): add channel assessment and enhanced connect function on ESP32-C5 2025-02-18 10:32:28 +08:00
zwl
8eb5c15376 change(ble): [AUTO_MR] Update lib_esp32c5 to 1d7eebaf 2025-02-18 10:32:09 +08:00
Zhou Xiao
9912a9c029 feat(ble): support enhanced controller log capabilities on ESP32-C2
(cherry picked from commit bbcb4a2e1f)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-02-18 10:23:47 +08:00
Zhou Xiao
de1cbf7f2f feat(ble): support enhanced controller log capabilities on ESP32-C6 and ESP32-H2
(cherry picked from commit f598976c6b)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-02-18 10:23:44 +08:00
Zhou Xiao
e6b590b243 feat(ble): add channel assessment and enhanced connect function on ESP32-H2
(cherry picked from commit 0ffac92586)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-02-18 10:23:41 +08:00
Zhou Xiao
b9616fdd7f feat(ble): add channel assessment and enhanced connect function on ESP32-C6
(cherry picked from commit 821e587fda)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-02-18 10:23:39 +08:00
Zhou Xiao
553992e1fa change(ble): [AUTO_MR] Update lib_esp32c6 to 1d7eebaf
(cherry picked from commit 4579e083ef)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-18 10:23:36 +08:00
Zhou Xiao
95a101d359 change(ble): [AUTO_MR] Update lib_esp32h2 to 1d7eebaf
(cherry picked from commit 4f0e0f371a)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-18 10:23:33 +08:00
Shu Chen
e37d33cc1c Merge branch 'feature/disable-c5-ci-build' into 'release/v5.4'
feat(zigbee): disable the build process of zigbee example on esp32c5

See merge request espressif/esp-idf!37024
2025-02-18 09:34:14 +08:00
xieqinan@espressif.com
60f820e7c0 feat(zigbee): disable the build process of zigbee example on esp32c5 2025-02-17 18:54:08 +08:00
Sudeep Mohanty
1e5308211d fix(lp_uart): Fixed flaky LP UART unit tests
This commit fixes some flaky LP UART multi device tests. It also adds
code to put the HP core to light sleep for few tests.
2025-02-17 10:29:04 +01:00
Martin Vychodil
e6815fd6a5 Merge branch 'bugfix/storage_generic_pytests_v5.4' into 'release/v5.4'
fix(ci): Removed storage related entries in known generate test child pipeline warnings (v5.4)

See merge request espressif/esp-idf!36683
2025-02-17 17:09:08 +08:00
wuzhenghui
003a7f6bcb fix(esp_hw_support): fix lp/hp clock wait time calculation after wait pll ready 2025-02-17 16:53:28 +08:00
wuzhenghui
67a4de4e77 change(esp_hw_support): switch to sleep_flags earlier to identify sleep state 2025-02-17 16:53:28 +08:00
wuzhenghui
87c4227e44 change(esp_hw_support): wait pll calibration done in regdma link instead of wait fixed value 2025-02-17 16:53:27 +08:00
Jiang Jiang Jian
c3044cad28 Merge branch 'bugfix/fix_delete_queue_error_in_espnow_example_v5.4' into 'release/v5.4'
fix(wifi): fix the delete queue error in espnow exapmle (v5.4)

See merge request espressif/esp-idf!37014
2025-02-17 16:10:53 +08:00
Jiang Jiang Jian
30307f6977 Merge branch 'bugfix/ifdef_cplusplus_bracket_v5.4' into 'release/v5.4'
bugfix(wifi): Add missing brackets in the C++ guard (Backport v5.4)

See merge request espressif/esp-idf!36830
2025-02-17 15:50:16 +08:00
Jiang Jiang Jian
0ba139c535 Merge branch 'bugfix/fix_some_wifi_bugs_250214' into 'release/v5.4'
Bugfix/fix some wifi bugs 250214(Backport v5.4)

See merge request espressif/esp-idf!36985
2025-02-17 15:48:22 +08:00
zhangyanjiao
aeb4e0288c fix(wifi): fix the delete queue error in espnow exapmle
Closes https://github.com/espressif/esp-idf/issues/15383
2025-02-17 14:54:38 +08:00
Marius Vikhammer
b808062f2e Merge branch 'bugfix/esp32p4_linker_script_v5.4' into 'release/v5.4'
fix(esp_system): add missing `arrays` attribute in the ESP32-P4 linker script (backport v5.4)

See merge request espressif/esp-idf!36094
2025-02-17 11:16:48 +08:00
Zhang Hai Peng
ddff846e4e feat(ble/bluedroid): Support change HID task size by Kconfig in HID example
(cherry picked from commit d4b3a7e99d)

Co-authored-by: Mitch Cairns <mitch.cairns@handheldlegend.com>
2025-02-17 11:15:46 +08:00
Zhang Hai Peng
53fa7a7df0 docs(ble/bluedroid): Optimize doc for implementation of a characteristic with 128 bit UUID
(cherry picked from commit fa40d971a5)

Co-authored-by: Erast  <78802792+MatoiDev@users.noreply.github.com>
2025-02-17 11:15:43 +08:00
Zhang Hai Peng
7790c95832 fix(ble/bluedroid): Don't log error on 16/128-bit UUID mixed descriptors
(cherry picked from commit fed1d41aa7)

Co-authored-by: Nebojša Cvetković <nebkat@gmail.com>
2025-02-17 11:15:40 +08:00
Zhang Hai Peng
41ccc00c15 refactor(ble/bluedroid): Fix typos in gatt_sr.c
(cherry picked from commit 63b2dcc3a7)

Co-authored-by: Nebojsa Cvetkovic <nebkat@gmail.com>
2025-02-17 11:15:37 +08:00
Zhang Hai Peng
c0b060c1a8 fix(ble/bluedroid): Allow 0 length indications
(cherry picked from commit 9b5a52e2f7)

Co-authored-by: Nebojsa Cvetkovic <nebkat@gmail.com>
2025-02-17 11:15:32 +08:00
Zhang Hai Peng
635e1489b7 refactor(ble/bluedroid): Fix typos in bta_gatts_act.c
(cherry picked from commit a8041a9953)

Co-authored-by: Nebojsa Cvetkovic <nebkat@gmail.com>
2025-02-17 11:15:29 +08:00
morris
3ecfa81c9b Merge branch 'bugfix/gpio_rom_patch_fix_v5.4' into 'release/v5.4'
fix(gpio): fix esp_rom_gpio_connect_out_signal for gpio num over 31 on esp32/s2 (v5.4)

See merge request espressif/esp-idf!36865
2025-02-17 11:14:21 +08:00
Zhang Hai Peng
a0f37ef893 fix(ble): Update bt lib for ESP32(2a2631f)
- Support ESP32 BLE GPIO DEBUG


(cherry picked from commit 0a7888f839)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-02-17 11:13:56 +08:00
Island
c34702fc0c Merge branch 'feat/add_spi_output_v5.4' into 'release/v5.4'
Feat/add spi output (v5.4)

See merge request espressif/esp-idf!36956
2025-02-17 11:04:37 +08:00
Rahul Tank
ae5cf32ab9 Merge branch 'bugfix/handle_slave_extra_disconn_v5.4' into 'release/v5.4'
fix(nimble): Handle not sending disconnect event if connect was not sent (v5.4)

See merge request espressif/esp-idf!36920
2025-02-15 22:43:07 +08:00
Rahul Tank
d4d795c56d fix(nimble): Handle not sending disconnect event if connect was not sent 2025-02-15 09:22:55 +05:30
Rahul Tank
f30ee2a6bc Merge branch 'feat/long_read_offset_v5.4' into 'release/v5.4'
feat(nimble): Add offset in GATT server long read context (v5.4)

See merge request espressif/esp-idf!36976
2025-02-15 11:26:47 +08:00
Jiang Jiang Jian
72770713b9 Merge branch 'bugfix/mem_leak_sae_pk_v5.4' into 'release/v5.4'
fix(wifi): Bugfix memory leak due to sae public key (v5.4)

See merge request espressif/esp-idf!36925
2025-02-14 19:34:53 +08:00
muhaidong
5dc5f0e566 fix(coex): fix disable external coex fail issue 2025-02-14 19:24:12 +08:00
muhaidong
67141ce7b5 feat(phy): add gpio cmd for cert test 2025-02-14 19:23:53 +08:00
Roland Dobai
dd315ebc88 Merge branch 'fix/ldgen_interm_no_secs_v5.4' into 'release/v5.4'
fix(ldgen): don't emit intermediate placements without sections (v5.4)

See merge request espressif/esp-idf!36967
2025-02-14 18:58:59 +08:00
Jiang Jiang Jian
266f7e878c Merge branch 'bugfix/skip_memory_reordering_wpa2_semaphr_v5.4' into 'release/v5.4'
fix(esp_wifi): fixed stack corruption in WiFi tasks (v5.4)

See merge request espressif/esp-idf!36936
2025-02-14 17:53:35 +08:00
Aditya Patwardhan
d2b7479f6f Merge branch 'refactor/security_docs_re-org_v5.4' into 'release/v5.4'
refactor(docs): re-organize security docs for better navigation (v5.4)

See merge request espressif/esp-idf!36960
2025-02-14 16:32:05 +08:00
Frantisek Hrbata
c06b3d213e fix(ldgen): don't emit intermediate placements without sections
When a symbol needs to be placed to a different target than the one
designated for the object file, the object file is expanded, which
includes the following steps:

1. Creating a new placement for the symbol's input section with the
   specified target.
2. Excluding the object placement from the orignal target.
3. Creating a new intermediate placement for the object for the original
   target, where its input sections are expanded, excluding the input
   section for the symbol.

Let's illustrate the object expansion process with the following example:

[sections:rodata]
entries:
    .rodata+
    .sdata2+
    .srodata+

[scheme:default]
entries:
    text -> flash_text
    rodata -> flash_rodata

[scheme:noflash]
entries:
    text -> iram0_text
    rodata -> dram0_data

[mapping:soc_pm]
archive: libsoc.a
entries:
    gpio_periph: GPIO_HOLD_MASK (noflash)

gpio_periph section headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0
  [ 1] .text             PROGBITS        00000000 000034 000000 00  AX  0   0  2
  [ 2] .data             PROGBITS        00000000 000034 000000 00  WA  0   0  1
  [ 3] .bss              NOBITS          00000000 000034 000000 00  WA  0   0  1
  [ 4] .rodata.GPIO_HOLD_MASK PROGBITS        00000000 000034 000058 00   A  0   0  4
  [ 5] .rodata.GPIO_PIN_MUX_REG PROGBITS        00000000 00008c 000058 00   A  0   0  4
  [ 6] .debug_info       PROGBITS        00000000 0000e4 0000d8 00      0   0  1
  [ 7] .rela.debug_info  RELA            00000000 0009d4 000108 0c   I 16   6  4
  [ 8] .debug_abbrev     PROGBITS        00000000 0001bc 000070 00      0   0  1
  [ 9] .debug_aranges    PROGBITS        00000000 00022c 000018 00      0   0  1
  [10] .rela.debug_aranges RELA            00000000 000adc 00000c 0c   I 16   9  4
  [11] .debug_line       PROGBITS        00000000 000244 0001ab 00      0   0  1
  [12] .debug_str        PROGBITS        00000000 0003ef 00022d 01  MS  0   0  1
  [13] .comment          PROGBITS        00000000 00061c 000030 01  MS  0   0  1
  [14] .note.GNU-stack   PROGBITS        00000000 00064c 000000 00      0   0  1
  [15] .riscv.attributes RISCV_ATTRIBUTES 00000000 00064c 000044 00      0   0  1
  [16] .symtab           SYMTAB          00000000 000690 000260 10     17  36  4
  [17] .strtab           STRTAB          00000000 0008f0 0000e1 00      0   0  1
  [18] .shstrtab         STRTAB          00000000 000ae8 0000d1 00      0   0  1

1. Creating a new placement
.dram0.data :
{
    *libsoc.a:gpio_periph.*(.rodata.GPIO_HOLD_MASK .sdata2.GPIO_HOLD_MASK .srodata.GPIO_HOLD_MASK)
}

2. Excluding the object placement
.flash.rodata :
{
    *(EXCLUDE_FILE(*libsoc.a:gpio_periph.*) .rodata.* ...)
}

3. Creating a new intermediate placement
.flash.rodata :
{
    *libsoc.a:gpio_periph.*(.rodata.GPIO_PIN_MUX_REG)
}

Now, let's do the same, but also move GPIO_PIN_MUX_REG to noflash with an updated mapping.

[mapping:soc_pm]
archive: libsoc.a
entries:
    gpio_periph: GPIO_HOLD_MASK (noflash)
    gpio_periph: GPIO_PIN_MUX_REG (noflash)

1. Creating a new placement
.dram0.data :
{
    *libsoc.a:gpio_periph.*(.rodata.GPIO_HOLD_MASK .sdata2.GPIO_HOLD_MASK .srodata.GPIO_HOLD_MASK)
    *libsoc.a:gpio_periph.*(.rodata.GPIO_PIN_MUX_REG .sdata2.GPIO_PIN_MUX_REG
                            .srodata.GPIO_PIN_MUX_REG)
}

2. Excluding the object placement
.flash.rodata :
{
    *(EXCLUDE_FILE(*libsoc.a:gpio_periph.*) .rodata.* ...)
}

3. Creating a new intermediate placement
.flash.rodata :
{
    *libsoc.a:gpio_periph.*
}

The *libsoc.a:gpio_periph.* entity in step 3 no longer has input
sections, as there are no remaining .rodata input sections in the object
file. The linker behavior for this mapping is to include all object
input sections that have not yet been placed as described in
https://sourceware.org/binutils/docs/ld.html#Input-Section-Basics
"If you use a file name without a list of sections, then all sections in
the input file will be included in the output section. This is not
commonly done, but it may by useful on occasion."

The map file for such mapping now contains following input sections

 .flash.rodata   0x3c0a0120    0x19b34
     *libsoc.a:gpio_periph.*()
     .debug_info    0x3c0b95bf       0xd8 esp-idf/soc/libsoc.a(gpio_periph.c.obj)
     .debug_abbrev  0x3c0b9697       0x70 esp-idf/soc/libsoc.a(gpio_periph.c.obj)
     .debug_aranges
                    0x3c0b9707       0x18 esp-idf/soc/libsoc.a(gpio_periph.c.obj)
     .debug_line    0x3c0b971f      0x1ab esp-idf/soc/libsoc.a(gpio_periph.c.obj)
     .debug_str     0x3c0b98ca      0x21a esp-idf/soc/libsoc.a(gpio_periph.c.obj)
                                    0x22d (size before relaxing)
     .comment       0x3c0b9ae4       0x30 esp-idf/soc/libsoc.a(gpio_periph.c.obj)
     .note.GNU-stack
                    0x3c0b9ae4        0x0 esp-idf/soc/libsoc.a(gpio_periph.c.obj)
     .riscv.attributes
                    0x3c0b9ae4       0x44 esp-idf/soc/libsoc.a(gpio_periph.c.obj)

This is incorrect, and such intermediate placement should not be
generated. This type of placement can be recognized because it is not
explicitly defined in the mapping and lacks input sections. We can
identify this in the significant function and prevent issuing commands
for such placement.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-02-14 08:04:29 +01:00
Mahavir Jain
721b0de1b1 refactor(docs): re-organize security docs for better navigation 2025-02-14 11:45:04 +05:30
Abhinav Kudnar
222d7a7741 feat(nimble): Add offset in GATT server long read context 2025-02-14 11:21:30 +05:30
Rahul Tank
15da152e21 Merge branch 'fix/blesync_periodic_adv_v5.4' into 'release/v5.4'
fix(nimble): Added sync reattempt for periodic adv (v5.4)

See merge request espressif/esp-idf!36789
2025-02-14 13:45:38 +08:00
Zhou Xiao
ec495372ab feat(ble): support esp ble controller spi output interface for ESP32-H2
(cherry picked from commit 9c98c7e040)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-14 11:54:23 +08:00
Zhou Xiao
78f1241f78 feat(ble): support esp ble controller spi output interface for ESP32-C6
(cherry picked from commit 58b8775f95)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-14 11:54:20 +08:00
Zhou Xiao
8d3fcb78ee feat(ble): support esp ble controller spi output interface for ESP32-C2
(cherry picked from commit 0b57f8ae87)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-14 11:54:16 +08:00
Zhou Xiao
2acf21413c feat(ble): add spi output interface for esp ble controller log
(cherry picked from commit 52106c9895)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-14 11:54:13 +08:00
Omar Chebib
d3a9545e95 fix(esp_system): add missing arrays attribute in the ESP32-P4 linker script 2025-02-14 10:58:12 +08:00
xiongweichao
44c606e165 fix(bt): Fixed SDP record integrity check bug 2025-02-14 10:21:46 +08:00
David Čermák
462ed8353d Merge branch 'bugfix/ethernet_example_netif_glue_assignment_v5.4' into 'release/v5.4'
fix(ethernet_basic): Fix second Ethernet device not receiving IP address (v5.4)

See merge request espressif/esp-idf!36945
2025-02-13 22:00:31 +08:00
Astha Verma
ff55cabe6d fix(nimble): Added sync reattempt for periodic adv 2025-02-13 18:24:38 +05:30
Bogdan Kolendovskyy
bcf5075278 fix(ethernet_basic): Fix second Ethernet device not receiving IP address 2025-02-13 12:41:14 +01:00
Rahul Tank
18ba5dd4ab Merge branch 'fix/core_err_code_def_v5.4' into 'release/v5.4'
fix(nimble): Enhanced error handling by adding to print core error definitions (v5.4)

See merge request espressif/esp-idf!36654
2025-02-13 19:37:52 +08:00
Mahavir Jain
e348fdd5e6 Merge branch 'bugfix/http_client_select_read_error_v5.4' into 'release/v5.4'
fix(tcp_tranport): Fix handling of select() return value (v5.4)

See merge request espressif/esp-idf!36917
2025-02-13 19:19:11 +08:00
Kapil Gupta
31b88484a6 fix(esp_wifi): Fix stack corruption in wpa3 task 2025-02-13 14:23:08 +05:30
Kapil Gupta
698392735c fix(esp_wifi): fixed Stack corruption in DPP task 2025-02-13 14:23:08 +05:30
Kapil Gupta
a64056fac2 fix(esp_wifi): fixed Stack corruption in WPS processing 2025-02-13 14:23:08 +05:30
Kapil Gupta
c3959700b3 fix(esp_wifi): Fixed memory corruption in wifi enterprise
Closes https://github.com/espressif/esp-idf/issues/15370
2025-02-13 14:23:08 +05:30
Shu Chen
576264c704 Merge branch 'feat/add_ot_br_lib_check_case_v5.4' into 'release/v5.4'
feat(openthread): add br library check case (v5.4)

See merge request espressif/esp-idf!36885
2025-02-13 15:49:45 +08:00
Shreyas Sheth
3cbbcf25c7 fix(wifi): Fixed memory leak occurring in SAE PK connection 2025-02-13 12:02:13 +05:30
Astha Verma
34a8c8ae28 fix(nimble): Enhanced error handling by adding to print core error definitions 2025-02-13 08:57:08 +05:30
Rahul Tank
9555aa0912 Merge branch 'fix/NVS_corruption_v5.4' into 'release/v5.4'
fix(nimble): Handle NVS corruption caused by non removal of security records (v5.4)

See merge request espressif/esp-idf!36894
2025-02-13 11:19:15 +08:00
morris
7d07fe5047 Merge branch 'feat/async_memcpy_any_alignment_v5.4' into 'release/v5.4'
async memcpy destination address doesn't have to be cache aligned (v5.4)

See merge request espressif/esp-idf!36633
2025-02-13 10:36:23 +08:00
morris
5aee72a86f Merge branch 'fix/rgb_lcd_drift_on_esp32s3_v5.4' into 'release/v5.4'
fix(rgb_lcd): drift issue caused by restart (v5.4)

See merge request espressif/esp-idf!36889
2025-02-13 10:10:43 +08:00
David Čermák
1ddbb7bceb Merge branch 'fix/eth_example_stat_ip_v5.4' into 'release/v5.4'
fix(esp_eth): fixed Static IP example for Ethernet (v5.4)

See merge request espressif/esp-idf!36915
2025-02-13 02:14:20 +08:00
nilesh.kale
5ad73e97e8 fix(tcp_tranport): Fix handling of select() return value
When both readset/writeset and errset are set for a single socket,
the HTTP client incorrectly handled the condition, causing premature termination.
Added a check to ensure readset/writeset is prioritized before errset.

Closes https://github.com/espressif/esp-idf/issues/14673
2025-02-12 20:23:23 +05:30
Ondrej Kosta
7b1648f004 fix(esp_eth): fixed Static IP example for Ethernet
Fixed IP event handler unregistering for Ethernet
2025-02-12 13:55:20 +00:00
Alexey Gerenkov
945d750d5a Merge branch 'fix/coredump_note_section_alignment_v5.4' into 'release/v5.4'
Fix/coredump note section headers and alignments (v5.4)

See merge request espressif/esp-idf!36880
2025-02-12 21:31:14 +08:00
Jiang Jiang Jian
97404fa883 Merge branch 'fix/fix_branch_predictor_access_flash_after_cache_diabled_v5.4' into 'release/v5.4'
fix(esp_hw_support): fix branch predictor access flash after cache disabled (v5.4)

See merge request espressif/esp-idf!36558
2025-02-12 17:59:36 +08:00
Jiang Jiang Jian
f8ed34f75f Merge branch 'bugfix/analyzer_issues_supplicant_v5.4' into 'release/v5.4'
fix(esp_wifi): fix some analyzer issues (v5.4)

See merge request espressif/esp-idf!36825
2025-02-12 13:56:16 +08:00
Jiang Jiang Jian
c7a66c0801 Merge branch 'bugfix/wps_scan_freq_v5.4' into 'release/v5.4'
fix(esp_wifi): Reduce scan frequency in WPS (v5.4)

See merge request espressif/esp-idf!36819
2025-02-12 13:56:01 +08:00
Astha Verma
5a9fc48b73 fix(nimble): fix NVS corruption 2025-02-12 10:50:50 +05:30
Rahul Tank
49262fd40c Merge branch 'bugfix/fix_warn_write_string_v5.4' into 'release/v5.4'
fix(nimble): Fixed warnings with COMPILTER_WARN_WRITE_STRINGS set (v5.4)

See merge request espressif/esp-idf!36699
2025-02-12 12:56:26 +08:00
Mahavir Jain
f8c10a5504 Merge branch 'bugfix/fix_blufi_crash_opt_v5.4' into 'release/v5.4'
fix(blufi): Enhance security in BLUFI example (v5.4)

See merge request espressif/esp-idf!36861
2025-02-12 12:31:56 +08:00
morris
1a430290f2 fix(rgb_lcd): drift issue caused by restart
Closes https://github.com/espressif/esp-idf/issues/15013
2025-02-12 10:43:16 +08:00
Shu Chen
f6c304005a Merge branch 'feature/ieee802154_txpower_table_v5.4' into 'release/v5.4'
Feature/ieee802154 txpower table (v5.4)

See merge request espressif/esp-idf!36132
2025-02-12 10:32:19 +08:00
morris
d65c108888 Merge branch 'feat/mmu_find_paddr_caps_by_any_offset_v5.4' into 'release/v5.4'
mmu: supported find paddr caps by any paddr offset (v5.4)

See merge request espressif/esp-idf!36813
2025-02-12 10:30:35 +08:00
yiwenxiu
d4ec677253 feat(openthread): add br library check case 2025-02-12 09:33:46 +08:00
Wang Meng Yang
667c1b6e70 Merge branch 'bugfix/add_bluedroid_init_migration_v5.4' into 'release/v5.4'
docs(bt/bluedroid): Added migration guide for bluedroid init API[backport v5.4]

See merge request espressif/esp-idf!36875
2025-02-12 09:22:17 +08:00
Erhan Kurubas
99b1a685c8 fix(coredump): disable uart txd pullup using gpio hal 2025-02-11 16:53:18 +01:00
Erhan Kurubas
52c1538f01 fix(coredump): fix note section alignments 2025-02-11 16:53:18 +01:00
Erhan Kurubas
f1fbac9dc8 fix(coredump): only clear high bit in PC when set 2025-02-11 16:53:18 +01:00
liqigan
0576fce0c8 docs(bt/bluedroid): Added migration guide for bluedroid init API
Closes https://github.com/espressif/esp-idf/issues/15352
2025-02-11 19:37:27 +08:00
morris
952f1aa2b8 Merge branch 'feature/malloc_cap_simd_flag_v5.4' into 'release/v5.4'
feat(heap): add a MALLOC_CAP_SIMD flag (v5.4)

See merge request espressif/esp-idf!36649
2025-02-11 17:42:09 +08:00
Song Ruo Jing
ed46ec4433 fix(gpio): fix esp_rom_gpio_connect_out_signal for gpio num over 31 on esp32/s2
Closes https://github.com/espressif/esp-idf/issues/15209
2025-02-11 16:05:11 +08:00
Armando
efd8c467d0 test(mmu): test can find paddr caps by any paddr offset 2025-02-11 15:51:45 +08:00
Armando
d7cdbbb07d feat(mmu): supported find paddr caps by any paddr offset
Closes https://github.com/espressif/esp-idf/issues/14988
2025-02-11 15:51:45 +08:00
Zhang Hai Peng
5f93ec3b11 fix(blufi): Enhance security in BLUFI example
(cherry picked from commit 3fc6c93936)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-02-11 15:13:50 +08:00
morris
e121a77c92 fix(dma): also consider buffer alignment when calculating the DMA nodes
Closes https://github.com/espressif/esp-idf/issues/15228
2025-02-11 13:46:12 +08:00
morris
5c0611cb3b feat(async_memcpy): support rx buffer unaligned to cache line size 2025-02-11 13:46:12 +08:00
morris
565d0331f1 refactor(dma): split rx buffer to cache aligned ones 2025-02-11 13:46:12 +08:00
zwx
053a67f209 fix(802.15.4): fix a typo for 15.4 Kconfig 2025-02-11 13:23:57 +08:00
zwx
22a5444773 feat(802.15.4): introduce a series of APIs related power table 2025-02-11 13:23:57 +08:00
zwx
86eed3f3ab feat(openthread): support preferred channel mask 2025-02-11 13:22:47 +08:00
Wang Meng Yang
cb19765809 Merge branch 'feat/esp32_set_get_bt_lpclk_src_v5.4' into 'release/v5.4'
feat(bt): Added API to get/set low power clock source(v5.4)

See merge request espressif/esp-idf!36562
2025-02-11 12:14:58 +08:00
xiongweichao
62eaef77ef fix(bt/bluedroid): fixed the format error of passkey printing 2025-02-11 11:57:16 +08:00
xiongweichao
f9ea7a47b1 fix(bt/bluedroid): Fixed incorrect types of some variables in SDP 2025-02-11 11:57:11 +08:00
xiongweichao
26491fbe67 fix(bt): Fix incorrect type returned when searching SAP record 2025-02-11 11:57:07 +08:00
xiongweichao
b8a4d9f74f fix(bt): Fix the incorrect record found using uuid16 search 2025-02-11 11:57:03 +08:00
Shu Chen
b853fc6742 Merge branch 'feature/support_hw_reset_when_handling_rcp_failure_v5.4' into 'release/v5.4'
feat(openthread): support hardware reset RCP while processing RCP failure (v5.4)

See merge request espressif/esp-idf!36553
2025-02-11 11:29:31 +08:00
Island
05eb9d0c4a Merge branch 'bugfix/h2_ble_timer_clk_enable_fix_v5.4' into 'release/v5.4'
fix: H2 ble timer clk enable issue. (v5.4)

See merge request espressif/esp-idf!36545
2025-02-11 10:45:33 +08:00
morris
737cce3c9f Merge branch 'bugfix/fix_i2s_reconfig_slot_issue_v5.4' into 'release/v5.4'
fix(i2s): fixed incorrect logic in slot reconfig (v5.4)

See merge request espressif/esp-idf!36641
2025-02-11 10:40:32 +08:00
Rahul Tank
5ede5942b1 fix(nimble): Fixed warnings with COMPILTER_WARN_WRITE_STRINGS set 2025-02-10 21:50:15 +05:30
Rahul Tank
86a8f691e1 Merge branch 'fix/spp_server_readme_change_v5.4' into 'release/v5.4'
docs: Updated README.md by removing unclear lines (v5.4)

See merge request espressif/esp-idf!36742
2025-02-10 23:59:39 +08:00
Rahul Tank
f9f71f0fa8 Merge branch 'fix/wifi_provisioning_ble_v5.4' into 'release/v5.4'
fix(nimble): Handle nested locks when BT_NIMBLE_DEBUG enabled (v5.4)

See merge request espressif/esp-idf!36497
2025-02-10 23:57:47 +08:00
radek.tandler
b02cb7d552 fix(storage/nvs): Fixed failing test cases in example folder 2025-02-10 16:43:34 +01:00
radek.tandler
03ca56d8fb fix(storage/vfs): Fixed failing test cases in test_apps 2025-02-10 16:43:33 +01:00
radek.tandler
9a21f5fb81 fix(ci): Removed storage related ignore warnings 2025-02-10 16:43:33 +01:00
akshat
767afc9ce4 bugfix(wifi): Fix header file errors and remove esp_supplicant from check_public_headers_exceptions.txt 2025-02-10 18:52:01 +05:30
akshat
22382490ab bugfix(wifi): Add missing brackets in the C++ guard
Closes https://github.com/espressif/esp-idf/issues/14991
2025-02-10 18:51:31 +05:30
Kapil Gupta
cd934c08ab fix(esp_wifi): Add review comments and some cleanup 2025-02-10 15:46:30 +05:30
Kapil Gupta
3c085db83e fix(esp_wifi): fix some analyzer issues
Closes https://github.com/espressif/esp-idf/issues/15097
Closes https://github.com/espressif/esp-idf/issues/15098
Closes https://github.com/espressif/esp-idf/issues/15099
2025-02-10 15:46:30 +05:30
Kapil Gupta
17032b875a fix(esp_wifi): Reduce scan frequency in WPS 2025-02-10 15:11:14 +05:30
Jiang Jiang Jian
5436955fd9 Merge branch 'bugfix/esp32c5_eco1_wifi_ps_v5.4' into 'release/v5.4'
backport v5.4: fix some wifi power save issues and optimize phy sleep for esp32c5 eco1 and beta5

See merge request espressif/esp-idf!36561
2025-02-10 15:22:59 +08:00
Jiang Jiang Jian
1aab4bf1b2 Merge branch 'bugfix/pm-300-v5.4' into 'release/v5.4'
backport v5.4: fix some esp32c5 and esp32c61 light sleep wakeup issues

See merge request espressif/esp-idf!36075
2025-02-10 15:22:22 +08:00
Marius Vikhammer
5c75a994da Merge branch 'fix/esp-event-profiling_v5.4' into 'release/v5.4'
fix(esp_event): Fix event loop profiling in handler_execute function (backport v5.4)

See merge request espressif/esp-idf!36684
2025-02-10 14:45:15 +08:00
xiongweichao
76a66a7879 feat(bt): Added API to get/set low power clock source 2025-02-10 14:10:38 +08:00
laokaiyao
5d4598f986 fix(i2s): fix uninitialize warning for the default macros
Closes https://github.com/espressif/esp-idf/issues/15271
2025-02-10 11:16:19 +08:00
laokaiyao
80ef7b7494 fix(i2s): fixed incorrect logic in slot reconfig
Closes https://github.com/espressif/esp-idf/issues/15256
2025-02-10 11:16:19 +08:00
Wang Meng Yang
8deb26be27 Merge branch 'feat/add_vsc_to_support_test_v5.4' into 'release/v5.4'
feat(bt): add vendor hci command and event to support test (v5.4)

See merge request espressif/esp-idf!36571
2025-02-10 10:49:13 +08:00
Song Ruo Jing
6cb64d7025 feat(heap): add a MALLOC_CAP_SIMD flag
MALLOC_CAP_SIMD can be used to allocate memory to be used for SIMD instructions
2025-02-08 16:28:41 +08:00
Shu Chen
5fa3e381c9 Merge branch 'feat/add_callback_for_esp_ot_radio_spinel_init_v5.4' into 'release/v5.4'
feat(openthread): add an API to set rcp version string (v5.4)

See merge request espressif/esp-idf!36746
2025-02-08 16:26:56 +08:00
morris
35dc076e79 Merge branch 'fix/usb_non_periodic_backport_v5.4' into 'release/v5.4'
fix(usb/host): Set SCHED_INFO for all channels (backport v5.4)

See merge request espressif/esp-idf!36770
2025-02-08 10:07:39 +08:00
Jiang Jiang Jian
ebc370a796 Merge branch 'bugfix/remove_unused_sco_state_v5.4' into 'release/v5.4'
Bugfix/remove unused sco state (v5.4)

See merge request espressif/esp-idf!36729
2025-02-07 19:51:01 +08:00
Tomáš Rohlínek
653fa4a1f5 fix(storage/vfs): incorrect log level in esp_vfs_register_fd_range
Closes https://github.com/espressif/esp-idf/issues/14327
2025-02-07 15:24:08 +08:00
Geng Yu Chao
095d82eb9b fix(esp32h2): H2 ble timer clk enable issue
(cherry picked from commit ac8204c4ba)

Co-authored-by: Geng Yuchao <gengyuchao@espressif.com>
2025-02-07 11:46:50 +08:00
Guillaume Souchere
4b5e246b5b fix(esp_vfs_console): USB CDC read when non blocking
In non blocking mode, the read function is expected
to return weather data is available for reading or not.

In case data are available but the size does not match
the expected size, the function read should return whatever
data is available.

Previously, the function was returning -1 with errno set
to EWOULDBLOCK even if the size of data in the buffer was
less than the requested size. It would only return the
available data if the size in the buffer was greater or equal
to the requested size.

The implementation of cdcacm_read is modified to return the avilable
data from the buffer even is the size is lesser than the requested
size.
2025-02-06 09:01:30 +01:00
Tomas Rezucha
4e4c9dc726 fix(usb/host): Set SCHED_INFO for all channels
Although the hardware documentation suggests that SCHED_INFO is only used
for periodic channels, empirical evidence shows that omitting this configuration
on non-periodic channels can cause them to freeze.
Therefore, we set this field for all channels to ensure reliable operation.
2025-02-06 08:17:59 +01:00
Jiang Jiang Jian
b26d933e08 Merge branch 'change/default_value_for_esp_coex_vsc_in_bluedroid_v5.4' into 'release/v5.4'
change(bt): Set default value for BT_BLUEDROID_ESP_COEX_VSC conditionally (v5.4)

See merge request espressif/esp-idf!36734
2025-02-06 10:50:03 +08:00
Astha Verma
447887de03 fix(nimble): Handle nested locks when BT_NIMBLE_DEBUG enabled 2025-02-05 14:48:43 +05:30
morris
d79e743b79 Merge branch 'fix/move_spi_lcd_cb_fun_to_iram_v5.4' into 'release/v5.4'
feat(spi_lcd): move callback function to iram (v5.4)

See merge request espressif/esp-idf!36739
2025-02-05 14:56:01 +08:00
Xu Si Yu
77fb4e42bd feat(openthread): add an API to set rcp version string 2025-02-05 14:40:17 +08:00
David Cermak
8e8d922edc fix(esp_eth): Fix test code to unregister event correctly 2025-02-05 07:34:27 +01:00
Astha Verma
fbcdf56981 docs: Updated README.md by removing unclear lines 2025-02-05 11:54:58 +05:30
morris
724f762f57 Merge branch 'fix/periodic_fs_usb_on_p4_backport_v5.4' into 'release/v5.4'
fix(usb/host): Fixed Full Speed periodic transfers on ESP32-P4 (backport v5.4)

See merge request espressif/esp-idf!36647
2025-02-05 14:17:43 +08:00
morris
9659998ce3 Merge branch 'fix/usb_host_enum_unchecked_return_coverity_backport_v5.4' into 'release/v5.4'
fix(usb_host): Fixed unchecked return value in enum driver (coverity) (backport to v5.4)

See merge request espressif/esp-idf!36669
2025-02-05 11:49:10 +08:00
Chen Jichang
a05a12526d feat(spi_lcd): move callback function to iram
Closes https://github.com/espressif/esp-idf/issues/15160
2025-02-05 11:21:46 +08:00
Wang Mengyang
d0c2b8337b change(bt): Set default value for BT_BLUEDROID_ESP_COEX_VSC conditionally
- Set default value of BT_BLUEDROID_ESP_COEX_VSC to n if software coexistence is not required,
in host-controller combined Bluetooth stack configuration.
2025-02-05 10:16:05 +08:00
Wang Mengyang
ff6dd1f083 change(bt): Remove unused state variable for (e)SCO disconnect reason in Bluedroid 2025-02-05 10:08:51 +08:00
David Cermak
8763e28c0b fix(esp_event): Fix minor no-ISR post regression
from 15f6775f5d
2025-02-04 09:17:36 +01:00
Alexey Gerenkov
f277fbf24e Merge branch 'fix/coredump_test_uart_data_missing_v5.4' into 'release/v5.4'
Fix missing coredump uart data in tests (v5.4)

See merge request espressif/esp-idf!36711
2025-02-03 23:48:56 +08:00
Erhan Kurubas
9f3a5eb3ab test(coredump): collect all expected uart data first, then process lazily 2025-02-03 15:06:25 +01:00
Rocha Euripedes
4d02ae2562 Merge branch 'fix/test_app_certificate_v5.4' into 'release/v5.4'
Regenerate certificates for testing (v5.4)

See merge request espressif/esp-idf!36672
2025-01-31 15:59:48 +08:00
Mahavir Jain
99601e8e57 Merge branch 'feat/bootloader_nvs_read_encrypted_v5.4' into 'release/v5.4'
fix(esptool_py): NVS partition being incorrectly marked as encrypted by the build system (v5.4)

See merge request espressif/esp-idf!36679
2025-01-30 17:14:11 +08:00
Guillaume Souchere
8c89773e0d fix(esp_event): Handler unregistration by itself issue
when esp_event_handler_unregister_with_internal cannot take
the loop mutex (e.g., when the handler unregisters itself),
create an event with a special base identifier and add it to
the queue of the corresponding loop to postpone the removal
of the handler from the list at a time when the loop mutex can be
successfully taken.
2025-01-30 08:59:12 +01:00
Guillaume Souchere
f870a03223 fix(esp_event): Fix event loop profiling in handler_execute function
handler_execute function is looking to match the handler only in the
list of loop events but does not look in the base event handler list
nor the id event handler list. So unless the event handler is
registered to be triggered for all event bases and all event ids of
an event loop, its profiling fields (invoked and time) are not updated
when it is called.

This commit updates the search for the matching handler to also look
in base event list and ID event list.

Closes https://github.com/espressif/esp-idf/issues/15041
2025-01-30 08:59:02 +01:00
harshal.patil
646492db0c fix(esptool_py): Fix NVS partition being incorrectly marked as encrypted
- The CMake function esptool_py_partition_needs_encryption() in the esptool_py
component used to mark NVS partition as encrypted, instead it should have marked
the NVS keys partition as encrypted.
2025-01-30 12:01:21 +05:30
David Čermák
6b473288c3 Merge branch 'fix/ping_data_race_v5.4' into 'release/v5.4'
fix(lwip): Fix potential data-race in ping tcpip callback (v5.4)

See merge request espressif/esp-idf!36534
2025-01-30 14:15:06 +08:00
David Cermak
e7a0a93a40 fix(lwip): Fix potential data-race in ping tcpip callback
Need to use tcpip_api_call() instead of tcpip_callback(), since the
former waits for the tcpip task to complete and thus prevents potential
data races with subsequent TCP/IP tasks.
2025-01-29 23:34:18 +08:00
David Čermák
433817915c Merge branch 'test/bridge_v5.4' into 'release/v5.4'
[network/examples]: Fix build rules to test builds on for all targets (v5.4)

See merge request espressif/esp-idf!36629
2025-01-29 23:21:27 +08:00
Rocha Euripedes
836b594262 Merge branch 'lwip/dhcp_network_changed_fix_v5.4' into 'release/v5.4'
fix(lwip): Fixed compilation issue with LWIP_DHCP_RESTORE_LAST_IP (v5.4)

See merge request espressif/esp-idf!36619
2025-01-29 22:01:41 +08:00
Euripedes Rocha
ca7cf4de4b fix(mqtt): Regenerate certificates for testing
- Previous fix ommited one of the client certificates by mistaque.
- This regenerates all certificates to clean that up.
2025-01-29 14:03:29 +01:00
Roman Leonov
65aa60f844 fix(usb_host): Fixed unchecked return value in enum driver (coverity) 2025-01-29 12:51:39 +01:00
Zhang Hai Peng
28a78ba1fb fix(ble): Update bt lib for ESP32(194dd63)
- Fix the issue where disconnection events were not reported as a slave.
- Enhance Access Address validation in compatibility mode.


(cherry picked from commit b4e3c5c1e2)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-01-27 18:03:17 +08:00
Zhang Hai Peng
806012cc51 feat(bt): add vendor hci command and event to support test
- add afh related vendor hci command and event
- add vendor event mask command


(cherry picked from commit b225703712)

Co-authored-by: gongyantao <gongyantao@espressif.com>
2025-01-27 18:03:17 +08:00
Tomas Rezucha
cd7fab3bdc refactor(usb): Include supported PHYs information in SoC 2025-01-27 08:08:02 +01:00
Tomas Rezucha
d12312bf76 fix(usb): Fixed missing GPIO drive capability on ESP32-P4
All USB PHYs that share their IOs with GPIOs must set
the GPIO's drive capability to maximum.
2025-01-27 08:07:42 +01:00
Tomas Rezucha
febc33a094 fix(usb/host): Fixed Full Speed periodic transfers on ESP32-P4
For FS periodic endpoints 'tokens_per_frame' must be set to 8
LL usb_dwc_ll_hctsiz_set_sched_info() function.
2025-01-27 08:07:34 +01:00
Li Shuai
27f0aef7c1 fix(uart): fix esp32c61 light sleep uart wakeup failed 2025-01-26 14:54:59 +08:00
Li Shuai
e2113d927d fix(esp_hw_support): fix esp32c5 and esp32c61 wakeup failed when TOP rejects PD 2025-01-26 14:54:59 +08:00
Li Shuai
8d303248cd fix(ci): fix some ci build issues to pass ci pipeline 2025-01-26 14:54:33 +08:00
Li Shuai
325f1f33f5 refactor(esp_phy): refactor phy sleep data initialize, split it to support multiple targets 2025-01-26 14:54:33 +08:00
Li Shuai
9e1b5eb173 change(soc): fix idf_size error caused by ldgen to run success for ci pipeline 2025-01-26 14:54:33 +08:00
Li Shuai
c74a5e3e8e change(esp_hw_support): fix wifi mac rx buffer link exception caused by pll clock 2025-01-26 14:54:33 +08:00
Li Shuai
761833493a change(esp_phy): fix some wifi power save issues and optimize phy sleep for esp32c5 eco1 and beta5 2025-01-26 14:54:33 +08:00
Island
998e365a61 Merge branch 'bugfix/fix_esp32c61_eco2_ble_light_sleep_issue_v5.4' into 'release/v5.4'
fix(ble): fix rtc freq div error on esp32c61 (v5.4)

See merge request espressif/esp-idf!36601
2025-01-26 14:26:02 +08:00
David Cermak
d244c98858 fix(network/examples): Fix build rules to test builds on for all targets
Uses wifi defines only if wifi is enabled for this target
2025-01-24 17:01:41 +01:00
Abhik Roy
eed1e02fdc test(lwip): Added LWIP_DHCP_RESTORE_LAST_IP config in lwip test apps
Enabled CONFIG_LWIP_DHCP_RESTORE_LAST_IP configuration to compile and
test the DHCP last IP restore functionality in CI tests.
2025-01-24 21:35:12 +11:00
Abhik Roy
37657757ba fix(lwip): Fixed compilation issue with LWIP_DHCP_RESTORE_LAST_IP
Closes https://github.com/espressif/esp-idf/issues/14582
2025-01-24 21:35:12 +11:00
Jin Chen
4300c344ca fix(ble): fix rtc freq div error on esp32c61
(cherry picked from commit b7571dd711)

Co-authored-by: cjin <jinchen@espressif.com>
2025-01-24 12:12:01 +08:00
Mahavir Jain
649f9a72ae Merge branch 'feat/support_aes_pseudo_round_func_in_esp32h2_eco5_v5.4' into 'release/v5.4'
Support AES and XTS-AES's pseudo round function in ESP32H2-ECO5 (v5.4)

See merge request espressif/esp-idf!36463
2025-01-23 13:20:20 +08:00
Jiang Jiang Jian
52807c1f79 Merge branch 'fix/fix_p4_usb_phy_bad_suspend_on_lslp_v5.4' into 'release/v5.4'
fix(esp_hw_support): fix p4 OTG phy bad suspend cause high power consumption on sleep (v5.4)

See merge request espressif/esp-idf!36365
2025-01-23 11:04:50 +08:00
morris
206b3a22ad Merge branch 'feat/spi_std_timing_and_bit_trans_v5.4' into 'release/v5.4'
feat(driver_spi): support adjust master rx to standard timing (v5.4)

See merge request espressif/esp-idf!36399
2025-01-23 10:38:07 +08:00
wuzhenghui
cfcd8990f6 fix(esp_hw_support): fix branch predictor access flash after cache disabled 2025-01-22 19:24:48 +08:00
morris
473771bc14 Merge branch 'fix/p4_spi_slave_example_not_work_v5.4' into 'release/v5.4'
fix(driver_spi): fixed slave (and slave_hd) driver and example error with alignment check (v5.4)

See merge request espressif/esp-idf!36403
2025-01-22 18:57:59 +08:00
Island
794d8bdad3 Merge branch 'bugfix/fix_blufi_crash_v5.4' into 'release/v5.4'
fix(blufi): Fixed crash issue during memcpy in example (v5.4)

See merge request espressif/esp-idf!36552
2025-01-22 18:18:18 +08:00
Island
b05de813e3 Merge branch 'change/ble_update_lib_20250114_v5.4' into 'release/v5.4'
change(ble): [AUTO_MR] 20250114 - Update ESP BLE Controller Lib (v5.4)

See merge request espressif/esp-idf!36480
2025-01-22 18:17:46 +08:00
zwx
86fe5a7313 feat(openthread): support hardware reset RCP while processing RCP failure 2025-01-22 17:12:15 +08:00
Zhang Hai Peng
f77da0d5b5 fix(blufi): Fixed some security issue in blufi example
(cherry picked from commit abc18e93eb)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-01-22 16:34:41 +08:00
Shu Chen
9309dc5670 Merge branch 'feature/support_esp32h2eco5_phylib_v5.4' into 'release/v5.4'
feat(esp_phy): support esp32h2eco5 phylib (v5.4)

See merge request espressif/esp-idf!36208
2025-01-22 11:57:50 +08:00
zhangwenxu
73be9efbfb feat(esp_phy): support esp32h2eco5 phylib 2025-01-21 17:52:43 +08:00
Jiang Jiang Jian
e347bdd44b Merge branch 'fix/backport_wifi_fixes_v5.4' into 'release/v5.4'
fix(Wi-Fi): Backport some Wi-Fi fixes to v5.4

See merge request espressif/esp-idf!36495
2025-01-21 17:45:57 +08:00
Jiang Jiang Jian
f4721d8170 Merge branch 'bugfix/clic_register_issues_v5.4' into 'release/v5.4'
fix(soc): fix clic register definition and description (backport v5.4)

See merge request espressif/esp-idf!35590
2025-01-21 15:52:58 +08:00
renpeiying
69f788024c docs: Update CN trans for security docs 2025-01-21 12:28:23 +05:30
harshal.patil
b06a4c198a feat(bootloader_support): Permanently enable XTS-AES pseudo rounds when FE release mode is enabled 2025-01-21 12:28:23 +05:30
harshal.patil
e3acb360e3 feat(hal/spi_flash_encrypted): Enable pseudo rounds function during XTS-AES operations 2025-01-21 12:28:23 +05:30
harshal.patil
7d803e661e feat(hal/aes): Enable pseudo rounds function during AES operations 2025-01-21 12:28:23 +05:30
C.S.M
82b3f5413c feat(spi_flash): Add config for adding auto check status after suspend to improve performance 2025-01-21 14:50:23 +08:00
C.S.M
c4bb6a3970 feat(spi_flash): support software resume after suspend in unicore 2025-01-21 14:50:23 +08:00
Shu Chen
0fb61ec9e0 Merge branch 'fix/ci_restart_avahi_daemon_v5.4' into 'release/v5.4'
fix(ci): restart avahi-daemon in otbr service discovery test case (v5.4)

See merge request espressif/esp-idf!36433
2025-01-21 14:41:58 +08:00
zwx
138cd7cf24 fix(ci): restart avahi-daemon in otbr service discovery test case 2025-01-21 11:26:10 +08:00
Shu Chen
3341d6ac1b Merge branch 'fix/fix_coex_macro_control_v5.4' into 'release/v5.4'
fix(openthread): use the correct macros to control code compilation (v5.4)

See merge request espressif/esp-idf!36456
2025-01-20 19:14:13 +08:00
Xu Si Yu
149ea88752 fix(openthread): use the correct macros to control code compilation 2025-01-20 16:45:36 +08:00
morris
d512a2999a Merge branch 'refactor/usb_merge_p4_phy_backport_v5.4' into 'release/v5.4'
refactor(usb/phy): Merge P4 and S2/S3 PHYs into one module (backport 5.4)

See merge request espressif/esp-idf!36449
2025-01-20 14:34:43 +08:00
linruihao
e6e09dbc4c feat(coex): add coexist scheme for bt inquiry/page coexist with wifi 2025-01-20 14:20:29 +08:00
zhangyanjiao
9195bcbe22 fix(wifi/mesh): fixed the mesh connection failure in WPA3 mode after erasing flash
Closes https://github.com/espressif/esp-idf/issues/14095
2025-01-20 14:19:37 +08:00
Sarvesh Bodakhe
e789554997 fix(wifi): Fix bug in authmode detection for wpa2/wpa3 enterprise
WPA3-Enterprise mandates the use of AKM suite selector
00:0F:AC:5 (IEEE80211 802.1X with SHA-256)
2025-01-20 14:18:51 +08:00
Kapil Gupta
85156cceff fix(esp_wifi): Address some review comments 2025-01-20 14:18:14 +08:00
Aditi
7900eeca4e fix(wpa_supplicant): Remove the btm_rrm task from supplicant
This commit removes btm_rrm_t task and CONFIG_SUPPLICANT_TASK from
wpa_supplicant and make the functions work in wifi task's context.
2025-01-20 14:17:58 +08:00
Aditi
5f2fb56755 fix(wpa_supplicant): Fix for sending alternate ft-auth in roaming 2025-01-20 14:17:48 +08:00
Aditi
318ad17991 fix(wpa_supplicant): Add two separate flags for RRM and WNM
Added two separate flags CONFIG_RRM(80211k) and CONFIG_WNM(80211v)
    flags under IEEE80211KV support flag.
2025-01-20 14:17:38 +08:00
Aditi
3f3c3d9a14 fix(wpa_supplicant): Add some minor fixes in roaming
1) Add a fix in roaming example for 11kvr
    2) Removed length constraint for neighbor report received.
2025-01-20 14:17:27 +08:00
Aditi
bdc099af7f fix(esp_wifi): Add fix for error handling for FT-Auth 2025-01-20 14:17:17 +08:00
yinqingzhao
c725253d53 feat(wifi): add wifi support for esp32c61 eco2 2025-01-20 14:16:30 +08:00
xuxiao
dd11e4514b feat(wifi): add phy support for esp32c5 beta5 2025-01-20 14:16:12 +08:00
Martin Vychodil
86ace15e10 Merge branch 'fix/broken_fatfsgen_tests_v5.4' into 'release/v5.4'
fix(storage/fatfsgen): broken test_apps scripts for fatfsgen (v5.4)

See merge request espressif/esp-idf!36488
2025-01-18 05:39:01 +08:00
Tomáš Rohlínek
a92d5e9358 fix(storage/fatfsgen): broken test_apps scripts for fatfsgen 2025-01-17 18:31:50 +01:00
Marius Vikhammer
5fdc217858 Merge branch 'docs/correct_ulp_idf_monitor_command_v5.4' into 'release/v5.4'
docs(ulp): Fix esp_idf_monitor command for ulp monitoring (v5.4)

See merge request espressif/esp-idf!36470
2025-01-17 18:05:51 +08:00
Jiang Jiang Jian
ebd04eb2fc Merge branch 'fix/fix_esp32c2_eco4_rx_csa_ld_v54' into 'release/v5.4'
fix(wifi): fix esp32c2eco4 sta_rx_csa ld

See merge request espressif/esp-idf!36203
2025-01-17 17:42:02 +08:00
morris
cad9cc2ab2 Merge branch 'refactor/improve_the_compatible_method_on_h2_v5.4' into 'release/v5.4'
refactor(lpperi): improve compatibility solution (v5.4)

See merge request espressif/esp-idf!36422
2025-01-17 16:56:56 +08:00
Zhou Xiao
1c5f26af2b change(ble): update esp32c2 rom ld file
(cherry picked from commit e5feba6ed3)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-01-17 16:54:09 +08:00
Zhou Xiao
bf0ba2bb51 change(ble): [AUTO_MR] Update lib_esp32c2 to 7b7ee440
(cherry picked from commit c263c75897)

Co-authored-by: zhouxiao <zhouxiao@espressif.com>
2025-01-17 16:54:06 +08:00
Zhou Xiao
cc1b79e98c change(ble): [AUTO_MR] Update lib_esp32c6 to bbc1903d
(cherry picked from commit 06a6b311a8)

Co-authored-by: zhouxiao <zhouxiao@espressif.com>
2025-01-17 16:54:04 +08:00
Zhou Xiao
1f8539e9b3 change(ble): [AUTO_MR] Update lib_esp32h2 to bbc1903d
(cherry picked from commit 4f5f0b0954)

Co-authored-by: zhouxiao <zhouxiao@espressif.com>
2025-01-17 16:54:02 +08:00
Sudeep Mohanty
36139f8620 docs(ulp): Fix esp_idf_monitor command for ulp monitoring
The commit fixes the esp_idf_monitor command for monitoring ulp serial
output as mentioned in the docs.
2025-01-17 08:29:19 +01:00
Jiang Jiang Jian
e7e3d5924e Merge branch 'fix/fix_tsens_power_after_modem_wakeup_v5.4' into 'release/v5.4'
fix(esp_hw_support): fix tsensor power enable failed after modem state wakeup (v5.4)

See merge request espressif/esp-idf!36228
2025-01-17 11:45:25 +08:00
Jiang Jiang Jian
58cc66ac65 Merge branch 'ci/iperf_esp32p4_v5.4' into 'release/v5.4'
ci(esp_eth): added ESP32P4 to iperf CI test (v5.4)

See merge request espressif/esp-idf!36389
2025-01-17 11:44:15 +08:00
Jiang Jiang Jian
26fd34b864 Merge branch 'fix/lwip_ping_getnetif_threadsafe_v5.4' into 'release/v5.4'
fix(lwip): Fix ping session calling thread unsafe API (v5.4)

See merge request espressif/esp-idf!36379
2025-01-17 11:43:24 +08:00
Jiang Jiang Jian
192874f939 Merge branch 'change/ble_update_lib_20250103_v5.4' into 'release/v5.4'
change(ble): [AUTO_MR] 20250103 - Update ESP BLE Controller Lib (v5.4)

See merge request espressif/esp-idf!36373
2025-01-17 11:42:18 +08:00
wangtao@espressif.com
18aced40f9 fix(wifi): fix esp32c2eco4 sta_rx_csa ld 2025-01-17 11:41:43 +08:00
gaoxiaojie
58df18a361 fix(soc): fix clic register define and add description 2025-01-17 11:40:50 +08:00
Jiang Jiang Jian
74896d4187 Merge branch 'feature/efuse_update_for_esp32h2_eco5_v5.4' into 'release/v5.4'
feat(efuse): Adds efuses for esp32h2 eco5 (v5.4)

See merge request espressif/esp-idf!36238
2025-01-17 11:39:31 +08:00
Jiang Jiang Jian
054a0be454 Merge branch 'bugfix/sync_buf_crash_v5.4' into 'release/v5.4'
fix(bt/controller): fixed missing critical protections on linked-list structure of (e)SCO buffers (v5.4)

See merge request espressif/esp-idf!36340
2025-01-17 11:38:28 +08:00
wanckl
6c6454357c feat(driver_spi): support using SPI_DEVICE_STD_TIMING to adjust master rx in standard timing 2025-01-17 10:51:47 +08:00
Shu Chen
f4e4591180 Merge branch 'fix/set_154_cca_duration_v5.4' into 'release/v5.4'
fix(15.4): set 15.4 energy scan duration before cca (v5.4)

See merge request espressif/esp-idf!36424
2025-01-17 09:27:19 +08:00
Tomas Rezucha
f1fa7b1408 refactor(usb/phy): Merge P4 and S2/S3 PHYs into one module
P4 had separate PHY implementation for initial bring-up,
now we can merge it with the original PHY driver.
2025-01-16 10:19:31 +01:00
Jiang Jiang Jian
fbd97514df Merge branch 'fix/backport_wifi_fixes_v5.4' into 'release/v5.4'
fix(wifi): backport wifi fixes to v5.4

See merge request espressif/esp-idf!36330
2025-01-16 17:16:13 +08:00
morris
9fb37219a2 Merge branch 'refactor/cleanup_usb_phy_v5.4' into 'release/v5.4'
Cleanup USB PHY (backport v5.4)

See merge request espressif/esp-idf!36236
2025-01-16 16:53:31 +08:00
Xu Si Yu
35a590c437 fix(15.4): set 15.4 energy scan duration before cca 2025-01-16 11:45:29 +08:00
laokaiyao
889537960e refactor(lpperi): improve compatibility solution 2025-01-16 10:21:17 +08:00
Ondrej Kosta
a2eba1e25a ci(esp_eth): added ESP32P4 to iperf CI test
Updated (increased) ETH_THROUGHPUT_SPI_ETH limits.
Improved iperf optimization description
2025-01-15 22:53:04 +08:00
Nachiket Kukade
ba8494eb87 fix(wpa_supplicant): Fix some coverity issues in wpa_supplicant
1. Fix leak in SoftAP while sending SAE Confirm
2. Move NULL check before pointer is getting used
3. Remove some dead code
2025-01-15 19:42:12 +05:30
wangtao@espressif.com
08db2390e5 fix(wifi): fix build issue when disable wpa3 sae 2025-01-15 19:42:12 +05:30
Shreyas Sheth
29a95d30cc fix(wifi): Resolve comments for softap fixes 2025-01-15 19:42:12 +05:30
Shreyas Sheth
913999b8c3 fix(wifi): Resolve comments on feature/softap_fixes_for_ceritification 2025-01-15 19:42:11 +05:30
Shreyas Sheth
98c47bbfae fix(wifi): Make sure auth is sent after sae process 2025-01-15 19:42:11 +05:30
Shreyas Sheth
81070bce92 feat(wifi): Add support for transition_disable for softAP
Bugfix rsnxe len for assoc req
2025-01-15 19:42:11 +05:30
liuning
ce124478f1 fix(wifi): fix double max active time, fix coex pwr period cant been updated by ps type set 2025-01-15 19:42:11 +05:30
liuning
fbe0e5a358 feat(coex): update coexist debug default event 2025-01-15 19:42:11 +05:30
Sarvesh Bodakhe
716c5731ec feat(wpa_supplicant): Add WIFI_EVENT_AP_WRONG_PASSWORD in SoftAP
This event is triggered when external station tries connecting to softAP
with wrong password.

Currently supported softAP AUTH modes: WPA-PSK, WPA2-PSK and WPA3-PSK (SAE-auth)
2025-01-15 19:42:11 +05:30
yinqingzhao
3fca3a1223 fix(wifi): expend bit width of channel in rxctrl 2025-01-15 19:42:11 +05:30
yinqingzhao
f890bbe616 feat(wifi): wifi support 80211tx using 11ax and 11ac rate 2025-01-15 19:42:11 +05:30
wangtao@espressif.com
3c8926d3b6 fix(wifi): fix hostap recv unassoc pspoll send deauth issue 2025-01-15 19:42:11 +05:30
Rahul Tank
2ebbfef5f4 Merge branch 'bugfix/fix_compilation_warn_v5.4' into 'release/v5.4'
fix(nimble): Address compilation warnings for different flag combination (v5.4)

See merge request espressif/esp-idf!36392
2025-01-15 21:33:32 +08:00
Roland Dobai
a84b03dd41 Merge branch 'fix/remove_duplicates_from_sdkconfig_renames_v5.4' into 'release/v5.4'
fix: remove duplicit lines from sdkconfig.rename files (v5.4)

See merge request espressif/esp-idf!36346
2025-01-15 17:58:26 +08:00
morris
1cb5c64fc0 Merge branch 'refactor/update_lpperi_regs_for_h2_eco5_v5.4' into 'release/v5.4'
refactor(lpperi): compatible refactor for H2 ECO5 (v5.4)

See merge request espressif/esp-idf!36335
2025-01-15 16:09:59 +08:00
wanckl
86741aebd4 fix(driver_spi): fixed slave example error on esp32p4 2025-01-15 16:03:12 +08:00
wanckl
273f2be226 fix(driver_spi): fixed slave_hd driver transaction alignment check 2025-01-15 16:03:12 +08:00
Rahul Tank
7029c169cb fix(nimble): Fix compilation issues for different flag combinations 2025-01-15 10:09:52 +05:30
morris
a75eab44ba Merge branch 'change/bs_cmake_cleanup_v5.4' into 'release/v5.4'
feat(gdma): added help function to count the bytes in the receive buffer (v5.4)

See merge request espressif/esp-idf!36375
2025-01-15 12:27:10 +08:00
morris
bd5c6b0645 Merge branch 'contrib/github_pr_15144_v5.4' into 'release/v5.4'
fix(twai): TWAI_GENERAL_CONFIG_DEFAULT_V2 initialize general_flags (GitHub PR) (v5.4)

See merge request espressif/esp-idf!36323
2025-01-15 12:26:58 +08:00
Shu Chen
3b41c1a5a0 Merge branch 'feat/update_thread_lib_v5.4' into 'release/v5.4'
fix(openthread): update SRP server to support zero subtype (v5.4)

See merge request espressif/esp-idf!36345
2025-01-15 10:57:46 +08:00
David Cermak
d715abb8fd fix(lwip): Fix ping session calling thread unsafe API
Closes https://github.com/espressif/esp-idf/issues/14982
2025-01-14 11:25:31 +01:00
Zhou Xiao
dace9697b5 change(ble): updated esp_bt.h controller config for ESP32-C5 2025-01-14 17:52:59 +08:00
zwl
6bdfda8169 fix(ble): fixed esp_ble_tx_power_set api issue on ESP32-C5 2025-01-14 17:50:56 +08:00
zwl
be796ba6c7 feat(ble): support for putting ble code into flash on ESP32-C5 2025-01-14 17:50:48 +08:00
zhouxiao
4bcbad08ea change(ble): Update lib_esp32c5 to 3422b706 2025-01-14 17:50:37 +08:00
Zhou Xiao
d4ebd1ec26 fix(ble): fixed ld file for c2eco0 and c2eco4
(cherry picked from commit 937fe2a6e3)

Co-authored-by: zhouxiao <zhouxiao@espressif.com>
2025-01-14 17:45:32 +08:00
morris
2d6bc67fb5 feat(gdma): added API to count the size of rx buffer until eof 2025-01-14 16:39:05 +08:00
Zhou Xiao
52b06af63f fix(ble): fixed esp_ble_tx_power_set api issue on ESP32-H2
(cherry picked from commit d2b62f2130)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-01-14 14:54:51 +08:00
Zhou Xiao
7d6ce29de9 fix(ble): fixed esp_ble_tx_power_set api issue on ESP32-C6
(cherry picked from commit 8d6ec12838)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-01-14 14:54:49 +08:00
Zhou Xiao
a190bae264 fix(ble): fixed esp_ble_tx_power_set api issue on ESP32-C2
(cherry picked from commit 6a752eeb89)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-01-14 14:54:47 +08:00
Zhou Xiao
d1a1156d4d feat(ble): support for putting ble code into flash on ESP32-H2
(cherry picked from commit 5a9acdc379)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-01-14 14:54:45 +08:00
Zhou Xiao
8fb74a1235 feat(ble): support for putting ble code into flash on ESP32-C6
(cherry picked from commit 02d6d6fd73)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-01-14 14:54:43 +08:00
Zhou Xiao
00fb58c133 change(ble): Update lib_esp32c2 to 2a00fb0b
(cherry picked from commit 7cd3fe6953)

Co-authored-by: zhouxiao <zhouxiao@espressif.com>
2025-01-14 14:54:40 +08:00
Zhou Xiao
d63157b914 change(ble): Update lib_esp32c6 to 3422b706
(cherry picked from commit 4fc95fa91f)

Co-authored-by: zhouxiao <zhouxiao@espressif.com>
2025-01-14 14:54:38 +08:00
Zhou Xiao
59a90dd17c change(ble): Update lib_esp32h2 to 3422b706
(cherry picked from commit fe5a12e7e7)

Co-authored-by: zhouxiao <zhouxiao@espressif.com>
2025-01-14 14:54:36 +08:00
wuzhenghui
9b7ce542f2 fix(esp_hw_support): fix p4 OTG phy bad suspend cause high power consumption on sleep 2025-01-14 14:22:39 +08:00
Mahavir Jain
9acf088718 Merge branch 'bugfix/update_api_to_get_url_correctly_v5.4' into 'release/v5.4'
fix(esp_http_client): updated API esp_http_client_get_url() to get URL in correct format (v5.4)

See merge request espressif/esp-idf!36331
2025-01-14 12:45:07 +08:00
Jan Beran
350d38f989 fix: remove duplicit lines from sdkconfig.rename files 2025-01-13 09:07:21 +01:00
Mahavir Jain
c8bb53292d Merge branch 'fix/return_esp_err_t_for_httpd_req_get_url_query_str_v5.4' into 'release/v5.4'
feat(https_server): Added checks to verify if uri is empty (v5.4)

See merge request espressif/esp-idf!36286
2025-01-13 15:57:45 +08:00
Tan Yan Quan
ddd0843d0e fix(openthread): update SRP server to support zero subtype/v5.4 2025-01-13 15:24:47 +08:00
morris
cf1692c96c Merge branch 'bugfix/reset_axi_gdma_gracefully_v5.4' into 'release/v5.4'
fix(gdma): stop the axi gdma gracefully on CPU SW reset (v5.4)

See merge request espressif/esp-idf!36283
2025-01-13 15:12:26 +08:00
Jin Cheng
6d1b21b167 fix(bt/controller): fixed missing critical protections on linked-list structure of (e)SCO buffers 2025-01-13 14:52:28 +08:00
laokaiyao
25f64d9cbd refactor(lpperi): compatible refactor for H2 ECO5 2025-01-13 14:36:00 +08:00
nilesh.kale
90d2dbad99 fix(esp_http_client): updated API esp_http_client_get_url to get URL in correct format
This commit updates the API to include the port number in the URL,
which was previously missing.
2025-01-13 11:14:20 +05:30
Rahul Tank
c6637ae369 Merge branch 'bugfix/fix_few_nimble_issues_v5.4' into 'release/v5.4'
fix(nimble): Fix few nimble issues 11012025 (v5.4)

See merge request espressif/esp-idf!36310
2025-01-13 13:24:50 +08:00
Shu Chen
1ceb4e4682 Merge branch 'feature/154_api_enhancement_for_mp_v5.4' into 'release/v5.4'
feat(802.15.4): support register isr callback (v5.4)

See merge request espressif/esp-idf!36198
2025-01-13 10:57:07 +08:00
morris
6af9dc6934 test(twai): add cxx build test 2025-01-13 10:13:56 +08:00
Nebojsa Cvetkovic
b1abc47d74 fix(twai): TWAI_GENERAL_CONFIG_DEFAULT_V2 initialize general_flags
Closes https://github.com/espressif/esp-idf/pull/15144
2025-01-13 10:13:53 +08:00
morris
93f91c4f0f Merge branch 'ci/re_enable_i2s_pytest_exceptions_v5.4' into 'release/v5.4'
ci(i2s): re-enable example pytest exceptions (v5.4)

See merge request espressif/esp-idf!36312
2025-01-11 22:13:32 +08:00
laokaiyao
c61b2c4095 ci(i2s): re-enable example pytest exceptions 2025-01-10 20:20:04 +08:00
Abhinav Kudnar
3f4dd2bf35 feat(nimble): Additional changes in PAWR IDF Examples/support for ESP IP 2025-01-10 17:11:32 +05:30
Rahul Tank
99af3abadf fix(nimble): Fixed a typo in Kconfig file 2025-01-10 17:11:16 +05:30
Astha Verma
d9de2b7dde fix(nimble): Added HCI_Read_Remote_Version_Information command 2025-01-10 17:10:43 +05:30
Rahul Tank
1bbc6fb9b8 fix(nimble): Clear our and peer security records during unpair 2025-01-10 17:09:51 +05:30
Roland Dobai
72112c3fda Merge branch 'feature/add_utf_8_decoding_v5.4' into 'release/v5.4'
feat(tools): Enforced utf-8 encoding with Python open() functions (v5.4)

See merge request espressif/esp-idf!36125
2025-01-10 19:26:10 +08:00
Roland Dobai
f6ad4d5056 Merge branch 'fix/test_idf_gdb_v5.4' into 'release/v5.4'
test(system): mark gdb test runners properly (v5.4)

See merge request espressif/esp-idf!35586
2025-01-10 18:15:32 +08:00
Island
fe24a1c835 Merge branch 'feat/add_config_for_ble_vs_qa_cmd_v5.4' into 'release/v5.4'
fixed interrupt WDT when shutdown bt controller on ESP32(ba6739f) (v5.4)

See merge request espressif/esp-idf!36176
2025-01-10 14:17:41 +08:00
Marek Fiala
b37383f75b feat(tools): Enforce utf-8 encoding with open() function 2025-01-10 13:52:58 +08:00
Roland Dobai
73d1c139e7 Merge branch 'ci/improve_overall_logging_v5.4' into 'release/v5.4'
ci: target-test job skip installing toolchain, only install python env (v5.4)

See merge request espressif/esp-idf!34905
2025-01-10 13:52:24 +08:00
zwx
699af05b57 feat(802.15.4): introduced a feature for registering 802.15.4 ISR callbacks 2025-01-10 13:51:30 +08:00
hrushikesh.bhosale
f96a118ebf feat(https_server): Added checks to verify if uri is empty
Added the checks if the URI is empty for the funtions httpd_req_get_url_query_len
and httpd_req_get_url_query_str in httpd_parser.c
2025-01-10 11:09:31 +05:30
morris
098ecb1cf1 Merge branch 'bugfix/uart_single_wire_mode_v5.4' into 'release/v5.4'
fix(uart): allow same pin for tx and rx in uart_set_pin; UART_SELECT_READ_NOTIF race conditon fix (v5.4)

See merge request espressif/esp-idf!36250
2025-01-10 11:39:53 +08:00
wuzhenghui
667011cd46 fix(esp_hw_support): fix tsens power enable failed after modem state wakeup 2025-01-10 10:21:39 +08:00
morris
605fb6e894 fix(dma): abort the axi dma gracefully on CPU SW reset 2025-01-10 10:14:36 +08:00
Fu Hanxi
be2ec1615c ci: target-test job skip installing toolchain, only install python env
also run with collapsed time section to better track run time
2025-01-10 02:25:32 +08:00
Fu Hanxi
7e465dd526 ci: ignore test-specific 3rd-party libs while building clang projects 2025-01-10 02:25:32 +08:00
Fu Hanxi
e1781df75b feat: idf_tools.py export support env var "IDF_SKIP_TOOLS_CHECK" 2025-01-10 02:25:32 +08:00
Fu Hanxi
f326d5d7ce ci: print esp-coredump output when failed in panic tests 2025-01-10 02:25:32 +08:00
Fu Hanxi
ffdb0f012e ci: remove gcc dependency in target test 2025-01-10 02:25:32 +08:00
Fu Hanxi
257878ddb4 ci: change logging level from debug to info for build jobs 2025-01-10 02:25:32 +08:00
Fu Hanxi
ffbdd8a145 ci: add timeout for build jobs 2025-01-10 02:25:32 +08:00
Fu Hanxi
e0f374d92b ci: stop print presigned url, since the credential is masked 2025-01-10 02:25:32 +08:00
Erhan Kurubas
8aabaea4f5 change(cmake): use board configuration file for ftdi interface 2025-01-09 12:39:23 +01:00
Erhan Kurubas
e565643a3b test(system): mark gdb test runners properly 2025-01-09 12:37:19 +01:00
Roland Dobai
5bb41c4932 Merge branch 'feature/move-gdb-options-to_project_description_json_v5.4' into 'release/v5.4'
feat(debugging): move gdbinit generation to CMake (v5.4)

See merge request espressif/esp-idf!35175
2025-01-09 18:58:23 +08:00
morris
a45778a028 Merge branch 'feat/ldo_can_output_3v3_v5.4' into 'release/v5.4'
feat(ldo): support output rail voltage (3.3V) (v5.4)

See merge request espressif/esp-idf!36130
2025-01-09 17:15:00 +08:00
Jiang Jiang Jian
db6e451f14 Merge branch 'bugfix/channel_resolution_calculation_v5.4' into 'release/v5.4'
fix(rmt): channel resolution divider rounding issue (v5.4)

See merge request espressif/esp-idf!36032
2025-01-09 11:38:53 +08:00
Jiang Jiang Jian
5747e16f74 Merge branch 'fix/blufi_example_mem_access_v5.4' into 'release/v5.4'
fix(ble/blufi): Fixed blufi example security issue (v5.4)

See merge request espressif/esp-idf!36164
2025-01-09 11:38:08 +08:00
Jiang Jiang Jian
dd00aa1776 Merge branch 'fix/heap-allocate-in-rtc-iram_v5.4' into 'release/v5.4'
fix(heap): MALLOC_CAP_EXEC does not allocate in RTC IRAM (backport v5.4)

See merge request espressif/esp-idf!35623
2025-01-09 11:36:16 +08:00
Jiang Jiang Jian
7317a6213c Merge branch 'docs/update_cn_vfs_v5.4' into 'release/v5.4'
docs: Update CN translation for vfs.rst (v5.4)

See merge request espressif/esp-idf!35404
2025-01-09 11:35:25 +08:00
Island
4986601e66 Merge branch 'bugfix/fix_some_ble_bugs_241224_esp32c3_v5.4' into 'release/v5.4'
Fixed some BLE bugs 241224 on ESP32C3(fd62b31) (v5.4)

See merge request espressif/esp-idf!36196
2025-01-09 11:35:07 +08:00
chenjianhua
ecf663cb7d fix(bt): Update bt lib for ESP32(ba6739f)
- Fixed assert in lld_evt.c at line 2353
- Fixed interrupt WDT when shutdown bt controller
- Added config for BLE vendor HCI QA command
- Added config for BLE channel assessment and ping procedure
2025-01-09 10:39:10 +08:00
Island
96c2beeef2 Merge branch 'docs/refactor_ceva_bt_controller_api_v5.4' into 'release/v5.4'
docs(ble): Refactored the API reference for esp32/c3/s3 BT controller (v5.4)

See merge request espressif/esp-idf!35353
2025-01-09 10:36:03 +08:00
Wei Yu Han
3e49a5fb68 docs(ble): Refactored the API reference for esp32/c3/s3 BT controller (v5.4) 2025-01-09 10:36:03 +08:00
Marius Vikhammer
8612033b17 Merge branch 'fix/ringbuf_receives_after_aq_wraparound_v5.4' into 'release/v5.4'
fix(esp_ringbuf): Fixed no-split ringbuf issue where acquire pointer  wraps around (v5.4)

See merge request espressif/esp-idf!35867
2025-01-09 09:30:18 +08:00
morris
ac6e1341c4 Merge branch 'fix/flash_noos_issues_v5.4' into 'release/v5.4'
flash: fixed some no_os API issues (v5.4)

See merge request espressif/esp-idf!35791
2025-01-08 22:12:16 +08:00
Rahul Tank
92fab01566 Merge branch 'bugfix/fix_csfc_write_nvs_v5.4' into 'release/v5.4'
fix(nimble): Corrected storing method of csfc to nvs (v5.4)

See merge request espressif/esp-idf!36165
2025-01-08 21:47:47 +08:00
Alex Bethel
441effd499 docs: Fix gpio_dump_io_configuration typo in docs
The mentioned `gpio_dump_all_io_configuration` function doesn't exist,
the correct function is `gpio_dump_io_configuration`.

Merges https://github.com/espressif/esp-idf/pull/15031
2025-01-08 20:40:53 +08:00
Song Ruo Jing
131330034a fix(uart): allow same pin for tx and rx in uart_set_pin
Closes https://github.com/espressif/esp-idf/issues/14787
2025-01-08 20:38:11 +08:00
Sergei Silnov
6d888a9584 Merge branch 'ci/pre-commit-idf-build-apps-version_v5.4' into 'release/v5.4'
ci: update idf-build-apps version in pre-commit (v5.4)

See merge request espressif/esp-idf!35465
2025-01-08 19:58:56 +08:00
Song Ruo Jing
f693485ad0 fix(uart): fix race condition with the use of UART_SELECT_READ_NOTIF
UART_SELECT_READ_NOTIF needs to be sent after received data got processed
to avoid the potential race condition
2025-01-08 19:44:36 +08:00
Konstantin Kondrashov
a98c20d4e0 feat(espefuse): Adds efuses for esp32h2 eco5
- Support efuses that are not present in the main efuse table
2025-01-08 11:16:49 +02:00
Tomas Rezucha
f93e1bc43b refactor(usb/phy): Start using values from usb_dwc_info in PHY driver
Add tests for PHY sanity checks
2025-01-08 09:26:48 +01:00
Tomas Rezucha
b78bcaea36 refactor(usb/phy): Do not use deprecated variables in usb_phy 2025-01-08 09:26:41 +01:00
Tomas Rezucha
ac3a3f801d feat(hal/usb): Explicitly enable clock and reset USB WRAP on init 2025-01-08 09:25:42 +01:00
Shu Chen
d43f647f80 Merge branch 'feat/support_setting_event_for_154_txrx_5_4' into 'release/v5.4'
feat(15.4): support setting 15.4 txrx pti when coex is enabled (backport to 5.4)

See merge request espressif/esp-idf!36109
2025-01-08 16:09:36 +08:00
Rahul Tank
128534dd66 fix(nimble): Corrected storing method of csfc to nvs 2025-01-08 13:04:31 +05:30
Marius Vikhammer
dc23968cc2 Merge branch 'fix/esp32p4_unexpected_reset_v5.4' into 'release/v5.4'
fix(system): avoid unexcpected hp_sys_wdt reset (v5.4)

See merge request espressif/esp-idf!35801
2025-01-08 13:40:40 +08:00
morris
c4b2f65031 Merge branch 'feat/rmt_return_real_channel_resolution_v5.4' into 'release/v5.4'
feat(rmt): add API to return the real clock resolution of a channel (v5.4)

See merge request espressif/esp-idf!35901
2025-01-08 11:23:31 +08:00
Marius Vikhammer
589020f0df Merge branch 'docs/remove_coex_doxy_v5.4' into 'release/v5.4'
docs(doxygen): removed coex header from doxyfile (v5.4)

See merge request espressif/esp-idf!36222
2025-01-08 10:32:51 +08:00
morris
cfc878a650 Merge branch 'refactor/cleanup_usb_phy_backport_v5.4' into 'release/v5.4'
fix(usb/host): Fix reaction on High-Speed NYET packet (backport v5.4)

See merge request espressif/esp-idf!36119
2025-01-08 10:22:50 +08:00
Marius Vikhammer
ef9bbf344b docs(doxygen): removed coex header from doxyfile
Failing to build due to missing comments, but the header was
never included in the docs anyway, so might as well remove it.
2025-01-08 09:38:35 +08:00
Rahul Tank
ad9e0d5b7c Merge branch 'bugfix/ble_common_issues_v5.4' into 'release/v5.4'
Bugfix/ble common issues v5.4

See merge request espressif/esp-idf!35790
2025-01-07 23:35:21 +08:00
Armando
4a9fb951cf fix(cache): fixed cache hal ctx not initialised in app issue 2025-01-07 20:08:02 +08:00
Armando
8c8f8836e5 fix(spi_flash): fixed no_os flash API not consider branch predictor on c5/c61 2025-01-07 20:08:02 +08:00
Armando
49826c241b fix(spi_flash): fixed no_os flash API not consider cache states issue on h2/p4/c6/c5/c61 2025-01-07 20:08:02 +08:00
Erhan Kurubas
954132b68a fix(system): avoid unexcpected hp_sys_wdt reset 2025-01-07 20:07:17 +08:00
Rahul Tank
71b0d14b21 fix(nimble): Fix compilation issue in esp_hid_host example 2025-01-07 16:27:20 +05:30
Rahul Tank
8163aa8496 fix(nimble): Address few coverity reported issues
1. Overflowed constant (INTEGER_OVERFLOW): Added change to typecast
value
2. Structurally dead code: Removed dead code
3. Resource leak: Added a free for allocated memory, in case of failure
4. too_few_printf_args: Corrected print statement to pass arguments
5. Fixed nesting levels
6. Fixed unused value warnings
7. Illegal memory access fix
2025-01-07 16:27:18 +05:30
Abhinav Kudnar
c28509987c fix(nimble): Save the gatt context in case of preemption 2025-01-07 16:23:19 +05:30
Rahul Tank
594137b0e3 fix(nimble): Fix compilation issue for combination of Ext Adv and Reattempt conn flag 2025-01-07 16:23:19 +05:30
Rahul Tank
8108f35850 fix(nimble): Add ATT Tx queue cleanup during link disconnection 2025-01-07 16:23:19 +05:30
Rahul Tank
0dc38beb81 fix(nimble): Fix compilation issues when BLE_MAX_STORE_BOND is set to 0 2025-01-07 16:23:19 +05:30
Shreeyash
b5dd19e613 fix(nimble): Added a check for invalid offset 2025-01-07 16:23:19 +05:30
shreeyash
0aab10f023 fix(nimble): Updated peer OTA address type 2025-01-07 16:23:19 +05:30
Astha Verma
53744fe62c fix(nimble): fix memory leak issue in Blufi example 2025-01-07 16:23:19 +05:30
Astha Verma
f84739cce0 fix(nimble): Added a function for printing HCI error definition 2025-01-07 16:23:19 +05:30
Abhinav Kudnar
408d841dfe fix(nimble): Changing esp_rom_printf to ESP_LOGI when memory allocation fails 2025-01-07 16:23:18 +05:30
Rahul Tank
fc3ecc2527 fix(nimble): Corrected link_estab event handling parameters 2025-01-07 16:23:17 +05:30
Shu Chen
ebd77e121d Merge branch 'feat/set_get_ack_timeout_v5.4' into 'release/v5.4'
feat(802.15.4): add api for set/get ack timeout (v5.4)

See merge request espressif/esp-idf!36085
2025-01-07 14:54:16 +08:00
Zhuang Hang
e9220ca8e6 feat(802.15.4): add api for set/get ack timeout (v5.4) 2025-01-07 14:54:16 +08:00
Chen Jian Hua
331e368647 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(fd62b31)
- Fixed periodic adv enable params checking
- Fixed BLE assert lld_scan.c 1728 when receiving directed adv
- Support resolving RPA to identity address when creating connection
- Fixed BLE assert rwble.c 505 param 00400010
- Fixed peer address type error in HCI LE meta event
- Fixed setting random address failed when extended adv is enabled


(cherry picked from commit 326f391f9c)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-01-07 14:33:39 +08:00
Rahul Tank
03a4e24394 fix(nimble): Fixes for security vulnerabilities reported in NimBLE 2025-01-07 10:19:30 +05:30
Astha Verma
bc29f45224 fix(nimble): added a function for printing HCI error definition 2025-01-07 10:19:30 +05:30
Xu Si Yu
59cd4c481d feat(15.4): support setting 15.4 txrx pti when coex is enabled 2025-01-07 12:23:24 +08:00
Xu Si Yu
a4843338e8 fix(openthread): fix openthread radio spinel deinit 2025-01-07 12:22:16 +08:00
Xu Si Yu
17ec36e3e0 fix(openthread): fix a naming error of kconfig 2025-01-07 12:21:38 +08:00
Shu Chen
488c9c6d3f Merge branch 'feature/change_ot_ci_cases_wlan_to_ethernet_v5.4' into 'release/v5.4'
feat(openthread): change wlan to ethernet (Backport v5.4)

See merge request espressif/esp-idf!35742
2025-01-07 10:58:54 +08:00
Jiang Jiang Jian
6345fd74a4 Merge branch 'bugfix/enable_eap_workarounds_v5.4' into 'release/v5.4'
fix(esp_wifi): Enable EAP workarounds by default (v5.4)

See merge request espressif/esp-idf!36152
2025-01-07 10:56:16 +08:00
Jiang Jiang Jian
f58ca2bde3 Merge branch 'fix/fix_flash_clock_changed_after_sleep_bak_v5.4' into 'release/v5.4'
fix(esp_hw_support): fix mspi clock freq changed after lightsleep (v5.4)

See merge request espressif/esp-idf!36002
2025-01-07 10:55:43 +08:00
Jiang Jiang Jian
7cd2a1483e Merge branch 'fix/fix_p4_deepsleep_io_leakage_v5.4' into 'release/v5.4'
fix(esp_hw_support): fix esp32p4 JTAG pad deepsleep current leakage (v5.4)

See merge request espressif/esp-idf!36008
2025-01-07 10:53:13 +08:00
Jiang Jiang Jian
ca4133f2c3 Merge branch 'fix/fix_flash_leakage_workaroud_config_dependcy_v5.4' into 'release/v5.4'
fix(esp_hw_support): fix FLASH leakage workaround kconfig dependcy (v5.4)

See merge request espressif/esp-idf!35990
2025-01-07 10:52:25 +08:00
Jiang Jiang Jian
0cdeed5329 Merge branch 'fix/fix_pm_trace_rtc_domain_keeping_v5.4' into 'release/v5.4'
fix(esp_pm): enable RTC_PERIPH domain once in esp_pm_trace_init (v5.4)

See merge request espressif/esp-idf!35997
2025-01-07 10:52:07 +08:00
Jiang Jiang Jian
805b4d3158 Merge branch 'bugfix/fix_some_wifi_bugs_20241221_v5.4' into 'release/v5.4'
fix some wifi bugs 20241221(Backport v5.4)

See merge request espressif/esp-idf!35861
2025-01-07 10:51:30 +08:00
Jiang Jiang Jian
93f7ae66c2 Merge branch 'ci/add_build_test_eco_versions_v5.4' into 'release/v5.4'
ci: add build test for eco versions (v5.4)

See merge request espressif/esp-idf!35818
2025-01-07 10:50:58 +08:00
Jiang Jiang Jian
19dcf3c1a8 Merge branch 'fix/lwip_autoip_next_addr_after_rate_limit_v5.4' into 'release/v5.4'
fix(lwip): Fix AUTOIP new address after rate limit (v5.4)

See merge request espressif/esp-idf!35842
2025-01-07 10:50:32 +08:00
Jiang Jiang Jian
55fb426d2e Merge branch 'bugfix/fix_sniffer_fail_on_ci_v5.4' into 'release/v5.4'
fix(ci): Enlarge the pcap memory size in sniffer example (v5.4)

See merge request espressif/esp-idf!35698
2025-01-07 10:49:48 +08:00
Jiang Jiang Jian
6d7225f336 Merge branch 'bugfix/ws_head_buf_size_v5.4' into 'release/v5.4'
fix(tcp_transport): Fix websocket header read to handle overflow (v5.4)

See merge request espressif/esp-idf!35667
2025-01-07 10:49:25 +08:00
Jiang Jiang Jian
5b09d8d66e Merge branch 'fix/esp_netif_ppp_nullptr_check_v5.4' into 'release/v5.4'
fix(esp_netif): Prevent null deref when checking netif type (v5.4)

See merge request espressif/esp-idf!35670
2025-01-07 10:48:30 +08:00
Jiang Jiang Jian
95dd312cb0 Merge branch 'bugfix/fix_ble_disconn_error_on_c61_v5.4' into 'release/v5.4'
fix(ble): fix btbb retention register size on esp32c61 (v5.4)

See merge request espressif/esp-idf!35257
2025-01-07 10:47:51 +08:00
Jiang Jiang Jian
176b9c9dba Merge branch 'fix/fix_esp32c2_ld_issue_v54' into 'release/v5.4'
fix(wifi): fix esp32c2 ld issue

See merge request espressif/esp-idf!35610
2025-01-07 10:47:32 +08:00
Jiang Jiang Jian
9b9f991ec5 Merge branch 'enable_esp32c5_ci_test_v5.4' into 'release/v5.4'
fix(ci): enable esp32c5 eco1 ci test (Backport v5.4)

See merge request espressif/esp-idf!34899
2025-01-07 10:46:33 +08:00
morris
8379cd7b92 Merge branch 'feature/isp_dvp_example_v5.4' into 'release/v5.4'
feat(dvp_isp_dsi_example): add new option to connect a DVP camera sensor (ov2640) through ISP_DVP (v5.4)

See merge request espressif/esp-idf!35973
2025-01-07 10:45:23 +08:00
morris
e456840f2c Merge branch 'feat/mcpwm_sleep_retention_support_p4_v5.4' into 'release/v5.4'
feat(mcpwm): support mcpwm sleep retention on p4 (v5.4)

See merge request espressif/esp-idf!35342
2025-01-07 10:42:39 +08:00
morris
92208b309d Merge branch 'feat/support_step_notify_on_h2eco5_v5.4' into 'release/v5.4'
feat(pcnt): support step_notify on esp32h2 eco5 (v5.4)

See merge request espressif/esp-idf!35620
2025-01-07 10:38:10 +08:00
Shu Chen
8b1b4df6f7 Merge branch 'feature/add_rx_buff_statistic_v5.4' into 'release/v5.4'
feat(802.15.4): IEEE802.15.4 add rx buffer statistic (v5.4)

See merge request espressif/esp-idf!35639
2025-01-07 10:34:54 +08:00
Shu Chen
89e47be331 Merge branch 'feat/example_connect_thread_v5_4' into 'release/v5.4'
feat(protocol_examples_common): Add Thread connect to support Thread for the protocol examples(v5.4)

See merge request espressif/esp-idf!36090
2025-01-07 10:34:12 +08:00
Shu Chen
0731b3c14d Merge branch 'feature/use_fixed_dut_in_ot_ci_cases_v5.4' into 'release/v5.4'
feat(openthread): use fixed port in ot ci cases (Backport v5.4)

See merge request espressif/esp-idf!36048
2025-01-07 10:34:02 +08:00
Shu Chen
2e06b60757 Merge branch 'fix/openthread_dns_hook_v5_4' into 'release/v5.4'
fix(openthread): Fix external DNS resolve hook for DNS64 client(v5.4)

See merge request espressif/esp-idf!35983
2025-01-07 10:33:49 +08:00
Shu Chen
97a13a769a Merge branch 'fix/add_macros_for_otbr_v5.4' into 'release/v5.4'
fix(openthread): add macros for ot_br (v5.4)

See merge request espressif/esp-idf!35892
2025-01-07 10:33:38 +08:00
Shu Chen
487b522629 Merge branch 'fix/thread-lib-v54' into 'release/v5.4'
fix(openthread): update esp-thread-lib branch (v5.4)

See merge request espressif/esp-idf!35812
2025-01-07 10:33:31 +08:00
Shu Chen
e2edf1318b Merge branch 'fix/disable_border_agent_default_v5_4' into 'release/v5.4'
fix(openthread): Disable Border Agent features by default(v5.4)

See merge request espressif/esp-idf!35550
2025-01-07 10:33:17 +08:00
Shu Chen
976f186a10 Merge branch 'fix/add_delay_before_command_in_ot_ci_case_v5.4' into 'release/v5.4'
feat(openthread): add delay before execute wifi command in openthread ci cases (Backport v5.4)

See merge request espressif/esp-idf!35422
2025-01-07 10:33:01 +08:00
morris
7a04d353b5 Merge branch 'feat/support_i80_lcd_via_parlio_v5.4' into 'release/v5.4'
refactor(i80_lcd): adapt example to lvgl9 (v5.4)

See merge request espressif/esp-idf!35519
2025-01-07 10:31:48 +08:00
morris
c670044eab Merge branch 'feature/uart_sleep_retention_support_c5_c61_v5.4' into 'release/v5.4'
feat(uart): support uart sleep retention on C5/C61 (v5.4)

See merge request espressif/esp-idf!35400
2025-01-07 10:29:23 +08:00
morris
51bae98066 Merge branch 'bugfix/uart_vfs_read_behavior_v5.4' into 'release/v5.4'
fix(uart_vfs): read() now aligned to POSIX defined behavior (v5.4)

See merge request espressif/esp-idf!35392
2025-01-07 10:28:54 +08:00
morris
2ad251bd1d Merge branch 'bugfix/ledc_get_freq_calc_v5.4' into 'release/v5.4'
fix(ledc): fix ledc_get_freq calculation err due to overflow (v5.4)

See merge request espressif/esp-idf!36005
2025-01-07 10:28:30 +08:00
morris
b8820cf4be Merge branch 'feat/xmc_32d_support_v5.4' into 'release/v5.4'
feat(spi_flash): support 120M on xmc25q32d flash (backport v5.4)

See merge request espressif/esp-idf!36078
2025-01-07 10:28:11 +08:00
morris
f36f04ef0d feat(ldo): support output rail voltage (3.3V) 2025-01-06 18:52:29 +08:00
Island
5bac8a9382 Merge branch 'docs/add_ble_qualification_table_v5.4' into 'release/v5.4'
docs(ble): Added BLE Qualification Information to API Guides (v5.4)

See merge request espressif/esp-idf!35711
2025-01-06 17:33:09 +08:00
Wei Yu Han
6f4b1d8767 docs(ble): Added BLE Qualification Information to API Guides (v5.4) 2025-01-06 17:33:09 +08:00
Island
f4138ade17 Merge branch 'bugfix/fixed_ble_issues_241220_v5.4' into 'release/v5.4'
Bugfix/fixed ble issues 241220 (v5.4)

See merge request espressif/esp-idf!35924
2025-01-06 17:01:07 +08:00
Sudeep Mohanty
334c9ac268 fix(esp_ringbuf): Fixed no-split ringbuf issue where acquire pointer wraps around
This commit fixes an issue with no-split ring buffers where in the the
buffer did not receive items correctly if the acquire pointer wraps
around before items are sent to it.
2025-01-06 16:45:04 +08:00
Marius Vikhammer
c277ec9e6d Merge branch 'fix/intr_alloc_level_bug_v5.4' into 'release/v5.4'
fix(esp_hw_support): fix a bug in the interrupt allocator related to shared interrupts (backport v5.4)

See merge request espressif/esp-idf!35477
2025-01-06 16:01:46 +08:00
Roland Dobai
bbdc6cfe4f Merge branch 'feat/dfu_p4_backport_v5.4' into 'release/v5.4'
feat(dfu): Enable DFU on ESP32-P4 (backport v5.4)

See merge request espressif/esp-idf!35829
2025-01-06 15:41:29 +08:00
Roland Dobai
a85d7cbe21 Merge branch 'fix/failing_create_readonly_test_on_win_v5.4' into 'release/v5.4'
fix(tools): fixed failing Win CI (tests read_only) (v5.4)

See merge request espressif/esp-idf!36122
2025-01-06 15:40:32 +08:00
Roland Dobai
aac6f2c911 Merge branch 'fix/export_fish_esp_python_v5.4' into 'release/v5.4'
fix(tools): Use ESP_PYTHON with activate.py in export.fish (v5.4)

See merge request espressif/esp-idf!36121
2025-01-06 15:40:14 +08:00
Roland Dobai
ed9f2827cc Merge branch 'fix/missing_header_hint_v5.4' into 'release/v5.4'
fix(hints): improve suggestion for missing header file (v5.4)

See merge request espressif/esp-idf!36043
2025-01-06 15:39:41 +08:00
Roland Dobai
1e788836a5 Merge branch 'fix/honor_idf_python_env_path_v5.4' into 'release/v5.4'
fix(tools): honor IDF_PYTHON_ENV_PATH value (v5.4)

See merge request espressif/esp-idf!35873
2025-01-06 15:39:24 +08:00
Roland Dobai
58137e67b2 Merge branch 'change/bump_up_kconfig_precommit_v5.4' into 'release/v5.4'
ci(pre-commit): bump kconfig checker pre-commit version to 2.4.1 (v5.4)

See merge request espressif/esp-idf!35825
2025-01-06 15:39:10 +08:00
Roland Dobai
6030cf5b1b Merge branch 'feat/add_idf_path_setting_info_v5.4' into 'release/v5.4'
feat(tools): Add info message to install/export scripts about IDF_PATH being set/change. (v5.4)

See merge request espressif/esp-idf!35805
2025-01-06 15:38:58 +08:00
Roland Dobai
25a6b4f71c Merge branch 'fix/tools_pip_upgrade_v5.4' into 'release/v5.4'
fix(idf_tools.py): Upgrade pip and setuptools separately (v5.4)

See merge request espressif/esp-idf!35774
2025-01-06 15:38:29 +08:00
morris
f708e43b03 Merge branch 'refactor/cp_dma_use_gdma_link_v5.4' into 'release/v5.4'
refactor(cp_dma): to use gdma_link driver for descriptor config (v5.4)

See merge request espressif/esp-idf!35443
2025-01-06 15:13:08 +08:00
morris
0646301e81 Merge branch 'feat/rgb_lcd_increase_pclk_v5.4' into 'release/v5.4'
feat(lcd): increase the upper limit of pclk frequency for RGB LCD (v5.4)

See merge request espressif/esp-idf!35928
2025-01-06 15:09:42 +08:00
Island
3412026c77 Merge branch 'fix/ble_mesh_bugs_fixed_v5.4' into 'release/v5.4'
fix(ble_mesh): Miscellaneous update (v5.4)

See merge request espressif/esp-idf!35427
2025-01-06 15:08:31 +08:00
Island
05382efdfe Merge branch 'fix/ble_mesh_enable_high_duty_itvl_on_nimble_v5.4' into 'release/v5.4'
feat(ble_mesh): select BT_NIMBLE_HIGH_DUTY_ADV_ITVL when using random adv itvl (v5.4)

See merge request espressif/esp-idf!35599
2025-01-06 15:08:26 +08:00
Island
9909d42b67 Merge branch 'bugfix/fix_ble_ke_mem_267_assert_v5.4' into 'release/v5.4'
fix(bt/controller): Fixed BLE assert ke_mem.c line 267 on ESP32-C3 and ESP32-S3 (backport v5.4)

See merge request espressif/esp-idf!35335
2025-01-06 15:02:59 +08:00
Island
1937a28539 Merge branch 'bugfix/fix_blufi_prepare_write_v5.4' into 'release/v5.4'
fix(blufi): Fixed crash issue in Blufi example during prepare write operation (v5.4)

See merge request espressif/esp-idf!35717
2025-01-06 15:02:54 +08:00
Island
3146964e1a Merge branch 'bugfix/fix_hid_crash_v5.4' into 'release/v5.4'
fix(ble): Fix crash issue during logging (v5.4)

See merge request espressif/esp-idf!35511
2025-01-06 15:02:48 +08:00
morris
446aa359d3 Merge branch 'feature/efuse_s3_adds_psram_cap_bit_v5.4' into 'release/v5.4'
feat(efuse): Adds 3 bit for PSRAM_CAP efuse field (v5.4)

See merge request espressif/esp-idf!35120
2025-01-06 15:02:01 +08:00
Island
aa87a691a6 Merge branch 'refactor/optimize_ble_gatt_api_doc_v5.4' into 'release/v5.4'
refactor(bt/bluedroid): Optimize BLE GATT related APIs reference (v5.4)

See merge request espressif/esp-idf!35919
2025-01-06 15:01:15 +08:00
Island
faca49d791 Merge branch 'bugfix/fix_set_perfer_ext_conn_param_v5.4' into 'release/v5.4'
fix(bt/bluedroid): Fixed setting perfer conn params complete event report (v5.4)

See merge request espressif/esp-idf!35748
2025-01-06 15:01:09 +08:00
Island
05fa0e76f0 Merge branch 'feat/add_get_started_example_on_bluedroid_v5.4' into 'release/v5.4'
feat(bt/bluedroid): Added BLE get started examples for Bluedroid (v5.4)

See merge request espressif/esp-idf!35653
2025-01-06 15:01:04 +08:00
Island
ae31b783f3 Merge branch 'feat/support_bleqabr24_1539_v5.4' into 'release/v5.4'
feat(bt/bluedroid): Added config for saving BLE bonding keys to NVS (v5.4)

See merge request espressif/esp-idf!35604
2025-01-06 15:01:00 +08:00
morris
0a859b5356 Merge branch 'bugfix/test_esp_flash_write_v5.4' into 'release/v5.4'
fix(spi_flash): Fix Test esp_flash_write (v5.4)

See merge request espressif/esp-idf!35384
2025-01-06 15:00:52 +08:00
morris
f04f21b352 Merge branch 'bugfix/modbus_serial_examples_fix_mode_v54' into 'release/v5.4'
fix(modbus): Fix the mode setup in modbus slave (backport v5.4)

See merge request espressif/esp-idf!36158
2025-01-06 15:00:15 +08:00
Island
ffab5890e4 Merge branch 'fix/optimize_ble_example_ci_build_rule_v5.4' into 'release/v5.4'
fix(ble): Optimizied the bluetooth build test rules (v5.4)

See merge request espressif/esp-idf!35327
2025-01-06 15:00:03 +08:00
morris
da06959166 Merge branch 'bugfix/uart_8_16_bit_access_v5.4' into 'release/v5.4'
fix(uart): fix 8/16-bit uart register access (v5.4)

See merge request espressif/esp-idf!35958
2025-01-06 14:59:09 +08:00
morris
7797db32f6 Merge branch 'docs/update_pcnt_pm_lock_docs_v5.4' into 'release/v5.4'
docs(pcnt): update pcnt pm lock docs (v5.4)

See merge request espressif/esp-idf!36069
2025-01-06 14:56:49 +08:00
morris
6011f69d94 Merge branch 'fix/fix_parlio_tx_example_line_address_v5.4' into 'release/v5.4'
fix(parlio_tx): fix line address in simple_rgb_martix example (v5.4)

See merge request espressif/esp-idf!36070
2025-01-06 14:55:45 +08:00
morris
edb344b56d Merge branch 'feat/allow_to_skip_legacy_driver_conflict_check_v5.4' into 'release/v5.4'
feat(legacy_driver): add kconfig to skip legacy confilct check (v5.4)

See merge request espressif/esp-idf!35615
2025-01-06 14:55:22 +08:00
morris
fd31502ca7 Merge branch 'fix/ble_i2c_v5.4' into 'release/v5.4'
fix(i2c_slave): Support 10-bit address on esp32 (backport v5.4)

See merge request espressif/esp-idf!36055
2025-01-06 14:53:48 +08:00
morris
8da106901a Merge branch 'fix/fix_adc_cali_check_scheme_api_issue_v5.4' into 'release/v5.4'
adc: fixed adc_cali_check_scheme wrong return on c2/h2/c6 (v5.4)

See merge request espressif/esp-idf!35718
2025-01-06 14:53:25 +08:00
morris
cab5334de2 Merge branch 'fix/fix_psram_mode_reg_wrong_timing_v5.4' into 'release/v5.4'
psram: fixed mode reg read bad timing on octal and hex psrams (v5.4)

See merge request espressif/esp-idf!35955
2025-01-06 14:52:13 +08:00
Marius Vikhammer
f335a2d6ea Merge branch 'fix/coredump_checksum_error_v5.4' into 'release/v5.4'
Fix/coredump checksum error (v5.4)

See merge request espressif/esp-idf!35762
2025-01-06 14:38:57 +08:00
Marius Vikhammer
012de83f3c Merge branch 'fix/coredump-gcc-analyzer-warnings_v5.4' into 'release/v5.4'
fix(system): fix GCC-14 analyzer warnings for coredump (v5.4)

See merge request espressif/esp-idf!35521
2025-01-06 14:38:23 +08:00
Island
ceffa4fb73 Merge branch 'feat/support_some_vendor_hci_for_qa_v5.4' into 'release/v5.4'
fix(ble): fixed the connect issue when rx error aa on ESP32-C2 (v5.4)

See merge request espressif/esp-idf!35647
2025-01-06 14:08:32 +08:00
Marius Vikhammer
4defdd90c3 Merge branch 'bugfix/h2_wifi_intr_v5.4' into 'release/v5.4'
fix(interrupt): fixed wrongly reserved interrupt for wifi on H2 (v5.4)

See merge request espressif/esp-idf!36108
2025-01-06 13:35:02 +08:00
morris
c02a6fc523 Merge branch 'bugfix/gdma_burst_config_esp32c5_v5.4' into 'release/v5.4'
fix(gdma): burst size should be configurable on esp32c5 (v5.4)

See merge request espressif/esp-idf!35363
2025-01-06 13:20:35 +08:00
morris
cd1ce6164b Merge branch 'refactor/fine_tune_dphy_pll_v5.4' into 'release/v5.4'
feat(mipi): fine tune DPHY PLL clock (v5.4)

See merge request espressif/esp-idf!35291
2025-01-06 13:20:01 +08:00
morris
e293123154 Merge branch 'bugfix/fix_i2s_24b_buf_size_calc_v5.4' into 'release/v5.4'
fix(i2s): fixed some issues in I2S driver (v5.4)

See merge request espressif/esp-idf!35768
2025-01-06 13:18:16 +08:00
Mahavir Jain
7576f17b20 Merge branch 'bug/wifi_provisioning_failure_even_after_connecting_v5.4' into 'release/v5.4'
fix(esp_wifi_prov): Provisioning App failure on first failed attempt (v5.4)

See merge request espressif/esp-idf!35545
2025-01-06 12:56:34 +08:00
Rahul Tank
0880fc007a Merge branch 'feat/pts_changes_v5.4' into 'release/v5.4'
feat(nimble): BLE 5.4 PTS Related Features and Fixes (v5.4)

See merge request espressif/esp-idf!34974
2025-01-06 12:44:49 +08:00
Wang Meng Yang
b8044d0f74 Merge branch 'bugfix/fix_btqabr2023330_v5.4' into 'release/v5.4'
fix(bt): Fix error code returned by create_conn_cancel_cmd at different status (backport v5.4)

See merge request espressif/esp-idf!35577
2025-01-06 12:23:58 +08:00
Wang Meng Yang
84053a42f4 Merge branch 'bugfix/fix_some_bugs_in_bluedroid' into 'release/v5.4'
fix(bt/bluedroid): Fixed some avrcp cover art related bugs

See merge request espressif/esp-idf!35505
2025-01-06 12:21:49 +08:00
Wang Meng Yang
a1c8f06211 Merge branch 'bugfix/sdp_get_uuid_error_v5.4' into 'release/v5.4'
fix(bt/bluedroid): fixed issues introduced by byte alignment (v5.4)

See merge request espressif/esp-idf!35250
2025-01-06 12:21:46 +08:00
Zhang Hai Peng
668a2ab2ef fix(ble/bluedroid): Fixed BLE feature selection configuration
(cherry picked from commit 117aa74705)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-01-06 11:14:24 +08:00
Zhang Hai Peng
b592934f0a docs(ble/bluedroid): Added BLE log when bond info was deleted
(cherry picked from commit c9cdf51b05)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-01-06 11:14:06 +08:00
Zhang Hai Peng
41e7f893aa docs(ble/bluedroid): Optimize doc for registering BLE callback functions
(cherry picked from commit d84ccadf90)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-01-06 11:14:04 +08:00
Zhang Hai Peng
4d7cd8f23b fix(ble/blufi): Fixed blufi example security issue
(cherry picked from commit 3cb2d9c3c6)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-01-06 11:14:02 +08:00
aleks
e5c7999f08 fix(modbus): Fix the mode setup in modbus slave
https://github.com/espressif/esp-idf/pull/14878
2025-01-03 14:09:24 +01:00
Kabir Waraich
6925877bea Update slave.c to fix the mode
There is an issue in the lines that I have changed. I think it was copied over from the enum by mistake.
2025-01-03 14:09:12 +01:00
Kapil Gupta
5abadc5b38 fix(esp_wifi): Enable EAP workarounds by default
Enabling this will make sure our behavior is same as upstream
wpa_supplicant.
2025-01-03 17:42:53 +05:30
Michael (XIAO Xufeng)
6b7b8ea3d2 Merge branch 'update/version_5_4_0' into 'release/v5.4'
Update version to 5.4.0

See merge request espressif/esp-idf!36089
2025-01-03 17:26:43 +08:00
Marek Fiala
524f44dfc3 fix(tools): fixed test_create_project_with_idf_readonly on Win 2025-01-02 12:37:24 +01:00
Marek Fiala
0c476d4361 fix(tools): Use ESP_PYTHON with activate.py in export.fish
Closes https://github.com/espressif/esp-idf/issues/15058
2025-01-02 11:10:55 +01:00
Tomas Rezucha
8e35c7854d fix(usb/host): Fix reaction on High-Speed NYET packet
In Scatter-Gather DMA mode, the USB-DWC will automatically enable
PING protocol if an OUT packet is NACKed by the High-Speed device.
The PING bit must be manually reset.
2025-01-02 10:57:14 +01:00
Marius Vikhammer
79fe10fe1c fix(interrupt): fixed wrongly reserved interrupt for wifi on H2 2025-01-02 16:39:10 +08:00
Xiao Xufeng
67c1de1eeb change(version): Update version to 5.4.0 2024-12-31 14:57:04 +08:00
Xu Si Yu
1569b826ad feat(openthread): update build test rules 2024-12-31 14:22:43 +08:00
WanqQixiang
b1a68f5849 fix(openthread): Fix CI failure of ot_trel example build 2024-12-31 14:22:37 +08:00
WanqQixiang
c5a9e39653 feat(protocol_examples_common): Add Thread connect to support Thread for the protocol examples 2024-12-31 14:22:31 +08:00
C.S.M
3952879feb feat(spi_flash): support 120M on xmc25q32d flash 2024-12-31 11:29:42 +08:00
Michael (XIAO Xufeng)
b70331a9b7 Merge branch 'feat/increase_c2_supported_ver_v5.4' into 'release/v5.4'
feat(soc): increase c2 max supported version (v5.4)

See merge request espressif/esp-idf!35970
2024-12-31 03:15:18 +08:00
Chen Jichang
d3dbbf1351 fix(parlio_tx): fix line address in simple_rgb_martix example 2024-12-30 17:08:43 +08:00
Chen Jichang
0f937a7e90 docs(pcnt): remove pm_lock content in glitch_filter
Closes https://github.com/espressif/esp-idf/issues/15027
2024-12-30 17:05:53 +08:00
Chen Jichang
bcf13b4be7 docs(pcnt): update pcnt power down description 2024-12-30 17:05:53 +08:00
Guillaume Souchere
388ed349e5 fix(heap): MALLOC_CAP_EXEC does not allocate in RTC IRAM
This commit fixes the issue when trying to allocate memory
with the MALLOC_CAP_EXEC in RTC memory. Prior to the fix,
the heap allocator was returning an address in RTC DRAM.

To fix this issue:
- modified memory_layout.c of the concerned targets to fill the iram_address
field in the rtc entry of the soc_memory_region array properly.
- modified heap component  related functions to return IRAM address when
an allocation in RTC memory with MALLOC_CAP_EXEC is requested.

Closes https://github.com/espressif/esp-idf/issues/14835
2024-12-30 08:51:14 +01:00
C.S.M
f29110eee7 fix(i2c_slave): Support 10-bit address on esp32 2024-12-30 13:49:51 +08:00
yiwenxiu
88d639f8cb feat(openthread): use fixed port in ot ci cases 2024-12-30 10:06:12 +08:00
Frantisek Hrbata
6237a97b10 fix(hints): improve suggestion for missing header file
Currently, we are only suggesting that the header file is likely not
part of the component's INCLUDE_DIRS. However, the header file may be
missing also because of the configuration settings. For instance, the
component might be disabled in sdkconfig, or the feature that supplies
the header might not be enabled. Enhance the hint message to address
this scenario as well.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-12-29 18:56:33 +01:00
morris
d566bd431b fix(rmt): channel resolution divider rounding issue
Closes https://github.com/espressif/esp-idf/issues/15092
2024-12-27 16:57:47 +08:00
wuzhenghui
0609f9111e fix(esp_hw_support): fix mspi clock freq changed after lightsleep 2024-12-26 19:25:48 +08:00
Song Ruo Jing
31d7a2056c fix(ledc): fix ledc_get_freq calculation err due to overflow
Closes https://github.com/espressif/esp-idf/pull/14882
2024-12-26 19:12:07 +08:00
wuzhenghui
c7c70a8ec6 fix(esp_hw_support): fix esp32p4 JTAG pad deepsleep current leakage 2024-12-26 16:03:42 +08:00
wuzhenghui
e49faab8d4 fix(esp_pm): enable RTC_PERIPH domain once in esp_pm_trace_init 2024-12-26 14:09:52 +08:00
Song Ruo Jing
706b5b483e fix(isp): isp_dvp raw->rgb needs a workaround 2024-12-26 12:12:17 +08:00
Song Ruo Jing
274321d82c fix(isp): isp demosaic module should never be disabled for non-raw8 output format 2024-12-26 12:12:17 +08:00
Song Ruo Jing
2830a44495 feat(dvp_isp_dsi_example): add an example shows DVP-ISP-DSI combination 2024-12-26 12:11:21 +08:00
wuzhenghui
7df7db7284 fix(esp_hw_support): fix FLASH leakage workaround kconfig dependcy 2024-12-26 11:35:04 +08:00
WanqQixiang
8af82e8a22 fix(openthread): Fix external DNS resolve hook for DNS64 client 2024-12-26 10:14:30 +08:00
Xiao Xufeng
38b95cf146 feat(soc): increase c2 max supported version 2024-12-25 20:30:15 +08:00
Aditya Patwardhan
0fae01c7b0 Merge branch 'feature/add_support_for_http_1.0_requests_v5.4' into 'release/v5.4'
feat(esp_http_server): add support to handle HTTP 1.0 requests (v5.4)

See merge request espressif/esp-idf!35659
2024-12-25 16:42:32 +08:00
Song Ruo Jing
7167b04e6e fix(uart): fix 8/16-bit uart register access 2024-12-25 15:32:06 +08:00
Armando
e12812a4d7 fix(psram): fixed mode reg read bad timing on octal and hex psrams 2024-12-25 11:00:12 +08:00
morris
00f21c37fe feat(lcd): increase the upper limit of pclk frequency for RGB LCD 2024-12-25 10:29:08 +08:00
zwl
7eaf08631e feat(ble): add dtm configuration command in hci example 2024-12-24 19:26:01 +08:00
Zhao Wei Liang
2e8b169bfe feat(ble): Support get ble controller free heap size on ESP32-C2
(cherry picked from commit 2cb7d2437b)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-12-24 15:21:50 +08:00
Zhao Wei Liang
c881b9e829 feat(ble): Support get ble controller free heap size on ESP32-H2
(cherry picked from commit 12f226be7d)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-12-24 15:21:48 +08:00
Zhao Wei Liang
7ad5dc1fef feat(ble): Support get ble controller free heap size on ESP32-C6
(cherry picked from commit aa7feb9449)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-12-24 15:21:46 +08:00
Zhao Wei Liang
b908018780 feat(ble): fixed some ble issues on ESP32-C2
(cherry picked from commit 5f9a3cdd1a)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-12-24 15:21:44 +08:00
Zhao Wei Liang
e840c84322 feat(ble): adjust bt default scheme position
(cherry picked from commit 446239251c)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-12-24 15:21:42 +08:00
Chen Jian Hua
85bc8bb63c Merge branch 'refactor/optimize_ble_gatt_api_doc' into 'master'
refactor(bt/bluedroid): Optimize BLE GATT related APIs reference

See merge request espressif/esp-idf!34650

(cherry picked from commit 19b5381c99)

7320c77d refactor(bt/bluedroid): Optimize BLE GATT related APIs reference
8a80617c refactor(bt/bluedroid): Optimize BLE GATT related APIs reference
0ac97e98 refactor(bt/bluedroid): Optimize BLE GATT related APIs reference
27b17c69 refactor(bt/bluedroid): Optimize BLE GATT related APIs reference
ea8d7686 docs: Update gattc & gatts api header files
f508772f Apply 3 suggestion(s) to 2 file(s)
03469b52 Apply 2 suggestion(s) to 1 file(s)
aa2cf7a5 docs: fix minor issue
46dc6e96 docs(ble): Replaced "closed" with "terminated" for physical connection.

Co-authored-by: Wei Yu Han <weiyuhan@espressif.com>
2024-12-24 15:20:05 +08:00
laokaiyao
f2f74b8b89 fix(i2s): add check for the tdm frame bits num 2024-12-24 12:12:31 +08:00
Gustavo Litovsky
9dfc163691 change(esp32): undo forcing two slots in I2S
fix(i2s): fixed the issue in PR 14879

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

[Kevin: Update to only remove the limitation for PCM short format]
2024-12-24 12:12:31 +08:00
laokaiyao
3d9f6a1299 refactor(i2s): refactor i2s examples common dependencies
Closes https://github.com/espressif/esp-idf/issues/14751

Make the common I2S dependencies as an example common component,
so that to avoid slash & backslash issue on windows
when use absolute include path.
2024-12-24 12:12:31 +08:00
laokaiyao
c828775d8f docs(example): added troubleshooting for i2s_es8311 example
Closes https://github.com/espressif/esp-idf/issues/15047
2024-12-24 12:12:31 +08:00
laokaiyao
7fb15156ae fix(i2s): return error when mclk_div is smaller than 2 2024-12-24 12:12:31 +08:00
laokaiyao
a47e157731 fix(i2s): fixed incorrect buf size calculation 2024-12-24 12:12:31 +08:00
morris
55d5ba38c6 feat(rmt): add API to return the real clock resolution of a channel
Closes https://github.com/espressif/esp-idf/pull/15074
2024-12-24 11:16:50 +08:00
Tan Yan Quan
a3fe6540b6 fix(openthread): add macros for ot_br 2024-12-23 21:30:54 +08:00
muhaidong
e699e8a4ed fix(wifi): fixed blufi connect wep or wpa ap fail issue 2024-12-23 15:49:37 +08:00
muhaidong
9389bde893 fix(phy): fixed calibration warning infomation inaccurate issue
Closes https://github.com/espressif/esp-idf/issues/14963
2024-12-23 15:44:23 +08:00
Marius Vikhammer
25a1ad7e98 Merge branch 'update/version_5_4_0' into 'release/v5.4'
Update version to 5.4.0

See merge request espressif/esp-idf!35879
2024-12-23 14:29:57 +08:00
xiongweichao
0e0588b86f fix(bt): Fixed some controller bugs
- Fix epr not being initiated after authentication is completed
- Fixed the issue HCI_READ_CLOCK returned parameter in slot
- Fixed the missmatching of CLKN and FCNT after clock update
2024-12-23 14:16:49 +08:00
chenqingqing
de01dd8ac8 fix(bt): Fix error code returned by create_conn_cancel_cmd at different status
- Closes https://github.com/espressif/esp-idf/issues/7763
2024-12-23 14:16:49 +08:00
Marius Vikhammer
443e1cfd11 change(version): Update version to 5.4.0 2024-12-23 11:22:27 +08:00
Marius Vikhammer
497858f8d9 Merge branch 'docs/add_html_download_link_v5.4' into 'release/v5.4'
feat(docs): Replace PDF download link with HTML zip download link (v5.4)

See merge request espressif/esp-idf!35832
2024-12-23 09:21:18 +08:00
Frantisek Hrbata
a87fe7aa3a fix(tools): honor IDF_PYTHON_ENV_PATH value
The active.py script is currently clearing the IDF_PYTHON_ENV_PATH,
preventing it from being set to a custom location for the python virtual
environment directory. Although the install script checks to ensure that
an existing python virtual environment is not overwritten with one for a
different ESP-IDF version than it was originally created for, we should
still permit setting a custom path for the python virtual environment.

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

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-12-21 09:55:08 +01:00
Zhang Shuxian
d7a8b7374e docs: Update CN translation for dfu 2024-12-20 11:13:40 +01:00
Tomas Rezucha
53135e389c feat(dfu): Enable DFU on ESP32-P4 2024-12-20 11:12:33 +01:00
David Cermak
1816632e65 fix(lwip): Fix AUTOIP new address after rate limit
submodule update: git log --oneline a587d929..fa4dffdf
  - autoip: Choose next address after rate limit (espressif/esp-lwip@fa4dffdfa)
2024-12-20 08:41:17 +01:00
Tan Yan Quan
7564ff78d2 fix(openthread): update esp-thread-lib branch 2024-12-20 12:30:20 +08:00
Marius Vikhammer
50948285c1 feat(docs): Replace PDF download link with HTML zip download link
PDF build would randomly fail after S3 docs grew to a certain size.

At 3k+ pages PDF is not very usable anyways.
For offline use an HTML archive makes more sense.
2024-12-20 10:27:09 +08:00
Jan Beran
5a5a86a16b ci(pre-commit): bump kconfig checker pre-commit version to 2.4.1 2024-12-19 15:45:01 +01:00
Chen Yudong
8c1cad3a67 ci: add build test for eco versions 2024-12-19 21:02:40 +08:00
Marek Fiala
d8296b1fda fix(tools): Enable to use IDF_PATH with export.sh 2024-12-19 13:00:47 +01:00
renpeiying
bd9db4e08c docs: Update CN translation for idf-tools.rst 2024-12-19 10:28:50 +01:00
Marek Fiala
79031f1905 feat(tools): Inform user about IDF_PATH set/change in install/export scripts 2024-12-19 10:28:49 +01:00
Roland Dobai
b6e0bb91e8 fix(idf_tools.py): Upgrade pip and setuptools separately
This way the setuptools version dependency resolution will be done by
the upgraded pip.
2024-12-18 12:57:07 +01:00
Erhan Kurubas
e5079eb28e change(coredump): include coredump own stack into coredump file 2024-12-18 13:15:56 +03:00
Erhan Kurubas
3c22283b6b change(coredump): make sure consistency with written data and calculated checksum 2024-12-18 13:15:56 +03:00
chenjianhua
183e810422 fix(bt/bluedroid): Fixed LE channel selection algorithm event reporting 2024-12-18 11:49:15 +08:00
Chen Jian Hua
7cfafa1d4b fix(bt/bluedroid): Fixed setting perfer conn params complete event report
(cherry picked from commit 4b352d1c4f)

Co-authored-by: xuzhekai <xuzhekai@espressif.com>
2024-12-18 11:33:38 +08:00
Marius Vikhammer
034245938c Merge branch 'ci/docs_master_build_v5.4' into 'release/v5.4'
ci(docs): revert d98e77a4a7 to simplify CI (v5.4)

See merge request espressif/esp-idf!35684
2024-12-18 11:08:35 +08:00
yiwenxiu
a5bde4c061 feat(openthread): change wlan to ethernet 2024-12-18 10:11:03 +08:00
Zhang Hai Peng
e09ef803d6 fix(blufi): Fixed crash issue in Blufi example during prepare write operation
(cherry picked from commit 5acb9c9b5f)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-12-17 16:13:44 +08:00
Armando
886a9acbcf fix(adc): fixed adc_cali_check_scheme wrong return on c2/h2/c6 2024-12-17 16:12:43 +08:00
zhangyanjiao
1b84759d02 fix(ci): Enlarge the pcap memory size in sniffer example 2024-12-17 11:15:43 +08:00
Troy
f33430deb4 fix(wifi/mesh): Modify examples/mesh/internal_communication
Delete the secondary judgment of whether it is the root node in the sending task

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

Signed-off-by: zhangyanjiao <zhangyanjiao@espressif.com>
2024-12-17 11:15:35 +08:00
xiongweichao
f9e0f46f47 fix(ble): fixed that the resolvable private address does not change when light sleep is enabled 2024-12-17 10:59:15 +08:00
zhanghaipeng
4b1d137342 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(555b0a2)
- Check Access Address when receive connection request PDU
- Fix issue with BLE5.0 duplicate scan for chained packets
2024-12-17 10:59:05 +08:00
Marius Vikhammer
66c456ab59 ci(docs): revert d98e77a4a7 to simplify CI 2024-12-17 10:08:44 +08:00
David Cermak
ce8af835b2 fix(esp_netif): Prevent null deref when checking netif type
Most esp_netif public API check for invalid arguments, but when enabling
PPP the macros to check netif type could potentially dereference
esp_netif without any null-check.

Releted to https://github.com/espressif/esp-idf/issues/14816
2024-12-16 11:14:50 +01:00
David Cermak
89ef743876 fix(tcp_transport): Fix websocket header read to handle overflow 2024-12-16 11:13:52 +01:00
nilesh.kale
4026e64c32 feat(esp_http_server): add support to handle HTTP 1.0 requests
This commit adds support to handle HTTP/1.0 requests alongside HTTP/1.1 for
legacy compliance purposes.
2024-12-16 14:10:30 +05:30
Chen Jian Hua
a767bcc509 feat(bt/bluedroid): Added BLE get started examples for Bluedroid
(cherry picked from commit d051a2a39d)

Co-authored-by: xuzhekai <xuzhekai@espressif.com>
2024-12-16 11:33:57 +08:00
Zhao Wei Liang
cb90787ac5 fix(ble): fixed the connect issue when rx error aa on ESP32-C2
(cherry picked from commit 6b01a56e09)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-12-16 11:03:53 +08:00
Zhao Wei Liang
a2cc9fc69b feat(ble): support some vendor hci commands on ESP32-H2
(cherry picked from commit 15203f9f35)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-12-16 11:03:51 +08:00
Zhao Wei Liang
5f1053ef43 feat(ble): support some vendor hci commands on ESP32-C6
(cherry picked from commit 5bd66eaa57)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-12-16 11:03:49 +08:00
Tan Yan Quan
ff5d32aa53 feat(802.15.4): add some documentation for txrx statistics and debug record 2024-12-16 10:38:51 +08:00
Tan Yan Quan
ad2846b830 feat(802.15.4): IEEE802.15.4 add documentation and refactor component structure 2024-12-16 10:38:51 +08:00
Tan Yan Quan
52d5a4321c feat(802.15.4): IEEE802.15.4 add some minor edits for readability 2024-12-16 10:38:51 +08:00
Tan Yan Quan
fc1b1b129c feat(802.15.4): IEEE802.15.4 add rx buffer statistic 2024-12-16 10:38:51 +08:00
Ivan Grokhotkov
9dcd2990a7 Merge branch 'feat/vfs_ops_make_all_op_pointers_const_v5.4' into 'release/v5.4'
feat(storage/vfs): make all member pointer of vfs_ops struct const (v5.4)

See merge request espressif/esp-idf!35624
2024-12-13 18:03:24 +08:00
Ivan Grokhotkov
bd0fc67f13 Merge branch 'feature/std_filesystem_supported_v5.4' into 'release/v5.4'
storage: make std::filesystem supported (v5.4)

See merge request espressif/esp-idf!35430
2024-12-13 17:56:42 +08:00
Jiang Jiang Jian
e8e8e2bc2a Merge branch 'bugfix/periph_clk_init_p4_v5.4' into 'release/v5.4'
fix(esp_system): hp periph clk should not be gated on core/system reset (v5.4)

See merge request espressif/esp-idf!35403
2024-12-13 13:55:16 +08:00
Jiang Jiang Jian
829419cef9 Merge branch 'fix/fix_esp32c2eco4_wifi_deinit_crash_issue_v54' into 'release/v5.4'
fix(wifi): fix esp32c2eco4 wifi deinit crash issue v54

See merge request espressif/esp-idf!35391
2024-12-13 13:48:50 +08:00
Song Ruo Jing
77e88f98cd fix(esp_system): still gate hp periph clk on core/system reset for power saving
Leaving only hp periph clk source should not be gated on core/system reset
2024-12-12 21:03:37 +08:00
Song Ruo Jing
192f01c65f fix(esp_system): hp periph clk should not be gated on core/system reset 2024-12-12 21:03:37 +08:00
Tomáš Rohlínek
d6d4de0907 feat(storage/vfs): make all member pointer of vfs_ops struct const 2024-12-12 13:49:46 +01:00
Chen Jichang
3779757cd3 feat(pcnt): support step_notify on esp32h2 eco5 2024-12-12 19:40:20 +08:00
Chen Jichang
3b3a6b4725 feat(legacy_driver): add kconfig to skip legacy confilct check 2024-12-12 18:39:11 +08:00
Michael (XIAO Xufeng)
a0a85db5f5 Merge branch 'fix/adc_monitor_not_work_v5.4' into 'release/v5.4'
fix(esp_adc): fixed adc continue monitor don't work issue (v5.4)

See merge request espressif/esp-idf!35165
2024-12-12 16:55:04 +08:00
wangtao@espressif.com
7f844e0e0f fix(wifi): fix esp32c2 ld issue 2024-12-12 15:02:44 +08:00
Chen Jian Hua
d70e7d6534 fix(bt/bluedroid): Fixed failure to get host status when host is not enabled
(cherry picked from commit 23455ea9c2)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-12-12 12:33:47 +08:00
Chen Jian Hua
4eda7b124d feat(bt/bluedroid): Added config for saving BLE bonding keys to NVS
(cherry picked from commit 6d1160b2e6)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-12-12 12:33:44 +08:00
Luo Xu
f6fede26b7 feat(ble_mesh): select BT_NIMBLE_HIGH_DUTY_ADV_ITVL
(cherry picked from commit 6faf0a59fdcf063d40fc1000a209341318131185)

Co-authored-by: luoxu <luoxu@espressif.com>

(cherry picked from commit a7622efd0c)

Co-authored-by: Luo Xu <luoxu@espressif.com>
2024-12-12 12:23:37 +08:00
Chen Jichang
6aa4f8b63e feat(mcpwm): support mcpwm sleep retention on p4 2024-12-12 11:43:54 +08:00
Michael (XIAO Xufeng)
944329fff4 Merge branch 'fix/enhance_i2c_slave_test_stability_v5.4' into 'release/v5.4'
fix(i2c): Fix i2c read from fifo issue when enabling bt/wifi/uart, etc... (backport v5.4)

See merge request espressif/esp-idf!35434
2024-12-12 11:16:24 +08:00
Michael (XIAO Xufeng)
0f1bec184d Merge branch 'bugfix/warn_rc32k_use_in_kconfig_v5.4' into 'release/v5.4'
fix(clk): add an inevitable kconfig option to be selected to use rc32k (v5.4)

See merge request espressif/esp-idf!35285
2024-12-11 23:39:34 +08:00
morris
183834a82c Merge branch 'feat/add_pcnt_gpio_input_config_v5.4' into 'release/v5.4'
docs(pcnt): add gpio input mode documentation (v5.4)

See merge request espressif/esp-idf!35518
2024-12-11 22:09:10 +08:00
morris
714c7738cd Merge branch 'fix/fix_esp32_pico_v3_psram_not_ignored_issue_v5.4' into 'release/v5.4'
psram: fixed esp32p pico-v3 psram init not ignored issue (v5.4)

See merge request espressif/esp-idf!35377
2024-12-11 22:07:25 +08:00
Jiang Jiang Jian
25346eb694 Merge branch 'fix/fix_tg_retention_failure_v5.4' into 'release/v5.4'
fix(esp_driver_gptimer): do gptimer retention by timer unit rather than timer group (v5.4)

See merge request espressif/esp-idf!35354
2024-12-11 20:55:15 +08:00
Jiang Jiang Jian
b3f2e1957b Merge branch 'bugfix/access_null_in_hf_cb_v5.4' into 'release/v5.4'
fix(bt/bluedroid): fixed access NULL in HFP callback handler (v5.4)

See merge request espressif/esp-idf!35407
2024-12-11 20:54:38 +08:00
wanckl
5703a780af fix(esp_adc): fixed adc continue monitor don't work issue
Closes https://github.com/espressif/esp-idf/issues/14769
Closes https://github.com/espressif/esp-idf/issues/14814
2024-12-11 17:36:57 +08:00
Island
b06209230c Merge branch 'bugfix/fix_ble_create_conn_params_copy_v5.4' into 'release/v5.4'
fix(bt/bluedroid): Fixed connection params copying when creating LE connection (v5.4)

See merge request espressif/esp-idf!35406
2024-12-11 14:27:20 +08:00
WanqQixiang
68fbe1dd83 fix(openthread): Disable Border Agent features by default 2024-12-11 10:49:48 +08:00
hrushikesh.bhosale
9e9577b3f2 fix(esp_wifi_prov): Send failure msg on first fail
Added new sta state WIFI_PROV_ATTEMPT_FAILED, which is
returned on first failure with attemps_remaining field.
2024-12-10 17:52:47 +05:30
hrushikesh.bhosale
2bde704d1a fix(esp_wifi_prov): Moved the registering of wifi event handler
Moved the registering of of wifi event handler if under the condition
if device is already provisioned
2024-12-10 17:52:47 +05:30
Erhan Kurubas
190f021ba8 fix(espcoredump): prevent null pointer dereference in panic reason handling 2024-12-09 14:48:39 +01:00
Erhan Kurubas
cd913c60be change(tools): enhance expect_reg_dump to support any or specific core values 2024-12-09 14:48:39 +01:00
Erhan Kurubas
2837c83dc9 fix(espcoredump): fix incorrect pointer usage in checksum update call 2024-12-09 14:48:39 +01:00
Alexey Lapshin
3375c87e55 fix(espcoredump): fix GCC-14 analyzer warnings for coredump 2024-12-09 14:48:39 +01:00
Chen Jichang
5a1e5d04d0 feat(parlio_tx): add check of fifo empty event 2024-12-09 20:35:37 +08:00
Chen Jichang
174fa30ade refactor(i80_lcd): adapt example to lvgl9 2024-12-09 20:35:37 +08:00
Chen Jichang
9b112e2a70 docs(pcnt): add pullup and pulldown documentation
Closes https://github.com/espressif/esp-idf/issues/14277
2024-12-09 20:23:06 +08:00
linruihao
76dbdaadf2 fix(bt/bluedroid): Allow adding empty header in OBEX and GOEP 2024-12-09 17:46:01 +08:00
Zhang Hai Peng
285e4ac4f3 feat(bt): Add support for converting BT HCI logs to btsnoop format
(cherry picked from commit decb24f940)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-12-09 17:45:49 +08:00
Zhang Hai Peng
304a655804 fix(blufi): Fixed blufi init fail after deinit
(cherry picked from commit 7addb57ccd)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-12-09 17:45:33 +08:00
Zhang Hai Peng
efe62a875c fix(ble): Fixed crash in BLE HID host example during logging
(cherry picked from commit ab1e3c1ffd)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-12-09 17:15:14 +08:00
linruihao
ee02d14cd6 change(bt/bluedroid): Remove a duplicate macro in OBEX 2024-12-09 14:26:00 +08:00
linruihao
a8f9246123 feat(bt/bluedroid): Allow using bitwise OR on GOEP return value 2024-12-09 14:25:11 +08:00
linruihao
336f22c097 fix(bt/bluedroid): Fix memory leak in AVRCP cover art get image 2024-12-09 14:24:34 +08:00
linruihao
b9f2be9200 fix(bt/bluedroid): Fix l2cap psm not dereister when obex disconnect 2024-12-09 14:24:25 +08:00
shenmengjing
12f8c24846 docs: Update CN translation for docs in jtag-degugging 2024-12-06 19:36:47 +07:00
Alexey Lapshin
0e57dc044e feat(debugging): move gdbinit generation to CMake
This feature is useful for 3rd-party software to run GDB with predefined
options that described in project_description.json file

allow to pass custom options to "idf.py gdb":

  --gdb-commands: command line arguments for gdb. (without changes)
  -ex: pass command to gdb.
  -x: pass gdbinit file to gdb. Alias for old --gdbinit command
2024-12-06 19:36:41 +07:00
Omar Chebib
ce9bbd66ba fix(esp_hw_support): fix a bug in the interrupt allocator related to shared interrupts
On RISC-V targets, when allocating a shared interrupt, the provided level would
override the current level of the allocated interrupt. As such, a medium level
interrupt could become a low level one and vice versa.
2024-12-06 18:15:38 +08:00
Omar Chebib
1468e5aff2 fix(esp_hw_support): fix the interrupt allocator test app's CMakeLists.txt 2024-12-06 15:11:37 +08:00
igor.udot
6f28a59a27 ci: update idf-build-apps version in pre-commit 2024-12-06 12:04:47 +08:00
C.S.M
37101f5e0f fix(i2c): Fix some issue in programming guide,
Closes https://github.com/espressif/esp-idf/issues/14794
2024-12-05 13:22:51 +08:00
C.S.M
82903b0bc6 fix(i2c): Add bus handle check so that it will not be panic when there is no free bus,
Closes https://github.com/espressif/esp-idf/issues/14819
2024-12-05 13:22:43 +08:00
Jin Cheng
e7e7605d22 fix(bt/bluedroid): fixed access NULL in HFP callback handler 2024-12-05 13:20:50 +08:00
morris
bd45800cd5 refactor(cp_dma): to use gdma_link driver for descriptor config 2024-12-05 11:41:55 +08:00
C.S.M
36834f34cd fix(i2c_slave): Fix the wrong semaphore take in isr 2024-12-04 19:29:05 +08:00
C.S.M
2ab0921a80 fix(i2c): Fix lose byte during data reading in i2c master on esp32,
Closes https://github.com/espressif/esp-idf/issues/12860
2024-12-04 19:28:43 +08:00
C.S.M
2803aed082 fix(i2c): Enhance lp clock source and avoid deadlock,
Closes https://github.com/espressif/esp-idf/issues/14908,
Closes https://github.com/espressif/esp-idf/issues/14906
2024-12-04 19:28:18 +08:00
C.S.M
122b579024 test(i2c): Enhance the stability for i2c tests 2024-12-04 19:28:10 +08:00
Ivan Grokhotkov
da2c883622 docs(cxx): add a section about std::filesystem limitations
Co-authored-by: Shen Meng Jing <shenmengjing@espressif.com>
2024-12-04 11:22:02 +01:00
Ivan Grokhotkov
e3f5a5a347 feat(storage): add a test app for std::filesystem features 2024-12-04 11:22:02 +01:00
Ivan Grokhotkov
80d4c75b89 feat(fatfs): add support for a few fcntl commands 2024-12-04 11:22:02 +01:00
Ivan Grokhotkov
7a214c1fab feat(newlib): add dummy implementations of pathconf, chmod, dirfd
Closes https://github.com/espressif/esp-idf/issues/14174
2024-12-04 11:22:02 +01:00
Nebojša Cvetković
d79c4f7e28 docs(cxx): mark std::filesystem as generally supported (#5003)
Closes https://github.com/espressif/esp-idf/pull/13736
2024-12-04 11:22:01 +01:00
yiwenxiu
9695a404f2 feat(openthread): add delay before execute wifi command in openthread ci cases 2024-12-04 16:52:36 +08:00
Luo Xu
5d7d1a180a fix(ble_mesh): Miscellaneous update
(cherry picked from commit 589ebfc1d6)

Co-authored-by: luoxu <luoxu@espressif.com>
2024-12-04 16:23:41 +08:00
Abhinav Kudnar
1d5cf825b4 feat(nimble): Added PAwR support for nimble with IDF examples 2024-12-03 18:19:00 +05:30
Sumeet Singh
668e739263 fix(nimble): Added
1. Option to disable automatic discovery when receiving out-of-sync
2. Fixed bugs related to robust caching
2024-12-03 18:19:00 +05:30
Sumeet Singh
29d92facf6 feat(nimble): Added ways to enable/disable some menuconfig options at runtime 2024-12-03 18:19:00 +05:30
Sumeet Singh
c93bd21056 feat(nimble): Added option to disable automatically sending extra credits to peer 2024-12-03 18:19:00 +05:30
Sumeet Singh
e2f24fb9fd feat(nimble): Added support for persisting csf characteristic for bonded devices 2024-12-03 18:18:59 +05:30
chenjianhua
526e1b6970 fix(bt/bluedroid): Fixed connection params copying when creating LE connection 2024-12-03 17:52:49 +08:00
shenmengjing
d80b192e89 docs: Update CN translation for vfs.rst 2024-12-03 17:41:44 +08:00
Song Ruo Jing
cfcedfe42d feat(uart): support uart sleep retention on C5/C61 2024-12-03 17:17:14 +08:00
Song Ruo Jing
43175ff671 fix(uart_vfs): read() now aligned to POSIX defined behavior
- For blocking mode, block until data available
- Return with the bytes available in the file at the time,
  it should not block until reaching the requested size

And read() should not realy return on the newline character
Closes https://github.com/espressif/esp-idf/issues/14155
2024-12-03 16:32:01 +08:00
wangtao@espressif.com
84bd87231d fix(wifi): fix esp32c2eco4 wifi deinit crash issue 2024-12-03 16:02:07 +08:00
Konstantin Kondrashov
d00f8b7898 fix(spi_flash): Fix Test esp_flash_write 2024-12-03 09:54:56 +02:00
Armando
a5eb720a9f fix(psram): fixed esp32p pico-v3 psram init not ignored issue
Closes https://github.com/espressif/esp-idf/issues/14970
2024-12-03 15:21:05 +08:00
morris
b5c5c046d6 fix(gdma): burst size should be configurable on esp32c5 2024-12-03 11:21:03 +08:00
Sumeet Singh
ef47084025 feat(nimble): Added option in menuconfig to enable Secure Connections Only mode 2024-12-02 21:04:58 +08:00
Sumeet Singh
0694880e5b fix(nimble): fix and enable connection subrating 2024-12-02 21:04:58 +08:00
Sumeet Singh
ecedb5fc5e fix(nimble): Added option to enable code under Enhanced COC 2024-12-02 21:04:58 +08:00
Sumeet Singh
cc9520b3dc fix(nimble): Fixed Device Information and Scan Parameters service 2024-12-02 21:04:58 +08:00
Sumeet Singh
29ab5643dc fix(nimble): Fixed encrypted advertisement data example 2024-12-02 21:04:58 +08:00
Sumeet Singh
31c8a6ee77 feat(nimble): Added LE GATT Security Levels Characteristic 2024-12-02 21:04:58 +08:00
Sumeet Singh
53a064274f feat(nimble): Added support for EATT Credit Based Flow Control Mode 2024-12-02 21:04:58 +08:00
wuzhenghui
afa697bd74 fix(esp_driver_gptimer): do gptimer retention by timer unit rather than timer group 2024-12-02 19:07:50 +08:00
wuzhenghui
4db067f8dc fix(esp_hw_support): remove p4 wdt retention on entry2 2024-12-02 19:05:04 +08:00
wuzhenghui
6f13d341c6 fix(esp_hw_support): fix retention link dump helper functions 2024-12-02 19:04:06 +08:00
zhiweijian
6103fc1430 fix(bt/controller): Fixed BLE assert ke_mem.c line 267 on ESP32-C3 and ESP32-S3 2024-12-02 15:58:56 +08:00
Wei Yu Han
47605ef8c4 Merge branch 'fix/optimize_ble_example_ci_build_rule' into 'master'
fix(ble): Optimizied the bluetooth build test rules

See merge request espressif/esp-idf!35259

(cherry picked from commit 0163cb8ed0)

67da5f4e fix(ble): Optimizied the bluetooth build test rules
c7deda66 fix(ble): Added ESP32C5 to the supported targets in...
d12fdfed fix(ble): Fixed a typo in nimble/throughput_app/blecent_throughput/README.md
c8288e17 fix(ble): Fixed the rule for esp_hid_device and esp_hid_host examples
fddf6403 fix(ble): enable esp_hid_host testing on ESP32 only
db31513d fix(ble): Added build rule for hci/ble_adv_scan_combined and controller_vhci_ble_adv examples
e76086f1 fix(ble): Added supported chip for examples hci/ble_adv_scan_combined and...
1b05f9e1 docs(ble): Replaced dbm with dBm in esp32c2 controller API reference

Co-authored-by: Island <island@espressif.com>
2024-12-02 14:27:05 +08:00
Song Ruo Jing
623351e791 fix(clk): add an inevitable kconfig option to be selected to use rc32k 2024-12-02 11:15:17 +08:00
Jiang Jiang Jian
daf465c038 Merge branch 'bugfix/pm-215_pm-259_v5.4' into 'release/v5.4'
fix(Power Management): fix_esp32c5_and_esp32c61_ext1_wakeup_failed_after_changing_io

See merge request espressif/esp-idf!35276
2024-11-30 11:24:47 +08:00
Marius Vikhammer
fb271d25d2 Merge branch 'fix/ulp_riscv_interrupt_bug_v5.4' into 'release/v5.4'
fix(ulp): fix ULP RISC-V interrupt handler corrupting the stack (backport v5.4)

See merge request espressif/esp-idf!35225
2024-11-30 10:51:31 +08:00
Jiang Jiang Jian
e767502c6a Merge branch 'bugfix/esp_ringbuf_static_analyzer_v5.4' into 'release/v5.4'
fix(ringbuf): fixed logic errors when compiling with CONFIG_COMPILER_STATIC_ANALYZER (v5.4)

See merge request espressif/esp-idf!35300
2024-11-30 10:37:00 +08:00
Jiang Jiang Jian
25039926a6 Merge branch 'fix/duplicated_enc_restart_request_when_change_key_type_v5.4' into 'release/v5.4'
fix(bt): fixed some issues in esp32 bt controller(backport v5.4)

See merge request espressif/esp-idf!35295
2024-11-30 01:57:46 +08:00
Jiang Jiang Jian
1b4e4d7f83 Merge branch 'backport/backport_some_changes_to_v5.4' into 'release/v5.4'
backport some changes to release/v5.4

See merge request espressif/esp-idf!35283
2024-11-30 01:57:25 +08:00
morris
e7b555de8d feat(mipi): fine tune DPHY PLL clock 2024-11-30 00:29:15 +08:00
Jiang Jiang Jian
3f63fd91ec Merge branch 'bugfix/fix_ble_creat_conn_fail_enh_v5.4' into 'release/v5.4'
fix(ble/bluedroid): Fixed BLE create connection fail because of invalid own address type (v5.4)

See merge request espressif/esp-idf!35019
2024-11-29 23:40:55 +08:00
Li Shuai
7d4af9aedd fix(Power Management): fix_esp32c5_and_esp32c61_ext1_wakeup_failed_after_changing_io 2024-11-29 23:37:52 +08:00
yinqingzhao
0af23ceb2b fix(wifi): fix esp32c5 schan and nchan not take effect on 2.4G 2024-11-29 23:36:51 +08:00
xuxiao
bd21db34b2 fix(wifi): fix esp32c6 can receive data frames where the SA (Source Address) matches its own address 2024-11-29 23:36:51 +08:00
wangtao@espressif.com
8886dba9d1 change(wifi): change softap default dtim period to 1 2024-11-29 23:36:51 +08:00
morris
bbdcabe250 Merge branch 'fix/sdmmc_test_various_cmds_sdmmc_test_sd_skip_if_board_incompatible_emmc_parameter' into 'release/v5.4'
fix: Add missing parameter to a function in sdmmc_tests

See merge request espressif/esp-idf!35294
2024-11-29 22:22:01 +08:00
David Čermák
a47b17e4e0 Merge branch 'fix/lwip_dhcp_timeout_u32_v5.4' into 'release/v5.4'
fix(lwip): Fix DHCP lease overlow using u32 type (v5.4)

See merge request espressif/esp-idf!35274
2024-11-29 18:27:51 +08:00
morris
0f24828900 Merge branch 'docs/update_vscode_extension_link_v5.4' into 'release/v5.4'
docs: Update vscode extension link in get started (v5.4)

See merge request espressif/esp-idf!35302
2024-11-29 18:14:26 +08:00
luweike
c166bf306f docs: Update vscode extension link in get started 2024-11-29 16:06:18 +08:00
Marius Vikhammer
2a04297e64 fix(ringbuf): fixed logic errors when compiling with CONFIG_COMPILER_STATIC_ANALYZER
ESP_STATIC_ANALYZER_CHECK was added to remove some static analyzer warning about
null pointer dereferences that should never happen, but the logic was wrong.

We return pdFALSE if prvReceiveGeneric was called with any of the input pointers
as NULL, but pvItem2 and xItemSize2 will only be non-null for split buffers.

Closes https://github.com/espressif/esp-idf/issues/14905
2024-11-29 15:11:19 +08:00
gongyantao
a3774cae8a fix(bt): fixed some issues in esp32 bt controller
1: fix duplicated lc_enc_restart_req when new lk type is semi-permanent
   key
2: reset PreventEncEvt flag at the end of restart encryption procedure
2024-11-29 14:10:01 +08:00
Jiang Jiang Jian
da9e87a711 Merge branch 'feature/switch_to_new_vfs_api_v5.4' into 'release/v5.4'
feat(storage): switch to new VFS API (v5.4)

See merge request espressif/esp-idf!35282
2024-11-29 13:52:03 +08:00
Jiang Jiang Jian
34a35b9591 Merge branch 'fix/usb_device_msc_storage_example_backport_v5.4' into 'release/v5.4'
fix(tusb_msc): Added SD power supply configuration for p4 (backport v5.4)

See merge request espressif/esp-idf!35102
2024-11-29 13:49:46 +08:00
Adam Múdry
1bc92b46fd fix: Add missing parameter to a function in sdmmc_tests
In sdmmc_test_various_cmds.c in sdmmc_test_sd_skip_if_board_incompatible function
2024-11-29 04:10:10 +01:00
Jiang Jiang Jian
023d772d90 Merge branch 'bugfix/chip823_pll_bug_v5.4' into 'release/v5.4'
fix(H2):fix pll low temp bug(v5.4)

See merge request espressif/esp-idf!35242
2024-11-29 10:47:55 +08:00
Jiang Jiang Jian
20bd6add52 Merge branch 'feature/mmu_page_size_from_app_bin_v5.4' into 'release/v5.4'
feat(bootloader): add support to use MMU page size from app binary (v5.4)

See merge request espressif/esp-idf!35070
2024-11-29 10:44:26 +08:00
Jiang Jiang Jian
236affbff2 Merge branch 'fix/tusb_midi_task_stack_overflow_v5.4' into 'release/v5.4'
fix(examples): tusb_midi task stack overflow fix (v5.4)

See merge request espressif/esp-idf!34933
2024-11-29 10:42:21 +08:00
Jiang Jiang Jian
985090a453 Merge branch 'feature/adds_efuse_adc_calib_data2_v5.4' into 'release/v5.4'
feat(efuse): Adds efuse ADC calib data for P4 C5 C61 (v5.4)

See merge request espressif/esp-idf!35118
2024-11-29 10:41:33 +08:00
Jiang Jiang Jian
850d102ea5 Merge branch 'fix/ble_mesh_heartbeat_bug_v5.4' into 'release/v5.4'
fix(ble_mesh): fixed heartbeat issue (v5.4)

See merge request espressif/esp-idf!34966
2024-11-29 10:29:03 +08:00
Konstantin Kondrashov
223b99aad5 feat(efuse): Adds 3 bit for PSRAM_CAP efuse field 2024-11-29 00:44:51 +08:00
Tomáš Rohlínek
def8b9b639 feat(storage/vfs): move semihost to new vfs API 2024-11-28 13:56:34 +01:00
Tomáš Rohlínek
7fe45180db feat(storage/vfs): move l2tap to new vfs API 2024-11-28 13:56:34 +01:00
Tomáš Rohlínek
0cd2e72dc1 feat(storage/esp_vfs_console): move console to new vfs API 2024-11-28 13:56:33 +01:00
Tomáš Rohlínek
4ff53bc9c7 feat(storage/vfs): move jtag driver to new vfs API 2024-11-28 13:56:33 +01:00
Tomáš Rohlínek
0aa10dcb43 feat(storage/vfs): move uart driver to new vfs API 2024-11-28 13:56:33 +01:00
Tomáš Rohlínek
906b3df54b feat(storage/vfs): move nullfs to new API 2024-11-28 13:56:32 +01:00
Tomáš Rohlínek
39197864a1 feat(storage/vfs): make part of nullfs API private 2024-11-28 13:56:32 +01:00
Tomáš Rohlínek
bb305bd109 feat(storage/esp_vfs_console): move cdcacm driver to new vfs API 2024-11-28 13:56:32 +01:00
Tomáš Rohlínek
e5ab487e3c feat(storage/vfs): update docs to new version of API 2024-11-28 13:56:31 +01:00
Tomáš Rohlínek
6b07039281 feat(storage/spiffs): move spiffs to new VFS API 2024-11-28 13:56:31 +01:00
Tomáš Rohlínek
09d222c38d feat(storage/fatfs): move fatfs to new VFS API 2024-11-28 13:56:31 +01:00
Tomáš Rohlínek
ced490fc6e feat(storage/vfs): make subcomponent pointers const 2024-11-28 13:56:26 +01:00
Jiang Jiang Jian
05b6d92042 Merge branch 'bugfix/esp32c3_eco7_usj_console_v5.4' into 'release/v5.4'
fix(esp_rom): fix esp32c3 eco7 console rom function address (v5.4)

See merge request espressif/esp-idf!34738
2024-11-28 19:55:38 +08:00
David Cermak
d85744af43 fix(lwip): Fix DHCP lease overlow using u32 type 2024-11-28 10:06:14 +01:00
Rahul Tank
5af12cf722 Merge branch 'bugfix/resolve_watchdog_crash_v5.4' into 'release/v5.4'
fix(nimble): Resolved watchdog due to memory exceed prints (v5.4)

See merge request espressif/esp-idf!35209
2024-11-28 14:46:54 +08:00
Jin Chen
a3c9a39304 fix(ble): fix btbb retention register size on esp32c61
(cherry picked from commit ce85e113a9)

Co-authored-by: cjin <jinchen@espressif.com>
2024-11-28 11:34:50 +08:00
morris
830d836fb1 Merge branch 'change/use_uart0_for_ram_app_c5_v5.4' into 'release/v5.4'
ci(ram_app): use uart0 config (v5.4)

See merge request espressif/esp-idf!35245
2024-11-28 11:23:55 +08:00
Island
5e0fe45c25 Merge branch 'bugfix/add_aa_check_on_esp32c2_and_esp32c6_v5.4' into 'release/v5.4'
Bugfix/add aa check on esp32c2 and esp32c6 (v5.4)

See merge request espressif/esp-idf!35234
2024-11-28 11:02:34 +08:00
Shu Chen
dac9e60690 Merge branch 'fix/enhance_wifi_connection_check_in_ot_ci_case_v5.4' into 'release/v5.4'
feat(openthread): enhance wifi connection check in openthread ci cases (Backport v5.4)

See merge request espressif/esp-idf!35164
2024-11-28 10:46:26 +08:00
xiongweichao
92780d3f88 fix(bt/bluedroid): fixed issues introduced by byte alignment
- esp_bt_uuid_t is byte aligned, tBT_UUID is 4-byte aligned.
2024-11-28 10:12:32 +08:00
Armando
138b3390c5 ci(ram_app): use uart0 config 2024-11-28 10:08:43 +08:00
Martin Vychodil
60c561792c Merge branch 'fix/sdmmc_send_acmd22_after_multiple_write_cmd_v5.4' into 'release/v5.4'
fix(sdmmc): Send ACMD22 if CMD25 fails (v5.4)

See merge request espressif/esp-idf!34860
2024-11-28 02:11:25 +08:00
Martin Vychodil
f48f07a418 Merge branch 'feature/storage_nvs_bootloader_v5.4' into 'release/v5.4'
feat(storage/nvs): NVS bootloader support (v5.4)

See merge request espressif/esp-idf!35249
2024-11-28 01:55:03 +08:00
Anton Maklakov
b88913ca27 Merge branch 'feature/update-toolchain-to-esp-14.2.0_20241119_v5.4' into 'release/v5.4'
feat(tools): update toolchain version to esp-14.2.0_20241119 (v5.4)

See merge request espressif/esp-idf!35140
2024-11-27 22:26:47 +08:00
radek.tandler
4e8bb8a082 feat(nvs_flash): Implemented basic nvs_flash support for bootloader 2024-11-27 15:22:46 +01:00
Alexey Gerenkov
c2ae806661 Merge branch 'change/sysview_test_config_v5.4' into 'release/v5.4'
change(sysview): run heap_log tracing tests on existing cores (v5.4)

See merge request espressif/esp-idf!35195
2024-11-27 19:04:02 +08:00
Abhinav Kudnar
2f6a7ec1ae fix(nimble): Resolved watchdog due to memory exceed prints 2024-11-27 18:00:37 +08:00
zlq
7a92f14df6 fix(H2):fix pll low temp bug 2024-11-27 17:46:10 +08:00
chenjianhua
02cc012db5 feat(ble/bluedroid): Support setting connection params when creating connection 2024-11-27 17:13:21 +08:00
zhanghaipeng
4ed30165d8 fix(ble/bluedroid): Optimize BLE API "esp_ble_gattc_enh_open" 2024-11-27 17:07:24 +08:00
zhanghaipeng
719a2313be fix(ble/bluedroid): Fixed BLE create connection fail because of invalid own address type 2024-11-27 17:07:24 +08:00
Martin Vychodil
315b1ec4ae Merge branch 'fix/littlefs_image_creation_windows_v5.4' into 'release/v5.4'
fix(littlefs): Allow LittleFS image generation on Windows + version bump (v5.4)

See merge request espressif/esp-idf!34915
2024-11-27 16:21:18 +08:00
Zhao Wei Liang
079acc88a7 fix(ble): fixed the connect issue when rx error aa on ESP32-H2
(cherry picked from commit 093b65e27c)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-11-27 16:03:51 +08:00
Zhao Wei Liang
903307b191 fix(ble): fixed the connect issue when rx error aa on ESP32-C6
(cherry picked from commit 69b535d422)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-11-27 16:03:49 +08:00
yiwenxiu
516e1131a7 feat(openthread): enhance wifi connection check in openthread ci cases 2024-11-27 15:53:37 +08:00
Island
a516ca527d Merge branch 'bugfix/fix_bleqabr24_1646_v5.4' into 'release/v5.4'
Fixed BLE creating connection when the connection already exists on ESP32 (v5.4)

See merge request espressif/esp-idf!35047
2024-11-27 15:45:05 +08:00
Omar Chebib
ab4fa65d0d fix(ulp): fix ULP RISC-V interrupt handler corrupting the stack
* Closes https://github.com/espressif/esp-idf/issues/14930
2024-11-27 11:43:15 +08:00
Konstantin Kondrashov
409a75936a feat(efuse): Adds efuse ADC calib data for ESP32-C61 2024-11-26 22:17:23 +08:00
Konstantin Kondrashov
b1662f643a feat(efuse): Adds efuse ADC calib data for ESP32-C5 2024-11-26 22:17:23 +08:00
morris
8f58a27418 Merge branch 'change/p4_sd_runner_no_use_usj_v5.4' into 'release/v5.4'
ci(sd): use uart0 as usj always serial noise on ci on p4 (v5.4)

See merge request espressif/esp-idf!35191
2024-11-26 18:01:10 +08:00
Erhan Kurubas
e5d377be8d fix(sysview): add prefix to the module desc to avoid stuck in Segger SystemView app
Closes https://github.com/espressif/esp-idf/issues/10483
2024-11-26 10:51:18 +01:00
Guillaume Souchere
0f6adbfd25 fix(heap): Fix wrong config to enable MALLOC_CAP_EXEC in memory_layout.c
In esp32c2 and esp32c61 memory_layout.c files, the config used to allow
MALLOC_CAP_EXEC was CONFIG_ESP_SYSTEM_MEMPROT_FEATURE when
CONFIG_ESP_SYSTEM_PMP_IDRAM_SPLIT should be used.

Closes https://github.com/espressif/esp-idf/issues/14836
2024-11-26 09:24:54 +01:00
Erhan Kurubas
688b86ba24 change(sysview): support single/dual core targets in heap_trace_log test 2024-11-26 08:49:30 +01:00
Island
4cf553509e Merge branch 'feat/remove_unused_sdkconfig_in_ble_examples_v5.4' into 'release/v5.4'
fix(ble/example): Removed unused sdkconfig files (v5.4)

See merge request espressif/esp-idf!35189
2024-11-26 15:46:04 +08:00
morris
ef3c64d006 Merge branch 'fix/fix_jpeg_decode_info_v5.4' into 'release/v5.4'
fix(jpeg_decoder): Fix jpeg decoder get picture information (backport v5.4)

See merge request espressif/esp-idf!35157
2024-11-26 15:36:37 +08:00
Armando
56ec6b8b66 test(emmc): disabled emmc tests on p4 2024-11-26 15:10:28 +08:00
Armando
fbbfa3bab3 ci(sd): use uart0 as usj always serial noise on ci on p4 2024-11-26 15:09:38 +08:00
Armando
5fdf844c0a test(sd): no uhs1 runner 2024-11-26 15:09:34 +08:00
Wang Meng Yang
76d90ba1ca Merge branch 'bugfix/disconn_sdp_upon_wrong_data_v5.4' into 'release/v5.4'
fix(bt/bluedroid): disconnect SDP connection on receiving incorrect response (v5.4)

See merge request espressif/esp-idf!35143
2024-11-26 15:00:07 +08:00
Wang Meng Yang
3eab76508e Merge branch 'feat/add_profile_state_event_v5.4' into 'release/v5.4'
feat(bt/bluedroid): added events to indicate the profile states of HFP (v5.4)

See merge request espressif/esp-idf!35148
2024-11-26 14:59:31 +08:00
chenjianhua
c37e7ced7d fix(bt): Update bt lib for ESP32(c3082c4)
- Fixed BLE creating connection when the connection already exists
2024-11-26 14:46:02 +08:00
Mahavir Jain
9e2decf7df Merge branch 'ci/fix_pytest_otatool_for_c2_v5.4' into 'release/v5.4'
fix(examples): Fix pytest_otatool for C2 (v5.4)

See merge request espressif/esp-idf!35116
2024-11-26 13:05:21 +08:00
Zhou Xiao
8805bf97d3 feat(ble/example): Removed unused sdkconfig files
(cherry picked from commit 57b98f4e1e)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2024-11-26 12:05:37 +08:00
Island
3915ea30f2 Merge branch 'bugfix/fix_c2_light_sleep_coex_v5.4' into 'release/v5.4'
fix(ble): fix ble light sleep error on esp32c2 (v5.4)

See merge request espressif/esp-idf!35056
2024-11-26 10:50:33 +08:00
Shu Chen
9181ecabf8 Merge branch 'backport/openthread_related_feature_v54_20241125' into 'release/v5.4'
Backport openthread related features to 5.4

See merge request espressif/esp-idf!35172
2024-11-26 09:51:38 +08:00
Roland Dobai
37cb1521a1 Merge branch 'feat/add_activate_debug_information_v5.4' into 'release/v5.4'
feat(tools): Imporve activate.py debug information (v5.4)

See merge request espressif/esp-idf!35170
2024-11-25 17:41:59 +08:00
morris
af5ddf0eb6 Merge branch 'contrib/github_pr_14767_v5.4' into 'release/v5.4'
fix(gptimer): race on FSM state in gptimer_start() (GitHub PR) (v5.4)

See merge request espressif/esp-idf!35134
2024-11-25 17:24:23 +08:00
Marek Fiala
2e2740d20b feat(tools): Imporve activate.py debug information 2024-11-25 10:13:02 +01:00
C.S.M
65ce617a8d fix(jpeg_decoder): Fix jpeg decoder get picture information 2024-11-25 14:37:06 +08:00
Xu Si Yu
aa3e5d9832 feat(openthread): adjusted the default macro configurations of openthread 2024-11-25 14:31:28 +08:00
Xu Si Yu
b813889b62 feat(openthread): support using custom header file 2024-11-25 12:29:56 +08:00
morris
fe3bb073f9 Merge branch 'refactor/i2c_ll_trm_sync_v5.4' into 'release/v5.4'
refactor(i2c): rename some LL functions according to TRM descriptions (v5.4)

See merge request espressif/esp-idf!35107
2024-11-25 10:30:02 +08:00
Jin Cheng
e8c3b6418c feat(bt/bluedroid): added events to indicate the profile states of HFP 2024-11-25 10:21:55 +08:00
Jin Cheng
f22b03cd7e fix(bt/bluedroid): disconnect SDP connection on receiving incorrect response 2024-11-25 10:19:05 +08:00
Alexey Lapshin
bb72e51d6a feat(tools): update toolchain version to esp-14.2.0_20241119 2024-11-23 14:39:35 +07:00
Alexey Lapshin
fd89e9f144 fix(tools): fix adding tar.gz archive to tools.json if tar.xz is present 2024-11-23 14:39:35 +07:00
David Čermák
8a17f7f8c5 Merge branch 'fix/lwip_tcp_pcb_recycle_v5.4' into 'release/v5.4'
fix(lwip): Limit active TCP PCBs and recycle them faster (v5.4)

See merge request espressif/esp-idf!35092
2024-11-23 02:53:41 +08:00
David Cermak
7d9970590a fix(lwip): Limit active TCP PCBs and recycle them faster
Update submodule: git log --oneline c816f0ee..a587d929
  - test: Add tcp-pcb recycle test (espressif/esp-lwip@a587d929)
  - tcp: Apply faster PCB recycling in FIN_WAIT_1 or FIN_WAIT_2 state (espressif/esp-lwip@3bfc85d2)
  - test: Add tcp alloc limitation test (espressif/esp-lwip@0c9c39a9)
  - memp: Employ TCP-PCB allocation limit if libc malloc used (espressif/esp-lwip@9cb96ac1)
2024-11-22 14:45:36 +01:00
David Čermák
b1c4c9ae2f Merge branch 'fix/lwip_ping_ipv6only_v5.4' into 'release/v5.4'
fix(lwip): Fix IP6 raw socket checksum in IPv6-only configuration (v5.4)

See merge request espressif/esp-idf!35083
2024-11-22 21:38:49 +08:00
Wang Meng Yang
c122f727d1 Merge branch 'bugfix/lmp_trans_collision_v5.4' into 'release/v5.4'
fix(bt/controller): Fixed some controller bugs on ESP32 (v5.4)

See merge request espressif/esp-idf!34944
2024-11-22 19:15:02 +08:00
lsita
fa3cdccb18 fix(gptimer): race condition between start and stop
Merges https://github.com/espressif/esp-idf/pull/14767
2024-11-22 18:22:47 +08:00
Island
438c0634af Merge branch 'feat/optimize_cble50y24_110_v5.4' into 'release/v5.4'
feat(bt/bluedroid): Added BLE 5.0 throughput examples (v5.4)

See merge request espressif/esp-idf!35010
2024-11-22 17:53:44 +08:00
Adam Múdry
94aa1c0d5d fix(sdmmc): Fix ACMD22 DMA buffer problem for ESP32-P4 2024-11-22 17:13:07 +08:00
Adam Múdry
2d5d2509fb test(sdmmc): Add test_apps test for sdmmc component 2024-11-22 17:13:07 +08:00
Adam Múdry
68c1423cf3 fix(sdmmc): Generalize waiting for card idle to a function 2024-11-22 17:13:07 +08:00
Adam Múdry
1f0931f6d1 fix(sdmmc): Send ACMD22 if CMD25 fails
Send the number of the written write blocks (ACMD22) after
write multiple blocks fails (CMD25)
2024-11-22 17:13:07 +08:00
morris
47d0a913e0 Merge branch 'doc/vad_programming_guide_v5.4' into 'release/v5.4'
doc: lp_i2s and vad programming guide (v5.4)

See merge request espressif/esp-idf!35108
2024-11-22 15:48:31 +08:00
Jiang Jiang Jian
bc89933ad6 Merge branch 'bugfix/wps_ie_reset_v54' into 'release/v5.4'
fix(wifi): Remove WPS IEs once WPS succeeds (v5.4)

See merge request espressif/esp-idf!35071
2024-11-22 14:39:24 +08:00
Jiang Jiang Jian
b56ad1d633 Merge branch 'fix/ws_transport_head_fragments_v5.4' into 'release/v5.4'
fix(ws_transport): Fix reading WS header in fragments (v5.4)

See merge request espressif/esp-idf!35088
2024-11-22 13:43:19 +08:00
Jiang Jiang Jian
5e65f632a3 Merge branch 'feature/avoid_compiling_wifi_components_when_wifi_is_unsupported_v5.4' into 'release/v5.4'
feat(wifi): avoid compiling components related to wifi when wifi is not supported(Backport v5.4)

See merge request espressif/esp-idf!35062
2024-11-22 13:42:51 +08:00
Jiang Jiang Jian
31ef58d98e Merge branch 'fix/add_sbom_exception_v5.4' into 'release/v5.4'
Add an exception in wpa_supplicant sbom.yml (Backport v5.4)

See merge request espressif/esp-idf!35061
2024-11-22 13:41:52 +08:00
Jiang Jiang Jian
569f6c0213 Merge branch 'fix/fix_modem_module_clock_missing_after_ota_v5.4' into 'release/v5.4'
fix(esp_system): deselect all modem modules lp clock source selection before clk initialization (v5.4)

See merge request espressif/esp-idf!34923
2024-11-22 13:41:23 +08:00
Li Bo
7bba3dfe8a fix(esp_rom): fix esp32c3 eco7 console rom function address 2024-11-22 13:40:05 +08:00
Konstantin Kondrashov
ed5a540439 fix(examples): Fix pytest_otatool for C2
Test for C2 has to be run with flash_4mb
2024-11-22 07:09:03 +02:00
Jin Cheng
5cd5ede2f5 fix(bt/controller): Fixed some controller bugs on ESP32
- Fixed wrong logic in handling sniff transaction collision at slave
      side
    - Fixed the issue ACL is stopped too early before eSCO
2024-11-22 11:01:30 +08:00
gongyantao
dc6fc5a1f5 fix(bt): fix some issues in bt controller
1: Store local device name into NVDS when handling hci_wr_local_name_cmd.
2: Set default device name during link manager initialization.
3: Set the QoS value to the minimum value if the calculated QoS is less
   than the minumum.
2024-11-22 11:01:30 +08:00
zhanghaipeng
5c722289b6 fix(bt/ble): Update esp32 libbtdm_app.a (17db8bd)
- Added a verification step for the Access Address within the CONNECT_IND PDU
2024-11-22 11:01:30 +08:00
Jin Cheng
f4f1d20c82 fix(bt/bluedroid): AG should send OK or other error codes to HF client
when it is driven by HF to initiate a call.
2024-11-22 11:01:30 +08:00
Armando
4207ec8b3b doc(vad): remove vad png 2024-11-22 10:47:05 +08:00
Armando
6aa6883af4 change(lp_i2d): use atomic fsm check 2024-11-22 10:46:53 +08:00
Armando
22f36bea53 change(vad): wakeup driver maitain necessary power domain 2024-11-22 10:46:49 +08:00
Armando
37d8e97a9d doc(lp_vad): lp vad programming guide 2024-11-22 10:46:43 +08:00
Armando
e4a9243517 doc(lp_i2s): lp i2s programming guide 2024-11-22 10:46:39 +08:00
Armando
e83fc30b67 fix(lp_i2s): added cbs iram check 2024-11-22 10:46:34 +08:00
morris
85e86626ff refactor(i2c): rename some LL functions according to TRM descriptions 2024-11-22 10:14:22 +08:00
morris
30f0c6f5db Merge branch 'docs/usb_host_ext_port_driver_backport_v5.4' into 'release/v5.4'
docs(ext_port): Maintainers Notes for the External Port Driver (backport v5.4)

See merge request espressif/esp-idf!35100
2024-11-22 10:06:15 +08:00
Roland Dobai
6048d26493 Merge branch 'fix/import_error_msg_v5.4' into 'release/v5.4'
fix(tools): re-raise ImportError without module name (v5.4)

See merge request espressif/esp-idf!35073
2024-11-22 01:37:20 +08:00
Roman Leonov
8fc6dad7ff fix(tusb_msc): Added SD power supply configuration for p4 2024-11-21 13:10:03 +01:00
Roman Leonov
adb468bade docs(ext_port): Maintainers Notes for the External Port Driver 2024-11-21 12:49:32 +01:00
Mahavir Jain
e1c0ad9189 Merge branch 'fix/aes_cache_failure_when_l2_cache_line_size_greater_than_l1_cache_v5.4' into 'release/v5.4'
Fix memory corruption caused due to unaligned external memory buffers sync in AES (v5.4)

See merge request espressif/esp-idf!35064
2024-11-21 18:35:33 +08:00
David Cermak
2822cc671a fix(lwip): Fix ping_v6 receiving to accept only echo replies
This fixes a bug where we ping our own IP and the request itself
bounces back to the raw receive function and is incorrectly treated as
reply. (this bug was discovered when fixing ICMPv6 pings with incorrect
checksums, while the ping request was dropped in icmpv6.c due to wrong
checksum, but was also fed to raw layers where it was treated as
"correct" response, so the PINGv6 to ourselves still worked)
2024-11-21 11:24:46 +01:00
David Cermak
e390c17f99 fix(common_connect): Fix example's stdin/out to setup UART interrupt once
Function example_configure_stdin_stdout() was used for simple UART I/O
operation in CI to enter test env configuration (wifi ssid, IPs, etc).
It could be called multiple times, but didn't handle the situation where
we install UART interrupt from multiple source (e.g. in ICMP tests,
where we first need to enter wifi credentials of test AP and then we
start ping-cmd console to handle ping commands)
2024-11-21 11:24:46 +01:00
David Cermak
f75e399139 fix(lwip): Fix IP6 raw socket checksum in IPv6-only configuration
* Update submodule: git log --oneline f150e232..c816f0ee
  - sockets: Make IPv6 only netconn type IPv6 aware (espressif/esp-lwip@c816f0ee)
  - test: Make test application scalable (espressif/esp-lwip@3ec12c3b)
  - dns: Handle active DNS entries before clearing cache (espressif/esp-lwip@b15cd2de)
2024-11-21 11:24:30 +01:00
Laukik Hase
9d7a4e5917 change(bootloader): Map only the necessary length when fetching the app description struct 2024-11-21 15:12:55 +05:30
Mahavir Jain
fbe93aa25e test: add configurable mmu page size test app
Test app to ensure that bootloader and application built with
different flash MMU page size are compatible. This is for the
SoCs that support configurable flash MMU page size.
2024-11-21 15:11:45 +05:30
Mahavir Jain
07318a4987 feat(bootloader): add support to use MMU page size from app binary
For the SoCs that support configurable MMU page size, it is possible
that the bootloader and application are built with different MMU page
size configuration. This mismatch is not supported at the moment and
application verification fails (at bootup or during OTA update).

Configuring MMU page size helps to optimize the flash space by having
smaller alignment and padding (secure) requirements. Please note that
the MMU page size is tied with the flash size configuration at the
moment (`ESPTOOLPY_FLASHSIZE_XMB`).

This MR ensures that application verification happens using the MMU page
size configured in its binary header. Thus, bootloader and application
can now have different MMU page sizes and different combinations shall
be supported.
2024-11-21 15:11:38 +05:30
David Cermak
15636a2f14 fix(ws_transport): Unit test on reading WS data byte by byte
Closes https://github.com/espressif/esp-idf/issues/14704
Closes https://github.com/espressif/esp-protocols/issues/679
2024-11-21 10:39:23 +01:00
Richard Allen
b8a7d96e98 fix(ws_transport): Fix reading WS header bytes
Correct split header bytes

When the underlying transport returns header,
length, or mask bytes early, again call the
underlying transport.

This solves the WS parser getting offset when
the server sends a burst of frames where the
last WS header is split across packet boundaries,
so fewer than the needed bytes may be available.

Merges https://github.com/espressif/esp-idf/pull/14706
2024-11-21 10:39:23 +01:00
Frantisek Hrbata
2151f23f46 fix(tools): re-raise ImportError without module name
The ImportError or ModuleNotFoundError might be raised without
specifying a module name. In this not so common situation, re-raise the
exception to print all the information that could assist in identifying
the problem.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-21 09:37:12 +01:00
Kapil Gupta
234dce0e7f fix(wifi): Remove WPS IEs once WPS succeeds 2024-11-21 13:42:29 +05:30
harshal.patil
e0312feddb fix(mbedtls/aes): Fix external memory corruption caused due to unaligned length cache sync
Fixes the memory corruption issue that arises due to external memory cache sync of unaligned
length bytes when L2 cache line size is greater than the L1 cache line size
2024-11-21 12:15:57 +05:30
yinqingzhao
a34f1eb6f9 feat(wifi): avoid compiling components related to wifi when wifi is not supported 2024-11-21 14:18:41 +08:00
Nachiket Kukade
8580f9f622 fix(wpa_supplicant): Add an exception in wpa_supplicant sbom.yml 2024-11-21 11:48:19 +05:30
Jin Chen
999b10d2d4 fix(ble): change ld for ble scan coex issue
(cherry picked from commit dd499d7b2e)

Co-authored-by: cjin <jinchen@espressif.com>
2024-11-21 11:03:55 +08:00
Jin Chen
43cd3491c9 fix(ble): fix ble light sleep error on esp32c2
(cherry picked from commit 23f7e33a97)

Co-authored-by: cjin <jinchen@espressif.com>
2024-11-21 11:03:53 +08:00
Shu Chen
9240757145 Merge branch 'fix/fix_a_naming_error_of_esp_radio_spinel_v54' into 'release/v5.4'
fix a naming error of esp radio spinel (backport to 5.4)

See merge request espressif/esp-idf!35041
2024-11-21 10:35:23 +08:00
Jiang Jiang Jian
914a4810a9 Merge branch 'bugfix/idf-11064_v5.4' into 'release/v5.4'
backport v5.4: fix some issues on esp32c5 eco1

See merge request espressif/esp-idf!34790
2024-11-20 19:38:13 +08:00
Jiang Jiang Jian
48ed77c9cc Merge branch 'bugfix/rx_invalid_cmd_err_code_v5.4' into 'release/v5.4'
fix(bt/bluedroid): Fixed the incorrect error code returned when receiving an invalid command(v5.4)

See merge request espressif/esp-idf!34987
2024-11-20 19:12:23 +08:00
Jiang Jiang Jian
a61663d63b Merge branch 'bugfix/crash_deauth_fix_5.4' into 'release/v5.4'
Fix for crash while receiving deauth in esp32c2 ECO4(v5.4)

See merge request espressif/esp-idf!34984
2024-11-20 19:10:59 +08:00
Island
b5c02eb3d8 Merge branch 'bugfix/fix_classic_bt_build_fail_v5.4' into 'release/v5.4'
fix(bt/bluedroid): Fixed classic bt build fail when enable dynamic memory and disable BLE (v5.4)

See merge request espressif/esp-idf!34931
2024-11-20 18:05:49 +08:00
Island
28bf5eacb9 Merge branch 'feature/support_moving_code_to_flash_v5.4' into 'release/v5.4'
feat(ble): Support for putting code in flash on ESP32-C2 (v5.4)

See merge request espressif/esp-idf!34786
2024-11-20 17:46:55 +08:00
morris
8d4b04742c Merge branch 'fix/c61_h2_pmu_icg_csv_update_v5.4' into 'release/v5.4'
fix(pmu): c61 and h2 update pmu_icg_mapping.h (v5.4)

See merge request espressif/esp-idf!34795
2024-11-20 17:41:37 +08:00
Jiang Jiang Jian
a09d5747e1 Merge branch 'bugfix/esp_bt_wifi_bt_power_api_v5.4' into 'release/v5.4'
fix(bt): Move esp_wifi_bt_power_domain_on/off to esp_phy_init.h(v5.4)

See merge request espressif/esp-idf!34626
2024-11-20 16:27:01 +08:00
Xu Si Yu
f70bec1cf8 fix(openthread): fix a naming error of esp radio spinel 2024-11-20 15:47:38 +08:00
Jiang Jiang Jian
4cc82c7d66 Merge branch 'feat/sleep_retention_expand_module_bitmap_v5.4' into 'release/v5.4'
backport v5.4: expand the number of sleep retention modules supported on different chips

See merge request espressif/esp-idf!34691
2024-11-20 14:50:52 +08:00
morris
0e966ba0d6 Merge branch 'feat/mipi_dsi_underrun_error_v5.4' into 'release/v5.4'
feat(mipi_dsi): enable underrun error interrupt (v5.4)

See merge request espressif/esp-idf!34980
2024-11-20 14:47:09 +08:00
wanckl
6abf54e150 fix(pmu): c61 and h2 update pmu_icg_mapping.h 2024-11-20 10:32:40 +08:00
morris
9c2a5ac60e Merge branch 'fix/twai_io_init_glitch_v5.4' into 'release/v5.4'
fix(driver_twai): fixed bus-off when twai_init due to wrong gpio config (v5.4)

See merge request espressif/esp-idf!34815
2024-11-20 10:32:05 +08:00
morris
fb52ad1d26 Merge branch 'fix/p4_spi_no_dma_polling_cache_fail_v5.4' into 'release/v5.4'
fix(driver_spi): fixed p4 no dma polling trans cache sync fail (v5.4)

See merge request espressif/esp-idf!34813
2024-11-20 10:18:33 +08:00
Shu Chen
c46fe1fa4f Merge branch 'fix/add_network_reconnectin_in_ot_ci_case_v5.4' into 'release/v5.4'
feat(openthread): flush ipv6 addr in openthread ci cases(Backport v5.4)

See merge request espressif/esp-idf!34675
2024-11-20 10:15:49 +08:00
morris
dfe11ebb47 Merge branch 'doc/isp_lsc_doc_v5.4' into 'release/v5.4'
isp: lsc doc (v5.4)

See merge request espressif/esp-idf!35021
2024-11-20 10:12:19 +08:00
morris
0960a602f4 feat(mipi_dsi): enable underrun error interrupt 2024-11-19 21:42:47 +08:00
morris
15202df249 Merge branch 'ci/fix_i2s_multi_dev_test_potential_overflow_v5.4' into 'release/v5.4'
ci(i2s): fix the potential overflow in multi_dev test (v5.4)

See merge request espressif/esp-idf!35022
2024-11-19 18:15:31 +08:00
Luo Xu
5fef371bad fix(ble_mesh): fixed heartbeat issue
(cherry picked from commit 167cd4762b)

Co-authored-by: luoxu <luoxu@espressif.com>
2024-11-19 18:03:23 +08:00
Rahul Tank
be95e8e14b Merge branch 'bugfix/memory_issue_v5.4' into 'release/v5.4'
fix(nimble): Nimble Error logs in case of memory overflow/failure (v5.4)

See merge request espressif/esp-idf!34997
2024-11-19 16:56:40 +08:00
laokaiyao
3ea47a6cf3 docs(i2s): update i2s cap overview 2024-11-19 15:57:26 +08:00
laokaiyao
1a685b7e1c ci(i2s): fix the potential overflow in multi_dev test 2024-11-19 15:57:24 +08:00
yiwenxiu
cad2ff8de5 feat(openthread): flush ipv6 addr in openthread ci cases 2024-11-19 15:48:40 +08:00
Jiang Jiang Jian
17b7419786 Merge branch 'fix/update_ping_cmd_version_v5.4' into 'release/v5.4'
update: Update ping-cmd component to v1.0.0 (v5.4)

See merge request espressif/esp-idf!35012
2024-11-19 14:59:23 +08:00
Shu Chen
69a9b17587 Merge branch 'backport/openthread_related_feature_v54_20241112' into 'release/v5.4'
Backport openthread related features to 5.4

See merge request espressif/esp-idf!34834
2024-11-19 14:54:03 +08:00
Armando
b873befcd8 doc(isp): isp lsc programming guide 2024-11-19 14:33:55 +08:00
Armando
10b3296085 change(sdmmc): simplify cmd11 enable code 2024-11-19 14:30:31 +08:00
wanckl
b282c41954 fix(driver_spi): fixed p4 no dma polling trans cache sync fail 2024-11-19 11:50:47 +08:00
wanckl
928b7f6efc fix(driver_twai): fixed bus-off when twai_init due to wrong gpio config
Closes https://github.com/espressif/esp-idf/issues/14548
2024-11-19 11:50:29 +08:00
Chen Yudong
e8f76a93a1 change: Update ping-cmd component to v1.0.0 2024-11-19 11:38:16 +08:00
Chen Jian Hua
91fe5d7fa8 feat(bt/bluedroid): Added BLE 5.0 throughput examples
(cherry picked from commit 6d3a82eecf)

Co-authored-by: zhangbowen <zhangbowen@espressif.com>
2024-11-19 10:33:44 +08:00
xiongweichao
91c2390897 fix(bt): Move esp_wifi_bt_power_domain_on/off to esp_phy_init.h 2024-11-19 10:12:59 +08:00
Li Shuai
52bcb74b67 fix(esp_hw_support): fix the issue of wifi rx packet loss when switchng soc root clock source 2024-11-18 21:52:00 +08:00
Li Shuai
ea6dd7344d fix(esp_hw_support): fix the issue of mmu table content loss due to default sd signal 2024-11-18 21:52:00 +08:00
morris
e422e12f17 Merge branch 'feat/dynamic_usb_hal_backport_v5.4' into 'release/v5.4'
feat(hal/usb): Make USB-DWC HAL&LL configuration independent backport v5.4

See merge request espressif/esp-idf!34812
2024-11-18 21:40:16 +08:00
Abhinav Kudnar
16d7351cbc fix(nimble): Nimble Error logs in case of memory overflow/failure 2024-11-18 17:47:05 +08:00
Li Shuai
71f83bd02b change(esp_hw_support): fix some sleep retention build error 2024-11-18 17:46:41 +08:00
Li Shuai
4b0faf47b4 change(soc): define sleep retention module total number to 64 for esp32p4 2024-11-18 17:46:41 +08:00
Li Shuai
a56249f631 change(esp_hw_support): update power domain pd allowed check logic 2024-11-18 17:46:41 +08:00
Li Shuai
bde6b9141f change(esp_hw_support): update some modules sleep retention init dependency bitmap 2024-11-18 17:46:40 +08:00
Rahul Tank
06587938fb Merge branch 'feature/remove_min_max_def_v5.4' into 'release/v5.4'
fix(nimble): Removed min/max macro definition from os.h (v5.4)

See merge request espressif/esp-idf!34909
2024-11-18 17:07:25 +08:00
xiongweichao
8480fb3c6f fix(bt/bluedroid): Fixed the incorrect error code returned
when receiving an invalid command
2024-11-18 16:49:54 +08:00
Li Shuai
00a6f825b0 change(soc): add sleep retention module total number definition 2024-11-18 16:05:34 +08:00
Li Shuai
78b272c092 feat(esp_hw_support): extend sleep retention module bitmap bit width 2024-11-18 15:57:42 +08:00
morris
538b0fc180 Merge branch 'fix/fix_tsens_retention_p4_v5.4' into 'release/v5.4'
fix(temperature_sensor): Fix temperature sensor sleep retention on p4 (backport v5.4)

See merge request espressif/esp-idf!34979
2024-11-18 14:31:15 +08:00
akshat
853a944cd0 fix(esp_rom): Comment out unused function pointers in esp32c2 eco4 linker file 2024-11-18 11:49:50 +05:30
Aditi
1917e7f532 fix(esp_wifi): Fix for crash while receiving deauth in esp32c2 ECO4 2024-11-18 11:45:46 +05:30
Shu Chen
84569bc94f Merge branch 'backport/2015_enhack_v54' into 'release/v5.4'
fix(802.15.4): add case for 2015 frame enh-ack (Backport v5.4)

See merge request espressif/esp-idf!34954
2024-11-18 11:48:48 +08:00
Jiang Jiang Jian
35f0fdcd36 Merge branch 'fix/fix_deadlock_in_pm_mode_switching_v5.4' into 'release/v5.4'
fix(esp_pm): fix deadlock in pm_mode switching (v5.4)

See merge request espressif/esp-idf!34938
2024-11-18 11:20:01 +08:00
C.S.M
479f7bfdc4 fix(temperature_sensor): Fix temperature sensor sleep retention on p4 2024-11-18 10:37:50 +08:00
Shu Chen
75e0cc387e Merge branch 'fix/thread_resolve_invalid_host_v5_4' into 'release/v5.4'
fix(openthread): Fix invalid host resolving for Thread end devices(v5.4)

See merge request espressif/esp-idf!34942
2024-11-17 21:29:26 +08:00
zwx
d5d07b44ef feat(openthread): support alloc nat64 session from psram 2024-11-15 18:53:28 +08:00
Simon Dean
f9ac9f052e enable openthread coap client for mtd 2024-11-15 18:53:28 +08:00
Xu Si Yu
8b098ae53c fix(coex): fix 802.15.4 external coexistence 2024-11-15 18:53:28 +08:00
Xu Si Yu
14bc7c01ea feat(openthread): update openthread submodule and border router lib 2024-11-15 18:53:28 +08:00
morris
71c437767f Merge branch 'feat/i2c_slave_v2_v5.4' into 'release/v5.4'
feat(i2c_slave): Add new i2c slave driver --version two with great stretch handling (backport v5.4)

See merge request espressif/esp-idf!34907
2024-11-15 15:36:46 +08:00
Tan Yan Quan
e3fe456cf9 fix(802.15.4): add case for 2015 frame enh-ack 2024-11-15 15:15:55 +08:00
Jiang Jiang Jian
41ce4c9e07 Merge branch 'fix/fix_cache_stuck_in_esp_restart_v5.4' into 'release/v5.4'
fix(esp_system): writeback L1 Dcache before disable L2 if PSRAM used (v5.4)

See merge request espressif/esp-idf!34801
2024-11-15 13:56:19 +08:00
wuzhenghui
2c35c09742 fix(esp_pm): fix deadlock in pm_mode switching 2024-11-15 11:25:58 +08:00
wuzhenghui
78362aff04 fix(esp_pm): fix missed ccompare update when another core is already in do_switch 2024-11-15 11:25:58 +08:00
WanqQixiang
7cf389deab fix(openthread): Fix invalid host resolving for Thread end devices 2024-11-15 11:24:00 +08:00
Marius Vikhammer
356e7b6954 Merge branch 'feat/esp32p4_unicore_stop_other_core_v5.4' into 'release/v5.4'
feat(esp_system): stop other core for unicore esp32p4 (v5.4)

See merge request espressif/esp-idf!34827
2024-11-15 11:10:48 +08:00
wuzhenghui
a2d26ab56f fix(esp_system): deselect all modem modules clk source selection before clk init 2024-11-15 11:00:54 +08:00
morris
779106e49c Merge branch 'contrib/github_pr_14859_v5.4' into 'release/v5.4'
fix(usb_host): return ESP_ERR_NO_MEM on failed alloc in client register (GitHub PR) (v5.4)

See merge request espressif/esp-idf!34875
2024-11-15 10:56:46 +08:00
morris
63ef26e9ee Merge branch 'ci/backport_i2s_ci_fix_to_v5.4' into 'release/v5.4'
ci(i2s): backport i2s ci fix (v5.4)

See merge request espressif/esp-idf!34586
2024-11-15 10:53:39 +08:00
Tomas Rezucha
68a95f5c94 feat(hal/usb): Make USB-DWC HAL&LL configuration independent
Previously, we included symbols from soc/usb_dwc_cfg.h and configured
the HAL and LL according to it. Now we get the configuration in runtime
from USB-DWC registers.

Added missing definition for USB FS peripheral on ESP32-P4.
2024-11-15 00:36:10 +08:00
Adam Múdry
8b1f8cb20e fix(examples): tusb_midi task stack overflow fix 2024-11-14 16:43:16 +01:00
Zhang Hai Peng
0dea1a84d6 fix(bt/bluedroid): Fixed classic bt build fail when enable dynamic memory and disable BLE
(cherry picked from commit 59d20e80d3)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-11-14 22:13:50 +08:00
Marius Vikhammer
af18afd279 Merge branch 'fix/typo-esp-rom_v5.4' into 'release/v5.4'
fix(esp_rom): Fix comment typos (Backport v5.4)

See merge request espressif/esp-idf!34870
2024-11-14 21:49:19 +08:00
Adam Múdry
94e55817d2 fix(littlefs): Allow LittleFS image generation on Windows + version bump
Closes https://github.com/espressif/esp-idf/issues/12900
2024-11-14 13:17:40 +01:00
Abhinav Kudnar
d21a0a9b64 fix(nimble): Removed min/max macro defination from os.h
Closes https://github.com/espressif/esp-idf/issues/14840
2024-11-14 19:04:33 +08:00
C.S.M
32adbe72b6 docs(i2c_slave): Update i2c slave programming guide for new changes 2024-11-14 18:04:25 +08:00
C.S.M
170d44b75d feat(i2c_slave): Add new example for making i2c slave as a network sensor 2024-11-14 18:04:11 +08:00
C.S.M
e27594efc1 test(i2c_slave): Add some new tests for i2c slave version 2 2024-11-14 18:02:27 +08:00
C.S.M
56625cda88 feat(i2c_slave): refactor i2c slave api to version 2 inorder to solve some existing problem 2024-11-14 18:02:15 +08:00
Samuel Obuch
5304897608 feat(esp_system): stop other core for unicore esp32p4 2024-11-14 09:40:08 +01:00
xuxiao
976cf648f7 fix(ci): enable esp32c5 eco1 ci test (Backport v5.4) 2024-11-14 14:37:31 +08:00
Mahavir Jain
6d7fd7a722 Merge branch 'change/disable_stub_bins_v5.4' into 'release/v5.4'
change(esp_system): do not include openocd stub bins by default (v5.4)

See merge request espressif/esp-idf!34871
2024-11-14 12:41:45 +08:00
Shu Chen
0c5d3749f1 Merge branch 'fix/find_and_close_service_in_ot_ci_case_v5.4' into 'release/v5.4'
fix(ci): optimize an openthread ci case (Backport v5.4)

See merge request espressif/esp-idf!34727
2024-11-14 11:59:43 +08:00
morris
3b2eb13199 Merge branch 'feat/sdmmc_uhs_tuning_v5.4' into 'release/v5.4'
sdmmc: UHS-I support for SDR50 (100MHz, 50MB/s), DDR50 (50MHz, 50MB/s) (v5.4)

See merge request espressif/esp-idf!34867
2024-11-14 11:13:45 +08:00
morris
e1aed77c72 Merge branch 'feat/mcpwm_sleep_rentention_v5.4' into 'release/v5.4'
feat(mcpwm): support sleep retention (v5.4)

See merge request espressif/esp-idf!34802
2024-11-14 10:46:49 +08:00
laokaiyao
76d87acd59 fix(i2s): suplimemt of c61 i2s ll 2024-11-14 10:18:16 +08:00
laokaiyao
24a6994471 feat(i2s): support i2s retention on C61 2024-11-14 10:18:16 +08:00
laokaiyao
ecf7f8257f ci(i2s): fix i2s_multi_dev failed case 2024-11-14 10:18:16 +08:00
morris
551cb70a1b Merge branch 'fix/disable_sar_power_when_enter_deepsleep_v5.4' into 'release/v5.4'
fix(esp_hw_support): disable sar power when esp32p4 going to deepsleep (v5.4)

See merge request espressif/esp-idf!34869
2024-11-14 10:09:56 +08:00
Roland Dobai
85a742351c Merge branch 'feat/size_unify_sections_v5.4' into 'release/v5.4'
feat(tools): unify sections in idf.py size reports for NG version (v5.4)

See merge request espressif/esp-idf!34855
2024-11-14 02:18:07 +08:00
morris
6932df2ce8 Merge branch 'change/esp_ldo_reserve_for_spi_flash_v5.4' into 'release/v5.4'
LDO calibration on ESP32-P4 (v5.4)

See merge request espressif/esp-idf!34864
2024-11-13 17:11:39 +08:00
Daniel Mangum
35aaccdbc1 fix(usb_host): return ESP_ERR_NO_MEM on failed alloc in client register
Fixes issue where ESP_ERR_NO_MEM was being silently discarded after
cleaning up after a failed malloc in usb_host_client_register.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
2024-11-13 10:08:04 +01:00
morris
09f1411389 Merge branch 'fix/suspend_ci_v5.4' into 'release/v5.4'
test(spi_flash): Fix some failing test related to spi flash (backport v5.4)

See merge request espressif/esp-idf!34819
2024-11-13 17:07:40 +08:00
morris
35ed582ebf Merge branch 'fix/bod_p4eco2_fix_v5.4' into 'release/v5.4'
fix(bod): Remove config for bod on p4 eco1  (backport v5.4)

See merge request espressif/esp-idf!34821
2024-11-13 17:02:59 +08:00
morris
ad8d75222a Merge branch 'fix/jpeg_com_marker_v5.4' into 'release/v5.4'
fix(jpeg): Fix the length of com marker (backport v5.4)

See merge request espressif/esp-idf!34822
2024-11-13 17:02:27 +08:00
Erhan Kurubas
368f71443b change(esp_system): do not include openocd stub bins by default 2024-11-13 07:36:07 +01:00
YAMAMOTO Takashi
dbd394cb4a fix(esp-rom): Fix comment typos in cache.h
Fix typo in parameter names in cache_flash_mmu_set
amd cache_sram_mmu_set functions.

Closes https://github.com/espressif/esp-idf/pull/14518
2024-11-13 07:00:49 +01:00
wuzhenghui
88c345aca8 fix(esp_hw_support): disable sar power when esp32p4 going to deepsleep 2024-11-13 11:44:46 +08:00
Chen Jichang
2e44cb9387 feat(mcpwm): support sleep retention 2024-11-13 11:13:34 +08:00
Chen Jichang
c8fa2a1f42 fix(mcpwm): fix mcpwm register offset on p4 2024-11-13 11:13:34 +08:00
Armando
0f32537b93 fix(i2s): fixed i2s example build warning 2024-11-13 11:12:24 +08:00
Armando
c1a8efaf09 doc(sdmmc): aadd UHS1 support for DDR50 / SDR50 2024-11-13 11:12:19 +08:00
Armando
a89abd5eac example(sdmmc): support hs and uhs1 sdr50/ddr50 2024-11-13 11:12:14 +08:00
Armando
04cd469e4a feat(sdmmc): supported UHS-I SDR50 (100Mhz) and DDR50 mode 2024-11-13 11:12:10 +08:00
Ivan Grokhotkov
31dc34a909 feat(sdmmc): support for voltage switching in protocol layer 2024-11-13 11:11:23 +08:00
Ivan Grokhotkov
a03cbdba2e change(sdmmc): enable UHS-1 support in test_app, swap slots on P4 EV board 2024-11-13 11:08:25 +08:00
Ivan Grokhotkov
b8de3dfb35 change(sdmmc): adapt host state machine for CMD11, commit reg/struct files 2024-11-13 11:08:09 +08:00
Ivan Grokhotkov
a8efd39877 change(sdmmc): disable the logic related to D3 line, it needs to be connected for CMD11 to work 2024-11-13 11:08:05 +08:00
Ivan Grokhotkov
c9e7d09e0a change(sdmmc): allow speciying pins for IOMUX slots as well 2024-11-13 11:07:39 +08:00
Ivan Grokhotkov
646cb24b71 change(sdmmc): make sdmmc_host_clock_update_command compatible with CMD11 2024-11-13 11:07:29 +08:00
C.S.M
8baade44fd test(spi_flash): Fix some failing test related to spi flash 2024-11-13 10:58:53 +08:00
C.S.M
2db5607060 fix(bod): Remove config for bod on p4 v0.x 2024-11-13 10:58:33 +08:00
C.S.M
0aa8d7f7c9 fix(jpeg): Fix the length of com marker 2024-11-13 10:57:48 +08:00
Shen Wei Long
59e3a1f046 feat(ble): Support for putting code in flash on ESP32-C2
(cherry picked from commit 192f13135488a2f8a386ace2dad69da59e81f5b5)

Co-authored-by: Shen Weilong <shenweilong@espressif.com>
2024-11-13 10:45:03 +08:00
morris
e5a5cb8779 feat(ldo): load calibration parameters from efuse 2024-11-13 10:18:30 +08:00
Konstantin Kondrashov
c9be3c2dc6 feat(efuse): Adds efuse ADC calib data for ESP32-P4 2024-11-13 10:18:30 +08:00
Martin Vychodil
8ea7ae7086 Merge branch 'fix/nvs_generator_test_fail_due_to_safer_write_namespace_function_v5.4' into 'release/v5.4'
fix(nvs): Fix the NVS generator test (write_namespace safer behavior change) (v5.4)

See merge request espressif/esp-idf!34857
2024-11-13 03:45:05 +08:00
Adam Múdry
67ab814756 fix(nvs): Fix the nvs generator test (write_namespace safer behavior change) 2024-11-12 14:56:38 +01:00
Frantisek Hrbata
67039c590d feat(tools): unify sections in idf.py size reports for NG version
By default, esp-idf-size.ng displays all sections individually. This can
be confusing, especially if CONFIG_SOC_MEM_NON_CONTIGUOUS_SRAM is
enabled, resulting in sections like .dram0.data and .dram1.data being
abbreviated as two .data sections in the size report. To avoid confusion
for idf.py and cmake users, pass the --unify option to the underlying
esp_idf_size.ng by default.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-12 14:13:02 +01:00
morris
29003010a3 Merge branch 'feat/mipi_dsi_yuv_converter_v5.4' into 'release/v5.4'
feat(lcd): support YUV422 input color format (v5.4)

See merge request espressif/esp-idf!34760
2024-11-12 15:04:46 +08:00
Marius Vikhammer
7481f7eb9e Merge branch 'ci/known-failure-cases-5.4' into 'release/v5.4'
Ci/known failure cases 5.4

See merge request espressif/esp-idf!34688
2024-11-12 10:37:32 +08:00
morris
bfebd2e3ff Merge branch 'bugfix/gpio_set_level_atomic_v5.4' into 'release/v5.4'
fix(gpio): improve set level performance (v5.4)

See merge request espressif/esp-idf!34764
2024-11-11 14:24:47 +08:00
wuzhenghui
054706c115 fix(esp_system): writeback L1 Dcache before disable L2 if PSRAM used 2024-11-11 14:02:35 +08:00
Jiang Jiang Jian
df64e63bbd Merge branch 'fix/bypass_some_restore_process_if_sleep_rejected_v5.4' into 'release/v5.4'
fix(esp_hw_support): skip some wakeup steps if sleep is rejected (v5.4)

See merge request espressif/esp-idf!34622
2024-11-09 00:37:21 +08:00
Jiang Jiang Jian
3b0cf1a2ea Merge branch 'bugfix/backport_some_wifi_fixes_v5.4' into 'release/v5.4'
fix(wifi): backport some wifi fixes to v5.4

See merge request espressif/esp-idf!34690
2024-11-09 00:33:43 +08:00
Jiang Jiang Jian
12c49601c3 Merge branch 'feature/support_to_query_phy_rf_used_time_v5.4' into 'release/v5.4'
feat(phy): support to query phy used time

See merge request espressif/esp-idf!34624
2024-11-09 00:05:31 +08:00
Jiang Jiang Jian
36e78b3bd3 Merge branch 'bugfix/chip823_pll_low_temp_bug_v5.4' into 'release/v5.4'
[H2]Fix cpu switch fail for bbpll cali fail bug in low temp (v5.4)

See merge request espressif/esp-idf!34598
2024-11-08 23:28:38 +08:00
Jiang Jiang Jian
82802eb460 Merge branch 'bugfix/fix_avrc_absolute_volume_compatibility_v5.4' into 'release/v5.4'
bugfix/fix_avrc_absolute_volume_compatibility[backport v5.4]

See merge request espressif/esp-idf!34769
2024-11-08 22:28:10 +08:00
Sergei Silnov
68d680bafd Merge branch 'ci/fix_macos_ccache_v5.4' into 'release/v5.4'
CI: Fix failing ccache and show ccache statistics for macOS tests (master) (v5.4)

See merge request espressif/esp-idf!34758
2024-11-08 19:46:14 +08:00
Jiang Jiang Jian
b79c8faba4 Merge branch 'fix/fix_writeback_psram_after_vo2_powerdown_v5.4' into 'release/v5.4'
fix(esp_hw_support): fix writeback cache to psram after vo2 powerdown (v5.4)

See merge request espressif/esp-idf!34579
2024-11-08 18:44:13 +08:00
hongshuqing
019afc0f80 fix: fix pll low temp bug 2024-11-08 18:01:54 +08:00
morris
0e43df1a47 Merge branch 'feat/pcnt_sleep_retention_v5.4' into 'release/v5.4'
feat(pcnt): add sleep retention init to avoid light sleep when pcnt is working (v5.4)

See merge request espressif/esp-idf!34728
2024-11-08 17:31:28 +08:00
Jiang Jiang Jian
2afa1cc04d Merge branch 'update/version_5_4_0' into 'release/v5.4'
Update version to 5.4.0

See merge request espressif/esp-idf!34743
2024-11-08 16:23:23 +08:00
liuning
91006fdee1 feat(phy): support to query phy used time 2024-11-08 16:23:16 +08:00
wuzhenghui
59230175df fix(esp_hw_support): skip some wakeup steps if sleep is rejected
1. Skip esp_timer time compensation to avoid introducing errors into rtc_timer
    2. Ignore sleep_time_overhead_out measurements when sleep is rejected
2024-11-08 16:08:32 +08:00
Jiang Jiang Jian
98fccdef20 Merge branch 'bugfix/osi_replace_free_v5.4' into 'release/v5.4'
fix(bt/bluedroid): Replace free/malloc with osi_free/malloc(v5.4)

See merge request espressif/esp-idf!34605
2024-11-08 16:07:08 +08:00
morris
49fbe54bc4 feat(lcd): support color conversion for mipi dsi driver 2024-11-08 15:23:06 +08:00
liqigan
d7dd068478 fix(bt/bluedroid): Fixed AVRCP compatibility issue on absolute volume synchronization 2024-11-08 14:48:03 +08:00
zhangyanjiao
1d87c94ca3 fix(wifi/pm): Fixed the tbtt interval update error when AP's beacon interval changed
Closes https://github.com/espressif/esp-idf/issues/14720
2024-11-08 12:08:59 +08:00
xuxiao
c433d95441 fix(wifi): fix esp32c61 can not tx frame under ht40 above 2024-11-08 12:08:59 +08:00
yinqingzhao
30acf8b5d1 feat(twt): twt add parameter to enable keep alive 2024-11-08 12:08:59 +08:00
yinqingzhao
3d95fd17e3 docs(wifi): add migration guide for types change in wifi 2024-11-08 12:08:59 +08:00
yinqingzhao
504a248ba1 fix(wifi): modify bandwidth in wifi_ap_record_t 2024-11-08 12:08:59 +08:00
zhangyanjiao
295f1576e1 fix(wifi/mesh): Enlarge the mesh TX task stack 2024-11-08 12:08:59 +08:00
zhangyanjiao
e36118f4f0 fix(wifi): Support AES IV with random value in esptouch v2 2024-11-08 12:08:59 +08:00
sibeibei
49b8292f51 fix(wifi): fix some wifi issues 241031
1. fix cant sleep if reconnect to connected ap
    2. clear pmk in internal reconnection
    3. update connect status for init-->auth
    4. add protection for probe request when wifi band is 5g
2024-11-08 12:08:59 +08:00
wangtao@espressif.com
ea05f7f647 fix(wifi): fix spiram ignore issue 2024-11-08 12:08:59 +08:00
xuxiao
e2c732c906 feat(wifi): add wifi support for esp32c5 eco1 2024-11-08 12:08:59 +08:00
morris
a5fee4b8cc fix(gpio): improve set level performance
by avoid "read-modify-write" operation. The registers designed to be
write only.

Related to https://github.com/espressif/esp-idf/issues/14674
2024-11-08 11:44:08 +08:00
Peter Macko
1254494dd8 fix(macos): ccache: re-enable, show stats, set CCACHE_DIR, limit CCACHE_MAXSIZE 2024-11-07 17:39:49 +01:00
Aditya Patwardhan
64b9d85a76 change(version): Update version to 5.4.0 2024-11-07 12:55:42 +05:50
morris
ec8de8a1f9 Merge branch 'feat/mcpwm_dead_time_add_warning_v5.4' into 'release/v5.4'
fix(mcpwm): add warning about generator deadtime (v5.4)

See merge request espressif/esp-idf!34729
2024-11-07 14:52:29 +08:00
Mahavir Jain
c366277e64 Merge branch 'fix/fetch_image_hdr_v5.4' into 'release/v5.4'
fix(esp_system): Correct address used to fetch application image header (v5.4)

See merge request espressif/esp-idf!34627
2024-11-07 13:48:54 +08:00
Chen Jichang
31befbfad3 feat(pcnt): add sleep retention init
Currently, due to the lack of sleep callback feature. We only init
sleep module but don't allocate it. Thus the power domain will be
kept during the light sleep. And temporarily disable pcnt sleep
retention support on P4 due to the lack of retention module ID.
2024-11-07 12:09:26 +08:00
Shu Chen
dd8b4fa06e Merge branch 'backport/upgrade-zigbee-examples-v5.4' into 'release/v5.4'
feat(zigbee): Upgrade the Zigbee lib to v1.6 for Zigbee examples(Backport v5.4)

See merge request espressif/esp-idf!34716
2024-11-07 11:39:54 +08:00
Shu Chen
343bb81729 Merge branch 'fix/esp_prov_ipv6_resolve_v5_4' into 'release/v5.4'
fix(tools/esp_prov): Fix hostname resolving for IPv6-only host(v5.4)

See merge request espressif/esp-idf!34679
2024-11-07 11:07:34 +08:00
Chen Jichang
7946eb51e0 fix(mcpwm): add warning about generator deadtime
Closes https://github.com/espressif/esp-idf/issues/14773
2024-11-07 10:56:57 +08:00
Shu Chen
367059b93d Merge branch 'backport/linker_script_check_missing_function_v54' into 'release/v5.4'
fix(802.15.4): add no inline to some static function(Backport v5.4)

See merge request espressif/esp-idf!34722
2024-11-07 10:53:37 +08:00
Xu Si Yu
454c3140ad fix(ci): optimize an openthread ci case 2024-11-07 10:49:37 +08:00
xieqinan@espressif.com
b0a9704c3d feat(zigbee): Upgrade the Zigbee lib to v1.6 for Zigbee examples
- Optimize the Zigbee light, switch and gateway examples
- Remove the esp_zigbee_rcp example
2024-11-07 10:39:39 +08:00
Michael (XIAO Xufeng)
bab289ca78 Merge branch 'fix/sdio_slave_add_pm_lock_v5.4' into 'release/v5.4'
fix(sdio_slave): fix issue that auto light sleep can happen SDIO slave enabled (v5.4)

See merge request espressif/esp-idf!34646
2024-11-07 02:31:38 +08:00
Island
81020a3748 Merge branch 'feat/support_controller_run_in_flash_only_v5.4' into 'release/v5.4'
feat/support controller run in flash only(backport v5.4)

See merge request espressif/esp-idf!34625
2024-11-06 20:06:08 +08:00
zwx
ab2e360266 fix(802.15.4): add no inline to some static function 2024-11-06 19:49:17 +08:00
xiongweichao
500165ffb3 fix(bt/bluedroid): Replace free/malloc with osi_free/malloc 2024-11-06 19:15:04 +08:00
Mahavir Jain
69d72ca243 Merge branch 'ci/nightly_run_crt_bundle_stress_test_v5.4' into 'release/v5.4'
Run https x509 bundle default crt bundle stress test using QEMU (v5.4)

See merge request espressif/esp-idf!34660
2024-11-06 18:45:15 +08:00
Mahavir Jain
2b12fb6daa Merge branch 'docs/fix_section_visibility_esp32p4_v5.4' into 'release/v5.4'
Fix typo to make a section visible for non-esp32 SPIRAM supported targets (v5.4)

See merge request espressif/esp-idf!34680
2024-11-06 17:45:06 +08:00
Island
7f42ed38fd Merge branch 'bugfix/fix_ble_build_fail_v5.4' into 'release/v5.4'
fix(ble/bluedroid): Fixed BLE build fail when enable dynamic memory and BLE5.0 (v5.4)

See merge request espressif/esp-idf!34665
2024-11-06 16:36:46 +08:00
Island
b763700bc8 Merge branch 'bugfix/fixed_h2_assert_master_1031_v5.4' into 'release/v5.4'
Bugfix/fixed h2 assert master 1031 (v5.4)

See merge request espressif/esp-idf!34541
2024-11-06 15:06:45 +08:00
morris
764f5414ff Merge branch 'ci/run_gdma_after_reset_v5.4' into 'release/v5.4'
fix(gdma): run test cases after reset (v5.4)

See merge request espressif/esp-idf!34689
2024-11-06 15:02:47 +08:00
Island
1e37c32fb6 Merge branch 'bugfix/fix_mem_debug_on_bluedroid_v5.4' into 'release/v5.4'
fix(bt/bluedroid): Fixed error when memory debug enabled (v5.4)

See merge request espressif/esp-idf!34576
2024-11-06 11:50:40 +08:00
Marius Vikhammer
ee5e2798ba Merge branch 'fix/nmi_not_triggering_on_s3_v5.4' into 'release/v5.4'
fix(examples): fix NMI interrupt example to work on ESP32-S3 (release v5.4)

See merge request espressif/esp-idf!34687
2024-11-06 11:31:51 +08:00
morris
eeb4baf17f fix(gdma): run test cases after reset 2024-11-06 11:24:16 +08:00
igor.udot
17a023989b ci: updated known failure cases file env 2024-11-06 10:42:40 +08:00
Omar Chebib
ad910e3ce0 fix(examples): fix NMI interrupt example to work on ESP32-S3 2024-11-06 10:15:09 +08:00
morris
f5c71b8715 Merge branch 'bugfix/wrong_return_type_v5.4' into 'release/v5.4'
fix(i2c_lcd): wrong return type for esp_lcd_new_panel_io_i2c (v5.4)

See merge request espressif/esp-idf!34653
2024-11-05 21:28:26 +08:00
harshal.patil
7c9bec2633 docs(mem_alloc): Fix typo to make a section visible for non-esp32 spiram targets 2024-11-05 16:13:08 +05:30
Alexey Gerenkov
c17aa3e020 Merge branch 'fix/sysview_stack_overflow_v5.4' into 'release/v5.4'
fix(sysview): reduce isr stack usage to avoid stack guard exception (v5.4)

See merge request espressif/esp-idf!34614
2024-11-05 18:36:25 +08:00
WanqQixiang
2980c7f5e5 fix(tools/esp_prov): Fix hostname resolving for IPv6-only host 2024-11-05 17:47:14 +08:00
Zhang Hai Peng
9685b3b4ca fix(ble/bluedroid): Fixed BLE build fail when enable dynamic memory and BLE5.0
(cherry picked from commit 94d1a4f1c0)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-11-05 16:13:51 +08:00
harshal.patil
8b8956f7ed ci(examples/protocols): Run the https x509 bundle default crt bundle stress test using QEMU 2024-11-05 13:31:48 +05:30
Shu Chen
1754c8f8e5 Merge branch 'backport/fix_energy_scan_api_para_mismatch_v54' into 'release/v5.4'
fix(openthread): set channel for energy scan(Backport v5.4)

See merge request espressif/esp-idf!34597
2024-11-05 14:28:08 +08:00
morris
2770a95a5f fix(i2c_lcd): wrong return type for esp_lcd_new_panel_io_i2c
when build for C++ project
2024-11-05 13:46:16 +08:00
Shu Chen
f012157cf9 Merge branch 'feat/openthread_dataset_changed_event_v5_4' into 'release/v5.4'
feat(openthread): Add dataset changed event and post it in state change callback(v5.4)

See merge request espressif/esp-idf!34548
2024-11-05 12:17:22 +08:00
Xiao Xufeng
3e0611757b fix(sdio_slave): prevents peripheral power domain being powered off when SDIO slave in use 2024-11-05 03:22:06 +08:00
Xiao Xufeng
802e7b2192 feat(sleep_retention): allow drivers taking TOP power lock
Also add a dump function
2024-11-05 03:22:01 +08:00
Sergei Silnov
a2ffd9e955 Merge branch 'ci/fix_diff_manifest_sha_v5.4' into 'release/v5.4'
ci: use different base commit for merge result pipelines (v5.4)

See merge request espressif/esp-idf!34582
2024-11-05 01:07:13 +08:00
Zhao Wei Liang
0505eb80c9 fix(ble): fixed occasional crash issue in low memory scenarios on ESP32-H2
(cherry picked from commit dbad6a0ca5)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-11-05 00:05:58 +08:00
Zhao Wei Liang
ae6f824fcf fix(ble): fixed occasional crash issue in low memory scenarios on ESP32-C6
(cherry picked from commit dabd66e16f)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-11-05 00:05:58 +08:00
Laukik Hase
e0e285b841 fix(esp_system): Correct address used to fetch application image header 2024-11-04 14:07:17 +05:30
zhiweijian
2a05eb8fd3 feat(bt/controller): Support controller code run in flash only 2024-11-04 15:44:11 +08:00
wuzhenghui
651e5adbda fix(esp_hw_support): only support power down flash after revison v1.0 on esp32p4 2024-11-04 14:08:29 +08:00
wuzhenghui
2558760224 fix(esp_hw_support): fix writeback cache to psram after vo2 powerdown 2024-11-04 14:08:28 +08:00
Jiang Jiang Jian
0e6c74e93d Merge branch 'bugfix/fix_memory_leak_in_sco_v5.4' into 'release/v5.4'
fix(bt/bluedroid): Fix memory leak in sco when bluedroid disable (v5.4)

See merge request espressif/esp-idf!34564
2024-11-04 11:35:39 +08:00
Jiang Jiang Jian
b21b7294c6 Merge branch 'feature/add_ledc_output_in_sleep_test_v5.4' into 'release/v5.4'
feat(ledc): added a multi device test for testing ledc output in sleep (v5.4)

See merge request espressif/esp-idf!34522
2024-11-04 11:35:11 +08:00
Jiang Jiang Jian
131609cf29 Merge branch 'fix/fix_ota_slowclock_switching_v5.4' into 'release/v5.4'
fix(esp_hw_support): fix rtc slow clock missing after the OTA app changes the slow clock source (v5.4)

See merge request espressif/esp-idf!34488
2024-11-04 11:34:40 +08:00
Erhan Kurubas
92cc8a5512 fix(sysview): reduce isr stack usage to avoid stack guard exception 2024-11-01 22:30:37 +01:00
zwx
7c03514a28 fix(openthread): set channel for energy scan 2024-11-01 16:40:51 +08:00
Fu Hanxi
5f62667aba ci: use different base commit for merge result pipelines 2024-10-31 13:53:50 +01:00
chenjianhua
c6810a102b fix(bt/bluedroid): Fixed error when memory debug enabled 2024-10-31 19:12:47 +08:00
WanqQixiang
9677b9bfaf feat(openthread): Add dataset changed event and post it in state change callback 2024-10-31 19:04:00 +08:00
linruihao
6fe128ac6f fix(bt/bluedroid): Fix memory leak in sco when bluedroid disable 2024-10-31 17:52:31 +08:00
Song Ruo Jing
33103306a6 feat(ledc): added a multi device test for testing ledc output in sleep 2024-10-30 14:06:42 +08:00
Ivan Grokhotkov
851679e63a Merge branch 'maint/release_v5.4_codeowners' into 'release/v5.4'
change(gitlab): simplify approvals for backports (v5.4)

See merge request espressif/esp-idf!34481
2024-10-29 17:26:54 +08:00
wuzhenghui
280f6cb4e9 fix(esp_hw_support): disable unused clock sources after rtc clock switching complete 2024-10-28 20:16:01 +08:00
wuzhenghui
cf5bdf5e9f fix(esp_hw_support): enable all supported slow clock at pmu_init 2024-10-28 20:15:55 +08:00
Ivan Grokhotkov
661a487610 change(gitlab): simplify approvals for backports (v5.4) 2024-10-28 10:38:15 +01:00
Mahavir Jain
101dce7928 Merge branch 'feature/esp32c5_add_hal_layer_for_key_manager' into 'master'
Feature/esp32c5 add hal layer for key manager

See merge request espressif/esp-idf!33955
2024-10-28 17:11:08 +08:00
Jiang Jiang Jian
ac4a08451b Merge branch 'bugfix/fix_delete_group_id_error_in_wifi_mesh' into 'master'
fix(wifi/mesh): Fixed delete group id error in wifi mesh

Closes IDFGH-13893

See merge request espressif/esp-idf!34367
2024-10-28 16:23:09 +08:00
Kevin (Lao Kaiyao)
b918a31b7b Merge branch 'bugfix/fix_i2s_apll_corrupted_with_dfs' into 'master'
fix(i2s): fix the crackle using apll with DFS feature

Closes IDFGH-13860

See merge request espressif/esp-idf!34139
2024-10-28 14:36:53 +08:00
morris
c50587e412 Merge branch 'docs/update_i2c_slave_write_code_example' into 'master'
docs: update code example for I2C slave write

See merge request espressif/esp-idf!34117
2024-10-28 14:06:30 +08:00
Island
cf2291a2d1 Merge branch 'bugfix/fix_assert_if_ble_sleep_init_failed' into 'master'
fix(ble): do not assert if ble sleep init failed

Closes BLERP-1141

See merge request espressif/esp-idf!34288
2024-10-28 11:55:01 +08:00
Aditya Patwardhan
b0664a6f2e fix(hal): Fix key_mgr_ll_reset_register API
the key_mgr_ll_reset_register API now
    waits till key manager state is IDLE
2024-10-28 11:13:43 +08:00
Aditya Patwardhan
82db0feab2 fix(security): Update key manager specific initializations for esp32c5 2024-10-28 11:13:43 +08:00
Aditya Patwardhan
e5d246ef27 feat(hal): esp32c5: Add hal layer for key manager 2024-10-28 11:13:43 +08:00
morris
0e40a4d2ff Merge branch 'bugfix/mipi_gen_short_read' into 'master'
fix(mipi_dsi): error logic in reading short packet

See merge request espressif/esp-idf!34430
2024-10-28 10:27:17 +08:00
laokaiyao
ad9021a844 fix(i2s): fix the crackle using apll with DFS feature
Closes: https://github.com/espressif/esp-idf/issues/14707
2024-10-28 10:25:13 +08:00
Marius Vikhammer
2a2f0fd6f1 Merge branch 'bugfix/p4_ld_newlib_api' into 'master'
fix(lp_core): updated lp rom newlib API addresses

See merge request espressif/esp-idf!34412
2024-10-28 10:24:57 +08:00
zhangyanjiao
5a89693c3f fix(wifi/mesh): Fixed delete group id error in wifi mesh
Closes https://github.com/espressif/esp-idf/issues/14735
2024-10-28 09:53:29 +08:00
Fu Hanxi
9106c43acc Merge branch 'ci/remove_gitlab_api_while_generating_test_pipeline' into 'master'
CI: remove gitlab api call while generating test pipeline

See merge request espressif/esp-idf!34397
2024-10-26 04:50:40 +08:00
Harshal Patil
27f11f87f5 Merge branch 'feat/mbedtls_size_optimization' into 'master'
Fix the increase in build size of mbedtls while upgrading to v3.x

See merge request espressif/esp-idf!34179
2024-10-26 01:20:40 +08:00
morris
987f7661cd fix(mipi_dsi): error logic in reading short packet 2024-10-25 23:28:38 +08:00
morris
e1e3c17526 Merge branch 'fix/lcd_lvgl_regression' into 'master'
fix(lcd): fix the newest lvgl regression

See merge request espressif/esp-idf!34449
2024-10-25 22:28:55 +08:00
Fu Hanxi
502749d254 ci: remove gitlab api call while generating pytest target-test child pipeline 2024-10-25 14:16:51 +02:00
Fu Hanxi
bdc2998e4b ci: generate new report if old one failed to be updated 2024-10-25 14:13:05 +02:00
Shen Meng Jing
b2bc90d97a Merge branch 'docs/update_ulp_lp_core_cn' into 'master'
docs: Update CN translation for ulp-lp-core.rst

Closes DOC-8773

See merge request espressif/esp-idf!33352
2024-10-25 18:59:41 +08:00
Chen Jichang
b3f733166c fix(lcd): fix the newest lvgl regression 2024-10-25 18:31:52 +08:00
Fu Hanxi
76077ccb16 Merge branch 'ci/temp_disable_sonarqube' into 'master'
ci: temp disable sonarqube check. keep it for migrating to codechecker

See merge request espressif/esp-idf!34374
2024-10-25 18:31:21 +08:00
Wan Lei
32923f8287 Merge branch 'feat/c61_sdspi_support' into 'master'
feat(driver_sdspi): c61 sdspi support

Closes IDF-9305

See merge request espressif/esp-idf!34144
2024-10-25 17:04:22 +08:00
Mahavir Jain
cace647843 Merge branch 'feat/enable_security_test_cases_for_c5_and_c61' into 'master'
feat: enable security related testcases for c5 and c61

Closes IDF-10043 and IDF-10102

See merge request espressif/esp-idf!34325
2024-10-25 16:56:45 +08:00
Roman Leonov
501e4e6c81 Merge branch 'refactor/usb_host_hcd_dwc_enum_messages' into 'master'
refactor(usb_host):  HCD DWC and Enum additional error messages

See merge request espressif/esp-idf!34236
2024-10-25 16:09:25 +08:00
Linda
b02d7060f0 docs: update code example for I2C slave write 2024-10-25 14:26:13 +08:00
Nilesh Kale
57553ecf90 Merge branch 'bugfix/update_condition_to_verify_http_version' into 'master'
fix(esp_http_server): updated condition to verify http version

Closes IDFGH-13878

See merge request espressif/esp-idf!34208
2024-10-25 14:21:30 +08:00
C.S.M
9ac6e10a1b Merge branch 'fix/fix_gpio_config_option' into 'master'
fix(i2c): Fix i2c gpio configuration and move i2c_platform public

Closes IDF-11117

See merge request espressif/esp-idf!34366
2024-10-25 13:42:49 +08:00
Island
fa3f6ac55e Merge branch 'feat/ble_mesh_esp32c61_support' into 'master'
Feat/ble mesh esp32c61 support

Closes BLERP-1098 and IDF-10364

See merge request espressif/esp-idf!34100
2024-10-25 12:24:01 +08:00
Wu Zheng Hui
3867689baf Merge branch 'fix/fix_mmu_retention_workaround_cache_safe' into 'master'
fix(esp_hw_support): fix mmu retention code cache safety

Closes PM-283

See merge request espressif/esp-idf!34331
2024-10-25 12:05:52 +08:00
morris
e2ea85d02f Merge branch 'feat/mipi_dsi_hdmi' into 'master'
feat(lcd): Allow to disable low-power mode in DPI panel

See merge request espressif/esp-idf!34402
2024-10-25 11:21:12 +08:00
Gao Xu
ffcf40cee3 Merge branch 'feature/esp32c61_i2s_support' into 'master'
feat(i2s): support i2s on esp32c61

Closes IDF-9312 and IDF-9313

See merge request espressif/esp-idf!32905
2024-10-25 11:18:44 +08:00
Island
c27db10042 Merge branch 'bugfix/fix_bci_462' into 'master'
fix(bt/bluedroid): Update address type for BLE link when the connection is completed

Closes BLERP-1131

See merge request espressif/esp-idf!34195
2024-10-25 10:45:32 +08:00
Island
911ddf7202 Merge branch 'bugfix/fix_some_ble_bugs_240926_esp32' into 'master'
Fixed some BLE bugs 240926 on ESP32

Closes BLERP-1074, BLERP-1073, and BLERP-1160

See merge request espressif/esp-idf!33842
2024-10-25 10:45:24 +08:00
Wu Zheng Hui
de3a5d4d93 Merge branch 'feat/support_esp32p4_flash_psram_sleep_pd' into 'master'
feat(esp_hw_support): support power down PSRAM or Flash during sleep for esp32p4 rev1.0

Closes PM-204 and IDF-11241

See merge request espressif/esp-idf!34340
2024-10-25 10:39:06 +08:00
Vilem Zavodny
93fdbf25b3 feat(lcd): Allow to disable low-power mode in DPI panel 2024-10-24 16:25:50 +02:00
Wang Tao
406dfc1096 Merge branch 'feat/wifi_support_dynamic_tx_when_psram_enable' into 'master'
feat(wifi): Fix configuration related to SPIRAM_IGNORE_NOTFOUND

Closes WIFIBUG-701和WIFIBUG-718

See merge request espressif/esp-idf!33138
2024-10-24 20:41:44 +08:00
Xu Xiao
190939e206 Merge branch 'disable_esp32c5_ci_test' into 'master'
Disable esp32c5 ci test

See merge request espressif/esp-idf!34363
2024-10-24 20:07:13 +08:00
wangtao@espressif.com
e65acc9510 feat(wifi): fix SPIRAM_IGNORE_NOTFOUND releated config 2024-10-24 19:49:57 +08:00
Tomas Rezucha
e60ebae1e2 Merge branch 'refactor/usb_periph' into 'master'
Refactor: USB peripheral

See merge request espressif/esp-idf!33971
2024-10-24 19:35:41 +08:00
harshal.patil
4cdfdac18c fix(mbedtls): Fix the increase in build size of mbedtls when upgrading to v3.x 2024-10-24 14:45:57 +05:30
harshal.patil
c2b71a3855 ci(mbedtls): Fix component dependencies for security-related test apps 2024-10-24 14:45:56 +05:30
Roman Leonov
c19e2b7f8d refactor(usb_host): Removed error in enum when stalled, added hcd_dwc no more free channels 2024-10-24 16:40:55 +08:00
Tomas Rezucha
c1f5d3067f feat(hal/usb): Add USB UTMI PHY HAL
* Add a bare-bones HAL API for the USB UTMI PHY
* Split USB-DWC LL per target
2024-10-24 15:18:30 +08:00
Tomas Rezucha
b02ad37a55 feat(soc/usb): Add USB related changes to soc_caps and usb_dwc_periph
This commit changes the following:

- Add types and data structures indicating the available USB controllers
for each target.
2024-10-24 15:18:30 +08:00
Jiang Jiang Jian
dcc31f89f7 Merge branch 'doc/update_espnow_doc' into 'master'
docs(wifi/espnow): update the documentation for EPS-NOW ERSU and phy rate

Closes IDFGH-11035, DOC-3366, WIFI-6682, and DOC-8550

See merge request espressif/esp-idf!31285
2024-10-24 15:17:00 +08:00
Wan Lei
a155b988b2 Merge branch 'feat/spi_master_sleep_retention' into 'master'
feat(driver_spi): spi master support sleep retention(recovery)

Closes IDF-9775

See merge request espressif/esp-idf!33742
2024-10-24 15:14:45 +08:00
wanckl
8a467ffd9a feat(driver_sdspi): c61 sdspi support 2024-10-24 13:54:08 +08:00
wanckl
2f9456bf51 fix(esp_timer): fix isr safe when CONFIG_FREERTOS_USE_TICKLESS_IDLE and PM_ENABLE 2024-10-24 12:47:38 +08:00
wanckl
ef7406257a feat(driver_spi): spi master support sleep retention(recovery) 2024-10-24 12:47:32 +08:00
Song Ruo Jing
92d335548f Merge branch 'feature/ledc_sleep_retention_support' into 'master'
feat(ledc): support ledc sleep mode selection

Closes IDFGH-12713, IDF-9740, IDF-9769, IDF-9909, IDF-10372, IDF-10394, IDF-8472, and IDFCI-2450

See merge request espressif/esp-idf!34097
2024-10-24 11:43:11 +08:00
C.S.M
d7e090476c fix(i2c): Fix i2c gpio configuration and move i2c_platform public 2024-10-24 11:38:32 +08:00
Zhang Xiao Yan
5dda8a3211 Merge branch 'docs/update_application_examples_storage' into 'master'
docs: update application examples for storage component

See merge request espressif/esp-idf!33600
2024-10-24 11:20:19 +08:00
Island
755d3a2fbe Merge branch 'feat/support_blecrt_90' into 'master'
feat(bt/bluedroid): Added API to set supported channel selection algorithm

Closes BLERP-1086 and BLERP-1087

See merge request espressif/esp-idf!33921
2024-10-24 11:11:10 +08:00
Kevin (Lao Kaiyao)
c4d29ff031 Merge branch 'refactor/refactor_the_confusing_i2s_number' into 'master'
refactor(i2s): rename the confusing port number

See merge request espressif/esp-idf!34362
2024-10-24 11:02:55 +08:00
Marius Vikhammer
8406735635 fix(lp_core): updated lp rom newlib API addresses 2024-10-24 10:45:55 +08:00
Linda
a68cf1418b docs: add esp_wifi_types_generic.h to esp_wifi.rst 2024-10-24 09:49:15 +08:00
zhangyanjiao
64c2c99a8a docs(wifi/mesh): make it clear that the root node does not automatically forward IP packets to the external address 2024-10-24 09:49:15 +08:00
zhangyanjiao
4181336da3 docs(wifi): update the wifi api doc 2024-10-24 09:49:11 +08:00
Aditya Patwardhan
6930dff98d Merge branch 'feature/add_option_to_provide_flash_file_for_qemu' into 'master'
feat(tools): Added option to specify flash image in "idf.py qemu"

See merge request espressif/esp-idf!34031
2024-10-24 02:22:43 +08:00
xuxiao
8349621c15 fix(ci): temporarily pause the ESP32-C5 CI test in order to submit the C5 ECO1 code 2024-10-23 20:15:25 +08:00
zhangyanjiao
f2a5280031 fix(wifi): update comments in esp_wifi_types_generic.h 2024-10-23 19:35:37 +08:00
Jiang Jiang Jian
8b4f9689ba Merge branch 'fix/fix_esp32c2eco4_country_auto_issue_master' into 'master'
fix(wifi): fix esp32c2 eco4 set conutry policy auto issue

Closes WIFIBUG-892

See merge request espressif/esp-idf!34332
2024-10-23 19:18:56 +08:00
wuzhenghui
a1f9d5bcea feat(esp_hw_support): support power down PSRAM or Flash during sleep for esp32p4 v1.0 2024-10-23 19:10:42 +08:00
cjin
a011ac0587 fix(ble): do not assert if ble sleep init failed 2024-10-23 19:03:17 +08:00
laokaiyao
ecb52d3af3 refactor(i2s): rename the confusing port number 2024-10-23 18:16:57 +08:00
morris
b57ae0a1a3 Merge branch 'bugfix/fix_p4eco2_vo1_config_bug' into 'master'
fix(pmu): Fixed LDO1 switched off issue at startup on ESP32-P4 v1.0 (eco2)

See merge request espressif/esp-idf!34043
2024-10-23 18:10:14 +08:00
chenjianhua
2b28133ace fix(bt): Update bt lib for ESP32(a2a7457)
- Fixed assert in ke_mem.c at line 409 when controller reset
- Added config for BLE instant passed workaround
- Fixed connection can't be established when initiating and advertising coexist
2024-10-23 17:45:29 +08:00
Island
8c000216f0 Merge branch 'bugfix/fix_coexqabr24_24' into 'master'
fix(bt/bluedroid): Fixed GATTC app status check when BT and BLE coexist

Closes BLERP-1147

See merge request espressif/esp-idf!34312
2024-10-23 17:24:55 +08:00
Island
7dd10f37d7 Merge branch 'bugfix/fix_some_ble_bugs_240926_esp32c3' into 'master'
Fixed some BLE bugs 240926 on ESP32C3

Closes BLERP-1086, BLERP-1087, BLERP-1146, and BLERP-1160

See merge request espressif/esp-idf!33922
2024-10-23 17:24:51 +08:00
zhangyanjiao
9a0b35172c fix(wifi): add esp_wifi_types_native.h and esp_wifi_types_generic.h to Doxyfile 2024-10-23 17:10:09 +08:00
zhangyanjiao
3c72dce383 docs(wifi/espnow): update the documentation for EPS-NOW ERSU and phy rate
Closes https://github.com/espressif/esp-idf/issues/12216
2024-10-23 17:10:00 +08:00
luoxu
c7a4c1cf37 feat(ble_mesh): esp32c61 support for ble mesh lib 2024-10-23 16:57:59 +08:00
luoxu
f43b1d2dea feat(ble_mesh): esp32c61 support for ble mesh 2024-10-23 16:57:59 +08:00
Laukik Hase
6f466df73c Merge branch 'feature/non_os_build' into 'master'
change(build): Add a new CMake flag `NON_OS_BUILD` for non-FreeRTOS builds

See merge request espressif/esp-idf!34129
2024-10-23 16:23:04 +08:00
Linda
c0417422c5 docs: update application examples for storage component 2024-10-23 16:19:42 +08:00
zlq
da9521aef3 fix(pmu): modify parameter for P4 ECO2-VO1 2024-10-23 16:03:21 +08:00
Ren Peiying
96632b7b02 Merge branch 'docs/standardize_bootloader_names_both_en_cn' into 'master'
docs: standardize the names of bootloaders in esp-idf

See merge request espressif/esp-idf!33704
2024-10-23 15:28:30 +08:00
morris
6d716388ff Merge branch 'feat/rgb_lcd_esp32p4' into 'master'
feat(lcd): support rgb lcd driver on esp32p4

Closes IDF-10962

See merge request espressif/esp-idf!33582
2024-10-23 14:39:19 +08:00
Song Ruo Jing
b9480d807c Merge branch 'bugfix/ppa_srm_scaled_size_oob' into 'master'
fix(ppa): fix a few minor issues for ppa srm and blend driver

Closes IDF-10774

See merge request espressif/esp-idf!34303
2024-10-23 12:12:46 +08:00
renpeiying
46770a50a6 docs: standardize the names of bootloaders in esp-idf 2024-10-23 11:29:24 +08:00
Xu Xiao
84631fe972 Merge branch 'feature/esp32c6_update_phy_init_date' into 'master'
feat(phy): esp32c6 update phy init data

See merge request espressif/esp-idf!33810
2024-10-23 11:28:03 +08:00
Xu Xiao
64ccb22025 Merge branch 'bugfix/fix_crash_when_enable_tx_rx_stats' into 'master'
fix(wifi): fix cache assess error when enable tx/rx stats when psram is enabled

Closes WIFIBUG-871

See merge request espressif/esp-idf!34284
2024-10-23 11:04:53 +08:00
Island
09263a22df Merge branch 'bugfix/fix_ble_adv_start_fail' into 'master'
fix(ble/bluedroid): Fixed BLE adv start fail

Closes BLERP-1152, BLERP-1153, BLERP-1156, and BLERP-1157

See merge request espressif/esp-idf!34258
2024-10-23 10:52:17 +08:00
Island
676271d144 Merge branch 'feat/support_enable_ble_hci_log_by_api' into 'master'
feat(ble/bluedroid): Support enable BLE hci log by API

Closes BLERP-1136 and BLERP-1137

See merge request espressif/esp-idf!34234
2024-10-23 10:51:44 +08:00
Island
379698cc1e Merge branch 'bugfix/fix_ble_disconnect_crash' into 'master'
fix(ble/bluedroid): Fixed crash issue in BLE SMP when a disconnection process is ongoing

Closes IDFCI-2180

See merge request espressif/esp-idf!34311
2024-10-23 10:51:23 +08:00
Mahavir Jain
c5e1d32b66 Merge branch 'bugfix/update_default_value_of_config_httpd_req_hdr_len' into 'master'
fix(esp_https_server): Added default config for https_server example to update default header size

Closes IDF-11358

See merge request espressif/esp-idf!34330
2024-10-23 10:46:09 +08:00
Island
35fd041288 Merge branch 'docs/add_ble_get_started_eng' into 'master'
Docs: Added BLE English version of BLE Get Started

See merge request espressif/esp-idf!34013
2024-10-23 10:14:53 +08:00
Wei Yu Han
738b2de9ab Docs: Added BLE English version of BLE Get Started 2024-10-23 10:14:53 +08:00
Alexey Gerenkov
ca81179e01 Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20241016' into 'master'
feat(tools): update openocd version to v0.12.0-esp32-20241016

See merge request espressif/esp-idf!34339
2024-10-23 02:42:47 +08:00
wuzhenghui
71ddc5a79f fix(esp_hw_support): fix mmu retention code cache safety 2024-10-22 22:10:13 +08:00
Roland Dobai
3516c4934c Merge branch 'fix/gdbgui_py3.13' into 'master'
fix(tools): Print message about GDBGUI being not supported with Python 3.13

See merge request espressif/esp-idf!34372
2024-10-22 21:54:20 +08:00
Martin Vychodil
731821326c Merge branch 'feature/redesign_vfs_t' into 'master'
feat(storage/vfs): redesign esp_vfs_t struct

Closes IDF-10326 and DOC-9138

See merge request espressif/esp-idf!31449
2024-10-22 20:24:38 +08:00
Roland Dobai
4460d9fb1b fix(tools): Print message about GDBGUI being not supported with Python 3.13 2024-10-22 14:22:18 +02:00
Adam Múdry
4f3cfbe297 Merge branch 'fix/correct_alloc_function_in_example' into 'master'
fix(storage/example): correct alloc function

Closes IDF-10653

See merge request espressif/esp-idf!32516
2024-10-22 19:47:44 +08:00
Fu Hanxi
647c9bcc53 ci: temp disable sonarqube check. keep it for migrating to codechecker 2024-10-22 13:29:29 +02:00
Chen Ji Chang
6c1bb29092 Merge branch 'fix/mcpwm_example_remove_io_loop_back' into 'master'
refactor(mcpwm): remove io_loop_back in example

See merge request espressif/esp-idf!34259
2024-10-22 19:07:48 +08:00
Roland Dobai
2b715f2b90 Merge branch 'fix/activate_tmp_multiuser_multiinstance' into 'master'
fix(tools): Enable multiuser/multiinstance use of activate script

Closes IDF-11313 and IDF-11355

See merge request espressif/esp-idf!34334
2024-10-22 18:36:29 +08:00
Roland Dobai
4ab9a31a56 Merge branch 'fix/nix_python_compatibility' into 'master'
fix(tools): Nix python compatibility fix

Closes IDFGH-13545

See merge request espressif/esp-idf!33128
2024-10-22 18:08:16 +08:00
Song Ruo Jing
7a516554a6 feat(ledc): Add sleep retention support for C5/C61 2024-10-22 17:55:53 +08:00
Song Ruo Jing
4a90deb227 feat(ledc): support ledc sleep mode selection
Support LEDC sleep retention on C6/H2/P4
2024-10-22 17:54:32 +08:00
Song Ruo Jing
b949e9e729 fix(ci): enlarge ledc test memory leak size
7fdcedffd3 increased pcnt memory leak in release sdkconfig.
pcnt is used as testbench for ledc test cases.
2024-10-22 17:43:28 +08:00
Song Ruo Jing
dc15243a64 refactor(uart): minor update on uart retention feature 2024-10-22 17:43:28 +08:00
Song Ruo Jing
debd424b43 fix(sleep): ESP_SLEEP_DIG_USE_RC_FAST_MODE cannot maintain RC_FAST in sleep
Introduced in eab98765
2024-10-22 17:43:28 +08:00
Chen Ji Chang
93a9368dcd Merge branch 'feat/sdm_gpio_append_mode' into 'master'
refactor(sdm): refactor gpio config mode

Closes IDF-11275

See merge request espressif/esp-idf!34256
2024-10-22 17:27:58 +08:00
Chen Ji Chang
722db20d67 Merge branch 'feat/parlio_sleep_retention' into 'master'
feat(parlio): support sleep retention

Closes IDF-8477, IDF-9741, and IDF-9770

See merge request espressif/esp-idf!33925
2024-10-22 17:26:18 +08:00
morris
efcb91b47e feat(lcd): support rgb lcd driver for esp32p4 2024-10-22 17:18:05 +08:00
wangtao@espressif.com
013add5378 fix(wifi): fix esp32c2 eco4 set conutry policy auto issue 2024-10-22 17:09:03 +08:00
Fu Hanxi
5b8db196f8 Merge branch 'ci/fix_clone_test_env_config_repo' into 'master'
ci: fix clone test env config repo

See merge request espressif/esp-idf!34322
2024-10-22 15:59:24 +08:00
gaoxu
8ab0cdde60 feat(i2s): support i2s on esp32c61 2024-10-22 15:12:38 +08:00
Zhang Shuxian
09820a0ae6 docs: Update CN trans for vfs.rst and improve EN formatting 2024-10-22 14:50:31 +08:00
Tomáš Rohlínek
18e20c0bc5 feat(storage/vfs): change names related to minified vfs 2024-10-22 14:50:31 +08:00
Tomáš Rohlínek
040ad5ca20 feat(storage/vfs): add test for ESP_VFS_FLAG_STATIC 2024-10-22 14:50:31 +08:00
Tomáš Rohlínek
3cab84f033 fix(storage/vfs): clarify minified related documentation 2024-10-22 14:50:31 +08:00
Tomáš Rohlínek
923fb635b4 feat(storage/vfs): add documentation for minified_vfs 2024-10-22 14:50:31 +08:00
Tomáš Rohlínek
3cfc78ee67 feat(storage/vfs): update documentation for minified vfs functions 2024-10-22 14:50:31 +08:00
Tomáš Rohlínek
755adf3b4f feat(storage/vfs): impelement sparse vfs struct 2024-10-22 14:50:31 +08:00
Tomáš Rohlínek
cec0525460 fix(storage/vfs): update select sanity checks 2024-10-22 14:50:31 +08:00
Tomáš Rohlínek
fe0fc40049 fix(storage/vfs): incorrect registration checks 2024-10-22 14:50:31 +08:00
Tomáš Rohlínek
36d821f70c feat(storage/vfs): add more extensive checks to vfs tests 2024-10-22 14:50:31 +08:00
Tomáš Rohlínek
b6a9acfc07 feat(storage/vfs): Add minified vfs implementation 2024-10-22 14:50:31 +08:00
nilesh.kale
3e1534e2f7 fix(esp_https_server): added default config for https_server example to set header size to 1024 2024-10-22 12:20:00 +05:30
yinqingzhao
230f82cf6b fix(wifi): fix cache assess error when enable tx/rx stats when psram is enabled 2024-10-22 10:58:35 +08:00
Djordje Nedic
c6bd0ded16 fix(tools): Detect Nix use and work around it for installation
Nix will create a new derivation in the store for python packages,
which leads to mismatch between the system prefixes, invalidating a
widely used check for being in a virtual environment.
This adds a Nix-specific fix for virtualenv detection.

Closes https://github.com/espressif/esp-idf/pull/14435
2024-10-22 00:19:14 +02:00
Marek Fiala
7de166e882 fix(tools): Enable multiuser/multiinstance use of activate script 2024-10-21 16:23:55 +02:00
Laukik Hase
5328dcd00c change(build): Add a new CMake flag NON_OS_BUILD for non-FreeRTOS builds 2024-10-21 19:03:30 +05:30
Alexey Gerenkov
f372367e66 feat(tools): update openocd version to v0.12.0-esp32-20241016 2024-10-21 16:31:54 +03:00
Martin Vychodil
12398c0f25 Merge branch 'fix/sdmmc_write_sectors_dma_always_send_cmd13' into 'master'
fix(sdmmc): sdmmc_write_sectors_dma always check card status after write

Closes IDF-9632

See merge request espressif/esp-idf!34132
2024-10-21 20:35:33 +08:00
Chen Jichang
b6645acafe feat(parlio): support sleep retention 2024-10-21 20:25:39 +08:00
Sudeep Mohanty
9a3427f8f0 Merge branch 'fix/freertos_race_cond_in_stream_buffers_send' into 'master'
fix(freertos): Fixed SMP race condition in xStreamBufferSend()

Closes IDF-11376

See merge request espressif/esp-idf!34230
2024-10-21 20:21:56 +08:00
Chen Jichang
e9fc43f5da fix(parlio): fix spelling error in reg_base.h 2024-10-21 19:59:17 +08:00
Chen Jichang
e8de889cda fix(parlio_rx): fix high failure rate of test with i2s input 2024-10-21 19:59:17 +08:00
Armando (Dou Yiwen)
0aa8c024a3 Merge branch 'feat/twai_sleep_retention' into 'master'
twai: sleep retention support

Closes IDF-8471, IDF-9772, and IDF-9743

See merge request espressif/esp-idf!34107
2024-10-21 19:14:48 +08:00
Sarvesh Bodakhe
a01a3751f2 Merge branch 'bugfix/softap_wrong_disconnect_reason_code' into 'master'
fix(wifi): Fix wrong reason code used when softAP issues a disconnect for station

Closes WIFIBUG-454

See merge request espressif/esp-idf!33220
2024-10-21 19:01:46 +08:00
renpeiying
53b57e21fb docs: Update CN translation for qemu.rst 2024-10-21 18:48:02 +08:00
Aditya Patwardhan
a58a07ecfe feat(tools): Added option to specify flash image in "idf.py qemu" 2024-10-21 18:48:02 +08:00
morris
c2e8a6e7c4 Merge branch 'feat/blink_example_esp32p4' into 'master'
feat(blink): support esp32 p4 core board

See merge request espressif/esp-idf!32426
2024-10-21 18:08:21 +08:00
nilesh.kale
854101959d feat: enable security related testcases for c5 and c61 2024-10-21 14:24:36 +05:30
Zhang Shu Xian
1a5741b0bd Merge branch 'docs/delete_user_guide_esp32_s2_and_s3' into 'master'
docs: Delete user guide esp32-s2-saola-1, esp32-s3-devkitc-1 and esp32-s3-devkitm-1

Closes DOC-6934, DOC-6935, DOC-6936, and DOC-6937

See merge request espressif/esp-idf!34229
2024-10-21 16:12:35 +08:00
Roman Leonov
e26ad72c28 Merge branch 'fix/usb_host_ext_port_recovery_delay' into 'master'
fix(ext_port): Added port recovery delay

Closes IDF-11357

See merge request espressif/esp-idf!33984
2024-10-21 16:05:44 +08:00
Chen Yudong
e88e8f9450 ci: fix clone test env config repo 2024-10-21 15:44:59 +08:00
zhanghaipeng
dbc94c7056 fix(ble/bluedroid): Support enable BLE topology check by API 2024-10-21 15:41:44 +08:00
Song Ruo Jing
ea0383805f fix(ppa): fix a few minor issues for ppa srm and blend driver
1. The smallest scale size can be 1/16, not 1/15
2. Fix potential heap corruption if scale to a smaller size (OOB)
3. Fix mismatching writeback and invalidate data size if in_bg/fg_buffer and out_buffer
are the same one and L2 cacheline size is larger than L1 cacheline size
2024-10-21 14:51:07 +08:00
Ren Peiying
e8a6f418d8 Merge branch 'docs/remove_user_guide_for_esp32-devkitm-1_migration' into 'master'
docs: Remove user guide for esp32-devkitm-1 migration

See merge request espressif/esp-idf!34028
2024-10-21 11:50:15 +08:00
Shyamal Khachane
624878b6e2 fix(esp_wifi): Populate appropriate reason codes when softAP sends deauthentication
Populate appropriate reason for sending deauthentication when softAP receives
invalid RSN IE from association request
2024-10-21 11:31:17 +08:00
Sarvesh Bodakhe
6797c86135 fix(wifi): Fix wrong wifi reason codes reported on station and softAP
- Fix wrong reason code reported when softAP issues a disconnect for station
- Fix wrong reason code reported when association timeout happens at station
- Deprecate enums WIFI_REASON_ASSOC_EXPIRE, WIFI_REASON_NOT_AUTHED, WIFI_REASON_NOT_ASSOCED
  and use WIFI_REASON_DISASSOC_DUE_TO_INACTIVITY,
  WIFI_REASON_CLASS2_FRAME_FROM_NONAUTH_STA,
  WIFI_REASON_CLASS3_FRAME_FROM_NONASSOC_STA respectively
- Update wifi documentation related to reason codes
2024-10-21 11:31:17 +08:00
Jiang Jiang Jian
34e2f08c5c Merge branch 'fix/fix_esp32c2_eco4_h2e_isssue' into 'master'
fix(wifi): fix esp32eco4 softap h2e issue

Closes WIFIBUG-858

See merge request espressif/esp-idf!34180
2024-10-21 10:52:50 +08:00
Jiang Jiang Jian
8660828ab0 Merge branch 'ci/wifi_codeowner_for_wifi_docs' into 'master'
ci(docs): Add wifi code owners for wifi docs

See merge request espressif/esp-idf!34305
2024-10-21 10:34:47 +08:00
Omar Chebib
4e4b6c1680 Merge branch 'fix/esp_hiram_heap' into 'master'
fix(esp_psram): fix a bug in PSRAM heap registration

Closes IDF-11288

See merge request espressif/esp-idf!33923
2024-10-21 10:01:05 +08:00
Zhang Yan Jiao
2fc937da09 Merge branch 'bugfix/fix_espnow_recv_fail_after_set_peer_rate' into 'master'
fix(wifi/espnow): Fixed espnow receive fail after setting peer rate config

Closes WIFIBUG-866

See merge request espressif/esp-idf!34248
2024-10-21 09:32:43 +08:00
Mahavir Jain
b5aea3d926 Merge branch 'feature/update_mbedtls_version_to_3.6.2' into 'master'
feat(mbedtls): update mbedtls version to 3.6.2

See merge request espressif/esp-idf!34218
2024-10-21 00:12:50 +08:00
chenjianhua
17fe964c1b fix(bt/bluedroid): Fixed GATTC app status check when BT and BLE coexist 2024-10-20 17:20:38 +08:00
chenjianhua
1e3220b0b0 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(52ee788)
- Fixed BLE vendor HCI set and get tx power
- Support BLE vendor HCI set adv aux offset command
- Support BLE vendor HCI set CSA support command
- Added config for BLE instant passed workaround
- Fixed btdm_sleep_clock_sync timeout workaround
2024-10-20 16:33:27 +08:00
zhanghaipeng
76e1650161 fix(ble/bluedroid): Fixed crash issue in BLE SMP when a disconnection process is ongoing 2024-10-20 11:47:31 +08:00
Kapil Gupta
bac76f0491 ci(docs): Add wifi code owners for wifi docs 2024-10-19 15:45:27 +08:00
Adam Múdry
c7a86a23dc Merge branch 'fix/ssdmmc_send_cmd_set_relative_addr_rca' into 'master'
fix(sdmmc): Retry to get another RCA if the previous response was 0

Closes IDF-9631

See merge request espressif/esp-idf!34131
2024-10-19 00:07:28 +08:00
Erhan Kurubas
ffcded5f30 Merge branch 'change/stub_bins_location' into 'master'
change(system): copy stub binaries into build folder

See merge request espressif/esp-idf!34261
2024-10-18 20:46:53 +08:00
Rahul Tank
3459ff2c9b Merge branch 'bugfix/fix_datalen_issue' into 'master'
fix(nimble): Adjust time parameter in set Data len API in case BLE 5.0 support is not present

Closes BLERP-1130

See merge request espressif/esp-idf!34192
2024-10-18 18:24:51 +08:00
Lu Wei Ke
171085b706 Merge branch 'docs/fix_formatting_issue_in_section_esp_serial_slave_link' into 'master'
docs: fixed reference link rendering issue

See merge request espressif/esp-idf!34271
2024-10-18 17:36:26 +08:00
Erhan Kurubas
5d1a838f34 change(system): copy stub binaries into build folder 2024-10-18 11:30:36 +02:00
Armando (Dou Yiwen)
df9d72226b Merge branch 'feat/isp_lsc_feature' into 'master'
isp: lsc feature

Closes IDF-11228

See merge request espressif/esp-idf!31193
2024-10-18 16:59:51 +08:00
Hong Shu Qing
bae513ecaf Merge branch 'bugfix/fix_h2_wrong_lslp_drvb_config_bug' into 'master'
fix(h2): fix lslp drvb config bug

See merge request espressif/esp-idf!30339
2024-10-18 16:33:39 +08:00
C.S.M
121a272e90 Merge branch 'patch/more_patch_for_xmc' into 'master'
patch(spi_flash): cleanup XMC flash chip usage according to new information

See merge request espressif/esp-idf!34048
2024-10-18 15:56:29 +08:00
Tomas Rohlinek
fe51222a02 Merge branch 'feat/simplify_storage_examples' into 'master'
feat(storage/fatfs): update fatfs examples

Closes IDF-5705

See merge request espressif/esp-idf!31174
2024-10-18 15:28:44 +08:00
Wan Lei
087f48ca55 Merge branch 'fix/spi_enable_p4_c5_test' into 'master'
fix(driver_spi): enable p4 multi dut test and c5 test

Closes IDF-9517 and IDF-10322

See merge request espressif/esp-idf!33087
2024-10-18 14:57:23 +08:00
nilesh.kale
dacb9a57cb feat(mbedtls): update mbedtls version to 3.6.2 2024-10-18 11:59:31 +05:30
Armando
332ddd64e3 doc(twai): added sleep retention doc 2024-10-18 14:14:16 +08:00
Armando
047f473aba test(twai): test with sleep retention 2024-10-18 14:14:16 +08:00
Armando
2cb5de2172 feat(twai): sleep retention 2024-10-18 14:14:16 +08:00
Song Ruo Jing
ed91ad56da Merge branch 'refactor/pll_pd_in_sleep_logic' into 'master'
fix(clk): rtc_clk_cpu_freq_set_xtal will always disable CPU's PLL

See merge request espressif/esp-idf!34241
2024-10-18 14:12:15 +08:00
morris
63cf6f93e6 Merge branch 'feat/etm_driver_c61' into 'master'
ETM driver support for esp32c61

Closes IDF-9295, IDF-9964, IDF-9318, and IDF-10373

See merge request espressif/esp-idf!34090
2024-10-18 13:11:35 +08:00
zhangyanjiao
d91e24758e fix(wifi/espnow): Fixed espnow receive fail after setting peer rate config 2024-10-18 12:07:52 +08:00
luweike
f113babe62 docs: fixed reference link rendering issue 2024-10-18 11:33:42 +08:00
Armando
7e02f87bc9 change(isp): added eco2 check 2024-10-18 11:29:56 +08:00
Armando
14f0f344ea feat(isp): lsc example 2024-10-18 11:29:56 +08:00
Armando
0e1ee38ae8 feat(isp): added lsc feature 2024-10-18 11:29:56 +08:00
Chen Jichang
9e27d464eb refactor(mcpwm): remove io_loop_back in example 2024-10-18 10:35:45 +08:00
C.S.M
89b9c480cc docs(spi_flash): Add migration guide for removing XMC-C suspend support 2024-10-18 10:26:26 +08:00
C.S.M
ad6f491459 patch(spi_flash): cleanup XMC flash chip usage according to new information 2024-10-18 10:26:26 +08:00
Jiang Jiang Jian
cbf105e87e Merge branch 'bugfix/use_wpa3_ent_authmode_naming' into 'master'
fix(wifi): Add support to recongize different WPA3 Authentication modes from specifications

Closes WIFIBUG-429

See merge request espressif/esp-idf!33229
2024-10-18 10:03:31 +08:00
Marius Vikhammer
1f1954378e Merge branch 'feature/lp_core_gpio_wakeup' into 'master'
feat(lp_core): added support for LP-IO as LP-core wakeup source

Closes IDF-10200

See merge request espressif/esp-idf!31828
2024-10-18 09:32:49 +08:00
Mahavir Jain
95145c3034 Merge branch 'bugfix/ota_failed_with_openssl_3.0.2' into 'master'
fix(esp_http_client): Fix ota failure with openssl server

Closes IDFGH-13879 and IDF-7885

See merge request espressif/esp-idf!34189
2024-10-17 23:17:16 +08:00
Jiang Jiang Jian
9b112e0fe3 Merge branch 'bugfix/fix_funcs_overriding_on_esp32c3_eco7' into 'master'
fix(bt/controller): Fixed BLE functions overriding on ESP32-C3 ECO7

Closes BLERP-1132

See merge request espressif/esp-idf!34196
2024-10-17 19:45:25 +08:00
Roman Leonov
4677ccee86 fix(ext_port): ESP_LOGW() -> ESP_LOGD() changed back 2024-10-17 19:44:00 +08:00
Roman Leonov
76293e3356 fix(ext_port): Moved reset recovery delay in correct place, removed delay while polling port which in reset state 2024-10-17 19:44:00 +08:00
Roman Leonov
30f199562b fix(ext_port): Added port recovery delay 2024-10-17 19:44:00 +08:00
Chen Jichang
47010efe09 refactor(sdm): refactor gpio config mode 2024-10-17 19:31:56 +08:00
Zhang Shuxian
3df0e6022d docs: Delete user guide esp32-s2-saola-1, esp32-s3-devkitc-1 and esp32-s3-devkitm-1 2024-10-17 19:07:17 +08:00
Roland Dobai
d5ccd1dae4 Merge branch 'bugfix/hints_missing_dash' into 'master'
fix(hints): added missing seperator between hints

See merge request espressif/esp-idf!34250
2024-10-17 18:03:28 +08:00
Marius Vikhammer
8e511ffb4e fix(hints): added missing seperator between hints 2024-10-17 17:04:55 +08:00
chenjianhua
4ae7b4aecf feat(bt/bluedroid): Added API to set supported channel selection algorithm 2024-10-17 16:56:48 +08:00
Tomáš Rohlínek
5841495e7f fix(storage/fatfs): fix CMake project names in fatfs examples 2024-10-17 09:21:33 +02:00
Armando (Dou Yiwen)
e05fce3c9c Merge branch 'feat/lp_i2s_vad' into 'master'
lp_i2s: vad lp driver and lp/hp core wakeup feature

Closes IDF-10211 and IDF-6517

See merge request espressif/esp-idf!33804
2024-10-17 15:01:08 +08:00
Mahavir Jain
c40237f19f Merge branch 'feat/move_crt_bundle_dummy_cert_to_rodata' into 'master'
Move cert bundle's dummy cert to .rodata to reduce RAM usage

See merge request espressif/esp-idf!34080
2024-10-17 14:43:38 +08:00
Sarvesh Bodakhe
61a13d7e3b fix(wifi): Add support to recongize different WPA3 Authentication modes from specs
Add support  to recognize APs supporting 'WPA3-Enterprise-Only Mode' and
'WPA3-Enterprise-Transition Mode' using authmodes WIFI_AUTH_WPA3_ENTERPRISE
and WIFI_AUTH_WPA2_WPA3_ENTERPRISE, respectively.
2024-10-17 11:12:29 +05:30
Xu Xiao
7c9d85932c Merge branch 'fix/fix_tx_issues_in_low_rssi' into 'master'
fix(wifi): fix can not tx in low rssi during iperf test

Closes WIFIBUG-844 and WIFIBUG-875

See merge request espressif/esp-idf!34217
2024-10-17 13:39:39 +08:00
Song Ruo Jing
7c0b1dc98c fix(clk): rtc_clk_cpu_freq_set_xtal will always disable CPU's PLL
Align C6/H2/C5/C61 rtc_clk_cpu_freq_set_xtal behavior to other chips
For PMU supported chips, powering down CPU PLL in sleep will be done by PMU, not sleep code
2024-10-17 12:41:15 +08:00
Song Ruo Jing
67a87a5fcd fix(pmu): enable all func clock icg during retention
This should only increase a tiny amount of the power consumption in the retention process,
but save debug time since some module register read/write relies not only APB but also func clock.
2024-10-17 12:41:15 +08:00
C.S.M
642188c846 Merge branch 'feature/temperature_sensor_retention_support' into 'master'
feat(temperature_sensor): Add sleep retention support for temperature sensor

Closes IDF-9760

See merge request espressif/esp-idf!33901
2024-10-17 12:18:33 +08:00
Marius Vikhammer
bb8fa9300f Merge branch 'change/rename_va_narg' into 'master'
fix(system): rename __VA_NARG__ macro

Closes IDF-11367

See merge request espressif/esp-idf!34068
2024-10-17 08:57:44 +08:00
Adam Múdry
9c7609a0e7 fix(sdmmc): Send status (CMD13) even if write/read command fails 2024-10-17 00:58:48 +08:00
Adam Múdry
3f838d7843 fix(sdmmc): Improve SD card state checking after write/read command 2024-10-17 00:58:48 +08:00
xuxiao
daf7882421 fix(wifi): fix can not tx in low rssi during iperf test 2024-10-16 20:50:29 +08:00
zhanghaipeng
15c895fc6a feat(ble/bluedroid): Support enable BLE hci log by API 2024-10-16 20:25:40 +08:00
morris
f0bd096ea0 Merge branch 'test/break_esp_hw_support_static_analyzer_issues' into 'master'
change(hw_support): temporarily ignore gcc static analyzer issues

Closes IDF-10229

See merge request espressif/esp-idf!31727
2024-10-16 20:17:21 +08:00
Sudeep Mohanty
1fe57a5d8e fix(freertos): Fixed SMP race condition in xStreamBufferSend()
This commit fixes a race condition in dual-core SMP mode where in the
xStreamBufferSend() makes the xTaskWaitingToSend NULL but it may
have already been evaluated to not be NULL by xStreamBufferReceive()
running on another core and eventually leading to a crash in tasks.c.
2024-10-16 19:39:42 +08:00
harshal.patil
3957e59f1a feat(mbedtls/esp_crt_bundle): Move dummy cert to .rodata to save 408B from dram
Co-authored-by: Hanno <h.binder@web.de>
2024-10-16 16:21:28 +05:30
C.S.M
69da13031c Merge branch 'test/flash_encrypt' into 'master'
test(spi_flash): Add 32MB flash encrypted write-read test (beyond 16MB)

See merge request espressif/esp-idf!34207
2024-10-16 18:45:15 +08:00
Aditya Patwardhan
24c82a95a4 Merge branch 'bugfix/python_test_failed_locally_for_https_server' into 'master'
fix: updated pytest for https_server example as per config option

See merge request espressif/esp-idf!33986
2024-10-16 18:23:50 +08:00
C.S.M
4cbc790628 feat(temperature_sensor): Add sleep retention support for temperature sensor 2024-10-16 17:35:35 +08:00
Armando
56af6b5fc4 test(sleep): vad wakeup hp core test 2024-10-16 17:27:27 +08:00
Armando
6db48cff25 feat(sleep): support vad wakeup hp core 2024-10-16 17:27:27 +08:00
Armando
60c005d1dc test(vad): vad wakeup test 2024-10-16 17:27:27 +08:00
Armando
1792aba1dc feat(vad): lp vad driver and wakeup feature 2024-10-16 17:27:27 +08:00
morris
b1dee4e0d9 change(hw_support): temporarily ignore gcc static analyzer issues
found in regdma and dma2d driver
2024-10-16 17:22:25 +08:00
Fu Hanxi
39430c1404 Merge branch 'ci/bypass_import_while_collecting' into 'master'
ci: bypass import failure while checking test scripts

See merge request espressif/esp-idf!34226
2024-10-16 17:20:40 +08:00
morris
4db9c8779f Merge branch 'feat/rgb_lcd_gdma_link' into 'master'
refactor rgb_lcd driver to use gdma_link driver

See merge request espressif/esp-idf!33821
2024-10-16 17:13:07 +08:00
Fu Hanxi
1e614efa5f ci: add missing dependency 2024-10-16 11:01:16 +02:00
Gao Xu
da9014c8d6 Merge branch 'docs/enable_adc_on_p4' into 'master'
docs(adc): update adc oneshot/continuous docs on P4

Closes IDF-7718 and IDF-7719

See merge request espressif/esp-idf!32815
2024-10-16 16:20:53 +08:00
Fu Hanxi
bd26feef9b ci: ignore collect import error 2024-10-16 10:14:30 +02:00
Shu Chen
45ce0fdb6d Merge branch 'fix/c5_coex_phy_init_issue' into 'master'
fix(esp_phy): fix C5 coex phy init issue

Closes ZB-119 and TZ-1180

See merge request espressif/esp-idf!34176
2024-10-16 16:11:17 +08:00
Fu Hanxi
910bea1a1d ci: bypass import failure while checking test scripts
we mock the missing packages in pytest_collectstart in plugin.py.
but here the common_test_methods are imported by other scripts, which
got executed earlier.
2024-10-16 09:37:50 +02:00
Sudeep Mohanty
943103a4e2 Merge branch 'fix/freertos_race_cond_in_stream_buffers' into 'master'
fix(freertos): Fixed SMP race condition in stream_buffers.c

Closes IDF-11376

See merge request espressif/esp-idf!34130
2024-10-16 15:19:53 +08:00
Martin Vychodil
2c5dcc977e Merge branch 'feat/fatfs_support_sector_less_than_128' into 'master'
feat(fatfs): enable partition handling for sectors less than 128

Closes IDF-8538

See merge request espressif/esp-idf!33569
2024-10-16 13:34:12 +08:00
morris
7fdcedffd3 Merge branch 'bugfix/pcnt_pm_lock' into 'master'
fix(pcnt): install the pm lock upon driver installation

See merge request espressif/esp-idf!34206
2024-10-16 11:24:26 +08:00
Xu Xiao
5a2682ce7e Merge branch 'bugfix/fix_esp32c5_coexist_hw_timer_issue' into 'master'
bugfix/fix esp32c5 coexist hw timer issue, xtal frequency issue, coexist reconnect policy issue, memory leakage issue

Closes WIFIBUG-833 and WIFIBUG-851

See merge request espressif/esp-idf!33933
2024-10-16 11:12:37 +08:00
liuning
99dbcf536c fix(coex): fix esp32c2/esp32c5/esp32c61 coexist memory leakage issue 2024-10-16 10:26:55 +08:00
liuning
05173abc43 fix(coex): sync up coex head file 2024-10-16 10:26:55 +08:00
liuning
18f959623c fix(coex): fix esp32c5 coexist hw timer issue 2024-10-16 10:26:55 +08:00
liuning
3b8bd7b608 fix(coex): fix some coexist debug issues 2024-10-16 10:26:55 +08:00
Wang Meng Yang
99f529f255 Merge branch 'bugfix/update_btlib' into 'master'
fix(bt/controller): Fixed some controller bugs on ESP32

Closes BTQABR2023-352, BT-3841, and IDFGH-10796

See merge request espressif/esp-idf!33878
2024-10-16 10:13:35 +08:00
Marius Vikhammer
b4c501374f feat(lp_core): added support for LP-IO as LP-core wakeup source 2024-10-16 09:34:20 +08:00
Ondrej Kosta
e39f0a1d9a Merge branch 'feat/generic_phy' into 'master'
Feat/generic phy

Closes IDF-11249 and DOC-9102

See merge request espressif/esp-idf!33708
2024-10-15 21:39:27 +08:00
Kapil Gupta
974eb7933d Merge branch 'feat/add_sbom_wpa_supplicant' into 'master'
feat(wpa_supplicant): Add sbom manifest file for wpa_supplicant

Closes IDF-8308

See merge request espressif/esp-idf!34193
2024-10-15 20:46:38 +08:00
nilesh.kale
d66442b74a fix(esp_http_server): updated condition to verify http version
Closes https://github.com/espressif/esp-idf/issues/14723
2024-10-15 17:56:13 +05:30
Alexey Lapshin
020bf08667 Merge branch 'fix/cxx-tls-destructors' into 'master'
fix(cxx): fix TLS classes destructor call

Closes IDFGH-13456

See merge request espressif/esp-idf!33039
2024-10-15 20:25:35 +08:00
nilesh.kale
8d8b3fc0a2 fix(esp_http_client): Fix ota failure with openssl server
If the TLS server (e.g., openssl) closes connection with encrypted close-notify alert
then `errno` is not explicitly set on the socket by LwIP stack.
For this scenario, we must rely only on `ERR_TCP_TRANSPORT_CONNECTION_CLOSED_BY_FIN`
return value as the connection close case and do the graceful connection closure.

Closes https://github.com/espressif/esp-idf/issues/14724
2024-10-15 16:37:32 +05:30
Erhan Kurubas
8c4337004b Merge branch 'fix/esp32p4_apptrace' into 'master'
fix(apptrace): replace ctrl block into noncache-able TCM  memory

Closes IDF-8107

See merge request espressif/esp-idf!34032
2024-10-15 17:45:24 +08:00
morris
9742007ce0 fix(pcnt): install the pm lock upon driver installation 2024-10-15 17:37:56 +08:00
C.S.M
af318a91a1 test(spi_flash): Add 32MB flash encrypted write-read test (beyond 16MB) 2024-10-15 17:30:48 +08:00
Wan Lei
cfd343b3b5 Merge branch 'fix/i2s_enable_test_p4_c5_multi' into 'master'
test(driver_i2s): p4 and c5 enable multi dut test

Closes IDF-10321

See merge request espressif/esp-idf!33860
2024-10-15 17:16:22 +08:00
Chen Ji Chang
b42cd6b4b7 Merge branch 'feat/mcpwm_io_append_mode' into 'master'
refactor(mcpwm): deprecate io_loop_back

Closes IDF-11120

See merge request espressif/esp-idf!34040
2024-10-15 17:15:40 +08:00
morris
78893261c1 Merge branch 'docs/update_application_examples_protocol_modbus_mqtt_lwip' into 'master'
docs: update application examples for modbus.rst, mqtt.rst and lwip.rst

See merge request espressif/esp-idf!33665
2024-10-15 15:10:39 +08:00
Nachiket Kukade
82e6c06193 feat(wpa_supplicant): Add sbom manifest file for wpa_supplicant 2024-10-15 12:27:54 +05:30
Jiang Jiang Jian
88317cff24 Merge branch 'feat/pwr_glitch_bringup_c5_c61' into 'master'
feat(pwr_glitch): Add power glitch reset support on esp32c5, esp32c61

See merge request espressif/esp-idf!33032
2024-10-15 14:15:49 +08:00
chenjianhua
020f7a6297 fix(bt/controller): Fixed BLE functions overriding on ESP32-C3 ECO7 2024-10-15 12:11:13 +08:00
wanckl
ca66d3fb40 fix(driver_spi): enable c5 spi test 2024-10-15 12:06:47 +08:00
wanckl
2a7ba86824 fix(driver_spi): enable p4 multi dut test 2024-10-15 12:06:47 +08:00
Omar Chebib
d327186ddd fix(esp_psram): fix a bug in PSRAM heap registration
This commit fixes a bug in the PSRAM heap initialization that didn't take into
account the reserved himem area when registering the PSRAM virtual space as a heap.
2024-10-15 11:55:28 +08:00
morris
2c71890bf8 Merge branch 'bugfix/hal_gcc_analyzer_warning' into 'master'
fix(hal): reenable gnu static analyzer

Closes IDF-10234

See merge request espressif/esp-idf!34164
2024-10-15 11:43:26 +08:00
morris
85a0845dad Merge branch 'feat/dedic_gpio_enable_pad_input' into 'master'
feat(dedic_gpio): enable pad input for a input signal

Closes IDF-11282

See merge request espressif/esp-idf!34140
2024-10-15 11:32:07 +08:00
chenjianhua
d53572ab10 fix(bt/bluedroid): Update address type for BLE link when the connection is completed 2024-10-15 11:10:17 +08:00
Marius Vikhammer
64e0fc7a5a fix(system): rename __VA_NARG__ macro
__VA_NARG__ is copied from a forum post and is a pretty common implementation
with a high chance of causing naming collision

Added ESP_ namespace to avoid this.
2024-10-15 09:41:00 +08:00
Roman Leonov
7e0fc6a156 Merge branch 'feature/usb_host_hubs_support_msg' into 'master'
feat(hub): Added notification when hubs support is disabled

Closes IDF-11254

See merge request espressif/esp-idf!33703
2024-10-15 09:16:27 +08:00
Mahavir Jain
44c6e49000 Merge branch 'feat/enable_otatool_support_for_c61' into 'master'
feat(ota): Added support of otatool for esp32c61

Closes IDF-11309

See merge request espressif/esp-idf!34072
2024-10-15 02:10:59 +08:00
Rahul Tank
42677a1556 fix(nimble): Adjust Data len time in case 5.0 support is not present 2024-10-14 20:49:33 +05:30
Roland Dobai
dbf5934b3d Merge branch 'feat/chip_support_stat_5.4' into 'master'
Update the chip support status of ESP32-C5 and ESP32-C61 for ESP-IDF v5.4

Closes IDF-9227

See merge request espressif/esp-idf!33954
2024-10-14 20:33:00 +08:00
Xu Si Yu
d1ef423038 Merge branch 'feat/support_ot_trel' into 'master'
feat(openthread): support trel feature

Closes TZ-214

See merge request espressif/esp-idf!32092
2024-10-14 20:03:36 +08:00
Kapil Gupta
3f57872ff2 Merge branch 'bugfix/correct_typo_scan' into 'master'
fix(esp_wifi): Correct typos in example/scan.c

See merge request espressif/esp-idf!34145
2024-10-14 19:42:10 +08:00
renpeiying
30dbe31ef6 docs: Update CN translation for fatfs.rst 2024-10-14 19:24:08 +08:00
Roman Leonov
f333131063 feat(hub): Added notification when hubs support disabled 2024-10-14 12:37:34 +02:00
C.S.M
ac1459e4dc Merge branch 'fix/i2c_sleep_retention' into 'master'
fix(i2c): Fix there is no define in retention bitmap

See merge request espressif/esp-idf!34115
2024-10-14 18:34:11 +08:00
Zhang Wen Xu
60571b152e Merge branch 'fix/ieee802154_test_assert_issue' into 'master'
fix(802154): pass hardware abort reason into processing function

Closes TZ-1114

See merge request espressif/esp-idf!34142
2024-10-14 18:10:46 +08:00
C.S.M
381135dfef Merge branch 'feat/support_bod_p4_eco2' into 'master'
feat(bod): Update bod threshold on esp32p4-eco2

See merge request espressif/esp-idf!34105
2024-10-14 17:52:54 +08:00
morris
9cacadc555 Merge branch 'feat/parlio_io_append_mode' into 'master'
refactor(parlio): deprecate io_loop_back

Closes IDF-11121

See merge request espressif/esp-idf!34119
2024-10-14 16:56:01 +08:00
wangtao@espressif.com
5e6e1ba49a fix(wifi): fix esp32eco4 softap h2e issue 2024-10-14 16:39:47 +08:00
Island
554d2ba217 Merge branch 'feature/ble_example_add_pytest_for_ble' into 'master'
feat(ble): added pytest for ble example

Closes BLERP-1110

See merge request espressif/esp-idf!33640
2024-10-14 16:17:41 +08:00
Xu Xiao
e3a6fb0922 Merge branch 'feat/add_bss_color_support_for_softap' into 'master'
feat(wifi): add bss color support for softap

See merge request espressif/esp-idf!33857
2024-10-14 15:44:53 +08:00
zwx
0682be88c9 fix(esp_phy): fix C5 coex phy init issue 2024-10-14 15:34:41 +08:00
Mahavir Jain
35d2125de3 Merge branch 'feat/add_readme_for_security_examples' into 'master'
feat(security): Added README for security examples

See merge request espressif/esp-idf!34161
2024-10-14 14:36:02 +08:00
morris
3683e4c18b fix(hal): reenable gnu static analyzer 2024-10-14 14:34:57 +08:00
Roland Dobai
0a354e09ef Tools: Add new ROM binary release including for ESP32-C5 2024-10-14 14:32:35 +08:00
Roland Dobai
e005b7c97b fix(tools): Update chip support status of ESP32-C5 and ESP32-C61 2024-10-14 14:32:35 +08:00
Mahavir Jain
efb410085a Merge branch 'fix/security_features_app_readme' into 'master'
fix(security): Fixed README file for security_features_app

See merge request espressif/esp-idf!33957
2024-10-14 14:27:22 +08:00
Linda
4d7436f861 docs: update application examples for modbus.rst, mqtt.rst and lwip.rst 2024-10-14 14:13:00 +08:00
Aditya Patwardhan
6d86e581d3 feat(security): Added README for security examples 2024-10-14 11:18:49 +05:30
Aditya Patwardhan
b1ac4773a5 fix(security): Fixed README file for security_features_app 2024-10-14 13:44:50 +08:00
morris
1c1198cf4a feat(dedic_gpio): enable pad input for the input signal
previously, we asked the user to enable the gpio direction before
initialize the dedicated GPIO.

Now the dedicated GPIO driver will help enable the input/output path
according to the in_en and out_en flags.
2024-10-14 11:35:16 +08:00
Xu Si Yu
73aede6cc9 feat(openthread): allow enabling trel before getting interface 2024-10-14 10:44:11 +08:00
Armando (Dou Yiwen)
93de26537c Merge branch 'fix/sanitizer_issue' into 'master'
flash: flash ops sanitizer

Closes IDF-9954

See merge request espressif/esp-idf!33859
2024-10-14 10:36:43 +08:00
Marius Vikhammer
0fb913972d Merge branch 'change/c5_reset_reason_cleanup' into 'master'
change(system): cleanup c5 reset reason todo

See merge request espressif/esp-idf!34004
2024-10-14 10:10:33 +08:00
Adam Múdry
72bbb8c857 fix(sdmmc): Retry to get another RCA if the previous response was 0 2024-10-14 03:25:55 +02:00
Abhik Roy
46a2409bb2 Merge branch 'contrib/github_pr_14132' into 'master'
feat(dhcp server): only hand out DNS if explicitly specified (GitHub PR)

Closes IDFGH-13195

See merge request espressif/esp-idf!33683
2024-10-14 08:47:02 +08:00
diplfranzhoepfinger
a26858618a fix(esp_wifi): Correct typos in example/scan.c
Closes https://github.com/espressif/esp-idf/issues/14102
Closes https://github.com/espressif/esp-idf/pull/14103
2024-10-13 16:25:25 +05:30
Island
2c67f086bd Merge branch 'feat/ble_enable_direction_finding_feature_in_host_only' into 'master'
(feat):Enable direction finding feature in nimble host only mode.

See merge request espressif/esp-idf!34078
2024-10-12 20:36:37 +08:00
morris
709fbf0a19 Merge branch 'docs/update_pthread_cn' into 'master'
docs: Update the CN translation for pthread.rst/ota ‎.rst‎

Closes DOC-8536 and DOC-9081

See merge request espressif/esp-idf!32531
2024-10-12 18:45:24 +08:00
C.S.M
99f1eace07 feat(bod): Update bod threshold on esp32p4-eco2 2024-10-12 18:03:24 +08:00
Xu Si Yu
a0ae573357 feat(openthread): support trel feature 2024-10-12 17:52:41 +08:00
zwx
b148fb507e fix(802154): pass hardware abort reason into processing function 2024-10-12 17:51:46 +08:00
C.S.M
c2d1f7a48c feat(esp32p4): Introduce p4 eco2 configuration 2024-10-12 15:08:24 +08:00
Jiang Jiang Jian
8711b55bec Merge branch 'mqtt_custom_outbox_ci' into 'master'
Set partition to large for c6 on custom outbox example

See merge request espressif/esp-idf!34082
2024-10-12 14:29:15 +08:00
Island
302c9d4205 Merge branch 'docs/update_ble_feature_support_status' into 'master'
docs(ble): Updated one feature name in feature status table

Closes IDF-9500 and IDF-10177

See merge request espressif/esp-idf!34050
2024-10-12 14:25:56 +08:00
Chen Jichang
cfdaf3b379 feat(parlio): refactor gpio mode config in parlio 2024-10-12 14:12:25 +08:00
Kevin (Lao Kaiyao)
f159b1efbb Merge branch 'refactor/split_esp32c61_soc_include_folder' into 'master'
refactor(soc): sort esp32c61 soc headers

See merge request espressif/esp-idf!33322
2024-10-12 13:52:40 +08:00
Kevin (Lao Kaiyao)
4302bcc332 Merge branch 'refactor/split_esp32c2_soc_include_folder' into 'master'
refactor(soc): sort esp32c2 soc headers

See merge request espressif/esp-idf!33317
2024-10-12 12:13:57 +08:00
morris
d93a25d1fb feat(etm): add driver support for esp32c61 2024-10-12 11:18:36 +08:00
C.S.M
6fd834eb90 fix(i2c): Fix there is no define in retention bitmap 2024-10-12 11:06:52 +08:00
xuxiao
02a88eed4e fix(wifi): add bss color support for softap 2024-10-12 10:34:25 +08:00
laokaiyao
fa8d73861b refactor(soc): sort esp32c2 soc headers 2024-10-12 09:43:41 +08:00
Kevin (Lao Kaiyao)
f33bd32b36 Merge branch 'bugfix/fix_deep_sleep_wakeup_by_touch_on_p4' into 'master'
fix(touch): fixed the deep sleep wakeup issue on P4

See merge request espressif/esp-idf!34104
2024-10-12 09:38:37 +08:00
Jin Cheng
e2241f1fc1 fix(bt/controller): Fixed some controller bugs on ESP32
- Fixed access NULL in SCO frame end
      Closes https://jira.espressif.com:8443/browse/IDFGH-10796
    - Added LAP checking for Periodic Inquiry
    - Removed an inproper assertion in SCO module
    - Fixed wrong logic in key exchange when
      LMP transaction collision occurred
    - Fixed the using of wrong error code in
      the transaction collision of role switch
2024-10-12 09:01:48 +08:00
morris
d38e30eddf Merge branch 'feat/etm_sleep_retention' into 'master'
feat(etm): support sleep retention

Closes IDF-8462

See merge request espressif/esp-idf!33787
2024-10-11 21:28:01 +08:00
Kevin (Lao Kaiyao)
5f0a71a5e0 Merge branch 'refactor/split_esp32p4_soc_include_folder' into 'master'
refactor(soc): sort esp32p4 soc headers

See merge request espressif/esp-idf!33320
2024-10-11 20:45:33 +08:00
Sudeep Mohanty
03d76006b8 fix(freertos): Fixed SMP race condition in stream_buffers.c
This commit fixes a race condition in dual-core SMP mode where in the
xStreamBufferReceive() makes the xTaskWaitingToReceive NULL but it may
have already been evaluated to not be NULL by xStreamBufferSend()
running on another core and eventually leading to a crash in tasks.c.
2024-10-11 14:31:06 +02:00
Kevin (Lao Kaiyao)
03fdff51f4 Merge branch 'refactor/split_esp32c3_soc_include_folder' into 'master'
refactor(soc): sort esp32c3 soc headers

See merge request espressif/esp-idf!33314
2024-10-11 20:27:09 +08:00
Zhang Shuxian
d792f7d86d docs: Update CN translation for esp_eth.rst 2024-10-11 14:26:45 +02:00
Li Shuai
11ea3a331e Merge branch 'change/change_modem_clock_api_implementaion' into 'master'
change(esp_hw_support): change modem clock implementation

Closes PM-238

See merge request espressif/esp-idf!33753
2024-10-11 19:53:39 +08:00
Jiang Jiang Jian
90cfc528d1 Merge branch 'bugfix/load_access_fault_upon_auth' into 'master'
fix(wifi): Add a check on hostapd instance while handling an Auth frame

Closes WIFIBUG-739

See merge request espressif/esp-idf!33362
2024-10-11 18:40:09 +08:00
morris
dd82222dd9 feat(rgb_lcd): use gdma_link driver 2024-10-11 18:38:12 +08:00
Kevin (Lao Kaiyao)
a74730e4df Merge branch 'refactor/split_esp32c5_soc_include_folder' into 'master'
refactor(soc): sort esp32c5 soc headers

See merge request espressif/esp-idf!33321
2024-10-11 18:22:44 +08:00
morris
1193e26c88 feat(gdma): added function to concat two link lists 2024-10-11 18:20:13 +08:00
Kevin (Lao Kaiyao)
45705167e5 Merge branch 'refactor/split_esp32c6_soc_include_folder' into 'master'
refactor(soc): sort esp32c6 soc headers

See merge request espressif/esp-idf!33316
2024-10-11 18:14:19 +08:00
Kevin (Lao Kaiyao)
a0477f3bb4 Merge branch 'refactor/split_esp32s3_soc_include_folder' into 'master'
refactor(soc): sort esp32s3 soc headers

See merge request espressif/esp-idf!33313
2024-10-11 18:03:38 +08:00
Sudeep Mohanty
a97a7b0962 Merge branch 'fix/priority_inv_when_remove_from_unordered_event_list' into 'master'
fix(freertos): Fixed priority inversion when setting event group bits

Closes IDF-8160

See merge request espressif/esp-idf!33953
2024-10-11 17:49:08 +08:00
Sudeep Mohanty
eeafd12f37 Merge branch 'feat/add_freertos_port_layer_mocks' into 'master'
feat(freertos): Add FreeRTOS port layer mocks for CMock tests

See merge request espressif/esp-idf!34021
2024-10-11 17:47:51 +08:00
Chen Jichang
cb097aeb54 refactor(mcpwm): refactor gpio mode config in mcpwm
Deprecate io_loop_back flag. Use capture timer to test generator and
dead time.
2024-10-11 16:36:25 +08:00
laokaiyao
82f4add36d refactor(soc): sort esp32c5 soc headers 2024-10-11 16:32:52 +08:00
laokaiyao
f0c34575d1 refactor(soc): sort esp32c6 soc headers 2024-10-11 16:32:24 +08:00
laokaiyao
55493e933e refactor(soc): sort esp32p4 soc headers 2024-10-11 16:30:11 +08:00
laokaiyao
25bd7a670c refactor(soc): sort esp32c61 soc headers 2024-10-11 16:29:55 +08:00
laokaiyao
c3e0dd610a refactor(soc): sort esp32s3 soc headers 2024-10-11 16:29:42 +08:00
laokaiyao
c079f30295 refactor(soc): sort esp32c3 soc headers 2024-10-11 16:29:30 +08:00
Ondrej Kosta
0738314308 feat(esp_eth): added new generic PHY driver 2024-10-11 10:14:53 +02:00
Aditya Patwardhan
6a29351bd0 Merge branch 'bug/ci_test_https_server_file_serving' into 'master'
fix(protocols): Erased the storage partition for http_server ci test

Closes IDFCI-2392

See merge request espressif/esp-idf!34083
2024-10-11 14:58:06 +08:00
Jiang Jiang Jian
6c8ce91281 Merge branch 'bugfix/watchdog_timer_ap_sta_esp32c5' into 'master'
fix(wifi): Prevent overwriting of scan parameters in consecutive scans

Closes WIFIBUG-734

See merge request espressif/esp-idf!33511
2024-10-11 14:31:42 +08:00
Lou Tianhao
aa7b7f225a change(esp_hw_support): change modem clock implementation 2024-10-11 14:01:59 +08:00
Jiang Jiang Jian
220d4c6d37 Merge branch 'bugfix/hfp_sniff_mng' into 'master'
bugfix/hf_and_ag_cannot_enter/exit sniff mode.

See merge request espressif/esp-idf!33838
2024-10-11 14:00:21 +08:00
Rahul Tank
5b1dcaaf1b Merge branch 'bugfix/update_nimble_sbom_info' into 'master'
fix(nimble): Update sbom file to correct nimble version

See merge request espressif/esp-idf!34005
2024-10-11 13:36:33 +08:00
morris
fc62ec460d Merge branch 'refactor/lcd_i80_gpio_config' into 'master'
Clean up GPIO initialization in the LCD driver

Closes IDF-11132

See merge request espressif/esp-idf!33716
2024-10-11 13:18:59 +08:00
laokaiyao
13e52cfa21 fix(touch): fixed the deep sleep wakeup issue on P4 2024-10-11 11:29:44 +08:00
morris
3fa0db7cdd Merge branch 'docs/fix_typo_i2c_rtc_clock' into 'master'
docs: fix a typo in I2C RTC clock name

See merge request espressif/esp-idf!34042
2024-10-11 10:56:49 +08:00
Sajia
ff4620fd70 fix(wifi): Add a check on hostapd instance while handling an Auth frame 2024-10-11 10:26:09 +08:00
Mahavir Jain
fa4c38738e Merge branch 'contrib/github_pr_13204' into 'master'
Reduce RAM usage by modifying the certificate bundle format (GitHub PR)

Closes IDFGH-12148

See merge request espressif/esp-idf!29595
2024-10-11 05:05:43 +08:00
Martin Vychodil
f659405ee0 Merge branch 'feat/monitor_auto_color' into 'master'
feat(tools): Add auto color to monitor and disable colors from chip logs

Closes IDF-362 and DOC-9110

See merge request espressif/esp-idf!33623
2024-10-11 01:04:26 +08:00
Konstantin Kondrashov
d4c35b3db3 Merge branch 'ci/fix_flash_enc_wifi_test' into 'master'
fix(examples): Fix flash_enc_wifi test in pytest_simple_ota

See merge request espressif/esp-idf!34047
2024-10-11 00:42:29 +08:00
Mahavir Jain
7e54d786f0 Merge branch 'ci/enable_crypto_drivers_test_for_esp32c61' into 'master'
Enable crypto drivers test app build only for supported targets

Closes IDF-10987 and IDF-7583

See merge request espressif/esp-idf!33958
2024-10-10 23:58:45 +08:00
Adam Múdry
d7cb8f5b9a Merge branch 'docs/nvs_check_documentation' into 'master'
Docs: Add nvs_check.py documentation

Closes IDF-11024

See merge request espressif/esp-idf!33952
2024-10-10 22:03:45 +08:00
Island
1ba647da0b Merge branch 'bugfix/fix_ble_robust_feature' into 'master'
fix(ble/bluedroid): Fixed error when writing Client Supported Features characteristic

Closes BLERP-1054

See merge request espressif/esp-idf!33713
2024-10-10 20:03:49 +08:00
Island
2381487c73 Merge branch 'bugfix/fix_ble_handle_check' into 'master'
fix(ble/bluedroid): Fixed BLE handle check for GATT API

Closes BLERP-1084

See merge request espressif/esp-idf!33900
2024-10-10 20:03:43 +08:00
Tomas Rohlinek
ee6742d764 Merge branch 'fix/incorrect_test_case_spiffs_linux' into 'master'
fix(storage/spiffs): fix incorrect test case configuration

Closes IDFCI-2179

See merge request espressif/esp-idf!33323
2024-10-10 19:50:11 +08:00
renpeiying
fef1d6278e docs: update CN trans according to review 2024-10-10 13:40:34 +02:00
Rahul Tank
b12ea21f49 fix(nimble): Update sbom file to correct nimble version 2024-10-10 14:52:33 +05:30
hrushikesh.bhosale
66ebdd0b32 feat(ota): Added support of otatool for esp32c61
Enabled the test for esp32c61 for otatool
2024-10-10 14:48:16 +05:30
Euripedes Rocha
5ccc9d1978 ci(mqtt): Set partition to large for c6 on custom outbox example
Example failed to build on CI for c6 target due to partition size.
2024-10-10 10:49:36 +02:00
Tomáš Rohlínek
bcc060b98e docs(storage/fatfs): fix relative links in fatfs examples 2024-10-10 16:41:58 +08:00
Tomáš Rohlínek
908c4c7ce6 docs(storage/fatfs): fix fatfs example links in docs 2024-10-10 16:41:58 +08:00
renpeiying
ebe5ac900b docs: Update CN translation for api-reference/storage/index.rst 2024-10-10 16:41:58 +08:00
Tomáš Rohlínek
46982e69da feat(storage/vfs): update example references in documentation 2024-10-10 16:41:58 +08:00
Tomáš Rohlínek
d43669b2d7 feat(storage/fatfs): restructure fatfsgen example 2024-10-10 16:41:58 +08:00
Tomáš Rohlínek
33788de979 feat(storage/fatfs): restructure ext_flash example 2024-10-10 16:41:58 +08:00
Tomáš Rohlínek
587290567d feat(storage/fatfs): restructure advanced example 2024-10-10 16:41:58 +08:00
Tomáš Rohlínek
85b5869053 feat(storage/fatfs): restructure basic example 2024-10-10 16:41:58 +08:00
Tomáš Rohlínek
f633839ece feat(storage/fatfs): add advanced example for fatfs 2024-10-10 16:41:58 +08:00
Tomáš Rohlínek
b9a54fb1f3 feat(storage/fatfs): add minimal FatFS example 2024-10-10 16:41:58 +08:00
Tomáš Rohlínek
84ba1a323c fix(storage/fatfs): move test app to correct directory 2024-10-10 16:41:58 +08:00
hrushikesh.bhosale
3dc0f88dc6 fix(protocols): Erased the storage partition for http_server ci test
Added api to erase storage partition for http_server ci test
2024-10-10 14:11:18 +05:30
Marius Vikhammer
331abf74ff Merge branch 'docs/rtc_heap_mem_description' into 'master'
fix(system): fixed docs for ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP, enabled on H2

See merge request espressif/esp-idf!33537
2024-10-10 16:31:07 +08:00
Jin Cheng
9872a7bbd1 fix(bt/bluedroid): fixed AG and HF client cannot enter/exit sniff mode 2024-10-10 16:23:09 +08:00
Jin Cheng
6d85d86fe1 Revert "Disable sniff mode during (e)SCO connection."
This reverts commit 39a5eb84f3.
2024-10-10 16:10:11 +08:00
morris
d6ac628f7a change(esp_rom): comment out conflict gpio functions
The GPIO function names has conflict with the public API used by
esp_driver_gpio component.

For now, we simply comment out the conflict ones.

Later, we should consider reusing the GPIO rom APIs.
2024-10-10 16:01:05 +08:00
morris
611fb654ce refactor(lcd): clean up GPIO initialization 2024-10-10 16:01:05 +08:00
GengYuchao
6f306e2dbd feat: Enable direction finding feature in nimble host only mode 2024-10-10 15:30:01 +08:00
Frantisek Hrbata
7e76d2e435 Merge branch 'fix/ldgen_sort' into 'master'
fix(ldgen): enable default name SORT in linker fragment

Closes IDF-10582

See merge request espressif/esp-idf!34030
2024-10-10 15:14:51 +08:00
Sudeep Mohanty
7b2e18d70f Merge branch 'fix/freertos_example_ci_failure' into 'master'
fix(freertos): Fix freertos example pytest script

Closes IDFCI-2422

See merge request espressif/esp-idf!33888
2024-10-10 14:44:51 +08:00
shenmengjing
b7d445389d docs: Update CN translation for ulp-lp-core.rst 2024-10-10 14:15:27 +08:00
akshat
2c500dd5eb fix(wifi): Prevent overwriting of scan parameters in consecutive scans 2024-10-10 11:19:44 +05:30
Shen Meng Jing
56437e9637 Merge branch 'docs/translate_sd_pullup_requirements' into 'master'
docs: Provide Chinese translation for sd_pullup_requirements

Closes DOC-8133

See merge request espressif/esp-idf!31638
2024-10-10 13:35:21 +08:00
morris
1b7977194a Merge branch 'refactor/move_freertos_related_kconfig_and_test_to_freertos' into 'master'
refactor(freertos): rename SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY

See merge request espressif/esp-idf!32884
2024-10-10 13:24:58 +08:00
morris
a4f783d407 test(gptimer): added etm sleep retention test 2024-10-10 12:12:58 +08:00
morris
05cb70cc3a refactor(rmt): define retention module in the soc layer 2024-10-10 12:12:58 +08:00
morris
0722aa8209 feat(etm): support sleep retention 2024-10-10 12:12:58 +08:00
Shu Chen
6846245815 Merge branch 'fix/ot_dns_ext_hook_ip_check' into 'master'
fix(openthread): Add check for ip address in DNS external resolve hook

Closes TZ-1202

See merge request espressif/esp-idf!34034
2024-10-10 12:11:10 +08:00
shenmengjing
1ddc11448e docs: Provide Chinese translation for sd_pullup_requirements 2024-10-10 11:55:28 +08:00
Island
5643521c3b Merge branch 'fix/ble_mesh_esp32c5_lib_bugfix' into 'master'
feat(ble_mesh): esp32c5 lib update

Closes BLERP-1095

See merge request espressif/esp-idf!34027
2024-10-10 10:19:03 +08:00
Kevin (Lao Kaiyao)
ab17cd167f Merge branch 'refactor/split_esp32h2_soc_include_folder' into 'master'
refactor(soc): sort esp32h2 soc headers

See merge request espressif/esp-idf!33318
2024-10-10 09:59:00 +08:00
Sarvesh Bodakhe
1acf446369 Merge branch 'fix/add_wifi_public_header_checksums' into 'master'
feat(wifi/coex): Add integrity check for public headers files for esp32c5, esp32c61 and esp32_host

See merge request espressif/esp-idf!33932
2024-10-09 23:49:12 +08:00
Sarvesh Bodakhe
8b4ebea872 ci: Add md5 checksum validation for COEX public header files for new chips
Add MD5 checksum validation for public header files of the following new chips:
esp32c5 and esp32c61.
2024-10-09 23:11:09 +08:00
Sarvesh Bodakhe
5cab997c15 ci: Add md5 checksum validation for WiFi public header files for new chips
Add MD5 checksum validation for public header files of the following new chips:
esp32c5, esp32c6, and esp32_host.
2024-10-09 23:11:09 +08:00
Sarvesh Bodakhe
2d6188ea76 feat(wifi): Add checks for public headers for esp32c5, esp32c61 and esp32_host
Add md5sum integrity check for public header files for esp32c5, esp32c61
and esp32_host libraries.
2024-10-09 23:11:09 +08:00
Wang Tao
883855efd2 Merge branch 'fix/fix_send_deauth_protect_list_lock_issue' into 'master'
fix(wifi): fix send deauth mac list lock free issue

Closes WIFIBUG-780

See merge request espressif/esp-idf!33732
2024-10-09 21:37:08 +08:00
harshal.patil
0702fb82b0 ci(examples/protocols): Add more testing connections in the x509 bundle example
- This adds a test to try connecting to the domains that use the
most common certificate authorities with the default full cert bundle
2024-10-09 16:08:35 +05:30
harshal.patil
20fff296e4 test(mbedtls): Update custom cert bundle init API - bound checking testcase
- Support the newer cert bundle format in the test
2024-10-09 16:08:35 +05:30
harshal.patil
b097eb12b3 ci(mbedtls/esp_crt_bundle): Format esp_crt_bundle.c using astyle 2024-10-09 16:08:35 +05:30
Hanno
d8e31eb6d0 feat(mbedtls/esp_crt_bundle): Reduced RAM & stack use of cert bundle
Closes https://github.com/espressif/esp-idf/pull/13204

Signed-off-by: harshal.patil <harshal.patil@espressif.com>
2024-10-09 16:08:35 +05:30
nilesh.kale
0797f580bc fix: updated pytest for https_server example as per config option 2024-10-09 15:56:42 +05:30
Roman Leonov
0be9d7d3f2 Merge branch 'fix/usb_host_lib_example' into 'master'
fix(usb_host_lib): Returned task suspend

See merge request espressif/esp-idf!34046
2024-10-09 18:24:54 +08:00
C.S.M
e667ddf7c2 Merge branch 'fix/p4_retention_def' into 'master'
fix(i2c_master): fix the sleep retention number on p4

See merge request espressif/esp-idf!34044
2024-10-09 18:19:37 +08:00
Linda
81dd3aab1b docs: fix a typo in I2C RTC clock name 2024-10-09 18:12:41 +08:00
Konstantin Kondrashov
0592bb6888 fix(examples): Fix flash_enc_wifi test in pytest_simple_ota 2024-10-09 12:39:43 +03:00
weiyuhan
04f757686f docs(ble): Updated one feature name in feature status table 2024-10-09 17:37:20 +08:00
Roman Leonov
418583a5be fix(usb_host_lib): Returned task suspend 2024-10-09 11:05:21 +02:00
Peter Marcisovsky
c72629c869 Merge branch 'refactor/usb_new_critical_section_api' into 'master'
refactor(usb_host): Update the USB component to new critical section API

Closes IDF-11361

See merge request espressif/esp-idf!33988
2024-10-09 16:44:34 +08:00
C.S.M
b6e558d55d fix(i2c_master): fix the sleep retention number on p4 2024-10-09 16:23:23 +08:00
Armando
e9bd3c01f0 change(flash): flash ops sanitizer 2024-10-09 15:37:50 +08:00
Island
3a4aa2e1e7 Merge branch 'feat/ble_mesh_v1.1_feat_disable_support' into 'master'
feat(ble_mesh): esp ble mesh v1.1 features enable/disable supported

Closes BLERP-1060

See merge request espressif/esp-idf!33777
2024-10-09 15:33:51 +08:00
Konstantin Kondrashov
6cad62594a Merge branch 'feature/adds_new_part_types_subtypes' into 'master'
feat(partitions): Adds new partition types and subtypes for bootloader and partition_table

See merge request espressif/esp-idf!33792
2024-10-09 15:32:34 +08:00
Island
977c55b0fa Merge branch 'modified_ble_multi_conn_example_readme' into 'master'
update(ble): Modified the ble multi_conn example's readme

Closes IDFGH-13454

See merge request espressif/esp-idf!33990
2024-10-09 15:15:30 +08:00
C.S.M
38c36b9d22 Merge branch 'feat/i2c_sleep_retention' into 'master'
feat(i2c): Support i2c sleep retention on esp32c5/p4/c61

Closes IDF-8458

See merge request espressif/esp-idf!33738
2024-10-09 15:08:08 +08:00
Frantisek Hrbata
35953a6ea7 fix(ldgen): enable default name SORT in linker fragment
Currently, the `SORT` flag mandates the inclusion of at least the
`sort_by_first` argument in the grammar, despite the documentation[1]
indicating that `SORT` can be utilized without any arguments, defaulting
to sorting input sections by name. Fix this by modifying the grammar
to allow a default `SORT` and update a test accordingly.

[1] https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/
    linker-script-generation.html

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-10-09 14:25:52 +08:00
laokaiyao
a7ebec84fe refactor(soc): sort esp32h2 soc headers 2024-10-09 14:18:08 +08:00
Erhan Kurubas
9a13c59723 Merge branch 'add_openocd_stub_bins_fixed' into 'master'
feat(esp_system): preload openocd stub binaries and reserve memory for debugging

See merge request espressif/esp-idf!32817
2024-10-09 14:06:09 +08:00
morris
aebf700919 refactor(freertos): rename SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY and move to freertos 2024-10-09 13:32:03 +08:00
harshal.patil
e12c261b1b ci(esp_security): Add config to enable FPGA-related tests 2024-10-09 09:46:19 +05:30
harshal.patil
9e3a846356 ci(esp_security): Enable crypto drivers test app build only for supported targets 2024-10-09 09:46:18 +05:30
zhanghaipeng
514155de3b fix(ble/bluedroid): Fixed BLE handle check for GATT API 2024-10-09 12:03:41 +08:00
wangtao@espressif.com
71dfc8ea17 fix(wifi): fix send deauth mac list lock free issue 2024-10-09 11:36:56 +08:00
wanckl
fa0c7636a5 test(driver_i2s): p4 and c5 enable multi dut test 2024-10-09 11:35:16 +08:00
zhoupeng
858d0647e8 fix(pwr_glitch): Add Comment and only add power glitch reset support on esp32c5 ECO0 2024-10-09 11:08:38 +08:00
WanqQixiang
1723b413d6 fix(openthread): Add check for ip address in DNS external resolve hook 2024-10-09 10:11:21 +08:00
Martin Vychodil
f2c26b8ec0 Merge branch 'bugfix/example_sdspi_extra_components_dir' into 'master'
fix(examples): remove stray EXTRA_COMPONENT_DIRS, fix check

See merge request espressif/esp-idf!33819
2024-10-09 03:31:25 +08:00
Erhan Kurubas
213c318e62 fix(apptrace): replace esp32p4 ctrl block into noncache-able TCM memory 2024-10-08 20:51:16 +02:00
Peter Marcisovsky
d19666d8e5 refactor(usb_host): Update the USB component to new critical section API 2024-10-08 17:43:55 +02:00
Jiang Jiang Jian
5315027e0d Merge branch 'bugfix/fix_wifi_bugs_240919' into 'master'
fix(wifi): fix wifi bugs 240919

Closes WIFIBUG-1 and WIFIBUG-789

See merge request espressif/esp-idf!33728
2024-10-08 22:52:12 +08:00
Yuan Hong Hui
c0fe2acd1d feat(ble): added pytest for ble example 2024-10-08 19:36:32 +08:00
sonika.rathi
459f2517a8 feat(fatfs): enable partition handling for sectors less than 128 2024-10-08 13:35:08 +02:00
luoxu
024306f4bf feat(ble_mesh): esp32c5 lib update 2024-10-08 19:15:53 +08:00
renpeiying
160b1b3b32 docs: Remove user guide for esp32-devkitm-1 migration 2024-10-08 19:07:30 +08:00
Rahul Tank
1c80078b63 Merge branch 'bugfix/wifi_bt_coex_crash' into 'master'
fix(nimble): Fix the sequence of ll and host transport init

Closes BT-3872

See merge request espressif/esp-idf!33951
2024-10-08 18:59:42 +08:00
Sudeep Mohanty
0e5adc1b9c feat(freertos): Add FreeRTOS port layer mocks for CMock tests
This commit adds mocks for the FreeRTOS linux port layer for tests which
mock the FreeRTOS component and use port layer APIs.
2024-10-08 12:08:24 +02:00
Mahavir Jain
24fa2facd3 docs: update mbedtls guide for TLS 1.3 supported change 2024-10-08 11:03:18 +02:00
Nebojša Cvetković
5888cb8b4c build: Reduce verbosity of disabled component manager warning
closes https://github.com/espressif/esp-idf/pull/14097
2024-10-08 11:03:18 +02:00
Alexey Lapshin
08eadd8d25 fix(newlib): sbom: add CVE-2024-30949 to cve-exclude-list 2024-10-08 11:03:18 +02:00
Marius Vikhammer
0a9c99f86e change(system): cleanup c5 reset reason todo 2024-10-08 16:19:01 +08:00
Erhan Kurubas
bf78146dd0 Merge branch 'esp32c61_coredump_support' into 'master'
ESP32-C61 coredump support

Closes IDF-9268 and IDF-10166

See merge request espressif/esp-idf!33528
2024-10-08 16:04:28 +08:00
Erhan Kurubas
9a7ae1367a Merge branch 'enable_apptrace_builds' into 'master'
ci(apptrace): enable build tests for all targets except esp32p4

See merge request espressif/esp-idf!33975
2024-10-08 15:58:22 +08:00
C.S.M
3f061bd557 feat(i2c_master): Support i2c sleep retention on esp32c5/p4/c61 2024-10-08 15:55:48 +08:00
sibeibei
02e9c850d8 fix(wifi): fix wifi bugs 240919 2024-10-08 15:43:45 +08:00
Sudeep Mohanty
fc84220d90 test(freertos): Added unit test for event groups to test priority inversion
This commit adds a FreeRTOS unit test to verify that event groups do not
cause priority inversion when unblocking a higher priority task.
2024-10-08 09:36:45 +02:00
Sudeep Mohanty
bd4de3c8a3 fix(freertos): Fixed priority inversion when setting event group bits
This commit fixes a priority inversion when a lower priority task set
event group bits to unblock a higher priority task but the lower
priority task continued to run.
2024-10-08 09:36:45 +02:00
Aditya Patwardhan
6dc8fe3db3 Merge branch 'docs/update_cn_trans_for_secure_boot_v2' into 'master'
docs: Update CN translation for secure-boot-v2.rst

Closes DOC-9082

See merge request espressif/esp-idf!33895
2024-10-08 15:13:59 +08:00
Alexey Lapshin
1a6765f1a5 Merge branch 'feature/binary-size-exceeded-hint' into 'master'
feat(tools): add binary size exceeded hint

See merge request espressif/esp-idf!33969
2024-10-08 15:07:30 +08:00
luoxu
aa022b14ce feat(ble_mesh): esp ble mesh v1.1 features enable/disable supported 2024-10-08 15:02:08 +08:00
Zhang Shuxian
4c08e00c6a docs: Update CN translation for system.rst 2024-10-08 14:49:14 +08:00
Adam Múdry
c672db530b docs(nvs): Document nvs_check.py functions 2024-10-08 08:33:32 +02:00
Zhang Hai Peng
2f2727828c Merge branch 'bugfix/fix_ext_conn_adv_data_check' into 'master'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(01cc408)

Closes BLERP-1083

See merge request espressif/esp-idf!33899
2024-10-08 14:20:28 +08:00
Jiang Jiang Jian
edaa7691c4 Merge branch 'bugfix/sae_pk_transition_disable' into 'master'
fix(wifi): Fix bug in wrong profile checking of AP's RSNXE IE

Closes WIFIBUG-563

See merge request espressif/esp-idf!31023
2024-10-08 14:08:41 +08:00
Mahavir Jain
27bcb047b4 Merge branch 'feature/qemu_doc_guide_updates' into 'master'
docs: misc updates to qemu guide, now enabled for ESP32-S3

See merge request espressif/esp-idf!33854
2024-10-08 12:45:23 +08:00
Marius Vikhammer
3e443a9033 fix(system): fixed docs for ESP_SYSTEM_ALLOW_RTC_FAST_MEM_AS_HEAP, enabled on H2 2024-10-08 12:24:20 +08:00
chaijie@espressif.com
e1423c53d5 feat(pwr_glitch): Add power glitch support on esp32c5/esp32c61 2024-10-08 11:44:21 +08:00
zhanghaipeng
5126742003 fix(ble/bluedroid): Fixed error when writing Client Supported Features characteristic 2024-10-08 11:33:02 +08:00
Jiang Jiang Jian
1662e28718 Merge branch 'feat/support_32k_osc_ble_sleep_clk' into 'master'
feat(ble): Support using 32k oscillator as Bluetooth sleep clock

Closes BT-3844

See merge request espressif/esp-idf!33524
2024-10-08 11:25:04 +08:00
Zhang Shuxian
808a82de81 docs: Update CN translation for secure-boot-v2.rst 2024-10-08 11:09:40 +08:00
Shen Weilong
28ffd5fc04 update(ble): Modified the ble multi_conn example's readme 2024-10-08 11:04:13 +08:00
Peter Dragun
7d8231c0c1 Merge branch 'move_monitor_config_docs' into 'master'
docs: Move monitor configuration documentation to its own repository

See merge request espressif/esp-idf!33284
2024-10-07 22:14:53 +08:00
Alexey Lapshin
9d32a31657 feat(tools): add binary size exceeded hint 2024-10-07 19:00:04 +07:00
Sarvesh Bodakhe
9ebfd93c5d fix(wpa_supplicant): Fix debug print in wps_start_msg_timer() 2024-10-07 16:31:43 +05:30
Sarvesh Bodakhe
463149cad2 fix(wifi): Fix bug in wrong profile checking of AP's RSNXE IE 2024-10-07 16:31:43 +05:30
Roman Leonov
a7cdabff06 Merge branch 'refactor/usb_host_examples_ext_hub_support' into 'master'
refactor(usb_host/examples): Enabled external Hub support feature

Closes IDF-2635

See merge request espressif/esp-idf!30393
2024-10-07 18:48:11 +08:00
David Cermak
649816d9a1 fix(lwip/dhcps): Fallback DNS option to DHCP server's IP by default
Adds backward compatibity option CONFIG_LWIP_DHCPS_ADD_DNS, which
prevents breaking changes.
This option should be removed in IDF v6.0

Merges https://github.com/espressif/esp-idf/pull/14132
2024-10-07 21:07:57 +11:00
Showier Drastic
484a2d6d6c feat(lwip/apps): only hand out DNS in DHCP if explicitly specified 2024-10-07 21:07:01 +11:00
Roman Leonov
3d07895c8f refactor(usb_host_examples): Enabled Hub support by default 2024-10-07 10:13:10 +02:00
Jiang Jiang Jian
d4c16efcd3 Merge branch 'bugfix/retry_count_when_sta_disconnect' into 'master'
fix(wifi): Do not attempt re-connection as per 'failure_retry_cnt' when sta itself issues disconnect in between of connection establishment

Closes WIFIBUG-635, WIFIBUG-704, and WIFIBUG-690

See merge request espressif/esp-idf!32128
2024-10-07 15:23:15 +08:00
Abhinav Kudnar
26c514ffe7 fix(nimble): Fix the sequence of ll and host transport init 2024-10-06 06:04:19 +08:00
Erhan Kurubas
1b82ca33ee ci(apptrace): enable build tests for all targets except esp32p4 2024-10-04 22:22:31 +02:00
Erhan Kurubas
6d9905a90c feat(esp-coredump): enable esp32c61 tests 2024-10-04 06:58:03 +02:00
Erhan Kurubas
9a043e82af docs(esp32c61): remove coredump.rst from not updated list 2024-10-04 06:58:03 +02:00
Mahavir Jain
6e5a178b31 Merge branch 'bugfix/mbedtls_doc_update' into 'master'
docs: update mbedtls guide for TLS 1.3 supported change

See merge request espressif/esp-idf!33926
2024-10-04 12:04:19 +08:00
Mahavir Jain
e8dc634108 docs: update mbedtls guide for TLS 1.3 supported change 2024-10-03 21:16:38 +05:30
Fu Hanxi
1e0df2768c Merge branch 'contrib/github_pr_14097' into 'master'
build: Reduce verbosity of disabled component manager warning (GitHub PR)

Closes IDFGH-13156

See merge request espressif/esp-idf!33836
2024-10-03 16:16:54 +08:00
Mahavir Jain
c90dd52974 Merge branch 'feat/newlib-sbom-exclude_cve-2024-30949' into 'master'
fix(newlib): sbom: add CVE-2024-30949 to cve-exclude-list

See merge request espressif/esp-idf!33947
2024-10-03 12:30:44 +08:00
Nebojša Cvetković
8c1ecc4d94 build: Reduce verbosity of disabled component manager warning
closes https://github.com/espressif/esp-idf/pull/14097
2024-10-02 20:52:00 +08:00
Alexey Lapshin
c4acf3faad fix(newlib): sbom: add CVE-2024-30949 to cve-exclude-list 2024-10-02 18:01:14 +07:00
Radek Tandler
ac6c54c997 Merge branch 'feature/storage_remove_nvs_test_host' into 'master'
remove(nvs_flash/test_nvs_host): Old make based host tests removed after complete migration

See merge request espressif/esp-idf!27853
2024-10-01 23:33:55 +08:00
Aditya Patwardhan
58051ca1d4 Merge branch 'fix/secure_boot_documentation' into 'master'
fix(docs): Fix secure boot v2 documentation

Closes IDFGH-13716

See merge request espressif/esp-idf!33594
2024-10-01 22:54:41 +08:00
Mahavir Jain
2f0dc01f9e Merge branch 'feat/added_api_for_authmode_in_provisioning_demo' into 'master'
feat(provisioning): Addded api to set Authmode in provisioning

Closes IDF-10973

See merge request espressif/esp-idf!33566
2024-10-01 21:37:24 +08:00
Kapil Gupta
1fa67f81f8 Merge branch 'fix/wifi_netif_null_deref' into 'master'
esp_wifi: Add null pointer checks to WiFi-netif APIs

Closes IDFGH-7092

See merge request espressif/esp-idf!33946
2024-10-01 21:34:18 +08:00
radek.tandler
6a23790608 remove(nvs_flash/test_nvs_host): Old make based host tests removed after complete migration 2024-10-01 15:25:27 +02:00
Adam Múdry
20d1a480ab feat(nvs): Add raw_data variable to NVS_Partition class in nvs_parser.py 2024-10-01 15:18:27 +02:00
hrushikesh.bhosale
95f5b29ffc feat(provisioning): Addded api to set Authmode in provisioning
Added api to set threshold authmode for provisioning demo
2024-10-01 19:31:53 +08:00
Konstantin Kondrashov
d5f37b526d feat(partitions): Adds new partition types and subtypes for bootloader and partition_table 2024-10-01 14:22:22 +03:00
Erhan Kurubas
ffdf59a898 Merge branch 'jtag_doc_update' into 'master'
docs(jtag): update OpenOCD related sections

See merge request espressif/esp-idf!33516
2024-10-01 18:03:39 +08:00
Peter Dragun
2c458f3af1 feat(tools): Add auto color to monitor and disable colors from chip logs
ANSI color codes are handled on the host side instead of the chip side. This
will result in shorter log messages transmitted over serial.
2024-10-01 11:46:20 +02:00
David Cermak
5bb10bc10d fix(esp_wifi): Add null pointer checks to WiFi-netif APIs
Added null pointer checks to WiFi-netif API functions to prevent potential
crashes from invalid arguments, updated unit tests.

Closes https://github.com/espressif/esp-idf/issues/8702
2024-10-01 11:37:54 +02:00
Roland Dobai
1143b7639f Merge branch 'fix/idfpy_uf2_fail' into 'master'
fix(uf2): Ignore ESPBAUD, ESPPORT when calling idf.py uf2[-app]

Closes IDF-10768

See merge request espressif/esp-idf!33086
2024-10-01 17:12:29 +08:00
Fu Hanxi
4b3a5e93cf Merge branch 'feat/core_components' into 'master'
feat: add `COMPONENT_SOURCE` property to component targets

Closes DOC-7429

See merge request espressif/esp-idf!26586
2024-10-01 16:49:39 +08:00
Konstantin Kondrashov
0db772efff Merge branch 'feature/new_esp_partition_api' into 'master'
feat(esp_partition): Adds new esp_partition APIs

See merge request espressif/esp-idf!33497
2024-10-01 16:25:00 +08:00
Sudeep Mohanty
1a547e34f1 fix(freertos): Fix freertos example pytest script
This commit updates the freertos/basic_freertos_smp_usage pytest script
to not follow a rigid order when testing against output logs as tasks
can spawn on any core in no particular order.
2024-10-01 10:08:45 +02:00
Aditya Patwardhan
2c11c2ab81 fix(docs): Fix secure boot v2 documentation
Update the secure boot v2 documentation
    about the limitation of read-protection
    when secure boot is enabled

    Closes https://github.com/espressif/esp-idf/issues/14587
2024-10-01 11:56:37 +08:00
Roman Leonov
d50a64ea84 Merge branch 'feature/usb_host_ext_port_driver' into 'master'
feat(ext_port): Added External Port Driver

Closes IDF-9698, IDF-10237, IDF-10054, IDF-10070, and IDFGH-11416

See merge request espressif/esp-idf!30392
2024-10-01 01:33:05 +08:00
Kevin (Lao Kaiyao)
97b114643f Merge branch 'bugfix/workaround_of_i2s_half_sample_rate_issue' into 'master'
fix(i2s): fix i2s half sample rate issue

Closes IDF-11278

See merge request espressif/esp-idf!33837
2024-09-30 23:04:29 +08:00
laokaiyao
503097739e fix(i2s): fix multi-dev test failure 2024-09-30 22:16:52 +08:00
laokaiyao
5be7860c54 fix(i2s): fix i2s half sample rate issue 2024-09-30 22:16:52 +08:00
Kevin (Lao Kaiyao)
16d99f3e10 Merge branch 'feature/support_i2s_retention' into 'master'
feat(i2s): support sleep retention

Closes IDF-8468, IDF-9754, IDF-9783, and IDF-10343

See merge request espressif/esp-idf!33529
2024-09-30 22:16:05 +08:00
Sarvesh Bodakhe
5a1dd12513 fix(wifi): Do not try re-connection when sta disconnects with esp_wifi_disconnect()
Do not follow wifi_config::wifi_sta_config::failure_retry_cnt logic when
station itself issues a disconnect from AP/Router using
esp_wifi_disconnect()
2024-09-30 17:04:01 +05:30
Fu Hanxi
6ff7947fef feat: add component_source property to component targets 2024-09-30 18:14:04 +08:00
Jiang Jiang Jian
ad6fba3cc8 Merge branch 'fix/fix_free_eb_twice_issue' into 'master'
fix(wifi): fix ampdu to normal cause free buffer twice issue

Closes WIFIBUG-776

See merge request espressif/esp-idf!33894
2024-09-30 17:41:12 +08:00
laokaiyao
4ed1b873b4 fix(gdma): fixed GDMA retention on C5 2024-09-30 17:38:22 +08:00
laokaiyao
ae36f84945 feat(i2s): enable i2s test on c5 2024-09-30 17:38:22 +08:00
laokaiyao
0cb4bdc54e feat(i2s): support sleep retention 2024-09-30 17:38:22 +08:00
Zhang Wen Xu
b835986b62 Merge branch 'feat/support_vendor_hook_for_rcp_spi' into 'master'
feat(openthread): support vendor hook for rcp spi

Closes IDFGH-13771

See merge request espressif/esp-idf!33773
2024-09-30 17:31:45 +08:00
Mahavir Jain
76b3cf5178 Merge branch 'fix/mbedtls_fs_io_dependency_on_vfs' into 'master'
fix(mbedtls): Fix the MBEDTLS_FS_IO dependency on vfs

Closes IDFGH-13518

See merge request espressif/esp-idf!33020
2024-09-30 17:03:56 +08:00
Fu Hanxi
a6091dfbba Merge branch 'ci/upload-build-size-artifacts' into 'master'
ci: ensure binary size artifacts are uploaded in Build Stage Child pipeline via artifacts_handler script.

See merge request espressif/esp-idf!33577
2024-09-30 16:32:27 +08:00
Aditya Patwardhan
1b770c3931 fix(mbedtls): Fix the MBEDTLS_FS_IO dependency on vfs
By default MBEDTLS_FS_IO option in mbedtls uses the filesystem supported
added by vfs component.
If the vfs support is disabled by user then mbedtls raises a warning
that the filesystem realted operation shall always fail
This commit fixes the behaviour by enabling respective depedency check for the
MBEDTLS_FS_IO option

Closes https://github.com/espressif/esp-idf/issues/14409
2024-09-30 13:43:29 +05:30
Jiang Jiang Jian
ffa74e3b46 Merge branch 'bugfix/fix_some_macro_definition_not_correct' into 'master'
fix(wifi): fix some macro definition not correct

See merge request espressif/esp-idf!33927
2024-09-30 16:09:06 +08:00
Alexey Gerenkov
c5fc2053c9 Merge branch 'fix/coredump_sha_build_error' into 'master'
fix(esp-coredump): fix build error when mbedtls hardware sha disabled

See merge request espressif/esp-idf!33841
2024-09-30 16:01:26 +08:00
yinqingzhao
6e4d3104b2 fix(wifi): fix some macro definition not correct 2024-09-30 15:38:28 +08:00
David Čermák
07400d348c Merge branch 'feat/wifi_remote_with_hosted' into 'master'
fix(examples): esp_hosted as default for Wi-Fi connect on P4

See merge request espressif/esp-idf!33213
2024-09-30 15:37:40 +08:00
David Čermák
af017d143a Merge branch 'feat/docs_wifi_on_wifiless_chips' into 'master'
feat(wifi): Document WiFi expansion on wifi-less chips

See merge request espressif/esp-idf!31418
2024-09-30 15:15:29 +08:00
Erhan Kurubas
8e532baf1e docs(jtag): update OpenOCD related sections 2024-09-30 08:48:33 +02:00
David Cermak
5af61242d2 feat(wifi): Document WiFi expansion on wifi-less chips 2024-09-30 14:10:19 +08:00
Jiang Jiang Jian
ed5f75abe6 Merge branch 'bugfix/fix_miss_internal_wapi_deinit_issue' into 'master'
fix(wifi): fix miss internal wapi deinit issue

Closes WIFI-6355

See merge request espressif/esp-idf!33920
2024-09-30 13:38:02 +08:00
wangtao@espressif.com
d618d1d934 fix(wifi): fix ampdu to normal cause free buffer twice issue 2024-09-30 12:09:45 +08:00
Zhang Xiao Yan
945ab1a8fa Merge branch 'docs/update_front_page_c5' into 'master'
docs: update front page for esp32-c5 and esp32-c61

See merge request espressif/esp-idf!33907
2024-09-30 11:23:53 +08:00
Linda
3169af7341 docs: update front page for esp32-c5 and esp32-c61 2024-09-30 10:35:19 +08:00
muhaidong
d918aa3ebd fix(wifi): fix miss internal wapi deinit issue 2024-09-30 10:02:29 +08:00
Jiang Jiang Jian
1522b6bb8e Merge branch 'bugfix/fix_retry_assoc_auth_timeout_issue' into 'master'
fix(wifi): fixed association refused temporarily lead auth timeout issue

Closes WIFI-6699

See merge request espressif/esp-idf!33780
2024-09-29 22:59:19 +08:00
Nilesh Kale
fcdbff5039 Merge branch 'feature/update_mbedtls_version_to_3.6.1' into 'master'
feat(mbedtls): updated mbedtls version to 3.6.1

Closes IDF-10980

See merge request espressif/esp-idf!33282
2024-09-29 22:33:45 +08:00
Jiang Jiang Jian
906f36bdb9 Merge branch 'bugfix/idf-10972' into 'master'
fix the coverity issue of 'Constant' variable guards dead code

Closes IDF-10972

See merge request espressif/esp-idf!33788
2024-09-29 20:04:21 +08:00
Jiang Jiang Jian
42f1e2177a Merge branch 'feature/add_dpp_crypto_layer' into 'master'
feature(esp_wifi):Restructure dpp crypto layer

See merge request espressif/esp-idf!30225
2024-09-29 19:47:26 +08:00
Jiang Jiang Jian
8ed0508320 Merge branch 'change/polish_wifi_sleep_current_desc' into 'master'
change(doc): add notes for sleep current data tested in shieled box

Closes WIFI-6711

See merge request espressif/esp-idf!33796
2024-09-29 19:27:31 +08:00
aditi
beda284524 feat(esp_wifi): Add esp-idf specific changes
Added esp-idf implementation specific changes on top of the upstream updates.
2024-09-29 19:13:20 +08:00
aditi
fbde07c953 feat(esp_wifi): Replace crypto_key with crypto_ec_key
Replaced all occurances of crypto_key with crypto_ec_key struct
    to make the code more consistent with upstream.
2024-09-29 19:13:20 +08:00
aditi_lonkar
cab4dc15f4 feat(esp_wifi): Restructure dpp crypto Layer APIs
1) Update dpp implementation as per upstram hostapd tag hostap_2_10.
2) Move dpp crypto routines into a separate source code file.
2024-09-29 19:13:20 +08:00
muhaidong
9ec9071876 fix(wifi): fixed association refused temporarily lead auth timeout issue 2024-09-29 19:11:34 +08:00
Jiang Jiang Jian
12cbdfef31 Merge branch 'feature/set_lp_cpu_power_mode_with_clock_src' into 'master'
change(esp_hw_support): switch lp_cpu power mode with clock src selection to save lp_cpu working power

Closes AEG-1430

See merge request espressif/esp-idf!30556
2024-09-29 18:32:32 +08:00
Jiang Jiang Jian
546d7c65ca Merge branch 'fix/fix_coverity_defects_in_sleep_code' into 'master'
fix(esp_hw_support): fix coverity defects in sleep code

Closes IDF-11113, IDF-11114, and IDF-10286

See merge request espressif/esp-idf!33740
2024-09-29 18:31:39 +08:00
Jiang Jiang Jian
80106f538f Merge branch 'bugfix/fix_esp32c2_rom_eco1_mbedtls_issues' into 'master'
fix(esp_rom): Fixed esp32c2 rom eco1 mbedtls issues

See merge request espressif/esp-idf!33889
2024-09-29 17:57:25 +08:00
Jiang Jiang Jian
2b97653f0b Merge branch 'bugfix/wpa2_ent_fixes' into 'master'
Few fixes in wpa_supplicant

Closes WIFI-6676

See merge request espressif/esp-idf!33017
2024-09-29 17:06:25 +08:00
Li Shuai
f85ef40dcd fix(esp_hw_support): fix the coverity issue of 'constant' variable guards dead code 2024-09-29 17:05:26 +08:00
Jiang Jiang Jian
ee74f278c8 Merge branch 'feat/support_longer_data_len_in_espnow' into 'master'
feat(wifi/espnow): Support longer data length in espnow

Closes IDFGH-7935

See merge request espressif/esp-idf!31097
2024-09-29 16:58:33 +08:00
wuzhenghui
6520c61cff change(esp_hw_support): improve gpio deepsleep wakeup configuration code 2024-09-29 16:56:42 +08:00
wuzhenghui
9ffd8aa017 fix(esp_hw_support): fix coverity defects in sleep code 2024-09-29 16:56:42 +08:00
Jiang Guang Ming
c97b7f68cf fix(esp_rom): Fixed esp32c2 rom eco1 mbedtls issues 2024-09-29 16:53:30 +08:00
Jiang Jiang Jian
dde0b46390 Merge branch 'feat/add_well_know_vfs_docs' into 'master'
docs(storage/vfs): add documentation for existing automounted vfs drivers

Closes IDF-10108

See merge request espressif/esp-idf!31160
2024-09-29 16:37:35 +08:00
Jiang Jiang Jian
72f3ef8469 Merge branch 'contrib/github_pr_14512' into 'master'
feat(esp_http_client): Add function to delete all headers set by 'esp_http_client_set_header' (GitHub PR)

Closes IDFGH-13628

See merge request espressif/esp-idf!33814
2024-09-29 16:22:51 +08:00
Kevin (Lao Kaiyao)
d2117ad07a Merge branch 'refactor/split_esp32s2_soc_include_folder' into 'master'
refactor(soc): sort esp32s2 soc headers

See merge request espressif/esp-idf!33310
2024-09-29 15:43:14 +08:00
Aleksei Apaseev
397fdb56fb ci: ensure binary size artifacts are uploaded in Build Stage Child pipeline via artifacts_handler script.
- Updated dynamic pipeline to include artifact upload commands for size reports, allowing easier parsing on the CI dashboard.
- Each job now handles its own size.json file, ensuring independent access for better CI artifact management.
2024-09-29 15:17:45 +08:00
Jiang Jiang Jian
f045230f23 Merge branch 'feature/improve_c61_iperf_performance' into 'master'
fix(wifi): modify sdkconfig to improve esp32c61 iperf performance

See merge request espressif/esp-idf!33844
2024-09-29 15:11:57 +08:00
laokaiyao
17d0fb07b4 refactor(soc): sort esp32s2 soc headers 2024-09-29 13:37:36 +08:00
renpeiying
757fa4d72c docs: Update Chinese translation for docs 2024-09-29 11:35:45 +08:00
shenmengjing
c0f296dafc docs: Update the CN translation for several docs 2024-09-29 10:53:29 +08:00
Marius Vikhammer
794cf2ea0e Merge branch 'bugfix/xtensa_startup_stack' into 'master'
fix(system): fixed potential double exception when booting on xtensa

Closes IDFGH-13515

See merge request espressif/esp-idf!33190
2024-09-29 10:18:12 +08:00
Island
e770372810 Merge branch 'ble_dev/support_esp32c61_ble_light_sleep' into 'master'
feat(ble): support ble light sleep on esp32c61

Closes BLERP-1070

See merge request espressif/esp-idf!33818
2024-09-29 09:50:07 +08:00
yinqingzhao
b3778fdb24 feat(phy): esp32c6 update phy init data 2024-09-29 09:48:05 +08:00
zhangyanjiao
b4d102796f docs(wifi/espnow): Update the description for ESP-NOW frame 2024-09-29 09:40:57 +08:00
zhangyanjiao
f0499cc288 feat(wifi/espnow): Support longer data length in espnow
Closes https://github.com/espressif/esp-idf/issues/9453
2024-09-29 09:29:34 +08:00
zhanghaipeng
8a80675b7c fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(01cc408)
- Fixed extended connectable advertising data length check
2024-09-28 12:14:31 +08:00
Chen Ji Chang
afffd0d062 Merge branch 'fix/mcpwm_pm_lock_memory_leak' into 'master'
fix(mcpwm): fix pm_lock memory issues

See merge request espressif/esp-idf!33852
2024-09-27 20:39:51 +08:00
nilesh.kale
f9961fda62 fix(esp_http_client): added initial argument checking for APIs'
This MR added checks for arguments passed in APIS' of esp_http_client.c
2024-09-27 17:05:04 +05:30
Duco Sebel
73e1085e54 feat(esp_http_client): Add function to delete all headers set by 'esp_http_client_set_header' 2024-09-27 16:57:54 +05:30
Wu Zheng Hui
041a937803 Merge branch 'fix/fix_esp32p4_freq_switching_timing' into 'master'
fix(esp_hw_support): fix esp32p4 CPU frequency switching timing

Closes IDFCI-2280 and IDFCI-2281

See merge request espressif/esp-idf!33823
2024-09-27 19:13:12 +08:00
Ivan Grokhotkov
2bb613c50f Merge branch 'feature/gdbstub_fpu' into 'master'
GDBstub: add handling of FPU for Xtensa CPU.

See merge request espressif/esp-idf!25482
2024-09-27 18:28:25 +08:00
Wang Meng Yang
a02fb3c188 Merge branch 'bugfix/fix_bci_443' into 'master'
fix(bt/controller): Fixed the timeout of wake up timer when using RC OSC

Closes BLERP-1065

See merge request espressif/esp-idf!33795
2024-09-27 17:36:06 +08:00
Wang Meng Yang
4d48965267 Merge branch 'feat/get_ble_resolve_address_status_opt' into 'master'
feat(ble/bluedroid): Optimized address resolution status for internal usage

Closes BLERP-1054

See merge request espressif/esp-idf!33851
2024-09-27 16:17:53 +08:00
C.S.M
a63b8471eb Merge branch 'fix/i2c_master_asnyc_memory_leak' into 'master'
fix(i2c_master): Fix the memory leak in the async transaction

See merge request espressif/esp-idf!33847
2024-09-27 16:17:11 +08:00
Mahavir Jain
a3810dcd5a ci: add codeowners entry for docs_not_updated directory 2024-09-27 13:36:28 +05:30
Mahavir Jain
1e94096e16 docs: update qemu guide for efuse commands
- add mention of qemu guide in security related chapters
- also added a note about secure boot v2 config in qemu workflow
2024-09-27 13:36:15 +05:30
Mahavir Jain
d6c4cbb53f docs: fix typo related to secure boot 2024-09-27 13:35:10 +05:30
Mahavir Jain
d78439a572 docs: enable qemu doc guide for ESP32-S3 2024-09-27 13:34:00 +05:30
Chen Jichang
e56f04fdd3 fix(mcpwm): fix pm_lock memory issues 2024-09-27 14:41:34 +08:00
Aditi
7444127041 fix(wpa_supplicant): Add few fixes in dpp task 2024-09-27 14:00:24 +08:00
aditi
7fa1e5cf9a fix(wpa_supplicant): Add few fixes in btm_rrm task 2024-09-27 14:00:24 +08:00
aditi
c5892a4c96 fix(wpa_supplicant): Add few fixes in eloop task 2024-09-27 14:00:24 +08:00
aditi
35e96b977b fix(wpa_supplicant): Add few fixes in WPS task 2024-09-27 14:00:24 +08:00
aditi
bc2354b1b8 fix(wpa_supplicant): Add few fixes in NAN task 2024-09-27 14:00:24 +08:00
aditi
9ceb0cffcc fix(wpa_supplicant): Add few fixes in eap client code 2024-09-27 14:00:24 +08:00
Mahavir Jain
1e4ebabe9b Merge branch 'feat/enable_ota_examples_for_c61' into 'master'
feat(ota): Enable support for OTA examples for c61

Closes IDF-10915

See merge request espressif/esp-idf!33270
2024-09-27 12:38:09 +08:00
Mahavir Jain
312f47c112 Merge branch 'feat/update_provisioning_docs_for_esp32c61' into 'master'
docs(provisioning): Updated the provisioning documents for esp32c61

Closes IDF-10176

See merge request espressif/esp-idf!33765
2024-09-27 12:37:03 +08:00
Marius Vikhammer
4bf8d49159 fix(system): fixed potential double exception when booting on xtensa
Due to old windows from the startup flow being present after
switching to running freertos tasks  windowoverflow exceptions
could potentially try to save windows to the startup stack.

During this overflow they also values previously saved on the
startup stack to find earlier frames' stacks.
Since the start up stack was already recycled these values were
invalid and would cause a crash.

Closes https://github.com/espressif/esp-idf/issues/14406Y
2024-09-27 09:34:00 +08:00
David Čermák
7e87254d3c Merge branch 'fix/esp_netif_docs' into 'master'
fix(esp_netif): Fix ESP-NETIF user documentation

Closes IDF-9946, DOC-1229, and DOC-6162

See merge request espressif/esp-idf!31777
2024-09-27 03:20:28 +08:00
Erhan Kurubas
f4eec4da48 feat(esp_system): preload openocd stub binaries and reserve memory for debugging 2024-09-26 20:16:04 +02:00
shenmengjing
25d0d9c1dc docs: Update CN translation for ESP-NETIF docs 2024-09-26 16:58:01 +02:00
David Cermak
9b550d77d4 docs(esp_netif): Update ESP-NETIF developers and programmers manual
Made final fixed to both programming manuals and user guidelines
2024-09-26 16:58:01 +02:00
David Cermak
ea76db704d docs(esp_netif): Update ESP-NETIF programming manual 2024-09-26 16:58:01 +02:00
David Cermak
91f04d7134 docs(esp_netif): Update ESP-NETIF user documentation 2024-09-26 16:58:01 +02:00
Radim Karniš
8935ff4e6c Merge branch 'feat/idf_py_flash_trace' into 'master'
feat(idf_py): Allow tracing interactions during flashing with --trace

Closes IDF-9545

See merge request espressif/esp-idf!33656
2024-09-26 22:06:59 +08:00
Fu Hanxi
43b37301e1 Merge branch 'ci/diff_manifest' into 'master'
CI: Diff manifest

Closes RDT-552

See merge request espressif/esp-idf!33126
2024-09-26 21:47:09 +08:00
Fu Hanxi
56f8b7158c ci: support diff manifest sha with the base commit 2024-09-26 15:22:56 +02:00
zhanghaipeng
5486241e44 feat(ble/bluedroid): Optimize address resolution status for interval use 2024-09-26 20:01:58 +08:00
xuxiao
c586b87d7e fix(wifi): modify sdkconfig to improve esp32c61 iperf performance 2024-09-26 19:24:23 +08:00
Erhan Kurubas
13c8c2f121 test(esp-coredump): add test for the soft sha config 2024-09-26 13:04:39 +02:00
Shu Chen
9cf892a669 Merge branch 'fix/fix_an_ot_compile_issue' into 'master'
fix(openthread): surround the rcp init logic with a macro

See merge request espressif/esp-idf!33835
2024-09-26 19:02:17 +08:00
C.S.M
fb95332a22 fix(i2c_master): Fix the memory leak in the async transaction 2024-09-26 18:54:43 +08:00
David Čermák
4f467d02c7 Merge branch 'fix/ws_transport_mem_corrupt' into 'master'
fix(transport): Fix websocket mem-corruption while reading headers

Closes IDFGH-13585

See merge request espressif/esp-idf!33593
2024-09-26 18:53:00 +08:00
Roman Leonov
70f222e5d2 feat(ext_port): Added External Port driver
Closes https://github.com/espressif/esp-idf/issues/12554
2024-09-26 12:38:24 +02:00
morris
bcfa928850 Merge branch 'refactor/lp_core_etm_ll' into 'master'
refactor(lp_core): unify LL functions of ETM wake up lp system

See merge request espressif/esp-idf!33790
2024-09-26 17:56:06 +08:00
Mahavir Jain
997c14a517 Merge branch 'docs/update_application_examples_security_provisioning' into 'master'
docs: update application examples for hmac.rst and wifi_provisioning.rst

See merge request espressif/esp-idf!33692
2024-09-26 17:48:42 +08:00
Radim Karniš
4a04a9e95c feat(idf_py): Allow tracing interactions during flashing with --trace 2024-09-26 11:27:04 +02:00
Erhan Kurubas
2d7807f839 fix(esp-coredump): fix build error when mbedtls hardware sha disabled 2024-09-26 10:32:11 +02:00
Mahavir Jain
2913b72482 Merge branch 'contrib/github_pr_14459' into 'master'
fix(http): fix invalid content-length header in http get (GitHub PR)

Closes IDFGH-13571

See merge request espressif/esp-idf!33809
2024-09-26 15:05:38 +08:00
wuzhenghui
e1a341455a fix(esp_hw_support): fix esp32p4 CPU frequency switching timing 2024-09-26 14:57:03 +08:00
Fu Hanxi
1c5394de33 Merge branch 'ci/fix_idf_build_apps_manifest' into 'master'
ci: fix chain "or" in examples/peripherals/.build-test-rules.yml

See merge request espressif/esp-idf!33816
2024-09-26 14:48:28 +08:00
Xu Si Yu
ce022c42df fix(openthread): add macro for rcp init 2024-09-26 14:29:51 +08:00
Wang Meng Yang
274e8b7f78 Merge branch 'bugfix/lmp_trans_collision' into 'master'
fix(bt/controller): Fixed some controller bugs on ESP32

Closes BTQABR2023-352, BT-3841, and IDFGH-10796

See merge request espressif/esp-idf!33664
2024-09-26 14:08:44 +08:00
hrushikesh.bhosale
7db2dfce67 feat(ota): Enable support for OTA examples for c61
Tested OTA examples on esp32c61 and added their support in their
corresponding README.mds
2024-09-26 11:28:41 +05:30
Konstantin Kondrashov
0d4787fb3a feat(spi_flash): Adds esp_flash_set_dangerous_write_protection 2024-09-26 08:42:19 +03:00
Konstantin Kondrashov
02d61c1c5a feat(esp_partition): Adds new esp_partition APIs 2024-09-26 08:42:12 +03:00
Sonika Rathi
82b1d5ed0d Merge branch 'refactor/remove_spi_flash_include' into 'master'
refactor: remove dependency on spi_flash include for sector size

See merge request espressif/esp-idf!31392
2024-09-26 13:01:24 +08:00
Sonika Rathi
d5da858cd9 refactor: remove dependency on spi_flash include for sector size 2024-09-26 13:01:24 +08:00
nilesh.kale
0216236d0c feat(mbedtls): updated mbedtls version to 3.6.1 2024-09-26 10:26:29 +05:30
Jiang Jiang Jian
b8cc161f6f Merge branch 'bugfix/modify_scan_channel_on_5g_for_smartconfig' into 'master'
fix(wifi): modify the scan channel on 5g for smartconfig

Closes WIFIBUG-689 and IDF-10595

See merge request espressif/esp-idf!32847
2024-09-26 12:31:52 +08:00
morris
399ea2a05c Merge branch 'refactor/gptimer_retention_link_test' into 'master'
gptimer: optimize the backup register

Closes IDF-9749

See merge request espressif/esp-idf!33522
2024-09-26 12:28:23 +08:00
morris
39d6f35594 refactor(lp_core): unify LL functions of ETM wake up lp system 2024-09-26 11:48:15 +08:00
wuzhenghui
04b2afed44 change(esp_hw_support): switch lp_cpu power mode with clock src to save lp_cpu working power 2024-09-26 11:23:06 +08:00
Mahavir Jain
06bd290ce7 Merge branch 'bugfix/esp32c5_flash_enc_issue' into 'master'
fix(bootloader): self encryption workflow in bootloader not working on C5

Closes IDF-11229

See merge request espressif/esp-idf!33621
2024-09-26 10:57:43 +08:00
Omar Chebib
72f83c3441 Merge branch 'staging/esp32c61_reset_reason' into 'master'
fix(soc): add missing reset reasons for the ESP32-C61

Closes IDF-9267

See merge request espressif/esp-idf!33736
2024-09-26 10:57:21 +08:00
chenjianhua
4108a5cc4c fix(bt/controller): Fixed ble get tx power error 2024-09-26 10:49:06 +08:00
chenjianhua
873708579c fix(bt/controller): Fixed the timeout of wake up timer when using RC OSC 2024-09-26 10:49:06 +08:00
Xu Si Yu
1c75f46fb9 feat(openthread): support vendor hook for rcp spi 2024-09-26 10:39:18 +08:00
morris
c141c91b86 Merge branch 'docs/cn_roadmap' into 'master'
docs: added the Chinese translation for ESP-IDF Project Roadmap in 2024

See merge request espressif/esp-idf!31961
2024-09-26 10:26:00 +08:00
Linda
1c81862048 docs: update application examples for hmac.rst and wifi_provisioning.rst 2024-09-26 10:18:32 +08:00
Island
b2658cbe8c Merge branch 'fix/fix_nimble_gatt_server_example_readme' into 'master'
docs(ble): Added BLE Get Started documentation link to README.md

See merge request espressif/esp-idf!33817
2024-09-26 10:17:14 +08:00
cjin
b56418147a feat(ble): support ble light sleep on esp32c61 2024-09-26 10:10:26 +08:00
Wang Meng Yang
b125655073 Merge branch 'feat/add_mode_chg_parem' into 'master'
feat(bt/bluedroid): Report sniff interval to application layer

Closes BT-3868

See merge request espressif/esp-idf!33641
2024-09-26 09:54:02 +08:00
zhangjianwen
36104ac25f Fix updates of libraries, fix minor releases, clarify support plan for C61, resolve translation reviewer comments 2024-09-26 09:36:17 +08:00
zhangyanjiao
f9bbf89ac2 fix(wifi): modify the scan channels on 5g for smartconfig 2024-09-26 09:03:51 +08:00
Mahavir Jain
55e59e06b4 Merge branch 'update/update_certs_bundle' into 'master'
Update esp_crt_bundle certificates

See merge request espressif/esp-idf!33794
2024-09-25 23:58:23 +08:00
Jiang Jiang Jian
ccdf82bc70 Merge branch 'bugfix/wifi_set_mode_error_propagation' into 'master'
Handle missing error propagation in esp_wifi_set_mode() API

Closes WIFIBUG-572, WIFIBUG-553, and WIFIBUG-568

See merge request espressif/esp-idf!31870
2024-09-25 20:38:56 +08:00
wuzhenghui
ef4c02dda2 revert(esp_hw_support): stall another core during cpu/mem/apb freq switching
This reverts commit c2bb64fbe8.
2024-09-25 20:19:15 +08:00
Fu Hanxi
13ea02e2e6 ci: fix chaining "or" in examples/peripherals/.build-test-rules.yml 2024-09-25 14:18:44 +02:00
Konstantin Kondrashov
8f090be4cc Merge branch 'feature/refactoring_tests' into 'master'
refactor(examples): Refactoring and cleaning up OTA tests

See merge request espressif/esp-idf!33793
2024-09-25 19:49:11 +08:00
morris
175cdcf15c Merge branch 'bugfix/spi_eth_latest_p4_fnc_board' into 'master'
fix(esp_eth): fixed SPI ETH GPIO to align with latest ESP32-P4-Function-EV-Board

Closes IDF-9381

See merge request espressif/esp-idf!33549
2024-09-25 18:59:42 +08:00
Ivan Grokhotkov
69f74c34a2 fix(examples): remove stray EXTRA_COMPONENT_DIRS, fix check 2024-09-25 12:50:23 +02:00
Mahavir Jain
f18eb5a4c6 Merge branch 'contrib/github_pr_14563' into 'master'
docs: Explain revocation of unused but compromised keys (GitHub PR)

Closes IDFGH-13688

See merge request espressif/esp-idf!33624
2024-09-25 17:49:36 +08:00
Yuhan Wei
5f008828d3 docs(ble): Added BLE Get Started documentation link to README.md 2024-09-25 17:27:05 +08:00
Mahavir Jain
e52e2d282a refactor(startup): move key manager specific code to esp_security component 2024-09-25 14:21:19 +05:30
Mahavir Jain
336f938110 fix(bootloader): self encryption workflow in bootloader not working on C5
Added explicit wait for key manager state to be idle before configuring
the register for flash encryption key usage from efuse. This now ensures
that flash contents are encrypted using efuse programmed key.

Also refactored code a bit to move into target specific directory.
2024-09-25 14:21:16 +05:30
Espressif BOT
d9d303fd6f change(mbedtls/crt_bundle): Update esp_crt_bundle certificates 2024-09-25 16:39:46 +08:00
morris
0c38389aa2 change(gptimer): optimize the registers to be backup 2024-09-25 16:12:38 +08:00
Jiang Jiang Jian
216e653de4 Merge branch 'bugfix/increase_leak_threshold_for_wpa_supplicant_dpp_test' into 'master'
fix(wpa_supplicant): add crypto init calls to address memory leak issue in tests

Closes IDFCI-2409

See merge request espressif/esp-idf!33731
2024-09-25 16:04:39 +08:00
Shyamal Khachane
4834f6cf73 fix(esp_wifi): Handle missing error propagation in esp_wifi_set_mode 2024-09-25 15:47:13 +08:00
Jiang Jiang Jian
87c01b3290 Merge branch 'fix/ci_usj' into 'master'
test(usj): Fix no find the symbol on no usj esp targets

See merge request espressif/esp-idf!33799
2024-09-25 15:46:19 +08:00
Konstantin Kondrashov
d11b958209 refactor(examples): Refactoring and clean up OTA tests 2024-09-25 09:45:08 +03:00
Wan Lei
5effb7491f Merge branch 'fix/spi_slave_no_dma_rx_overwrite' into 'master'
fix(driver_spi): fixed slave no dma rx overwrite when trans_len below or over

Closes IDFGH-13574

See merge request espressif/esp-idf!33377
2024-09-25 14:37:09 +08:00
Mahavir Jain
bfd4085bea Merge branch 'feat/support_ecc_constant_time_mul_operations' into 'master'
feat(mbedtls/ecc): Support ECC hardware constant-time point multiplication operations

Closes IDF-10327

See merge request espressif/esp-idf!31888
2024-09-25 12:53:45 +08:00
C.S.M
31a4c1d8fa test(usj): Fix no find the symbol on no usj eps targets 2024-09-25 11:43:23 +08:00
morris
bd08297e70 Merge branch 'feature/modbus_add_support_esp32c61' into 'master'
feature modbus add support esp32c61

Closes IDF-10050

See merge request espressif/esp-idf!32707
2024-09-25 11:42:45 +08:00
Alex Lisitsyn
01dcc49a0d feature modbus add support esp32c61 2024-09-25 11:42:45 +08:00
Island
9acd005188 Merge branch 'feat/get_ble_resolve_address_status' into 'master'
feat(ble/bluedroid): Support resolve BLE address for interval usage

Closes BLERP-1054

See merge request espressif/esp-idf!33741
2024-09-25 11:22:17 +08:00
wangtao@espressif.com
3da968e122 change(doc): add notes for sleep current data tested in shieled box 2024-09-25 10:49:36 +08:00
morris
814d5830ea Merge branch 'docs/format_application_example_bootloader' into 'master'
docs: format application examples for bootloader.rst

See merge request espressif/esp-idf!33680
2024-09-25 10:42:46 +08:00
morris
004e427ed5 Merge branch 'bugfix/remove_enc28j60' into 'master'
Bugfix/remove enc28j60

See merge request espressif/esp-idf!33791
2024-09-25 10:29:41 +08:00
Rahul Tank
e17f2427c3 Merge branch 'bugfix/fix_clang_compilation_issue' into 'master'
fix(nimble): Fix clang compilation issue

See merge request espressif/esp-idf!33715
2024-09-25 00:14:56 +08:00
Rahul Tank
88bb0e0807 Merge branch 'bugfix/fix_blufi_deinit_fail' into 'master'
fix(nimble): Fixed deinit sequence in blufi

Closes BLERP-1057

See merge request espressif/esp-idf!33746
2024-09-25 00:09:58 +08:00
Kevin (Lao Kaiyao)
b24ac6809b Merge branch 'refactor/split_esp32_soc_include_folder' into 'master'
refactor(soc): sort esp32 soc headers

See merge request espressif/esp-idf!33308
2024-09-24 23:15:53 +08:00
Ondrej Kosta
feedad8467 remove(esp_eth): Removed SPI ETH ENC28J60 example 2024-09-24 16:51:21 +02:00
Alexey Lapshin
aa908c83a8 Merge branch 'fix/gdbstub_runtime_test_requiers_elf_file' into 'master'
fix(gdbstub_runtime): fix test gdbstub_runtime which requiers elf file

Closes IDFCI-1949, IDFCI-2311, IDF-8665, and IDF-9272

See merge request espressif/esp-idf!33750
2024-09-24 20:32:04 +08:00
Wu Zheng Hui
49d080e354 Merge branch 'fix/fix_bad_submode_setting_in_rtc_slow_selection' into 'master'
fix(esp_hw_support): fix bad submode setting in rtc slow selection

Closes IDFGH-13745

See merge request espressif/esp-idf!33754
2024-09-24 20:03:03 +08:00
zhanghaipeng
b88b511362 feat(ble/bluedroid): Support resolve BLE address for interval usage 2024-09-24 20:00:48 +08:00
Shu Chen
4fcc8674c9 Merge branch 'fix/fix_a_macro_issue' into 'master'
fix(ieee802154): fix a bug in the usage of a macro

See merge request espressif/esp-idf!33762
2024-09-24 19:36:41 +08:00
Guillaume Souchere
7b72c32fec Merge branch 'feat/usb-serial-jtag-select' into 'master'
feat(usb_serial_jtag): Add select functionality to the driver

Closes IDF-7415 and IDFGH-8509

See merge request espressif/esp-idf!30919
2024-09-24 19:28:51 +08:00
Zhang Xiao Yan
370a735e46 Merge branch 'docs/update_application_examples_ethernet_network' into 'master'
docs: update application examples for esp_eth.rst

See merge request espressif/esp-idf!33688
2024-09-24 18:26:56 +08:00
Mahavir Jain
c89c316922 fix(wpa_supplicant): add crypto init calls to address memory leak issue in tests
- C61 does not feature MPI hardware and hence the other tests were
  getting executed first
- Memory leak threshold should be independent of target crypto
  peripherals and hence added to crypto init to test `setUp` call
2024-09-24 15:12:07 +05:30
C.S.M
c092de665a Merge branch 'feat/new_xmc_id' into 'master'
feat(spi_flash): Add new xmc chip id

See merge request espressif/esp-idf!33739
2024-09-24 17:31:47 +08:00
Aditya Patwardhan
99ce11d7a3 Merge branch 'fix/warning_in_flash_encryption_example' into 'master'
fix(security): Fix flash encryption example warning

See merge request espressif/esp-idf!33693
2024-09-24 17:20:59 +08:00
Ondrej Kosta
2653ed5318 Merge branch 'feat/spi_eth_c61' into 'master'
feat(esp_eth): added SPI ETH defaults for C61 in examples

Closes IDF-9298

See merge request espressif/esp-idf!33559
2024-09-24 17:12:49 +08:00
Shu Chen
9bbc61eef5 Merge branch 'feature/add_autoack_frame_type_check' into 'master'
feat(ieee802154): add frame type checking for hw autoack feature

See merge request espressif/esp-idf!33735
2024-09-24 16:52:57 +08:00
Song Ruo Jing
ec50cb177c Merge branch 'feature/gdma_retention_support_p4_c5_c61' into 'master'
feat(gdma): add retention support for esp32p4, esp32c5, esp32c61

Closes IDF-9225, IDF-9929, and IDF-10380

See merge request espressif/esp-idf!33733
2024-09-24 16:31:13 +08:00
Linda
89d7bbdee6 docs: update application examples for esp_eth.rst 2024-09-24 16:28:12 +08:00
Island
0a60517613 Merge branch 'docs/optimized_ble_example' into 'master'
docs(ble/bluedroid): Optimize BLE example documentation

Closes BLERP-892

See merge request espressif/esp-idf!33710
2024-09-24 16:10:14 +08:00
Jakub Kocka
68d85b9f1b Merge branch 'feat/enable_esp32c61_stub' into 'master'
feat: Enable ESP32-C61 stub

Closes IDF-9241

See merge request espressif/esp-idf!33730
2024-09-24 15:38:50 +08:00
Jiang Jiang Jian
1e7661e544 Merge branch 'bugfix/fix_scan_issue' into 'master'
Fix scan result is not correct in iperf example

Closes WIFIBUG-804

See merge request espressif/esp-idf!33751
2024-09-24 15:35:21 +08:00
morris
b304b19501 Merge branch 'docs/fix_typo_gpio_description' into 'master'
docs: fix a typo in gpio.rst

See merge request espressif/esp-idf!33752
2024-09-24 14:44:02 +08:00
hrushikesh.bhosale
6744e1bac0 docs(provisioning): Updated the provisioning documents for esp32c61
Tested and updated docs_not_updated for esp32c61 for provisioning
2024-09-24 12:04:48 +05:30
Guillaume Souchere
a43cb17b4d Merge branch 'feat/heap-update-spiram-tests' into 'master'
feat(heap): Update heap tests on external memory

Closes IDF-11257

See merge request espressif/esp-idf!33737
2024-09-24 14:28:47 +08:00
Xu Si Yu
8a4ae33665 fix(ieee802154): fix a bug in the usage of a macro 2024-09-24 14:17:21 +08:00
Omar Chebib
22436dae10 fix(soc): add missing reset reasons for the ESP32-C61 2024-09-24 13:25:21 +08:00
yinqingzhao
a8ede32979 fix(wifi): modify some SOC_WIFI_SUPPORT_5G to CONFIG_SOC_WIFI_SUPPORT_5G 2024-09-24 13:14:51 +08:00
Jiang Jiang Jian
e990d1e06d Merge branch 'feature/ftm_calibration_esp32c6' into 'master'
feat(ftm): Add ftm calibration values for ESP32C6

See merge request espressif/esp-idf!33324
2024-09-24 12:56:51 +08:00
Song Ruo Jing
6afbc06666 feat(gdma): add retention support for esp32p4, esp32c5, esp32c61 2024-09-24 12:33:41 +08:00
wanckl
9394b169c6 fix(driver_spi): fixed slave no dma rx overwrite when trans_len below or over
Closes https://github.com/espressif/esp-idf/issues/14462
2024-09-24 12:11:36 +08:00
wuzhenghui
5971155ac4 feat(esp_hw_support): add case to test slow clock switching 2024-09-24 12:08:51 +08:00
Zhang Xiao Yan
c2dd530539 Merge branch 'docs/update_application_example_http_server' into 'master'
docs: update application examples for esp_http_server.rst, esp_https_server.rst, and mbedtls.rst

See merge request espressif/esp-idf!33676
2024-09-24 11:47:23 +08:00
wuzhenghui
baa4d51656 fix(esp_hw_support): fix bad submode setting logic in rtc_slow selection 2024-09-24 11:24:03 +08:00
Linda
ef9cfa5998 docs: update application examples for esp_http_server.rst, esp_https_server.rst, and mbedtls.rst 2024-09-24 10:40:46 +08:00
Linda
fc0f85b854 docs: fix a typo in gpio.rst 2024-09-24 10:28:46 +08:00
Alexey Lapshin
84d1ca8f72 fix(gdbstub_runtime): fix test gdbstub_runtime which requiers elf file 2024-09-23 22:59:23 +07:00
Sajia
ff2e9a4523 feat(ftm): Add ftm calibration values for esp32c6 2024-09-23 19:58:02 +05:30
Jan Beran
d77d1f5a95 fix(uf2): Ignore ESPBAUD, ESPPORT when calling idf.py uf2[-app] 2024-09-23 15:48:59 +02:00
Rahul Tank
f8dc0ba89d fix(nimble): Fixed deinit sequence in blufi 2024-09-23 19:00:38 +05:30
Jiang Jiang Jian
d076f0ad80 Merge branch 'feat/wifi_crypto_funcs_cleanup' into 'master'
Cleanup of wifi crypto funcs within wifi libs

See merge request espressif/esp-idf!30698
2024-09-23 21:08:50 +08:00
Song Ruo Jing
8da1b8bba7 Merge branch 'contrib/github_pr_14393' into 'master'
strerror for clearer Error detection (GitHub PR)

Closes IDFGH-13496

See merge request espressif/esp-idf!32914
2024-09-23 20:47:08 +08:00
Aditya Patwardhan
5bfa1fb2da Merge branch 'fix/add_countermeasure_for_ecdsa_peripheral_issue' into 'master'
feat(hal): Add countermeasure for ECDSA generate signature

Closes IDF-10001

See merge request espressif/esp-idf!31894
2024-09-23 20:41:28 +08:00
Jiang Jiang Jian
4530b0e395 Merge branch 'bugfix/sae_h2e_vulnerability_fix' into 'master'
fix(wifi): Sae check for invalid rejected group

See merge request espressif/esp-idf!33416
2024-09-23 20:32:00 +08:00
C.S.M
75e2d77b26 feat(spi_flash): Add new xmc chip id 2024-09-23 19:06:23 +08:00
Aditya Patwardhan
11128b73f5 feat(hal): Add countermeasure for ECDSA generate signature
The ECDSA peripheral before ECO5 of esp32h2 does not perform the ECDSA
    sign operation in constant time. This allows an attacker to read the
    power signature of the ECDSA sign operation and then calculate the
    ECDSA key stored inside the eFuse. The commit adds a countermeasure
    for this attack. In this case the real ECDSA sign operation is
    masked under dummy ECDSA sign operations to hide its real power
    signature
2024-09-23 18:55:43 +08:00
Guillaume Souchere
83d00b154a feat(usb_serial_jtag): Add select functionality to the driver
Implement the select() function in the USB serial JTAG driver.
Add test for the select functionality.

closes https://github.com/espressif/esp-idf/issues/9964
2024-09-23 12:42:07 +02:00
morris
0690e53294 Merge branch 'refactor/rgb_lcd_gpio_assign' into 'master'
feat(lcd): add Kconfig to assign default GPIO for RGB LCD example

See merge request espressif/esp-idf!33734
2024-09-23 18:23:58 +08:00
Rocha Euripedes
68e6939163 Merge branch 'c5_programming_guide' into 'master'
docs(network): Updates network/proto API ref and guide for esp32-c5

See merge request espressif/esp-idf!33057
2024-09-23 18:20:08 +08:00
morris
f91ea4def6 Merge branch 'feat/rmt_regdma_link_esp32c5' into 'master'
feat(rmt): support sleep retention by regdma on esp32c5

Closes IDF-10917, IDF-11123, DOC-9018, and DOC-9019

See merge request espressif/esp-idf!33690
2024-09-23 18:19:02 +08:00
Jiang Jiang Jian
bd4818413d Merge branch 'bugfix/fix_esp32c5_external_coex_enable_fail_issue' into 'master'
Bugfix/fix esp32c5 and esp32c6 external coex enable fail issue

Closes WIFI-6611, IDF-9141, and IDF-10531

See merge request espressif/esp-idf!33689
2024-09-23 17:33:52 +08:00
Guillaume Souchere
00c727427c feat(heap): Update heap tests on external memory
Create a specific group "psram" to only run meaningful
tests on the sdkconfig.ci.psram and sdkconfig.ci.psram_all_ext
configuration.

Add test testing that external memory is prioritized when using
MALLOC_CAP_DEFAULT.
2024-09-23 11:32:22 +02:00
Mahavir Jain
559e554178 Merge branch 'contrib/github_pr_14503' into 'master'
feat(esp-tls): add option to enable/disable the full set of OCSP checks for wolfSSL (GitHub PR)

Closes IDFGH-13619

See merge request espressif/esp-idf!33700
2024-09-23 16:57:24 +08:00
zwx
4162a98a0a feat(ieee802154): add frame type checking for hw autoack feature 2024-09-23 16:55:41 +08:00
jgujarathi
52bcdb9400 refactor(esp_wifi): Cleanup of wifi crypto funcs within wifi libs
- Remove unnecessary funcs from wpa_crypto_funcs_t and consolidate some
  of their usages in wifi libs
2024-09-23 14:24:08 +05:30
Euripedes Rocha
a98418165a docs(network): Updates network/proto API ref and guide for esp32-c5 2024-09-23 10:36:48 +02:00
Jiang Jiang Jian
1635905523 Merge branch 'feat/esp32c61_wifi_sleep' into 'master'
esp32c61 wifi legacy sleep and modem state support

Closes PM-206, PM-234, IDF-10627, and IDF-10630

See merge request espressif/esp-idf!33711
2024-09-23 16:20:33 +08:00
morris
63ccbd095e feat(lcd): add Kconfig to assign default GPIO for RGB LCD example 2024-09-23 16:17:48 +08:00
Marius Vikhammer
816013f752 Merge branch 'feature/c61_lpwdt' into 'master'
feat(lp_wdt): update low power wdt for C61

Closes IDF-9243

See merge request espressif/esp-idf!33718
2024-09-23 16:17:42 +08:00
Jin Cheng
22fad3f0a8 fix(bt/controller): Fixed some controller bugs on ESP32
- Fixed access NULL in SCO frame end
      Closes https://jira.espressif.com:8443/browse/IDFGH-10796
    - Added LAP checking for Periodic Inquiry
    - Removed an inproper assertion in SCO module
    - Fixed wrong logic in key exchange when
      LMP transaction collision occurred
    - Fixed the using of wrong error code in
      the transaction collision of role switch
2024-09-23 15:33:11 +08:00
xiongweichao
b71597416d feat(bt/bluedroid): Report sniff interval to application layer 2024-09-23 15:23:36 +08:00
Konstantin Kondrashov
efc143bf10 Merge branch 'bugfix/fix_efuse_example_c2' into 'master'
fix(efuse): Fix efuse test examples

Closes IDF-11263

See merge request espressif/esp-idf!32575
2024-09-23 15:23:04 +08:00
Jakub Kocka
12875d6f66 feat: Enable ESP32-C61 stub 2024-09-23 09:21:44 +02:00
Lucas Dekker
232f219321 docs: Explain revocation of unused but compromised keys
Explain the revocation of unused but compromised keys.

docs: Apply updates from code review

Add some nitpicks from AdityaHPatwardhan.

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

Co-authored-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2024-09-23 12:23:28 +05:30
renpeiying
542f65f1ff docs: provide CN translation for storage/vfs updates 2024-09-23 14:07:55 +08:00
Chen Ji Chang
3a6a6ecedc Merge branch 'fix/fix_macro_in_memory_ld' into 'master'
fix(psram): fix macro in memory.ld

Closes IDFCI-2382 and IDF-11133

See merge request espressif/esp-idf!33583
2024-09-23 14:07:36 +08:00
Mahavir Jain
e4fba01e11 Merge branch 'fix/cleanup_esp_tls_wolfssl' into 'master'
Cleanup(esp-tls): Remove unused config option from esp-wolfssl

See merge request espressif/esp-idf!33699
2024-09-23 13:56:38 +08:00
morris
7e4ce003a5 refactor(rmt): deprecate io_loop_back
when initialize the GPIO for RMT peripehral, driver won't overwrite the
previous GPIO settings. Just append different modes to the GPIO.
2024-09-23 13:33:44 +08:00
morris
491901d7e4 feat(rmt): support sleep retention by regdma on esp32c5 2024-09-23 13:31:47 +08:00
Island
7752c1b051 Merge branch 'bugfix/fix_ble_conn_state_rpa_timeout' into 'master'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(63eb54d)

Closes BLERP-1054

See merge request espressif/esp-idf!33709
2024-09-23 12:26:04 +08:00
Jiang Jiang Jian
19162d8754 Merge branch 'bugfix/supplicant_memory_overflow' into 'master'
fix(esp_wifi): Prevent memory overflow in WPS

See merge request espressif/esp-idf!33712
2024-09-23 12:08:52 +08:00
Island
03b73cfd91 Merge branch 'refactor/ble_example_print_on_bluedroid' into 'master'
fix(bt/bluedroid): correct the readme links for BLE periodic examples

See merge request espressif/esp-idf!33644
2024-09-23 12:08:37 +08:00
Island
e628335fb0 Merge branch 'bugfix/fix_bleqabr24_1282' into 'master'
Fixed BLE scanning and initiating coexist on ESP32

Closes BLERP-1030

See merge request espressif/esp-idf!33542
2024-09-23 12:08:21 +08:00
Jouni Malinen
f9aa42b137 SAE: Check for invalid Rejected Groups element length explicitly on STA
Instead of practically ignoring an odd octet at the end of the element,
check for such invalid case explicitly. This is needed to avoid a
potential group downgrade attack.

Fixes: 444d76f74f65 ("SAE: Check that peer's rejected groups are not enabled")
Signed-off-by: Jouni Malinen <j@w1.fi>
2024-09-23 12:05:02 +08:00
Jouni Malinen
7fc4d894a9 SAE: Check that peer's rejected groups are not enabled
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2024-09-23 12:05:02 +08:00
Jouni Malinen
05874b938e SAE: Reject invalid Rejected Groups element in the parser
There is no need to depend on all uses (i.e., both hostapd and
wpa_supplicant) to verify that the length of the Rejected Groups field
in the Rejected Groups element is valid (i.e., a multiple of two octets)
since the common parser can reject the message when detecting this.

Signed-off-by: Jouni Malinen <j@w1.fi>
2024-09-23 12:05:02 +08:00
Jouni Malinen
ba76df4f69 SAE: Check for invalid Rejected Groups element length explicitly
Instead of practically ignoring an odd octet at the end of the element,
check for such invalid case explicitly. This is needed to avoid a
potential group downgrade attack.

Signed-off-by: Jouni Malinen <j@w1.fi>
2024-09-23 12:05:02 +08:00
Jouni Malinen
b6f91e403a SAE: Check that peer's rejected groups are not enabled in AP
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2024-09-23 12:05:02 +08:00
muhaidong
63bb1c6719 fix(wifi): fix modem_clock_module_enable mismatch issue 2024-09-23 11:45:03 +08:00
Marius Vikhammer
7d5456615c feat(lp_wdt): update low power wdt for C61 2024-09-23 11:03:11 +08:00
Li Shuai
9f030d1a0c fix(ci): some modify for ci pass 2024-09-23 10:29:48 +08:00
Li Shuai
a1fb9c7979 change(esp_phy): support phy sleep for esp32c61 2024-09-23 10:29:48 +08:00
Li Shuai
8f4cb98df0 change(esp_hw_support): update modem to active state backup clock source for esp32c61 2024-09-23 10:29:48 +08:00
Li Shuai
377f7addad change(esp_hw_support): enable wifi beacon wakeup and support wifi modem state for esp32c61 2024-09-23 10:29:48 +08:00
Li Shuai
76920d1785 change(esp_hw_support): update modem clock retention configure and support modem domain power down for esp32c61 2024-09-23 10:29:46 +08:00
muhaidong
779bbff03c fix(wifi): fix esp32c5 enable external coex fail issue 2024-09-23 10:29:18 +08:00
muhaidong
ba302e45dd fix(wifi): esp32c5 esp32c61 support external coex 2024-09-23 10:28:56 +08:00
Fu Hanxi
44c0faed43 ci: add manual job to make sure soc caps are parsed seamlessly 2024-09-23 09:46:36 +08:00
laokaiyao
a02b0c52e5 refactor(soc): sort esp32 soc headers 2024-09-23 09:46:36 +08:00
Alexey Lapshin
0fb74b17ab Merge branch 'fix/kconfig-option-orphan_sections_warning' into 'master'
fix(build): fix orphan sections warning kconfig variable

See merge request espressif/esp-idf!32765
2024-09-22 21:57:12 +08:00
Roland Dobai
a7668a4543 Merge branch 'fix/clang_tidy_riscv' into 'master'
docs(tools): Fix clang-tidy documentation about RISC-V being supported

See merge request espressif/esp-idf!33553
2024-09-22 12:37:05 +08:00
Rahul Tank
c87eb1719a fix(nimble): Fix clang compilation issue 2024-09-21 19:17:52 +05:30
Rahul Tank
46acfdce96 Merge branch 'feat/send_data_len_afer_conn' into 'master'
feat(nimble): Set data length after connection

See merge request espressif/esp-idf!32655
2024-09-21 21:24:54 +08:00
Alexey Lapshin
05c1a0cd7b fix(test): reduce gdb_loadable_elf binary size 2024-09-21 17:13:12 +07:00
Kapil Gupta
d2e0eb7a52 fix(esp_wifi): Prevent memory overflow in WPS 2024-09-21 14:38:09 +05:30
Li Shuai
64c80be521 change(soc): enable wifi soc wakeup and support wifi legacy sleep for esp32c61 2024-09-21 16:37:37 +08:00
Jiang Jiang Jian
945af68d74 Merge branch 'feature/esp32c61_light_sleep_support_stage_3' into 'master'
feat(esp_hw_support): esp32c61 sleep support (Stage 3:  support system peripheral sleep retention)

Closes IDF-10384, IDF-10382, and IDF-11004

See merge request espressif/esp-idf!33298
2024-09-21 16:09:36 +08:00
zhanghaipeng
3a9e05984a docs(ble/bluedroid): Optimize BLE example documentation 2024-09-21 15:22:09 +08:00
Kapil Gupta
5d792910be Merge branch 'bugfix/wps_timer_causing_disconnect' into 'master'
fix(esp_wifi): Disable WPS timers once WPS succeed

Closes WIFIBUG-393

See merge request espressif/esp-idf!33240
2024-09-21 15:03:19 +08:00
zhanghaipeng
124613fb63 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(63eb54d)
- Fixed issue where RPA is not updated after BLE RPA timeout
2024-09-21 10:43:16 +08:00
chenjianhua
7ea2779b6d test(bt/bluedroid): Support to disable BLE address resolution 2024-09-21 10:33:37 +08:00
David Čermák
82a29b7d21 Merge branch 'fix/lwip_drop_ipv6_if_no_ll' into 'master'
fix(lwip): Add default IPv6 input filter to drop traffic if ipv6 not assigned

Closes IDF-10472

See merge request espressif/esp-idf!32165
2024-09-20 23:33:49 +08:00
Kapil Gupta
0c9d7c9dd0 Merge branch 'bugfix/2g_5g_wnm_scan' into 'master'
fix(esp_wifi): Add changes to enable 5ghz scan

Closes WIFIBUG-773

See merge request espressif/esp-idf!33657
2024-09-20 22:20:26 +08:00
Kapil Gupta
3629909b11 fix(esp_wifi): Mask some error conditions in WPS
Mask some error conditions in WPS to increase the probability of
WPS success.
2024-09-20 22:08:01 +08:00
Kapil Gupta
3a35b26de1 fix(esp_wifi): Disable WPS timers once WPS succeed 2024-09-20 22:08:01 +08:00
Mahavir Jain
2a6be654cd Merge branch 'ci/enable_memprot_tests_for_esp32c61' into 'master'
Clear PMA entries before usage and enable tests for ESP32-C61

Closes IDF-10932

See merge request espressif/esp-idf!33438
2024-09-20 21:32:18 +08:00
Konstantin Kondrashov
cb6e8209e5 feat(examples): Get offsets for efuses from espefuse.py 2024-09-20 16:28:25 +03:00
harshal.patil
e1cd5b909e fix(esp_security): Fix build failure when dpa protection at startup is disabled 2024-09-20 18:46:55 +05:30
harshal.patil
39872a5575 feat(esp_security): Config to forcefully enable ECC constant-time operations during bootup 2024-09-20 18:46:55 +05:30
harshal.patil
46cbaa7d4d fix(mbedtls/ecc): Enable hardware ECC mult operations only for SOC_ECC_CONSTANT_TIME_MUL
Co-authored-by: aditya.patwardhan <aditya.patwardhane@espressif.com>
2024-09-20 18:46:55 +05:30
Aditya Patwardhan
49ced36d7a ci(hal/crypto): Add ECC hardware constant-time point multiplication test 2024-09-20 18:46:55 +05:30
harshal.patil
2bf6a3cf8b feat(hal/ecc): Support ECC hardware constant-time point multiplication operations 2024-09-20 18:46:50 +05:30
Aditya Patwardhan
238615c634 fix(examples): Update accurate information for HTTPS Server 2024-09-20 17:49:23 +05:30
Island
3000402fcf Merge branch 'bugfix/fix_ble_scan_assert_1728' into 'master'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(e9ae856)

Closes IDFCI-2222 and BLERP-1037

See merge request espressif/esp-idf!33643
2024-09-20 20:12:00 +08:00
Frank Mertens
ba27281c3e change(esp-tls): add option to enable/disable the full set of OCSP checks for wolfSSL 2024-09-20 12:47:08 +02:00
Aditya Patwardhan
a261827ae0 fix(esp-tls): Remove unused config option from esp-wolfssl 2024-09-20 16:09:40 +05:30
Konstantin Kondrashov
fdac9bb814 fix(examples): Fix SB and FE tests for C5 and C61 2024-09-20 13:31:31 +03:00
Alexey Lapshin
2a02d45bde fix(cxx): fix TLS classes destructor call
Closes https://github.com/espressif/esp-idf/issues/14360
2024-09-20 17:17:31 +07:00
Tomáš Rohlínek
bab9498a52 docs(storage/vfs): add documentation for existing automounted vfs drivers 2024-09-20 11:49:47 +02:00
Kapil Gupta
b0712b6a2b Merge branch 'bugfix/deinitialize_wps_registrar' into 'master'
fix(esp_wifi): Deinit WPS registrar during hostapd deinit

Closes WIFIBUG-786 and WIFIBUG-695

See merge request espressif/esp-idf!33658
2024-09-20 17:40:57 +08:00
Liu Xiao Yu
e051b921b8 Merge branch 'feat/lp_spinlock' into 'master'
feat(ulp): implement inter-hp-lp-cpu spinlock/critical section

Closes IDF-10206

See merge request espressif/esp-idf!32775
2024-09-20 17:09:50 +08:00
David Cermak
98fdb1a97f fix(lwip): Add default IPv6 input filter to drop traffic if ipv6 not assigned
* Makes LWIP_HOOK_IP6_INPUT default to LWIP_HOOK_IP6_INPUT_DEFAULT
* Updated the stub hook implementation to actually filter out all IPv6
packets if the input netif has no link local address.
2024-09-20 10:36:43 +02:00
Sudeep Mohanty
c01512f4b0 Merge branch 'fix/assert_fail_in_xtaskdeletewithcaps' into 'master'
Fixed occational assert failure in vTaskDeleteWithCaps()

Closes IDFGH-13294

See merge request espressif/esp-idf!33468
2024-09-20 16:19:40 +08:00
Guillaume Souchere
19d512ebee Merge branch 'feat/heap-support-esp32c61' into 'master'
feat(heap): Add support for esp32c61

Closes IDF-9858 and IDF-10989

See merge request espressif/esp-idf!33556
2024-09-20 16:01:20 +08:00
Linda
acbbacb302 docs: format application examples for bootloader.rst 2024-09-20 15:48:14 +08:00
Lou Tian Hao
9be8822b61 Merge branch 'feature/esp32c61_light_sleep_support_stage_deepsleep' into 'master'
feat(esp_hw_support): support esp32c61 deepsleep

Closes PM-203 and IDF-9245

See merge request espressif/esp-idf!33301
2024-09-20 15:30:30 +08:00
Kapil Gupta
1d7241acc1 fix(esp_wifi): Add changes to enable 5ghz scan 2024-09-20 12:58:14 +05:30
Kapil Gupta
903c11ff1a Merge branch 'bugfix/dpp_5ghz_chan_support' into 'master'
fix(esp_wifi): Add support for 5ghz channel list for easy connect

Closes WIFI-6420

See merge request espressif/esp-idf!32146
2024-09-20 14:46:05 +08:00
Kapil Gupta
e24005c8db fix(esp_wifi): Add support for 5ghz channel list for easy connect 2024-09-20 14:46:05 +08:00
Aditya Patwardhan
a6218520e1 fix(security): Fix flash encryption example warning
The Flash encryption example was giving a warning
    message related to the mount failure of the fatfs
    partition. The change fixes the behaviour to
    remove the warning
2024-09-20 12:09:59 +05:30
Kapil Gupta
1ac6043bce Merge branch 'bugfix/wps_wpa_connection' into 'master'
fix(esp_wifi): Allow connection with WPA mode in WPS

See merge request espressif/esp-idf!32360
2024-09-20 14:16:26 +08:00
Kapil Gupta
52002bf92d fix(esp_wifi): Allow connection with WPA mode in WPS 2024-09-20 14:16:01 +08:00
Lou Tianhao
bc0404ae03 fix(ci): some actions taken to pass CI 2024-09-20 14:10:45 +08:00
Lou Tianhao
46350e362e fix(esp_hw_support): add clock retention contents for esp32c61 & esp32c5 2024-09-20 14:09:29 +08:00
Lou Tianhao
6be09eb5b8 change(pm): replace SOC_CLK_RC32K_NOT_TO_USE with CONFIG_ESP_CLK_RC32K_NOT_TO_USE 2024-09-20 14:07:18 +08:00
Li Shuai
3b6f8b1f3d fix(esp32c61): enable soc caps macro to fix regdma wait compare bug 2024-09-20 14:07:18 +08:00
Lou Tianhao
9529c4ece4 fix(esp_hw_support): fix mmu memory powered down issue by software backup and restore mmu table content
squash! fix(esp_hw_support): fix mmu memory powered down issue by software backup and restore mmu table content
2024-09-20 14:07:18 +08:00
Lou Tianhao
a30ed69f69 feat(pm): support top retention for esp32c61 2024-09-20 14:07:18 +08:00
Jaroslav Burian
180bc4bd8c Merge branch 'feat/enable_esp32c5_stub' into 'master'
feat: Enable ESP32-C5 stub

Closes IDF-8631

See merge request espressif/esp-idf!33115
2024-09-20 14:01:20 +08:00
Li Shuai
3edbd0741a Merge branch 'feat/esp32c5_wifi_sleep' into 'master'
esp32c5 wifi legacy sleep and modem state support

Closes WIFI-6424, WIFI-6425, PM-185, IDF-10597, and IDF-10601

See merge request espressif/esp-idf!33225
2024-09-20 13:53:07 +08:00
Mahavir Jain
a71e0fc028 Merge branch 'feature/enable_sha_support_for_esp32c61' into 'master'
feat: enable support for sha peripheral in esp32c61

Closes IDF-9234

See merge request espressif/esp-idf!32830
2024-09-20 13:22:14 +08:00
Mahavir Jain
f5b55b2967 Merge branch 'fix/ecdsa_verify_check_hash_len' into 'master'
Wrap some mbedtls' ECDSA verification related APIs

See merge request espressif/esp-idf!33349
2024-09-20 12:38:10 +08:00
Marius Vikhammer
564d777018 Merge branch 'feature/lp_core_40_mhz' into 'master'
feat(system): support choosing xtal as rtc-fast clock src on P4 and C5

Closes IDF-10203

See merge request espressif/esp-idf!32450
2024-09-20 10:57:15 +08:00
Lou Tianhao
d9c15bb772 fix(ci): some actions taken to pass CI 2024-09-20 10:53:05 +08:00
Lou Tianhao
d70f24e414 feat(pm): support example deepsleep for esp32c61 2024-09-20 10:53:05 +08:00
Shen Wei Long
8320e4281b Merge branch 'bugfix/fixed_ble_get_started_issue_for_esp32c5' into 'master'
fix(ble): correct gpio pin in examples/bluetooth/ble_get_started for ESP32-C5

See merge request espressif/esp-idf!33654
2024-09-20 10:44:18 +08:00
Island
db8ffcacf4 Merge branch 'bugfix/fixed_c5_ble_cache_error_240919' into 'master'
Bugfix/fixed c5 ble cache error 240919

Closes BLERP-1038, BLERP-1039, BLERP-1040, BLERP-1041, BLERP-1042, BLERP-1043, BLERP-1044, BLERP-1045, BLERP-1046, BLERP-1047, BLERP-1048, BLERP-1049, and BLERP-1036

See merge request espressif/esp-idf!33645
2024-09-20 10:37:36 +08:00
Island
ae67021e1e Merge branch 'feat/ble_mesh_lib_flash_size_optimized' into 'master'
feat(ble_mesh): ble mesh lib flash size optimized

Closes BLERP-1012

See merge request espressif/esp-idf!33476
2024-09-20 10:34:30 +08:00
Xiaoyu Liu
446528d40f feat(ulp): implement ulp lp core spinlock 2024-09-20 10:22:45 +08:00
morris
c44e7dcb14 Merge branch 'feat/adapt_spi_lcd_to_lvgl_v9' into 'master'
feat(spi_lcd): adapt spi_lcd example to LVGL v9

Closes IDF-10953 and IDFGH-13741

See merge request espressif/esp-idf!33620
2024-09-20 10:11:43 +08:00
Konstantin Kondrashov
637ee54a7f feat(examples): Increases partition table offset for P4 and C5 2024-09-19 21:31:40 +03:00
Kapil Gupta
28f12bfb47 fix(esp_wifi): Deinit WPS registrar during hostapd deinit 2024-09-19 23:10:08 +05:30
Rahul Tank
675fac1a6c feat(nimble): Set data length after connection 2024-09-19 20:20:47 +05:30
Marius Vikhammer
8746f44c74 fix(efuse): fix efuse examples not compiling on c2 2024-09-19 20:48:53 +08:00
Li Shuai
072ea6bb44 fix(ci): some modify for ci pass 2024-09-19 20:04:44 +08:00
Li Shuai
9588953e07 change(esp_phy): some fix for phy sleep 2024-09-19 20:04:44 +08:00
Li Shuai
d57ee7d87e refactor(esp_hw_support): seperate sleep modem state support for each target 2024-09-19 20:04:44 +08:00
Li Shuai
dad039e27f change(esp_hw_support): support wifi modem state for esp32c5 2024-09-19 20:04:44 +08:00
Li Shuai
eeb55c3f04 change(example/power_save): modify to support dfs min frequency select to 48 MHz xtal 2024-09-19 20:04:44 +08:00
Lou Tianhao
1604cef916 chanage(example/power_save): add wifi band (2.4 GHz and 5 GHz) menuconfig option for esp32c5 2024-09-19 20:04:44 +08:00
Li Shuai
d63beec095 change(esp_wifi): support legacy wifi power save for esp32c5 2024-09-19 20:04:41 +08:00
Shen Weilong
a30edf60eb fix(ble): correct gpio pin in examples/bluetooth/ble_get_started for ESP32-C5 2024-09-19 20:04:02 +08:00
Sudeep Mohanty
13d4235d73 Merge branch 'fix/lp_uart_garbled_print' into 'master'
fix(lp_uart): Added lp_uart_tx_flush API

Closes IDFGH-13650

See merge request espressif/esp-idf!33487
2024-09-19 19:54:36 +08:00
Yin Qing Zhao
ca331a2521 Merge branch 'feature/add_channel_bit_definition' into 'master'
feat(wifi):wifi add channel bit definition

Closes FCW-280 and FCW-281

See merge request espressif/esp-idf!32916
2024-09-19 19:51:06 +08:00
Peter Marcisovsky
c2366d5df6 Merge branch 'fix/usb_device_msc_example_fix_console' into 'master'
fix(usb_device): Fix console selection in MSC Device example

Closes IDF-11136

See merge request espressif/esp-idf!33517
2024-09-19 19:29:33 +08:00
Peter Marcisovsky
67c5d37e75 Merge branch 'feat/usb_host_create_usb_cmock' into 'master'
feat(usb_host): Create USB Host mock for CMock host tests

Closes IDF-11234

See merge request espressif/esp-idf!33619
2024-09-19 19:26:03 +08:00
Peter Marcisovsky
70ff700f56 Merge branch 'ci/usb_device_enable_p4_tests' into 'master'
ci(usb_device): Enable USB device tests in CI for esp32p4

See merge request espressif/esp-idf!33287
2024-09-19 19:17:40 +08:00
Dmitry Yakovlev
6b56caba16 Add handling of FPU for Xtensa CPU in gdbstub. 2024-09-19 13:03:10 +03:00
Guillaume Souchere
80eee8214e Merge branch 'feat/support-ringbuffer-esp32c61' into 'master'
feat(ringbuffer): Enable tests for esp32c61

Closes IDF-9266

See merge request espressif/esp-idf!33551
2024-09-19 17:56:00 +08:00
Guillaume Souchere
8ff8b520f3 Merge branch 'feat/update-to-latest-tlsf' into 'master'
feat(heap): Update component to latest TLSF

See merge request espressif/esp-idf!33193
2024-09-19 17:55:38 +08:00
Roland Dobai
fe29994924 Merge branch 'fix/specify_shell_in_exports' into 'master'
fix: explicitly set shell type in export.sh for bash and zsh

Closes IDF-11137, IDF-11138, and IDFGH-13713

See merge request espressif/esp-idf!33558
2024-09-19 17:47:01 +08:00
Sachin Billore
c843c2c4fe Merge branch 'feat/apm_api_esp32c61' into 'master'
feat(APM): Add APM APIs for ESP32-C61

See merge request espressif/esp-idf!33567
2024-09-19 17:46:40 +08:00
Marius Vikhammer
00eb97725b feat(system): support choosing xtal as rtc-fast clock src on P4 and C5
With xtal as rtc-fast clock source the LP-Core can run at twice the default
clock frequency. 40 MHz as opposed to 20 MHz.
2024-09-19 17:30:44 +08:00
Sudeep Mohanty
9b3eda0974 Merge branch 'fix/ringbuf_receives_item_not_yet_sent' into 'master'
fix(esp_ringbuf): Fixed a bug where in a no-split buffer received items prematurely

Closes IDFGH-13694

See merge request espressif/esp-idf!33555
2024-09-19 17:07:20 +08:00
Jiang Jiang Jian
6b9242b5c7 Merge branch 'bugfix/fix_some_issues_of_cert_test' into 'master'
fix(phy): update cert_test docs

See merge request espressif/esp-idf!33635
2024-09-19 16:45:38 +08:00
Sudeep Mohanty
86c1ad216c Merge branch 'task/enable_freertos_tests_for_h2' into 'master'
test(freertos): Enabled FreeRTOS unit tests for esp32h2

See merge request espressif/esp-idf!33571
2024-09-19 16:42:22 +08:00
chenjianhua
5bc3609965 fix(bt/bluedroid): correct the readme links for BLE periodic examples 2024-09-19 16:13:13 +08:00
zwl
3c72084932 feat(ble): update bt cmakelists file for ESP32-C61 2024-09-19 16:06:46 +08:00
Guillaume Souchere
f0903aef6b feat(heap): Add test support for esp32c61 2024-09-19 09:53:45 +02:00
zwl
8e4cc79a27 fix(ble): unified ble memory allocation method 2024-09-19 15:49:23 +08:00
Sudeep Mohanty
3c65f1b654 fix(lp_uart): Added lp_uart flush feature
This commit adds the lp_core_uart_flush() API to flush the LP UART Tx
FIFO. This API is automatically called once the program returns from the
main function().

Closes https://github.com/espressif/esp-idf/issues/14530
2024-09-19 09:36:04 +02:00
zhanghaipeng
32c7694f56 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(e9ae856)
- Fixed BLE scan assert in lld_scan.c 1728
2024-09-19 15:22:04 +08:00
Wan Lei
115dec68ae Merge branch 'fix/p4_twai_enable_test' into 'master'
test(twai): p4 twai enable ci test

Closes IDF-8966

See merge request espressif/esp-idf!33428
2024-09-19 15:17:28 +08:00
muhaidong
da4a0798f4 fix(phy): update cert_test docs 2024-09-19 15:13:15 +08:00
Marius Vikhammer
4c7d9f9859 Merge branch 'contrib/github_pr_14384' into 'master'
fix(pthread): Add esp_pthread function implementations for linux target (GitHub PR)

Closes IDFGH-13485

See merge request espressif/esp-idf!33278
2024-09-19 14:42:59 +08:00
Island
c62555d132 Merge branch 'bugfix/fixed_c6_crash_c2_crash_issue' into 'master'
Bugfix/fixed c6 crash c2 crash issue

Closes BLERP-1024, BLERP-1009, BLERP-1010, IDFCI-2365, and IDFCI-2338

See merge request espressif/esp-idf!33575
2024-09-19 14:34:04 +08:00
Chen Jichang
5bef0f5664 docs(spi_lcd): update supported spi mode description
Closes https://github.com/espressif/esp-idf/issues/14605
2024-09-19 14:29:41 +08:00
Chen Jichang
7e2a7bd5b2 feat(spi_lcd): adapt spi_lcd example to LVGL v9 2024-09-19 14:29:41 +08:00
Armando (Dou Yiwen)
bff2f9b2dd Merge branch 'change/camera_example_readme_change' into 'master'
example(camera): update some info about camera related examples

See merge request espressif/esp-idf!33637
2024-09-19 14:15:42 +08:00
Armando
79da963c62 example(camera): update some info about camera related examples 2024-09-19 14:09:23 +08:00
Rahul Tank
2a12872d0a Merge branch 'fix/added_a_change_to_print_address_of_advertising_instance' into 'master'
fix(nimble): Added a change to print address of an advertising instance

Closes BLERP-1033

See merge request espressif/esp-idf!33550
2024-09-19 14:08:47 +08:00
Chen Jichang
309e4d09bd fix(psram): fix macro in memory.ld 2024-09-19 13:46:57 +08:00
Sachin Billore
b4749b88d9 feat(APM): Add APM APIs for ESP32-C61 2024-09-19 11:07:42 +05:30
luoxu
fde00f570a feat(ble_mesh): ble mesh lib flash size optimized 2024-09-19 12:14:32 +08:00
Jiang Jiang Jian
b01fd6b026 Merge branch 'feat/bringup_esp32c2_rom_mbedtls_to_formal_feature' into 'master'
feat(mbedtls): bringup esp32c2 rom mbedtls feature to formal

See merge request espressif/esp-idf!33434
2024-09-19 11:18:27 +08:00
Michael (XIAO Xufeng)
534c3288ae Merge branch 'docs/update_examples_in_sdio_slave' into 'master'
docs: Update the application examples in sdio_slave

Closes DOC-8319

See merge request espressif/esp-idf!31994
2024-09-19 11:14:49 +08:00
Armando (Dou Yiwen)
cba8c5d7ca Merge branch 'feat/supported_camera_sc2336_lcd_ek79007' into 'master'
camera: supported camera related example using sc2336 and ek79007

Closes IDFGH-13634

See merge request espressif/esp-idf!33518
2024-09-19 11:10:57 +08:00
Armando
b3ccc09ec3 feat(camera): supported camera related example using sc2336 and ek79007
Closes https://github.com/espressif/esp-idf/issues/14517
2024-09-19 10:47:56 +08:00
Alexey Gerenkov
81f4ef73c3 Merge branch 'feature/update-esp-clang-to-esp-18.1.2_20240815' into 'master'
feat(tools): update esp-clang version to esp-18.1.2_20240912

Closes LLVM-333

See merge request espressif/esp-idf!32895
2024-09-19 03:49:46 +08:00
Alexey Gerenkov
391dd7b9ad fix(build): Fix declaration of linker labels for ROM reserved regions
It looks like as a part of optimization for inlined functions like 'mmu_ll_vaddr_to_laddr' Clang aligns constant value
used for bitwise AND operation with the pointer to external symbol passed to the function as parameter.
That led to assertion failures because boundaries can be unaligned to 4 bytes.
2024-09-18 21:40:39 +03:00
Alexey Gerenkov
b8d23b334b change(build): Enable 'xesppie' for esp32p4 Clang builds 2024-09-18 21:40:39 +03:00
Alexey Gerenkov
9ca231e76e change(build): Use integrated assembler with Clang for RISCV chips 2024-09-18 21:40:39 +03:00
Alexey Gerenkov
64203d1403 feat(tools): update esp-clang version to esp-18.1.2_20240912 2024-09-18 21:40:34 +03:00
Konstantin Kondrashov
dcd433e62c Merge branch 'bugfix/werror_hint' into 'master'
fix(tools): Fix a regular expression in hints.yml for Werror=

See merge request espressif/esp-idf!33625
2024-09-19 01:30:27 +08:00
Michael (XIAO Xufeng)
ed92c2c226 Merge branch 'test/add_cache2phys_xip_tests' into 'master'
fix(mmap): fixed spi_flash_phys2cache return addr in PSRAM issue

See merge request espressif/esp-idf!31083
2024-09-18 23:53:47 +08:00
Konstantin Kondrashov
d1a00f5808 fix(tools): Fix a regular expression in hints.yml for Werror= 2024-09-18 16:33:47 +03:00
Peter Marcisovsky
d071bb4c56 feat(usb_host): Create USB Host mock for CMock host tests 2024-09-18 15:04:03 +02:00
wanckl
bf9d01bf2a test(twai): p4 twai enable ci test 2024-09-18 20:56:55 +08:00
David Čermák
22facff58c Merge branch 'fix/ws_transport_linux_signed_promotions' into 'master'
fix(ws_transport): Fix incorrect packet-len on linux due to int promotions of char (GitHub PR)

Closes IDFGH-13642 and IDFGH-13657

See merge request espressif/esp-idf!33595
2024-09-18 20:56:51 +08:00
Lou Tian Hao
3415ff27d6 Merge branch 'fix/regdma_wait_node_issue' into 'master'
fix(pm): fix the issue of regdma wait node to immediately return to done caused by regdma wait mode comparator for esp32c6, esp32h2 and esp32p4

Closes PM-202

See merge request espressif/esp-idf!33547
2024-09-18 20:52:59 +08:00
yinqingzhao
97e42349aa feat(wifi):wifi add channel bit definition 2024-09-18 20:19:39 +08:00
Erhan Kurubas
2dbb811747 Merge branch 'fix/apptrace_print_lock' into 'master'
fix(apptrace): fix build error when print lock is enabled

See merge request espressif/esp-idf!33368
2024-09-18 19:50:21 +08:00
Sudeep Mohanty
6a82497bdc fix(esp_ringbuf): Fixed a bug where in a no-split buffer received items prematurely
This commit fixes a bug in the no-split buffer which could receive an
item prematurely if the space on the buffer is acquired until the buffer
is full. The commit also adds a unit test for this scenario.

Closes https://github.com/espressif/esp-idf/issues/14568
2024-09-18 13:39:52 +02:00
Alexey Gerenkov
5c43055e3e Merge branch 'esp32c61_jtag_doc_update' into 'master'
docs(jtag): update esp32c61 jtag debugging guide

Closes IDF-10168

See merge request espressif/esp-idf!33546
2024-09-18 19:36:23 +08:00
Frantisek Hrbata
6f3241a34b fix(tools): Upgrade shell detection & simplify autocompletion
Explicitly set shell type in export.sh for bash and zsh

-Most of the issues reported with the updated export scripts are related
 to shell detection. Since we already know the shell type for commonly
 used ones like bash or zsh, we can pass the shell type directly to the
 activate script. This should hopefully resolve the shell detection
 problems for most users.

 This update also modifies the shell type detection to rely solely on
 psutil.Process().cmdline() rather than psutil.Process().exe(). This
 change aims to resolve permission issues that may occur if, for example,
 the Python binary has certain capabilities assigned.

Move shell completion to the init script

- Currently we are expanding the autocompletion in the activate script and
 adding the expanded commands into the init script. To avoid
 concerns about shell versions, move the entire expansion to the init
 script.
2024-09-18 13:03:26 +02:00
Frantisek Hrbata
2109f81102 fix(tools): do not include rc scripts in export script
The rc scripts should be included only when a new shell is started. At
present, for bash and zsh, we are also including them in the export
scripts, which is incorrect and may cause recursion.

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

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-09-18 13:03:26 +02:00
Sudeep Mohanty
01f521f3a0 test(freertos): Enabled FreeRTOS unit tests for esp32h2 2024-09-18 12:51:24 +02:00
Roland Dobai
eb606b9777 Merge branch 'feat/add_constraint_files' into 'master'
add a note regarding separate constraint files

Closes IDF-10232

See merge request espressif/esp-idf!33230
2024-09-18 18:48:06 +08:00
Sudeep Mohanty
eb676c0afc Merge branch 'task/enable_freertos_tests_for_c61' into 'master'
test(freertos): Enabled FreeRTOS unit tests for esp32c61

Closes IDF-10988

See merge request espressif/esp-idf!33568
2024-09-18 18:40:29 +08:00
Peter Dragun
31dc7b6f07 docs: Move monitor configuration documentation to its own repository 2024-09-18 12:30:36 +02:00
Ren Peiying
91ad4bcbce Merge branch 'add_application_examples_peripherals' into 'master'
Add application examples for i2c, jpeg, temp_sensor and usb_serial-jtag-console

See merge request espressif/esp-idf!33274
2024-09-18 17:31:59 +08:00
Ren Peiying
fb1b91c8d7 Add application examples for i2c, jpeg, temp_sensor and usb_serial-jtag-console 2024-09-18 17:31:59 +08:00
Sudeep Mohanty
c36674eaa8 fix(freertos): Fixed assert failure in vTaskDeleteWithCaps
This commit fixes an assert failure in vTaskDeleteWithCaps() when
multiple un-pinned tasks are created with stack in the external memory
and such tasks delete themselves.

Closes https://github.com/espressif/esp-idf/issues/14222
2024-09-18 11:11:04 +02:00
Frantisek Hrbata
7a03ac385d change: add a note regarding separate constraint files
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-09-18 16:56:04 +08:00
Sudeep Mohanty
02cd0253a1 test(freertos): Added a test for vTaskDeleteWithCaps when stack is in ext RAM
This commit adds a stress tests for creating multiple tasks with
xTaskCreateWithCaps such that the stack is allocated in external SPIRAM.
Then the tasks self-delete. This is done iteratively as stress test.
2024-09-18 10:39:24 +02:00
Jiang Jiang Jian
f8894140ee Merge branch 'bugfix/11kv_prints' into 'master'
fix(esp_wifi): Added prints in btm roam for error condition

See merge request espressif/esp-idf!32658
2024-09-18 16:19:45 +08:00
xiongweichao
ff83d87bce feat(ble): Support using 32k oscillator as Bluetooth sleep clock 2024-09-18 16:16:43 +08:00
Erhan Kurubas
6ade64eb05 docs(jtag): update esp32c61 jtag debugging guide 2024-09-18 10:44:41 +03:00
zwl
4d2c44f511 fix(ble): fixed memory leak issue when using uart hci 2024-09-18 15:39:26 +08:00
zwl
0ef9ecb715 fix(ble): fixed occasional assertion issue when enabling logging on ESP32-C2 2024-09-18 15:39:26 +08:00
zwl
c929a01931 fix(ble): fixed occasional acl data packet loss issue when using UHCI on ESP32-H2 2024-09-18 15:39:26 +08:00
zwl
afe08638a0 fix(ble): fixed occasional crash issue in multi-connect scenarios on ESP32-C6 2024-09-18 15:39:26 +08:00
Sudeep Mohanty
453850eff2 Merge branch 'contrib/github_pr_14593' into 'master'
feat(advanced_console): Add ESP32-P4 ESP32-C5 model support in 'version' command output (GitHub PR)

Closes IDFGH-13722

See merge request espressif/esp-idf!33565
2024-09-18 15:37:33 +08:00
Shu Chen
28a92e56db Merge branch 'feature/add_ot_nat64_curl_ci_case' into 'master'
feat(openthread): add thread curl https ci case

See merge request espressif/esp-idf!33486
2024-09-18 15:36:25 +08:00
gaoxu
4e76f8bdc1 docs(adc): update adc oneshot/continuous docs on P4 2024-09-18 15:05:56 +08:00
Ondrej Kosta
301e67157b ci(esp_eth): enabled build and test for c61 in eth/proto examples 2024-09-18 08:44:58 +02:00
Kapil Gupta
27cf5267a1 fix(esp_wifi): Added prints in btm roam for error condition 2024-09-18 14:44:24 +08:00
Guillaume Souchere
a1b8fc9635 feat(ringbuffer): Enable tests for esp32c61
Add ring buffer support for esp32c61
2024-09-18 08:39:17 +02:00
Zhang Shu Xian
6a0ec48b11 Merge branch 'docs/fix_wrong_statement' into 'master'
docs: Fix wrong statement about set/get gptimer raw count

Closes DOC-8882

See merge request espressif/esp-idf!33574
2024-09-18 14:28:32 +08:00
yiwenxiu
26be72307b feat(openthread): add thread curl https ci case 2024-09-18 14:04:08 +08:00
harshal.patil
7667d9ebbe fix(cpu_region_protect): Reset PMA entries before using them
- ROM uses some PMA entries so we clear such PMA entries before using them in ESP-IDF
2024-09-18 10:25:18 +05:30
harshal.patil
fcd751e79c ci(memprot): enable memory protection tests for ESP32-C61 2024-09-18 10:25:18 +05:30
Ren Peiying
84791fce2f Merge branch 'docs/add_app_examples_for_spi_master_twai_etc' into 'master'
docs: Update application examples for spi master, twai, and spi_slave

See merge request espressif/esp-idf!33276
2024-09-18 12:01:16 +08:00
Ren Peiying
a360c737ea Merge branch 'docs/update_app_examples_to_usb_host_device' into 'master'
docs: Add or update application examples for usb_host and usb_device

See merge request espressif/esp-idf!33275
2024-09-18 11:59:36 +08:00
Zhang Xiao Yan
40892b67c5 Merge branch 'docs/update_description_improve_io_performance' into 'master'
docs: update descriptions about improve I/O performance

See merge request espressif/esp-idf!33367
2024-09-18 11:48:05 +08:00
Wang Meng Yang
4b74e4e595 Merge branch 'bugfix/fix_sdp_compatibility' into 'master'
Bugfix/fix sdp compatibility

See merge request espressif/esp-idf!33442
2024-09-18 11:31:27 +08:00
Island
030470efa6 Merge branch 'ble_dev/esp32c61_chip_20240903' into 'master'
feat(ble): added ble support on esp32c61

Closes IDF-10360, IDF-10362, IDF-10363, and IDF-10365

See merge request espressif/esp-idf!33286
2024-09-18 11:17:58 +08:00
Island
1a065dc37a Merge branch 'feat/support_blecrt_242' into 'master'
fix(bt/bluedroid): Fixed access fault when reading BLE controller information fails

Closes BLERP-1019 and BLERP-1020

See merge request espressif/esp-idf!33406
2024-09-18 10:56:47 +08:00
Island
5f865a81b9 Merge branch 'refactor/ble_example_print_on_bluedroid' into 'master'
refactor(bt/bluedroid): Refactor the print for BLE examples

Closes BLERP-904, BLERP-910, BLERP-1026, and BLERP-1031

See merge request espressif/esp-idf!33296
2024-09-18 10:56:42 +08:00
Island
cb2624fb3f Merge branch 'bugfix/fix_ble_max_tx_power_on_esp32c3' into 'master'
fix(bt/controller): Change the max TX power to +20dBm on ESP32-C3 and ESP32-S3

Closes BLERP-1022

See merge request espressif/esp-idf!33264
2024-09-18 10:56:37 +08:00
Linda
ef1bffa937 docs: update descriptions about improve I/O performance 2024-09-18 10:53:42 +08:00
Zhang Shuxian
0244f7a9b5 docs: Fix wrong statement about set/get gptimer raw count 2024-09-18 10:14:55 +08:00
David Cermak
53e63eb125 fix(transport): Fix websocket mem-corruption while reading headers
Closes https://github.com/espressif/esp-idf/issues/14473
2024-09-17 18:15:17 +02:00
David Cermak
a4a1e7b7f2 feat(transport): Add more testcases for ws-connect to fail
Test case "ws connect fails (big response)" should fail on this commit
due to an off-by-one issue in ws_connect() read when chunk reading
http header(s).

Related to https://github.com/espressif/esp-idf/issues/14473
2024-09-17 18:09:21 +02:00
Sudeep Mohanty
812fbb7874 test(freertos): Enabled FreeRTOS unit tests for esp32c61 2024-09-17 14:17:01 +02:00
Sudeep Mohanty
328de495de fix(console): Fixed a typing error in the console advanced example 2024-09-17 09:16:06 +02:00
rudi ;-)
4281f58229 feat(advanced_console): Add support for ESP32-P4 and ESP32-C5 models in 'version' command output
The model ESP32P4 and ESP32C5 was unknown on version command in iperf example

add model ESP32P4 and ESP32C5
which prints out model names now by the knowed model
ESP32P4 = "ESP32-P4"
ESP32C5 = "ESP32-C5"

example app: iperf

before:
iperf> version
IDF Version:v5.4-dev-2744-g59e1838270-dirty
Chip info:
        model:Unknown
        cores:1
        feature:/802.11bgn/BLE/External-Flash:8 MB
        revision number:0
iperf>

after this add model is knowed now

iperf> version
IDF Version:v5.4-dev-2744-g59e1838270-dirty
Chip info:
        model:ESP32-C5
        cores:1
        feature:/802.11bgn/BLE/External-Flash:8 MB
        revision number:0
iperf>

Merges https://github.com/espressif/esp-idf/pull/14593
2024-09-17 09:04:52 +02:00
Aditya Patwardhan
fe47676a8b Merge branch 'feature/add_api_to_get_last_status_code_logged_during_ota' into 'master'
feat(esp_https_ota): added API to get last status code logged from http resonse

Closes IDFGH-13394

See merge request espressif/esp-idf!33356
2024-09-17 12:27:22 +08:00
Aditya Patwardhan
794c60411b Merge branch 'feat/update_random_number_docs_for_esp32c61' into 'master'
docs(systems): Updated the random number generator docs for esp32c61

Closes IDF-10153

See merge request espressif/esp-idf!33405
2024-09-17 11:58:03 +08:00
Ondrej Kosta
b11669b576 feat(esp_eth): added SPI ETH defaults for C61 in examples 2024-09-16 16:56:13 +02:00
Rahul Tank
f68d16e7ad Merge branch 'bugfix/nimble_coverity_fixes' into 'master'
fix(nimble): Fix for coverity issues

Closes IDF-9419 and IDF-9425

See merge request espressif/esp-idf!33432
2024-09-16 22:26:42 +08:00
Guillaume Souchere
200241b9aa feat(heap): Add support for esp32c61 2024-09-16 14:44:57 +02:00
Jaroslav Burian
82c8973add feat: Enable ESP32-C5 stub 2024-09-16 20:27:25 +08:00
Roland Dobai
75fec0bdff Merge branch 'feat/move_sample_project' into 'master'
feat(tools): Move sample_project from examples to tools

Closes IDF-9812

See merge request espressif/esp-idf!33515
2024-09-16 20:00:07 +08:00
Tomas Borcin
4e4fb3a57b Merge branch 'docs/roadmap' into 'master'
docs: Adding ESP-IDF Project Roadmap

Closes RDT-668

See merge request espressif/esp-idf!31339
2024-09-16 19:02:31 +08:00
Roland Dobai
58d10a089c docs(tools): Fix clang-tidy documentation about RISC-V being supported 2024-09-16 12:12:43 +02:00
Rahul Tank
2113e99aeb fix(nimble): Fix for coverity issues 2024-09-16 14:24:32 +05:30
Rahul Tank
cfb78587f3 Merge branch 'bugfix/add_dummy_cb_during_deinit' into 'master'
fix(nimble): De-register host cb in stack deinit

See merge request espressif/esp-idf!33251
2024-09-16 16:40:19 +08:00
shreeyash
9725f3af74 fix(nimble): Added a change to print address of an advertising instance 2024-09-16 14:00:21 +05:30
Ondrej Kosta
e8343f228f fix(esp_eth): fixed SPI ETH GPIO to align with latest ESP32-P4-Function-EV-Board 2024-09-16 09:28:26 +02:00
Marek Fiala
6ec1e9107f feat(tools): Move sample_project from examples to tools
Extended example readme.md by further development options.
2024-09-16 09:12:50 +02:00
Guillaume Souchere
ccd8486462 feat(heap): Update component to latest TLSF
The new TLSF architecture has changed. tlsf.h public API
header is now moved into an include folder. tlsf_common.h
is removed from the repo.

This commit updates the heap component and respective
esp_rom patches to take into account this new
architecture.
2024-09-16 09:02:44 +02:00
Rahul Tank
2512588884 fix(nimble): De-register host cb in stack deinit 2024-09-16 10:35:47 +05:30
Jiang Jiang Jian
5a5c004691 Merge branch 'feature/optimize_coex_connectionless_pwr' into 'master'
feat(coex): optimize connectionless coexist pwr, optimize wifi pwr with BLE IDLE

Closes WIFI-6693 and WIFI-6645

See merge request espressif/esp-idf!33437
2024-09-15 23:41:21 +08:00
Jakob Hasse
f9e7305efd fix(pthread): configuration functions check for null pointer 2024-09-14 16:42:47 +02:00
Jakob Hasse
7834519af8 refactor(pthread): added esp_pthread unit tests for linux target 2024-09-14 16:42:41 +02:00
Jakob Hasse
0b70e296a0 refactor(pthread): avoid conflict due to two PTHREAD_STACK_MIN declarations 2024-09-14 16:34:20 +02:00
liuning
83809910d2 feat(coex): optimize connectionless coexist pwr, optimize wifi pwr with bt idle 2024-09-14 19:28:09 +08:00
Lou Tianhao
dd3d5f1598 fix(ci): :fix the issue of regdma wait node to immediately return to done caused by regdma wait mode comparator for esp32c6 & esp32h2 &esp32p4 2024-09-14 19:21:51 +08:00
Shen Meng Jing
3c99557eee Merge branch 'docs/update_cn_translation' into 'master'
docs: Update CN translation for several docs

Closes DOC-8745 and DOC-8735

See merge request espressif/esp-idf!33071
2024-09-14 19:03:31 +08:00
Jiang Jiang Jian
db50b1ac63 Merge branch 'bugfix/support_cert_test' into 'master'
All chip support cert_test

Closes WIFI-5432, IDFGH-12197, and IDFHG-10756

See merge request espressif/esp-idf!27977
2024-09-14 16:44:21 +08:00
Konstantin Kondrashov
efdc853b45 Merge branch 'feature/esp32c61_esp_timer_systimer' into 'master'
feat(esp_timer): Updates systimer and esp_timer for ESP32-C61

Closes IDF-9284, IDF-10955, IDF-9307, and IDF-9308

See merge request espressif/esp-idf!33439
2024-09-14 16:08:40 +08:00
Armando (Dou Yiwen)
f4dd74ed96 Merge branch 'change/improve_xip_docs' into 'master'
psram: improve xip docs

See merge request espressif/esp-idf!33482
2024-09-14 15:59:03 +08:00
morris
46cccdea5f Merge branch 'change/mipi_dsi_remove_unused_ll' into 'master'
refactor(mipi_dsi): remove unused LL functions

See merge request espressif/esp-idf!33489
2024-09-14 15:52:37 +08:00
Konstantin Kondrashov
1489514ee5 Merge branch 'contrib/github_pr_14469' into 'master'
fix(spinlock): comparison of integer expressions of different signedness (GitHub PR)

Closes IDFGH-13581

See merge request espressif/esp-idf!33272
2024-09-14 15:34:41 +08:00
chenjianhua
241b90f3f0 fix(bt): Update bt lib for ESP32(3bf7ef0)
- Fixed BLE scanning and initiating coexist
2024-09-14 15:24:52 +08:00
Kevin (Lao Kaiyao)
c45e084145 Merge branch 'bugfix/check_sdm_clock_range' into 'master'
refactor(sdm): add check and error info to the clock division

See merge request espressif/esp-idf!33394
2024-09-14 15:07:38 +08:00
Jiang Jiang Jian
b435473323 Merge branch 'ci/wifi_power_save_got_ip_time' into 'master'
ci: increase test_wifi_power_save got ip timeout

Closes IDFCI-2379, IDFCI-2122, and IDFCI-2132

See merge request espressif/esp-idf!33538
2024-09-14 14:52:31 +08:00
liqigan
205e66c9fd fix(bt/bluedroid): Fixed not deep copy service_name and user1_ptr in RAW SDP search event 2024-09-14 14:37:50 +08:00
liqigan
1cfb537813 fix(bt/bluedroid): Fixed the SDP API compatibility bug 2024-09-14 14:37:50 +08:00
Wang Meng Yang
cda2846558 Merge branch 'feature/support_bt_avrcp_cover_art' into 'master'
feat(bt/bluedroid): Support BT AVRCP Cover Art

Closes BT-3231

See merge request espressif/esp-idf!32538
2024-09-14 14:37:19 +08:00
Konstantin Kondrashov
48b1cd53d9 Merge branch 'bugfix/check_bootloader_size_with_sign' into 'master'
fix(esptool_py): Check the size of the bootloader + signature block

Closes IDFCI-1686

See merge request espressif/esp-idf!33417
2024-09-14 14:35:21 +08:00
Shen Weilong
bf52e37fa8 feat(ble): added ble support on esp32c61 2024-09-14 12:22:04 +08:00
Chen Yudong
353c1ea77e ci: increase test_wifi_power_save got ip timeout 2024-09-14 11:26:54 +08:00
Armando
6c4fb48783 doc(psram): clarify why psram speed is faster than flash 2024-09-14 11:13:20 +08:00
Armando
256ef127dd fix(linker): fixed extern linker symbol type from int to char 2024-09-14 11:11:55 +08:00
Mu Hai Dong
dacc1f94dd Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Jiang Jiang Jian <jack@espressif.com>
2024-09-14 10:37:30 +08:00
muhaidong
30a48b126e fix(phy): esp32s2 and esph2 support rf cert_test 2024-09-14 10:37:14 +08:00
muhaidong
aa80dbe251 fix(phy): fix esp32 build fail issue
Closes https://github.com/espressif/esp-idf/issues/11972
2024-09-14 10:33:58 +08:00
xiehang
c53cedb947 fix(phy): All chip support cert_test 2024-09-14 10:33:58 +08:00
Xiao Xufeng
436bcd6c06 ci(app_update): move test_apps to subfolder with a name 2024-09-14 10:19:30 +08:00
Xiao Xufeng
cdb9f2b098 ci(spi_flash): add tests for cache2phys with XIP 2024-09-14 10:19:30 +08:00
Xiao Xufeng
8bf68ff07b fix(mmap): fixed spi_flash_phys2cache return addr in PSRAM issue
When SPIRAM_FETCH_INSTRUCTIONS or SPIRAM_RODATA enabled
2024-09-14 10:19:30 +08:00
Michael (XIAO Xufeng)
28340977bd Merge branch 'doc/spi_flash_hpm_dc_aware_version' into 'master'
doc(spi_flash): add version number for bootloader version using explicit DC_AWARE

See merge request espressif/esp-idf!33470
2024-09-14 10:19:07 +08:00
Armando (Dou Yiwen)
c7415fc78d Merge branch 'fix/fix_csi_bridge_clock_enable_issue' into 'master'
csi: bridge clock enable shared control issue

See merge request espressif/esp-idf!33498
2024-09-14 10:01:27 +08:00
Gao Xu
e5fcc53755 Merge branch 'fix/fix_isp_color_contrast_max_value' into 'master'
Fix/fix isp color contrast max value

See merge request espressif/esp-idf!33507
2024-09-14 09:20:32 +08:00
Kevin (Lao Kaiyao)
bd38d80ff0 Merge branch 'bugfix/reserve_mspi_pin_regarding_line_mode' into 'master'
fix(gpio_reserve): reserve the mspi pin regarding line mode

See merge request espressif/esp-idf!33488
2024-09-13 22:22:28 +08:00
Jiang Jiang Jian
f98e288e24 Merge branch 'ci/enable_esp32c5_target_test' into 'master'
Ci: enable esp32c5/c61 basic wifi test

See merge request espressif/esp-idf!32253
2024-09-13 20:17:58 +08:00
Island
5f6971bfa7 Merge branch 'bugfix/fixed_multi_conn_example_crash_issue' into 'master'
fix(nimble): fiexed the crash issue of examples/bluetooth/nimble/ble_multi_conn

See merge request espressif/esp-idf!33491
2024-09-13 19:17:58 +08:00
Jiang Jiang Jian
16461de2b2 Merge branch 'bugfix/fixed_rx_bar_from_null_bss_issue' into 'master'
fix(wifi): fixed softap rx bar from null bss issue

Closes WIFI-6541, FCS-1423, FCS-1424, and IDFGH-13416

See merge request espressif/esp-idf!30680
2024-09-13 19:05:17 +08:00
linruihao
eb2307af36 fix(bt/bluedroid): Fixed some bugs in AVRCP 2024-09-13 17:58:49 +08:00
linruihao
147a249d7a feat(bt/bluedroid): Support AVRCP Cover Art feature in a2dp_sink demo 2024-09-13 17:58:49 +08:00
linruihao
0de83be0fe feat(bt/bluedroid): Add Kconfig options to controll AVRCP Cover Art feature 2024-09-13 17:58:49 +08:00
linruihao
cb0d073551 feat(bt/bluedroid): Support AVRCP Cover Art feature 2024-09-13 17:58:49 +08:00
linruihao
d7298a71c3 feat(bt/bluedroid): Support GOEP Client basic feature 2024-09-13 17:58:49 +08:00
linruihao
da858edb7a feat(bt/bluedroid): Support OBEX over L2CAP 2024-09-13 17:58:49 +08:00
Radek Tandler
928addee19 Merge branch 'feature/storage_nvs_doc_update' into 'master'
docs: Improved API Guides - File system considerations for NVS

See merge request espressif/esp-idf!33465
2024-09-13 17:54:21 +08:00
Wu Zheng Hui
21ee174957 Merge branch 'fix/allows_to_forcibly_disable_sleep_submodes' into 'master'
fix(esp_hw_support): allows to forcefully disable sleep submode

Closes IDFCI-2380 and PM-228

See merge request espressif/esp-idf!33481
2024-09-13 17:52:37 +08:00
renpeiying
5fe1f22b34 docs: Update application examples for spi master, twai, and spi_slave 2024-09-13 17:05:02 +08:00
Armando
9e9225dbc2 change(rcc): change rcc var i to rcc_cnt 2024-09-13 17:00:07 +08:00
Armando
45b7b7dc1c fix(csi): fixed csi bridge clock closed by csi host driver issue 2024-09-13 17:00:07 +08:00
Chen Yudong
a8482f580a ci: enable esp32c5/c6 wifi basic target tests 2024-09-13 16:42:47 +08:00
JiangGuangMing
ee9a072c82 feat(mbedtls): bringup rom mbedtls feature to formal 2024-09-13 16:40:20 +08:00
Peter Marcisovsky
2da0f66e9a fix(usb_device): Fix console periheral, enable USJ Console on P4 2024-09-13 10:28:43 +02:00
renpeiying
27a88b83fb docs: Add or update application examples for usb_host and usb_device 2024-09-13 16:12:21 +08:00
Jiang Jiang Jian
965986bcf1 Merge branch 'fix/esp32_tx_shake_issue' into 'master'
fix(wifi):fix esp32c2 tx shake issue

Closes WIFIBUG-489 and WIFIBUG-763

See merge request espressif/esp-idf!31908
2024-09-13 15:56:31 +08:00
Roland Dobai
82ddb6920c Merge branch 'fix/docs_tools_c5_c61' into 'master'
Docs: Remove tools from the docs_not_updated list

Closes IDF-9490 and IDF-10167

See merge request espressif/esp-idf!33496
2024-09-13 15:50:44 +08:00
Shu Chen
4d4062a2b8 Merge branch 'feat/thread_dns_ext_resolve' into 'master'
feat(openthread): Replace netconn external resolve hook with dns external hook

See merge request espressif/esp-idf!33344
2024-09-13 15:45:25 +08:00
David Čermák
d4f60febdd Merge branch 'feat/lwip_2.2.0' into 'master'
feat(lwip): Support for new lwip release 2.2.0

Closes IDFGH-11237

See merge request espressif/esp-idf!30388
2024-09-13 15:38:23 +08:00
muhaidong
8daa2e308b fix(wifi): fix some wifi issues
1. fixed softap rx bar from null bss issue
2. fixed multi country info issue
https://github.com/espressif/esp-idf/issues/14323
2024-09-13 15:14:32 +08:00
Xu Xiao
e035e798b7 Merge branch 'feat/add_support_for_ap_choose' into 'master'
feat(wifi): add support for ap choose

Closes WIFIBUG-732, WIFIBUG-741, WIFIBUG-744, WIFIBUG-735, WIFI-6430, and BT-3853

See merge request espressif/esp-idf!33353
2024-09-13 15:03:02 +08:00
gaoxu
5e46dba0f7 fix(adc): fix isp contrast and saturation max value 2024-09-13 14:21:06 +08:00
Roland Dobai
899879cfad fix(docs): Remove tools from the docs_not_updated list 2024-09-13 14:20:20 +08:00
laokaiyao
c6e7e82524 change(sdm): delete the confusing part in sdm programming guide 2024-09-13 14:13:20 +08:00
laokaiyao
d9d316b97d refactor(sdm): add check and error info to the clock division 2024-09-13 14:13:20 +08:00
Erhan Kurubas
d8d57e1965 Merge branch 'sysview_sbom_file' into 'master'
feat(sysview): add sbom manifest file

Closes IDF-8232

See merge request espressif/esp-idf!33330
2024-09-13 13:25:48 +08:00
morris
5ddeab65e3 refactor(mipi_dsi): remove unused LL functions
MIPI DSI PHY reference clock is controlled in hp_sys_clkrst register
2024-09-13 12:24:12 +08:00
xuxiao
73079de058 fix(phy): update libphy to fix tx power is not correct after enable tsens 2024-09-13 11:34:18 +08:00
xuxiao
ffb227ebd2 feat(wifi): add support for ap choose 2024-09-13 11:34:18 +08:00
Jiang Jiang Jian
68d504b4fd Merge branch 'ci/fix_bt_ci' into 'master'
test(ci): fix bt ci that there is no flash_80m config

See merge request espressif/esp-idf!33499
2024-09-13 11:33:51 +08:00
C.S.M
bfdb9f308d test(ci): fix bt ci that there is no flash_80m config 2024-09-13 11:06:20 +08:00
laokaiyao
a80603c05b fix(gpio_reserve): reserve the mspi pin regarding line mode 2024-09-13 11:02:07 +08:00
Fu Hanxi
a760bd2472 Merge branch 'feat/split_pytest_requirements' into 'master'
feat: split pytest requirements to base and test-specific

Closes IDFCI-2307 and IDFCI-2376

See merge request espressif/esp-idf!33429
2024-09-13 02:44:44 +08:00
Fu Hanxi
bc36fda936 ci: temp disable esp32p4 for loadable ram 2024-09-12 15:04:00 +02:00
Shen Weilong
798b7c92c4 fix(ble): fiexed the crash issue of examples/bluetooth/nimble/ble_multi_conn 2024-09-12 20:36:39 +08:00
Fu Hanxi
dc1851bd5a docs: fix indentation error in s3 spi_flash kconfig 2024-09-12 20:18:46 +08:00
Fu Hanxi
1fa6d49f6f ci: remove idf-env.json before install.sh for macos jobs 2024-09-12 20:18:46 +08:00
Fu Hanxi
dca0465095 feat: split pytest requirements to base and test-specific 2024-09-12 20:18:46 +08:00
chenjianhua
53a8345e60 refactor(bt/bluedroid): Refactor the print for BLE examples 2024-09-12 19:30:45 +08:00
Tomas Borcin
83393cdec8 docs: Adding ESP-IDF Project Roadmap 2024-09-12 12:51:22 +02:00
Abhik Roy
1889851d7c Merge branch 'contrib/github_pr_14411' into 'master'
fix(esp_netif): Fixed initializer order of ESP_IP macros for C++ (GitHub PR)

Closes IDFGH-13520

See merge request espressif/esp-idf!33175
2024-09-12 18:44:40 +08:00
morris
c6433de7cc Merge branch 'feat/rgb_lcd_example_lvgl9' into 'master'
feat(rgb_lcd): adapt to LVGL v9

See merge request espressif/esp-idf!33479
2024-09-12 18:32:26 +08:00
Song Ruo Jing
2cef80666b Merge branch 'feature/gpio_add_direction' into 'master'
feat(gpio): allow appending mode to IOs

See merge request espressif/esp-idf!33181
2024-09-12 18:20:11 +08:00
Jiang Jiang Jian
8b962f91a2 Merge branch 'ble_feat/esp32c5_mp_support_ble_light_sleep' into 'master'
feat(ble): support ble light sleep on esp32c5

Closes BLERP-1006

See merge request espressif/esp-idf!33325
2024-09-12 16:59:58 +08:00
David Čermák
4dd715922f Merge branch 'fix/freertos_sim_nonblock_select' into 'master'
fix(freertos): Made select function non-blocking on Linux target (GitHub PR)

Closes IDFGH-13569 and IDFGH-13498

See merge request espressif/esp-idf!33331
2024-09-12 16:57:58 +08:00
Roman Leonov
fac1966c9b Merge branch 'refactor/usb_host_ext_hub_cleanup' into 'master'
refactor(hub): Cleaned up dev_tree_node debug output, moved node freeing

See merge request espressif/esp-idf!33380
2024-09-12 16:01:36 +08:00
David Cermak
015ab1d18f fix(lwip): Fix linker/fr symbol for tcp_output_control segment
In lwip-2.1.3 tcp_output_control_segment() is used to send RST, empty
ACK, keepalive or zero window probe.
In lwip-2.2.0 this works the same, but the function is used when we
don't know the interface to send to (and if used it finds it and calls)
tcp_output_control_segment_netif().
When `LWIP_EXTRA_IRAM_OPTIMIZATION=y` we would ideally move both
variants to IRAM, but the pcb variant (tcp_output_control_segment) could
be optimized away on some targets and toolchain versions.
(esp32c6 with riscv32-esp-elf/esp-14.2.0_20240906)
It should be sufficient to keep tcp_output_control_segment_netif in IRAM
for most common performance usecases.
2024-09-12 09:52:13 +02:00
Konstantin Kondrashov
7b0b80f46f fix(examples): Increases partition table offset for SBV2+FE test 2024-09-12 15:38:18 +08:00
Konstantin Kondrashov
d2123cf531 fix(esptool_py): Check the size of the bootloader + signature block 2024-09-12 15:38:18 +08:00
Liu Xiao Yu
52175a6548 Merge branch 'refactor/supplement_plic_intr_rv_util_apis' into 'master'
refactor(intr): add plic and intc interrupt rv util apis

See merge request espressif/esp-idf!33244
2024-09-12 15:28:24 +08:00
morris
6e8a958754 feat(rgb_lcd): adapt to LVGL v9
This commit mainly refactor the RGB_LCD example to use the latest LVGL
V9 library.
2024-09-12 15:13:27 +08:00
wuzhenghui
0cd6532d36 docs(sleep_mode): update outdated sleep mode configure API in docs 2024-09-12 15:09:31 +08:00
wuzhenghui
37fa09f1dc fix(esp_hw_support): allows to forcefully disable submodes at mode initialization 2024-09-12 15:09:25 +08:00
Konstantin Kondrashov
3081a4ea49 feat(esp_timer): Updates systimer and esp_timer 2024-09-12 14:26:37 +08:00
Konstantin Kondrashov
00991f1bf5 Merge branch 'feature/esp32c61_re_enable_base_mac_address_test' into 'master'
feat(system): Re-enables the pytest_base_mac_address test for ESP32-C61

Closes IDF-10956

See merge request espressif/esp-idf!33441
2024-09-12 13:24:07 +08:00
Mahavir Jain
fd192e0e9e Merge branch 'fix/ds_tries_acquiring_mpi_lock_twice' into 'master'
Clean up DS trying to re-acquire MPI lock post common crypto lock layer

See merge request espressif/esp-idf!33056
2024-09-12 12:18:22 +08:00
C.S.M
3008d11a68 Merge branch 'refactor/flash_frequency_esptool' into 'master'
refactor(spi_flash): Refactor the flash frequency config file

Closes IDF-10488

See merge request espressif/esp-idf!33427
2024-09-12 10:37:58 +08:00
Marius Vikhammer
35a6671072 Merge branch 'feature/c6_misc_core' into 'master'
feat(system): misc core-system C61 bringup changes

Closes IDF-10954, IDF-10986, IDF-10957, IDF-9281, and IDF-9257

See merge request espressif/esp-idf!33297
2024-09-12 09:46:30 +08:00
Marius Vikhammer
5486653a18 Merge branch 'contrib/github_pr_14422' into 'master'
feat(esp_system,ulp): LP core reserved mem optionally executable from HP core (GitHub PR)

Closes IDFGH-13533

See merge request espressif/esp-idf!33139
2024-09-12 09:10:22 +08:00
Erhan Kurubas
8fd3e8c0d3 fix(apptrace): fix build error when print lock is enabled 2024-09-11 23:02:11 +03:00
Konstantin Kondrashov
e8dab4c257 Merge branch 'feature/esp32c61_update_efuses' into 'master'
feat(efuse): Updates efuse table for esp32c61

Closes IDF-11057 and IDF-9282

See merge request espressif/esp-idf!33436
2024-09-12 01:20:20 +08:00
Xiao Xufeng
ba06e0cfc8 docs(spi_flash): add version number for bootloader version using explicit DC_AWARE 2024-09-12 00:09:15 +08:00
snake-4
09bbc75d96 fix(esp_netif): Fixed initializer order of ESP_IP macros for C++ 2024-09-12 01:25:42 +10:00
Wu Zheng Hui
6abe40e590 Merge branch 'feature/optimize_esp32p4_active_power_eco1' into 'master'
feat(system): Optimize esp32p4 active state  power consumption

Closes PM-103 and IDF-7688

See merge request espressif/esp-idf!32950
2024-09-11 23:15:29 +08:00
Abhik Roy
3aee7c920d Merge branch 'examples/icmpv6_ping_ll_support' into 'master'
fix(examples/icmpv6): Added support for pinging link-local address

Closes FCS-1499

See merge request espressif/esp-idf!32168
2024-09-11 22:58:58 +08:00
David Cermak
4d046b3732 feat(lwip): Reference official lwip-2.2.0-esp 2024-09-11 16:48:07 +02:00
David Cermak
b61a5e7636 change(openthread): Update prebuilt OT lib to comply with lwip ABI 2024-09-11 16:48:07 +02:00
David Cermak
c098388a2f fix(lwip): Use ACD light module for simple DHCP-ARP check 2024-09-11 16:48:07 +02:00
David Cermak
720b74026c fix(esp_netif): Use internal DHCP struct 2024-09-11 16:48:06 +02:00
David Cermak
e8ac6af67e fix(esp_netif): Fix per pppos callback update in new lwip 2024-09-11 16:48:06 +02:00
David Cermak
22f213b518 feat(lwip): Add support for lwip 2.2.0-esp release 2024-09-11 16:48:00 +02:00
Peter Marcisovsky
2e100a3518 Merge branch 'fix/usb_host_change_log_level' into 'master'
fix(usb_host): Update log level and error poropagation

See merge request espressif/esp-idf!33361
2024-09-11 22:37:24 +08:00
radek.tandler
65df4d6e34 fix(storage/nvs): improved documentation section in file system considerations
fix(storage/nvs): improved documentation section in file system considerations1
2024-09-11 16:10:10 +02:00
Wu Zheng Hui
f3c4d57f13 Merge branch 'fix/fix_clock_retention_link_context' into 'master'
fix(esp_hw_support): add clock retention contents for esp32c6 & esp32h2

Closes IDF-9629

See merge request espressif/esp-idf!33411
2024-09-11 21:12:23 +08:00
Rahul Tank
c6bed070d6 Merge branch 'feat/add_ext_adv_param_v2' into 'master'
feat(nimble): Add support for ext adv param v2 HCI command

Closes BLERP-499

See merge request espressif/esp-idf!32863
2024-09-11 18:47:07 +08:00
Abhik Roy
e1102e6794 fix(examples/icmpv6): Added support for pinging link-local address 2024-09-11 20:45:26 +10:00
Xiaoyu Liu
3d403a4ba8 refactor(intr): unify riscv freertos set/clear intr mask from isr apis
refactor(intr): find a potential bug that clic intr mask need extra nop ops
2024-09-11 18:26:07 +08:00
Xiaoyu Liu
8a608da2b0 refactor(intr): add plic and intc interrupt rv util apis
refactor(intr): remove the extra instructions in plic and intc
2024-09-11 18:26:07 +08:00
Cristian Funes
08a1e1350c fix(pthread): Add esp_pthread function implementations for linux target 2024-09-11 12:20:32 +02:00
Song Ruo Jing
e1d3d830ce refactor(gpio): public some IO configuration functions
This allows different peripheral drivers to act on the same IO.
2024-09-11 18:07:46 +08:00
nilesh.kale
12fc7a677e feat: enable support for sha peripheral in esp32c61 2024-09-11 14:49:01 +05:30
Sudeep Mohanty
1b6a829e81 Merge branch 'feat/lp_core_lp_adc_support' into 'master'
feat(lp_adc): Addded support for LP ADC for the LP core on esp32p4

Closes IDF-6875 and IDF-10205

See merge request espressif/esp-idf!33117
2024-09-11 17:16:40 +08:00
Wu Zheng Hui
eab98765ad Merge branch 'feature/introduce_internal_sleep_sub_mode_configure_api' into 'master'
feat(esp_hw_support): introduce internal sleep sub mode configure api

Closes PM-216

See merge request espressif/esp-idf!30687
2024-09-11 17:01:59 +08:00
Wang Meng Yang
c27614fdaa Merge branch 'bugfix/fix_missing_per_adv_sync_est_evt' into 'master'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(c66a703)

Closes BT-3859

See merge request espressif/esp-idf!33363
2024-09-11 16:40:26 +08:00
Jiang Jiang Jian
31c60963b5 Merge branch 'bugfix/roaming_app_support_wifi_disconnect' into 'master'
Stops roaming app upon application initiated disconnect

Closes WIFIBUG-551 and WIFIBUG-636

See merge request espressif/esp-idf!30738
2024-09-11 16:10:33 +08:00
Lou Tian Hao
c7d532049a Merge branch 'feature/esp32c61_light_sleep_support_stage_2' into 'master'
feat(esp_hw_support): esp32c61 sleep support (Stage 2: support basic pmu sleep function)

Closes IDF-9248, IDF-9247, IDF-9246, IDF-10993, IDF-9250, PM-203, and IDF-9244

See merge request espressif/esp-idf!33294
2024-09-11 15:11:58 +08:00
Song Ruo Jing
832e08c82f Merge branch 'feature/esp32c61_lp_io_support' into 'master'
feat(lp_io): Add LP_IO support for ESP32C61

Closes IDF-9317

See merge request espressif/esp-idf!33013
2024-09-11 14:45:54 +08:00
Roland Dobai
0b43a55625 Merge branch 'feat/update_tools_in_tools_json' into 'master'
feat(tools): Update tools: cmake, ninja, ccache

Closes IDF-10686 and IDFGH-13476

See merge request espressif/esp-idf!32726
2024-09-11 14:40:19 +08:00
Kapil Gupta
b66f4444d7 fix(esp_wifi): Stop roaming app when station stops 2024-09-11 12:01:31 +05:30
C.S.M
44ff115557 refactor(spi_flash): Refactor the flash frequency config file 2024-09-11 14:13:26 +08:00
Marius Vikhammer
40352943e3 ci(system): re-enable system test app for C61 2024-09-11 14:05:11 +08:00
Marius Vikhammer
b93e2a6915 test(intr): fix intr dump test for C61 and re-enable it 2024-09-11 14:05:11 +08:00
Marius Vikhammer
e1e02cae0c feat(system): enable WDT support on esp32c61 2024-09-11 14:05:11 +08:00
Rahul Tank
1f41827bc3 Merge branch 'bugfix/bidirectioanl_data_transfer_ble_spp' into 'master'
fix(nimble): Added support for bidirectional data trasfer

Closes BLERP-1021

See merge request espressif/esp-idf!33402
2024-09-11 14:02:51 +08:00
C.S.M
f5a2a1ff82 Merge branch 'fix/i2c_out_od_reg_value' into 'master'
fix(i2c): Fix the i2c sda/scl force out register value on some esp chips(c6,h2,p4,c5,c61)

See merge request espressif/esp-idf!33299
2024-09-11 13:52:37 +08:00
C.S.M
04e925e4a8 Merge branch 'feature/suspend_bringup' into 'master'
feat(spi_flash): Add suspend support on esp32c5, esp32c61

Closes IDF-9255 and IDF-8648

See merge request espressif/esp-idf!33364
2024-09-11 13:48:11 +08:00
Konstantin Kondrashov
2af66dac25 Merge branch 'feature/ipc_isr_riscv_test_enable' into 'master'
feat(system): Enables test_ipc_isr_riscv for ESP32-P4

Closes IDF-8353

See merge request espressif/esp-idf!33440
2024-09-11 12:56:30 +08:00
Kapil Gupta
09b421674b fix(esp_wifi): Remove duplicate declaration of function 2024-09-11 10:03:38 +05:30
jgujarathi
e411e43b4b fix(examples) : Common component's wifi disconnect handler should ignore roaming disconnect
- Common component's wifi disconnect handler should ignore roaming disconnect (WIFI_REASON_ROAMING)
  as connect gets issued internally in these cases.
2024-09-11 11:39:43 +08:00
jgujarathi
6547315dde fix(esp_wifi): Stops roaming app upon application initiated disconnect
Stops roaming app when the application initiates a disconnect.
Roaming app if enabled will be restarted when the station reconnects again.
2024-09-11 11:39:43 +08:00
jgujarathi
e2ba2cfbe2 fix(esp_supplicant): Fix compilation issues with btm and rrm status funcs
- Ensure that the btm and rrm status funcs can be used even if 80211.kv
  are not enabled in menuconfig. They will return false in such cases.
2024-09-11 11:39:43 +08:00
wangtao@espressif.com
c46cb415bd fix(wifi): fix esp32c2 tx shake issue 2024-09-11 11:32:25 +08:00
linruihao
b4100e5362 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(c66a703)
- Fixed missing sync established event after canceling sync
2024-09-11 11:14:19 +08:00
wuzhenghui
21f79616bd change(esp_driver_spi): increase SPI_PER_TRANS_POLLING peformance tolerance 2024-09-11 10:53:45 +08:00
wuzhenghui
13e42707a0 feat(esp_hw_support): add clk tree source gate management api 2024-09-11 10:53:01 +08:00
wuzhenghui
c41d432397 fix(ulp): fix uart driver delete order in lp uart test case 2024-09-11 10:53:00 +08:00
wuzhenghui
71fb3d2f31 fix(esp_system): fix test rodata being prefetched into cache unexpectedly 2024-09-11 10:53:00 +08:00
wuzhenghui
05e74480f5 feat(esp_system): gate some clock by default to optmize esp32p4 active power 2024-09-11 10:53:00 +08:00
Zhang Xiao Yan
fba9b50456 Merge branch 'docs/update_startup_for_single_core_chip' into 'master'
docs: update startup.rst description for single-core chip support

See merge request espressif/esp-idf!33393
2024-09-11 10:32:44 +08:00
Zhang Xiao Yan
56ac70430e docs: update startup.rst description for single-core chip support 2024-09-11 10:32:44 +08:00
chenjianhua
e4e23087ee fix(bt/bluedroid): Fixed access fault when reading BLE controller information fails 2024-09-11 10:26:45 +08:00
chenjianhua
e4a372ab76 feat(bt/bluedroid): Add BLE connection id param for ESP_GATTS_RESPONSE_EVT 2024-09-11 10:26:45 +08:00
Wang Tao
9b242a4817 Merge branch 'feat/add_protect_for_softap_send_no_bss_deauth' into 'master'
feat(wifi): add protect for softap when sending mgmt frame to not connected station

Closes WIFIBUG-453、WIFIBUG-624、WIFIBUG-416、WIFIBUG-439、WIFI-6569

See merge request espressif/esp-idf!31780
2024-09-11 10:21:08 +08:00
WanqQixiang
f62628d334 feat(openthread): Replace netconn external resolve hook with dns external hook 2024-09-11 09:59:06 +08:00
Kevin (Lao Kaiyao)
a0e954b941 Merge branch 'refactor/prepare_to_split_soc_include_folder' into 'master'
refactor(soc): create soc include folders

See merge request espressif/esp-idf!33303
2024-09-11 09:58:15 +08:00
Zhang Xiao Yan
afd74267c8 Merge branch 'docs/add_application_examples_ble_mesh' into 'master'
docs: update application examples for BLE mesh

See merge request espressif/esp-idf!32187
2024-09-11 09:56:29 +08:00
Ivan Grokhotkov
0a2dc3b2d6 Merge branch 'doc/sdmmc_emmc_support' into 'master'
docs(sdmmc): update information about eMMC support

Closes DOC-8906

See merge request espressif/esp-idf!33022
2024-09-10 22:06:33 +08:00
Song Ruo Jing
9994f493ed feat(lp_io): Add LP_IO support for ESP32C61 2024-09-10 20:50:31 +08:00
Armando (Dou Yiwen)
87b295a35f Merge branch 'feat/ram_loadable_app_c5_c61' into 'master'
ram_app: support c5 c61, fixed PMA15 occupied by ROM issue

Closes IDF-8644, IDF-9251, IDF-10315, and IDF-10951

See merge request espressif/esp-idf!33381
2024-09-10 20:25:36 +08:00
Konstantin Kondrashov
75c917eef8 feat(system): Re-enables the pytest_base_mac_address test for ESP32-C61 2024-09-10 15:09:32 +03:00
Konstantin Kondrashov
f555812975 feat(system): Enables test_ipc_isr_riscv for ESP32-P4 2024-09-10 15:02:42 +03:00
Lou Tianhao
d242b662c4 change(pm): remove some cache regs that don not need to backup now 2024-09-10 19:37:50 +08:00
Lou Tianhao
50ec7f990c fix(ci): take some actions to pass ci 2024-09-10 19:37:50 +08:00
Lou Tianhao
ac76402aff fix(pm): write back cache for psram 2024-09-10 19:37:50 +08:00
Lou Tianhao
d5c58a1d8c fix(pm): add hp power_supply_wait_time_us to avoid power glitch 2024-09-10 19:37:45 +08:00
Rahul Tank
c7a238054a feat(nimble): Add support for ext adv param v2 HCI command 2024-09-10 16:59:40 +05:30
Konstantin Kondrashov
8539760e79 feat(efuse): Updates efuse table for esp32c61 2024-09-10 14:16:29 +03:00
Mahavir Jain
02c3445c66 Merge branch 'fix/adding_check_for_nvs_partition' into 'master'
fix(nvs_sec_provider): Added check for nvs_keys partition

See merge request espressif/esp-idf!33212
2024-09-10 18:11:26 +08:00
cjin
50d410e1c8 feat(ble): support ble light sleep on esp32c5 2024-09-10 15:19:22 +08:00
Ivan Grokhotkov
f789b4eb45 Merge branch 'bugfix/build_test_better_errors' into 'master'
test(build_system): print failed command and output when test fails

See merge request espressif/esp-idf!32962
2024-09-10 15:18:41 +08:00
Ivan Grokhotkov
71fe7543f1 docs(sdmmc): update information about eMMC support
Related to https://esp32.com/viewtopic.php?f=13&t=41088

Co-authored-by: Zhang Shu Xian <zhangshuxian@espressif.com>
2024-09-10 09:14:54 +02:00
Sudeep Mohanty
0b75e75f2c feat(lp_adc): Added example to demonstrate LP ADC usage from LP Core
This commit adds an example which demonstrates how to configure and use
the LP ADC from the LP core while the main core is in deep sleep.
2024-09-10 08:45:11 +02:00
Sudeep Mohanty
594880dae4 test(lp_adc): Added LP Core unit tests for testing LP ADC
Added a unit test to verify that LP ADC1 works and can be read from the
LP Core.
2024-09-10 08:45:11 +02:00
Sudeep Mohanty
1e5efd7fa7 feat(lp_adc): Added support to read LP ADC from the LP core
This commit adds APIs to initialize and configure the LP ADC from the HP
core and also adds APIs to read the raw and converted ADC values from the LP core.
2024-09-10 08:45:11 +02:00
Sudeep Mohanty
d604e09274 feat(lp_adc): Added support for LP ADC initialization to the esp_adc oneshot driver
This commit adds support for LP ADC initialization to the esp_adc
oneshot driver, when it is used from the HP core.
2024-09-10 08:45:11 +02:00
Sudeep Mohanty
f972cd4bbd feat(clk): Addded support for LP ADC clock source for esp32p4
This commit adds support for the LP ADC clock source on the esp32p4.
2024-09-10 08:45:11 +02:00
wangtao@espressif.com
85da8402be feat(wifi): add protect for softap send no bss deauth 2024-09-10 14:23:43 +08:00
Jiang Jiang Jian
72266fd7ce Merge branch 'feature/support_coexist_debug' into 'master'
feat(coex): support GPIO debug

Closes WIFI-6625

See merge request espressif/esp-idf!32371
2024-09-10 14:17:52 +08:00
C.S.M
c2f6144daa fix(i2c): Fix the i2c sda/scl force out register value on some esp chips 2024-09-10 13:45:50 +08:00
andylinpersonal
0e30c42625 feat(esp_system,ulp): Make LP core reserved memory optionally executable in HP core 2024-09-10 12:17:38 +08:00
hrushikesh.bhosale
aaf1f868d5 fix(nvs_sec_provider): Added check for nvs_keys partition
Added check to whether nvs_keys partition is provided or not in partiton csv.
Converted nvs_sec_provider_register_flash_enc_ctr and nvs_sec_provider_register_hmac_ctr
functions from __attribute__(constructor) to ESP_SYSTEM_INIT_FN.
2024-09-10 12:12:02 +08:00
Mahavir Jain
ef221d007a Merge branch 'feat/update_protocol_docs_for_esp32c61' into 'master'
docs(protocols): Updated the protocol docs for esp32c61

Closes IDF-10178

See merge request espressif/esp-idf!33384
2024-09-10 12:10:37 +08:00
Omar Chebib
bc0b04d779 Merge branch 'staging/enabling_panic_test_esp32c61' into 'master'
test(panic): enable tests for esp32c61

Closes IDF-10994

See merge request espressif/esp-idf!33277
2024-09-10 11:37:38 +08:00
Armando
9c81fe6114 fix(mspi): fixed mspi clock wrong on ram loadable app on c61, enable tests on c5 c61 2024-09-10 11:12:03 +08:00
Armando
17fc026c48 fix(pma): fixed pma 15 occupied by rom on c5 issue 2024-09-10 11:12:02 +08:00
Armando
42cf1d8867 fix(mspi): fixed mspi clock wrong on ram loadable app on c5 2024-09-10 11:12:02 +08:00
Lou Tianhao
46af50ee5a fix(pm): mspi cannot access flash when pd pll source 2024-09-10 10:45:57 +08:00
Lou Tianhao
d4447739a9 example(light_sleep); enable lp_timer/gpio/uart wakeup for esp32c61 2024-09-10 10:45:57 +08:00
Lou Tianhao
fd94fe1161 feat(pm): support cpu retention for esp32c61 2024-09-10 10:45:52 +08:00
Lou Tianhao
c9434aaebf change(pm): update pmu analog param for lightsleep(including pu xtal and fosc) & deepsleep 2024-09-10 10:44:13 +08:00
Lou Tianhao
0926a700c2 feat(pm): support basic pmu sleep 2024-09-10 10:44:13 +08:00
liuning
691b6e245b feat(coex): support GPIO debug 2024-09-10 10:40:15 +08:00
C.S.M
9e864ffe26 feat(spi_flash): Add suspend support on esp32c5, esp32c61 2024-09-10 10:36:27 +08:00
laokaiyao
65f49c6a7b refactor(soc): create soc include folders 2024-09-10 09:56:11 +08:00
morris
f0a2091e4d Merge branch 'bugfix/i2c_clear_bus_wrong_calue' into 'master'
fix(i2c): Fix the wrong return value of esp32,esp32s2,esp32s3

See merge request espressif/esp-idf!33403
2024-09-10 09:30:49 +08:00
Sean DuBois
58775cce6e fix(ws_transport): Fix crash when reading
When parsing WS framing protocol integer promotion would cause
invalid values to be read. Acting upon these values would eventually
cause a crash

Fixes esp-protocols#645
2024-09-09 12:32:37 -04:00
Roland Dobai
d5341bd455 Merge branch 'fix/fix_shell_detection' into 'master'
fix(activate): use exe instead of comm for parent shell detection

Closes IDF-11080

See merge request espressif/esp-idf!33378
2024-09-09 23:03:22 +08:00
David Cermak
f7129481ed fix(freertos): Update select on Linux target to handle edge cases
* Handle not found "select()" symbol if dlsym() return NULL
* Handle minimum wait time if remaining time < designated minimum sleep
time
2024-09-09 16:52:51 +02:00
Astha Verma
4cbf2eb899 fix(nimble): Added support for bidirectional data trasfer 2024-09-09 18:36:21 +05:30
wuzhenghui
2172aaf6a2 fix(esp_hw_support): add clock retention contents 2024-09-09 20:49:06 +08:00
hrushikesh.bhosale
952533bee3 docs(systems): Updated the random number generator docs for esp32c61
Udpated the non_updated_docs for esp32c61 for random number geneartor
2024-09-09 17:20:35 +05:30
C.S.M
5141f01e56 fix(i2c): Fix the wrong return value of esp32,esp32s2,esp32s3 2024-09-09 19:15:02 +08:00
Armando (Dou Yiwen)
8d75f0d198 Merge branch 'fix/ram_loadable_app_p4' into 'master'
ram_app: fixed ram loadable app on p4

Closes IDF-8994

See merge request espressif/esp-idf!33312
2024-09-09 18:07:26 +08:00
Jiang Jiang Jian
489ba7c2fa Merge branch 'bugfix/enable_ci_build_by_esp32p4_with_extconn' into 'master'
fix(wifi): enable ci build by sdkconfig.ci.esp32p4_with_extconn

See merge request espressif/esp-idf!33319
2024-09-09 17:27:36 +08:00
Jiang Jiang Jian
9a47de53e1 Merge branch 'feat/support_esp32c2_eco4_rom_mbedtls_v3.6.0_lts' into 'master'
feat(mbedtls): support esp32c2 rev2.0 ROM mbedTLS v3.6.0-LTS

Closes IDF-10680

See merge request espressif/esp-idf!33227
2024-09-09 16:53:53 +08:00
Chai Ji’e
a90000856c Merge branch 'bugfix/fix_wrong_sleep_memory_param_p4_c5_c61' into 'master'
fix(sleep): fix_wrong_sleep_param_for_lp_memory_retention

See merge request espressif/esp-idf!33304
2024-09-09 15:45:18 +08:00
Alexey Lapshin
599c14d8f0 Merge branch 'feature/update-toolchain-to-esp-14.2.0_20240903' into 'master'
feat(tools): update toolchain version to esp-14.2.0_20240906

Closes IDFGH-13033, IDFGH-13355, and IDFGH-13360

See merge request espressif/esp-idf!33295
2024-09-09 14:22:47 +08:00
Tomáš Rohlínek
1f0763b932 fix(storage/example): correct alloc function 2024-09-09 07:54:42 +02:00
C.S.M
2014e5ae10 Merge branch 'fix/bus_clear_error' into 'master'
fix(i2c): Fix possible error state in clear the bus

Closes IDFGH-12655

See merge request espressif/esp-idf!33174
2024-09-09 11:51:17 +08:00
hrushikesh.bhosale
737bbb4a91 docs(protocols): Updated the protocol docs for esp32c61
Checked and updated the not_updated_docs for esp32c61 for
protocols examples
2024-09-09 08:55:37 +05:30
chenjianhua
fe43c8f1b5 fix(bt/controller): Change the max TX power to +20dBm on ESP32-C3 and ESP32-S3 2024-09-09 11:25:10 +08:00
Zhang Xiao Yan
10f10ad313 Merge branch 'docs/update_application_examples_phy' into 'master'
docs: add application examples for phy.rst

See merge request espressif/esp-idf!32470
2024-09-09 10:47:11 +08:00
Linda
1263b97c5b docs: update application examples for BLE mesh 2024-09-09 10:45:55 +08:00
Armando
6933ba39bc fix(system): fixed ram loadable app on p4 2024-09-09 10:31:48 +08:00
morris
24047f9a04 Merge branch 'docs/sync_psram_noinit_and_bss_description' into 'master'
docs(psram): sync psram noinit description

See merge request espressif/esp-idf!33360
2024-09-09 10:00:07 +08:00
Peter Marcisovsky
3362e18432 fix(usb_host): Update log level and error poropagation 2024-09-08 18:43:42 +02:00
Wang Meng Yang
160bd658fc Merge branch 'bugfix/exit_sniff_immed_enter_sniff' into 'master'
fix(bt/bluedroid): Fix the protocol stack to exit sniff mode

Closes BTQABR2023-291

See merge request espressif/esp-idf!33305
2024-09-08 15:49:31 +08:00
Alexey Lapshin
57d39c3923 fix(driver_spi): supress overlapping buffers warning for GCC analyzer 2024-09-08 13:53:52 +07:00
Alexey Lapshin
401b395106 fix(hal): supress overlapping buffers warning for GCC analyzer 2024-09-08 13:53:52 +07:00
Alexey Lapshin
eee58bb717 fix(camera_dsi): update esp_cam_sensor example dependency 2024-09-08 13:53:52 +07:00
Alexey Lapshin
2dc4ca4fa6 fix(ci): ignore .section field for check_public_headers.py 2024-09-08 13:53:52 +07:00
Alexey Lapshin
d529da25c4 fix(driver_dac): fix GCC 14 analyzer warnings
error: check of 's_ddp' for NULL after already dereferencing it
2024-09-08 13:53:52 +07:00
Alexey Lapshin
1370511dff fix(esp_timer): place esp_timer_get_time test to IRAM 2024-09-08 13:53:52 +07:00
Alexey Lapshin
29b028076a feat(cxx): change test value of __cplusplus to 202302L 2024-09-08 13:53:52 +07:00
Alexey Lapshin
664c2e6b77 feat(build): add CONFIG_COMPILER_DISABLE_GCC14_WARNINGS option 2024-09-08 13:53:52 +07:00
Alexey Lapshin
6f1671c9c9 fix(i2c): fix memory allocation size in example 2024-09-08 13:53:52 +07:00
Alexey Lapshin
f1c0fc0bbd fix(bt): fix alloc-size warning
Warning: allocation of insufficient size '36' for type 'tBTA_DM_MSG'
with size '320' [-Werror=alloc-size]
2024-09-08 13:53:52 +07:00
Alexey Lapshin
205e814563 fix(esp_psram): fix dead code compilation 2024-09-08 13:53:52 +07:00
Alexey Lapshin
5737ba06c3 fix(esp_hw_support): fix acessing array bellow bounds 2024-09-08 13:53:52 +07:00
Alexey Lapshin
a262e879d1 fix(esp_http_server): fix GCC 14 analyzer warnings 2024-09-08 13:53:52 +07:00
Alexey Lapshin
725b9ec81e fix(freertos): fix GCC 14 analyzer warnings 2024-09-08 13:53:52 +07:00
Alexey Lapshin
06fdb02435 fix(newlib): fix GCC 14 analyzer warnings 2024-09-08 13:53:52 +07:00
Alexey Lapshin
5e4d6190d8 fix(pthread): fix GCC 14 analyzer warnings 2024-09-08 13:53:52 +07:00
Alexey Lapshin
4d2881dac1 fix(hal): fix GCC 14 analyzer warnings 2024-09-08 13:53:52 +07:00
Alexey Lapshin
7498f4655a fix(esp_system): fix GCC 14 analyzer warnings 2024-09-08 13:53:52 +07:00
Alexey Lapshin
4c87af6359 fix(build): fix calloc warnings 2024-09-08 13:53:52 +07:00
Alexey Lapshin
47212eaa3a feat(tools): update toolchain version to esp-14.2.0_20240903
Closes https://github.com/espressif/esp-idf/issues/13979
Closes https://github.com/espressif/esp-idf/issues/14273
Closes https://github.com/espressif/esp-idf/issues/14267
2024-09-08 13:52:22 +07:00
Roman Leonov
a9d960a81f refactor(hub): Cleaned up dev_tree_node debug output, moved node freeing 2024-09-06 22:44:37 +02:00
wuzhenghui
fd79c593fb fix(ci): increase uart driver test memory leak threshold 2024-09-07 02:04:43 +08:00
wuzhenghui
0272fc405b change(esp_hw_support): update test cases with new sub-mode setting API 2024-09-07 02:04:43 +08:00
wuzhenghui
5184d7ec98 change(esp_hw_support): replace esp_sleep_periph_use_8m with new API 2024-09-07 02:04:43 +08:00
wuzhenghui
7555686649 change(esp_hw_support): replace rtc_sleep_enable_ultra_low with new API 2024-09-07 02:04:43 +08:00
wuzhenghui
b1df2688ce change(esp_hw_support): replace esp_sleep_enable_adc_tsens_monitor with new API 2024-09-07 02:04:43 +08:00
wuzhenghui
417edbb2e2 feat(esp_hw_support): introduce sub sleep mode config API 2024-09-07 02:04:38 +08:00
Wan Lei
92fc3e9a5d Merge branch 'refa/replce_esp_dma_xxx_malloc_api' into 'master'
refa(spi): clean up esp_dma_xxx memory allocation code

Closes IDF-9656

See merge request espressif/esp-idf!31239
2024-09-06 22:08:22 +08:00
Frantisek Hrbata
65d18fce4c fix(activate): use exe instead of comm for parent shell detection
Currently, we are using psutil.Process().name(), which includes the
command as entered on the command line. This becomes an issue if the
export script is initiated within another script.

run.sh

    #!/usr/bin/bash
    . ./export.sh

In this case the activate script will see `run.sh` instead of bash.

/proc/<pid>/com vs /proc/<pid>/exe

Use exe(), which contains the full executable path to fix this.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-09-06 15:58:24 +02:00
Jiang Guang Ming
5bb93061a3 feat(mbedtls): support rom mbedtls threading layer 2024-09-06 19:27:57 +08:00
Marek Fiala
f90b847cb1 Merge branch 'fix/correct_shell_detection' into 'master'
fix(tools): Corrected detect_shell

See merge request espressif/esp-idf!33365
2024-09-06 19:22:15 +08:00
Alexey Lapshin
c605620073 Merge branch 'fix/keep-got-sections-for-riscv' into 'master'
feat(esp_system): drop .got* sections and add hint

See merge request espressif/esp-idf!32969
2024-09-06 19:21:06 +08:00
nilesh.kale
70d4414eeb feat(esp_https_ota): added API to get last status code logged from http resonse
Closes https://github.com/espressif/esp-idf/issues/14302
2024-09-06 15:09:42 +05:30
Guillaume Souchere
6f37ff7a8f Merge branch 'fix/bootloader-factory-reset-test-app-pin-range' into 'master'
fix(bootloader): Update pin range for factory reset and app test configurations

Closes IDFGH-13623

See merge request espressif/esp-idf!33342
2024-09-06 17:21:38 +08:00
Marek Fiala
24ae042bba fix(tools): Corrected detect_shell
When comparing process name with python,
lowercase the process name in condition.
2024-09-06 11:11:50 +02:00
Wang Meng Yang
ca05aa5cd2 Merge branch 'feature/add_di_api' into 'master'
Feature/add di api

Closes IDFGH-11785

See merge request espressif/esp-idf!32872
2024-09-06 17:11:19 +08:00
Jiang Jiang Jian
386420067a Merge branch 'bugfix/ftm_apsta_bw_issue' into 'master'
Fix FTM issues in AP-STA mode

Closes WIFIBUG-634

See merge request espressif/esp-idf!32276
2024-09-06 16:26:35 +08:00
shenmengjing
f6003fb8bf docs: Update CN translation for several docs 2024-09-06 16:17:32 +08:00
morris
dba8722bc0 Merge branch 'feat/support_esp32c2_eco4_rom_systimer_hal' into 'master'
feat(esp_rom): support esp32c2 rev2.0(ECO4) rom systimer hal

Closes IDF-10677

See merge request espressif/esp-idf!33335
2024-09-06 16:06:10 +08:00
Roland Dobai
e7c0d69215 Merge branch 'feature/python_activation' into 'master'
feat: add python script to activate ESP-IDF environment

Closes IDF-4803

See merge request espressif/esp-idf!31334
2024-09-06 14:37:53 +08:00
Chen Jichang
057b6b72ba docs(psram): sync psram noinit description 2024-09-06 14:30:54 +08:00
C.S.M
3ccdd8b397 fix(i2c): Fix possible error state in clear the bus,
Closes https://github.com/espressif/esp-idf/issues/13647
2024-09-06 14:28:26 +08:00
morris
9ec1042dff Merge branch 'test/fix_mspi_ci_c61' into 'master'
fix(mspi): Fix the mspi ci build test on esp32c61

See merge request espressif/esp-idf!33355
2024-09-06 14:23:53 +08:00
Roland Dobai
17fed13a27 Merge branch 'distutils' into 'master'
fix(tools): remove distutils to support python 3.12

Closes IDFGH-13510

See merge request espressif/esp-idf!33260
2024-09-06 14:23:04 +08:00
Chen Ji Chang
646d2f9e4a Merge branch 'feat/parlio_tx_support_psram_buffer' into 'master'
feat(parlio_tx): support transmit buffer in external PSRAM

Closes IDF-10981

See merge request espressif/esp-idf!33347
2024-09-06 14:00:35 +08:00
C.S.M
f36fb4cdb0 fix(mspi): Fix the mspi ci build test on esp32c61 2024-09-06 13:29:14 +08:00
Rahul Tank
0f11052406 Merge branch 'bugfix/add_notify_flag_for_wifi_prov' into 'master'
fix(wifi_prov): Add notify characteristic flag support

See merge request espressif/esp-idf!32311
2024-09-06 13:27:52 +08:00
Rahul Tank
b341791f78 Merge branch 'bugfix/make_cccd_flags_configurable' into 'master'
fix(nimble): Make CCCD flags configurable

Closes BLERP-954

See merge request espressif/esp-idf!32971
2024-09-06 13:19:17 +08:00
Guillaume Souchere
ab4e658af6 fix(bootloader): Update pin range for factory reset and app test
Update the range for pin selection of BOOTLOADER_NUM_PIN_APP_TEST
and BOOTLOADER_NUM_PIN_FACTORY_RESET based on the selected target.

Closes https://github.com/espressif/esp-idf/issues/14508
2024-09-06 07:18:46 +02:00
Island
53dff5357f Merge branch 'ble_dev/esp32c2eco4_chip_20240903' into 'master'
change(ble): update c2 eco4 ld file

See merge request espressif/esp-idf!33327
2024-09-06 11:24:43 +08:00
Chen Jichang
227f80ff88 feat(parlio_tx): support psram buffer 2024-09-06 11:20:39 +08:00
Armando (Dou Yiwen)
5dff189341 Merge branch 'feat/xip_psram_c5' into 'master'
psram: xip_psram support on c5/c61, also fixed cache writeback/invalidate not work issue on c61

Closes IDF-8688, IDF-9292, and IDF-11008

See merge request espressif/esp-idf!33265
2024-09-06 10:39:57 +08:00
Jiang Guang Ming
d0ec6fc04d fix(mbedtls): MBEDTLS_CMAC_C not effective when MBEDTLS_USE_CRYPTO_ROM_IMPL enabled 2024-09-06 09:55:27 +08:00
Jiang Guang Ming
d74ff5224c feat(mbedtls): support ROM mbedtls v3.6.0 on C2 rev2.0(ECO4) 2024-09-06 09:55:27 +08:00
Jiang Guang Ming
4955a199a8 feat(esp_rom): include rom.mbedtls.eco4.ld with C2 rev2.0(ECO4) select 2024-09-06 09:55:27 +08:00
Jiang Guang Ming
d7ea73ad66 feat(esp_rom): update esp32c2.rom.mbedtls.eco4.ld 2024-09-06 09:55:27 +08:00
Tomas Rezucha
c2b5339275 Merge branch 'feat/usb_disconnect_api' into 'master'
refactor(usb): Update HCD tests to use port power off for disconnections

Closes IDF-11006

See merge request espressif/esp-idf!31179
2024-09-06 09:46:57 +08:00
Marius Vikhammer
72bcaf1d74 Merge branch 'feature/c61_rtc_mem_remove' into 'master'
feat(system): remove references to RTC mem on C61

See merge request espressif/esp-idf!33291
2024-09-06 09:42:01 +08:00
Tomas Rezucha
19bf686d5e feat(usb/host): Enable USB Host tests on P4 2024-09-05 19:41:07 +02:00
Tomas Rezucha
3857f779cc fix(usb/host): Correctly handle unpowered port in HUB 2024-09-05 19:40:52 +02:00
muhaidong
5e4674775b fix(wifi): enable ci build by sdkconfig.ci.esp32p4_with_extconn 2024-09-05 20:29:40 +08:00
harshal.patil
c4f60d91f1 feat(mbedtls): Wrap mbedtls_ecdsa_read_signature to use ECDSA hardware when possible 2024-09-05 16:27:58 +05:30
harshal.patil
331fd7f79f fix(mbedtls/port): Check signature hash length before using ECDSA hardware 2024-09-05 16:27:58 +05:30
Armando
5316a36175 fix(cache): fixed cache writeback/invalidate cannot reach higher vaddr parts 2024-09-05 18:47:02 +08:00
Rahul Tank
fb55646270 fix(nimble): Add notify characteristic flag support 2024-09-05 16:16:08 +05:30
Nachiket Kukade
4854bf8640 fix(esp_wifi): Fix FTM issues in AP-STA mode
Add AP-STA mode support in FTM example
Update wifi libs with below changes -
- Use ex-AP's bandwidth in FTM request when connected
- Allow Bandwidth downgrade in FTM negotiation
- Use separate calibration when Initiator performs 20MHz FTM
  while in-AP is in 40MHz
2024-09-05 16:02:27 +05:30
Darian Leung
cac0ef9d11 refactor(usb): Remove use of usb_phy_action() from unit tests
Currently, USB Host unit tests that require a software triggered disconnection/
reconnection rely on the 'usb_phy_action()' function.

This commit replaces those calls with 'hcd_port_command()' or
'usb_host_lib_set_root_port_power()'.

Note: Also removed 'test_usb_common.h/c' as it is no longer necessary are the
function call replacements.
2024-09-05 12:27:27 +02:00
Darian Leung
54db1cda8b feat(usb): Add usb_host_lib_set_root_port_power()
This commit adds the usb_host_lib_set_root_port_power() function. This provides
a public API for users to power the root port OFF or ON at runtime, thus trigger
a disconnection or allow connections respectively.

In addition, the usb_host_config_t.root_port_unpowered install configuration is
provided to allow users to install the USB Host Library without automatically
powering ON the root port.
2024-09-05 12:27:27 +02:00
C.S.M
59e1838270 Merge branch 'feat/gpspi_flash_support_c61' into 'master'
test(esp_flash): Enable test for spi_flash component for c61/c5/p4

Closes IDF-10313, IDF-8715, IDF-9314, IDF-10991, and IDF-8985

See merge request espressif/esp-idf!33238
2024-09-05 18:13:55 +08:00
Chen Jichang
7dd15bee31 fix(parlio_tx): fix error in first transfer and 1 byte transfer
On p4, the clock was configured in the wrong order causing a dropped
count on the first transmission. And gdma eof event fails to trigger
parlio_tx eof event when transmitting single byte.
2024-09-05 17:12:49 +08:00
Alexey Lapshin
73987108cd feat(esp_system): drop .got* sections and add hint
Closes https://github.com/espressif/esp-idf/issues/14296
2024-09-05 15:47:01 +07:00
Marek Fiala
7b417fc3f2 feat(tools): Add backup option to use legacy export script
This feature serves as an immediate fix in case
the new export approach causes issues.
The user can simply set the environment variable `ESP_IDF_LEGACY_EXPORT`,
and the old export script will be used.
2024-09-05 10:13:05 +02:00
Marek Fiala
88527faff8 feat(tools): Added Windows shells support + refactoring 2024-09-05 10:13:04 +02:00
Frantisek Hrbata
1c22f6c4e8 feat: add python script to activate ESP-IDF environment
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-09-05 10:13:03 +02:00
liqigan
be1c677bdd feat(esp_hid): Create Device ID Service record in esp_hid_device example
Closes https://github.com/espressif/esp-idf/issues/12880
2024-09-05 15:33:03 +08:00
liqigan
c564817862 feat(bt/bluedroid): Add API to create Device ID Service record 2024-09-05 15:32:56 +08:00
liqigan
8a5184e68e change(bt/bluedroid): Limited SDP service discovery operation 2024-09-05 15:32:12 +08:00
liqigan
9becdfdc6d change(bt/bluedroid): Release record data after SDP record created 2024-09-05 15:32:12 +08:00
Peter Marcisovsky
0c388cf576 Merge branch 'refactor/usb_host_add_func_ret_values_description' into 'master'
Refactor: USB Host add function return values description

Closes IDF-10455

See merge request espressif/esp-idf!32106
2024-09-05 15:20:04 +08:00
Peter Marcisovsky
ee41fc8a4c Merge branch 'fix/usb_device_composite_pytest_exception' into 'master'
ci(usb_device): Fix exception for ACM port in USB composite device pytest

See merge request espressif/esp-idf!33288
2024-09-05 15:12:37 +08:00
David Čermák
5ef55584c1 Merge branch 'feat/lwip_dns_external_resolve_hook' into 'master'
feat(lwip): Add DNS external resolve hook

See merge request espressif/esp-idf!32595
2024-09-05 15:00:17 +08:00
Omar Chebib
d025ff4073 test(panic): enable tests for esp32c61 2024-09-05 14:50:58 +08:00
Island
1d8f1a584c Merge branch 'bugfix/fix_some_ble_bugs_240826' into 'master'
Fixed some BLE bugs 240826 on ESP32C3 (8ce789b)

Closes BLERP-1002, BLERP-1003, BLERP-1005, and BLERP-1004

See merge request espressif/esp-idf!33253
2024-09-05 11:34:36 +08:00
Island
c4d1c046a0 Merge branch 'feat/support_ble_scan_and_init_coex_on_esp32' into 'master'
Support BLE scanning and initiating coexist on ESP32

Closes BLERP-930, BLERP-931, BLERP-1003, and BLERP-1002

See merge request espressif/esp-idf!32791
2024-09-05 11:34:30 +08:00
Jiang Guang Ming
f3eaa7abae feat(esp_rom): support esp32c2 rev2.0(ECO4) rom systimer hal 2024-09-05 11:04:42 +08:00
wanlei
d15e53d876 refa(spi): clean up esp_dma_xxx memory allocation code 2024-09-05 10:56:30 +08:00
Jiang Jiang Jian
e813b32a3a Merge branch 'fix/fix_esp32c2_eco4_build_issue' into 'master'
fix(wifi): fix esp32c2 eco4 build issue

See merge request espressif/esp-idf!33326
2024-09-05 10:34:58 +08:00
WanqQixiang
9c4ae855bb feat(lwip): Add DNS external hook 2024-09-05 10:09:15 +08:00
Guilhem Saurel
727c6a82ea fix(tools): python3.12 support
remove distutils use
2024-09-04 18:00:56 +02:00
Erhan Kurubas
f8202963e6 feat(sysview): add sbom manifest file 2024-09-04 18:38:01 +03:00
Jiang Jiang Jian
93454579ef Merge branch 'bugfix/psram_fallback_in_wifi_osi' into 'master'
fix(wifi): Add PSRAM failure fallback in WiFi OSI API's

Closes WIFIBUG-700, WIFIBUG-705, WIFIBUG-713, WIFIBUG-736, and WIFI-6592

See merge request espressif/esp-idf!32713
2024-09-04 23:07:42 +08:00
Alexey Gerenkov
a07eed67ef Merge branch 'feat/ulp_debug' into 'master'
feat(ulp): Add LP core debugging support

See merge request espressif/esp-idf!31802
2024-09-04 22:56:16 +08:00
snake-4
8a39db3fae fix(freertos): Made select function non-blocking on Linux target
The select function wrapper was rewritten to be non-blocking
on Linux systems, as it was stealing all the CPU time
from lower priority tasks when called from a higher priority task.
This is because the FreeRTOS scheduler does not know
that the task thread is sleeping during the system call.

This issue manifests all "slow" system calls on the Linux target,
but handling the case of select fixes the problems for most ESP-IDF components.

The FreeRTOS POSIX port documentation lists this as a known issue,
so user code is responsible handling this case if other system calls are used,
even if unknowingly.

This closes GH issue #14395 "select() blocks the FreeRTOS scheduler on Linux target"
2024-09-04 15:15:26 +02:00
shreeyash
215f95c110 fix(nimble): Make CCCD flags configurable 2024-09-04 17:53:21 +05:30
morris
e163941205 Merge branch 'refactor/use_gdma_link_list_in_parlio_tx' into 'master'
refactor(parlio_tx): use gdma link list driver to mount buffer

See merge request espressif/esp-idf!33254
2024-09-04 20:16:09 +08:00
Erhan Kurubas
1e3c3b8738 Merge branch 'feature/esp32c5_coredump' into 'master'
ESP32-C5 enable core dump tests

Closes IDF-8661

See merge request espressif/esp-idf!30151
2024-09-04 20:08:48 +08:00
Shen Weilong
25189b190f change(ble): update c2 eco4 ld file 2024-09-04 20:08:09 +08:00
wangtao@espressif.com
5d66e8f729 fix(wifi): fix esp32c2 eco4 build issue 2024-09-04 19:56:57 +08:00
Marek Fiala
ccf5989505 feat(tools): Exclude modified folders by rebuild 2024-09-04 12:48:15 +02:00
Marek Fiala
f0ca91b103 feat(tools): Update tools: cmake, ninja, ccache
cmake  v3.24.0 -> v3.30.2
ninja  v1.11.1 -> v1.12.1
ccache v4.8    -> v4.10.2

Closes https://github.com/espressif/esp-idf/pull/14376
2024-09-04 12:48:14 +02:00
Aditya Patwardhan
1337828a0b Merge branch 'bugfix/security_guide_redirect_link' into 'master'
docs(security): add redirect link for host based workflow guide

See merge request espressif/esp-idf!33271
2024-09-04 18:30:50 +08:00
Tomáš Rohlínek
4a185b824d fix(storage/vfs): fix incorrect test case configuration 2024-09-04 12:11:43 +02:00
Shu Chen
f1008faa1a Merge branch 'feat/update_component_for_ot_examples' into 'master'
feat(openthread): update extension commands component for examples

See merge request espressif/esp-idf!33243
2024-09-04 17:59:54 +08:00
Jiang Jiang Jian
e963bff523 Merge branch 'bugfix/wps_pbc_overlap' into 'master'
fix(wpa_supplicant): Fix for WPS-PBC overlap detection in dual band

Closes WIFIBUG-680

See merge request espressif/esp-idf!32690
2024-09-04 17:42:45 +08:00
Shen Meng Jing
5ec3bebf00 Merge branch 'docs/translate_esp_timer' into 'master'
docs: Provide Chinese translation for esp_timer

Closes DOC-8234

See merge request espressif/esp-idf!31814
2024-09-04 16:50:37 +08:00
chenjianhua
83ea37bcfc feat(bt): Update esp32 bt-lib(bc393dd)
- Fixed BLE vendor HCI set scan perfer address command
- Support BLE vendor HCI get controller compile version command
- Support BLE scanning and initiating coexist
2024-09-04 16:45:26 +08:00
Wang Tao
e43ded7ed5 Merge branch 'feat/support_esp32c2_eco4' into 'master'
feat(wifi):support esp32c2 chip version 2.0 wifi

Closes WIFI-6637、IDF-10216、WIFI-6669

See merge request espressif/esp-idf!32511
2024-09-04 16:28:25 +08:00
Wang Meng Yang
89712154a8 Merge branch 'bugfix/fix_hid_cod_setting' into 'master'
Bugfix/fix hid cod setting

Closes IDFGH-12624 and IDFGH-13305

See merge request espressif/esp-idf!33219
2024-09-04 15:16:19 +08:00
xiongweichao
a55d8bf12b fix(bt/bluedroid): Fix the protocol stack to exit sniff mode
- Already in result mode but request change indication has not been cleared
2024-09-04 15:08:01 +08:00
chaijie@espressif.com
c9d4913393 fix(sleep): fix_wrong_sleep_param_for_lp_memory_retention 2024-09-04 15:02:15 +08:00
shenmengjing
26c8cae4dd docs: Provide Chinese translation for esp_timer 2024-09-04 14:51:36 +08:00
Nachiket Kukade
94a915fd5c fix(wifi): Add PSRAM failure fallback in WiFi Queue API's 2024-09-04 11:02:06 +05:30
Zhu Li Qun
b9c58c550c Merge branch 'bugfix/fix_s3c3_wrong_ext32k_config_bug' into 'master'
fix(ext_32k): fix the external 32K issue on C3&S3

See merge request espressif/esp-idf!33150
2024-09-04 11:30:55 +08:00
Marius Vikhammer
520fda61cd feat(system): remove references to RTC mem on C61 2024-09-04 11:16:36 +08:00
Adam Múdry
98cf50d140 Merge branch 'fix/nvs_tool_false_duplicate_warning' into 'master'
fix(nvs): nvs_tool.py refactor, reduce false duplicate warnings, add a test

Closes IDF-10684

See merge request espressif/esp-idf!32449
2024-09-04 11:05:44 +08:00
Armando (Dou Yiwen)
85bc5acfc7 Merge branch 'change/sdmmc_ll_layer' into 'master'
sdmmc: full ll layer

Closes IDF-10544 and IDF-10251

See merge request espressif/esp-idf!33156
2024-09-04 10:54:37 +08:00
Xu Si Yu
7f0a140f46 feat(openthread): update extension commands component for examples 2024-09-04 10:40:14 +08:00
Wan Lei
3606d9ebf7 Merge branch 'fix/soc_and_iomux_macro_refactor' into 'master'
fix(driver_spi): move spi related macros out from soc.h and iomux_reg.h

See merge request espressif/esp-idf!32953
2024-09-04 10:35:11 +08:00
wangtao@espressif.com
82a951447a feat(wifi): update esp32c2 eco4 wifi lib 2024-09-04 10:31:33 +08:00
Chen Jichang
35c6e44181 refactor(parlio_tx): use gdma link list driver to mount buffer 2024-09-04 10:20:01 +08:00
Alexey Gerenkov
625c437412 feat(ulp): Add LP core debugging support 2024-09-03 18:28:14 +03:00
Peter Marcisovsky
db6e37c975 ci(usb_device): Fix exception for ACM port in USB composite dev pytest 2024-09-03 17:05:34 +02:00
Peter Marcisovsky
67a8480aec ci(usb_device): Enable USB device tests in CI for esp32p4 2024-09-03 16:43:49 +02:00
Shen Meng Jing
6bfa408c7b Merge branch 'docs/update_ulp_lp_core_ulp_risc_v_cn' into 'master'
docs: Update the CN translation for ulp-lp-core.rst and ulp-risv-v.rst

See merge request espressif/esp-idf!32692
2024-09-03 21:50:59 +08:00
Shen Meng Jing
1611d1344f Merge branch 'docs/translate_style_guide' into 'master'
docs: Provide CN translation for style-guide

Closes DOC-8255

See merge request espressif/esp-idf!31886
2024-09-03 21:11:01 +08:00
Jiang Jiang Jian
2726023db4 Merge branch 'bugfix/support_c5mp_phy_sleep' into 'master'
fix(phy): update c5 libphy to support sleep, fix wifi coex scan no app issue, fix ble rx crc err

Closes WIFIBUG-682

See merge request espressif/esp-idf!33263
2024-09-03 19:37:59 +08:00
shenmengjing
5214656421 docs: Update the CN translation for ulp-lp-core.rst and ulp-risv-v.rst 2024-09-03 19:29:55 +08:00
shenmengjing
07c3be3398 docs: Provide CN translation for style-guide 2024-09-03 19:21:50 +08:00
Roman Leonov
6ee1c300c2 Merge branch 'refactor/usb_host_ext_port_prereq' into 'master'
refactor(ext_hub): Prerequisites for the Ext Port Driver

See merge request espressif/esp-idf!32213
2024-09-03 19:17:22 +08:00
Mahavir Jain
2b806c9772 Merge branch 'feature/update_security_docs_for_c61' into 'master'
feat: update security documents for ESP32C61

Closes IDF-10154, IDF-10155, IDF-10156, IDF-10157, and IDF-10158

See merge request espressif/esp-idf!31959
2024-09-03 19:11:09 +08:00
Gao Xu
c83bf0c3df Merge branch 'feature/support_isp_color' into 'master'
feat(isp): support color on P4

Closes IDF-10495

See merge request espressif/esp-idf!32901
2024-09-03 18:42:26 +08:00
Aleksei Apaseev
4f399061e7 Merge branch 'ci/print_retry_job_message_optionally' into 'master'
ci: add condition to print retry job message in dynamic pipeline report if any job has failed

See merge request espressif/esp-idf!33211
2024-09-03 18:35:22 +08:00
Fu Hanxi
5df76105d6 Merge branch 'ci/fix_test_freertos_markers' into 'master'
ci: fix test_freertos markers

Closes IDFCI-2358

See merge request espressif/esp-idf!33273
2024-09-03 18:20:49 +08:00
Armando
fce2680e91 feat(psram): xip psram c61 2024-09-03 18:17:03 +08:00
Armando
8842e5764f feat(psram): xip psram c5 2024-09-03 18:17:03 +08:00
Zhang Xiao Yan
c8de3754df Merge branch 'docs/add_application_examples_bluetooth' into 'master'
docs: update application examples for bluedroid and blufi

See merge request espressif/esp-idf!32185
2024-09-03 18:07:05 +08:00
wangtao@espressif.com
f82c7ee4d1 fix(rom):fix esp32c2 eco4 ld comments 2024-09-03 17:50:40 +08:00
wangtao@espressif.com
ef1c62b67d fix(wifi): fix esp32c2 eco4 ld 2024-09-03 17:50:40 +08:00
wangtao@espressif.com
fef76de1ce feat(wifi): support esp32c2 eco4 wifi bringup 2024-09-03 17:50:39 +08:00
Jiang Guang Ming
53272f7d11 feat(esp_rom): Add esp32c2.rom.eco4.ld 2024-09-03 17:50:39 +08:00
Jiang Guang Ming
7d2752dacd feat(esp_hw_support): Support esp32c2 rev2.0 chip 2024-09-03 17:50:39 +08:00
Armando
a1da4f8a01 feat(sdmmc): sdmmc full ll layer 2024-09-03 17:03:42 +08:00
Linda
1650681d64 docs: update application examples for bluedroid and blufi 2024-09-03 16:11:33 +08:00
aditi
e145e04fca fix(wpa_supplicant): Fix for WPS-PBC overlap detection in dual band
When WPS is running on dual band(e.g. a separate 2.4 GHz and 5 GHz band
    radios in an AP device), detect pbc overlap only if UUID differs.
2024-09-03 13:07:36 +05:30
Fu Hanxi
3c30341cfd ci: fix test_freertos markers 2024-09-03 09:34:09 +02:00
C.S.M
0878ff90d6 test(esp_flash): Enable test for spi_flash component for c61/c5 2024-09-03 15:22:45 +08:00
Mahavir Jain
6a29e01a9e docs(security): add redirect link for host based workflow guide 2024-09-03 12:36:26 +05:30
gaoxu
7b71d7aaac feat(isp_color): support ISP color on P4 2024-09-03 14:52:46 +08:00
Aleksei Apaseev
5a88c4d1ab ci: add condition to print retry job message in dynamic pipeline report if any job has failed
- Updated `generate_jobs_report` function to check if any job in the list has `is_failed = True`.
- Improved code readability and maintainability by reducing complexity in the `post_report` method.
2024-09-03 14:51:13 +08:00
C.S.M
ec3029ebb3 Merge branch 'test/p4_lp_i2c' into 'master'
feature(i2c): Support esp32p4 lp i2c instance

Closes IDF-7490

See merge request espressif/esp-idf!33249
2024-09-03 14:47:54 +08:00
Mahavir Jain
5be4aca831 Merge branch 'feature/update_security_docs_for_c5' into 'master'
feat: updated security docs for ESP32C5

Closes IDF-9476, IDF-9501, and IDF-9499

See merge request espressif/esp-idf!32928
2024-09-03 14:22:25 +08:00
Mahavir Jain
60890e9093 Merge branch 'ci/enable_mbedtls_psram_tests_for_p4_c5' into 'master'
Enable mbedtls' PSRAM-related tests for ESP32-P4 and ESP32-C5

See merge request espressif/esp-idf!33228
2024-09-03 14:21:01 +08:00
Tomas Rezucha
19d488370f Merge branch 'feat/usb_ls_p4' into 'master'
Fix USB Low-Speed devices on ESP32-P4

Closes IDF-9565

See merge request espressif/esp-idf!33201
2024-09-03 13:59:59 +08:00
wanckl
19c6e77a31 fix(mspi): collect mspi iomux pin macro from iomux_reg.h to spi_pins.h 2024-09-03 13:55:00 +08:00
wanckl
473f39c31f fix(driver_spi): move macro GPIO_MATRIX_DELAY_NS out from soc.h 2024-09-03 13:55:00 +08:00
Rahul Tank
259b7009e9 Merge branch 'bugfix/correct_per_adv_sync_enable' into 'master'
fix(nimble): Corrected parameters assignment in per_adv_transfer_enable

Closes BLERP-891

See merge request espressif/esp-idf!32317
2024-09-03 13:47:53 +08:00
Wan Lei
ae5c7d46d1 Merge branch 'ci/enable_c61_target_test' into 'master'
ci(esp32c61): enable c61 generic target test

Closes IDF-9285 and IDF-9288

See merge request espressif/esp-idf!33088
2024-09-03 11:53:02 +08:00
C.S.M
f3eec83421 test(i2c): Support test for esp32p4 lp i2c 2024-09-03 11:23:02 +08:00
liuning
0833cc9bcb fix(phy): update c5 libphy to support sleep, fix wifi coex scan no app issue, fix ble rx crc err
phy_version: 102, 91c24e2, Sep  2 2024
2024-09-03 09:53:03 +08:00
Peter Marcisovsky
f7b31defc9 refactor(usb_host): Fixed function return values in usb_host stack:
- updated doxygen for the whole usb_host stack
    - doxygen for test_apps is not updated
    - fixed error codes propagation problems in the usb_host stack
2024-09-02 16:41:38 +02:00
Song Ruo Jing
b6916ca304 Merge branch 'bugfix/custom_console_uart_pins_c5_c61' into 'master'
fix(uart): make custom console uart TX/RX pins same to the default console uart pins

See merge request espressif/esp-idf!33110
2024-09-02 21:26:56 +08:00
Peter Marcisovsky
81ad0eb544 Merge branch 'ci/add_advanced_usb_cdc_ci' into 'master'
Refactor(console): merge console advanced and advanced_usb_cdc examples

Closes IDF-9676 and DOC-8784

See merge request espressif/esp-idf!29626
2024-09-02 21:15:19 +08:00
Tomas Rezucha
ba16f50560 refactor(usb/host): Move P4 HS PHY function to correct LL file
Moved usb_wrap_ll_enable_precise_detection() in usb_wrap_ll.h
to usb_utmi_ll_enable_precise_detection() in usb_utmi_ll.h

Fixes commit 97d30e7c48
2024-09-02 14:39:28 +02:00
Tomas Rezucha
21c6c62087 fix(usb/host): Fix USB Low Speed devices connection on P4
P4 USB UTMI PHY was updated to specification v2.0
2024-09-02 14:39:22 +02:00
Roman Leonov
a971ddf17a refactor(ext_hub): Added port creation and freeing, cleaned up members 2024-09-02 14:25:21 +02:00
chenjianhua
832e728ac3 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(8ce789b)
- Fixed BLE vendor HCI set scan perfer address command
- Support BLE vendor HCI get controller compile version command
- Fixed BLE util buffer free after controller reset
- Fixed assert when connection already exist and be connected again
2024-09-02 20:08:31 +08:00
zlq
f567341168 fix(ext_32k): fix the external 32K issue on C3&S3 2024-09-02 19:33:30 +08:00
wanckl
4e095f4b9f ci(esp32c61): enable c61 generic target test 2024-09-02 19:26:12 +08:00
morris
a82b8565b7 Merge branch 'feat/add_ek79007_mipi_dsi' into 'master'
feat(lcd): adapt the mipi_dsi example for the EK79007 LCD IC

See merge request espressif/esp-idf!32499
2024-09-02 17:42:42 +08:00
Mahavir Jain
cd8009dc5b Merge branch 'fix/flash_encryption_for_esp32p4' into 'master'
fix(security): Fixed flash encryption for esp32p4

See merge request espressif/esp-idf!33018
2024-09-02 17:28:39 +08:00
Ondrej Kosta
b9f4822dcb Merge branch 'bugfix/eth_plus_wifi_doc' into 'master'
docs(esp_eth): added warning to not use ESP32 as ETH CLK source with WiFi

Closes DOC-8459

See merge request espressif/esp-idf!32736
2024-09-02 16:15:28 +08:00
Zhang Xiao Yan
360bbd62b8 Merge branch 'docs/update_application_examples_esp_nan_wifi_security' into 'master'
docs: update application examples for esp_nan.rst, esp_dpp.rst and wifi-security.rst

See merge request espressif/esp-idf!32209
2024-09-02 16:00:20 +08:00
Kevin (Lao Kaiyao)
9a5a94e75d Merge branch 'bugfix/fix_some_minor_issue_in_i2s_and_isp' into 'master'
fix: fix minor issues in isp and i2s

See merge request espressif/esp-idf!33224
2024-09-02 15:29:34 +08:00
morris
fe09637123 feat(lcd): support EK79007 LCD in the mipi dsi example 2024-09-02 15:24:53 +08:00
Song Ruo Jing
e1f27d04ed fix(uart): enable ci target test for uart for c5 2024-09-02 15:24:29 +08:00
Song Ruo Jing
8e53e91ec9 fix(uart): make custom console uart pins same to the default console uart pins 2024-09-02 15:24:29 +08:00
Peter Marcisovsky
82a4c12817 refactor(console/advanced): Merge console advanced and advanced_usb_cdc examples
- removed examples/system/console/advanced_usb_cdc
    - refactor resulting console/advanced example
    - enabled advanced console for all peripherals (UART, USB_OTG, USB_JTAG)
    - added pytest to check UART console output
    - update docs
2024-09-02 09:14:42 +02:00
Linda
58f18216ed docs: add application examples for phy.rst 2024-09-02 14:49:31 +08:00
Sudeep Mohanty
d3631b3afa Merge branch 'fix/adc_channel_num_caps' into 'master'
fix(adc): Corrected the ADC channel number caps for esp32p4

See merge request espressif/esp-idf!33141
2024-09-02 14:37:17 +08:00
David Cermak
30c13225ca fix(examples): esp_hosted as default for Wi-Fi connect on P4 2024-09-02 08:23:32 +02:00
nilesh.kale
3550e36a68 feat: updated security docs for ESP32C5
This commit modified document files for ESP32C5.
This revised chnages for security components, RNG, provisioning and
some minor changes in sample output for flash encryption example.
2024-09-02 11:50:07 +05:30
laokaiyao
7ac567df96 fix: fix minor issues in isp and i2s 2024-09-02 14:07:05 +08:00
Mahavir Jain
02da65314b Merge branch 'feat/adding_test_case_anti_rollback_and_flash_encryption' into 'master'
feat(ota): Added test for checking flash encryption and anti-rollback enabled

Closes IDF-9200

See merge request espressif/esp-idf!32951
2024-09-02 14:04:45 +08:00
Zhang Shu Xian
ff3e93af28 Merge branch 'docs/update_application_examples_of_uart' into 'master'
docs: Update the application examples in uart.rst

See merge request espressif/esp-idf!32653
2024-09-02 14:03:26 +08:00
Zhang Xiao Yan
8c8e9ae546 Merge branch 'docs/update_aplication_wifi' into 'master'
docs: update application examples for wifi.rst

See merge request espressif/esp-idf!32214
2024-09-02 14:02:51 +08:00
Aditya Patwardhan
d1c47835a2 fix(security): Fixed flash encryption for esp32p4
The flash encryption on esp32p4 was broken due to some code related
    to key manager not being executed when key manager support was
    disabled on esp32p4 target.
    This commit fixes that behaviour
    Additionally, the atomic env enablement for
    key_mgr_ll_enable_peripheral_clock was fixed.
2024-09-02 14:00:55 +08:00
nilesh.kale
1011cee7a7 feat: udpate security docs for c61 and c5
This commit update security documents for ESP32C61.
2024-09-02 11:04:38 +05:30
Island
53b7d63ba5 Merge branch 'fix/fix_length_ble_get_started_example' into 'master'
fix(ble): Increased the length of addr_str in ble_get_started nimble examples

Closes BLERP-979

See merge request espressif/esp-idf!33203
2024-09-02 12:13:39 +08:00
Xu Xiao
a3274e502e Merge branch 'chip/esp32c61_mp_support_wifi' into 'master'
esp32c61 mp support wifi

See merge request espressif/esp-idf!32960
2024-09-02 12:06:53 +08:00
Marius Vikhammer
7cf872e610 Merge branch 'bugfix/eh_frame_backtrace' into 'master'
fix(system): fixed eh-frame backtrace issue from WDT

See merge request espressif/esp-idf!33112
2024-09-02 11:48:58 +08:00
Omar Chebib
c68c404cdc Merge branch 'fix/xtensa_nmi' into 'master'
fix(esp_hw_support): make the NMI interrupts available for the main application

Closes IDF-1891 and IDFGH-12631

See merge request espressif/esp-idf!32767
2024-09-02 11:18:32 +08:00
Wan Lei
8410392567 Merge branch 'change/c61_twai_removal' into 'master'
change(twai): removal c61 twai due to not exist

Closes IDF-9336

See merge request espressif/esp-idf!33202
2024-09-02 10:40:18 +08:00
Linda
74ec959b38 docs: update application examples for wifi.rst 2024-09-02 10:36:11 +08:00
Island
9c25d54cb8 Merge branch 'bugfix/fixed_assert_on_esp32c2' into 'master'
fix(ble): fixed crash issue during deinit host after deinit controller on ESP32-C2

See merge request espressif/esp-idf!33204
2024-09-02 10:08:10 +08:00
Zhang Shuxian
a79159f5e1 docs: Update the application examples in uart.rst 2024-09-02 09:49:38 +08:00
Wang Tao
6673376297 Merge branch 'change/improve_some_wifi_releated_introduction' into 'master'
change(wifi):improve some wifi releated introduction

Closes IDFGH-8937 and IDFGH-8908

See merge request espressif/esp-idf!32409
2024-08-31 14:58:48 +08:00
Linda
09b53af171 docs: update application examples for esp_nan.rst, esp_dpp.rst and wifi-security.rst 2024-08-31 09:57:21 +08:00
Adam Múdry
347800bcda Merge branch 'fix/sdmmc_host_init_slot_possible_bad_shift_op' into 'master'
fix(sdmmc): Fix possible bad bit shift operation

Closes IDF-10759

See merge request espressif/esp-idf!32885
2024-08-30 23:55:14 +08:00
Adam Múdry
05b356f87f feat(nvs): Test nvs_partition_gen.py and nvs_check.py with pytest
Little fixes in nvs_check.py
2024-08-30 16:21:42 +02:00
xuxiao
7c9109d9e1 fix(wifi): fix code comments 2024-08-30 21:02:02 +08:00
Adam Múdry
24c1f084d0 fix(sdmmc): Fix possible bad bit shift operation and check if GPIO pins are valid 2024-08-30 15:01:10 +02:00
xuxiao
506bff240b feat(wifi): add SPIRAM wifi support for esp32c5 and esp32c61 2024-08-30 20:43:06 +08:00
liuning
418c856db0 feat(coex): support esp32c61 coex support 2024-08-30 20:43:06 +08:00
xuxiao
8780375859 feat(wifi): add wifi support for esp32c61 2024-08-30 20:43:06 +08:00
Jiang Jiang Jian
bf0eeb633f Merge branch 'bugfix/gcmp_reason_code' into 'master'
fix(esp_wifi): Fix reason code for sta not supporting GCMP

Closes WIFIBUG-721

See merge request espressif/esp-idf!32902
2024-08-30 20:42:14 +08:00
harshal.patil
945ad6ea5d ci(mbedtls): Enable PSRAM-related tests for ESP32-P4 and ESP32-C5 2024-08-30 17:19:12 +05:30
Erhan Kurubas
23bc6eac43 test(coredump): enable esp32c5 coredump tests 2024-08-30 13:17:44 +03:00
Erhan Kurubas
e9f4fa08d6 docs(coredump): update esp32c5 docs_not_updated 2024-08-30 13:17:44 +03:00
Jiang Jiang Jian
d0be11adfc Merge branch 'bugfix/esp32_rx_sense' into 'master'
fix(phy): fix esp32 rx sense issue

See merge request espressif/esp-idf!32979
2024-08-30 17:38:13 +08:00
Andste82
681b372668 fix(spinlock): comparison of integer expressions of different signedness 2024-08-30 11:28:16 +02:00
Erhan Kurubas
d91ac9a261 Merge branch 'fix/coredump_tests' into 'master'
test(coredump): fix failed core dump tests

Closes IDFCI-2202 and IDFCI-2349

See merge request espressif/esp-idf!32796
2024-08-30 17:08:05 +08:00
Zhang Xiao Yan
e25e164241 Merge branch 'docs/format_establish_serial_connection' into 'master'
docs: format establish-serial-connection.rst

See merge request espressif/esp-idf!32636
2024-08-30 17:08:04 +08:00
hrushikesh.bhosale
99f0e1b526 feat(ota): Added test for checking flash encryption and anti-rollback enabled
Added test to check if flash encryption and anti-rollback enbaled
together. Added marked pytest.mark.flash_encryption to advanced OTA
test.
2024-08-30 14:11:33 +05:30
aditi
b175f84a47 fix(esp_wifi): Fix reason code for sta not supporting GCMP
Add fix for returning correct reason code when sta doesn't
     support GCMP to ensure consistent behaviour for all chips.
2024-08-30 13:30:56 +05:30
Kevin (Lao Kaiyao)
1d0d121861 Merge branch 'bugfix/i2s_dma_buf_saturation_on_p4' into 'master'
fix(i2s): fixed alignment of max DMA buffer length on P4

Closes IDFGH-13559

See merge request espressif/esp-idf!33134
2024-08-30 15:42:16 +08:00
liqigan
976066d537 fix(esp_hid): Fixed protocol mode mapping bug
Closes https://github.com/espressif/esp-idf/issues/14232
2024-08-30 15:37:14 +08:00
liqigan
53bb819e88 feat(bt/bluedroid): Added definition of minor class of COD for peripheral major class
Closes https://github.com/espressif/esp-idf/issues/13622
2024-08-30 15:37:17 +08:00
Kevin (Lao Kaiyao)
b71768b742 Merge branch 'feature/support_apll_on_p4' into 'master'
feat(clock): support apll clock on p4

Closes IDF-8884

See merge request espressif/esp-idf!33101
2024-08-30 14:45:57 +08:00
Sudeep Mohanty
dfe20e46a1 Merge branch 'task/add_ldgen_exception_for_freertos' into 'master'
fix(freertos): Added freertos and ringbuf fragments to the exception list of ldgen mapping checks

Closes IDF-10489

See merge request espressif/esp-idf!32702
2024-08-30 14:43:44 +08:00
zwl
951d6e44eb fix(ble): fixed crash issue during deinit host after deinit controller on ESP32-C2 2024-08-30 11:46:13 +08:00
Yuhan Wei
3a1c212b41 fix(ble): Increased the length of addr_str in README.md 2024-08-30 11:45:36 +08:00
Yuhan Wei
77c17de379 fix(ble): Increased the length of addr_str in ble_get_started nimble examples 2024-08-30 11:38:25 +08:00
Omar Chebib
1157a27964 Merge branch 'bugfix/intr_alloc_rom_handler' into 'master'
fix(esp_hw_support): allow allocating interrupts with handlers in ROM with IRAM attribute

Closes IDF-7971

See merge request espressif/esp-idf!32561
2024-08-30 10:50:49 +08:00
Zhang Shu Xian
42e852a165 Merge branch 'docs/update_application_examples_of_lcd' into 'master'
Draft: docs: Update the application examples in lcd/index.rst

See merge request espressif/esp-idf!32648
2024-08-30 09:40:39 +08:00
Zhang Shu Xian
87859c5629 Draft: docs: Update the application examples in lcd/index.rst 2024-08-30 09:40:38 +08:00
wanckl
e9d4e99a2a change(twai): removal c61 twai due to not exist 2024-08-29 21:23:50 +08:00
Mahavir Jain
6e5414b6c4 Merge branch 'bugfix/add_bluedroid_support_for_esp_ip' into 'master'
fix(wifi_prov): Add support for ESP IP controller chips in bluedroid

Closes MEGH-5841

See merge request espressif/esp-idf!32465
2024-08-29 20:30:05 +08:00
Li Shuai
1fa27cbb0d Merge branch 'feature/esp32c5mp_light_sleep_support_stage_2' into 'master'
feat(esp_hw_support): esp32c5mp sleep support (system part)

Closes IDF-8643, PM-195, PM-169, IDF-8641, IDF-8640, IDF-8639, IDF-8638, CV-259, IDF-10308, IDF-10317, IDF-10310, PM-202, IDF-10918, PM-207, PM-208, PM-210, and PM-214

See merge request espressif/esp-idf!31645
2024-08-29 19:32:05 +08:00
laokaiyao
462698f2de change(i2s): add warning for inaccurate sample rate 2024-08-29 19:03:19 +08:00
laokaiyao
fe80989a17 fix(i2s): fixed alignment of max DMA buffer length on P4
Closes https://github.com/espressif/esp-idf/issues/14448
2024-08-29 19:03:06 +08:00
laokaiyao
3937e225ec feat(clock): support apll clock on p4 2024-08-29 18:44:05 +08:00
Mahavir Jain
2526ebdaa9 Merge branch 'feat/support_memory_protection_for_esp32c61' into 'master'
Support memory protection for esp32c61

Closes IDF-9580

See merge request espressif/esp-idf!33103
2024-08-29 18:40:38 +08:00
C.S.M
89c808c26c Merge branch 'bugfix/i2c_master_stretch_to' into 'master'
fix(i2c_master): Fix an I2C issue that slave streth happen but master timeout seems not work

Closes IDFGH-13191 and IDFGH-13508

See merge request espressif/esp-idf!33014
2024-08-29 17:29:30 +08:00
Rahul Tank
338d9f40d9 fix(wifi_prov): Add support for ESP IP controller chips in bluedroid 2024-08-29 14:56:46 +05:30
morris
796d40a6a7 Merge branch 'change/deprecate_gdma_new_channel_api' into 'master'
change(gdma): deprecate legacy API

See merge request espressif/esp-idf!33148
2024-08-29 16:39:24 +08:00
Armando (Dou Yiwen)
d7b701bfa0 Merge branch 'feat/isp_demosaic' into 'master'
isp: demosaic

Closes IDF-10519

See merge request espressif/esp-idf!33111
2024-08-29 16:13:27 +08:00
shenmengjing
04168efcaf docs: Update the application examples in sdio_slave 2024-08-29 16:00:13 +08:00
Zhang Wen Xu
7c47596ead Merge branch 'fix/oob_issue_found_by_cid' into 'master'
fix(802.15.4): fix oob issue for pending table

Closes IDF-10936, IDF-10937, IDF-10938, IDF-10939, IDF-10940, and IDF-10941

See merge request espressif/esp-idf!33160
2024-08-29 14:49:20 +08:00
Island
bb5f95fcc3 Merge branch 'refactor/ble_example_print_on_bluedroid' into 'master'
refactor(bt/bluedroid): Refactor the print for CI example test

Closes BLERP-904 and BLERP-910

See merge request espressif/esp-idf!32513
2024-08-29 14:43:30 +08:00
Omar Chebib
18d545708a fix(esp_hw_support): allow allocating interrupts with handlers in ROM with IRAM attribute
The interrupt allocator now allows allocating an interrupt with a handler in ROM
and flags set to ESP_INTR_FLAG_IRAM
2024-08-29 14:21:43 +08:00
Lou Tianhao
4393343ac9 fix(ci): some actions taken to pass ci 2024-08-29 14:15:41 +08:00
Armando (Dou Yiwen)
7a5c05e7c0 Merge branch 'feat/sdspi_c5' into 'master'
sdspi: support on c5

Closes IDF-8704

See merge request espressif/esp-idf!32635
2024-08-29 14:03:44 +08:00
Omar Chebib
928859307f fix(esp_hw_support): make the NMI interrupts available for the main application
Closes https://github.com/espressif/esp-idf/issues/13629

NMI interrupt level has been freed for all the Xtensa targets, making it possible
for the main application to use it. An example has been added to show how to
proceed.
2024-08-29 13:55:47 +08:00
Mahavir Jain
966f2c6a5b Merge branch 'docs/secure_boot_rsa_pss' into 'master'
docs(secure_boot_v2): OpenSSL command for generating and verifying signatures

Closes ESPTOOL-787

See merge request espressif/esp-idf!31204
2024-08-29 11:40:49 +08:00
Armando
87d8a5154e feat(isp): added demosaic programming guide 2024-08-29 10:46:37 +08:00
Armando
2133ca9522 test(sd): added .cpp build test 2024-08-29 09:06:02 +08:00
Armando
af4315a2b1 test(sdspi): enabled sdspi test on s3 2024-08-29 09:06:02 +08:00
Armando
29bf116021 fix(sdspi): fixed sdspi on p4 2024-08-29 09:06:02 +08:00
Armando
c13f35a7cf feat(sdspi): support sdspi on c5 2024-08-29 09:06:02 +08:00
Armando
d215fa6cdb feat(sdspi): supported tuning clock duty cycle 2024-08-29 09:05:43 +08:00
wanckl
ab53d300d0 feat(esp_driver_spi): add config for data io default level 2024-08-29 09:05:43 +08:00
Marius Vikhammer
8fcc57b12f Merge branch 'contrib/github_pr_12449' into 'master'
Use correct clang flag for size optimization (GitHub PR)

Closes IDFGH-11295

See merge request espressif/esp-idf!33083
2024-08-29 08:40:40 +08:00
Serhii Kulyk
c87cb854f3 fix(http): fix invalid content-length header in http get 2024-08-29 00:14:49 +02:00
Wan Lei
bde735fe3f Merge branch 'fix/p4_spi_dma_cache_conflict_issue' into 'master'
fix(driver_spi): fix p4 cache auto writeback issue during spi(dma) rx

Closes IDF-10433

See merge request espressif/esp-idf!33125
2024-08-28 20:15:42 +08:00
Island
66cb82a446 Merge branch 'docs/optimized_ble_gattc_multi_connect_example' into 'master'
docs(ble/bluedroid): Optimize BLE example documentation for getting characteristic

Closes IDFGH-13526 and IDFGH-13463

See merge request espressif/esp-idf!33063
2024-08-28 18:02:27 +08:00
zwx
1c319ce9c2 fix(802.15.4): fix oob issue for pending table 2024-08-28 17:36:44 +08:00
wangtao@espressif.com
6eb6f9b363 change(wifi):improve some wifi releated introduction 2024-08-28 16:53:13 +08:00
Erhan Kurubas
99b89b726d Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20240821' into 'master'
feat(tools): update openocd version to v0.12.0-esp32-20240821

See merge request espressif/esp-idf!33094
2024-08-28 16:52:47 +08:00
Erhan Kurubas
3ef9750005 test(coredump): fix failed core dump tests 2024-08-28 11:12:39 +03:00
morris
39cbba3685 change(gdma): deprecate legacy API
gdma_new_channel() is replaced by gdma_new_ahb_channel() and
gdma_new_axi_channel()
2024-08-28 15:27:35 +08:00
Shu Chen
51cd6e9291 Merge branch 'feat/support_config_to_reply_ns_without_ll_opt' into 'master'
feat(lwip): reply the NS without LL opt

See merge request espressif/esp-idf!32671
2024-08-28 15:19:39 +08:00
Island
6c59cda5b1 Merge branch 'debug/fix_deep_sleep_wake_up_by_ble' into 'master'
fix(ble): fix BLE immediately  wakeup deep sleep

Closes BLERP-846 and BLERP-943

See merge request espressif/esp-idf!31916
2024-08-28 15:13:10 +08:00
chenjianhua
a56d18383b refactor(bt/bluedroid): Refactor the print for gatt_server and gatt_client example 2024-08-28 14:51:12 +08:00
Wang Meng Yang
59066e3edf Merge branch 'contrib/github_pr_14286' into 'master'
fix(bt): Enable use of RESERVED bits in COD (GitHub PR)

Closes IDFGH-13374

See merge request espressif/esp-idf!32549
2024-08-28 14:03:57 +08:00
Wang Meng Yang
17f422cc33 Merge branch 'fix/hfp_pcm_codec' into 'master'
fix(bt/bluedroid): Fix default codec type on PCM datapath for hfp_hf

See merge request espressif/esp-idf!32878
2024-08-28 14:03:06 +08:00
Jiang Jiang Jian
b2a3e49635 Merge branch 'fix/fix_esp32s2_get_ack_rssi_issue' into 'master'
fix(wifi): fix esp32s2 get ack rssi issue

See merge request espressif/esp-idf!33127
2024-08-28 14:00:36 +08:00
harshal.patil
eec9197d47 feat(cpu_region_protect): Support memory protection in ESP32-C61 2024-08-28 11:16:28 +05:30
harshal.patil
dc61456ad8 feat(cpu_region_protect): Protect I/D-ROM memory split 2024-08-28 11:16:27 +05:30
harshal.patil
95f286555a fix(esp_hw_support): Use _iram_text_end instead of _iram_end for I/D-RAM split 2024-08-28 11:16:27 +05:30
Wan Lei
dbcff0e941 Merge branch 'feat/c61_spi_support' into 'master'
feat(driver_spi): c61 spi support

Closes IDF-9299, IDF-9300, IDF-9301, and IDF-10002

See merge request espressif/esp-idf!32918
2024-08-28 12:37:10 +08:00
Song Ruo Jing
315796f96c Merge branch 'contrib/github_pr_14392' into 'master'
Update uart_select_example_main.c (GitHub PR)

Closes IDFGH-13497

See merge request espressif/esp-idf!32913
2024-08-28 12:15:41 +08:00
Liu Xiao Yu
17ddda01a8 Merge branch 'bugfix/rm_redefined_gpio_num' into 'master'
fix(ulp): remove redefinition and unify gpio enum in ulp

Closes IDFGH-13547

See merge request espressif/esp-idf!33076
2024-08-28 12:06:05 +08:00
Mahavir Jain
e93e09de3f Merge branch 'fix/https_request_mbedtls_config_build_failure' into 'master'
Fix https_request example build failure for mbedtls_config

Closes IDFCI-2336

See merge request espressif/esp-idf!33016
2024-08-28 12:04:34 +08:00
Zhang Xiao Yan
1cf4becc5f Merge branch 'docs/update_application_example_esp_now_mesh' into 'master'
docs: update application examples for esp_now.rst and esp-wifi-mesh.rst

See merge request espressif/esp-idf!32215
2024-08-28 10:50:18 +08:00
Lou Tianhao
02f5e0f98c change(pm): remove rc32k for esp32c5 2024-08-28 10:44:09 +08:00
Li Shuai
debb6ab6a1 change(hal): add hal interface to configure pau regdma wait timeout parameter 2024-08-28 10:44:09 +08:00
Lou Tianhao
d6737c3207 refactor(esp_hw_support): refactor sleep clock, split it to support multiple targets 2024-08-28 10:44:08 +08:00
Li Shuai
5e82899305 fix(esp_hw_support): fix the issue of regdma wait node to immediately return to done caused by regdma wait mode comparator 2024-08-28 10:44:08 +08:00
Lou Tianhao
5e5fb89c10 change(esp_hw_support): modify the root clock source of pmu modem state to pll for esp32c5 2024-08-28 10:44:08 +08:00
Lou Tianhao
bfba80b778 fix(pm): write back cache for psram and hold psram cs1
squash! fix(pm): write back cache for psram and hold psram cs1
2024-08-28 10:44:08 +08:00
Lou Tianhao
47a0677525 feat(pm): support ext1_wakeup/esp_deep_sleep_enable_gpio_wakeup for esp32c5mp deepsleep 2024-08-28 10:44:08 +08:00
Lou Tianhao
04485a655f change(esp_hw_support): set cpu clk 80m by selecting source pll240m and divider 3
squash! change(esp_hw_support): set cpu clk 80m by selecting source pll240m and divider 3

squash! change(esp_hw_support): set cpu clk 80m by selecting source pll240m and divider 3

squash! change(esp_hw_support): set cpu clk 80m by selecting source pll240m and divider 3
2024-08-28 10:44:08 +08:00
Li Shuai
538e3a767b fix(esp_hw_support): fix regdma timeout when restore soc register context
squash! fix(esp_hw_support): fix regdma timeout when restore soc register context

squash! fix(esp_hw_support): fix regdma timeout when restore soc register context
2024-08-28 10:44:08 +08:00
Li Shuai
86e384b563 fix(esp_hw_support): fix mmu memory powered down issue by software backup and restore mmu table content 2024-08-28 10:44:08 +08:00
Lou Tianhao
4a124913c4 fix(pm): mspi cannot access flash when pd pll source 2024-08-28 10:44:08 +08:00
Lou Tianhao
d891995a7a feat(pm): support sleep_gpio for esp32c5 2024-08-28 10:44:08 +08:00
Lou Tianhao
ef8ff691aa change(esp_hw_support): update pmu sleep analog parameter
change(pm): update pmu analog param for pu xtal or pu rc_fast during sleep

change(pm): update pmu analog param for reducing the impact of temperature on chip voltage
2024-08-28 10:44:08 +08:00
Lou Tianhao
24aa547c80 change(esp_hw_support): change regdma link entry num 2024-08-28 10:44:08 +08:00
Lou Tianhao
a0da9ade35 feat(esp_hw_support): support top domain powered down during sleep for esp32c5 2024-08-28 10:44:08 +08:00
Lou Tianhao
50791931a1 feat(esp_hw_support): support the new version regdma driver for esp32c5mp 2024-08-28 10:44:08 +08:00
Lou Tianhao
6c9ed891ee feat(esp_hw_support): support cpu domain powered down during sleep for esp32c5 2024-08-28 10:44:08 +08:00
Li Shuai
8d9b3cfb2f change(esp_hw_support): pmu reset and isolate contorl signal waiting time configuration 2024-08-28 10:44:08 +08:00
Lou Tianhao
980ec70d0a feat(esp_hw_support): support pmu init and sleep for esp32c5
fix(ci): add efuse header in pmu_sleep
2024-08-28 10:44:08 +08:00
Lou Tianhao
3e70dafa0b change(soc): update pmu register context structure and driver for esp32c5 2024-08-28 10:44:08 +08:00
Armando
4a72739840 feat(isp): added demosaic config to isp example 2024-08-28 10:03:22 +08:00
Armando
02b2f9a4c4 feat(isp): added isp demosaic driver 2024-08-28 10:03:22 +08:00
Marius Vikhammer
7f5496de53 test(system): add more eh-frame tests 2024-08-28 10:01:18 +08:00
Linda
2136c072b5 docs: update application examples for esp_now.rst and esp-wifi-mesh.rst 2024-08-28 09:57:24 +08:00
Marius Vikhammer
14a2be6eed Merge branch 'feature/remove_phtread_not_used' into 'master'
change(pthread): changed pthread to not pull in init functions if not used

Closes IDFGH-13283

See merge request espressif/esp-idf!32712
2024-08-28 09:54:37 +08:00
Marius Vikhammer
079df0282a Merge branch 'feature/c61_remove_lp_core' into 'master'
feat(ulp): remove ulp related C61 code

Closes IDF-9331 and IDF-9330

See merge request espressif/esp-idf!33116
2024-08-28 09:51:48 +08:00
Gao Xu
0e4464c363 Merge branch 'feature/support_isp_hisp_p4' into 'master'
feature(isp): Add ISP histogram support for esp32p4

Closes IDF-10192

See merge request espressif/esp-idf!31342
2024-08-28 09:13:43 +08:00
Armando (Dou Yiwen)
005844421d Merge branch 'fix/fix_wrong_ap3204_id_check' into 'master'
psram: fixed ap3204 id check

See merge request espressif/esp-idf!33044
2024-08-28 09:04:41 +08:00
Sudeep Mohanty
c92dfc0f3f fix(adc): Corrected the ADC channel number caps for esp32p4
This commit fixes the incorrect soc_caps for the ADC channel numbers on
the esp32p4.
2024-08-27 16:08:56 +02:00
wangtao@espressif.com
b50c2bf195 fix(wifi): fix esp32s2 get ack rssi issue 2024-08-27 21:53:31 +08:00
Fu Hanxi
fc6b33bf3c Merge branch 'ci/checkout_to_merged_result_again' into 'master'
ci: checkout back to merged result commit again to get the latest files

See merge request espressif/esp-idf!32698
2024-08-27 21:20:25 +08:00
Xu Xiao
52059ae507 Merge branch 'bugfix/check_tx_conn_traffic_fail' into 'master'
fix(wifi): add bar check for connection traffic and check ap_eb in txq

Closes WIFIBUG-591

See merge request espressif/esp-idf!32677
2024-08-27 21:12:09 +08:00
wanckl
e6e7b23917 feat(driver_spi): add esp32c61 spi master, slave, slave_hd support 2024-08-27 20:49:13 +08:00
wanckl
b70f41ca7a fix(gdma): fix c61 ahb dma for spi periph triggr number 2024-08-27 20:49:13 +08:00
Fu Hanxi
350f1410d3 ci: checkout back to merged result commit again to get the latest files 2024-08-27 14:39:10 +02:00
wanckl
6b6065de50 fix(driver_spi): fix p4 cache auto writeback during spi(dma) rx 2024-08-27 20:01:56 +08:00
renpeiying
f49b072ac7 docs: Update zh_CN translation for MR32736 2024-08-27 20:01:23 +08:00
Ondrej Kosta
50704ffa70 docs(esp_eth): added warning to not use ESP32 as ETH CLK source with WiFi 2024-08-27 20:01:23 +08:00
harshal.patil
e5f22521da docs(secure_boot_v2): Mention idf.py and openssl commands to generate and verify signatures
- Adds support for verify_signature command in idf.py

Closes https://github.com/espressif/esptool/issues/942
2024-08-27 15:44:05 +05:30
zwx
fc9175d494 feat(lwip): reply the NS without LL opt 2024-08-27 18:10:23 +08:00
Marius Vikhammer
c91d481dc9 feat(ulp): remove ulp related C61 code 2024-08-27 17:23:19 +08:00
zhanghaipeng
dbca12721e fix(ble/bluedroid): Optimize BLE function 'esp_ble_resolve_adv_data_by_type' 2024-08-27 16:56:39 +08:00
gaoxu
c3155c39d1 feat(isp_hist): change coeff and weight of HIST to integer/decimal struct 2024-08-27 16:56:18 +08:00
Marius Vikhammer
da3b28c29d fix(system): fixed broken backtrace from wdt when using eh-frame 2024-08-27 16:56:17 +08:00
harshal.patil
ba49442683 Revert "ci(https_request): disable example for P4"
This reverts commit 4b8a2b4a6e.
2024-08-27 14:09:21 +05:30
harshal.patil
c94986d793 fix(mbedtls): Fix https_request example build failure for mbedtls_config
- This was caused due to some mbedtls confisg being defined but their all prerequisites were not
2024-08-27 14:09:21 +05:30
Zhang Wen Xu
997512ace2 Merge branch 'feat/add_get_all_preferred_ip6_addr' into 'master'
feat(esp_netif): add an API to get all preferred ip6 addresses

See merge request espressif/esp-idf!32417
2024-08-27 16:00:16 +08:00
Alex Lisitsyn
bd95e6955b Merge branch 'bugfix/fix_stack_rs485_echo_example' into 'master'
fix(uart/example): Fixed the stack size allocation in uart echo examples

Closes IDFGH-13483

See merge request espressif/esp-idf!33079
2024-08-27 15:54:45 +08:00
Nachiket Kukade
e220f1fec6 Merge branch 'bugfix/fix_wrong_typecast_spp' into 'master'
fix(wifi): Fix wrong typecasting of sta_info while getting SPP Caps

Closes WIFIBUG-737

See merge request espressif/esp-idf!33040
2024-08-27 15:53:28 +08:00
Song Ruo Jing
76102f3b0c Merge branch 'bugfix/esp_ringbuf_32_bit_alignment' into 'master'
fix(ringbuf): allow xRingbufferCreateWithCaps to pass in non-32-bit aligned size

Closes DOC-7446

See merge request espressif/esp-idf!33081
2024-08-27 15:46:28 +08:00
aleks
5145174858 fix(uart/example): Fixed minimal stack size in uart_echo example 2024-08-27 09:32:30 +02:00
aleks
5d4e5e99c1 fix(uart/example): Fixed the stack size allocation in uart_echo_rs485 example 2024-08-27 09:32:30 +02:00
franzhoepfinger
1380c0e9ff Update rs485_example.c
Signed-off-by: aleks <aleks@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/14382
2024-08-27 09:32:30 +02:00
chenqingqing
cd05eea685 fix(bt/bluedroid): Fix default codec type on PCM datapath for hfp_hf 2024-08-27 14:24:23 +08:00
chenqingqing
b456865c4a fix(bt): Add a parameter in the two least significant bits of Class of Device 2024-08-27 14:23:49 +08:00
WebDust21
913eca40ef fix(bt): Enable use of RESERVED bits in COD (GitHub PR) 2024-08-27 14:23:49 +08:00
sibeibei
f1aa4a5a1c fix(wifi): add bar check for connection traffic and check ap_eb in txq 2024-08-27 14:13:23 +08:00
Marius Vikhammer
289ceff0e0 docs(build): update comments regarding -Os/Oz for kconfig compiler option 2024-08-27 13:41:34 +08:00
Alexey Storozhev
2d463ad18b Use correct clang flag for size optimization
See https://clang.llvm.org/docs/CommandGuide/clang.html:
>> Code Generation Options
>>   -Oz Like -Os (and thus -O2), but reduces code size further.

Without -Oz enabled clang produced binaries that were too large.
2024-08-27 13:41:34 +08:00
cjin
3aac7d2a58 feat(ble): add internal api to change ble slow clock source 2024-08-27 12:49:32 +08:00
cjin
8b1e4d8437 fix(ble): remove ble wakeup before entering light sleep 2024-08-27 12:49:32 +08:00
Zhang Xiao Yan
a1e45ac2cc Merge branch 'docs/delete_not_available_p4_documents' into 'master'
docs: delete unavailable document links for ESP32-P4

See merge request espressif/esp-idf!32933
2024-08-27 12:23:43 +08:00
Shu Chen
8437262c13 Merge branch 'feat/support_config_for_prefix_table_size' into 'master'
feat(lwip): add a config to set prefix table size

See merge request espressif/esp-idf!32670
2024-08-27 12:20:18 +08:00
Shu Chen
8aacb78ae4 Merge branch 'fix/ieee802154_pending_table_size' into 'master'
feat(802.15.4): support large scale pending table size

See merge request espressif/esp-idf!33041
2024-08-27 11:43:10 +08:00
Shu Chen
2ca453dab1 Merge branch 'pr_14060' into 'master'
feat(openthread): support time sync feature on border router

See merge request espressif/esp-idf!32299
2024-08-27 11:42:55 +08:00
gaoxu
8c31479fe5 docs(isp): Add ISP histogram in the programming guide 2024-08-27 11:26:04 +08:00
gaoxu
fb5df708a1 feat(isp_hist): Add ISP histogram support and add test for esp32p4(part 2) 2024-08-27 11:26:03 +08:00
Xiaoyu Liu
b853ed7aff fix(ulp): remove redefinition and unify gpio enum in ulp 2024-08-27 10:56:37 +08:00
Marius Vikhammer
9960cdd313 Merge branch 'docs/cpu_lockup' into 'master'
Docs/cpu lockup

See merge request espressif/esp-idf!33072
2024-08-27 10:36:11 +08:00
Omar Chebib
6f968394bd Merge branch 'bugfix/ldgen_file_single_entry' into 'master'
fix(ldgen): fix linker script generation from a single-entry fragment file

See merge request espressif/esp-idf!33033
2024-08-27 10:10:30 +08:00
Marius Vikhammer
385439213a change(pthread): changed pthread to not pull in init functions if not used
The pthread_init function would always get included in the binary,
even when no pthread functions were used.

This happens due to us using -u linker flags to force the linker to
consider the pthread library, to ensure the weak pthread functions in
the toolchain are overridden.

By restructing the code to rely on lazy inits instead we can avoid using
a init function, and therefor save some space.

Closes https://github.com/espressif/esp-idf/issues/14213
2024-08-27 10:00:04 +08:00
Armando
5e50b11232 fix(psram): fixed ap3204 id check 2024-08-27 09:51:27 +08:00
Wei Yu Han
a11aa9ce10 Merge branch 'docs/add_ble_get_started_docs' into 'master'
[BT-3811] Added BLE Get Started

See merge request espressif/esp-idf!32195
2024-08-27 09:41:50 +08:00
Zhou Xiao
f62f21dafb [BT-3811] Added BLE Get Started 2024-08-27 09:41:50 +08:00
Alexey Gerenkov
f429790e34 feat(tools): update openocd version to v0.12.0-esp32-20240821 2024-08-26 17:36:53 +00:00
Kevin (Lao Kaiyao)
c9df77efbf Merge branch 'feature/check_efuse_blk_after_ota' into 'master'
feat(bootloader): support to check efuse block revision

Closes IDF-10718

See merge request espressif/esp-idf!30772
2024-08-26 23:26:58 +08:00
Island
18e8e18fa9 Merge branch 'bugfix/fixed_c6_c2_issues_master' into 'master'
Bugfix/fixed c6 c2 issues master

Closes BLERP-946, BLERP-940, BLERP-939, BLERP-937, BLERP-934, BLERP-906, BLERP-932, and BLERP-959

See merge request espressif/esp-idf!32977
2024-08-26 19:28:46 +08:00
zhanghaipeng
86713a6946 docs(ble/bluedroid): Optimize BLE example documentation for getting characteristic 2024-08-26 19:24:56 +08:00
Rahul Tank
4d7489a8ff fix(nimble): Corrected parameters assignment in per_adv_transfer_enable 2024-08-26 16:54:20 +05:30
Nebojša Cvetković
e03fd702ae fix(bt/bluedroid): Resolve warning: unused variable 'pp' 2024-08-26 19:19:48 +08:00
Jiang Jiang Jian
7e6cc5d3ff Merge branch 'fix/fix_wifi_rssi_to_snr_issue' into 'master'
fix(wifi): fix wifi rssi to snr issue

Closes WIFI-6624

See merge request espressif/esp-idf!33045
2024-08-26 18:02:50 +08:00
C.S.M
97acf99867 feat(isp_hist): Add ISP histogram support for esp32p4 (part1) 2024-08-26 17:58:37 +08:00
zwx
f1ea8ca5f0 feat(802.15.4): support large scale pending table size 2024-08-26 17:52:28 +08:00
zwx
9c9ae155ba feat(lwip): add a config to set the size of ND6 table cache 2024-08-26 17:48:51 +08:00
Marius Vikhammer
bdb36f133a Merge branch 'docs/freertos_stack_size' into 'master'
docs(freertos): update freertos comments to reflect that stack size is in bytes

Closes IDFGH-10342

See merge request espressif/esp-idf!32946
2024-08-26 16:19:01 +08:00
Tomas Rezucha
c990e1007d Merge branch 'docs/usb_docs_p4' into 'master'
Update USB host & device documentation for P4

Closes IDF-7724

See merge request espressif/esp-idf!32855
2024-08-26 15:47:05 +08:00
Song Ruo Jing
1e6d843e65 fix(ringbuf): allow xRingbufferCreateWithCaps to pass in non-32-bit aligned size 2024-08-26 15:45:14 +08:00
Aditya Patwardhan
7421889967 Merge branch 'contrib/github_pr_14410' into 'master'
fix(http_server): Don't require LWIP_NETIF_LOOPBACK for Linux target (GitHub PR)

Closes IDFGH-13519

See merge request espressif/esp-idf!33073
2024-08-26 15:42:44 +08:00
Marius Vikhammer
a04bedc4ce Merge branch 'bugfix/assert_ndebug' into 'master'
feat(newlib): add option to disable eval of expression in assert() when NDEBUG set

Closes IDFGH-479 and IDFGH-8692

See merge request espressif/esp-idf!32887
2024-08-26 15:42:31 +08:00
Erhan Kurubas
7d2e2676e5 Merge branch 'fix/sysview_example_tests' into 'master'
fix(test): Fix sysview example tests

Closes IDFCI-2282

See merge request espressif/esp-idf!32376
2024-08-26 15:23:29 +08:00
Nachiket Kukade
1bedadcc17 fix(wifi): Fix wrong typecasting of sta_info while getting SPP Caps 2024-08-26 14:53:31 +08:00
Jiang Jiang Jian
f54e1a8f09 Merge branch 'bugfix/fix_work_queue_delete_on_bluedroid' into 'master'
fix(bt/bluedroid): Fixed work queue delete when create thread failed

See merge request espressif/esp-idf!33037
2024-08-26 14:47:48 +08:00
Tomas Rezucha
c48d1641b4 docs(usb/host): Update USB host docs for ESP32-P4 2024-08-26 08:26:45 +02:00
Tomas Rezucha
d0220bd3e8 docs(usb/device): Update USB device docs for ESP32-P4 2024-08-26 08:26:39 +02:00
C.S.M
08fbc01178 Merge branch 'test/enable_i2c_test' into 'master'
test(i2c): Enable all i2c test on esp32p4, esp32c5

Closes IDF-8960 and IDF-10307

See merge request espressif/esp-idf!33043
2024-08-26 14:13:09 +08:00
Marius Vikhammer
baf026dcf8 docs(system): add cpu lock up description 2024-08-26 11:59:51 +08:00
morris
227e35ae58 Merge branch 'docs/update_application_examples_of_gpio' into 'master'
docs: Update the application examples in gpio.rst

See merge request espressif/esp-idf!32652
2024-08-26 11:52:20 +08:00
morris
c144052e25 Merge branch 'docs/update_application_examples_of_ledc' into 'master'
docs: Update the application examples in ledc.rst

See merge request espressif/esp-idf!32643
2024-08-26 11:49:56 +08:00
Rahul Tank
41d1b687a5 Merge branch 'fix/change_bt_hci_log_to_nimble_nomenclature' into 'master'
Added BT_HCI_LOG_INCLUDED macro into esp nimble configuration according to nimble nomenclature

See merge request espressif/esp-idf!32868
2024-08-26 11:47:29 +08:00
wangtao@espressif.com
285301a967 fix(wifi): fix wifi rssi to snr issue 2024-08-26 10:45:13 +08:00
C.S.M
acda9ad8bf test(i2c): Enable all i2c test on esp32p4, esp32c5 2024-08-26 10:43:22 +08:00
Marius Vikhammer
766f1f2308 Merge branch 'bugfix/riscv_task_wdt_cleanup' into 'master'
fix(wdt): changed register dump on task WDT to be more descriptive

Closes IDFGH-13506

See merge request espressif/esp-idf!32947
2024-08-26 10:28:59 +08:00
Marius Vikhammer
0d140f38ea fix(system): fixed warnings related to ununsed var if asserts disabled 2024-08-26 10:25:04 +08:00
laokaiyao
da4a7f7407 refactor(bootloader): lower down the log level to reduce the bootloader size 2024-08-26 10:02:31 +08:00
laokaiyao
1c2f8b8ce0 feat(bootloader): support to check efuse block revision
change(bootloader): remove ignore efuse check flag (temp)

change(bootloader): use int for the minimum efuse blk rev (temp)
2024-08-26 10:02:31 +08:00
laokaiyao
f3879f7615 docs(chip_revision): update eFuse block revision info 2024-08-26 10:02:31 +08:00
Astha Verma
ef6f7ef528 fix(nimble): Added BT_HCI_LOG_INCLUDED macro according to nimble nomenclature 2024-08-24 11:02:32 +05:30
David Čermák
f71f0fc627 Merge branch 'feat/esp_netif_custom_impl' into 'master'
feat(esp_netif): Add support for esp_netif with custom TCP/IP stack

Closes IDF-6375

See merge request espressif/esp-idf!31593
2024-08-23 21:52:56 +08:00
harshal.patil
3b97011e39 fix(esp_security/ds): Clean up DS trying to re-acquire MPI lock post common crypto lock layer 2024-08-23 17:53:55 +05:30
Sudeep Mohanty
a110f09d5e Merge branch 'task/enable_fpu_in_isr_for_esp32s3' into 'master'
feat(freertos): Enabled Kconfig option to allow FPU usage in ISR for esp32s3

Closes IDFGH-13365

See merge request espressif/esp-idf!32746
2024-08-23 20:18:18 +08:00
Mahavir Jain
a5f249bae2 Merge branch 'fix/esp_tls_excessive_parameter_check' into 'master'
fix(esp-tls): Reduce parameter check for esp_tls_conn_read

Closes IDF-10912

See merge request espressif/esp-idf!33036
2024-08-23 19:32:33 +08:00
David Cermak
921b2a6331 fix(esp_netif): Add unit test for loopback configuration
Split tests into common and lwip/loopback specific and adds loopback
tests as separate configuration.
2024-08-23 18:13:47 +08:00
David Cermak
c6748a636d fix(esp_netif): Prepare for more tests moving esp_netif_test to .._lwip 2024-08-23 18:13:47 +08:00
David Cermak
049f6f6bdc feat(esp_netif): Add support for esp_netif with custom TCP/IP stack
Added a new Kconfig option ESP_NETIF_PROVIDE_CUSTOM_IMPLEMENTATION which
uses only esp_netif headers, no implementation is provided and expected
to be supplied by application layer.
2024-08-23 18:13:47 +08:00
Omar Chebib
a8bb279dff fix(ldgen): fix linker script generation from a single-entry fragment file 2024-08-23 17:25:19 +08:00
Jiang Jiang Jian
74dc204b59 Merge branch 'bugfix/pm-165' into 'master'
fix the issue of station fail to connect to softap caused by abnormal rf flag signal

Closes PM-165

See merge request espressif/esp-idf!32359
2024-08-23 17:02:58 +08:00
C.S.M
207a757af1 Merge branch 'test/serial_jtag_rom' into 'master'
test(usb_serial): Add a test for printf/rom_printf after driver is installed

See merge request espressif/esp-idf!32057
2024-08-23 16:47:31 +08:00
chenjianhua
ec0277d833 fix(bt/bluedroid): Fixed work queue delete when create thread failed 2024-08-23 16:31:12 +08:00
Linda
14cdd8ba2b docs: format establish-serial-connection.rst 2024-08-23 16:29:37 +08:00
Li Shuai
5a604d3e18 fix(esp_wifi): fix the issue of station fail to connect to softap caused by abnormal rf flag signal 2024-08-23 15:42:34 +08:00
C.S.M
35251a69eb test(usb_serial): Add a test for printf/rom_printf after driver is installed 2024-08-23 14:59:57 +08:00
Radim Karniš
a263f833c9 Merge branch 'ci/efuse_tests' into 'master'
ci(espefuse_test): Comply with esptool v4.8

See merge request espressif/esp-idf!33021
2024-08-23 14:58:56 +08:00
Aditya Patwardhan
e957b50e50 fix(esp-tls): Reduce parameter check for esp_tls_conn_read
Previously the *data parameters of esp_tls_conn_read
    was required to be non-NULL after espressif/esp-idf!28358.
    This prevents users from using a functionality in esp_tls_conn_read
    where calling `esp_tls_conn_read(ctx, NULL, 0);` triggers the
    transfer of contents from tcp layer to mbedtls (ssl) layer.
    After this the user can read the contents from
    esp_tls_get_bytes_avail().
    This commit removes the additional NULL check on the data field
    to keep this functionality enabled.
2024-08-23 12:08:42 +05:30
Rahul Tank
ac8f354458 Merge branch 'bugfix/blesmp_getlist_bond_fail' into 'master'
fix(nimble): Fixed blesmp getbondlist issue

Closes BLERP-921

See merge request espressif/esp-idf!32697
2024-08-23 12:36:27 +08:00
Island
35235257d7 Merge branch 'docs/add_nimble_get_started' into 'master'
[BT-3812] NimBLE Get started examples added

Closes BT-3812

See merge request espressif/esp-idf!32150
2024-08-23 12:13:05 +08:00
Ren Peiying
60984ca1fc Merge branch 'docs/remove_pico-kit-related-diagram' into 'master'
docs: remove pico-kit related images after migration

See merge request espressif/esp-idf!32877
2024-08-23 11:58:56 +08:00
Zhang Shuxian
0eb9d052d0 docs: Update the application examples in ledc.rst 2024-08-23 10:16:11 +08:00
Zhang Shuxian
2cee7899d5 docs: Update the application examples in gpio.rst 2024-08-23 10:10:35 +08:00
Island
db1f207d64 Merge branch 'feat/get_free_heap_size_for_ble' into 'master'
feat(ble/controller): Support get BLE controller free heap size

Closes BLERP-938

See merge request espressif/esp-idf!32874
2024-08-23 10:09:44 +08:00
Tomas Rezucha
73e0948332 Merge branch 'docs/usb_maintainer_docs_p4' into 'master'
docs(usb/host): Update maintainer docs for ESP32-P4

See merge request espressif/esp-idf!32831
2024-08-22 22:21:31 +08:00
Radim Karniš
4ccdc51b07 ci(espefuse_test): Comply with esptool v4.8 2024-08-22 16:12:16 +02:00
Konstantin Kondrashov
d27cf6d00c Merge branch 'feature/efuse_update' into 'master'
feat(efuse): Updates efuse tables for p4 and c5

See merge request espressif/esp-idf!32904
2024-08-22 20:40:28 +08:00
Ivan Grokhotkov
5e9ac5bdf7 test(build_system): print failed command and output when test fails 2024-08-22 13:59:43 +02:00
Wu Zheng Hui
789b9ad5a9 Merge branch 'feat/support_xtal_as_rtc_fast_sleep' into 'master'
feat(esp_hw_support): support PMU parameters when XTAL is used as fast clock source

Closes PM-197

See merge request espressif/esp-idf!32811
2024-08-22 19:37:13 +08:00
Gao Xu
bf7f146cc8 Merge branch 'feat/support_hysteresis_filter_on_c61' into 'master'
feat(gpio): support hysteresis filter on C61

See merge request espressif/esp-idf!32881
2024-08-22 19:30:16 +08:00
C.S.M
8aee667873 fix(i2c_master): Fix an I2C issue that slave streth happen but master timeout set seems doesn't work
Closes https://github.com/espressif/esp-idf/issues/14129
Closes https://github.com/espressif/esp-idf/issues/14401
2024-08-22 18:28:57 +08:00
Armando (Dou Yiwen)
6f704a47e8 Merge branch 'doc/isp_sharpen_doc' into 'master'
doc(isp): isp sharpen programming guide

Closes IDF-10854

See merge request espressif/esp-idf!32920
2024-08-22 18:07:54 +08:00
C.S.M
64c185d39b Merge branch 'feat/psram_bringup_c61' into 'master'
feature(spiram): Bringup spiram for esp32c61, also flash, also .bss .noinit

Closes IDF-9293 and IDF-9294

See merge request espressif/esp-idf!32709
2024-08-22 17:10:05 +08:00
Island
6a2bc24f7f Merge branch 'bugfix/fix_ble_resolve_adv_data' into 'master'
fix(ble/bluedroid): Fixed memory out-of-bounds issue when parsing adv data

Closes BLERP-941

See merge request espressif/esp-idf!32894
2024-08-22 16:54:49 +08:00
Island
43adf04da6 Merge branch 'docs/optimized_blufi_example' into 'master'
docs(blufi): Optimize documentation for Blufi example

Closes BLERP-892

See merge request espressif/esp-idf!32954
2024-08-22 16:54:43 +08:00
Armando
212aef3b63 doc(isp): isp sharpen programming guide 2024-08-22 16:28:01 +08:00
C.S.M
4632bf2f8b Merge branch 'feat/bod_bringup_c5' into 'master'
feat(brownout): Add brownout detector support on esp32c5, esp32c61

Closes IDF-8647 and IDF-9254

See merge request espressif/esp-idf!32930
2024-08-22 16:24:34 +08:00
zhanghaipeng
946f484861 feat(ble/controller): Support get BLE controller free heap size 2024-08-22 14:42:52 +08:00
shreeyash
1ff60d5336 fix(nimble): Fixed blesmp getbondlist issue 2024-08-22 10:40:45 +05:30
Kirill Chalov
0d79e41ebc Merge branch 'fix/update_instructions_building_docs' into 'master'
fix: update instructions for building docs

See merge request espressif/esp-idf!32986
2024-08-22 12:47:58 +08:00
Song Ruo Jing
c607544126 Merge branch 'feature/isp_gamma_correction_support' into 'master'
feat(isp): add gamma correction driver to ISP

Closes IDF-9988

See merge request espressif/esp-idf!32274
2024-08-22 12:09:31 +08:00
C.S.M
2cbf859f6f fix(intr_dump): Fix the interrupt dump expected output 2024-08-22 11:26:30 +08:00
C.S.M
8078ad7840 feat(brownout): Add brownout detector support on esp32c61 2024-08-22 11:26:30 +08:00
C.S.M
e76c2c4b53 feat(brownout): Add brownout detector support on esp32c5 2024-08-22 11:26:30 +08:00
gaoxu
004f27efda feat(gpio): support hysteresis filter on C61 2024-08-22 11:24:03 +08:00
Marius Vikhammer
fab065848d Merge branch 'fix/clang_linker_fix_for_linux_target' into 'master'
fix(cmake): Fixed linker not supporting -warn_commons for linux target on MacOS

Closes IDFGH-12129

See merge request espressif/esp-idf!32870
2024-08-22 11:18:58 +08:00
C.S.M
271ca9f85a feat(spiram): Add .noinit and .bss segement support on esp32c61 2024-08-22 10:58:50 +08:00
C.S.M
fad2c740b1 feature(spi_flash): Promote the c61 mspi clock frequency from 40 to 80M 2024-08-22 10:58:50 +08:00
Marius Vikhammer
c7df9db237 Merge branch 'bugfix/ulp_build_windows' into 'master'
fix(ulp): fixed ulp apps not compiling on windows

Closes IDF-10856

See merge request espressif/esp-idf!32949
2024-08-22 10:51:25 +08:00
Marius Vikhammer
6e51c0525d fix(wdt): changed register dump on non panic task WDT to be more descriptive
Closes https://github.com/espressif/esp-idf/issues/14400
2024-08-22 10:48:26 +08:00
kirill.chalov
7a19f65f58 fix: update instructions for building docs 2024-08-22 10:44:31 +08:00
C.S.M
b676f6080d feature(spiram): Add spiram support on esp32c61 2024-08-22 10:38:43 +08:00
Island
66b8c33308 Merge branch 'bugfix/fix_c5_ble_crash_issue' into 'master'
fix(ble): fix esp32c5 crash issue when enable the ble controller

See merge request espressif/esp-idf!32890
2024-08-22 10:28:43 +08:00
Marius Vikhammer
66462fe09b Merge branch 'ci/disable_http_request_p4' into 'master'
ci(https_request): disable example for P4

See merge request espressif/esp-idf!33000
2024-08-22 09:55:37 +08:00
Zhou Xiao
c44b5c228f docs(ble): Replace advertising interval hex value with BLE_GAP_ADV_ITVL_MS 2024-08-22 09:55:22 +08:00
Zhou Xiao
46e2507c28 docs(ble): Improved as Weilong and Shenhang requested 2024-08-22 09:55:22 +08:00
zhouxiao
8a9c64cdb7 docs(ble): Added BLE Get Started 2024-08-22 09:55:22 +08:00
Marius Vikhammer
a6517676c9 Merge branch 'bugfix/usleep_overflow' into 'master'
fix(newlib): fixed potential overflow in usleep

Closes IDFGH-13493

See merge request espressif/esp-idf!32917
2024-08-22 09:55:08 +08:00
zwl
8c3e2c9d5a fix(ble): fixed ble controller issues on ESP32-C2 2024-08-22 09:53:11 +08:00
zwl
e8c80d4809 fix(ble): fixed ble controller issues on ESP32-H2 2024-08-22 09:53:11 +08:00
zwl
c038e38c24 fix(ble): fixed ble controller issues on ESP32-C6 2024-08-22 09:53:11 +08:00
Marius Vikhammer
4b8a2b4a6e ci(https_request): disable example for P4 2024-08-22 09:38:28 +08:00
Zhang Xiao Yan
83e0eeec79 Merge branch 'docs/fix_typo_adc_oneshot' into 'master'
docs: fix a typo in adc_oneshot

See merge request espressif/esp-idf!32893
2024-08-22 09:24:42 +08:00
Marek Fiala
46efcd09c7 Merge branch 'fix/ci_win_kconfig' into 'master'
fix(Tools): failing Win CI tests

Closes IDF-10514 and IDF-10764

See merge request espressif/esp-idf!32446
2024-08-22 00:28:48 +08:00
Jakob Hasse
efa25eaecb Merge branch 'doc/improve_iram_safe_intr_handlers_section' into 'master'
docs(interrupts): improved interrupt handler placement documentation

Closes IDF-8576

See merge request espressif/esp-idf!32883
2024-08-22 00:03:32 +08:00
Jiang Jiang Jian
b6f67b36fb Merge branch 'bugfix/fix_clkn_lost_after_modem_sleep' into 'master'
fix(bt/controller): Fixed bluetooth disconnect issue after modem sleep on ESP32

Closes BT-3831

See merge request espressif/esp-idf!32959
2024-08-21 23:19:50 +08:00
Rahul Tank
c480d92a59 Merge branch 'feat/ble_link_estab_event' into 'master'
feat(nimble): BLE_GAP_EVENT_LINK_ESTAB event to ensure link is established

Closes BLEQABR24-977, BLERP-851, BLERP-854, BLERP-878, IDFCI-2291, IDFCI-2289, BLERP-933, and BLERP-947

See merge request espressif/esp-idf!31968
2024-08-21 23:17:28 +08:00
Harshal Patil
a00d22197c Merge branch 'change/secure_boot_config_description' into 'master'
Improve description of the config SECURE_BOOT_V2_ALLOW_EFUSE_RD_DIS

Closes IDF-9161

See merge request espressif/esp-idf!32651
2024-08-21 22:08:23 +08:00
Marek Fiala
364f777f96 feat(tools): Allow test_spaces_bundle4 to fail on Win 2024-08-21 14:37:06 +02:00
Marek Fiala
e95aff7ca9 feat(tools): sanitize all fixtures using test names
The parametrization include `[` and `]` in names. This is not
possible to use within path. Expand the sanitization into all
fixtures using request.node.name.
2024-08-21 14:37:06 +02:00
Marek Fiala
ccbb415be8 feat(tools): add pytest mark idf_copy_with_space 2024-08-21 14:37:05 +02:00
Marek Fiala
f0e8966ca5 feat(tools): Use custom directory in failing pytest 2024-08-21 14:37:05 +02:00
Adam Múdry
3f13adadab Merge branch 'fix/sdmmc_probe_timing_retry' into 'master'
fix(sdmmc): Fix SDMMC slot switch timing related issue on ESP32-P4

Closes IDFCI-2328

See merge request espressif/esp-idf!32900
2024-08-21 20:01:23 +08:00
Chen Ji Chang
b8b845a96a Merge branch 'change/remove_sdm_and_glitch_filter_on_c61' into 'master'
Change(sdm,glitch_filter): remove sdm and glitch filter on c61

Closes IDF-9340 and IDF-9335

See merge request espressif/esp-idf!32691
2024-08-21 19:28:05 +08:00
zhanghaipeng
c1fb888cc1 fix(ble/bluedroid): Fixed memory out-of-bounds issue when parsing adv data 2024-08-21 19:27:36 +08:00
Adam Múdry
6cb2080076 fix(nvs): nvs_tool.py reduce false duplicate warnings 2024-08-21 19:06:27 +08:00
Adam Múdry
4e7d2ec241 refactor(nvs): nvs_tool.py integrity check refactor 2024-08-21 19:06:27 +08:00
harshal.patil
03a15664ee change(bootloader_support/secure_boot): Improve description of the config SECURE_BOOT_V2_ALLOW_EFUSE_RD_DIS
Co-authored-by: Zhang Shuxian <zhangshuxian@espressif.com>
2024-08-21 16:32:54 +05:30
Wei Yu Han
d60eb862c2 Merge branch 'docs/update_ble_feature_status' into 'master'
docs(ble): Updated the support status of Encrypted Advertising Data

See merge request espressif/esp-idf!32892
2024-08-21 18:39:23 +08:00
Wei Yu Han
607c0bdb2f docs(ble): Updated the support status of Encrypted Advertising Data and LE Power Controll 2024-08-21 18:39:23 +08:00
morris
fdd90d4894 Merge branch 'feat/i80_lcd_esp32p4' into 'master'
Add i80 LCD support on ESP32P4

See merge request espressif/esp-idf!32829
2024-08-21 18:04:39 +08:00
linruihao
fd46936033 fix(bt/controller): Fixed bluetooth disconnect issue after modem sleep on ESP32 2024-08-21 17:53:25 +08:00
Mahavir Jain
7489258160 Merge branch 'feat/enable_protocol_examples_for_c5' into 'master'
feat(protocols): Added and Tested eps32c5 with protocols examples

See merge request espressif/esp-idf!32778
2024-08-21 17:32:34 +08:00
Song Ruo Jing
f2d131aae4 feat(isp): add gamma correction driver to ISP 2024-08-21 17:27:16 +08:00
Island
3929afdb5f Merge branch 'fix/ble_mesh_gh_pr_13135' into 'master'
fix(ble_mesh): Fix OP_TIME_SET and OP_TIME_STATUS

See merge request espressif/esp-idf!32768
2024-08-21 16:54:40 +08:00
Jakob Hasse
db067f3bda docs(interrupts): improved interrupt handler placement documentation 2024-08-21 10:35:04 +02:00
Ivan Grokhotkov
0773caf283 Merge branch 'feature/idf_py_efuse_qemu' into 'master'
feat(idf.py): support efuse-related commands in QEMU

Closes QEMU-193

See merge request espressif/esp-idf!29809
2024-08-21 16:13:54 +08:00
wuzhenghui
2659607d13 feat(esp_hw_support): support PMU parameters when XTAL is used as fast clock source 2024-08-21 15:44:01 +08:00
Rahul Tank
61aae40313 feat(nimble): BLE_GAP_EVENT_LINK_ESTAB event to ensure link established 2024-08-21 13:07:46 +05:30
C.S.M
6730203c1d Merge branch 'support_psram_noinit_segment_on_s3' into 'master'
feat(psram): add psram noinit  segment support on s2/s3/p4/c5 and bss segment on c5

Closes IDF-4811, IDF-8689, IDF-10311, and IDFGH-13336

See merge request espressif/esp-idf!32503
2024-08-21 15:25:07 +08:00
Mahavir Jain
44327e6887 Merge branch 'feat/enable_ota_example_for_c5' into 'master'
feat(ota): Checked the support of OTA for esp32c5

See merge request espressif/esp-idf!32673
2024-08-21 15:24:16 +08:00
Mahavir Jain
2884ce0eac Merge branch 'contrib/github_pr_14398' into 'master'
fix esp_secure_boot not compiling in C++ (GitHub PR)

Closes IDFGH-13503

See merge request espressif/esp-idf!32948
2024-08-21 14:51:02 +08:00
hrushikesh.bhosale
ed4166a64c feat(ota): Checked the support of OTA for esp32c5
Checked the support of OTA features for esp32c5, tested
examples and added the support in README.md file. Even
added the support in systems .build-test-rules.yml
2024-08-21 11:45:41 +05:30
Rahul Tank
5b56ff6f8b Merge branch 'bugfix/changes_in_wifi_prov_mgr' into 'master'
fix(wifi_prov_mgr): Api to keep BLE on after provisioning

Closes IDF-8295

See merge request espressif/esp-idf!32764
2024-08-21 13:58:13 +08:00
Chen Jichang
1c1f536235 feat(psram): add psram noinit segment support on S2/S3/P4/C5
Closes https://github.com/espressif/esp-idf/issues/14253
2024-08-21 12:13:16 +08:00
Mahavir Jain
ad3a257390 Merge branch 'contrib/github_pr_14314' into 'master'
perf(gcm): shrink Shoup table and tune GCM loop (GitHub PR)

Closes IDFGH-13409

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

See merge request espressif/esp-idf!32908
2024-08-21 12:12:10 +08:00
Armando (Dou Yiwen)
79a4419956 Merge branch 'feat/isp_yuvrgb' into 'master'
isp: support more yuv / rgb configurations

Closes IDF-10734

See merge request espressif/esp-idf!32932
2024-08-21 12:02:53 +08:00
Jiang Jiang Jian
f12cdd7b2a Merge branch 'fix/fix_esp32c5_connect_issues_1' into 'master'
fix(wifi): fix esp32c5 connect issues cause by change band mode to 5G only

Closes WIFIBUG-682 and WIFIBUG-494

See merge request espressif/esp-idf!32554
2024-08-21 11:56:27 +08:00
alanmaxwell
f73612d616 fix(phy): fix esp32 rx sense issue
improve esp32 rx sense from -94 to -97 which was introduced by 4dfeb9c26
2024-08-21 10:43:56 +08:00
Jiang Jiang Jian
cf12c384d5 Merge branch 'support/esp32c5_br_lib' into 'master'
feat(openthread): support br lib for esp32c5

Closes TZ-957

See merge request espressif/esp-idf!32854
2024-08-21 10:38:59 +08:00
snake-4
8bade3bf2c fix(http_server): Don't require LWIP_NETIF_LOOPBACK for Linux target 2024-08-21 04:25:10 +02:00
Tomas Rezucha
6457d3942d Merge branch 'fix/usb_dma_api' into 'master'
fix(usb/host): Use new cache aligned DMA alloc functions

Closes IDF-10048

See merge request espressif/esp-idf!32891
2024-08-20 23:45:45 +08:00
Mahavir Jain
71b56bd3f3 Merge branch 'feature/introduce_security_component' into 'master'
Introduce a new security component

Closes IDF-9359

See merge request espressif/esp-idf!31969
2024-08-20 22:18:07 +08:00
Jiang Jiang Jian
ff0bc815a2 Merge branch 'bugfix/fixed_c2_blufi_issue_when_use_only_4.2_adv' into 'master'
fix(ble): fixed blufi issue on ESP32-C2

Closes BLERP-944

See merge request espressif/esp-idf!32941
2024-08-20 22:04:51 +08:00
Radek Tandler
f75db5caf4 Merge branch 'bugfix/nvs_entry_sanity_check' into 'master'
Bugfix/added nvs entry header sanity checks

See merge request espressif/esp-idf!32529
2024-08-20 20:46:27 +08:00
Alexey Lapshin
64f9917dde fix(build): fix orphan sections warning kconfig variable 2024-08-20 20:07:32 +08:00
hrushikesh.bhosale
7d2253288f feat(protocols): Added and Tested eps32c5 with protocols examples
Tested examples from the protocols, added the support of esp32c5
into the README.md and .build-test-rules.yml file
2024-08-20 17:18:54 +05:30
Adam Múdry
b263b9dff9 fix(sdmmc): Fix SDMMC slot switch timing related issue on ESP32-P4 2024-08-20 19:17:08 +08:00
morris
565235d7af change(lcd): simplify the i80 lcd example
removed the lcd touch panel initialization code.

For those touch panel driver usage, please check the esp_bsp repo.
2024-08-20 18:47:22 +08:00
morris
23c41fc772 feat(lcd): support i80 lcd driver on esp32p4 2024-08-20 18:47:22 +08:00
Shen Weilong
36c0bf9331 fix(ble): fix esp32c5 crash issue when enable the ble controller 2024-08-20 18:04:12 +08:00
Wang Meng Yang
884caed878 Merge branch 'fix/test_script_error_in_bt_example' into 'master'
fix(bt): remove redundant space in hid example path

See merge request espressif/esp-idf!32839
2024-08-20 18:03:52 +08:00
Wu Zheng Hui
5929eed30d Merge branch 'feat/support_software_trigger_retention' into 'master'
feat(esp_hw_support): support software trigger regdma retention

Closes PM-199

See merge request espressif/esp-idf!32789
2024-08-20 18:02:07 +08:00
C.S.M
ead16f1dcb Merge branch 'bugfix/fix_c61_msmspi_soc' into 'master'
fix(memspi): Correct the wrong c61 memspi soc file

See merge request espressif/esp-idf!32921
2024-08-20 17:20:55 +08:00
Rahul Tank
dbce23f8a4 Merge branch 'feat/allow_connect_during_scan' into 'master'
feat(nimble): Add support to allow connection during scanning

Closes BLERP-903

See merge request espressif/esp-idf!32509
2024-08-20 17:10:30 +08:00
radek.tandler
b937cb7549 fix(storage/nvs): Fixed hadling of inconsistent values in NVS entry header
feat(storage/nvs): Added test cases for damaged entries with correct CRC
2024-08-20 10:57:24 +02:00
Konstantin Kondrashov
545e26a0f2 feat(efuse): Updates efuse table for esp32c5 2024-08-20 16:51:56 +08:00
Konstantin Kondrashov
9923ecfaba feat(efuse): Updates efuse table for esp32p4 2024-08-20 16:51:56 +08:00
Jakob Hasse
d2cfb78d31 Merge branch 'refactor/spi_ram_stack_with_heap_caps_config' into 'master'
refactor(esp_psram): allow PSRAM as stack when PSRAM is only available via esp_heap_caps

Closes IDFGH-11604

See merge request espressif/esp-idf!32832
2024-08-20 16:48:44 +08:00
Ren Pei Ying
6ab490194c Merge branch 'docs/optimize_translation_for_api_reference_system_inc_files' into 'master'
docs: Optimize translation for api-reference/system/inc files

Closes DOC-8087

See merge request espressif/esp-idf!32033
2024-08-20 16:47:30 +08:00
Richard Allen
0b51c24238 change(mbedtls/port): optimize gcm_mult()
1) pre-shift GCM last4 to use 32-bit shift

On 32-bit architectures like Aarch32, RV32, Xtensa,
shifting a 64-bit variable by 32-bits is free,
since it changes the register representing half of the 64-bit var.
Pre-shift the last4 array to take advantage of this.

2) unroll first GCM iteration

The first loop of gcm_mult() is different from
the others. By unrolling it separately from the
others, the other iterations may take advantage
of the zero-overhead loop construct, in addition
to saving a conditional branch in the loop.
2024-08-20 16:44:56 +08:00
zwl
0611a04250 fix(ble): fixed blufi issue on ESP32-C2 2024-08-20 16:42:42 +08:00
Zhang Xiao Yan
357e28826d Merge branch 'docs/update_application_examples_build_system' into 'master'
docs: update application examples for build_system

See merge request espressif/esp-idf!32319
2024-08-20 15:51:24 +08:00
Jiang Jiang Jian
a871f54339 Merge branch 'bugfix/fix_bleqabr24_1152' into 'master'
Fixed BLE vendor HCI get controller status command on ESP32

Closes BLERP-936

See merge request espressif/esp-idf!32851
2024-08-20 15:17:24 +08:00
zhanghaipeng
0d2929358f docs(blufi): Optimize documentation for Blufi example 2024-08-20 14:29:16 +08:00
Tomas Rezucha
512df697f0 docs(usb/host): Update maintainer docs for ESP32-P4 2024-08-20 08:14:21 +02:00
Tomas Rezucha
660319ecaf fix(usb/host): Use new cache aligned DMA alloc functions 2024-08-20 08:13:32 +02:00
xuxiao
280a38130f fix(wifi): fix esp32c5 connect issues cause by change band mode to 5G only 2024-08-20 14:06:15 +08:00
Mahavir Jain
cdee290a5d Merge branch 'ci/enable_memprot_tests_for_esp32c5' into 'master'
Enable memory protection tests for ESP32-C5

Closes IDF-10099

See merge request espressif/esp-idf!32766
2024-08-20 13:35:29 +08:00
Marius Vikhammer
5b85871151 fix(ulp): fixed ulp apps not compiling on windows 2024-08-20 13:04:46 +08:00
Mahavir Jain
c338fec13c feat(esp_security): add component ownership entry 2024-08-20 12:35:22 +08:00
Mahavir Jain
1e8391f5fe fix(esp_security): keep esp_security as private dependency for esp_hw_support
- Only esp_hw_support -> esp_security as new private dependency
- In next major IDF release, the public interface can be moved
  esp_security component
2024-08-20 12:35:22 +08:00
Mahavir Jain
79f9c7d157 feat(esp_security): Move DS, HMAC, DPA and crypto lock implementation 2024-08-20 12:35:22 +08:00
Mahavir Jain
262f27290b feat(esp_security): move the crypto test app to new esp_security component 2024-08-20 12:35:22 +08:00
harshal.patil
57db17bec2 feat(esp_security/crypto): Create a generic crypto locking layer across targets 2024-08-20 12:35:22 +08:00
harshal.patil
488b2a741d change(esp_security): Move the crypto locking layer into the security component 2024-08-20 12:35:22 +08:00
harshal.patil
c125d21c71 change(esp_security): Move anti-DPA configuration into the security component 2024-08-20 12:35:22 +08:00
harshal.patil
b729a0a732 change(esp_security): Move crypto clk configuration into the security component 2024-08-20 12:35:22 +08:00
harshal.patil
239734e3d5 feat(esp_security): Register a bare-metal security component 2024-08-20 12:35:22 +08:00
Rahul Tank
f03c3ed43e feat(nimble): Add support to allow connection during scanning 2024-08-20 10:05:14 +05:30
Pat Erley
5daee45f6e fix(ble_mesh): Fix OP_TIME_SET and OP_TIME_STATUS
When a user app is handling these messages, the tai_utc_delta and
time_zone_offset fields are not correctly populated.  Resolve by
properly setting the fields.
2024-08-20 12:01:35 +08:00
Chen Jichang
a1fc225aaa feat(glitch_filter): remove glitch filter on c61 2024-08-20 10:57:01 +08:00
Chen Jichang
b947ff99da feat(sdm): remove sigma delta gpio on c61 2024-08-20 10:57:01 +08:00
C.S.M
6290fed472 fix(memspi): Correct the wrong c61 memspi soc file 2024-08-20 10:54:08 +08:00
wuzhenghui
56aefbe845 driver(gptimer): support software triggered GPTimer retention test 2024-08-20 10:52:17 +08:00
wuzhenghui
05504d5f68 feat(esp_hw_support): support extra link software trigger for all targets 2024-08-20 10:52:16 +08:00
Zhang Shu Xian
15825dc531 Merge branch 'docs/update_application_examples_of_gptimer' into 'master'
docs: Update the application examples in gptimer.rst

See merge request espressif/esp-idf!32646
2024-08-20 10:13:00 +08:00
Zhang Shu Xian
a41c5c9dee Merge branch 'docs/update_application_examples_of_rmt' into 'master'
docs: Update the application examples in rmt.rst

See merge request espressif/esp-idf!32654
2024-08-20 10:10:42 +08:00
Marius Vikhammer
ff8265b6b3 feat(newlib): add option to disable eval of expression in assert() when NDEBUG set
According to the standard assert(X) should be replaced by a void expression when
NDEBUG is set. IDF's behavior was to not trigger an assertion, but we would still
evaluate X, e.g. if X was a function it would be ran.

This MR adds a kconfig option CONFIG_COMPILER_ASSERT_NDEBUG_EVALUATE which allows us
revert the behavior to be inline with the standard.

With IDF v6.0 the plan is to make CONFIG_COMPILER_ASSERT_NDEBUG_EVALUATE=n the default
behavior.

Closes https://github.com/espressif/esp-idf/issues/10136
Closes https://github.com/espressif/esp-idf/issues/2758
2024-08-20 09:26:54 +08:00
Marius Vikhammer
596f635b28 fix(newlib): fixed potential overflow in usleep
If trying to usleep for 0xFFFF FFFF us the calculation of delay ticks would overflow
resulting in the system not sleeping at all.

Closes https://github.com/espressif/esp-idf/issues/14390
2024-08-20 09:26:27 +08:00
Marius Vikhammer
9bff8ad50e docs(freertos): update freertos comments to reflect that stack size is in bytes
Closes https://github.com/espressif/esp-idf/issues/11600
2024-08-20 09:26:09 +08:00
Armando
e9f65051e7 feat(isp): added isp yuv2rgb / rgb2yuv configs 2024-08-20 09:20:59 +08:00
Armando (Dou Yiwen)
c01ccd1f62 Merge branch 'ci/fix_esp32_exceed_bootloader_size' into 'master'
fix(ci): esp32 build failure due to bootloader size too large

Closes IDFCI-2331

See merge request espressif/esp-idf!32926
2024-08-20 09:20:18 +08:00
82f0477dfd fix(esp32) esp_secure_boot not compiling in C++ 2024-08-19 13:27:49 +02:00
Song Ruo Jing
7b510049fb fix(ci): esp32 build failure due to bootloader size too large 2024-08-19 19:08:10 +08:00
Linda
03611c121b docs: delete unavailable document links for ESP32-P4 2024-08-19 18:11:32 +08:00
Mahavir Jain
3ee092c9ac Merge branch 'bugfix/update_ota_readme' into 'master'
fix: update https server starting instructions in ota README

See merge request espressif/esp-idf!32862
2024-08-19 16:49:19 +08:00
Konstantin Kondrashov
bc5d324f73 Merge branch 'feature/p4_efuse_get_pkg_ver' into 'master'
feat(efuse): Updates esp_efuse_get_pkg_ver

Closes IDFCI-2324

See merge request espressif/esp-idf!32882
2024-08-19 15:44:31 +08:00
Jakob Hasse
d626bcac35 Merge branch 'refactor/nvs_coverage_gcovr' into 'master'
refactor(nvs_flash): Use gcovr instead of lcov for host-based page test

See merge request espressif/esp-idf!31734
2024-08-19 15:24:24 +08:00
Ren Pei Ying
afce238ca2 Merge branch 'docs/provide_cn_trans_for_partition-table_and_nvs_encryption' into 'master'
docs: Update CN translation for partition-table and nvs-encryption

Closes DOC-8184

See merge request espressif/esp-idf!32879
2024-08-19 15:22:28 +08:00
renpeiying
20379aeffb docs: Optimize translation for api-reference/system/inc files 2024-08-19 13:09:34 +08:00
renpeiying
98655d4ad3 docs: Update CN translation for partition-table and nvs-encryption 2024-08-19 12:58:37 +08:00
Marius Vikhammer
ae71b5984b Merge branch 'ci/timer_perf_c5' into 'master'
ci(timer): increase IDF_PERFORMANCE_MAX_ESP_TIMER_GET_TIME_PER_CALL for C5/C61

Closes IDFCI-2327

See merge request espressif/esp-idf!32888
2024-08-19 11:03:23 +08:00
Jiang Jiang Jian
87eaf18eb6 Merge branch 'feature/esp32c61_light_sleep_support_stage_1' into 'master'
feat(esp_hw_support): esp32c61 sleep support (Stage 1: support modem clock)

Closes IDF-9513

See merge request espressif/esp-idf!32518
2024-08-19 10:38:57 +08:00
Zhang Shuxian
ab7c3a5dc6 docs: Update the application examples in gptimer.rst 2024-08-19 10:14:59 +08:00
Zhang Shuxian
9f577f8005 docs: Update the application examples in rmt.rst 2024-08-19 10:01:31 +08:00
diplfranzhoepfinger
d836ea0107 Update uart_select_example_main.c 2024-08-18 20:28:04 +02:00
diplfranzhoepfinger
18e69cab01 Update uart_select_example_main.c 2024-08-18 20:19:49 +02:00
Aditya Patwardhan
4bd07892d2 Merge branch 'bugfix/sb_v2_docs_c3_rev' into 'master'
docs(security): fix ESP32-C3 minimum supported revision for secure boot v2

Closes IDFGH-13478

See merge request espressif/esp-idf!32896
2024-08-18 19:37:38 +08:00
Martin Vychodil
1b7bca6f13 Merge branch 'fix/bootloader_size_increase_perf_benchmark_fails_to_build' into 'master'
fix: Bootloader size increase broke perf_benchmark example compilation

Closes IDF-10861

See merge request espressif/esp-idf!32906
2024-08-18 18:05:27 +08:00
Adam Múdry
4a21b0e332 fix: Bootloader size increase broke perf_benchmark example compilation 2024-08-17 23:02:11 +02:00
Ivan Grokhotkov
5ef75d5073 Merge branch 'bugfix/reproducible_builds_improvements' into 'master'
build system: reproducible build improvements

Closes IDFGH-12690

See merge request espressif/esp-idf!32734
2024-08-16 19:02:40 +08:00
Linda
4fc4f7053b docs: update application examples for build_system 2024-08-16 17:59:11 +08:00
Chen Ji Chang
5b0c63b2cd Merge branch 'feat/add_ledc_support_on_c61' into 'master'
feat(ledc): add ledc support on c61

Closes IDF-9291

See merge request espressif/esp-idf!32705
2024-08-16 17:35:19 +08:00
Mahavir Jain
3ec400b332 docs(security): fix ESP32-C3 minimum supported revision for secure boot v2
Closes https://github.com/espressif/esp-idf/issues/14377
2024-08-16 15:04:28 +05:30
Song Ruo Jing
15e20f0dfb Merge branch 'ci/enable_esp32p4_gpio_uart_target_test' into 'master'
fix(gpio): esp32p4 IOs cannot keep being held in the entire deep sleep process

Closes IDF-8968, IDF-8971, and IDF-9877

See merge request espressif/esp-idf!32510
2024-08-16 17:31:59 +08:00
gongyantao
9a2e2f95e9 fix(ci): disable ci test when target is not support classic bluetooth 2024-08-16 17:26:36 +08:00
Zhang Xiao Yan
d7db82fecf Merge branch 'docs/update_application_examples_related_system' into 'master'
docs: update application examples related to system

See merge request espressif/esp-idf!32414
2024-08-16 17:24:20 +08:00
Abhik Roy
4873a94b01 Merge branch 'example/ping_invalid_ip6_fix' into 'master'
fix(example): Fixed updating recv addr for invalid packets

Closes IDFGH-13264

See merge request espressif/esp-idf!32275
2024-08-16 17:01:37 +08:00
Abhik Roy
36dfa367d1 Merge branch 'lwip/multi_dns_ip_fix' into 'master'
fix(lwip): Fixed incorrect handling of 0.0.0.0 in dns

Closes IDFGH-13115 and IDF-10035

See merge request espressif/esp-idf!32223
2024-08-16 16:59:43 +08:00
Linda
e5019c9da0 docs: update application examples related to system 2024-08-16 16:16:58 +08:00
Linda
a2d64723c2 docs: fix a typo in adc_oneshot 2024-08-16 16:04:53 +08:00
Jeroen Domburg
9dc00a4fb4 Merge branch 'fix/char_skip_using_usj_proper_fix' into 'master'
fix(usb-serial-jtag): Call driver-specific fsync function for usb-serial-jtag rather than poking the hardware directly

Closes IDFGH-12988

See merge request espressif/esp-idf!32473
2024-08-16 14:43:29 +08:00
Armando (Dou Yiwen)
b432ded957 Merge branch 'feat/isp_sharp' into 'master'
isp: sharp driver

Closes IDF-10494 and IDF-10673

See merge request espressif/esp-idf!32316
2024-08-16 13:07:15 +08:00
Song Ruo Jing
860453df47 Merge branch 'bugfix/esp_rom_gpio_connect_out_signal_patch' into 'master'
fix(gpio): patched esp_rom_gpio_connect_out_signal for esp32 and esp32s2

Closes IDFGH-11731 and IDFGH-13373

See merge request espressif/esp-idf!32816
2024-08-16 12:03:25 +08:00
Michael (XIAO Xufeng)
742a4838d6 Merge branch 'fix/mmu_multicore_app_bl' into 'master'
fix(MMU): fixed mmap deadlock when using multicore app with unicore bootloader

Closes IDFGH-10359

See merge request espressif/esp-idf!32745
2024-08-16 11:49:32 +08:00
Marius Vikhammer
f9ed33857d ci(timer): increase IDF_PERFORMANCE_MAX_ESP_TIMER_GET_TIME_PER_CALL for C5/C61 2024-08-16 11:12:46 +08:00
Jiang Jiang Jian
465545703f Merge branch 'bugfix/fix_wifi_example_itwt_build_fail_issue' into 'master'
fix(wifi): fix wifi example itwt build fail issue

See merge request espressif/esp-idf!32602
2024-08-16 11:01:15 +08:00
Wei Yu Han
782b8f0567 Merge branch 'docs/add_ble_feature_status_table' into 'master'
docs(ble): Added BLE feature support status

See merge request espressif/esp-idf!32873
2024-08-16 10:47:52 +08:00
Wei Yu Han
93fe12f54c docs(ble): Added BLE feature support status 2024-08-16 10:47:52 +08:00
C.S.M
f40380c472 Merge branch 'refactor/mspi_soc_c5_c61' into 'master'
fix(mspi): Refactor mspi ll/soc for c5 and c61

Closes IDF-5157

See merge request espressif/esp-idf!32151
2024-08-16 10:34:21 +08:00
Armando (Dou Yiwen)
f6ec756b8e Merge branch 'fix/fix_c5_p4_c6_cache_disable_with_brc_predict_issue' into 'master'
cache: fixed double exception after cache disabled caused by branch predictor

Closes IDFCI-2318 and IDF-10783

See merge request espressif/esp-idf!32828
2024-08-16 10:24:05 +08:00
Konstantin Kondrashov
e55ae515e2 feat(efuse): Updates esp_efuse_get_pkg_ver 2024-08-15 18:26:44 +03:00
Ivan Grokhotkov
7b228ce8ab feat(idf.py): allow running idf.py efuse-* commands with QEMU 2024-08-15 16:57:08 +02:00
Ivan Grokhotkov
cbc52e7d30 test(build_system): check reproducible builds with spaces in paths 2024-08-15 16:41:32 +02:00
Ivan Grokhotkov
bef4cb05ff fix(build_system): fix toolchain sysroot directory affecting builds
Closes https://github.com/espressif/esp-idf/issues/13680
2024-08-15 16:41:31 +02:00
Jakob Hasse
0d32deb4c4 refactor(test_apps): increased timeout of panic tests 2024-08-15 16:16:54 +02:00
Song Ruo Jing
706935f468 fix(gpio): esp32p4 IOs cannot keep being held in the entire deep sleep process 2024-08-15 21:54:21 +08:00
Song Ruo Jing
1171c3c281 fix(ci): enable gpio, uart target tests on esp32p4 2024-08-15 21:54:21 +08:00
Jakob Hasse
deb18eb487 Merge branch 'refactor/esp_ringbuf_linux' into 'master'
refactor(esp_ringbuf): Adjusted unit tests so some of them run on Linux

Closes IDF-9369

See merge request espressif/esp-idf!32683
2024-08-15 18:29:11 +08:00
Aleksei Apaseev
73ac0bcdff Merge branch 'ci/fix-retry-failed-jobs-stage' into 'master'
ci: add redundant job to ensure 'retry_failed_jobs' job is not skipped

See merge request espressif/esp-idf!32754
2024-08-15 18:08:10 +08:00
Wu Zheng Hui
561c0a8b82 Merge branch 'fix/always_writeback_l1dcache_before_sleep' into 'master'
fix(esp_hw_support): always writeback L1DCache before sleep to keep cpu/regdma data consistency

See merge request espressif/esp-idf!32875
2024-08-15 18:06:40 +08:00
Ondrej Kosta
a6b559db79 Merge branch 'feature/spi_eth_c5' into 'master'
feat(esp_eth): Added SPI Ethernet support of ESP32C5 in examples

Closes IDF-8697

See merge request espressif/esp-idf!31394
2024-08-15 18:06:26 +08:00
Armando
43ba57e704 change(isp): rename isp_af example to isp example 2024-08-15 18:06:23 +08:00
Armando
f1b5846a55 feat(isp): added isp sharp driver 2024-08-15 18:06:23 +08:00
renpeiying
513bf853b6 docs: remove pico-kit related images after migration 2024-08-15 17:17:59 +08:00
Abhik Roy
322f22d169 fix(lwip): Fixed incorrect handling of 0.0.0.0 in dns 2024-08-15 19:00:47 +10:00
Song Ruo Jing
2f92d863d8 fix(uart): eliminated potential glitch on TX at setup if TX signal is inversed
Closes https://github.com/espressif/esp-idf/issues/14285
2024-08-15 16:36:18 +08:00
Song Ruo Jing
ab4157b6cf fix(gpio): patched esp_rom_gpio_connect_out_signal for esp32 and esp32s2
The original ROM function enabled output for the pad first, and then connected the signal
This could result in an undesired level change at the pad

Closes https://github.com/espressif/esp-idf/issues/12826
2024-08-15 16:36:18 +08:00
Aleksei Apaseev
c30d22630f ci: update the logic to use the gitlab API to fetch failed jobs 2024-08-15 16:04:35 +08:00
Aleksei Apaseev
a0c3fb4d4a ci: add name for child pipelines 2024-08-15 16:04:35 +08:00
Aleksei Apaseev
4e44310ff1 ci: update authorization from Bearer token to CI_JOB_TOKEN while making requests to CI_DASHBOARD_API service 2024-08-15 16:04:35 +08:00
Aleksei Apaseev
f154151e14 ci: retry jobs for parent and child pipelines 2024-08-15 16:04:35 +08:00
Aleksei Apaseev
ae4687e43e ci: add redundant job to ensure 'retry_failed_jobs' job is not skipped 2024-08-15 16:01:23 +08:00
Jeroen Domburg
1cdf579b7a fix(usb-serial-jtag): Call driver-specific fsync function for usb-serial-jtag
The VFS driver used to switch to the interrupt-driven driver for rx and tx functions, but
still called its own fsync function, which poked the hardware directly. This interfered
with the driver interrupt, causing spurious bytes to disappear. This adds a driver-specific
sync function and support for that in the vfs layer.

Closes https://github.com/espressif/esp-idf/issues/13939
2024-08-15 15:35:41 +08:00
Chen Jichang
2e2cbd9aa8 feat(ledc): add ledc support on c61 2024-08-15 15:21:06 +08:00
C.S.M
bc80476411 fix(mspi): Refactor mspi ll/soc for c5 and c61 2024-08-15 15:08:56 +08:00
wuzhenghui
fb84c24bae fix(esp_hw_support): always writeback L1D$ before sleep to keep cpu/regdma data consistency 2024-08-15 12:18:16 +08:00
Xiao Xufeng
00c144aa99 ci(mmu): add unicore test 2024-08-15 12:00:08 +08:00
Xiao Xufeng
55dccc4bba fix(MMU): fixed mmap deadlock when using multicore app with unicore bootloader
Closes https://github.com/espressif/esp-idf/issues/11617
2024-08-15 12:00:08 +08:00
Kevin (Lao Kaiyao)
eff2e4eddd Merge branch 'feature/support_i2c_on_c61' into 'master'
feat(i2c): support i2c on esp32-c61

Closes IDF-9296 and IDF-9297

See merge request espressif/esp-idf!32596
2024-08-15 09:07:01 +08:00
Sudeep Mohanty
78a42a82d5 fix(cmake): Fixed linker not supporting -warn_commons for linux target on MacOS
This commit updates the ld linker flags to conditionally include the
-warn_commons flag when the linux target is built on MacOS. This is
because, not all versions of ld support the -warn_commons option.

Closes https://github.com/espressif/esp-idf/issues/13185
2024-08-14 15:06:08 +02:00
Jakob Hasse
4c492cc85f refactor(esp_psram): allow external stack also when PSRAM is only available via esp_heap_caps
Closes https://github.com/espressif/esp-idf/issues/12722
2024-08-14 14:47:12 +02:00
Mahavir Jain
e5e146365b Merge branch 'bugfix/build_failure_cryptoauthlib' into 'master'
fix(mbedtls): link esp-cryptoauthlib to mbedcrypto library

See merge request espressif/esp-idf!32728
2024-08-14 18:45:54 +08:00
Armando
873068d3fe fix(cache): disable branch predictor before disable cache
branch predictor will start cache request
2024-08-14 18:39:18 +08:00
Wan Lei
8e0824d8aa Merge branch 'test/add_spi_master_clock_reg_validity_test' into 'master'
fix(spi): add clock src and divider config validation test

See merge request espressif/esp-idf!22276
2024-08-14 18:35:54 +08:00
nilesh.kale
214974b038 fix: update https server starting instructions in ota README
This commit updates sequence for methods of starting HTTPS servers
in ota README file.
2024-08-14 15:45:23 +05:30
Zhang Shu Xian
9b3728f8ac Merge branch 'docs/update_application_examples_of_mcpwm' into 'master'
docs: Update the application examples in mcpwm.rst

See merge request espressif/esp-idf!32650
2024-08-14 16:30:30 +08:00
zwx
47f730645c feat(esp_netif): add an API to get all preferred ip6 addresses 2024-08-14 16:25:41 +08:00
zwx
26d8350c19 feat(openthread): support br lib for esp32c5 2024-08-14 16:08:56 +08:00
Ondrej Kosta
dd81b56fb6 feat(esp_eth): removed disable of C5 and P4 from examples .build-test-rules
Updated examples to be able to build for C5 and P4.

Added Ethernet support for static_ip example.
2024-08-14 10:07:48 +02:00
Ondrej Kosta
43066f2e37 feat(esp_eth): Added SPI Ethernet support of ESP32C5 in examples 2024-08-14 10:05:26 +02:00
chenjianhua
ee0bd91364 fix(bt): Update bt lib for ESP32(241c96c)
- Fixed BLE vendor HCI get controller status command
2024-08-14 15:29:11 +08:00
Mahavir Jain
f1492a97a2 Merge branch 'bugfix/s3_memprot_exec_test' into 'master'
Fix(Security): Fixed ESP32S3 Memprot RTCFAST code-execution tests

Closes IDF-10719

See merge request espressif/esp-idf!32649
2024-08-14 14:56:40 +08:00
Armando
893c04702f feat(riscv): added api to disable branch predictor 2024-08-14 14:34:34 +08:00
Song Ruo Jing
a6e8a9df17 Merge branch 'bugfix/uart_events_example_stask_overflow_s3' into 'master'
fix(uart): increased stack size for the task in uart_events example

See merge request espressif/esp-idf!32779
2024-08-14 12:12:59 +08:00
wanlei
e24067295b feat(spi_master): add test clock src and config validation 2024-08-14 11:35:58 +08:00
laokaiyao
1397e5421e feat(i2c): support i2c on esp32-c61 2024-08-14 11:25:31 +08:00
Island
cd1178298f Merge branch 'docs/optimized_ble_adv_data_type' into 'master'
docs(ble/bluedroid): Optimize BLE example for setting advertising data

Closes BLERP-919

See merge request espressif/esp-idf!32735
2024-08-14 11:14:28 +08:00
gongyantao
30dddabb6b fix(bt): remove redundant space in hid example path 2024-08-14 11:06:35 +08:00
C.S.M
fbab3bc874 Merge branch 'feat/temperature_sensor_bringup' into 'master'
feature(temperature_sensor): Add temperature sensor support on esp32c5

Closes IDF-8727

See merge request espressif/esp-idf!32665
2024-08-14 10:53:26 +08:00
morris
34813ecd6c Merge branch 'bugfix/dma2d_transacrion_config_lifecycle' into 'master'
fix(lcd): prolonged the lifecycle of dma2d transaction config structure

Closes IDF-10763

See merge request espressif/esp-idf!32788
2024-08-14 10:18:07 +08:00
morris
0ca1c61af2 Merge branch 'feat/ldo_channel_reserve' into 'master'
feat(ldo): reserve the LDO1 and LDO2

Closes IDF-10712 and PM-137

See merge request espressif/esp-idf!32693
2024-08-14 10:06:11 +08:00
Chen Ji Chang
8e956dab87 Merge branch 'feat/dma_cache_align' into 'master'
feat(dma): Add helper functions to align buffer

Closes IDF-10462

See merge request espressif/esp-idf!32343
2024-08-14 10:00:55 +08:00
Sudeep Mohanty
cbb2c4be60 Merge branch 'contrib/github_pr_14329' into 'master'
fix(ulp): Add the missing extern "C" guard to ulp_lp_core_print.h (GitHub PR)

Closes IDFGH-13423

See merge request espressif/esp-idf!32689
2024-08-14 05:06:02 +08:00
Sudeep Mohanty
2f145230b9 test(freertos): Added build test for function in flash with -Os optimation
This commit adds a build test for when FreeRTOS and esp_ringbuf functions
are placed in flash and the compiler optimizes for code size.
2024-08-13 20:54:14 +02:00
Sudeep Mohanty
891c4d5264 fix(freertos): Added freertos fragments to the exception list of ldgen mapping checks
This commit adds freertos and esp_ringbuf linker fragment sections
to the exception list of the ldgen mappings checker script.
2024-08-13 20:54:14 +02:00
Rahul Tank
5c3e63712d Merge branch 'bugfix/handle_linked_om_blufi' into 'master'
fix(nimble) Added change to handle linked om data at blufi layer

Closes FCS-1433

See merge request espressif/esp-idf!30320
2024-08-14 00:55:41 +08:00
Jakob Hasse
d7ca8b94c8 Merge branch 'contrib/github_pr_14339' into 'master'
Fix(pthread): Added linux port with empty functions to make pthread cxx example build. (GitHub PR)

Closes IDFGH-13424 and IDFGH-13433

See merge request espressif/esp-idf!32785
2024-08-14 00:05:12 +08:00
Abhik Roy
53ba6e97cd fix(example): Fixed updating recv addr for invalid packets for ping
Closes https://github.com/espressif/esp-idf/issues/14197
2024-08-13 21:51:58 +10:00
Ivan Grokhotkov
50244f4c79 Merge branch 'bugfix/sdio_intr_coex' into 'master'
fix(sdmmc): don't disable SDIO interrupts when switching slots

See merge request espressif/esp-idf!32790
2024-08-13 19:24:32 +08:00
Nilesh Kale
6028332164 Merge branch 'feature/enable_secure_boot_in_esp32c61' into 'master'
feat: enable secure boot feature for esp32c61

Closes IDF-9233

See merge request espressif/esp-idf!31420
2024-08-13 19:23:53 +08:00
Rahul Tank
a02a2a2d34 fix(nimble) Added change to handle linked om data at blufi layer 2024-08-13 16:39:18 +05:30
Roland Dobai
b093e32b07 Merge branch 'fix/fix_secure_boot_key_hint' into 'master'
fix: Fix condition checking if secure boot signing key exists

See merge request espressif/esp-idf!32718
2024-08-13 18:48:44 +08:00
Armando (Dou Yiwen)
b79f001764 Merge branch 'fix/move_xip_doc_out_from_non_updated_list' into 'master'
doc(psram): move xip psram doc out from non updated list

See merge request espressif/esp-idf!32818
2024-08-13 17:23:53 +08:00
Armando (Dou Yiwen)
f705c1c7bc doc(psram): move xip psram doc out from non updated list 2024-08-13 17:23:53 +08:00
Cristian Funes
d3ab90ba24 fix(pthread): Fix cxx pthread example build for linux platform
Closes https://github.com/espressif/esp-idf/pull/14339
2024-08-13 10:48:17 +02:00
Ivan Grokhotkov
6db8c98e90 Merge branch 'bugfix/missing_component_check' into 'master'
fix(cmake): report correct error on unknown component name

See merge request espressif/esp-idf!32062
2024-08-13 16:06:50 +08:00
Marius Vikhammer
5d285c15e4 Merge branch 'revert/docs/add-ble-feature-support-status' into 'master'
Revert "docs(ble): Added BLE feature support status"

See merge request espressif/esp-idf!32813
2024-08-13 15:16:55 +08:00
shreeyash
6e6fd2f6a3 fix(wifi_prov_mgr): Api to keep BLE on after provisioning 2024-08-13 12:42:35 +05:30
morris
631e15c6eb feat(ldo): add config to let hardware control the ldo output
If LDO1 is used by spi flash, then we recommend to give the ownership to
the hardware. Software just read the parameters from the efuse and set
to PMU.
2024-08-13 14:50:38 +08:00
Armando (Dou Yiwen)
11831cc0db Merge branch 'fix/fix_cache_panic_c61_on_psram_board' into 'master'
cache: fixed cache panic init flow on psram board

See merge request espressif/esp-idf!32701
2024-08-13 14:08:17 +08:00
Marius Vikhammer
db1461f45d Revert "docs(ble): Added BLE feature support status"
This reverts commit 3bd599eb13.
2024-08-13 12:49:36 +08:00
Marius Vikhammer
85e570b8ee Merge branch 'bugfix/console_no_vfs' into 'master'
test(console): add tests for console with vfs disabled

Closes IDF-9367 and IDF-9578

See merge request espressif/esp-idf!31455
2024-08-13 12:20:44 +08:00
morris
001527e63b Merge branch 'feat/adding_esp32c61_gdma' into 'master'
feat: c61 add gdma support

Closes IDF-9310, IDF-9311, and IDF-9315

See merge request espressif/esp-idf!32145
2024-08-13 12:14:47 +08:00
Zhang Shuxian
2105adc19c docs: Update the application examples in mcpwm.rst 2024-08-13 12:04:43 +08:00
morris
ec2a8a9c81 fix(drivers): rename the nested extra_flags structure 2024-08-13 11:57:08 +08:00
morris
34b1f2da24 fix(lcd): prelonged the lifecycle of dma2d transaction config structure
The context must exit at least until on_job_pixked callback is called
2024-08-13 11:57:08 +08:00
C.S.M
5d4275fb75 feature(temperature_sensor): Add temperature sensor support on esp32c5 2024-08-13 11:55:39 +08:00
Zhang Shu Xian
b5bfd3919e Merge branch 'docs/update_application_examples_of_pcnt' into 'master'
docs: Update the application examples in pcnt.rst

See merge request espressif/esp-idf!32638
2024-08-13 11:19:55 +08:00
Lou Tianhao
6274040f38 feat(pm): support modem clock for esp32c61 2024-08-13 11:03:21 +08:00
Marius Vikhammer
590e9bbe1d Merge branch 'contrib/github_pr_14350' into 'master'
docs: Fix typo: shard→shared (GitHub PR)

Closes IDFGH-13444

See merge request espressif/esp-idf!32747
2024-08-13 10:08:39 +08:00
Marius Vikhammer
6cbee5c7f6 Merge branch 'contrib/github_pr_13578' into 'master'
Make FreeRTOS configUSE_TIMERS optional in KConfig (GitHub PR)

Closes IDFGH-12576

See merge request espressif/esp-idf!32576
2024-08-13 10:06:51 +08:00
Marius Vikhammer
e2183d53f1 Merge branch 'bugfix/ulp_always_set_elf_ext' into 'master'
fix(ulp): fixed that the .elf ext was not set by default for custom cmake proj

See merge request espressif/esp-idf!32752
2024-08-13 10:03:40 +08:00
Armando
e58d608034 fix(cache): fixed cache panic init flow on psram board 2024-08-13 09:30:46 +08:00
Wang Meng Yang
62a1194512 Merge branch 'fix/change_bt_example_sdkconfig_name' into 'master'
fix(bt): change example sdkconfig name to sdkconfig.ci.test

See merge request espressif/esp-idf!32780
2024-08-13 06:57:23 +08:00
Roman Leonov
184eeccc71 Merge branch 'fix/usb_host_enum_cancellation' into 'master'
fix(usb_host): The Enumeration Driver, cancellation on error

See merge request espressif/esp-idf!32212
2024-08-13 00:42:00 +08:00
Ivan Grokhotkov
c521fcb6fd fix(cmake): report correct error on unknown component name
Previously the error message was

CMake Error at /home/user/esp-idf/tools/cmake/build.cmake:296 (__component_get_property):
  __component_get_property Function invoked with incorrect arguments for
  function named: __component_get_property
Call Stack (most recent call first):
  /home/user/esp-idf/tools/cmake/build.cmake:341 (__build_resolve_and_add_req)
  /home/user/esp-idf/tools/cmake/build.cmake:638 (__build_expand_requirements)
  /home/user/esp-idf/tools/cmake/project.cmake:710 (idf_build_process)
  CMakeLists.txt:6 (project)

Now it will be:

CMake Error at /home/user/esp-idf/tools/cmake/build.cmake:298 (message):
  Failed to resolve component 'whatever' required by component 'main'.
Call Stack (most recent call first):
  /home/user/esp-idf/tools/cmake/build.cmake:345 (__build_resolve_and_add_req)
  /home/user/esp-idf/tools/cmake/build.cmake:642 (__build_expand_requirements)
  /home/user/esp-idf/tools/cmake/project.cmake:710 (idf_build_process)
  CMakeLists.txt:6 (project)

Also improved the hint to show the component name in quotes.
2024-08-12 17:54:44 +02:00
Jakob Hasse
dfbed83426 refactor(esp_ringbuf): Adjusted unit tests so some of them run on Linux 2024-08-12 15:29:41 +02:00
Erhan Kurubas
ecda835da6 test(sysview): fix gdb no response error in sysview_heap_log tests 2024-08-12 15:20:45 +02:00
Ivan Grokhotkov
8a9d3076d7 fix(sdmmc): don't disable SDIO interrupts when switching slots 2024-08-12 14:18:29 +02:00
Island
75eb7fe379 Merge branch 'feat/print_the_ble_mac_when_init' into 'master'
feat(ble): Print out the BT mac when the controller is initialized

Closes BLERP-914

See merge request espressif/esp-idf!32674
2024-08-12 20:16:51 +08:00
Ivan Grokhotkov
1c343d8923 change(build_system): refactor reproducible build handling
- remove generate_debug_prefix_map.py, move its logic into CMake
- move all reproducible builds logic into a new file, prefix_map.cmake
2024-08-12 13:26:33 +02:00
Ondrej Kosta
ad9cdcd11a Merge branch 'contrib/github_pr_14276' into 'master'
fix(esp_eth): fix C++ invalid type conversion error (GitHub PR)

Closes IDFGH-13363

See merge request espressif/esp-idf!32706
2024-08-12 18:48:08 +08:00
gongyantao
fe9cd152fe fix(bt): change example sdkconfig name to sdkconfig.ci.test 2024-08-12 17:49:53 +08:00
Ren Pei Ying
c60126ecef Merge branch 'docs/remove_user_guide_for_esp32_pico_kit_related_migration' into 'master'
docs: remove user guide for esp32-pico-kit related docs after migration

Closes DOC-6915

See merge request espressif/esp-idf!32422
2024-08-12 17:17:14 +08:00
Ren Pei Ying
f0bce4303e docs: remove user guide for esp32-pico-kit related docs after migration 2024-08-12 17:17:14 +08:00
Ondrej Kosta
7baf9f8396 Merge branch 'bugfix/mdio_default_p4' into 'master'
fix(esp_eth): fixed default GPIO to match new ver. of P4 devboard

Closes IDFGH-13385

See merge request espressif/esp-idf!32708
2024-08-12 16:42:08 +08:00
Song Ruo Jing
96a8265084 fix(uart): increased stack size for the task in uart_events example
The example cannot run successfully on ESP32S3 due to task stack overflow
Introduced in a4e6f57a40
2024-08-12 16:14:47 +08:00
Zhang Xiao Yan
b7c8caf764 Merge branch 'docs/update_application_examples_cxx' into 'master'
docs: update application examples for cplusplus.rst

See merge request espressif/esp-idf!32443
2024-08-12 15:42:40 +08:00
Roman Leonov
0a9bd7aa50 fix(enum): Added cancellation stage to process, second reset stage, remove dynamic members 2024-08-12 09:11:02 +02:00
Linda
8d2eab13ed docs: update application examples for cplusplus.rst 2024-08-12 14:15:32 +08:00
C.S.M
82ebce39f3 Merge branch 'feat/psram_refacotr' into 'master'
feat(spiram): Refactor psram quad device driver

Closes IDF-10357

See merge request espressif/esp-idf!31995
2024-08-12 13:41:17 +08:00
harshal.patil
14cbd837b3 ci(memprot): enable memory protection tests for ESP32-C5 2024-08-12 11:08:33 +05:30
Alexey Lapshin
1ddd2f42b5 Merge branch 'fix/nullfs-open' into 'master'
fix(vfs): fix nullfs open syscall

See merge request espressif/esp-idf!32725
2024-08-12 12:57:44 +08:00
Mahavir Jain
c3b58b9476 Merge branch 'fix/esp32c5_rng_random_disable' into 'master'
fix(bootloader): update random disable api for ESP32-C5/C6

Closes IDFGH-13185 and IDFGH-13368

See merge request espressif/esp-idf!32700
2024-08-12 12:28:13 +08:00
morris
3e30e302c7 Merge branch 'feature/modbus_add_support_esp32c5' into 'master'
feat(esp_modbus): examples add support of esp32c5 target

Closes IDF-10050

See merge request espressif/esp-idf!32006
2024-08-12 11:36:15 +08:00
Alex Lisitsyn
2fa78094ef feat(esp_modbus): examples add support of esp32c5 target 2024-08-12 11:36:15 +08:00
Kevin (Lao Kaiyao)
7005d2cee5 Merge branch 'bugfix/fix_es8311_example_no_sound_on_p4' into 'master'
fix(i2s): fix the es8311 example on P4 EV board

See merge request espressif/esp-idf!32667
2024-08-12 11:06:11 +08:00
Mahavir Jain
f38f77a7fc fix(rng): avoid clearing PMU_PERIF_I2C_RSTB in random disable API for C6
This configuration bit is required for ADC operation as well and hence
should not be cleared in the RNG API sequence.

Ideally, the ADC driver should take care of initializing this bit but
still the RNG layer change is required because of interleaved API usage
scenario described in following linked issue.

Closes https://github.com/espressif/esp-idf/issues/14124
Closes https://github.com/espressif/esp-idf/issues/14280
2024-08-12 08:26:05 +05:30
Zhao Wei Liang
915e1238f0 Merge branch 'bugfix/fixed_c6_h2_vendor_hci_master' into 'master'
Bugfix/fixed c6 h2 vendor hci master

See merge request espressif/esp-idf!32739
2024-08-12 10:54:53 +08:00
Mahavir Jain
cff436cf57 Merge branch 'docs/rng_update_outdated' into 'master'
docs(esp_hw_support): corrected outdated RNG docs

See merge request espressif/esp-idf!32737
2024-08-12 10:49:35 +08:00
zhanghaipeng
f9e45f9807 docs(ble/bluedroid): Optimize BLE example for setting advertising data 2024-08-12 10:40:00 +08:00
Marius Vikhammer
fe5b8bb445 fix(ulp): fixed that the .elf ext was not set by default for custom cmake proj 2024-08-12 10:31:24 +08:00
Zhang Hai Peng
8971902e1c Merge branch 'feat/get_ble_addr_tpye_in_bond_list' into 'master'
feat(ble/bluedroid): Support getting BLE address type in bond list

Closes IDFGH-13287

See merge request espressif/esp-idf!32680
2024-08-12 10:26:11 +08:00
Island
368cfdac26 Merge branch 'docs/optimized_ble_connect_param_update' into 'master'
docs(ble/bluedroid): Optimize documentation for BLE connection parameter updates

Closes BLERP-892

See merge request espressif/esp-idf!32351
2024-08-12 10:25:37 +08:00
Island
f90d23565b Merge branch 'feature/ble_5_1_direction_finding_support_host' into 'master'
feature : Bluetooth LE 5.1 direction finding host support

See merge request espressif/esp-idf!32704
2024-08-12 10:20:36 +08:00
Marius Vikhammer
69ca6e49a7 test(console): add tests for console with vfs disabled 2024-08-12 10:01:04 +08:00
Aleksei Apaseev
9862ae280f Merge branch 'ci/add-retry-job-func-to-report' into 'master'
ci: add retry job functionality to dynamic pipeline report

Closes IDFCI-2211

See merge request espressif/esp-idf!32147
2024-08-12 09:46:02 +08:00
Chris Mumford
41f1b60b65 Typo fix: shard→shared 2024-08-12 09:03:52 +08:00
Ivan Grokhotkov
1c1b7db361 Merge branch 'bugfix/check_system_init_priorities_sorting' into 'master'
fix(esp_system): sort system init priorities also by filename

See merge request espressif/esp-idf!32678
2024-08-12 05:02:20 +08:00
Ivan Grokhotkov
fc4c445643 test(build_system): move reproducible build test to pytest 2024-08-11 20:24:03 +02:00
Ivan Grokhotkov
d6edcba3b6 test(build_system): extract file helpers, add 'bin_files_differ'
- Move file-related functions bin_file_contains and file_contains
  from idf_utils.py and existing functions from editing.py into a new
  file file_utils.py
- Add a function 'bin_files_differ' to compare binary files
2024-08-11 20:23:27 +02:00
Ivan Grokhotkov
3577900915 fix(esp_system): sort system init priorities also by filename 2024-08-11 20:21:35 +02:00
hongshuqing
0c817d9238 fix(bootloader): update random disable api for ESP32-C5 2024-08-11 22:02:27 +05:30
Martin Vychodil
7eaa185e07 Merge branch 'contrib/github_pr_14341' into 'master'
fix(sdmmc): typo in docs (GitHub PR)

Closes IDFGH-13435

See merge request espressif/esp-idf!32711
2024-08-11 22:00:13 +08:00
Sudeep Mohanty
bfa3c55250 feat(freertos): Enabled Kconfig option to allow FPU usage in ISR for esp32s3
This commit enables the Kconfig option to allow FPU usage in an ISR
context for the esp32s3.
2024-08-10 13:20:02 +02:00
Sudeep Mohanty
354ffb4534 Merge branch 'fix/incorrect_critical_nesting_count_in_linux_port' into 'master'
fix(freertos): Fixed critical section macro in vTaskPlaceOnEventListRestricted()

See merge request espressif/esp-idf!32695
2024-08-10 15:22:14 +08:00
zwl
a9ae1162aa fix(bluetooth/controller): fixed get controller status vendor hci command error on ESP32C5 2024-08-10 12:34:01 +08:00
zwl
0de0ab46fe fix(bluetooth/controller): fixed get controller status vendor hci command error on ESP32C6 2024-08-10 12:28:32 +08:00
Marius Vikhammer
eb6b8957a2 Merge branch 'revert-6c0b4c90' into 'master'
Revert "Merge branch 'add_openocd_stub_bins' into 'master'"

See merge request espressif/esp-idf!32738
2024-08-10 11:26:58 +08:00
Erhan Kurubas
9b38f87781 Revert "Merge branch 'add_openocd_stub_bins' into 'master'"
This reverts merge request !31504
2024-08-09 22:49:43 +02:00
Jakob Hasse
965f52a45a docs(esp_hw_support): corrected outdated RNG docs 2024-08-09 16:20:02 +02:00
zhanghaipeng
9fcb712539 feat(ble/bluedroid): Support getting BLE address type in bond list 2024-08-09 19:53:16 +08:00
Aditya Patwardhan
efe62d4a7f Merge branch 'docs/translate_host-based-security-workflows' into 'master'
docs: Provide translation for host-based-security-workflows

Closes DOC-6018

See merge request espressif/esp-idf!31459
2024-08-09 19:52:40 +08:00
Steffen Beyer
93c67f16ab fix(sdmmc): typo in docs
Closes https://github.com/espressif/esp-idf/pull/14341
2024-08-09 13:45:27 +02:00
Ondrej Kosta
127306fee6 Merge branch 'feature/dm9051_throughput_optimization' into 'master'
esp_eth: DM9051: Fix abnormal operation when SPI clock is too high, optimize throughput rate

See merge request espressif/esp-idf!30769
2024-08-09 19:34:22 +08:00
Erhan Kurubas
6c0b4c90b4 Merge branch 'add_openocd_stub_bins' into 'master'
Preload openocd stub binaries and reserve memory for debugging

See merge request espressif/esp-idf!31504
2024-08-09 19:22:28 +08:00
Aleksei Apaseev
a6b84b5ccc feat(ci): add retry job functionality to dynamic pipeline report
Introduced changes:

- add a manual ci job to retry failed jobs.
- refactor js scripts in report template
- extract the CI ENV vars related to the report generation script to the predefined constants.py module
- introduce a new action "retry_failed_jobs" in helper script "gitlab_api.py"
2024-08-09 19:05:53 +08:00
Zhang Shuxian
9733a89c18 docs: Update the application examples in pcnt.rst 2024-08-09 19:04:22 +08:00
David Roman
b9924df4be fix(esp_eth): fix C++ invalid type conversion error
Closes https://github.com/espressif/esp-idf/issues/14265
2024-08-09 18:54:43 +08:00
Jakob Hasse
90cc261916 Merge branch 'feature/bootloader_support_mock' into 'master'
feat(bootloader_support): added bootloader_support mocks

See merge request espressif/esp-idf!32603
2024-08-09 18:07:58 +08:00
Mahavir Jain
a2de1ca576 fix(mbedtls): link esp-cryptoauthlib to mbedcrypto library
If the certificate bundle feature is disabled then the mbedtls
component library becomes interface only component and hence
adding esp-cryptoauthlib as its PRIVATE dependency does not work.

Instead the esp-cryptoauthlib should be added as PRIVATE dependency
for mbedcrypto library (for alternate ECDSA implementation).
2024-08-09 15:30:35 +05:30
Wang Meng Yang
d4b2da21eb Merge branch 'bugfix/heap_corrupt_in_bt_mem_release_on_esp32' into 'master'
fix(bt): Fix heap corruption in the call of esp_bt_mem_release on ESP32

Closes IDFGH-13349

See merge request espressif/esp-idf!32436
2024-08-09 17:58:45 +08:00
Island
8072d96cd6 Merge branch 'bugfix/fix_ble_channel_map_update' into 'master'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(f583012)

Closes BCI-436, BLERP-908, and BLERP-909

See merge request espressif/esp-idf!32571
2024-08-09 17:26:59 +08:00
Island
9dba81849e Merge branch 'docs/add-ble-feature-support-status' into 'master'
docs(ble): Added BLE feature support status

See merge request espressif/esp-idf!32408
2024-08-09 17:13:12 +08:00
Wei Yu Han
3bd599eb13 docs(ble): Added BLE feature support status 2024-08-09 17:13:12 +08:00
Alexey Lapshin
561587c11c fix(vfs): fix nullfs open syscall 2024-08-09 16:05:52 +07:00
Fu Hanxi
f08926be0e Merge branch 'ci/fix-artifacts-for-generate-job' into 'master'
fix: save artifacts for generate job

See merge request espressif/esp-idf!32710
2024-08-09 16:12:36 +08:00
Wang Meng Yang
b95a9c5c63 Merge branch 'bugfix/fix_hidh_integrity_check_bug' into 'master'
fix(esp_hid): Loose the check of input report length to be more compatible

Closes IDFGH-13344

See merge request espressif/esp-idf!32663
2024-08-09 15:27:34 +08:00
Fu Hanxi
4d93ef0fe3 Merge branch 'ci/fix_single_dut_with_param' into 'master'
ci: fix test case markers when put targets as params

See merge request espressif/esp-idf!32703
2024-08-09 15:11:33 +08:00
igor.udot
a21247eada fix: save artifacts for generate job 2024-08-09 15:06:00 +08:00
Fu Hanxi
952b0e349e ci: fix .build-test-rules.yml since esp32s2 tests unabled 2024-08-09 14:56:52 +08:00
Fu Hanxi
9201cfc4cd ci: fix test case markers when put targets as params 2024-08-09 14:56:52 +08:00
Geng Yuchao
4a70ba9e7b feat: update nimble submodule to support Bluetooth LE 5.1 Direction Finding featrue 2024-08-09 14:51:37 +08:00
Geng Yuchao
25a12ef95e feat: Add direction finding relate defines and kconfig and CMakeLists 2024-08-09 14:51:37 +08:00
Sudeep Mohanty
0db5d725ef fix(freertos): Fixed critical section macro in vTaskPlaceOnEventListRestricted()
The vTaskPlaceOnEventListRestricted() did not use the correct macro when
exiting a kernel cirtical section. This does not affect the HW targets
but on the Linux port, this caused an issue as the critical nesting
count became negative, leading to deadlocks. This commit fixes the bug
and updates the linux port to prevent the nesting count from going
negative.
2024-08-09 08:45:23 +02:00
Jan Beran
a7141f75d7 fix: Fix condition checking if secure boot signing key exists 2024-08-09 08:38:38 +02:00
Shen Meng Jing
2db9096df3 Merge branch 'docs/fix_a_typo' into 'master'
docs: Fix a small typo in adc_calibration.rst

Closes DOC-8542

See merge request espressif/esp-idf!32542
2024-08-09 14:35:30 +08:00
C.S.M
c431e9b830 feat(spiram): refactor for spiram device driver for s3/c5 2024-08-09 11:43:04 +08:00
Zhang Xiao Yan
5f00f0d994 Merge branch 'docs/delete_user_guides_three_esp32_dev_boards' into 'master'
docs: delete user guides of ESP32-DevKitC, ESP-WROVER-KIT and ESP32-PICO-DevKitM-2

See merge request espressif/esp-idf!32587
2024-08-09 11:42:31 +08:00
Chen Ji Chang
1b0fb462b6 Merge branch 'feat/add_dedic_gpio_support_on_c61' into 'master'
feat(dedic_gpio): support dedic gpio on esp32c61

Closes IDF-9321

See merge request espressif/esp-idf!32688
2024-08-09 11:37:44 +08:00
Marius Vikhammer
0bcee8518b fix(freertos): split idf_additions.c event groups to separate file 2024-08-09 11:19:40 +08:00
dvosully
025b336916 Make FreeRTOS configUSE_TIMERS optional in KConfig 2024-08-09 11:19:40 +08:00
Island
be4278fc47 Merge branch 'fix/ble_mesh_github_pr_14140' into 'master'
fix(ble-mesh): don't use dangling pointer in nimble gatt service

See merge request espressif/esp-idf!32597
2024-08-09 10:33:08 +08:00
wanlei
4313f22a1e change(soc): re-generate ahb_dma header file for esp32c61 2024-08-09 10:13:43 +08:00
igor.udot
a262df7c31 feat: c61 add gdma support 2024-08-09 10:12:40 +08:00
Erhan Kurubas
c7931b0782 feat(esp_system): preload openocd stub binaries and reserve memory for debugging 2024-08-08 23:25:26 +02:00
Adam Múdry
d1571c144b Merge branch 'feat/sdmmc_support_concurrent_use' into 'master'
feat(sdmmc): Concurrent use of SDMMC peripheral

Closes IDF-9152

See merge request espressif/esp-idf!31150
2024-08-09 01:08:16 +08:00
Martin Vychodil
a5871f8fa8 Merge branch 'feature/fs_considerations' into 'master'
[Storage/Docs]: File system considerations

Closes IDF-8430 and IDF-8436

See merge request espressif/esp-idf!29972
2024-08-09 00:23:54 +08:00
Ondrej Kosta
9e10cca102 fix(esp_eth): fixed default GPIO to match new ver. of P4 devboard 2024-08-08 18:11:38 +02:00
andylinpersonal
0dbb6d94ec fix(ulp): Add the missing extern "C" guard to ulp_lp_core_print.h
This commit adds the missing extern `C` guards the ulp_lp_core_print.h
header file.

Closes https://github.com/espressif/esp-idf/pull/14329
2024-08-08 23:23:08 +08:00
Martin Vychodil
e60f6d024e docs(storage): added File system considerations document into the API Guides 2024-08-08 15:57:35 +02:00
zhanghaipeng
b261ee37e4 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(f583012)
- Fix BLE channel map update when latency is not zero
2024-08-08 21:33:52 +08:00
Tian Sen Wen
61e05bddc9 fix(esp_eth): Fix DM9051 abnormal operation when SPI clock is too high
Simplified buffer allocation for DM9051
2024-08-08 20:53:48 +08:00
Mario Schlegel
9c98a8584b fix(ble-mesh): don't use dangling pointer in nimble gatt service 2024-08-08 17:39:51 +08:00
Mahavir Jain
f477682938 Merge branch 'feature/remove_aes_rsa_ds_hmac_spport_for_c61' into 'master'
feat: remove suppport for AES, RSA, DS and HMAC in esp32c61

Closes IDF-9326, IDF-9328, IDF-9323, and IDF-9325

See merge request espressif/esp-idf!31798
2024-08-08 17:15:06 +08:00
Mahavir Jain
0aeb9653e7 Merge branch 'fix/avoid_extra_c2m_msync_in_aes_driver' into 'master'
fix(mbedtls/aes): Avoid extra C2M sync of memory

See merge request espressif/esp-idf!32599
2024-08-08 17:04:14 +08:00
C.S.M
3a8c8849b2 Merge branch 'feat/usb_serial_jtag_c61' into 'master'
feature(usb_serial_jtag): Add usb serial jtag support on esp32c61

Closes IDF-9319

See merge request espressif/esp-idf!32676
2024-08-08 15:03:59 +08:00
Armando (Dou Yiwen)
4b77ecdb45 Merge branch 'feat/cache_panic_c5_c61' into 'master'
cache panic: support on c5 and c61

Closes IDF-8645 and IDF-9252

See merge request espressif/esp-idf!32586
2024-08-08 14:09:07 +08:00
Chen Jichang
2fafecdc2e feat(dedic_gpio): support dedic gpio on esp32c61 2024-08-08 14:00:19 +08:00
Mahavir Jain
3f797278fc Merge branch 'contrib/github_pr_14317' into 'master'
fix(mbedtls/port): fix codespell issues (GitHub PR)

Closes IDFGH-13410

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

See merge request espressif/esp-idf!32668
2024-08-08 12:31:49 +08:00
Shen Meng Jing
77c7ec97c6 Merge branch 'docs/translate_spi_flash_optional_feature' into 'master'
Docs/Provide Chinese translation for spi-flash-optional-feature

Closes DOC-8198

See merge request espressif/esp-idf!31743
2024-08-08 11:47:20 +08:00
harshal.patil
b9dc847ee2 fix(mbedtls/aes): Avoid extra C2M sync of memory 2024-08-08 09:12:31 +05:30
Richard Allen
bc56b4fc2e fix(mbedtls/port): fix codespell issues
Fix a few comments codespell identified.
2024-08-08 11:29:53 +08:00
Hong Shu Qing
50df8480b4 Merge branch 'feature/esp32c61_rng_func_support' into 'master'
feat(esp32c61): support rng api

See merge request espressif/esp-idf!32534
2024-08-08 11:16:10 +08:00
C.S.M
bf31a8e781 feat(usb_serial_jtag): Add usb serial jtag support on esp32c61 2024-08-08 11:11:24 +08:00
renpeiying
afd3179ae8 docs: Provide Chinese translation for host-based-security-workflows.rst 2024-08-08 11:03:24 +08:00
shenmengjing
33af6856cf docs: Provide CN translation for spi-flash-optional-feature 2024-08-08 11:00:50 +08:00
Armando
36f601b459 test(cache): cache panic test app 2024-08-08 10:38:02 +08:00
Armando
7231a6388b feat(cache): supported cache panic on c61 2024-08-08 10:38:02 +08:00
Armando
190ea15839 feat(cache): supported cache panic on c5 2024-08-08 10:38:02 +08:00
morris
199b7e9b9c Merge branch 'refactor/brownout_ll_function' into 'master'
refactor(brownout): correct names comments in the LL driver

See merge request espressif/esp-idf!32634
2024-08-08 10:09:19 +08:00
Chen Jichang
f919336448 feat(dma): Add helper functions to split aligned buffer
In some cases we will need the dma's buffer to be aligned with specific
requirements. This MR add two helper function to split the unaligned
buffer and merge to the origin buffer. The cost is that each unaligned
buffer requires two stash buffers of spilt alignment size. And this
memory should be managed by callers.
2024-08-07 19:48:19 +08:00
Chen Jian Xing
56816c1ff4 Merge branch 'bugfix/fix_some_esp32_host_issues' into 'master'
Bugfix/fix some esp32 host issues

Closes IDFCI-2286

See merge request espressif/esp-idf!31618
2024-08-07 19:29:08 +08:00
Shu Chen
4025f1fc61 feat(openthread): support time sync feature on border router 2024-08-07 18:52:27 +08:00
Michael Wei
c33c8a27c4 fix(openthread): fix RCP build to pass time sync and CSL options
Closes https://github.com/espressif/esp-idf/pull/14060
2024-08-07 18:50:37 +08:00
Rahul Tank
313f016eaf Merge branch 'bugfix/fix_proxy_example_assert' into 'master'
fix(nimble): Fixed assert issue in proximity_sensor example

Closes BLERP-907

See merge request espressif/esp-idf!32559
2024-08-07 18:03:29 +08:00
Armando (Dou Yiwen)
3a0c25124e Merge branch 'fix/fix_lp_i2s_coverity_issue' into 'master'
lp_i2s: fixed coverity issue

Closes IDF-10715, IDF-10713, IDF-10716, IDF-10714, and IDF-10717

See merge request espressif/esp-idf!32617
2024-08-07 17:29:06 +08:00
Shen Weilong
a5551179ac feat(ble): Print out the BT mac when the controller is initialized 2024-08-07 16:40:27 +08:00
Shen Meng Jing
327683185c Merge branch 'docs/update_cn_ulp_lp_core' into 'master'
docs: Update the CN translation for ulp-lp-core.rst

Closes DOC-8463

See merge request espressif/esp-idf!32321
2024-08-07 16:09:42 +08:00
Laukik Hase
6a47d2c9f6 Merge branch 'feat/mbedtls_esp_sha_224_support' into 'master'
feat(mbedtls): Extend the `esp_sha` API to support SHA224 operations

See merge request espressif/esp-idf!32637
2024-08-07 14:31:55 +08:00
Kevin (Lao Kaiyao)
a500f3d3c0 Merge branch 'refactor/i2s_refactor_for_etm' into 'master'
refactor(i2s): refactor to use i2s etm controlling

Closes IDF-10508

See merge request espressif/esp-idf!32315
2024-08-07 14:22:38 +08:00
Rahul Tank
a547ebb383 Merge branch 'feat/set_data_length_enhancement' into 'master'
feat(nimble): Add extra handling for set data len packet event

Closes BLERP-905

See merge request espressif/esp-idf!32515
2024-08-07 13:06:42 +08:00
laokaiyao
ac2d980df3 fix(i2s): fix the es8311 example on P4
Closes https://github.com/espressif/esp-idf/issues/14297
2024-08-07 12:44:25 +08:00
Laukik Hase
e8477fb894 feat(mbedtls): Extend the esp_sha API to support SHA224 operations 2024-08-07 10:03:11 +05:30
morris
aaa338ab8d Merge branch 'contrib/github_pr_14310' into 'master'
fix(gptimer): remove incorrect param from example (GitHub PR)

Closes IDFGH-13403

See merge request espressif/esp-idf!32664
2024-08-07 12:24:50 +08:00
Igor Udot
b40ac839cc Merge branch 'ci/test_correct_exit_code' into 'master'
Add support for Dynamic Pipeline Configuration

Closes IDFCI-2035 and IDFCI-1936

See merge request espressif/esp-idf!29115
2024-08-07 11:04:07 +08:00
LonerDan
08fa1131ca docs(gptimer): remove incorrect param from example
Fixes call to `gptimer_start` in one of the examples
which includes extra second parameter `&alarm_config`,
when the function takes only one.

Mreges https://github.com/espressif/esp-idf/pull/14310
2024-08-07 10:52:37 +08:00
Linda
8d09486eea docs: delete user guides of ESP32-DevKitC, ESP-WROVER-KIT and ESP32-PICO-DevKitM-2 2024-08-07 10:49:26 +08:00
morris
9716d9e5ca refactor(brownout): correct names comments in the LL driver 2024-08-07 10:46:57 +08:00
liqigan
06b2276b7f fix(esp_hid): Loose the check of input report length to be more compatible
Closes https://github.com/espressif/esp-idf/issues/14259
2024-08-07 10:28:35 +08:00
Armando
257fda87c0 change(adc): updated adc programming guide atten link 2024-08-07 09:59:02 +08:00
Armando
6219d5e7d4 fix(lp_i2s): fixed coverity issue 2024-08-07 09:59:02 +08:00
Martin Vychodil
22be262fca fix(security): Fixed ESP32S3 Memprot RTCFAST code-execution test 2024-08-06 20:54:35 +02:00
hongshuqing
e036a7b745 feat(bootloader): add rng support for ESP32-C61 2024-08-06 20:21:07 +08:00
Shen Meng Jing
e62133ad8e Merge branch 'docs/update_examples_in_touch_element' into 'master'
docs: Update the application examples in touch_element.rst

Closes DOC-8327

See merge request espressif/esp-idf!32002
2024-08-06 19:13:44 +08:00
Shen Meng Jing
cf0925e383 Merge branch 'docs/update_examples_in_i2s' into 'master'
docs: Update the application examples in i2s

Closes DOC-8322

See merge request espressif/esp-idf!31997
2024-08-06 18:45:35 +08:00
Shen Meng Jing
ad84e5b9d0 Merge branch 'docs/update_the_example_in_adc_continuous' into 'master'
docs: Update the application example in adc_continuous

Closes DOC-8317

See merge request espressif/esp-idf!31988
2024-08-06 18:34:08 +08:00
nilesh.kale
e74dcb1fab feat: remove support for aes and rsa peripherals in esp32c61 2024-08-06 15:06:16 +05:30
nilesh.kale
bedfe0fe3b feat: remove suppport for ds and hmac in esp32c61
This commit remove support for DS and HMAC peripheral
in ESP32C61.
2024-08-06 15:06:08 +05:30
Island
f305b74d43 Merge branch 'feat/ble_mesh_support_esp32c5' into 'master'
Feat/ble mesh support esp32c5

Closes BLERP-893 and IDF-9165

See merge request espressif/esp-idf!32479
2024-08-06 17:34:02 +08:00
Mahavir Jain
afaa7c4fe9 Merge branch 'change/exclude_cves' into 'master'
change: exclude CVEs that do not impact ESP-IDF components

See merge request espressif/esp-idf!32521
2024-08-06 17:19:00 +08:00
shenmengjing
1132a4ed51 docs: Update the application examples in touch_element.rst 2024-08-06 17:05:26 +08:00
Jakob Hasse
e565224149 feat(bootloader_support): added bootloader_support mocks 2024-08-06 11:03:55 +02:00
shenmengjing
255a39dd2d docs: Update the application examples in i2s 2024-08-06 17:01:31 +08:00
shenmengjing
b0450e013c docs: Update the application example in adc_continuous 2024-08-06 16:52:59 +08:00
Adam Múdry
014dddad1f feat(sdmmc): Concurrent use of SDMMC peripheral
Host and device (card, etc.) initialization is not thread-safe.
After initialization transactions are serialized and guarded by mutex.
Changed `SDMMC_HOST_DEFAULT()` default deinit function to `sdmmc_host_deinit_slot`
which has a slot number as argument.
2024-08-06 10:34:13 +02:00
Island
ff4f1a24ce Merge branch 'bugfix/fixed_ble_issues_on_c6_h2_c2_0731' into 'master'
Bugfix/fixed ble issues on c6 h2 c2 0731

Closes BLERP-858, BLERP-856, BLERP-772, BLERP-888, BLERP-886, BLERP-884, BLERP-883, BLERP-879, BLERP-877, and BLERP-899

See merge request espressif/esp-idf!32457
2024-08-06 16:00:49 +08:00
Shen Meng Jing
524d6b143f Merge branch 'docs/update_examples_in_cap_touch_sens' into 'master'
docs: Update the application examples in cap_touch_sens.rst

Closes DOC-8328

See merge request espressif/esp-idf!32005
2024-08-06 15:21:57 +08:00
shenmengjing
5cc184a25e docs: Update the application examples in cap_touch_sens.rst 2024-08-06 14:09:56 +08:00
Mahavir Jain
a6b6851f75 Merge branch 'feat/enable_ecdsa_support_in_esp32c61' into 'master'
feat: enabled support for ecdsa in esp32c61

Closes IDF-9231

See merge request espressif/esp-idf!31366
2024-08-06 13:55:08 +08:00
Shen Meng Jing
e9590a2d59 Merge branch 'docs/translate_ppa' into 'master'
docs: Provide CN translation for ppa.rst

Closes DOC-8476

See merge request espressif/esp-idf!32318
2024-08-06 12:49:45 +08:00
Armando (Dou Yiwen)
88c45ecf13 Merge branch 'fix/pr_14304' into 'master'
adc: fixed attributes order in example to match the declaration in oneshot example (PR 14304)

Closes IDFGH-13395 and IDFGH-13396

See merge request espressif/esp-idf!32611
2024-08-06 12:04:42 +08:00
shenmengjing
bb2b955bd7 docs: Provide CN translation for ppa.rst 2024-08-06 11:33:07 +08:00
zhanghaipeng
3e98408b92 docs(ble/bluedroid): Optimize documentation for BLE connection parameter updates 2024-08-06 11:17:46 +08:00
Ludovic BOUÉ
e1ef3f7451 adc_oneshot_chan_cfg_t config: Fix attributes order in example to match the declaration
Closes https://github.com/espressif/esp-idf/pull/14304
Closes https://github.com/espressif/esp-idf/issues/14303
2024-08-06 11:06:54 +08:00
Wu Zheng Hui
82e76abaa8 Merge branch 'bugfix/fix_esp32p4_sleep_psram_access_failure' into 'master'
fix(esp_hw_support): support esp32p4  psram  sleep retention

Closes PM-138, PM-177, PM-187, PM-189, and PM-190

See merge request espressif/esp-idf!32190
2024-08-06 10:49:03 +08:00
Island
707dd9b599 Merge branch 'bugfix/fix_cble50y24_81' into 'master'
feat(bt/bluedroid): Add print and assert when failed to alloc memory

Closes BLERP-809

See merge request espressif/esp-idf!31634
2024-08-06 10:46:49 +08:00
Gao Xu
e094c927e9 Merge branch 'feature/esp32c61_uart_support' into 'master'
feat(uart): support uart on ESP32C61

Closes IDF-9320, IDF-9341, and IDF-9329

See merge request espressif/esp-idf!32254
2024-08-06 10:39:06 +08:00
Shu Chen
8e4454b285 Merge branch 'feature/support_ieee802154_for_esp32c5_base_master' into 'master'
feat(802.15.4): support 802.15.4 on esp32c5

Closes TZ-959 and TZ-956

See merge request espressif/esp-idf!32240
2024-08-06 10:34:48 +08:00
laokaiyao
1c52462a4d docs(i2s): update programming guide for I2S ETM feature 2024-08-06 10:16:34 +08:00
laokaiyao
a51b5dbe78 refactor(i2s): refactor to use i2s etm controlling 2024-08-06 10:16:34 +08:00
laokaiyao
b6de55b634 feat(i2s): support i2s etm event and task 2024-08-06 10:16:34 +08:00
muhaidong
c0c8280ec1 fix(wifi): fix wifi example itwt build fail issue 2024-08-05 21:43:57 +08:00
Alexey Gerenkov
13bcf6ba33 Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20240726' into 'master'
feat(tools): update openocd version to v0.12.0-esp32-20240726

See merge request espressif/esp-idf!32492
2024-08-05 21:35:02 +08:00
Fu Hanxi
b879b5c219 Merge branch 'docs/rstfmt' into 'master'
docs: fix found warnings and errors by rstfmt

See merge request espressif/esp-idf!32524
2024-08-05 20:06:27 +08:00
Island
ba4e111e87 Merge branch 'bugfix/fix_blecrt_196' into 'master'
feat(bt/bluedroid): Report HCI error code to app when command fails

Closes BLERP-897

See merge request espressif/esp-idf!32411
2024-08-05 19:51:54 +08:00
Wang Meng Yang
ef3d0633e3 Merge branch 'feat/add_sdkconfig_for_ci_in_bt_example' into 'master'
Feat/add sdkconfig for ci in bt example

See merge request espressif/esp-idf!32474
2024-08-05 17:57:08 +08:00
Armando (Dou Yiwen)
d16bb64005 Merge branch 'feature/lp_i2s' into 'master'
lp_i2s: support lp_i2s driver

Closes IDF-10355

See merge request espressif/esp-idf!31494
2024-08-05 17:55:35 +08:00
Fu Hanxi
1d40eb8ce3 docs: fix found warnings and errors by rstfmt 2024-08-05 11:50:07 +02:00
Marius Vikhammer
41b7b55cb6 Merge branch 'bugfix/hints_spelling' into 'master'
fix(tools): fixed spelling mistakes in idf.py hints

See merge request espressif/esp-idf!32590
2024-08-05 17:33:38 +08:00
Ivan Grokhotkov
c5f4eb7442 Merge branch 'ci/disable_dangerjs_releasenote_check' into 'master'
change(ci): disable dangerjs checker for release notes

See merge request espressif/esp-idf!32557
2024-08-05 17:30:02 +08:00
Liu Xiao Yu
4d03f63de0 Merge branch 'change/bu_lp_i2c_c5' into 'master'
change(ulp): bring up lp i2c on esp32c5

Closes IDF-8634

See merge request espressif/esp-idf!32142
2024-08-05 16:58:20 +08:00
Mahavir Jain
03e9b1a44b Merge branch 'fix/docs_nvs_encryption_update' into 'master'
docs(nvs_encryption): Updated the docs of nvs_encryption

See merge request espressif/esp-idf!32346
2024-08-05 16:51:46 +08:00
Tomas Rezucha
b71bf5f014 Merge branch 'docs/remove_c5_usb' into 'master'
docs(esp32c5): Remove USB docs from the 'docs_not_updated' list

Closes IDF-9456

See merge request espressif/esp-idf!32566
2024-08-05 16:31:49 +08:00
chenjianhua
800f360cc3 feat(bt/bluedroid): Add print and assert when failed to alloc memory 2024-08-05 16:18:41 +08:00
igor.udot
e669c7ab5b ci: fast_pipeline yml branch 2024-08-05 16:07:36 +08:00
Marius Vikhammer
837f2cd48a fix(tools): fixed spelling mistakes in idf.py hints 2024-08-05 15:44:48 +08:00
Mahavir Jain
9b5137347d Merge branch 'fix/incorrect_config_name' into 'master'
Fix encrypt image instead of the partition optimisation not being enabled

See merge request espressif/esp-idf!32517
2024-08-05 15:37:25 +08:00
gaoxu
cd9d8bf2e9 feat(uart): support uart on ESP32C61 2024-08-05 15:06:51 +08:00
C.S.M
6b94f0766f Merge branch 'fix/mmu_func_force_inline' into 'master'
fix(mmu_map): make a static function force inline in order not be put in flash

See merge request espressif/esp-idf!32550
2024-08-05 14:02:31 +08:00
Rahul Tank
15dbfa8a5b feat(nimble): Add extra handling for set data len packet event 2024-08-05 11:05:27 +05:30
Rahul Tank
737d8f8455 Merge branch 'bugfix/adjust_tx_power_lvl_boundary' into 'master'
fix(nimble): Modify Advertising Tx power levels

Closes BLERP-901

See merge request espressif/esp-idf!32484
2024-08-05 13:24:29 +08:00
wuzhenghui
55219ba7f4 change(esp_hw_support): add case to test PSRAM survives after lightsleep 2024-08-05 13:21:09 +08:00
wuzhenghui
819680ff9b change(esp_hw_support): reorder light/deep sleep test cases and wrapper with corresponding support macros 2024-08-05 13:21:08 +08:00
wuzhenghui
d7eb829fd0 feat(esp_hw_support): support esp32p4 psram retention 2024-08-05 13:21:05 +08:00
nilesh.kale
5cc0110958 feat: enabled support for ecdsa in esp32c61
This commit add ECDSA peripheral support in ESP32C61.
2024-08-05 09:29:31 +05:30
nilesh.kale
849726a3b7 feat: enable secure boot feature for esp32c61 2024-08-05 09:23:27 +05:30
morris
7e2bc478d7 Merge branch 'docs/remove_user_guide_for_esp32_ethernet_migration' into 'master'
docs: remove user guide for esp32-ethernet-kit migration

Closes DOC-6911

See merge request espressif/esp-idf!32365
2024-08-05 11:35:14 +08:00
Shen Meng Jing
5700b2a2ad Merge branch 'docs/update_examples_in_touch_pad' into 'master'
docs: Update the application examples in touch_pad.rst

Closes DOC-8325

See merge request espressif/esp-idf!32001
2024-08-05 11:02:12 +08:00
C.S.M
20183e0770 Merge branch 'feat/gpspi_flash_support' into 'master'
feat(spi_flash): Add external flash support on esp32c6,esp32h2,esp32p4,esp32c5

See merge request espressif/esp-idf!32337
2024-08-05 11:00:15 +08:00
Shen Meng Jing
8bfc1fa2f1 Merge branch 'docs/update_examples_in_dac' into 'master'
docs: Update the application examples in dac.rst

Closes DOC-8318

See merge request espressif/esp-idf!31989
2024-08-05 10:59:20 +08:00
morris
89cf4479b0 Merge branch 'change/pin_ili9881c_version' into 'master'
change(examples): set the ili9881c version to 0.2.x

See merge request espressif/esp-idf!32552
2024-08-05 10:59:18 +08:00
Zhang Yan Jiao
d2197be1ee Merge branch 'bugfix/fix_mesh_ie_issue_from_leaf_to_root' into 'master'
fix(wifi/mesh): clear the rootless state in mesh ie when changing from leaf to root

Closes IDFGH-13117 and IDFCI-1116

See merge request espressif/esp-idf!32220
2024-08-05 10:41:41 +08:00
Gao Xu
ff4620a51d Merge branch 'feature/manage_isp_continuous_oneshot_conflict' into 'master'
ISP: AE/AF/AWB continuous concurrent manage

Closes IDF-10579 and IDF-10672

See merge request espressif/esp-idf!32519
2024-08-05 09:28:12 +08:00
Armando (Dou Yiwen)
5dbf2aea2a Merge branch 'fix/pr_14288' into 'master'
sdspi: add dma_aligned_buffer and pwr_ctrl_handle fields (pr_14288)

Closes IDFGH-13376

See merge request espressif/esp-idf!32532
2024-08-05 09:18:46 +08:00
Mahavir Jain
3efe0853fb Merge branch 'bugfix/null_assign_variable' into 'master'
fix(wifi_prov): Use calloc instead of malloc to zero initialize variable

See merge request espressif/esp-idf!32525
2024-08-02 22:03:39 +08:00
Tomas Rezucha
b0a308bdc0 docs(esp32c5): Remove USB docs from the 'docs_not_updated' list 2024-08-02 15:41:03 +02:00
Rahul Tank
108a38d7a5 fix(nimble): Fixed assert issue in proximity_sensor example 2024-08-02 15:29:51 +05:30
Ivan Grokhotkov
0ca8567bb6 change(ci): disable dangerjs checker for release notes 2024-08-02 11:56:38 +02:00
Roland Dobai
1939258ded Merge branch 'change/update-kconfcheck-pre-commit' into 'master'
ci(pre-commit): bump kconfig checker pre-commit version to 2.3.0

See merge request espressif/esp-idf!32445
2024-08-02 17:22:34 +08:00
gaoxu
e3a717fd15 feat(isp): fix potentiual AF/AE/AWB continuous and oneshot conflict and add test 2024-08-02 16:52:35 +08:00
Atsunori Saito
5518e5639c fix(sdspi): add dma_aligned_buffer and pwr_ctrl_handle fields
Closes https://github.com/espressif/esp-idf/pull/14288
2024-08-02 16:51:52 +08:00
zwl
ca5cb23095 fix: fixed directed adv can't be conneted when adv filter is 0x2 on ESP32C2 2024-08-02 16:34:21 +08:00
morris
9419dbfe68 change(examples): set the ili9881c version to 0.2.x 2024-08-02 16:34:21 +08:00
zwl
556264dcad fix: fixed occasional wdt issue in multi-connection scenarios on ESP32H2 2024-08-02 16:34:21 +08:00
C.S.M
7c08d417d2 fix(mmu_map): make a static function force inline in order not be put in flash 2024-08-02 15:51:22 +08:00
Roland Dobai
608642e090 Merge branch 'fix/setuptools_constraint' into 'master'
fix: ensure the constraint file is followed also for setuptools

Closes IDF-10681

See merge request espressif/esp-idf!32489
2024-08-02 15:20:53 +08:00
shenmengjing
7e15d1893d docs: Fix a small typo in adc_calibration.rst 2024-08-02 15:12:12 +08:00
zhangyanjiao
d7e03943d4 fix(wifi/mesh): clear the rootless state in mesh ie when changing from leaf to root
Closes https://github.com/espressif/esp-idf/issues/14063
2024-08-02 14:44:56 +08:00
zwx
3d46e6ed1d feat(802.15.4): support 802.15.4 on esp32c5 2024-08-02 14:34:07 +08:00
gongyantao
6e2804c907 change(ci): remove device name check in bt example 2024-08-02 14:28:44 +08:00
gongyantao
4882feaed8 fix(bt): get remote device name from eir data 2024-08-02 14:28:44 +08:00
gongyantao
9044b81452 feat(bt/example): add ci sdkconfig for bt examples 2024-08-02 14:28:33 +08:00
Xu Xiao
cf05fa303f Merge branch 'fix/fix_esp32c5_crash_issues' into 'master'
fix(wifi): fix esp32c5 crash issues when connect with full channel scan

Closes WIFIBUG-686 and WIFI-6620

See merge request espressif/esp-idf!32486
2024-08-02 14:22:41 +08:00
Rahul Tank
a6f90b5a02 fix(nimble): Modify Advertising Tx power levels 2024-08-02 11:24:56 +05:30
Rahul Tank
35e88684db fix(wifi_prov): Use calloc instead of malloc to zero initialize variable 2024-08-02 10:33:28 +05:30
Armando
20e665022f test(lp_i2s): added lp i2s read tests 2024-08-02 12:02:05 +08:00
Armando
ee8933f651 feat(lp_i2s): lp_i2s driver 2024-08-02 12:02:05 +08:00
renpeiying
6e0579c766 docs: remove user guide for esp32-ethernet-kit migration 2024-08-02 12:01:16 +08:00
Chen Yu Dong
7c92d98c04 fix(ci): update iperf build ci condition
Co-authored-by: Chen Yu Dong <chenyudong@espressif.com>
2024-08-02 11:43:44 +08:00
muhaidong
79575e4232 fix(wifi): enable p4 and esp8689 build iperf in ci 2024-08-02 11:42:44 +08:00
muhaidong
971d9b8762 fix(wifi): support esp32_host ext_connect in iper 2024-08-02 11:42:44 +08:00
alanmaxwell
42074a3f36 fix(wifi_host): support esp32p4 host get mac addr from target 2024-08-02 11:42:44 +08:00
muhaidong
4a2395c488 fix(iperf): add esp_extconn idf component ymy 2024-08-02 11:42:44 +08:00
Alexey Lapshin
b5261aec9b Merge branch 'fix/absent-component-error-message' into 'master'
fix(build): fix error message for absent component

See merge request espressif/esp-idf!32498
2024-08-02 11:36:28 +08:00
morris
6c7560a7fc Merge branch 'change/disable_eot_in_lp_mode' into 'master'
change(dsi): don't send eot packet in lp mode

See merge request espressif/esp-idf!32480
2024-08-02 11:31:11 +08:00
Armando (Dou Yiwen)
0dd91afb09 Merge branch 'feat/c61_cache' into 'master'
cache: supported cache on c61

Closes IDF-9253 and DOC-8436

See merge request espressif/esp-idf!32407
2024-08-02 03:37:43 +08:00
Frantisek Hrbata
1679ed83ea fix: ensure the constraint file is followed also for setuptools
Currently, when the venv is installed or updated, we attempt to
automatically update pip and setuptools within the venv. Unfortunately,
the setuptools package is installed or updated without adhering to the
constraints file, which restricts the setuptools version due to
https://github.com/pypa/setuptools/issues/4480. Resolve this issue by
applying the constraints file to the installation and update of both pip
and setuptools.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-08-01 15:48:31 +02:00
Song Ruo Jing
ac8295fd19 Merge branch 'feature/esp32c61_clock_support' into 'master'
feat(clk): Add basic clock support for esp32c61

Closes IDF-9249

See merge request espressif/esp-idf!32244
2024-08-01 21:31:32 +08:00
Rahul Tank
d663a27053 Merge branch 'bugfix/add_return_value_to_rpa_to_api' into 'master'
fix(nimble): Add return value to RPA Timeout API

See merge request espressif/esp-idf!32312
2024-08-01 20:21:50 +08:00
xuxiao
4268d911cf fix(wifi): fix esp32c5 crash issues when connect with full channel scan 2024-08-01 20:21:12 +08:00
Jiang Jiang Jian
22c9566641 Merge branch 'bugfix/avoid_offchan_ftm_retries' into 'master'
fix(wifi): Avoid internal retries for offchannel FTM Requests

Closes WIFIBUG-661

See merge request espressif/esp-idf!32488
2024-08-01 19:32:40 +08:00
Alexey Lapshin
cd0e34ed87 Merge branch 'fix/fix-gcc13-dirent-breaking' into 'master'
fix(newlib): fix include sys/dirent.h breaking change

See merge request espressif/esp-idf!32469
2024-08-01 19:27:24 +08:00
Wu Zheng Hui
f2cf9a961b Merge branch 'doc/update_esp32p4_pm_programming_guide_docs' into 'master'
docs(pm): update power management related docs for esp32p4

Closes IDF-7672

See merge request espressif/esp-idf!31328
2024-08-01 19:05:15 +08:00
Shen Meng Jing
85ca4c625f Merge branch 'docs/delete_user_guide_esp32s2_kaluga_1_kit' into 'master'
docs: Delete ESP32-S2-Kaluga-Kit related user guide files

Closes DOC-6924

See merge request espressif/esp-idf!32355
2024-08-01 18:36:51 +08:00
Frantisek Hrbata
0fdb309d1e change: exclude CVEs that do not impact ESP-IDF components
cJSON:    CVE-2024-31755 - Resolved in cJSON v1.7.18
FreeRTOS: CVE-2024-28115 - Affects only ARMv7-M MPU ports, and ARMv8-M ports

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-08-01 12:24:47 +02:00
morris
85cbe538aa Merge branch 'doc/gptimer_include_etm_contents_conditionally' into 'master'
docs(gptimer): include etm content conditionally

Closes DOC-8437

See merge request espressif/esp-idf!32442
2024-08-01 17:49:58 +08:00
Island
c1e875fd38 Merge branch 'feat/support_enhanced_tx_power_on_esp32c3' into 'master'
Support enhanced BLE TX power setting and getting on ESP32C3

Closes BLERP-881 and BLERP-882

See merge request espressif/esp-idf!32289
2024-08-01 17:32:19 +08:00
shenmengjing
837221e2f2 docs: Delete ESP32-S2-Kaluga-Kit related user guide files 2024-08-01 17:01:37 +08:00
Wu Zheng Hui
9ef5712f35 Merge branch 'doc/update_gpio_deep_sleep_hold_en_api_guide' into 'master'
docs(gpio): update gpio_deep_sleep_hold_en API usage notes

Closes ESPCS-952

See merge request espressif/esp-idf!31962
2024-08-01 16:58:34 +08:00
harshal.patil
470ad32f2c fix(bootloader_support): Fix encrypt image instead of the partition feature not being enabled 2024-08-01 14:10:06 +05:30
Gao Xu
3e974bd8a3 Merge branch 'feature/support_isp_ae' into 'master'
feat(isp): Support ISP Auto Exposure (AE)

Closes IDF-9592, IDF-10193, and IDF-10580

See merge request espressif/esp-idf!31671
2024-08-01 16:21:34 +08:00
wuzhenghui
172402528d docs(pm): update power management related docs for esp32p4 2024-08-01 15:50:46 +08:00
Fu Hanxi
33b4d64918 Merge branch 'ci/add_soc_caps_test' into 'master'
ci: add idf-build-apps load soc caps test case

Closes IDFCI-2200

See merge request espressif/esp-idf!31543
2024-08-01 14:55:19 +08:00
Xiaoyu Liu
1216dd1abd change(ulp): bu lp i2c on esp32c5 2024-08-01 14:48:31 +08:00
wuzhenghui
5880defc25 fix(esp_hw_support): flash/psram SPI io is not controlled by hp iomux on esp32p4 2024-08-01 14:33:32 +08:00
wuzhenghui
29b51468e1 fix(esp_hw_support): fix bad power parameter if PSRAM is enabled during sleep 2024-08-01 14:33:31 +08:00
luoxu
5100917b5a feat(ble_mesh): Support BLE Mesh Example for esp32c5 2024-08-01 14:28:36 +08:00
luoxu
a16d90ac02 feat(ble_mesh): Support BLE Mesh lib for esp32c5 2024-08-01 14:28:36 +08:00
luoxu
bacae23734 feat(ble_mesh): Support BLE Mesh for esp32c5 2024-08-01 14:28:36 +08:00
luoxu
62e3f414a1 feat(ble_mesh): mesh lib update to aff87bf33a 2024-08-01 14:28:36 +08:00
Shen Meng Jing
5092ff51fd Merge branch 'docs/update_examples_in_sdm' into 'master'
docs: Update the application examples in sdm.rst

Closes DOC-8324

See merge request espressif/esp-idf!31998
2024-08-01 14:16:38 +08:00
Shen Meng Jing
20dd99761b Merge branch 'docs/translate_camera_driver' into 'master'
docs: Provide CN translation for camera_driver.rst

Closes DOC-8498

See merge request espressif/esp-idf!32364
2024-08-01 13:59:26 +08:00
Alexey Lapshin
1608b4cde4 fix(build): fix error message for absent component 2024-08-01 12:34:13 +07:00
Konstantin Kondrashov
e21fca42ef Merge branch 'fix/efuse_compiler_static_analizer_warns' into 'master'
fix(efuse): Fix GNU static analyzer warnings

Closes IDF-10086

See merge request espressif/esp-idf!31775
2024-08-01 13:29:25 +08:00
morris
b2a62ca860 change(dsi): don't send eot packet in lp mode
because some LCD doesn't respond to that
2024-08-01 12:48:22 +08:00
shenmengjing
cd3a43576a docs: Update the application examples in sdm 2024-08-01 12:04:23 +08:00
shenmengjing
f7232871b4 docs: Provide CN translation for camera_driver.rst 2024-08-01 11:52:29 +08:00
shenmengjing
0b420f4baa docs: Update the application examples in touch_pad.rst 2024-08-01 11:32:12 +08:00
shenmengjing
3770fadfc2 docs: Update the application examples in dac.rst 2024-08-01 11:26:04 +08:00
wuzhenghui
66fa61f353 docs(gpio): update gpio_deep_sleep_hold_en API usage notes 2024-08-01 10:37:23 +08:00
Jiang Jiang Jian
d321c0603e Merge branch 'bugfix/update_wifi_mesh_example' into 'master'
fix(wifi/mesh): fixed the netif issue when root restart multiple times

See merge request espressif/esp-idf!32200
2024-08-01 10:33:49 +08:00
morris
b2c5481343 Merge branch 'change/eol_v4_4_8' into 'master'
docs(readme): remove v4.4 support info

See merge request espressif/esp-idf!31799
2024-08-01 10:13:43 +08:00
morris
937ed7cbce docs(readme): remove v4.4 support info 2024-08-01 10:11:06 +08:00
Armando
81cee9db8a fix(psram): fixed typo in esp32 quad psram device driver comment 2024-08-01 09:34:18 +08:00
Armando
67b8dbb5e5 feat(cache): supported cache on c61 2024-08-01 09:34:18 +08:00
Alexey Gerenkov
56a234c2a4 feat(tools): update openocd version to v0.12.0-esp32-20240726 2024-07-31 17:29:38 +00:00
Martin Vychodil
381be3ba15 Merge branch 'bugfix/sdmmc_test_app_usj_console' into 'master'
ci(sdmmc): switch to usb_serial_jtag in the test app for P4

Closes IDFCI-2299

See merge request espressif/esp-idf!32487
2024-07-31 23:05:29 +08:00
Song Ruo Jing
6db52ffe12 remove(clk): rc32k is removed as a clk source option for lp_slow_clk on C5/C61 2024-07-31 22:41:23 +08:00
Song Ruo Jing
335d39b869 feat(clk): Add basic clock support for esp32c61
- Support SOC ROOT clock source switch
- Support CPU frequency change
- Support RTC SLOW clock source switch
- Support RTC SLOW clock + RC FAST calibration
- Remove FPGA build
2024-07-31 22:41:22 +08:00
Nachiket Kukade
8b0a69d2a7 fix(wifi): Avoid internal retries for offchannel FTM Requests 2024-07-31 19:14:30 +05:30
Ivan Grokhotkov
ec66ecb176 ci(sdmmc): switch to usb_serial_jtag in the test app for P4
New CI runners use usb_serial_jtag, update configuration to match this.
2024-07-31 15:37:11 +02:00
Wang Meng Yang
d92c09a0ad Merge branch 'bugfix/baidu_sniff_disc_esp32' into 'master'
fix(bt/controller):  Fixed the issue of disconnection caused by updating the channel map in sniff mode

Closes AUD-5479

See merge request espressif/esp-idf!32007
2024-07-31 19:04:43 +08:00
Alexey Lapshin
24e2426b9e fix(newlib): fix include sys/dirent.h breaking change 2024-07-31 17:12:23 +07:00
Igor Udot
b5ab82ce3c Merge branch 'fix/replace_pytest_function' into 'master'
ci: replace pytest function

Closes IDFCI-1693

See merge request espressif/esp-idf!30531
2024-07-31 17:23:56 +08:00
Michael (XIAO Xufeng)
3cb3b5b61e Merge branch 'feat/unity_runner_print_stage_number' into 'master'
feat(unity_test): print stage number when unity test run

See merge request espressif/esp-idf!28344
2024-07-31 17:15:24 +08:00
Rahul Tank
7c2d3a9e3b fix(nimble): Add return value to RPA Timeout API 2024-07-31 14:41:45 +05:30
Konstantin Kondrashov
0bdf675992 fix(linux): Fix warnings for Linux target when COMPILER_STATIC_ANALYZER=y 2024-07-31 11:23:54 +03:00
Mo Fei Fei
fad3d5aae0 Merge branch 'docs/update_cn_trans_storage_api_index' into 'master'
docs: update cn trans for storage api reference index

Closes DOC-8137

See merge request espressif/esp-idf!32011
2024-07-31 15:47:00 +08:00
Konstantin Kondrashov
97f26e99d1 fix(efuse): Fix warnings when COMPILER_STATIC_ANALYZER=y
- fixed a false-positive warning in esp_efuse_utility
- refactored an efuse function
2024-07-31 10:31:43 +03:00
C.S.M
f4ca7bfc48 Merge branch 'fix/flash_idle_judge' into 'master'
fix(spi_flash): Fix issue that bit_length is wrong on suspend chip because not judge idle correctly

See merge request espressif/esp-idf!32282
2024-07-31 15:12:30 +08:00
gaoxu
51a7de23b8 feat(isp_ae): add thread safe lock for ISP AE 2024-07-31 15:08:48 +08:00
gaoxu
0b8269ee96 docs(isp_ae): add isp auto exposure programming guide 2024-07-31 15:08:48 +08:00
gaoxu
c88ba68cb0 feat(isp): ISP dispatched ISRs together 2024-07-31 15:08:47 +08:00
Zhang Shu Xian
2667b31d0a Merge branch 'docs/update_cn_trans_for_peripherals' into 'master'
docs: Update cn trans and fix format issues for api-reference

Closes DOC-8374

See merge request espressif/esp-idf!32086
2024-07-31 14:50:49 +08:00
Jakob Hasse
1ced23330b Merge branch 'refactor/deprecate_esp_linux_helper_h' into 'master'
refactor(linux): deprecated esp_linux_helper.h

Closes IDF-9391

See merge request espressif/esp-idf!32448
2024-07-31 14:36:25 +08:00
mofeifei
c5f1fda388 docs: update cn trans for storage api reference index 2024-07-31 14:35:36 +08:00
Wu Zheng Hui
40a910bfa8 Merge branch 'fix/disable_timer_wakeup_source_with_auto_sleep_off' into 'master'
fix(esp_pm): disable timer wakeup source with auto light-sleep off

Closes PM-170

See merge request espressif/esp-idf!32116
2024-07-31 13:17:15 +08:00
Island
24e49de66c Merge branch 'feat/save_ble_log_to_flash_0605' into 'master'
ble: save ble log to flash on ESP32C6

Closes BLERP-796, BLERP-885, BLERP-889, and BLERP-894

See merge request espressif/esp-idf!31352
2024-07-31 11:51:00 +08:00
Hong Shu Qing
90ea731fe1 Merge branch 'feature/esp32c5_rng_support' into 'master'
feat(esp32c5mp): support for rng api and test example

Closes IDF-8626

See merge request espressif/esp-idf!31902
2024-07-31 11:49:59 +08:00
gaoxu
cb6ecc470c feat(isp_ae): add isp auto exposure driver test 2024-07-31 11:18:53 +08:00
gaoxu
3c0fe579b6 feat(isp_ae): support isp auto exposure 2024-07-31 11:18:51 +08:00
Jiang Jiang Jian
f201d49565 Merge branch 'fix/fix_wrong_protocol_element_in_probe_response' into 'master'
fix(wifi): fix softAP fill protocol element in 2G prob-response with 5G configuration

Closes WIFIBUG-683 and WIFIBUG-533

See merge request espressif/esp-idf!32447
2024-07-31 11:12:40 +08:00
xiongweichao
e50547f664 fix(bt/controller): Fixed disconnection issue
- Fixed the issue of disconnection caused by updating the channel map in sniff mode
2024-07-31 10:33:33 +08:00
Marius Vikhammer
41dd1a351b Merge branch 'feat/cmake_plugin_ulp' into 'master'
feat(lp-core): allow custom cmake for ULP project

Closes IDF-10551

See merge request espressif/esp-idf!31919
2024-07-31 09:31:57 +08:00
morris
2b0e43f25b Merge branch 'feat/gdma_descriptor_driver' into 'master'
feat(gdma): add GDMA link list driver

See merge request espressif/esp-idf!32297
2024-07-30 22:54:33 +08:00
Jakob Hasse
ae15f1c4f9 refactor(linux): deprecated esp_linux_helper.h 2024-07-30 16:41:28 +02:00
wuzhenghui
dee3e19599 fix(esp_pm): configure timer wakeup source with auto light-sleep congiguration 2024-07-30 21:28:07 +08:00
Wang Meng Yang
f3f8618eee Merge branch 'fix/hfp_pcm_api_set' into 'master'
fix(bt/bluedroid): Add PCM configuration about pcm frame sync signal shape

Closes BT-3809

See merge request espressif/esp-idf!32265
2024-07-30 21:11:26 +08:00
Shen Meng Jing
28f373440c Merge branch 'docs/update_application_examples_of_parlio' into 'master'
docs: Update the application examples in parlio.rst

Closes DOC-8314

See merge request espressif/esp-idf!31985
2024-07-30 20:45:20 +08:00
Shen Meng Jing
3f21673e7d Merge branch 'docs/add_examples_to_dedic_gpio' into 'master'
docs: Add some application examples to dedic_gpio

Closes DOC-8312

See merge request espressif/esp-idf!31983
2024-07-30 20:28:35 +08:00
xuxiao
b6aee39c13 fix(wifi): fix softAP fill protocol element in 2G prob-response with 5G configuration 2024-07-30 20:10:49 +08:00
Kapil Gupta
2a222d437e Merge branch 'bugfix/deinit_roaming_app_crash' into 'master'
fix(esp_wifi): Fix crash in wifi deinit due to roaming neighbor list

Closes WIFIBUG-656

See merge request espressif/esp-idf!32418
2024-07-30 20:07:48 +08:00
Jan Beran
852bf714a7 ci(pre-commit): bump kconfig checker pre-commit version to 2.3.0 2024-07-30 14:00:25 +02:00
Wang Meng Yang
7051396904 Merge branch 'feature/ble_example_pytest' into 'master'
Add pytest for classic bt example

See merge request espressif/esp-idf!32231
2024-07-30 19:42:34 +08:00
Wang Mengyang
fd4f4a2fa0 fix(bt): Fix heap corruption in the call of esp_bt_mem_release on ESP32
Closes https://github.com/espressif/esp-idf/issues/14263
2024-07-30 19:29:03 +08:00
Wang Mengyang
ced444e49c change(bt): Perform comprehensive heap check in test_app for memory release 2024-07-30 19:29:03 +08:00
Shen Meng Jing
124c3be72c Merge branch 'docs/update_the_example_in_adc_oneshot' into 'master'
docs: Update the application example in adc_oneshot

Closes DOC-8315

See merge request espressif/esp-idf!31987
2024-07-30 19:24:56 +08:00
shenmengjing
fe5204cc4b docs: Update the application examples in parlio.rst 2024-07-30 19:14:04 +08:00
shenmengjing
ffe7181412 docs: Add some application examples to dedic_gpio 2024-07-30 19:10:28 +08:00
C.S.M
708699bb8e Merge branch 'fix/i2c_nack_c5' into 'master'
fix(i2c_master): Fix potential concurrency issue with task and interrupt when nack happens

See merge request espressif/esp-idf!32307
2024-07-30 18:42:02 +08:00
morris
53e3df2e03 docs(gptimer): include etm content conditionally
https://www.esp32.com/viewtopic.php?f=12&t=40991&p=135107#p135098
2024-07-30 18:25:01 +08:00
Island
d371677736 Merge branch 'bugfix/fix_ble_gattc_app_unregister' into 'master'
Bugfix/fix ble gattc app unregister

Closes BLERP-896

See merge request espressif/esp-idf!32405
2024-07-30 17:59:31 +08:00
Yuan Hong Hui
3e98d311f7 feat(bt):add pytest for classic bt example 2024-07-30 16:20:19 +08:00
Armando (Dou Yiwen)
5f3abba932 Merge branch 'feat/c61_mmu' into 'master'
mmu: c61 mmu support

Closes IDF-9265

See merge request espressif/esp-idf!32363
2024-07-30 16:18:44 +08:00
morris
e85d21e886 refactor(i80): use the gdma link list driver 2024-07-30 16:10:15 +08:00
morris
f096265774 feat(gdma): add GDMA link list driver 2024-07-30 16:10:15 +08:00
Martin Vychodil
9542d452bf Merge branch 'feat/spiffs_fsync' into 'master'
feat(spiffs): add fsync() support to SPIFFS VFS driver

See merge request espressif/esp-idf!32420
2024-07-30 14:53:18 +08:00
morris
04a231f297 feat(blink): support esp32 p4 core board 2024-07-30 14:38:28 +08:00
Island
7ca53a11f9 Merge branch 'feat/ble_mesh_disable_models' into 'master'
feat(ble_mesh): disable some models by default

Closes BLERP-895

See merge request espressif/esp-idf!32402
2024-07-30 14:22:45 +08:00
C.S.M
4606003655 fix(i2c_master): Fix potential concurrency issue with task and interrupt when nack happens 2024-07-30 13:28:20 +08:00
Marius Vikhammer
b6208df463 feat(lp-core): allow custom cmakefile project file for ULP project 2024-07-30 12:30:54 +08:00
zhanghaipeng
d703799356 fix(ble/bluedroid): Fix incorrect state issue when unregistering BLE GATTC application 2024-07-30 11:47:26 +08:00
C.S.M
17f814acf3 fix(spi_flash): Add external flash support on esp32c6,esp32h2,esp32p4,esp32c5 2024-07-30 11:10:29 +08:00
sonika.rathi
c1adbb234b test(spiffs): add test case for fsync() call 2024-07-29 19:04:10 +02:00
morris
0d9ea9cb6e Merge branch 'feat/debug_probe_esp32p4' into 'master'
feat(debug_probe): added debug probe driver

See merge request espressif/esp-idf!32088
2024-07-30 00:41:29 +08:00
Alexander Somov
da42024bf2 feat(spiffs): add fsync() support to SPIFFS VFS driver
Closes https://github.com/espressif/esp-idf/pull/12693

Signed-off-by: sonika.rathi <sonika.rathi@espressif.com>
2024-07-29 17:29:03 +02:00
Shreyas Sheth
63baf5b56f fix(esp_wifi): Fix crash in wifi deinit due to roaming neighbor list 2024-07-29 19:39:27 +05:30
Fu Hanxi
b5bdc1ac9b ci: add idf-build-apps load soc caps test case 2024-07-29 15:34:26 +02:00
Jiang Jiang Jian
f257b9b2c0 Merge branch 'bugfix/fix_beacon_timeout_issue_in_mesh' into 'master'
fix(wifi/mesh): fix the beacon timeout issue in mesh

Closes WIFIBUG-663

See merge request espressif/esp-idf!32406
2024-07-29 21:08:48 +08:00
chenqingqing
4e8dcf5753 fix(bt/bluedroid): Add PCM configuration about pcm frame sync signal shape 2024-07-29 19:51:37 +08:00
Daniel Paul
1870eaa2ba Merge branch 'docs/consistent_naming_convention_for_ESP_Component_Registry' into 'master'
docs: Consistent naming convention for ESP Component Registry

See merge request espressif/esp-idf!31205
2024-07-29 17:30:33 +08:00
Zhang Xiao Yan
9e1d02a3ef Merge branch 'docs/add_application_examples_system_component' into 'master'
docs: add or update application examples of system component

See merge request espressif/esp-idf!32004
2024-07-29 17:20:17 +08:00
Armando
e07111ae34 feat(mmu): supported on c61 2024-07-29 16:16:36 +08:00
Armando
f6255dde5d feat(mmu): added 8KB mmu page size option for c6 h2 2024-07-29 16:16:36 +08:00
Armando
133a217315 change(mmu): removed not-used SOC_MMU_PAGE_SIZE_CONFIGURABLE macro which is 0 on p4 2024-07-29 16:16:36 +08:00
luoxu
b0367f5f2f feat(ble_mesh): disable some models by default 2024-07-29 16:02:36 +08:00
Linda
0af1256a12 docs: add or update application examples of system component 2024-07-29 16:00:18 +08:00
zhangyanjiao
bd210713fa fix(wifi/mesh): fix the beacon timeout issue in mesh 2024-07-29 15:44:08 +08:00
morris
c30d89953c feat(debug_probe): added debug probe hal driver 2024-07-29 15:23:18 +08:00
chenjianhua
1ba831b0e2 feat(bt/bluedroid): Report HCI error code to app when command fails 2024-07-29 15:23:14 +08:00
morris
d839ea6805 Merge branch 'fix/esp_lcd_i2c_ng' into 'master'
fix(esp_lcd): Fix I2C receive without param

See merge request espressif/esp-idf!32358
2024-07-29 15:00:56 +08:00
Sudeep Mohanty
23e4823f17 Merge branch 'fix/vtaskdeletewithcaps_leaks_memory' into 'master'
fix(freertos): Fixed memory leak issue in vTaskDeleteWithCaps()

Closes IDFGH-13294

See merge request espressif/esp-idf!32305
2024-07-29 14:45:14 +08:00
C.S.M
69950910cb fix(spi_flash): Fix issue that bit_length is wrong on suspend chip because not judge idle correctly 2024-07-29 14:35:30 +08:00
Xu Xiao
d3d920eacb Merge branch 'fix/fix_esp32c3_compiler_issues_when_use_wifi_set_band_api' into 'master'
fix(wifi): fix esp32c3 compiler issues when call 'esp_wifi_set_band'

Closes WIFIBUG-675

See merge request espressif/esp-idf!32370
2024-07-29 14:23:31 +08:00
Island
39990412b5 Merge branch 'docs/reorganize_bluetooth_api_guides' into 'master'
docs(ble): Reorganized the bluetooth API guide structure

See merge request espressif/esp-idf!32131
2024-07-29 14:16:02 +08:00
Rahul Tank
929c04cfdd Merge branch 'bugifx/zero_initilize_variable' into 'master'
fix(nimble): Zero initialize variable to avoid garbage value

See merge request espressif/esp-idf!32357
2024-07-29 13:00:40 +08:00
Song Ruo Jing
adb1a81729 Merge branch 'feature/esp32c61_regi2c_support' into 'master'
feat(regi2c): support REGI2C for ESP32C61

Closes IDF-9276

See merge request espressif/esp-idf!31980
2024-07-29 11:52:41 +08:00
Armando (Dou Yiwen)
23ee0b65ff Merge branch 'feat/cache_msync_c2m_sliced_ops' into 'master'
cache: supported msync c2m sliced ops

Closes IDF-10510 and IDF-10414

See merge request espressif/esp-idf!32155
2024-07-29 11:37:24 +08:00
Zhang Wen Xu
c7d15c1f05 Merge branch 'feature/fix_154_next_operation_for_multi_event' into 'master'
fix(ieee802154): refactor the next opteration logic for multiple events

Closes TZ-930 and TZ-1017

See merge request espressif/esp-idf!32238
2024-07-29 11:15:08 +08:00
Marius Vikhammer
cd3dbb974e Merge branch 'ci/qemu_re_enable' into 'master'
ci(qemu): remove allowed to fail attribute from qemu tests

Closes IDF-8841

See merge request espressif/esp-idf!32361
2024-07-29 10:46:13 +08:00
Armando (Dou Yiwen)
5020e7a815 Merge branch 'change/improve_xip_docs_on_p4' into 'master'
psram: improve xip docs on p4

See merge request espressif/esp-idf!32354
2024-07-29 10:29:24 +08:00
Wei Yu Han
182e2c17ba docs(bluetooth): Repaced Classic Bluetooth with Bluetooth Classic in API reference section name 2024-07-29 09:54:19 +08:00
Sudeep Mohanty
c3da2ace27 fix(freertos): Fixed memory leak issue in vTaskDeleteWithCaps()
vTaskDeleteWithCaps() leaked memory when a task uses the API to delete
itself. This commit adds a fix to avoid the memory leak.

Closes https://github.com/espressif/esp-idf/issues/14222
2024-07-26 16:58:18 +02:00
Sudeep Mohanty
7806aeb372 Merge branch 'fix/freertos_port_assert_in_isr_bug' into 'master'
fix(freertos): Incorrect assert in FreeRTOS port layer when not in ISR context

See merge request espressif/esp-idf!32324
2024-07-26 21:14:53 +08:00
xuxiao
664a68cd09 fix(wifi): fix esp32c3 compiler issues when call 'esp_wifi_set_band' 2024-07-26 19:16:26 +08:00
Adam Múdry
3ffd716d81 Merge branch 'fix/fatfs_f_mount_immediately_after_formatting' into 'master'
fix(vfs): FATFS mount immediately after format if mount failed

Closes IDF-10538

See merge request espressif/esp-idf!32302
2024-07-26 17:39:59 +08:00
zwx
0353db2372 fix(ieee802154): refactor the next opteration logic for multiple events 2024-07-26 17:37:28 +08:00
Jiang Jiang Jian
e37ff3565b Merge branch 'bugfix/fix_newlib_nano_float_printf_issues' into 'master'
fix(esp_rom): add new rom caps ESP_ROM_HAS_NEWLIB_PRINTF_BUG

See merge request espressif/esp-idf!30956
2024-07-26 17:37:03 +08:00
Armando (Dou Yiwen)
27c562a348 Merge branch 'fix/fix_adc_continuous_docs_code_example' into 'master'
adc: fixed adc continuous programming guide code examples

Closes DOC-8485

See merge request espressif/esp-idf!32356
2024-07-26 17:32:06 +08:00
Wei Yu Han
524549fdb2 docs(ble): Replaced Classic Bluetooth with Bluetooth Classic 2024-07-26 17:16:48 +08:00
Xu Xiao
7b5014a02f Merge branch 'chip/esp32c5_mp_support_wifi' into 'master'
esp32c5 mp support wifi

Closes IDF-9139 and IDF-10529

See merge request espressif/esp-idf!31901
2024-07-26 17:15:23 +08:00
Sudeep Mohanty
fc5ca21673 Merge branch 'test/fix_flaky_sched_time_test' into 'master'
test(freertos): Fixed flaky scheduling time test

Closes IDFCI-2266

See merge request espressif/esp-idf!32352
2024-07-26 17:09:54 +08:00
Armando
702b0560ab change(psram): improved xip psram docs on p4 2024-07-26 16:30:46 +08:00
Armando
7f600ae3fe fix(adc): fixed adc continuous programming guide code examples 2024-07-26 16:14:51 +08:00
Marius Vikhammer
00a46fedbe ci(qemu): remove allowed to fail attribute from qemu tests 2024-07-26 15:36:32 +08:00
Omar Chebib
305fabf2cf Merge branch 'bugfix/c5_mintstatus_value' into 'master'
fix(riscv): fix a bug that affected mintstatus CSR value in the CLIC

See merge request espressif/esp-idf!32176
2024-07-26 15:35:03 +08:00
Marius Vikhammer
8b73c8616d Merge branch 'feat/lp_core_pre_calc_timer' into 'master'
change(lp_core): changed wakeup time calc to use a precomputed tick value

Closes IDF-10552

See merge request espressif/esp-idf!32283
2024-07-26 15:29:33 +08:00
hrushikesh.bhosale
74b5033284 docs(nvs_encryption): Updated the docs of nvs_encryption
Updated the documentation by changing subtype from key to
nvs_keys in nvs_encryption.rst
2024-07-26 12:21:47 +05:30
Sudeep Mohanty
7bf349d20b test(freertos): Fixed flaky scheduling time test
This commit updates the scheduling time test to test for median
scheduling time values instead of average values.
2024-07-26 08:37:11 +02:00
zwl
e4922b9629 fix(ble): fixed tx memory leak issue when controller disable 2024-07-26 14:29:39 +08:00
zwl
d62f1d3d43 fix(ble): fixed wdt issue when print key controller info on ESP32-C6 and ESP32-H2 2024-07-26 14:26:42 +08:00
zwl
959d649126 feat(bluetooth/controller): support switching log output mode on ESP32-C2 2024-07-26 14:26:42 +08:00
zwl
3e13e70290 feat(bluetooth/controller): support switching log output mode on ESP32-C6 and ESP32-H2 2024-07-26 14:26:42 +08:00
zwl
ca6bb9e60b feat(bluetooth/controller): storage ble controller log to flash on ESP32C2 2024-07-26 14:26:42 +08:00
zwl
60e6a6116f feat(bluetooth/controller): storage ble controller log to flash on ESP32C6 and ESP32H2 2024-07-26 14:26:42 +08:00
Mahavir Jain
940578f9fe Merge branch 'contrib/github_pr_14196' into 'master'
fix(esp_http_server): prevent concurrent access to socket used in async http requests (GitHub PR)

Closes IDFGH-13263 and IDFGH-13053

See merge request espressif/esp-idf!32267
2024-07-26 14:09:25 +08:00
Vilem Zavodny
922f581b3d fix(esp_lcd): Fix I2C receive without param 2024-07-26 08:00:36 +02:00
Omar Chebib
f06b235709 fix(riscv): fix a that affected mintstatus CSR value in the CLIC 2024-07-26 13:56:40 +08:00
Mahavir Jain
07e377c773 Merge branch 'bugfix/provide_random_addr_api' into 'master'
fix(wifi_prov): Added API to set random address

See merge request espressif/esp-idf!32152
2024-07-26 13:51:55 +08:00
Jiang Jiang Jian
5e18bc3cec Merge branch 'fix/support_esp32c5_rom_flash_mmap' into 'master'
fix(esp_rom): support esp32c5 rom flash mmap

See merge request espressif/esp-idf!31736
2024-07-26 13:45:38 +08:00
Marius Vikhammer
77bb7c888f Merge branch 'ci/pthread_qemu_tests' into 'master'
test(pthread): fixed memory leak in QEMU tests

Closes IDFCI-2223

See merge request espressif/esp-idf!32042
2024-07-26 13:35:08 +08:00
Rahul Tank
bd7be6a147 fix(nimble): Zero initialize variable to avoid garbage value 2024-07-26 09:38:40 +05:30
xuxiao
a397d31162 fix(wifi): add comments for the new API and fix code comments 2024-07-26 10:50:55 +08:00
Kevin (Lao Kaiyao)
ed91305d6a Merge branch 'feature/i2s_support_etm' into 'master'
feat(i2s): support i2s etm event and task

Closes IDF-10509 and IDF-6359

See merge request espressif/esp-idf!32013
2024-07-25 21:20:52 +08:00
C.S.M
a5cdf845ec Merge branch 'feat/add_gd_chip_suspend' into 'master'
feat(spi_flash): Add GD25Q32 for supporting suspend

See merge request espressif/esp-idf!32313
2024-07-25 18:27:48 +08:00
Sudeep Mohanty
1012172436 fix(freertos): Incorrect assert in FreeRTOS port layer when not in ISR context
This commit fixes an issue where in the FreeRTOS port layer would cause
the portASSERT_IF_IN_ISR() assert check to fail even when the system is
not in an interrupt context.
2024-07-25 12:06:19 +02:00
Mahavir Jain
e40386bf4a Merge branch 'bugfix/check_return_values_in_ssl_handshake' into 'master'
fix(mbedtls): Check return values of md functions during ssl handshake

Closes IDF-10478

See merge request espressif/esp-idf!32298
2024-07-25 17:18:01 +08:00
Yuhan Wei
d5c35d8b9b docs(ble): Fixed the image name in classic-bt/overview.rst 2024-07-25 17:05:45 +08:00
Yuhan Wei
124a23d9b1 docs(ble): Uploaded the classic-bluetooth-architecture.png; Applied the suggestion from Mengyang 2024-07-25 17:05:45 +08:00
Yuhan Wei
b71b3366d9 docs(ble): Adjusted the title level in the chinese version of overview.rst 2024-07-25 17:05:45 +08:00
Yuhan Wei
4b32ffb8a9 docs(ble): created an independent entry for classic bt 2024-07-25 17:05:45 +08:00
Yuhan Wei
28160ef5d6 docs(ble): Adjusted the title level in en/api-guides/ble/blufi.rst 2024-07-25 17:05:45 +08:00
Yuhan Wei
dc6f1503c2 docs(ble): Modified the table of content in ble/index.rst 2024-07-25 17:05:45 +08:00
Yuhan Wei
95f9bf8e64 docs(ble): Make the section name consistent for the zh_CN and eng versions 2024-07-25 17:05:45 +08:00
Yuhan Wei
2030b83b1a docs(ble): Reduced the toctree depth for Related Documents 2024-07-25 17:05:45 +08:00
Yuhan Wei
8379a45f4d docs(ble): Moved blufi to ble folder 2024-07-25 17:05:45 +08:00
Yuhan Wei
48bf83416a docs(ble): Moved ble-mesh and blufi to ble section 2024-07-25 17:05:45 +08:00
Yuhan Wei
c6f974e689 docs(ble): Created an independent BLE folder 2024-07-25 17:05:45 +08:00
Yuhan Wei
e4b3fe2f46 docs(ble): Reorganized the bluetooth API guide structure 2024-07-25 17:05:45 +08:00
Liu Xiao Yu
d2cb23c28a Merge branch 'docs/fix_intr_num_hlinterrupts_doc' into 'master'
docs(interrupts): fix wrong high-level interrupt level num in doc

Closes IDF-10445

See merge request espressif/esp-idf!32284
2024-07-25 16:32:31 +08:00
Armando (Dou Yiwen)
1f5cae8e79 Merge branch 'feat/xip_psram_example_p4' into 'master'
xip_psram: support xip psram example on p4

See merge request espressif/esp-idf!32333
2024-07-25 16:15:10 +08:00
Xu Si Yu
486b16712a Merge branch 'feature/support_restoring_vendor_properties' into 'master'
feat(openthread): support restoring vendor properties of rcp

Closes TZ-567

See merge request espressif/esp-idf!32219
2024-07-25 15:56:43 +08:00
C.S.M
c2cb7d4ed3 Merge branch 'feat/support_120m_tsens' into 'master'
feature(psram): Add timing tuning point adjustment via temperature sensor

Closes IDF-10506

See merge request espressif/esp-idf!31771
2024-07-25 15:54:26 +08:00
Shu Chen
93c32d4de9 Merge branch 'feat/support_change_ot_version_msg' into 'master'
feat(openthread): support changing openthread version information

See merge request espressif/esp-idf!31849
2024-07-25 15:48:43 +08:00
morris
a746ecc1f2 Merge branch 'feat/support_gptimer_on_c61' into 'master'
feat(gptimer): add gptimer support on c61

Closes IDF-9306

See merge request espressif/esp-idf!32278
2024-07-25 15:24:27 +08:00
Zhang Xiao Yan
85a1e2649f Merge branch 'docs/add_application_examples_openthread' into 'master'
docs: update application examples for esp_openthread.rst

See merge request espressif/esp-idf!32008
2024-07-25 15:09:34 +08:00
Armando
23fcfcae8b change(cache): added cache size kconfig macro on s2 2024-07-25 14:25:19 +08:00
Armando
074ed08251 change(cache): added mutex to guarantee the atomicity
This mutex is only added when msync is called from the task. This means only one task will compete with the msync-calls from ISRs.
2024-07-25 14:25:19 +08:00
Armando
3bfc134a23 feat(cache): supported msync c2m sliced ops
This commit adds sliced C2M ops, when the msync is called in task. This way it gives a breath of the critical section, so that a long C2M operation will not disable interrupts for a long time
2024-07-25 14:25:19 +08:00
Linda
5f4d3fac03 docs: update application examples for esp_openthread.rst 2024-07-25 14:15:40 +08:00
Fu Hanxi
47de2e5b65 Merge branch 'ci/fix_generate_build_child_pipeline' into 'master'
ci: fix missing argument `ignore_app_dependencies_components`

See merge request espressif/esp-idf!32323
2024-07-25 14:01:28 +08:00
C.S.M
efff933047 docs(spiram): Add docs for adjusting timing phase via temperature 2024-07-25 13:48:41 +08:00
C.S.M
931f95068a feat(spiram): Add temperature support for psram adjustment on esp32c5 2024-07-25 13:48:41 +08:00
laokaiyao
86a552e4e2 feat(i2s): support i2s etm event and task 2024-07-25 13:22:38 +08:00
Armando
4865e64be5 feat(xip_psram): support xip psram example on p4 2024-07-25 10:52:59 +08:00
Fu Hanxi
104ba56d92 ci: temp disable esp32c5 build of examples/bluetooth/nimble/throughput_app/blecent_throughput 2024-07-24 21:19:01 +02:00
Fu Hanxi
aee189253a ci: fix missing argument ignore_app_dependencies_components 2024-07-24 15:03:44 +02:00
morris
5c3964c9ea Merge branch 'feature/upgrade_example_autofocus_component' into 'master'
feat(examples): upgrade esp_cam_sensor component for isp/auto_focus

See merge request espressif/esp-idf!32320
2024-07-24 19:08:43 +08:00
shenmengjing
c59699b364 docs: Update the CN translation for ulp-lp-core.rst 2024-07-24 19:01:48 +08:00
Harshit Malpani
3aaac6c58f Merge branch 'bugfix/fix_build_failure_with_tls1_3_only' into 'master'
fix: Fixed build errors with TLS 1.3 only configuration

See merge request espressif/esp-idf!32090
2024-07-24 18:57:17 +08:00
Shen Meng Jing
346f31ccc0 Merge branch 'docs/translate_protocols' into 'master'
docs: Provide CN translation for protocols.rst

Closes DOC-8439

See merge request espressif/esp-idf!32257
2024-07-24 18:47:11 +08:00
Alexey Lapshin
cc8c1db3bc feat(examples): upgrade esp_cam_sensor component for isp/auto_focus 2024-07-24 17:07:22 +07:00
xuxiao
a481b6c78d fix(wifi): fix code comments 2024-07-24 18:03:42 +08:00
liuning
888967bcb0 feat(coex): support esp32c5mp coexist 2024-07-24 18:03:42 +08:00
yinqingzhao
ba0da2fd14 feat(wifi):add api to get btwt num that AP supported 2024-07-24 18:03:42 +08:00
xuxiao
c6104388aa feat(wifi): add wifi support for esp32c5 mp 2024-07-24 18:03:40 +08:00
yinqingzhao
bfe3fb0993 feat(wifi):wifi support broadcast twt 2024-07-24 18:01:26 +08:00
xuxiao
5a65712325 fix(wifi): update esp32c5 ld files 2024-07-24 18:01:26 +08:00
xuxiao
268061cf38 fix(wifi): fix wifi band 3 is not supported 2024-07-24 18:01:26 +08:00
Zhang Xiao Yan
8b51fd2395 Merge branch 'docs/update_application_examples_sleep' into 'master'
docs: update application examples for sleep_modes.rst and deep-sleep-stub.rst

See merge request espressif/esp-idf!32256
2024-07-24 17:31:27 +08:00
shenmengjing
df8009fb95 docs: Consistent naming convention in CN translation 2024-07-24 17:20:30 +08:00
shenmengjing
a14541b66d docs: Provide CN translation for protocols.rst 2024-07-24 16:57:48 +08:00
Linda
08ea11fd43 docs: update application examples for sleep_modes.rst and deep-sleep-stub.rst 2024-07-24 16:11:55 +08:00
Harshit Malpani
61d1077e6f fix(wpa_supplicant): Fix build errors for exclusive TLSv1.3 mbedtls config
Co-authored-by: Sarvesh Bodakhe <sarvesh.bodakhe@espressif.com>
2024-07-24 13:31:08 +05:30
Harshit Malpani
e9acc309dc fix: Fixed build errors with TLS 1.3 only configuration 2024-07-24 13:31:07 +05:30
Song Ruo Jing
71d37f9ea8 fix(ci): wrap sleep related code with porper caps for ble throughput_app 2024-07-24 15:45:21 +08:00
Aditya Patwardhan
beda3dc072 Merge branch 'feature_support_http_method_report' into 'master'
Support http method REPORT

Closes IDFGH-13210

See merge request espressif/esp-idf!32216
2024-07-24 15:33:29 +08:00
Xu Si Yu
fd166e826d feat(openthread): support changing openthread version information 2024-07-24 15:27:20 +08:00
Kevin (Lao Kaiyao)
1a3f5494d4 Merge branch 'refactor/parlio_rx_esp_probe_example' into 'master'
refactor(esp_probe): add kconfig to select data dump mode

See merge request espressif/esp-idf!32169
2024-07-24 15:07:51 +08:00
Kapil Gupta
4c401905e0 Merge branch 'bugfix/dpp_auth_failure' into 'master'
Fix(wpa_supplicant):Deinit old dpp authentication when config is received.

Closes WIFIBUG-649

See merge request espressif/esp-idf!31924
2024-07-24 14:50:33 +08:00
Marius Vikhammer
f47338122f Merge branch 'fix/p4_ulp_shared_mem' into 'master'
fix(lp-core): fixed ULP shared mem address being wrong on P4

See merge request espressif/esp-idf!32237
2024-07-24 13:54:08 +08:00
hrushikesh.bhosale
83afbfd4d7 fix(mbedtls): Check return values of md functions during ssl handshake
Added checks for mbedtls_md_setup and mbedtls_md_start
functioms in esp_ssl_tls.c
2024-07-24 11:16:20 +05:30
C.S.M
4626fafd20 feat(spi_flash): Add GD25Q32 for supporting suspend 2024-07-24 13:44:40 +08:00
Song Ruo Jing
3aa27ae960 refactor(regi2c): add LL function to control analog i2c master clock 2024-07-24 12:26:59 +08:00
Fu Zhibo
a90c9101ff feat: support regi2c for esp32c61 2024-07-24 12:17:11 +08:00
Song Ruo Jing
75cf388b99 feat(soc): add modem register header files for ESP32C61 2024-07-24 12:17:11 +08:00
Island
f6c42041a4 Merge branch 'feature/support_ble_for_esp32c5' into 'master'
Feature/support ble for esp32c5

See merge request espressif/esp-idf!32162
2024-07-24 11:53:11 +08:00
Island
b24dd77bd1 Merge branch 'bugfix/fix_bci_422' into 'master'
fix(bt/bluedroid): Fixed BLE create conn cancel when conn already exist

Closes BLERP-857

See merge request espressif/esp-idf!31730
2024-07-24 10:27:27 +08:00
Island
2c44bb711e Merge branch 'bugfix/fix_ble_cannot_create_conn' into 'master'
fix(ble/bluedroid): Fixed BLE cannot create connection

Closes BLERP-865

See merge request espressif/esp-idf!32170
2024-07-24 09:48:46 +08:00
Alexey Gerenkov
bdb9f972c6 Merge branch 'esp32c5_jtag_doc_update' into 'master'
Update esp32c5 jtag debugging guide

Closes IDF-9491

See merge request espressif/esp-idf!32189
2024-07-23 21:47:33 +08:00
Adam Múdry
a1f493b50f fix(vfs): FATFS mount immediately after format if mount failed 2024-07-23 15:44:40 +02:00
chenjianhua
6962bca5fa fix(bt/bluedroid): Fixed BLE create conn cancel when conn already exist 2024-07-23 20:31:43 +08:00
Yuhan Wei
5eed728a31 docs(ble): Fixed the esp32c5 doc build error 2024-07-23 20:12:43 +08:00
Shen Weilong
777b48a494 feat(ble): support ble on esp32c5 2024-07-23 20:12:43 +08:00
Xu Si Yu
09419b126b feat(openthread): support restoring vendor properties of rcp 2024-07-23 19:59:53 +08:00
aditi
2bffc52534 fix(wpa_supplicant):Deinit old dpp authentication data after receiving config. 2024-07-23 17:19:19 +05:30
hrushikesh.bhosale
52cd89698e feat(esp_http_client): Added http method REPORT
Added support http REPORT method and tested it using local server.
Added test case for REPOPRT method in esp_http_client_example.c
The URL(httpbin.org) does not support for /report endpoint.

Closes https://github.com/espressif/esp-idf/issues/14147
2024-07-23 16:43:33 +05:30
Aditya Patwardhan
e3925f4534 Merge branch 'feature/enable_flash_encryption_for_esp32c61' into 'master'
feat: enable flash encyption support in esp32c61

Closes IDF-9232

See merge request espressif/esp-idf!31399
2024-07-23 18:40:56 +08:00
Adam Múdry
caa4f7fd20 refactor(sdmmc): Allow sdmmc_host_init to be called multiple times
Along with slight refactor for sdmmc_host.c
2024-07-23 12:35:19 +02:00
Armando (Dou Yiwen)
a22a60c6a1 Merge branch 'fix/fix_csi_c2m_cache_ops' into 'master'
camera: fixed csi and isp_dvp c2m cache ops

See merge request espressif/esp-idf!32279
2024-07-23 17:47:06 +08:00
Roland Dobai
18d9ac4b11 Merge branch 'doc/document_inversion_in_kconfig' into 'master'
Docs: document inversion in kconfig

See merge request espressif/esp-idf!32065
2024-07-23 17:26:42 +08:00
Jan Beran
fdffa19958 Docs: document inversion in kconfig 2024-07-23 17:26:42 +08:00
Roland Dobai
eba71250ca Merge branch 'fix/fix_malformed_kconfigs' into 'master'
fix: fix various errors in Kconfig files

Closes IDF-10356

See merge request espressif/esp-idf!32125
2024-07-23 16:29:09 +08:00
chenjianhua
6c2fc9da53 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(4e58df9)
- Support enhanced BLE TX power setting and getting
2024-07-23 16:22:26 +08:00
Jiang Jiang Jian
1fb1924db6 Merge branch 'bugfix/fix_esp32c6_rxappend_esp32_tbtt_delay' into 'master'
fix(coex): fix esp32 crash issue, fix esp32c6 rx issue

Closes WIFI-6528 and WIFIBUG-608

See merge request espressif/esp-idf!32252
2024-07-23 15:41:57 +08:00
Shen Weilong
f3b92cabfa update(phy): Added phy support for esp32c5 2024-07-23 15:34:58 +08:00
Armando
e06d0134f2 fix(camera): fixed c2m cache ops 2024-07-23 15:14:24 +08:00
Xiaoyu Liu
9049a625c0 docs(interrupts): fix wrong high-level interrupt level num in doc 2024-07-23 14:45:24 +08:00
Ondrej Kosta
a70b435613 Merge branch 'bugfix/p4_v0_0_flashfreq' into 'master'
fix(esptool): make 80MHZ Flash SPI speed not supported by v0.0 of P4

See merge request espressif/esp-idf!32121
2024-07-23 14:26:00 +08:00
Marius Vikhammer
b825aa9f95 change(lp_core): changed wakeup time calc to use a precomputed tick value
Previously we would calculate the wakeup ticks upon every wakeup using the lp-timer clock frequency,
but this caused the binary to pull in software division functions, increasing the binary size.

This value is now precalculated by the hp-core when we configure the ULP. This saves about 1k bytes.
2024-07-23 14:14:20 +08:00
Marius Vikhammer
692eb01fe1 fix(lp-core): fixed ULP shared mem address being wrong on P4 2024-07-23 14:12:18 +08:00
Daniel Paul
658b1de02c docs: Consistent naming convention for ESP Component Registry 2024-07-23 14:10:34 +08:00
igor.udot
b0e8ce0111 ci: replace pytest function for linux target 2024-07-23 14:07:31 +08:00
igor.udot
8691672f03 ci: replace pytest function 2024-07-23 14:07:31 +08:00
Jiang Jiang Jian
9476733559 Merge branch 'bugfix/handle_no_pmkid_case_owe' into 'master'
Recompute keys in OWE incase of PMKID absence or mismatch

Closes WIFIBUG-639

See merge request espressif/esp-idf!31854
2024-07-23 12:00:34 +08:00
Armando (Dou Yiwen)
f1f780d7ee Merge branch 'fix/correct_psram_early_stage_function_name' into 'master'
psram: corrected psram early stage function name

See merge request espressif/esp-idf!32277
2024-07-23 11:36:03 +08:00
Chen Jichang
e04d0aad20 feat(gptimer): add gptimer support on c61 2024-07-23 10:23:14 +08:00
Armando
893bd25c0b fix(psram): corrected psram early stage function name 2024-07-23 10:00:24 +08:00
Rahul Tank
764433f431 Merge branch 'bugfix/increase_timer_task_depth' into 'master'
fix(nimble): Increase Timer stack size for nimble application

Closes IDFGH-13297 and BLEQABR24-976

See merge request espressif/esp-idf!32266
2024-07-22 20:09:42 +08:00
Rahul Tank
f92efd98e9 fix(nimble): Increase Timer stack size for nimble application 2024-07-22 15:05:59 +05:30
Island
ce12f4106d Merge branch 'feat/support_mesh_duplicate_with_extend_scan' into 'master'
feat(bt/controller): support mesh duplicate with extend scan

Closes BLERP-868

See merge request espressif/esp-idf!32203
2024-07-22 17:34:24 +08:00
Xu Si Yu
3bc9945fb3 Merge branch 'fix/clear_event_handler_if_wifi_disconnect' into 'master'
fix(common_components): unregister event handler if wifi disconnects and stop reconnecting

See merge request espressif/esp-idf!31773
2024-07-22 16:45:25 +08:00
Shu Chen
e42b95d3d4 Merge branch 'feature/add_ot_ts_lock_check' into 'master'
feat(openthread): add task switching lock holder check

See merge request espressif/esp-idf!31002
2024-07-22 16:44:23 +08:00
morris
974022a6a3 Merge branch 'change/mipi_dsi_minor_change' into 'master'
feat(mipi_dsi): update low level functions to include underrun interrupt

See merge request espressif/esp-idf!32245
2024-07-22 16:26:33 +08:00
Xu Si Yu
33e7f004e3 fix(common_components): unregister event handler if wifi disconnect and stop reconnecting 2024-07-22 15:56:55 +08:00
Zhang Shu Xian
93ac6668c4 Merge branch 'docs/update_cn_trans_for_api_guides' into 'master'
docs: Update cn trans for bootloader and host-apps in api-guides

See merge request espressif/esp-idf!32070
2024-07-22 14:14:51 +08:00
Island
0c0dfe1ad5 Merge branch 'fix/ble_mesh_24_76' into 'master'
fix(ble_mesh): fixed BLEMESH24-76

Closes BLEMESH24-76 and BLERP-876

See merge request espressif/esp-idf!32225
2024-07-22 14:04:52 +08:00
Shu Chen
9f1f28530d Merge branch 'fix/make_ot_task_queue_non_permanent_blocking' into 'master'
fix(openthread): make ot task queue sending non-permanent blocking

See merge request espressif/esp-idf!31979
2024-07-22 12:39:25 +08:00
Zhang Shu Xian
4703390853 Merge branch 'docs/update_cn_trans_for_2_files' into 'master'
docs: Update cn trans and provide proper indentation for 2 files

See merge request espressif/esp-idf!32087
2024-07-22 12:06:33 +08:00
Igor Udot
794c9a2e36 Merge branch 'fix/build_for_host_tests' into 'master'
fix: apps empty list is not None

See merge request espressif/esp-idf!32236
2024-07-22 11:34:44 +08:00
laokaiyao
ca28123353 refactor(esp_probe): add kconfig to select data dump mode 2024-07-22 11:00:57 +08:00
zhanghaipeng
667758cec7 fix(ble/bluedroid): Fixed BLE cannot create connection 2024-07-22 10:37:16 +08:00
Kevin (Lao Kaiyao)
c74360536f Merge branch 'ci/enable_some_test_on_p4' into 'master'
ci: enable ana_cmpr and touch sensor target tests on P4

See merge request espressif/esp-idf!32242
2024-07-22 10:09:47 +08:00
Zhang Shu Xian
fc4b5f3dde Merge branch 'docs/translate_lowpower_mode' into 'master'
Docs/translate lowpower mode

Closes DOC-7661

See merge request espressif/esp-idf!30827
2024-07-22 09:28:39 +08:00
Rahul Tank
928117e999 fix(wifi_prov): Added API to set random address 2024-07-21 15:37:37 +05:30
morris
0f6004e06f Merge branch 'feat/rmt_dma_burst_size' into 'master'
feat(rmt): enable DMA burst transfer

See merge request espressif/esp-idf!31127
2024-07-20 13:22:20 +08:00
Rahul Tank
4178315356 Merge branch 'bugfix/host_cb_to_provide_key' into 'master'
fix(nimble): Add host callback to provide security key

See merge request espressif/esp-idf!32218
2024-07-19 21:26:39 +08:00
nilesh.kale
2bf74cf86d feat: enable flash encyption support in esp32c61
This commit add support for flash ecnyrption in ESP32C61.
2024-07-19 17:23:11 +05:30
Chen Ji Chang
53734aab16 Merge branch 'change/remove_mcpwm_on_c61' into 'master'
change(mcpwm,pcnt): remove mcpwm and pcnt on esp32c61

Closes IDF-9332 and IDF-9338

See merge request espressif/esp-idf!32136
2024-07-19 19:44:36 +08:00
liuning
d562f9f4f0 fix(coex): fix esp32 crash issue, fix esp32c6 rx issue 2024-07-19 19:23:58 +08:00
Zhang Shuxian
348d834f97 docs: Update cn trans and provide proper indentation for 2 files 2024-07-19 19:20:31 +08:00
shenmengjing
dd94a219a2 docs: Update the application example in adc_oneshot 2024-07-19 19:10:10 +08:00
Kevin (Lao Kaiyao)
0d9dd8b10e Merge branch 'bugfix/fix_parlio_cache_sync_issue_on_p4' into 'master'
fix(parlio): fix cache sync issue on P4

See merge request espressif/esp-idf!32089
2024-07-19 19:07:20 +08:00
zwx
943033f9d6 fix(openthread): make ot task queue sending non-permanent blocking 2024-07-19 19:01:25 +08:00
Adam Múdry
c52a4bd1d7 Merge branch 'fix/sdmmc_io_rw_extended_unreachable_logic' into 'master'
fix(sdmmc): Fix logically dead code in sdmmc_io_rw_extended

Closes IDF-10272

See merge request espressif/esp-idf!32217
2024-07-19 18:59:04 +08:00
morris
28a3227b2f feat(mipi_dsi): update low level functions to include underrun interrupt 2024-07-19 18:06:21 +08:00
zhangshuxian
002c10d97b docs: Provide translationfor low power 2024-07-19 17:59:27 +08:00
morris
6960c747b5 feat(rmt): set DMA transfer burst size
default burst size was set to 32 bytes
2024-07-19 16:59:36 +08:00
laokaiyao
6da89cc8b9 ci(touch_sensor): enable the touch sensor target tests on P4 2024-07-19 16:53:35 +08:00
laokaiyao
3a6b665b90 ci(ana_cmpr): enable the ana_cmpr target tests on P4 2024-07-19 16:53:25 +08:00
Jakub Kocka
e91c5e33ca Merge branch 'docs/dfu_flashing' into 'master'
Tools: Changed DFU USB Drivers (Windows Only) section

Closes IDF-1653

See merge request espressif/esp-idf!31973
2024-07-19 16:12:24 +08:00
Shen Meng Jing
b6273e1f36 Merge branch 'docs/update_pinlayout_for_esp32_pico_kit1' into 'master'
docs: Update the pin layout for esp32-pico-kit-1

Closes DOC-7118

See merge request espressif/esp-idf!32204
2024-07-19 16:07:32 +08:00
Ondrej Kosta
4607cff1f9 fix(esptool): make 80MHZ Flash SPI speed not supported by v0.0 of P4 2024-07-19 15:04:14 +08:00
shenmengjing
e86c757081 docs: Update the pin layout for esp32-pico-kit-1 2024-07-19 14:57:45 +08:00
Zhang Shuxian
a99d6a9e6f docs: Update cn trans and fix format issues for api-reference 2024-07-19 14:31:00 +08:00
zwx
df42da4c7d feat(openthread): add task switching lock holder check 2024-07-19 14:28:04 +08:00
Mahavir Jain
1c351e5194 Merge branch 'contrib/github_pr_14159' into 'master'
fix(tool/mfg_gen) allow encodings u64 and i64 (GitHub PR)

Closes IDFGH-13224
Closes https://github.com/espressif/esp-idf/pull/14159

See merge request espressif/esp-idf!32175
2024-07-19 13:58:41 +08:00
igor.udot
5c23314da1 fix: apps empty list is not None 2024-07-19 12:29:42 +08:00
Marius Vikhammer
7042068519 Merge branch 'feature/lp_core_reduce_print_footprint' into 'master'
feat(lp-core): add reduced footprint print functions

See merge request espressif/esp-idf!32210
2024-07-19 10:39:55 +08:00
laokaiyao
a616782218 fix(parlio): fix cache sync issue on P4 2024-07-19 10:33:55 +08:00
Wang Meng Yang
3b46ee0538 Merge branch 'fix/stack_overflow_in_example_spp_initiator' into 'master'
Fix/stack overflow in example spp initiator

See merge request espressif/esp-idf!32197
2024-07-19 10:26:59 +08:00
morris
e5587ac379 Merge branch 'ci/re-enable_legacy_pcnt_test_on_c5' into 'master'
test(legacy_pcnt): re_enable legacy_pcnt test on c5

Closes IDF-10341

See merge request espressif/esp-idf!32060
2024-07-19 10:11:14 +08:00
Marius Vikhammer
d70383422b feat(lp-core): add reduced footprint print functions 2024-07-19 09:48:20 +08:00
Armando (Dou Yiwen)
e799535422 Merge branch 'fix/fix_p4_psram_20m_wrong_clk_div' into 'master'
psram: fixed p4 psram 20M wrong clk div

Closes IDF-10486

See merge request espressif/esp-idf!32191
2024-07-18 23:40:20 +08:00
Adam Múdry
cbf59b4c76 fix(sdmmc): Fix logically dead code in sdmmc_io_rw_extended 2024-07-18 17:28:01 +02:00
Rahul Tank
6f445a52df fix(nimble): Add host callback to provide security key 2024-07-18 20:53:07 +05:30
Rahul Tank
6381f604fc Merge branch 'bugfix/reset_irk_when_all_unpair' into 'master'
fix(nimble): Fixed BLE security vulnerability when using fixed IRK

See merge request espressif/esp-idf!30841
2024-07-18 22:41:31 +08:00
Chen Jichang
cde7750f0a ci(legacy_pcnt): re_enable legacy_pcnt test on c5 2024-07-18 21:54:31 +08:00
Chen Jichang
6b7da2901e change(pcnt): remove pcnt on esp32c61
pcnt is not supported on esp32c61
2024-07-18 21:52:39 +08:00
Chen Jichang
5e0c5e0ba5 change(mcpwm): remove mcpwm on esp32c61
mcpwm is not supported on esp32c61
2024-07-18 21:52:09 +08:00
Jiang Jiang Jian
46e6db0251 Merge branch 'bugfix/ssn_update_failed_under_lightsleep' into 'master'
fix(pm): ssn update failed when dut wakeup from lightsleep

Closes WIFI-6584

See merge request espressif/esp-idf!32126
2024-07-18 21:26:16 +08:00
gongyantao
a14dc38023 feat(bt): add bt address printing for all bt examples 2024-07-18 20:06:46 +08:00
gongyantao
cd0e0a683f fix(bt): fix uTask stack overflow in bt example spp_initiator 2024-07-18 20:06:40 +08:00
Shyamal Khachane
4e3951a587 fix(esp_wifi): Recompute keys in OWE if AP does not include PMKID in assoc response 2024-07-18 18:15:02 +08:00
Armando
1b8c8d5fd4 fix(psram): fixed p4 psram 20M wrong clk div 2024-07-18 17:34:47 +08:00
hrushikesh.bhosale
5f1916f8e7 test(nvs_flash): Added test for u64 and i64 encoding methods in mfg_gen.py 2024-07-18 14:39:47 +05:30
Jacky6
999de9c864 fix(tools/mfg_gen): Allow encoding u64 and i64 2024-07-18 14:39:47 +05:30
Jakub Kocka
dcb34c5ffa Merge branch 'docs/win_jtag_debugging' into 'master'
docs(jtag_debugging): Rewrite of configure part for Windows to reflect changes

Closes IDF-8479

See merge request espressif/esp-idf!31838
2024-07-18 16:05:42 +08:00
Marius Vikhammer
92bf402911 Merge branch 'feature/ulp_hp_core_printf_debug' into 'master'
feat(ulp): add option for routing LP-printf to HP console

See merge request espressif/esp-idf!32166
2024-07-18 16:03:27 +08:00
renpeiying
5b91022b1e docs: Update CN translation for api-guides/jtag-debugging/confugure-ft2232h-jtag.rst 2024-07-18 14:59:46 +08:00
zhiweijian
95bd043bda feat(bt/controller): support mesh duplicate with extend scan 2024-07-18 14:52:49 +08:00
Armando (Dou Yiwen)
7f47ee0a68 Merge branch 'fix/fix_esp_dma_is_buffer_alignment_satisfied_issue' into 'master'
dma: fix esp_dma_is_buffer_alignment_satisfied align issue when l2 cache line 128B

Closes IDF-10456

See merge request espressif/esp-idf!32143
2024-07-18 14:38:23 +08:00
Armando (Dou Yiwen)
cb9f4740be Merge branch 'feat/support_psram_aps3204l' into 'master'
psram: support APS3204L on S3

See merge request espressif/esp-idf!31460
2024-07-18 14:37:58 +08:00
Fu Hanxi
f9ccd51e69 Merge branch 'fix/host_build_and_test' into 'master'
fix: host build and test

See merge request espressif/esp-idf!32198
2024-07-18 14:32:37 +08:00
David Čermák
463b41fc60 Merge branch 'feat/lwip_netif_more_opts' into 'master'
fix(lwip/esp_netif): Adds more configs: IPv6 autoconfig per netif, IPv6-only for PPP

Closes IDF-1394

See merge request espressif/esp-idf!31410
2024-07-18 14:28:27 +08:00
zhangyanjiao
5ca25c81ff fix(wifi/mesh): update the mesh ip_internal_network example 2024-07-18 14:13:55 +08:00
Mahavir Jain
8f3f86028c Merge branch 'fix/fix_aes_dma_desc_align' into 'master'
aes: fix aes dma desc align

Closes IDF-10458

See merge request espressif/esp-idf!32144
2024-07-18 14:05:57 +08:00
igor.udot
08a6985152 fix: temporal solution for host build and test 2024-07-18 13:57:35 +08:00
Jiang Jiang Jian
7ec3e6c996 Merge branch 'bugfix/wifi_scan_example' into 'master'
fix(wifi): Free scan configuration after use when channel bitmap is used in scan example

See merge request espressif/esp-idf!32188
2024-07-18 13:52:06 +08:00
zhangyanjiao
751b103ddc fix(wifi/mesh): fixed the dhcp offer send error issue when root restart multiple times
Closes https://github.com/espressif/esp-idf/issues/13212
2024-07-18 11:28:44 +08:00
morris
6b952f1043 Merge branch 'feat/add_gpio_extension_for_esp32c5' into 'master'
feat(gpio_extension): add gpio extension support for esp32c5

Closes IDF-8718 and IDF-8725

See merge request espressif/esp-idf!32058
2024-07-18 11:08:07 +08:00
hongshuqing
1454be7d4e feat(esp32c5): add rng support for bootloader and app 2024-07-18 11:04:44 +08:00
luoxu
7c338ac26c fix(ble_mesh): fixed BLEMESH24-76 2024-07-18 10:51:46 +08:00
Island
40034622b8 Merge branch 'feat/support_default_tx_level_for_esp32h2_esp32c6_esp32c2' into 'master'
Feat/support default tx level for esp32h2 esp32c6 esp32c2

See merge request espressif/esp-idf!32182
2024-07-18 10:30:00 +08:00
Aleksei Apaseev
c624742275 Merge branch 'ci/add_column_with_dut_log_to_report' into 'master'
ci: add dut_log_url column to failed testcases report

Closes IDFCI-2173, IDFCI-2169, RDT-818, IDFCI-2210, and IDFCI-2250

See merge request espressif/esp-idf!31867
2024-07-18 09:39:27 +08:00
Zhang Shuxian
3f535886a4 docs: Update cn trans for bootloader and host-apps in api-guides 2024-07-18 09:33:26 +08:00
David Cermak
95169eb929 feat(esp_netif): Add support for IPv6 autoconfig flag per netif 2024-07-17 21:41:09 +08:00
David Cermak
48b3e4f76f feat(lwip): Add support for disabling IPv4 in PPP networks 2024-07-17 21:41:09 +08:00
Erhan Kurubas
07da0f627c docs(jtag): update esp32c5 jtag debugging guide 2024-07-17 14:50:31 +02:00
Sarvesh Bodakhe
3fbd7eb80b fix(wifi): Free scan configuration after use when channel bitmap is used 2024-07-17 17:34:02 +05:30
Chen Jichang
38b1fe9b11 feat(glitch_filter): add support for esp32c5 2024-07-17 17:56:45 +08:00
Chen Jichang
9b94afdd38 feat(dedic_gpio): add support for esp32c5 2024-07-17 17:56:43 +08:00
Aleksei Apaseev
cd59d96ff4 ci: add dut_log_url column to failed testcases report
Introduced changes:
- add xml attribute "dut_log_url" to pytest report
- add column "dut_log_url" to failed testcases table of dynamic pipeline report
- make the table header sticky
- add permalinks to the Table Titles
- split target test report by testcase type for better clarity
- fix the logic of finding the testcases failed on cur branch / other branches
2024-07-17 17:52:11 +08:00
Island
9ca974c8b3 Merge branch 'bugfix/fixed_alloc_fail_when_use_uhci' into 'master'
fix(bluetooth/controller): fixed alloc memory fail when use uhci on ESP32-C6 and ESP32-H2

See merge request espressif/esp-idf!32141
2024-07-17 17:50:36 +08:00
Jan Beran
01ee296db0 fix: fix various errors in Kconfig files 2024-07-17 11:33:22 +02:00
zwl
1a19463ceb feat(bluetooth/controller): support default tx power configurable on ESP32C2 2024-07-17 17:27:42 +08:00
zwl
ceda7d04e4 feat(bluetooth/controller): support default tx power configurable on ESP32C6 and ESP32H2 2024-07-17 17:23:28 +08:00
Marius Vikhammer
74a04c140c feat(ulp): add option for routing LP-printf to HP console 2024-07-17 17:16:40 +08:00
Gao Xu
7d3ac1abe4 Merge branch 'esp32c5/add_adc_support' into 'master'
ADC: bringup ADC oneshot and continuous mode on C5

Closes IDF-8701 and IDF-8703

See merge request espressif/esp-idf!31940
2024-07-17 16:46:52 +08:00
Armando
c503e385ab fix(dma): fix esp_dma_is_buffer_alignment_satisfied align issue when l2 cache line 128B 2024-07-17 15:15:16 +08:00
Peter Marcisovsky
2afbcd1bb4 Merge branch 'refactor/usb_host_update_multiconfig_api' into 'master'
refactor(usb_host): Update USB Host multiconfig public API

Closes IDF-10466

See merge request espressif/esp-idf!32154
2024-07-17 15:00:53 +08:00
Mahavir Jain
10d85a0279 Merge branch 'feature/add_compiler_no_merge_constants' into 'master'
feat: add compiler config for not merging const sections

See merge request espressif/esp-idf!32077
2024-07-17 13:46:50 +08:00
Kevin (Lao Kaiyao)
5930c5786f Merge branch 'feature/update_etm_source_on_c5' into 'master'
fix(etm): fix the outdated etm source on c5

Closes IDF-10463

See merge request espressif/esp-idf!32153
2024-07-17 10:53:59 +08:00
Jiang Jiang Jian
08b897912b Merge branch 'fix/stall_other_core_in_cpu_freq_switching' into 'master'
fix(esp_hw_support): stall another core during cpu/mem/apb freq switching

See merge request espressif/esp-idf!32063
2024-07-17 10:26:12 +08:00
Wan Lei
146d07dacf Merge branch 'feat/c61_enable_ci_build_test' into 'master'
feat(esp32c61): enable c61 ci build test

Closes IDF-9289

See merge request espressif/esp-idf!30448
2024-07-17 09:33:31 +08:00
Wu Zheng Hui
fcd0b82c1c Merge branch 'bugfix/fix_esp32p4_deepsleep_gpio_wakeup_support' into 'master'
feat(esp_hw_support): support esp32p4 gpio/ext1 wakeup deepsleep

Closes PM-158

See merge request espressif/esp-idf!31583
2024-07-16 22:09:44 +08:00
wuzhenghui
c2bb64fbe8 fix(esp_hw_support): stall another core during cpu/mem/apb freq switching 2024-07-16 19:11:12 +08:00
wuzhenghui
cb8c67f55f feat(example): update gpio/ext1 wakeup avaliable IO num in example Kconfig 2024-07-16 17:55:12 +08:00
wuzhenghui
f43b3afcec fix(esp_hw_support): hold LP_IO mode if LP_PERI domain powerdown in sleep 2024-07-16 17:55:11 +08:00
wuzhenghui
da4c55fdbb feat(esp_hw_support): support esp32p4 gpio wakeup deepsleep 2024-07-16 17:55:07 +08:00
Armando
38bdfe195e fix(aes): fixed aes wrong dma desc alignment 2024-07-16 17:44:48 +08:00
Mahavir Jain
ef92aa4aba Merge branch 'update/esp32c6-h2_apm_api' into 'master'
fix(apm): minor fixes for apm api

See merge request espressif/esp-idf!31293
2024-07-16 17:32:32 +08:00
Peter Marcisovsky
ddc3c2b78b refactor(usb_host): Update USB Host multiconfig public API
- previous usb_host_get_config_desc_free()
    - updated usb_host_free_config_desc()
2024-07-16 11:32:22 +02:00
laokaiyao
156c1c0891 fix(etm): fix the outdated etm source on c5 2024-07-16 16:56:36 +08:00
Friedolin Gröger
4a7f371056 fix(esp_http_server): prevent concurrent access to socket used in async http requests 2024-07-16 10:46:50 +02:00
Aditya Patwardhan
fb1a8461f7 Merge branch 'bugfix/update_ecdsa_reset_api_to_execute_correctly' into 'master'
fix(hal): updated ecdsa reset api to execute correctly

See merge request espressif/esp-idf!31126
2024-07-16 16:43:29 +08:00
wanlei
3cf069c7d8 feat(esp32c61): disable unsupported build test 2024-07-16 16:06:19 +08:00
wanlei
fdfab41f95 feat(esp32c61): enable c61 ci build 2024-07-16 16:06:19 +08:00
zwl
d25b1375b5 fix(bluetooth/controller): fixed alloc memory fail when use uhci on ESP32-C6 and ESP32-H2 2024-07-16 15:31:05 +08:00
Xu Si Yu
ad8f175a58 Merge branch 'feat/updatae_openthread_submodule' into 'master'
feat(openthread): update openthread submodule

See merge request espressif/esp-idf!31815
2024-07-16 14:27:52 +08:00
Marius Vikhammer
f85ff57fcc Merge branch 'bugfix/c5_etm_ulp_fail' into 'master'
fix(etm): add ulp etm ll functions

See merge request espressif/esp-idf!32140
2024-07-16 13:31:48 +08:00
Armando (Dou Yiwen)
f5d9cbe4cc Merge branch 'feat/ppa_example' into 'master'
ppa: added ppa dsi example

Closes IDF-10077

See merge request espressif/esp-idf!31703
2024-07-16 12:02:44 +08:00
Xu Si Yu
3712dfa6c5 feat(openthread): update openthread submodule 2024-07-16 11:57:41 +08:00
Marius Vikhammer
9b387caf19 fix(etm): add ulp etm ll functions 2024-07-16 10:04:18 +08:00
Armando
3c7a83303a feat(ppa): added ppa dsi example 2024-07-16 09:46:34 +08:00
Marius Vikhammer
42bcb84013 Merge branch 'feature/ulp_include_sdkconfig_cmake' into 'master'
feat(ulp): import all sdkconfigs macros into cmake build

See merge request espressif/esp-idf!32122
2024-07-16 09:00:12 +08:00
Ivan Grokhotkov
d146fb5b84 Merge branch 'bugfix/build_with_clang' into 'master'
fix build errors with clang

Closes IDFGH-13238

See merge request espressif/esp-idf!32099
2024-07-15 21:40:40 +08:00
Rahul Tank
0f57d6cf34 fix(nimble): Fixed BLE security vulnerability when using fixed IRK 2024-07-15 17:30:03 +05:30
Zhao Wei Liang
abfca50561 Merge branch 'feat/optimize_bt_porting_hci_0628' into 'master'
Feat/optimize bt porting hci 0628

Closes BLERP-850 and BLERP-848

See merge request espressif/esp-idf!31913
2024-07-15 19:48:59 +08:00
Jiang Jiang Jian
e4ed7e42b6 Merge branch 'fix/fix_wrong_cache_invalidate_mask' into 'master'
fix(esp_hw_support): fix cpu_retention cache invalidate mask

See merge request espressif/esp-idf!32064
2024-07-15 19:33:20 +08:00
Jiang Jiang Jian
5726927248 Merge branch 'docs/update_ble_controller_api_esp32' into 'master'
docs: revised ble esp32 controller API reference

See merge request espressif/esp-idf!32017
2024-07-15 19:26:37 +08:00
Jiang Jiang Jian
44a9881a10 Merge branch 'bugfix/fix_coex_loadprohibit_issue' into 'master'
fix(coex): Update bt lib for ESP32-C3 and ESP32-S3(49e572b)

Closes BT-3792

See merge request espressif/esp-idf!32071
2024-07-15 19:25:27 +08:00
Armando (Dou Yiwen)
fade4ca846 Merge branch 'fix/fix_isp_docs' into 'master'
isp: fixed isp doc title issue

See merge request espressif/esp-idf!32127
2024-07-15 18:44:44 +08:00
morris
2386e522cb Merge branch 'feat/etm_driver_support_esp32c5' into 'master'
feat(etm): support etm driver on esp32c5

Closes IDF-8693

See merge request espressif/esp-idf!32009
2024-07-15 18:05:49 +08:00
Armando
c2d0ac0647 fix(isp): fixed isp doc title issue 2024-07-15 16:49:05 +08:00
sibeibei
3111f47fb8 fix(pm): ssn update failed when dut wakeup from lightsleep 2024-07-15 16:20:01 +08:00
Marius Vikhammer
4ec9a8412d feat(ulp): include sdkconfig macros in cmake build 2024-07-15 16:16:08 +08:00
Armando (Dou Yiwen)
2b351233cb Merge branch 'feat/bss_in_psram_p4' into 'master'
psram: bss in psram p4

Closes IDF-7557

See merge request espressif/esp-idf!32018
2024-07-15 15:54:53 +08:00
Sachin Billore
b82e26593e fix(apm): minor fixes for apm api 2024-07-15 13:10:55 +05:30
Jakub Kocka
0ff1009598 docs(tools): Changed USB Drivers (Windows Only) section of DFU
New driver was created for ESP32-S2, so there is no need to manually install it using tools
2024-07-15 09:24:47 +02:00
Mahavir Jain
7e97b72dff Merge branch 'bugfix/update_soc_config_for_secure_boot_in_c5' into 'master'
fix: disable config for RSA during secure boot

See merge request espressif/esp-idf!32022
2024-07-15 15:08:18 +08:00
linruihao
9d2b2d4d91 fix(coex): Fixed coexist scheme phase index overflow issue 2024-07-15 15:01:40 +08:00
Mahavir Jain
45c1565b8c Merge branch 'feature/add_config_option_to_support_large_ota' into 'master'
feat: add config option under partition menu to support large size ota

Closes IDF-10338

See merge request espressif/esp-idf!31923
2024-07-15 14:45:13 +08:00
Jiang Jiang Jian
097fd37630 Merge branch 'bugfix/fix_sta_may_join_bad_rssi_ap_when_set_by_signal' into 'master'
fix(wifi): fix sta may join bad signal ap when set by signal

Closes FCS-1511 and IDFGH-13008

See merge request espressif/esp-idf!32098
2024-07-15 14:02:26 +08:00
Mahavir Jain
3dc80527ab feat: add compiler config for not merging const sections
Probably GCC-13.x and on-wards uses "-fmerge-constants" to merge
the const section (string/floating-point) across compilation units.
This makes it difficult to properly analyze the size output of rodata
section across libraries, the merged section (big in size) is showed
across a single library.

The config option added here can help to disable this compiler behavior
and help to provide better size analysis. It can be used during
development phase only as it increases rodata section size.
2024-07-15 10:04:55 +05:30
Wan Lei
7c2347420b Merge branch 'fix/c61_soc_pmu_register_update' into 'master'
fix(soc): c61 update pmu_struct to v1.1.14

See merge request espressif/esp-idf!31981
2024-07-15 12:27:27 +08:00
Jiang Jiang Jian
77c4da89da Merge branch 'bugfix/ld_acl_c_3576' into 'master'
fix(bt/controller): Removed an improper assertion in ACL link driver

Closes BT-3591 and BT-3565

See merge request espressif/esp-idf!32101
2024-07-15 10:57:30 +08:00
Armando
b7b09bf57b test(psram): enable bss psram test 2024-07-15 10:44:13 +08:00
Armando
8c22cb6c6a feat(psram): support bss on psram on p4 2024-07-15 10:44:13 +08:00
gaoxu
2f49a2e9c8 feat(adc): add ADC func clock enable function on C5,C6,H2 2024-07-13 14:06:57 +08:00
gaoxu
65820c07ac feat(adc): support ADC oneshot and continuous mode on ESP32C5 and enable test 2024-07-13 14:03:23 +08:00
Roman Leonov
d108ba14ac Merge branch 'fix/usb_host_hcd_dconn_hs' into 'master'
fix(usb_dwc_hal): Enabled precise VBUS detection

Closes IDF-9953

See merge request espressif/esp-idf!32031
2024-07-13 00:45:56 +08:00
Sudeep Mohanty
a9787fc809 Merge branch 'fix/lp_i2c_generates_spurious_start_cond' into 'master'
fix(lp-i2c): Fixed the generation of spurious I2C start with lp-i2c

Closes IDFGH-13096 and IDFGH-10350

See merge request espressif/esp-idf!32056
2024-07-12 23:13:21 +08:00
Jakob Hasse
e35c614661 Merge branch 'feature/freertos_plus_posix_2' into 'master'
Added FreeRTOS-Plus-POSIX message queue implementation

Closes IDF-8058 and IDFGH-4530

See merge request espressif/esp-idf!28868
2024-07-12 22:24:21 +08:00
Armando (Dou Yiwen)
10301a6c95 Merge branch 'feat/cache_panic_p4' into 'master'
cache: cache panic p4

Closes IDF-7515

See merge request espressif/esp-idf!32049
2024-07-12 22:20:10 +08:00
David Čermák
38f0d32d68 Merge branch 'feat/lwip_with_mbedtls' into 'master'
feat(lwip): Add support for PPP Auth using mbedTLS

Closes IDFGH-12599

See merge request espressif/esp-idf!31071
2024-07-12 22:10:39 +08:00
Ivan Grokhotkov
3d0b507346 fix(ieee802154): fix linker error due to static function being inlined
When the compiler decides to inline a static function, linker script
generator will complain about the missing function.
2024-07-12 14:51:49 +02:00
Ivan Grokhotkov
6c2824bdaa ci(clang): include all components in clang_build_test 2024-07-12 13:58:18 +02:00
Ivan Grokhotkov
df65b3829e fix(usb): variable declaration after label for clang 2024-07-12 13:58:18 +02:00
Ivan Grokhotkov
c921824230 fix(wifi_provisioning): fix var declarations inside switch for clang 2024-07-12 13:58:18 +02:00
Jin Cheng
3964fb1fa8 fix(bt/controller): Removed an improper assertion in ACL link driver
- See more from jira BT-3591
2024-07-12 19:35:18 +08:00
Ivan Grokhotkov
728136a91d fix(esp_eth): fix variable declarations inside switch for clang 2024-07-12 12:14:32 +02:00
muhaidong
3da4ed5d3e fix(wifi): fix sta may join bad signal ap when set by signal
Closes https://github.com/espressif/esp-idf/issues/13958
2024-07-12 17:51:35 +08:00
Lou Tianhao
c00b55e9e6 fix(soc): c61 update pmu_struct to v1.1.14 2024-07-12 17:39:08 +08:00
Mahavir Jain
af25eb447e Merge branch 'bugfix/existing_mmap_region_offset' into 'master'
fix(esp_mm): for existing mmap region, consider new offset for virtual addr

Closes IDFGH-12978

See merge request espressif/esp-idf!32032
2024-07-12 17:22:37 +08:00
nilesh.kale
55bbd9c95a feat: add config option under partition menu to support large size ota
This commit adds one more config option under partition table menu
to support large size image during ota

This also updates the default config for simple ota example.
2024-07-12 14:49:16 +05:30
Roman Leonov
97d30e7c48 fix(usb_dwc_hal): Enabled precise detection of VBUS 2024-07-12 10:51:31 +02:00
David Cermak
562abca17d fix(esp_netif): Remove unused leftover pppapi_set_auth() call 2024-07-12 10:43:58 +02:00
David Cermak
1f14018c30 feat(lwip): Add support for PPP Auth using mbedTLS
Closes https://github.com/espressif/esp-idf/issues/13597
2024-07-12 10:43:57 +02:00
linruihao
55fd3f1059 fix(coex): Update bt lib for ESP32-C3 and ESP32-S3(e4ba7f6)
- Fixed coexist LoadProhibited issue
2024-07-12 15:47:28 +08:00
wuzhenghui
f55ab6f17c fix(esp_hw_support): fix cpu_retention cache invalidate mask 2024-07-12 15:40:36 +08:00
Roland Dobai
1ac37b6901 Merge branch 'contrib/github_pr_14036' into 'master'
fix(cmake): check for missing component_target (GitHub PR)

Closes IDFGH-13091

See merge request espressif/esp-idf!32061
2024-07-12 15:14:01 +08:00
Island
6750215fb4 Merge branch 'bugfix/fix_ble_rssi_when_latency_is_not_zero' into 'master'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(abd7733)

Closes BCI-436

See merge request espressif/esp-idf!31941
2024-07-12 15:11:34 +08:00
nilesh.kale
3aa448ee0d fix: disable config for RSA during secure boot
support for RSA secure boot is disabled for ESP32-ECO0 due to
hardware issue. It will be re-enabled in future version ECO1.

For ESP32C5- ECO0 , ECDSA secure boot is the recommended option.
2024-07-12 12:40:11 +05:30
C.S.M
c61c3ac32d Merge branch 'fix/flash_mmap_c5' into 'master'
fix(flash_mmap): Fix flash memory map failed after psram is enabled

Closes IDF-10451

See merge request espressif/esp-idf!32069
2024-07-12 15:01:28 +08:00
Shen Meng Jing
fd69a7cf6b Merge branch 'docs/update_secure_boot_v2_zh_cn' into 'master'
docs: Enable secure boot for c5 in CN translation

Closes DOC-8299

See merge request espressif/esp-idf!31978
2024-07-12 14:18:17 +08:00
Wan Lei
602691e974 Merge branch 'fix/p4_enable_generic_test' into 'master'
test(esp_driver_spi): enable single board test for esp32p4

Closes IDF-8942

See merge request espressif/esp-idf!31972
2024-07-12 14:07:31 +08:00
Jiang Jiang Jian
42dd7ba228 Merge branch 'bugfix/wps_reg_state_handling' into 'master'
fix(wpa_supplicant): Handle case when WPS registrar misses WSC_DONE sent by station

Closes WIFIBUG-415

See merge request espressif/esp-idf!30470
2024-07-12 13:52:56 +08:00
Armando
564b74a9c0 feat(cache): supported cache panic on p4 2024-07-12 12:42:10 +08:00
Fu Hanxi
54eb0dc301 Merge branch 'ci/console_confirmed_write' into 'master'
Ci: console use dut.confirm_write

See merge request espressif/esp-idf!32028
2024-07-12 12:01:44 +08:00
Fu Hanxi
4289bc732a Merge branch 'ci/swap-argument-find-app' into 'master'
ci(ci_build_apps): swap function args

See merge request espressif/esp-idf!31915
2024-07-12 11:42:45 +08:00
C.S.M
ee733e2bf4 fix(flash_mmap): Fix flash memory map failed after psram is enabled 2024-07-12 11:03:40 +08:00
morris
863344f769 feat(etm): support etm driver on esp32c5 2024-07-12 10:53:12 +08:00
morris
b06b483dfc Merge branch 'feat/esp32c5_sdm_support' into 'master'
feat(sdm): add support for esp32c5

Closes IDF-8687

See merge request espressif/esp-idf!32010
2024-07-12 10:51:07 +08:00
morris
5d609daa6a Merge branch 'change/remove_rmt_on_esp32c61' into 'master'
change(rmt): rmt is not supported on esp3261

Closes IDF-9343

See merge request espressif/esp-idf!32034
2024-07-12 10:41:23 +08:00
Jiang Jiang Jian
15e3f4a099 Merge branch 'bugfix/fix_pmf_disabled_connection_reset_dns_fail_issue' into 'master'
fix(wifi): fix reset connection dns fail issue

Closes FCS-1276, FCS-1229, WIFI-6601, and IDFGH-11148

See merge request espressif/esp-idf!25376
2024-07-12 10:39:47 +08:00
igor.udot
5390506938 ci(ci_build_apps): swap function args 2024-07-12 10:35:12 +08:00
Wei Yu Han
ae3f27bafd docs(ble): Removed the index of the note for esp_ble_power_type_set/get 2024-07-12 08:22:16 +08:00
Wei Yu Han
3df1e43d09 docs(ble): Removed a trailing whitespace 2024-07-12 08:01:40 +08:00
Jakob Hasse
bddc1e95ef feat(rt/posix): Added FreeRTOS-Plus-POSIX message queues implementation
Note: The current mq_open() implementation is changed to match
      the POSIX standard.
2024-07-11 21:08:01 +02:00
gojimmypi
f6a852e1cf fix(cmake): check for missing component_target
Closes https://github.com/espressif/esp-idf/pull/14036

[Frantisek Hrbata: fixed spelling not related to this change so spellcheck succeeds]
[Frantisek Hrbata: modified the error message to be recognized by the existing hint]
[Frantisek Hrbata: added also check in idf_component_set_property and simple tests]
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-07-11 18:33:41 +02:00
Tomas Rezucha
33e68632b9 Merge branch 'fix/usb_hs_scheduler' into 'master'
fix(usb/host): Fix occasional ISOC scheduler skipping transfers

Closes IDFCI-2241

See merge request espressif/esp-idf!32012
2024-07-11 23:10:23 +08:00
Mahavir Jain
f08a851eaa Merge branch 'feature/enable_ecc_support_in_c61' into 'master'
feat: enable ecc support in esp32c61

Closes IDF-9235

See merge request espressif/esp-idf!31360
2024-07-11 21:46:10 +08:00
Wei Yu Han
e8e66a84ed docs(ble): added CONN0-8 back to the second note of esp_power_level_t 2024-07-11 18:38:15 +08:00
Sudeep Mohanty
945a593de2 fix(lp-i2c): Fixed the generation of spurious I2C start with lp-i2c
This commit fixes an issue with LP I2C and RTC I2C where in the
peripherals generated a spurious I2C start condition when initialized.
This caused some sensors to not respond properly to the following read
or write request.

Closes https://github.com/espressif/esp-idf/issues/14043
Closes https://github.com/espressif/esp-idf/issues/11608
2024-07-11 12:37:04 +02:00
Wei Yu Han
73b647f292 docs(ble): Removed the 'not effective' for CONN_HDL0 - CONN_HDL8 2024-07-11 18:35:42 +08:00
C.S.M
5448703663 Merge branch 'fix/flash_freq_c5' into 'master'
feat(spi_flash): Increase flash frequency from 40M to 80M

See merge request espressif/esp-idf!31967
2024-07-11 17:41:04 +08:00
Sarvesh Bodakhe
20a3be5191 fix(wpa_supplicant): Avoid delaying removal of wps enrollee by 10ms
This is no longer needed as eloop timers are now executed in wifi task context.
2024-07-11 14:53:27 +05:30
Sarvesh Bodakhe
54e61fbb97 fix(wpa_supplicant): Handle case when WPS registrar misses WSC_DONE sent by station
When registrar somehow misses the WSC_DONE sent by station and station
goes for next connection after sending deauth, make sure that softAP
disables the registrar.
2024-07-11 14:53:24 +05:30
muhaidong
00c2767ea9 fix(wifi): fix reset connection dns fail issue
Closes https://github.com/espressif/esp-idf/issues/12315
2024-07-11 17:10:07 +08:00
morris
fe1355eac4 Merge branch 'feat/esp32p4_default_rev_0.1' into 'master'
feat(esp32p4): make revision v0.1 the default version

See merge request espressif/esp-idf!31534
2024-07-11 16:22:46 +08:00
morris
bb080b43c4 Merge branch 'feat/wiegand_interface_example' into 'master'
feat(gptimer): add wiegand interface example

Closes IDFGH-12932

See merge request espressif/esp-idf!31276
2024-07-11 15:30:47 +08:00
Armando
c880f697da feat(panic): supported more cache error cactch 2024-07-11 15:26:13 +08:00
Gao Xu
cd24013198 Merge branch 'bugfix/fix_gpio_const_zero_addr' into 'master'
GPIO: fix GPIO_MATRIX_CONST_ZERO_INPUT addr

Closes IDF-10331

See merge request espressif/esp-idf!31935
2024-07-11 14:40:51 +08:00
C.S.M
eaccf8aedb fix(spi_flash): Fix the mpll clock source always pinned to 80M on PP4 2024-07-11 13:59:42 +08:00
Tomas Rohlinek
2806ef1e5c Merge branch 'fix/missing_include_guard_ff_conf' into 'master'
fix(fatfs): Add missing include guard to ff_conf.h

Closes IDFGH-13046

See merge request espressif/esp-idf!31769
2024-07-11 13:34:42 +08:00
Mahavir Jain
d1ddd1660e Merge branch 'feature/esp32c5_apm_api' into 'master'
feat: add APM support for esp32c5

See merge request espressif/esp-idf!31964
2024-07-11 13:22:45 +08:00
zhanghaipeng
9ac080765c fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(abd7733)
- Fix the issue where RSSI is incorrect when latency is not zero
2024-07-11 13:02:43 +08:00
Marius Vikhammer
f23f425d96 test(pthread): fixed memory leak in QEMU tests 2024-07-11 10:51:49 +08:00
Chen Jichang
5dea9413a8 feat(gptimer): add wiegand interface example
Closes https://github.com/espressif/esp-idf/issues/13892
2024-07-11 10:45:04 +08:00
Jiang Jiang Jian
06baea7691 Merge branch 'bugfix/crypto_ec_cleanup' into 'master'
fix(esp_wifi): cleanup for crypto_ec struct

See merge request espressif/esp-idf!30502
2024-07-11 10:44:48 +08:00
Wei Yu Han
213c05db4b docs(ble): Fixed a typo in esp_bt_mem_release comment 2024-07-11 10:10:37 +08:00
Marius Vikhammer
b3e418d12e Merge branch 'bugfix/core_c5_tests' into 'master'
test(core): fixed mixed failing C5 core-system tests

Closes IDF-10312, IDF-10344, IDF-10337, and IDF-10302

See merge request espressif/esp-idf!31896
2024-07-11 09:53:02 +08:00
gaoxu
27aeec9667 ci(gpio): re-enable C5 gpio and rtcio test 2024-07-11 09:46:58 +08:00
gaoxu
5da216a753 fix(gpio): fix gpio const zero addr 2024-07-11 09:46:58 +08:00
Marius Vikhammer
549dee4faf Merge branch 'ci/check_g1_dependencies' into 'master'
ci(g1_g0): added CI check for detecting new dependencies in g1/g0

Closes IDF-8578

See merge request espressif/esp-idf!31914
2024-07-11 09:40:22 +08:00
Marius Vikhammer
f1719307d6 ci(g1_g0): added CI check for detecting new dependencies in g1/g0 2024-07-11 09:33:59 +08:00
Marius Vikhammer
712e1d781f test(efuse): enable c5 mac address test 2024-07-11 09:33:04 +08:00
Marius Vikhammer
a2da404e1d test(intr): fix intr dump test on C5 2024-07-11 09:33:04 +08:00
Marius Vikhammer
b6d3e1e8e3 test(newlib): fixed newlib test failing to build for C5 2024-07-11 09:33:04 +08:00
Rahul Tank
7f8fac5dc5 Merge branch 'bugfix/fix_example_menuconfig_error' into 'master'
fix(nimble): Update menuconfig option to consider 5.0 support

Closes BLERP-855

See merge request espressif/esp-idf!32030
2024-07-10 22:23:52 +08:00
Kapil Gupta
131dc6d1c0 fix(esp_wifi): cleanup for crypto_ec struct 2024-07-10 19:29:34 +08:00
Jiang Jiang Jian
3a7917ff58 Merge branch 'bugfix/fixed_association_temporarily_issue' into 'master'
fix(wifi): fixed association refused temporarily issue

Closes FCS-1423, FCS-1480, and WIFI-6581

See merge request espressif/esp-idf!31733
2024-07-10 19:20:32 +08:00
morris
044f337bdf change(rmt): rmt is not supported on esp3261 2024-07-10 19:11:26 +08:00
Mahavir Jain
f5349ca342 fix(esp_mm): for existing mmap region, consider new offset for virtual addr
While returning virtual address for existing memory mapped region, newly
supplied offset from the physical address was not getting considered.

This was a regression present from ESP-IDF 5.1 release.

Added test case in spi_flash component that fails without this fix.

Closes https://github.com/espressif/esp-idf/issues/13929
2024-07-10 15:54:36 +05:30
Wei Yu Han
4bfdf5ecb3 docs(ble): Remove one note in esp_bt_controller_mem_release 2024-07-10 17:53:04 +08:00
Marius Vikhammer
4cc56c6f18 ci(console): change pytest writes to confirm_write 2024-07-10 17:49:45 +08:00
Marius Vikhammer
35454c4bb2 Merge branch 'ci/debug_log_qemu' into 'master'
ci(qemu): add debug log and bin artifact to assist debugging

See merge request espressif/esp-idf!31986
2024-07-10 17:29:27 +08:00
muhaidong
241c14ff7b fix(wifi): fixed association refused temporarily issue
1. fixed association refused temporarily issue.
2. give some information when password length mismatch authmode threshold
2024-07-10 16:43:54 +08:00
Yuhan Wei
28da1bc4bc docs(ble): Revised the explanations for memory release related APIs 2024-07-10 16:29:00 +08:00
Rahul Tank
d42fa84973 fix(nimble): Update menuconfig option to consider 5.0 support 2024-07-10 13:48:00 +05:30
Sachin Billore
b88e7716b9 refactor: remove assert from apm ll apis 2024-07-10 13:06:03 +05:30
Song Ruo Jing
2e59d3e0ad Merge branch 'bugfix/uart_config_t_size' into 'master'
fix(uart): fix uart_config_t structure size difference in C and C++

See merge request espressif/esp-idf!31971
2024-07-10 15:19:28 +08:00
Sudeep Mohanty
4d45c6fb7b Merge branch 'fix/duplicate_linux_target_kconfig' into 'master'
fix(kconfig): Removed duplicate entry for IDF_TARGET_LINUX in Kconfig

Closes IDFGH-13208

See merge request espressif/esp-idf!31963
2024-07-10 15:13:22 +08:00
Armando (Dou Yiwen)
e674608995 Merge branch 'feature/dvp_cam_driver_optimize' into 'master'
feat(dvp): DVP cam supports more color format and don't initialize xclock pin

Closes IDF-10231

See merge request espressif/esp-idf!31735
2024-07-10 14:50:33 +08:00
Wang Tao
10f04da267 Merge branch 'fix/fix_get_softap_dtim_and_csa_config_err' into 'master'
fix(wifi):fix get softap dtim and csa config err

Closes WIFIBUG-654 和 WIFIBUG-653

See merge request espressif/esp-idf!31982
2024-07-10 13:59:46 +08:00
Mahavir Jain
1fd11f6e0c Merge branch 'feature/update_fe_api_to_disable_bootloader_cache' into 'master'
feat: Uncomment UART bootloader cache code in FE for ESP32C5

See merge request espressif/esp-idf!31910
2024-07-10 12:27:17 +08:00
Song Ruo Jing
a3362348ac Merge branch 'bugfix/ppa_buffer_writeback_invalidate_fix2' into 'master'
fix(ppa): fix insufficient writeback/invalidate data length

See merge request espressif/esp-idf!31996
2024-07-10 12:16:40 +08:00
Chen Jichang
a717fecf94 feat(sdm): add support for esp32c5 2024-07-10 11:46:45 +08:00
Island
18f118fc7c Merge branch 'bugfix/fix_bleqabr24_932' into 'master'
Fixed vendor hci get controller status command on ESP32C3

Closes BLERP-825

See merge request espressif/esp-idf!31729
2024-07-10 10:57:08 +08:00
wangtao@espressif.com
de5832e93b fix(wifi):fix get softap dtim and csa config err 2024-07-10 10:51:44 +08:00
morris
2931061ff7 Merge branch 'ci/re-enable_mcpwm_test_on_c5' into 'master'
ci(mcpwm): re-enable mcpwm test on c5

Closes IDF-10334

See merge request espressif/esp-idf!31970
2024-07-10 10:04:22 +08:00
Yuhan Wei
e9f0ca3631 docs(ble): Reformat the code 2024-07-10 10:01:01 +08:00
Yuhan Wei
40c454bb40 docs(ble): Removed a period 2024-07-10 09:55:55 +08:00
Fu Hanxi
6aeebbe712 Merge branch 'ci/use-esptool-instead-subprocess' into 'master'
ci: replace subprocess with esptool

Closes IDFCI-2167

See merge request espressif/esp-idf!31270
2024-07-10 09:42:59 +08:00
Yuhan Wei
075bb4831d docs(ble): Added more explanations for memory release related API 2024-07-10 09:31:44 +08:00
Erhan Kurubas
9746eff3c2 Merge branch 'fix_coredump_build_error' into 'master'
fix(coredump): fix array out of the bounds error

Closes IDFGH-13178

See merge request espressif/esp-idf!31874
2024-07-10 02:24:38 +08:00
Tomas Rezucha
43c06a5d11 fix(usb/host): Fix occasional ISOC scheduler skipping transfers 2024-07-09 16:59:27 +02:00
zwl
3748573817 fix(ble): fixed nimble host only build error 2024-07-09 20:43:48 +08:00
zwl
9610e3999e feat(bluetooth/controller): update nimble host to adapt hci layer 2024-07-09 20:43:48 +08:00
zwl
e94e7b7ab2 feat(bluetooth/controller): add default cts and rts macro definition 2024-07-09 20:43:48 +08:00
zwl
113c8923da feat(bluetooth/controller): adopting new HCI layer code on ESP32-C5 2024-07-09 20:43:48 +08:00
zwl
e154fa0af2 feat(bluetooth/controller): adopting new HCI layer code and support UHCI function on ESP32-C6 and ESP32-H2 2024-07-09 20:43:48 +08:00
zwl
8504040869 feat(bluetooth/controller): adopting new HCI layer code on ESP32-C2 2024-07-09 20:43:48 +08:00
zwl
6c097b5812 feat(bluetooth/controller): optimize bt hci layer code 2024-07-09 20:43:47 +08:00
Jiang Jiang Jian
16e586e516 Merge branch 'bugfix/11r_disable_sdkconfig' into 'master'
fix(wifi): Ignore 11R AP when disabled in sdkconfig

Closes WIFIBUG-623

See merge request espressif/esp-idf!31617
2024-07-09 19:56:32 +08:00
Song Ruo Jing
64c06cb327 fix(ppa): fix insufficient writeback/invalidate data length 2024-07-09 16:06:42 +08:00
Liu Xiao Yu
ea5a48836d Merge branch 'change/bu_lp_console_c5' into 'master'
change(lp_uart): Enable low-power UART functionality of ULP core on ESP32C5

Closes IDF-8633

See merge request espressif/esp-idf!31922
2024-07-09 15:54:00 +08:00
Island
048f297a44 Merge branch 'bugfix/split_hci_log_in_nimble' into 'master'
fix(bt/nimble): split hci log in nimble

Closes IDFCI-2192, BLERP-849, and BLERP-852

See merge request espressif/esp-idf!31936
2024-07-09 15:28:46 +08:00
Island
25f071342b Merge branch 'feat/add_ble50_instant' into 'master'
Add support for BLE 5.0 instances in related events

Closes BLERP-802

See merge request espressif/esp-idf!31385
2024-07-09 15:04:50 +08:00
Marius Vikhammer
ed18f232cf ci(qemu): add debug log and bin artifact to assist debugging 2024-07-09 14:44:11 +08:00
Shreyas Sheth
304cd7538b fix(wifi): Ignore 11R, ENT AP when disabled in sdkconfig 2024-07-09 12:11:20 +05:30
Harshal Patil
2d9c7793b9 Merge branch 'update/update_certs_bundle' into 'master'
Update esp_crt_bundle certificates

See merge request espressif/esp-idf!31875
2024-07-09 14:14:59 +08:00
Mahavir Jain
1f8969e4d5 Merge branch 'bugfix/security_docs_bootloader_offset' into 'master'
docs(security): use target specific macro for bootloader flash offset

See merge request espressif/esp-idf!31966
2024-07-09 13:28:46 +08:00
Mahavir Jain
f5f85803a2 docs(security): use target specific macro for bootloader flash offset 2024-07-09 09:43:16 +05:30
Xiao Xufeng
792b3079b9 feat(esp32p4): make revision v0.1 the default version 2024-07-09 11:30:32 +08:00
Zhang Wen Xu
3c9cd354ec Merge branch 'bugfix/esp_netif_get_ip6addr_should_be_valid' into 'master'
fix(esp_netif): netif should return only valid addr

See merge request espressif/esp-idf!31880
2024-07-09 11:17:44 +08:00
C.S.M
d02758f56b feat(spi_flash): Increase flash frequency from 40M to 80M 2024-07-09 10:49:57 +08:00
shenmengjing
2cf95ac406 docs: Enable secure boot for c5 in CN translation 2024-07-09 10:42:53 +08:00
morris
c965c92c44 Merge branch 'fix/rmt_legacy_driver_esp32c5' into 'master'
fix(rmt): turn on memory block when enable the module

Closes IDF-10330

See merge request espressif/esp-idf!31960
2024-07-09 10:36:46 +08:00
morris
7dc6a2f562 Merge branch 'refactor/pcnt_isr_handling' into 'master'
refactor(pcnt): ISR handling

Closes IDF-10329

See merge request espressif/esp-idf!31911
2024-07-09 10:12:18 +08:00
Sonika Rathi
b9965fee2d Merge branch 'fix/esp_partition_write_datatype_overflow' into 'master'
fix(esp_partition): fix data type overflow sanity check

See merge request espressif/esp-idf!31348
2024-07-09 02:09:06 +08:00
Suren Gabrielyan
ba55aed35c Merge branch 'host_test_websocket_transport2' into 'master'
feat(ws_transport): Added host test for websocket transport

See merge request espressif/esp-idf!31022
2024-07-09 02:08:27 +08:00
Suren Gabrielyan
d5ae47e524 feat(ws_transport): Added host test for websocket transport 2024-07-08 19:00:03 +04:00
Suren Gabrielyan
1c2befc3b3 Merge branch 'fix/ws_transport' into 'master'
Make ws transport creation independent of foundation initialization

See merge request espressif/esp-idf!31774
2024-07-08 22:50:47 +08:00
sonika.rathi
a81f5768c6 fix(esp_partition): fix data type overflow sanity check 2024-07-08 22:19:19 +08:00
Radim Karniš
eb2273d5dd Merge branch 'change/skip_macos_wireless_ports' into 'master'
change(port_detection): Filter out BT and WLAN debug serial ports on MacOS

Closes IDFGH-13111

See merge request espressif/esp-idf!31712
2024-07-08 20:51:40 +08:00
wanlei
f3968eb8fb fix(esp_driver_spi): enable single board test for esp32p4 2024-07-08 20:32:04 +08:00
Jiang Jiang Jian
85c4c96e72 Merge branch 'bugfix/fix_mesh_xon_request_timeout_issue' into 'master'
fix(wifi/mesh): fix the issue that xon request timeout constantly when root reboot

Closes IDFGH-12977

See merge request espressif/esp-idf!31760
2024-07-08 20:27:59 +08:00
Song Ruo Jing
f24d529c70 fix(uart): fix uart_config_t structure size difference in C and C++ 2024-07-08 20:17:27 +08:00
Suren Gabrielyan
09c8b1f618 fix(ws_transport): decouple WebSocket transport from foundation initialization 2024-07-08 14:59:15 +04:00
David Čermák
6a75241bf1 Merge branch 'feat/esp_netif_dns_switch' into 'master'
fix(esp_netif): Restore DNS servers when choosing the default netif

Closes IDFGH-4440

See merge request espressif/esp-idf!30996
2024-07-08 16:41:16 +08:00
Sudeep Mohanty
2ca663908f fix(kconfig): Removed duplicate entry for IDF_TARGET_LINUX in Kconfig
This commit removes a duplicate entry for the IDF_TARGET_LINUX Kconfig
option in the project Kconfig file.

Closes https://github.com/espressif/esp-idf/issues/14145
2024-07-08 10:39:02 +02:00
zhangjianwen
91954cbc89 Added the change for ESP32-C5 support status page 2024-07-08 16:26:20 +08:00
Xiaoyu Liu
66f7731bd8 change(lp_uart): Enable SOC_ULP_LP_UART_SUPPORTED on ESP32C5 2024-07-08 16:10:39 +08:00
zhangjianwen
dac8d020f8 docs: added the Chinese translation for ESP-IDF Project Roadmap in 2024 2024-07-08 15:57:28 +08:00
morris
610ef9c040 fix(rmt): turn on memory block when enable the module 2024-07-08 15:46:49 +08:00
Shen Meng Jing
d9a9bab390 Merge branch 'docs/translate_dwc_otg' into 'master'
docs: Provide translation for usb_host_notes_dwc_otg

Closes DOC-7944

See merge request espressif/esp-idf!31231
2024-07-08 15:44:12 +08:00
Song Ruo Jing
4e5b8f9b38 Merge branch 'bugfix/ledc_mem_pd' into 'master'
fix(ledc): clear ledc_mem_force_pd when LEDC peripheral is in use C5

Closes IDF-10250, IDF-9100, IDF-8969, and IDF-10333

See merge request espressif/esp-idf!31850
2024-07-08 15:20:56 +08:00
Gao Xu
90d9dd1c52 Merge branch 'bugfix/fix_usb_dp_pullup_disable' into 'master'
GPIO: correct pio_ll_pullup_dis when USB DP

See merge request espressif/esp-idf!31937
2024-07-08 15:08:37 +08:00
Sachin Billore
f92afd85cd feat: add APM support for ESP32C5 2024-07-08 12:37:56 +05:30
morris
6d223f1921 refactor(pcnt): ISR handling 2024-07-08 14:52:14 +08:00
Jakub Kocka
0b272072ec docs(jtag_debugging): Rewrite of configure part for Windows to reflect changes
Related PR of new drivers for wrover-b kit https://github.com/espressif/esp-win-usb-drivers/pull/2
Closes https://github.com/espressif/idf-installer/issues/204
2024-07-08 08:25:37 +02:00
Jiang Jiang Jian
c6e8c7c02e Merge branch 'fix/fix_stuck_in_bootloader_random_enable' into 'master'
fix(esp_system): fix stuck in bootloader_random_enable after lightsleep

Closes PM-164

See merge request espressif/esp-idf!31889
2024-07-08 14:06:42 +08:00
Jiang Jiang Jian
7cf952e928 Merge branch 'fix/fix_p4_mpll_disable_order' into 'master'
fix(esp_hw_support): disable P4 mpll clock after L1 dcache writeback

Closes PM-138

See merge request espressif/esp-idf!31587
2024-07-08 14:06:07 +08:00
Island
2fe83732fd Merge branch 'fix/blemesh24_61' into 'master'
fix/blemesh24_61

Closes BLERP-790

See merge request espressif/esp-idf!31139
2024-07-08 14:05:11 +08:00
zhangyanjiao
3ade23ce22 fix(wifi/mesh): fix the issue that xon request timeout constantly when root reboot
Closes https://github.com/espressif/esp-idf/issues/13212
2024-07-08 14:01:31 +08:00
Jiang Jiang Jian
140905730e Merge branch 'bugfix/fix_esco_conflict_with_sniff' into 'master'
fix(bt/controller): Fixed some controller bugs

Closes IDFGH-11172

See merge request espressif/esp-idf!31864
2024-07-08 13:45:47 +08:00
David Čermák
5c6272c6ac Merge branch 'feat/lwip_more_sockets' into 'master'
change(lwip): bump max sockets in lwip Kconfig (GItHubPR)

Closes IDFGH-12906

See merge request espressif/esp-idf!31155
2024-07-08 13:39:13 +08:00
Wang Meng Yang
f5e9ccbce1 Merge branch 'bugfix/fix_acl_disconnect_resched' into 'master'
fix(bt/controller): Fixed not report HCI_Disconnection_Complete event

Closes CBI-688

See merge request espressif/esp-idf!31855
2024-07-08 12:25:50 +08:00
Marius Vikhammer
d1132ddfa2 Merge branch 'feature/lp_core_etm' into 'master'
feat(lp-core): added support for using ETM events as wake-up source

Closes IDF-10201 and IDF-6360

See merge request espressif/esp-idf!31810
2024-07-08 12:23:03 +08:00
Marius Vikhammer
1ad5d42dbb Merge branch 'feature/update_g1_descriptions' into 'master'
change(core): update G1 dependencies descriptions

Closes IDF-7775

See merge request espressif/esp-idf!31948
2024-07-08 11:59:38 +08:00
shenmengjing
f1f1bcfd58 docs: Provide translation for usb_host_notes_dwc_otg 2024-07-08 11:49:39 +08:00
Marius Vikhammer
6042887eb3 change(core): update G1 dependencies descriptions 2024-07-08 11:43:41 +08:00
zhanghaipeng
1325c835fe feat(ble/bluedroid): Support BLE50 instance in related event 2024-07-08 11:05:15 +08:00
Marius Vikhammer
de2a66ebe0 feat(lp-core): added support for using ETM events as wake-up source 2024-07-08 11:04:34 +08:00
zhiweijian
b925142b16 fix(bt/nimble): split hci log in nimble 2024-07-08 10:05:02 +08:00
Rahul Tank
2cfae8ac19 Merge branch 'bugfix/revert_extra_print' into 'master'
Revert "fix(nimble): Added debug print to check for skipped adv report"

See merge request espressif/esp-idf!31929
2024-07-06 19:28:32 +08:00
gaoxu
21dd9d12fa fix(gpio): correct usb dp gpio pullup disable function 2024-07-05 20:45:57 +08:00
Rahul Tank
fad07af40a Revert "fix(nimble): Added debug print to check for skipped adv report"
This reverts commit 48e54f2d958aafae96cee52ef34a560382e06b60.
2024-07-05 15:56:09 +05:30
Shen Meng Jing
5ca9f2a49a Merge branch 'docs/translate_ana_cmpr' into 'master'
Docs/Provide Chinese translation for  ana_cmpr.rst

Closes DOC-8106

See merge request espressif/esp-idf!31585
2024-07-05 17:37:40 +08:00
Shen Meng Jing
ae8d309f28 Docs/Provide Chinese translation for ana_cmpr.rst 2024-07-05 17:37:40 +08:00
Song Ruo Jing
51a7f7895c feat(ledc): add esp_gpio_reserve to ledc driver 2024-07-05 15:11:57 +08:00
Song Ruo Jing
4cd74f51db fix(ledc): clear ledc_mem_force_pd when LEDC peripheral is in use
And enable target test for C5 and P4
2024-07-05 15:11:57 +08:00
linruihao
6613a38040 fix(bt/controller): Fixed some controller bugs
- Fixed fail to establish eSCO when connected to two devices
- Changed some error log level to Debug if the error have a workaround

Closes https://github.com/espressif/esp-idf/issues/12340
2024-07-05 14:59:43 +08:00
Dong Heng
f20c9bbbbb feat(dvp): DVP cam supports more color format and don't initialize xclock pin 2024-07-05 14:43:05 +08:00
Mahavir Jain
f978dd0af9 Merge branch 'bugfix/update_naming_style_for_mpi_power_related_api' into 'master'
fix(hal): updated naming style for power up and down api for mpi peripheral

See merge request espressif/esp-idf!31693
2024-07-05 14:29:58 +08:00
C.S.M
fabf68803d Merge branch 'feature/bringup_psram_c5' into 'master'
feat(spiram): psram support on esp32c5

Closes IDF-8690

See merge request espressif/esp-idf!31393
2024-07-05 12:53:22 +08:00
Chen Jian Xing
44f29155c2 Merge branch 'fix/fix_softap_sta_example_deafult_dns_addr' into 'master'
fix(wifi): fix softap_sta example default dns addr invaild issue

Closes IDFGH-10968

See merge request espressif/esp-idf!30115
2024-07-05 11:38:36 +08:00
Michael (XIAO Xufeng)
d5a1e226d2 Merge branch 'bugfix/sdmmc_io_fixed_addr_splitting' into 'master'
fix(sdmmc_io): fixed fixed_addr mode will still increase addr when splitting

See merge request espressif/esp-idf!31806
2024-07-05 11:05:38 +08:00
Island
2d80380413 Merge branch 'bugfix/fixed_ble_issues_on_esp32c2_esp32c6' into 'master'
Bugfix/fixed ble issues on esp32c2 esp32c6

Closes BLERP-834, BLERP-833, BLERP-815, BLERP-835, BLERP-830, BLERP-831, BLERP-820, BLERP-806, BLERP-816, BLERP-822, and BLERP-845

See merge request espressif/esp-idf!31858
2024-07-05 10:39:21 +08:00
Marius Vikhammer
609b44dc5d Merge branch 'fix/rtc_pmp_alignment_c5' into 'master'
fix(pmp): fixed alignment of PMP addr for RTC mem on C5

Closes IDF-10336

See merge request espressif/esp-idf!31900
2024-07-05 07:59:46 +08:00
Roman Leonov
11e780ca20 Merge branch 'fix/usb_host_addr_map_and_hub_uid' into 'master'
fix(usb_host): Increased address map for clients and changed the uid member type

See merge request espressif/esp-idf!31887
2024-07-05 00:47:36 +08:00
Island
759a847ba8 Merge branch 'docs/optimized_ble_controller_api_references_esp32' into 'master'
docs(ble): Revised the esp32 controller API explanations

See merge request espressif/esp-idf!31529
2024-07-04 20:54:26 +08:00
Erhan Kurubas
ee01c2c524 fix(coredump): fix array out of the bounds error
Closes https://github.com/espressif/esp-idf/issues/14117
2024-07-04 14:44:19 +02:00
Jiang Jiang Jian
3ed188478b Merge branch 'bugfix/wps_bug' into 'master'
fix(wpa_supplicant):Fix for setting wps status fail when connection fails

Closes WIFIBUG-151 and WIFIBUG-419

See merge request espressif/esp-idf!26940
2024-07-04 20:41:02 +08:00
Radim Karniš
ed9b2d1fd6 change(port_detection): Filter out BT and WLAN debug serial ports on MacOS
Closes https://github.com/espressif/esp-idf/issues/14058
2024-07-04 20:40:10 +08:00
wangtao@espressif.com
ca03a64ed3 fix(wifi): fix softap_sta example default dns addr invaild issue 2024-07-04 20:07:01 +08:00
C.S.M
9de3e737cf feat(spiram): Add spiram support on esp32c5 2024-07-04 19:29:04 +08:00
nilesh.kale
b839bf95aa feat: Uncomment UART bootloader cache code in FE for ESP32C5 2024-07-04 16:27:32 +05:30
aditi_lonkar
4125c56007 fix(wifi):Fix for setting wps status fail when connection fails 2024-07-04 16:01:41 +05:30
zwl
bafb4d323e fix(ble): fixed some ble issues on ESP32C5 2024-07-04 18:29:12 +08:00
zwl
747d338cfe fix(ble): fixed some ble controller issues on ESP32C6 and ESP32H2 2024-07-04 18:29:12 +08:00
zwl
114dc82ad2 fix(ble): fixed some ble controller issues on ESP32-C2 2024-07-04 18:29:12 +08:00
Chen Jichang
70835b307b ci(mcpwm): re-enable mcpwm test on c5 2024-07-04 17:40:48 +08:00
Jakob Hasse
7ccddb8cc2 Merge branch 'fix/c6_bootloader_rng_enable' into 'master'
fix(bootloader_support): Fixed pattern in RNG enable function to avoid output on IO0

Closes IDF-10011

See merge request espressif/esp-idf!31697
2024-07-04 17:26:32 +08:00
David Cermak
17a635b23b fix(esp_netif): Add unit test of getter/setter API for DNS servers 2024-07-04 10:37:57 +02:00
David Cermak
6acdb384f6 fix(esp_netif): Restore DNS servers per netif when setting it default
Introducing config option `CONFIG_ESP_NETIF_SET_DNS_PER_DEFAULT_NETIF`
to overcome LWIP limitation of using global DNS server info.
This config option enables LWIP callbacks to collect per netif DNS
server info and then restores global DNS servers of whichever network
interface is selected as default.

LWIP submodule update: git log --oneline aa4f6e78..3a3d1fb3
- dns: Allow storing dnsserver per netif (espressif/esp-lwip@3a3d1fb3)
2024-07-04 10:37:22 +02:00
Marius Vikhammer
41d39a419f fix(pmp): fixed alignment of PMP addr for RTC mem on C5
Also refactored it for C6/H2/C61 to keep the approach consistent between targets
2024-07-04 16:24:46 +08:00
nilesh.kale
a87636cca7 feat: enable ecc support in esp32c61
This commit enable ecc peripheral support in ESP32C61
It also corrects power up sequence for ecc peripheral.
2024-07-04 13:37:16 +05:30
Liu Xiao Yu
f889ba1b2f Merge branch 'change/rm_rom_hdr_exceptions' into 'master'
change(esp_rom): RM esp_rom header files from check_public_headers_exceptions.txt

Closes IDF-5747

See merge request espressif/esp-idf!31868
2024-07-04 15:03:13 +08:00
David Čermák
ce4313a569 Merge branch 'fix/netif_ppp_ip6_autoconfig' into 'master'
fix(esp_netif): Fix missing IPv6 autoconfig for PPP netifs

Closes IDFGH-12730

See merge request espressif/esp-idf!31330
2024-07-04 14:14:52 +08:00
luoxu
62e8043ab3 fix(ble_mesh): ensure the operation of adv busy is thread-safe 2024-07-04 12:12:26 +08:00
luoxu
63120f0208 feat(ble_mesh): add cas operation for bt_mesh_atomic_val_t 2024-07-04 12:12:26 +08:00
Jiang Jiang Jian
7696f0f9b2 Merge branch 'bugfix/fix_esp32_host_lack_of_lmac_api_issue' into 'master'
fix(wifi): fix esp32 host lack of lmac api issue

See merge request espressif/esp-idf!31892
2024-07-04 11:35:53 +08:00
C.S.M
c59403147c Merge branch 'bugfix/usj_fifo_8_32_read' into 'master'
fix(usb_serial_jtag): Fix issue that use u32_reg read/write cannot be used to modify fifo regs

See merge request espressif/esp-idf!31879
2024-07-04 11:02:33 +08:00
Jiang Jiang Jian
ad70d000b0 Merge branch 'docs/update_twt_docs' into 'master'
docs(wifi):update TWT docs

See merge request espressif/esp-idf!31463
2024-07-04 10:25:38 +08:00
Jakob Hasse
bb39360a6d fix(bootloader_support): Fixed pattern in RNG enable function on C6 to avoid output on IO0 2024-07-03 16:55:33 +02:00
muhaidong
24ea779fda fix(wifi): fix esp32 host lack of lmac api issue 2024-07-03 19:59:32 +08:00
Shen Meng Jing
1cb4f3468d Merge branch 'docs/update_some_commands' into 'master'
docs: Add often used espefuse subcommands to idf.py

Closes DOC-7999

See merge request espressif/esp-idf!31651
2024-07-03 19:00:49 +08:00
Yuhan Wei
406f341eb1 docs(ble): Added typeof for BLE sleep clock accuracy enum 2024-07-03 18:53:07 +08:00
Zhang Shu Xian
a758c2d6cc Merge branch 'docs/translate_esp_netif' into 'master'
docs: Update CN translation for esp netif: add blank space

Closes DOC-7843

See merge request espressif/esp-idf!30903
2024-07-03 18:35:01 +08:00
Zhang Shu Xian
5957b637a3 docs: Update CN translation for esp netif: add blank space 2024-07-03 18:35:01 +08:00
morris
36ee689125 Merge branch 'ci/re-enable_spi_lcd_test_on_p4' into 'master'
Ci(spi_lcd): re-enable spi lcd test on p4

Closes IDF-8975

See merge request espressif/esp-idf!31824
2024-07-03 18:32:21 +08:00
Espressif BOT
62a22f4c89 change(mbedtls/crt_bundle): Update esp_crt_bundle certificates 2024-07-03 16:01:50 +05:30
Shen Meng Jing
044e47aaf8 Merge branch 'docs/translate_copyright' into 'master'
docs: Provide Chinese translation for COPYRIGHT

Closes DOC-8219

See merge request espressif/esp-idf!31763
2024-07-03 18:22:14 +08:00
wuzhenghui
aa1ff4e167 fix(esp_system): fix stuck in bootloader_random_enable after lightsleep 2024-07-03 18:03:06 +08:00
shenmengjing
3cb4880d02 docs: Add often used espefuse subcommands to idf.py 2024-07-03 17:55:26 +08:00
Shen Meng Jing
6f085716b8 Merge branch 'docs/update_variables_note' into 'master'
docs: Added a note about how shared variables are initialized in CN translations

Closes DOC-8221

See merge request espressif/esp-idf!31779
2024-07-03 17:15:20 +08:00
shenmengjing
020a79371e docs: Provide Chinese translation for COPYRIGHT 2024-07-03 17:13:58 +08:00
Rahul Tank
065c0319dd Merge branch 'bugfix/ble_gap_pairing_complete' into 'master'
fix(nimble): Fix the sequence of pairing complete event

See merge request espressif/esp-idf!31630
2024-07-03 17:04:32 +08:00
Roman Leonov
eceb27a835 fix(usb_host): Changed addr_map to 4x array of uint32 2024-07-03 11:01:17 +02:00
liqigan
d0878af614 fix(bt/controller): Fixed not report HCI_Disconnection_Complete event 2024-07-03 16:52:18 +08:00
Roman Leonov
1526b80e08 fix(hub): Changed type of next_uid member (uint8_t -> unsigned int) 2024-07-03 10:43:08 +02:00
Rahul Tank
1d2e714a31 Merge branch 'bugfix/low_buf_count_print' into 'master'
fix(nimble): Added debug print to check for skipped adv report

Closes BLERP-836

See merge request espressif/esp-idf!31804
2024-07-03 16:42:44 +08:00
Yuhan Wei
257926cae9 docs(ble): Added a name for BLE sleep clock accuracy enum 2024-07-03 15:19:51 +08:00
Yuhan Wei
b96e9cd5b5 docs(ble): Removed periods for incomplete sentences 2024-07-03 15:19:51 +08:00
Wang Ning
85e172f0b9 Apply 8 suggestion(s) to 1 file(s)
Co-authored-by: Wang Ning <wangning@espressif.com>
2024-07-03 15:19:51 +08:00
Yuhan Wei
f33de4dece docs(ble): Add the parameter name data in esp_vhci_host_send_packet 2024-07-03 15:19:51 +08:00
Wang Ning
181d1de219 Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Wang Ning <wangning@espressif.com>
2024-07-03 15:19:51 +08:00
Yuhan Wei
78b59e6b6b docs(ble): Add the explanations to controller parameters configurable in menuconfig 2024-07-03 15:19:51 +08:00
Wang Ning
01c45476fb Apply 35 suggestion(s) to 1 file(s)
Co-authored-by: Wang Ning <wangning@espressif.com>
2024-07-03 15:19:51 +08:00
Yuhan Wei
d8428420cf docs(ble): Removed note in esp_bt_controller_config_t 2024-07-03 15:19:51 +08:00
Yuhan Wei
4706c474dc docs(ble): Replaced BT with Bluetooth 2024-07-03 15:19:51 +08:00
Yuhan Wei
b305571a12 docs(ble): Removed unnecessary explanations 2024-07-03 15:19:51 +08:00
Yuhan Wei
371f080046 docs(ble): Added corresponding values to the controller mode 2024-07-03 15:19:51 +08:00
Yuhan Wei
f9b1789ae8 docs(ble): Fixed the explanation of TX power type 2024-07-03 15:19:51 +08:00
Yuhan Wei
2e814bdd2b docs(ble): Revised the esp32 controller API explanations 2024-07-03 15:19:51 +08:00
C.S.M
8b2350ce1c fix(usb_serial_jtag): Fix issue that use u32_reg read/write cannot be used to modify fifo regs 2024-07-03 15:15:46 +08:00
zwx
64aa5db0cd fix(esp_netif): netif should return only valid addr 2024-07-03 15:07:18 +08:00
Tomas Rezucha
15c4d0e076 Merge branch 'fix/usb_isoc_error_status' into 'master'
fix(usb/host): Decode error flags in ISOC transfers

Closes IDF-7976

See merge request espressif/esp-idf!31873
2024-07-03 15:02:14 +08:00
Zhang Shu Xian
85bba8996b Merge branch 'docs/update_cn_trans_for_4_files' into 'master'
docs: Update CN trans for 4 files

Closes DOC-8020

See merge request espressif/esp-idf!31436
2024-07-03 14:55:03 +08:00
Mahavir Jain
a34fa9dc90 Merge branch 'feature/key_manager_hal_tests' into 'master'
Feature: Add crypto test app for Key Manager

See merge request espressif/esp-idf!29833
2024-07-03 14:02:33 +08:00
Mahavir Jain
dd203c325b Merge branch 'bugfix/correct_mbedtls_config_help' into 'master'
fix(mbedtls): correct help text for few config options

Closes IDFGH-13186

See merge request espressif/esp-idf!31877
2024-07-03 14:00:14 +08:00
nilesh.kale
469942225b fix(hal): updated naming style for power up and down api for mpi peripheral
This commit updated APIs' naming style to ensure consistency throughout
all other peripherals.
2024-07-03 10:49:20 +05:30
nilesh.kale
96d011cdfc fix(hal): updated ecdsa reset api to execute correctly
This commit updated API to ensure ECDSA peripheral resets
and waits until the state returns to idle.
2024-07-03 10:48:36 +05:30
Mahavir Jain
b40c18be89 fix(mbedtls): correct help text for few config options
Closes https://github.com/espressif/esp-idf/issues/14126
2024-07-03 09:51:28 +05:30
Kevin (Lao Kaiyao)
638f5042d1 Merge branch 'ci/enable_c5_target_test' into 'master'
ci(esp32c5): enable c5 target test

See merge request espressif/esp-idf!31776
2024-07-03 12:01:24 +08:00
Chen Ji Chang
af9d107f24 Merge branch 'feat/add_cs_timing_parameters_in_spi_lcd' into 'master'
feat(spi_lcd): add spi cs timing parameters

Closes IDFGH-12003

See merge request espressif/esp-idf!31836
2024-07-03 11:35:00 +08:00
Chen Jichang
f0e8b606b7 fix(spi_master): change MOSI pin default idle level to low 2024-07-03 11:12:44 +08:00
Chen Jichang
cb771eaf1b ci(spi_lcd): re-enable spi_lcd test on p4 2024-07-03 11:12:44 +08:00
Xiaoyu Liu
bdfdca24f3 change(esp_rom): RM esp_rom header files from check_public_headers_exceptions.txt
replace endian with stdint
2024-07-03 11:05:15 +08:00
Zhang Shuxian
08eecfee22 docs: Implement comments 2024-07-03 10:23:23 +08:00
Tomas Rezucha
04be071dc6 fix(usb/host): Decode error flags in ISOC transfers 2024-07-02 15:08:30 +02:00
Jiang Guang Ming
6cfd5967e0 Merge branch 'fix/esp_rom_cmakelists_cleanup' into 'master'
fix(esp_rom): cleanup esp_rom CMakeList.txt

See merge request espressif/esp-idf!31756
2024-07-02 17:16:25 +08:00
Wan Lei
1bf898611f Merge branch 'contrib/github_pr_13856' into 'master'
fix(spi_master): spi_bus_free() fail but destruct common context (GitHub PR)

Closes IDFGH-12895

See merge request espressif/esp-idf!31084
2024-07-02 17:12:31 +08:00
Jiang Jiang Jian
b793ffe71d Merge branch 'bugfix/wrong_ic_parameters_in_connect' into 'master'
fix(wifi): Fix issue of supplicant using wrong parameters to configure bss while connecting

Closes WIFIBUG-455

See merge request espressif/esp-idf!31049
2024-07-02 17:09:07 +08:00
laokaiyao
cb22b8aaf7 ci(esp32c5): enable c5 target test 2024-07-02 16:45:49 +08:00
Marius Vikhammer
9ab9e001b7 Merge branch 'revert/rm_rom_hdr_exceptions' into 'master'
Revert "change(esp_rom): RM esp_rom header files from check_public_headers_exceptions.txt"

See merge request espressif/esp-idf!31865
2024-07-02 16:30:37 +08:00
Marius Vikhammer
31b248cefa Revert "change(esp_rom): RM esp_rom header files from check_public_headers_exceptions.txt"
This reverts commit d8c3356113.
2024-07-02 16:26:19 +08:00
Gao Xu
e843a38014 Merge branch 'feature/esp32c5_mp_rtcio_support' into 'master'
feat(rtcio): support RTCIO on ESP32C5 MP

Closes IDF-8719

See merge request espressif/esp-idf!31371
2024-07-02 15:30:42 +08:00
Liu Xiao Yu
26ac823558 Merge branch 'change/rm_rom_hdr_exceptions' into 'master'
change(esp_rom): RM esp_rom header files from check_public_headers_exceptions.txt

Closes IDF-5747

See merge request espressif/esp-idf!31847
2024-07-02 14:09:45 +08:00
Marius Vikhammer
15b05d59c3 Merge branch 'contrib/github_pr_14084' into 'master'
remove TLS pointer/deletion callback from correct thread (GitHub PR)

Closes IDFGH-13144

See merge request espressif/esp-idf!31766
2024-07-02 13:31:52 +08:00
Chen Jichang
8d0990806c feat(spi_lcd): add spi cs timing parameters
Some lcd hardware drivers need different CS setup time. Add pretrans
and posttrans parameters to control the CS time.

Closes https://github.com/espressif/esp-idf/issues/13071
2024-07-02 10:55:34 +08:00
Xiaoyu Liu
d8c3356113 change(esp_rom): RM esp_rom header files from check_public_headers_exceptions.txt 2024-07-02 10:46:08 +08:00
Jiang Jiang Jian
15219e2a7e Merge branch 'docs/phase2_auth_update' into 'master'
docs: Adds document for wifi PEAP phase 2 authentication security advisory.

See merge request espressif/esp-idf!31829
2024-07-02 10:36:44 +08:00
Mahavir Jain
47893ac9d6 Merge branch 'contrib/github_pr_14116' into 'master'
Typo fix in flash-encryption.rst (GitHub PR)

Closes IDFGH-13177

See merge request espressif/esp-idf!31839
2024-07-01 23:55:02 +08:00
kindaTall
4259df3d56 docs(security): fix typo for key purpose field in flash encryption guide 2024-07-01 12:21:49 +00:00
Konstantin Kondrashov
12aca9d83c Merge branch 'fix/qemu_test_virt_sb_v2_and_fe' into 'master'
fix(efuse): Fix qemu test for efuse example with virt_sb_v2_and_fe config

Closes IDFCI-2221

See merge request espressif/esp-idf!31778
2024-07-01 19:09:27 +08:00
Roland Dobai
6a43ef93a1 Merge branch 'fix/generate_keys_in_project_root' into 'master'
fix: Generate secure keys in project dir instead of build dir

Closes IDF-10320

See merge request espressif/esp-idf!31797
2024-07-01 18:29:22 +08:00
Sarvesh Bodakhe
ac508b5778 fix(wifi): Fix issue of supplicant using wrong parameters to configure bss
- Ensure that wpa_supplicant's state machine registers the requirement for rsnxe
  before deciding to add rsnxe to a assoc request.

Co-authored-by: jgujarathi <jash.gujarathi@espressif.com>
2024-07-01 15:32:45 +05:30
aditi
df9680b827 docs: Adds document for wifi PEAP phase 2 authentication security advisory. 2024-07-01 14:50:13 +05:30
Mahavir Jain
56a84c2a7a Merge branch 'feature/enabling_config_for_dpa_protection' into 'master'
feat: enable DPA protection for c5

See merge request espressif/esp-idf!31758
2024-07-01 17:15:16 +08:00
Jakob Hasse
c5e6e9d29e Merge branch 'refactor/linux_remove_unused_watchpoint_config' into 'master'
refactor(linux): remove explicit watchpoint configs

Closes IDF-9951

See merge request espressif/esp-idf!31805
2024-07-01 16:55:01 +08:00
Liu Xiao Yu
eefe001877 Merge branch 'change/adjust_esp_rom_header_layout_v2' into 'master'
change(esp_rom): optimize header files layout in components/esp_rom

See merge request espressif/esp-idf!31590
2024-07-01 16:24:56 +08:00
Guillaume Souchere
9bae186123 Merge branch 'fix/usb-serial-jtag-hangs-on-init' into 'master'
fix(console): USB Serial JTAG freezes when input received before the driver is installed

Closes IDFGH-12989

See merge request espressif/esp-idf!31553
2024-07-01 15:24:26 +08:00
Zhang Xiao Yan
d29d1a9972 Merge branch 'docs/migrate_esp32c3_devkitc_02_devkitm_1_user_guide' into 'master'
docs: Migrate user guides of ESP32-C3-DevKitM and ESP32-C3-DevKitC to esp-dev-kits

See merge request espressif/esp-idf!31640
2024-07-01 15:20:51 +08:00
Abhinav Kudnar
62ef4515c7 fix(nimble): Fix the sequence of pairing complete event 2024-07-01 12:43:37 +05:30
Marius Vikhammer
101161980f Merge branch 'bugfix/fix_c5_rom_caps' into 'master'
fix(heap): add heap related rom caps for C5

See merge request espressif/esp-idf!31809
2024-07-01 14:10:25 +08:00
Mahavir Jain
850dbe8542 Merge branch 'bugfix/chip_support_cleanup' into 'master'
minor cleanups related to HAL and security docs for C2/C6

See merge request espressif/esp-idf!31803
2024-07-01 13:13:34 +08:00
morris
3cdbe8cef8 Merge branch 'test/pcnt_step_notify' into 'master'
feat(pcnt): support for pcnt step_notify

Closes IDF-7984, IDFGH-8104, and IDFGH-10943

See merge request espressif/esp-idf!31466
2024-07-01 10:44:19 +08:00
yinqingzhao
f50b0b76dc docs(wifi):update TWT docs 2024-07-01 10:20:12 +08:00
Marius Vikhammer
342c9ef2bd fix(heap): add heap related rom caps for C5 2024-07-01 09:37:17 +08:00
Michael (XIAO Xufeng)
fded5b0ce3 fix(sdmmc_io): fixed fixed_addr mode will still increase addr when splitting 2024-06-29 02:30:20 +08:00
Jakob Hasse
7377b103b7 refactor(linux): remove explicit watchpoint configs
* These where necessary before to avoid enabling the
  watchpoint feature on Linux. Due to a recent change,
  these configurations became obsolete.
2024-06-28 18:01:37 +02:00
gaoxu
0d35631ec1 feat(rtcio): support RTCIO on ESP32C5 2024-06-28 22:01:55 +08:00
Rodrigo Silva
48295d31ca change: bump max sockets in lwip Kconfig
Tested under ESP32S3, running 50 tasks, each with a client, and a server
listening to one client, totalizing 150 sockets/files open, forwarding
data from PPP to Ethernet and vice versa.
Reasoning for 255 total sockets/files is VFS local_fd_t being a uint8_t.
Since FD_SETSIZE is defined at tool level, a CMakeLists user definition
is needed in cases above 64 (the default value).

Merges https://github.com/espressif/esp-idf/pull/13866
2024-06-28 21:19:47 +08:00
Aditya Patwardhan
79b21fb624 feat(hal): Add crypto tests for key manager
Added test to verify exporting of ECDSA public key
    Added test to verify XTS_AES in random mode
    Added pytest test case for testing ECDH0 mode for XTS_128 and XTS_256 key
    Add test for ECDSA key in ECDH0 mode
    Update the key manager hal based tests
    Update key manager tests to add ECDH0 workflow
2024-06-28 18:41:01 +05:30
Aditya Patwardhan
e5fcc2d315 fix(hal): Fixed crypto test app
Previously the crypto test app was not verifying
    that the no of failures is 0.
    Added the check to verify that
2024-06-28 18:41:01 +05:30
Rahul Tank
3cfc7b1ec9 fix(nimble): Added debug print to check for skipped adv report 2024-06-28 18:35:12 +05:30
Rahul Tank
b1c8757b9f Merge branch 'bugfix/set_correct_cb_arg' into 'master'
fix(nimble): Pass the correct cb arg during reconnection attempt

Closes IDFCI-2207

See merge request espressif/esp-idf!31629
2024-06-28 20:52:41 +08:00
David Čermák
06c685fc96 Merge branch 'fix/lwip_eth_deps' into 'master'
fix(lwip): Cleanup lwip -> Ethernet dependencies

See merge request espressif/esp-idf!31649
2024-06-28 19:08:47 +08:00
Jan Beran
832c3f265a fix: Generate secure keys in project dir instead of build dir 2024-06-28 12:36:49 +02:00
Mahavir Jain
3002c08956 docs: add C6 flash encryption logs 2024-06-28 16:02:22 +05:30
Marius Vikhammer
5d292f73d0 Merge branch 'ci/enable_misc_c5_build_tests' into 'master'
test(misc): enable misc tests that have been missed during bringup

Closes IDF-8972

See merge request espressif/esp-idf!31785
2024-06-28 18:28:50 +08:00
Mahavir Jain
513c202db9 fix(hal): remove AES LL layer for ESP32-C2 (not supported) 2024-06-28 15:56:05 +05:30
morris
f03763577a Merge branch 'bugfix/rmt_memory_power_up' into 'master'
fix(rmt): power up memory block

Closes IDF-8726

See merge request espressif/esp-idf!31650
2024-06-28 17:52:01 +08:00
Jakub Kocka
d41c9d948d Merge branch 'fix/export_syntax' into 'master'
fix(export): Operator syntax fix for all versions of PowerShell

See merge request espressif/esp-idf!31786
2024-06-28 15:51:55 +08:00
Frantisek Hrbata
fabacdae8b Merge branch 'docs/idf_size' into 'master'
docs: move and update idf.py size sub-commands documentation

Closes IDF-9431

See merge request espressif/esp-idf!31471
2024-06-28 15:50:25 +08:00
morris
136a07d457 Merge branch 'fix/workaround_rmt_static_analyzer_issue' into 'master'
fix(rmt): fix gcc static analyzer warnings

Closes IDF-10235

See merge request espressif/esp-idf!31725
2024-06-28 15:40:56 +08:00
Marius Vikhammer
be05548666 Merge branch 'ci/esp_intr_dump_qemu_timeout' into 'master'
ci(qemu): increase timeout for esp_intr_dump test

Closes IDFCI-2225

See merge request espressif/esp-idf!31732
2024-06-28 14:24:20 +08:00
nilesh.kale
1eaa8288a2 feat: enable DPA protection for c5
This commit enabled DPA protection for ESP32C5.
This reflect updating documentation for C5.
2024-06-28 11:38:51 +05:30
Jakub Kocka
5b0cf8824a fix(export): Operator syntax fix for all versions of PowerShell 2024-06-28 08:01:30 +02:00
Marius Vikhammer
fd18bb608b test(misc): enable misc tests that have been missed during bringup 2024-06-28 13:24:28 +08:00
Marius Vikhammer
f09f92eb54 Merge branch 'feature/c5_mp_wdt' into 'master'
fix(wdt): bringup WDTs for C5 MP

Closes IDF-8635 and IDF-9398

See merge request espressif/esp-idf!31562
2024-06-28 12:23:30 +08:00
Chen Jichang
03e936041d refactor(pcnt): refactor the default isr 2024-06-28 12:12:50 +08:00
morris
722ce211af fix(rmt): power up memory block 2024-06-28 10:58:04 +08:00
shenmengjing
3ab055992a docs: Add a note in CN translations 2024-06-28 10:42:35 +08:00
Marius Vikhammer
2ba6f989b7 fix(wdt): bringup WDTs for CP MP 2024-06-28 09:51:57 +08:00
Konstantin Kondrashov
7797b3bf0e fix(efuse): Fix qemu test for efuse example with virt_sb_v2_and_fe config 2024-06-27 18:36:27 +03:00
Martin Vychodil
8d34993193 Merge branch 'feature/storage_fatfs_encr_example' into 'master'
security: flash_encryption example extended with fatfs encryption

Closes IDF-7639

See merge request espressif/esp-idf!27729
2024-06-27 22:34:37 +08:00
radek.tandler
68df525394 feat(examples/security): Extend flash_encryption example with fatfs encryption
Updated the flash_encryption example to demonstrate the usage of fatfs encryption.
Updated existing test case to ensure accurate and reliable testing.
Documentation of storage section extended by security relarted summary.

Closes https://github.com/espressif/esp-idf/issues/11551
Closes https://github.com/espressif/esp-idf/issues/13668
2024-06-27 21:41:43 +08:00
Wu Zheng Hui
9e16b45dac Merge branch 'fix/wait_efuse_idle_after_wake' into 'master'
fix(esp_hw_support): wait eFuse controller idle after sleep wakeup

Closes IDFCI-2227, IDFCI-2228, IDFCI-2229, and IDFCI-2230

See merge request espressif/esp-idf!31754
2024-06-27 20:30:28 +08:00
Aditya Patwardhan
8c6e97be16 Merge branch 'feature/security_add_all_secure_example' into 'master'
Feature/security add all secure example

Closes IDF-1977

See merge request espressif/esp-idf!29554
2024-06-27 20:09:35 +08:00
nilesh.kale
40059dedde feat: updated procedure for generating token in jtag_example_helper.py
This commit updated API for generating token providing ability to
pass more arguments and updated readme file as well.
2024-06-27 16:57:01 +05:30
Aditya Patwardhan
a57aa71190 feat(security): Add security_features_app example to demonstrate security features 2024-06-27 16:56:55 +05:30
Frantisek Hrbata
b88eb1c1e5 docs: move and update idf.py size sub-commands documentation
The documentation for the IDF Size tool has been relocated from the
performance section to the tools section and updated to reflect the
current refactored version of esp-idf-size.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-06-27 13:22:29 +02:00
Aditya Patwardhan
9e3424709a fix(bootloader_support): Allow SOFT_DIS_JTAG in verify_release_mode 2024-06-27 15:09:50 +05:30
David Čermák
92b42310b1 Merge branch 'fix/mesh_netif_without_dhcps' into 'master'
fix(wifi): Make DHCP server API calls only if available

Closes IDFGH-13061

See merge request espressif/esp-idf!31669
2024-06-27 17:37:46 +08:00
wuzhenghui
2b70104761 fix(esp_hw_support): wait eFuse controller idle after sleep wakeup 2024-06-27 17:36:21 +08:00
Martin Vychodil
5acaa74ec9 Merge branch 'docs/fix_ulp_doxygen_comment' into 'master'
docs(ulp): fix doxygen comment formatting

See merge request espressif/esp-idf!31765
2024-06-27 17:23:52 +08:00
Island
8106cfcf07 Merge branch 'bugfix/fixed_hci_uart_error_on_esp32c6_esp32h2' into 'master'
feat(bluetooth/controller): Fixed the issue of unresponsiveness when using hci...

Closes BLERP-828

See merge request espressif/esp-idf!31744
2024-06-27 17:19:23 +08:00
Marius Vikhammer
4c62b82180 docs(ulp): fix doxygen comment formatting 2024-06-27 16:17:05 +08:00
Sudeep Mohanty
f8a7af8f84 Merge branch 'feat/lp_core_lp_spi_support' into 'master'
feat(lp-spi): Added support for LP SPI to the LP core

Closes IDF-7538 and IDF-10210

See merge request espressif/esp-idf!31492
2024-06-27 14:20:29 +08:00
Jiang Guang Ming
1f2100fc4d fix(esp_rom): cleanup esp_rom CMakeList.txt 2024-06-27 11:45:23 +08:00
C.S.M
40089b23df Merge branch 'feat/i2c_port_handle_func' into 'master'
feat(i2c_master): Add an api for retrieveing handle via port

Closes IDFGH-13021

See merge request espressif/esp-idf!31588
2024-06-27 11:25:18 +08:00
Xiaoyu Liu
2cb9419b14 change(esp_rom): optimize target-specific header files layout in components/esp_rom 2024-06-27 11:24:45 +08:00
Myk Melez
c1e58e7d2d fix(pthread): Remove TLS pointer/deletion callback from correct thread
Originally, pthread_internal_local_storage_destructor_callback was only called from pthread_exit
on the thread whose TLS is being destroyed.

In b3755b751e, pthread_internal_local_storage_destructor_callback
started being called from pthread_join and pthread_detach on a different thread (whichever one
called one of those functions).

But pthread_internal_local_storage_destructor_callback is still calling
vTaskSetThreadLocalStoragePointer and vTaskSetThreadLocalStoragePointerAndDelCallback with a NULL
xTaskToSet argument, which causes those functions to set the TLS pointer and deletion callback
for the current thread, not the thread whose TLS is being destroyed.

This commit makes pthread_internal_local_storage_destructor_callback call
vTaskSetThreadLocalStoragePointer and vTaskSetThreadLocalStoragePointerAndDelCallback
with the handle of the thread whose TLS is being destroyed.
2024-06-26 16:31:48 -07:00
Aditya Patwardhan
ca4d5afc59 Merge branch 'fix/disable_ecdsa_key_manager_for_p4' into 'master'
fix(soc): Disable key manager and ECDSA peripheral support for esp32p4

See merge request espressif/esp-idf!31662
2024-06-26 22:01:34 +08:00
Armando (Dou Yiwen)
80f3e79b07 Merge branch 'feat/mmu_support_c5' into 'master'
mmu: remove SOC_MMU_PAGE_SIZE_CONFIGURABLE on c5 mp

See merge request espressif/esp-idf!31749
2024-06-26 21:10:48 +08:00
Armando (Dou Yiwen)
7755ce186e Merge branch 'bugfix/fix_none_iram_code_before_xip_psram' into 'master'
rtc: fixed non-iram rtc code in early stage on p4 leading xip_psram stuck

See merge request espressif/esp-idf!31742
2024-06-26 20:47:10 +08:00
Kevin (Lao Kaiyao)
be3e159cec Merge branch 'bugfix/update_rom_layout_for_c5' into 'master'
fix(rom): update rom layout for c5

See merge request espressif/esp-idf!31731
2024-06-26 20:38:36 +08:00
C.S.M
1709095c5b Merge branch 'bugfix/usb_serial_jtag_simplify' into 'master'
usb-serial-jtag driver simplification

See merge request espressif/esp-idf!31477
2024-06-26 20:19:02 +08:00
Jiang Jiang Jian
f68e5c4f70 Merge branch 'bugfix/fix_idfgh_12600' into 'master'
fix(coex): fix ESP32 Wi-Fi cant tx after sw_reset with BLE scan

Closes IDFGH-12600

See merge request espressif/esp-idf!31726
2024-06-26 19:43:58 +08:00
Sudeep Mohanty
70a0b4a1bf test: Added LP core unit tests for LP SPI
This commit adds tests for LP SPI master and LP SPI slave devices.
2024-06-26 13:43:55 +02:00
Sudeep Mohanty
6e85d744a8 feat(lp-spi): Added support for LP SPI driver to the LP Core on esp32p4
This commit adds LP SPI master and LP SPI slave support for the LP Core
on the esp32p4.
2024-06-26 13:43:55 +02:00
Kevin (Lao Kaiyao)
ef63ae2cfc Merge branch 'bugfix/rename_some_touch_regs2' into 'master'
refactor(lp_ana_periph): sync the reg names to TRM (part2)

See merge request espressif/esp-idf!31694
2024-06-26 19:34:17 +08:00
Song Ruo Jing
e5dbbf467c Merge branch 'feature/esp32c5_clock_support' into 'master'
feat(clk): Add basic clock support for esp32c5 mp

Closes IDF-8642 and IDF-9009

See merge request espressif/esp-idf!31514
2024-06-26 19:27:51 +08:00
Mahavir Jain
6669caf4cf Merge branch 'feature/esp32c5_memory_protection' into 'master'
Support memory protection using PMA and PMP for ESP32-C5

Closes IDF-8833

See merge request espressif/esp-idf!31245
2024-06-26 19:18:39 +08:00
Armando
d6e9618263 change(mmu): remove SOC_MMU_PAGE_SIZE_CONFIGURABLE 2024-06-26 17:35:26 +08:00
Armando
5fe080ea5a fix(rtc): fixed non-iram rtc code in early stage on p4 leading xip_psram stuck 2024-06-26 17:30:59 +08:00
zwl
b7b32952ff feat(bluetooth/controller): Fixed the issue of unresponsiveness when using hci uart mode on ESP32-C5 2024-06-26 17:19:33 +08:00
zwl
2bd3eaf288 feat(bluetooth/controller): Fixed the issue of unresponsiveness when using hci uart mode on ESP32-C6 and ESP32-H2 2024-06-26 17:19:00 +08:00
Roland Dobai
53d3f2f594 Merge branch 'feat/wrapper_tests' into 'master'
feat: Add unit tests for new wrapper commands

Closes IDF-10224

See merge request espressif/esp-idf!31525
2024-06-26 16:06:01 +08:00
Jeroen Domburg
7982ece4af refactor(usb-serial-jtag): usb-serial-jtag driver simplification to fix rom print coexistence 2024-06-26 15:47:25 +08:00
Song Ruo Jing
40f3bc2e57 feat(clk): Add basic clock support for esp32c5 mp
- Support SOC ROOT clock source switch
- Support CPU frequency change
- Support RTC SLOW clock source switch
- Support RTC SLOW clock + RC FAST calibration
- Remove FPGA build
2024-06-26 14:26:34 +08:00
C.S.M
0a12dbee45 Merge branch 'bugfix/usb_otg_console' into 'master'
fix(usb_otg): Fix bug that usb_otg console cannot work on esp32s3 (for discussion)

Closes IDFGH-13085

See merge request espressif/esp-idf!28905
2024-06-26 14:24:38 +08:00
Lou Tian Hao
ede24b0440 Merge branch 'docs/add_the_description_of_gpio_wakeup_in_lightsleep_when_pd_top' into 'master'
docs(pm): add description for gpio_wakeup

Closes PM-161

See merge request espressif/esp-idf!31709
2024-06-26 14:00:09 +08:00
Jiang Guang Ming
38560ac0e7 fix(esp_rom): support flash mmap with ROM APIs on c5 2024-06-26 13:07:45 +08:00
Jiang Guang Ming
9ee667eb15 fix(soc): add the missing mmu.h header file on c5 2024-06-26 13:04:22 +08:00
Guillaume Souchere
87b1e45564 fix(console): USB Serial JTAG freezes when input received before init
When data was sent through USB Serial JTAG before the
driver was installed, the bus was malfunctioning. This
was because the interrupt bit for data reception was cleared
regardless of whether data was received or not. Consequently,
usb_serial_jtag_isr_handler_default was not triggered and the
data was never read causing the bus to malfunction.

This commit is modifying usb_serial_jtag_driver_install to
prevent clearing USB_SERIAL_JTAG_INTR_SERIAL_OUT_RECV_PKT and
USB_SERIAL_JTAG_INTR_SERIAL_IN_EMPTY thus allowing the callback
usb_serial_jtag_isr_handler_default to trigger for possible data
exchanged prior to the call to usb_serial_jtag_driver_install.

This commit also modified the while logic in linenoiseProbe to
discard any data that doesn't match the expected chaaracter sequences
to prevent random input from interfering with evaluating whether the
terminal supports escape sequences or not.

See https://github.com/espressif/esp-idf/issues/13940
2024-06-26 06:32:13 +02:00
Lou Tianhao
afbd7e2a13 docs(pm): add description for gpio_wakeup 2024-06-26 11:33:55 +08:00
Cao Sen Miao
b19f9242d7 fix(usb_otg): Fix bug that usb_otg console cannot work on esp32s3 2024-06-26 11:20:19 +08:00
Roman Leonov
d4f0b77d29 Merge branch 'feature/usb_host_ext_hub_driver' into 'master'
feat(ext_hub): Added External Hub Driver

Closes IDF-9697, IDF-9205, IDF-10073, and IDF-10100

See merge request espressif/esp-idf!30391
2024-06-26 04:37:22 +08:00
Jakob Hasse
eb0e894d94 refactor(nvs_flash): Use gcovr instead of lcov for host-based page test 2024-06-25 19:21:54 +02:00
Konstantin Kondrashov
e7070e777a Merge branch 'feature/bootloader_skip_validate_in_deep_sleep_for_c2' into 'master'
feat(bootloader): BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP for C2 (without RTC_MEM)

Closes IDF-9129

See merge request espressif/esp-idf!31241
2024-06-25 21:22:58 +08:00
Marius Vikhammer
0a57b255d2 ci(qemu): increase timeout for esp_intr_dump test 2024-06-25 19:26:50 +08:00
Zhang Shu Xian
fce3df1a26 Merge branch 'docs/delete_userguide_esp32_s2_devkitc_1' into 'master'
docs: Delete user guide esp32-s2-devkitc-1

See merge request espressif/esp-idf!31396
2024-06-25 19:10:34 +08:00
laokaiyao
e845c15b47 fix(rom): update rom layout for c5 2024-06-25 17:51:24 +08:00
Zhang Shuxian
885845c035 docs: Fix conflicts 2024-06-25 17:40:02 +08:00
Roman Leonov
5527ee588e docs(ext_hub): Added description for External Hub Driver 2024-06-25 11:28:03 +02:00
Roman Leonov
548b03c69f feat(ext_hub): Added External Hub driver 2024-06-25 11:28:03 +02:00
Roland Dobai
15013c978a Merge branch 'feat/added_pwsh_checker' into 'master'
feat: Added pre-commit hook of PowerShell scrip checker

Closes IDF-8301

See merge request espressif/esp-idf!30593
2024-06-25 17:18:27 +08:00
chenjianhua
97057eeaf2 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(66b5cc0)
- Fixed vendor hci get controller status command
- Prevent BLE interrupt from being preempted
2024-06-25 17:00:50 +08:00
Wang Fang
3fa703ecf3 Merge branch 'docs/update_translation_for_size_speed_and_log_docs' into 'master'
docs: Update Chinese translation for tag level check related documents

Closes DOC-7425

See merge request espressif/esp-idf!31473
2024-06-25 15:58:38 +08:00
Marius Vikhammer
ce01841b10 Merge branch 'feature/smp_usage_example' into 'master'
feat(freertos): Add examples showing basic freertos SMP usage and common APIs

See merge request espressif/esp-idf!30554
2024-06-25 15:47:53 +08:00
liuning
0dcbbb8eb9 fix(coex): fix ESP32 Wi-Fi cant tx after sw_reset with BLE scan
Closes https://github.com/espressif/esp-idf/issues/13598
2024-06-25 15:42:47 +08:00
Zhang Shuxian
aee423348a docs: Resolve conflict 2024-06-25 15:22:09 +08:00
morris
dcfcf83109 fix(rmt): fix gcc static analyzer warnings 2024-06-25 14:54:00 +08:00
harshal.patil
bd4e48d0d9 feat(cpu): Configure panic exception generation using asm illegal instruction 2024-06-25 11:55:24 +05:30
harshal.patil
84afc6a955 feat(esp_hw_support): Support memory protection using PMA and PMP for ESP32-C5 2024-06-25 11:55:15 +05:30
harshal.patil
980ac9bcf5 fix(soc): Fix ESP32-C5's rom mask high and subsystem high memory addresses 2024-06-25 11:39:22 +05:30
Jiang Jiang Jian
b5762b732b Merge branch 'feat/optimize_bt_porting_layer_0619' into 'master'
Feat/optimize bt porting layer 0619

See merge request espressif/esp-idf!31653
2024-06-25 13:57:40 +08:00
Shen Meng Jing
20697f0f87 Merge branch 'docs/add_some_examples_to_i2c' into 'master'
docs: Add some application examples to i2c

Closes DOC-8018

See merge request espressif/esp-idf!31679
2024-06-25 13:19:46 +08:00
Marius Vikhammer
7ba8f6bc51 Merge branch 'feature/lp_timer_c5_mp' into 'master'
feat(lp-timer): support lp timer for C5

Closes IDF-8636

See merge request espressif/esp-idf!31631
2024-06-25 12:35:30 +08:00
Shen Meng Jing
f703e99df6 Merge branch 'docs/update_translation_for_ulp-lp-core' into 'master'
docs: Update the CN translation for ulp-lp-core

Closes DOC-7977, DOC-7877, and DOC-8019

See merge request espressif/esp-idf!31338
2024-06-25 12:21:03 +08:00
shenmengjing
1dd35f5479 docs: Add some application examples to i2c 2024-06-25 11:54:18 +08:00
Jiang Jiang Jian
f482d3a754 Merge branch 'bugfix/fix_phy_cal_data' into 'master'
fix(phy): add phy calibration data check when mode is not none calibration

Closes PM-130 and AUD-5423

See merge request espressif/esp-idf!31052
2024-06-25 11:34:24 +08:00
shenmengjing
306fe50558 docs: Update the CN translation for ulp-lp-core 2024-06-25 11:20:41 +08:00
Rahul Tank
986f6246fd fix(nimble): Pass the correct cb arg during reconnection attempt 2024-06-25 08:25:09 +05:30
chenjianxing
4dfeb9c26c fix(phy): add phy calibration data check when mode is not none calibration 2024-06-25 10:53:25 +08:00
Jiang Jiang Jian
6e59ca58e6 Merge branch 'bugfix/frequency_switching_issue_in_esp32h2_c6_coex' into 'master'
fix(esp_phy): fix the frequency switching issue in esp32h2/esp32c6 ble/ieee802154 coex

See merge request espressif/esp-idf!30895
2024-06-25 09:21:08 +08:00
Roland Dobai
4f3522d343 Merge branch 'monitor_no_reset' into 'master'
fix(tools/idf_monitor): exit with error if monitor is run with --no-reset and without --port

Closes IDFGH-13094

See merge request espressif/esp-idf!31705
2024-06-25 04:20:13 +08:00
Konstantin Kondrashov
ee605e35b4 feat(bootloader): BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP for C2 (without RTC_MEM) 2024-06-25 02:09:59 +08:00
Sudeep Mohanty
e9a2f3b098 Merge branch 'fix/ulp_riscv_i2c_multi_byte' into 'master'
fix(ulp-risc-v): Fixed RTC I2C multi-byte read/write issue for ULP RISC-V

Closes IDFGH-11056

See merge request espressif/esp-idf!31666
2024-06-24 23:09:56 +08:00
Mahavir Jain
5920651ea7 Merge branch 'change/add_error_logs_for_incorrect_secure_boot_key' into 'master'
change: Add error logs for secure boot scheme and key mismatch

See merge request espressif/esp-idf!31199
2024-06-24 20:28:22 +08:00
Jakob Hasse
e025c8b467 Merge branch 'doc/host_tests' into 'master'
docs(linux): Added limitations section to POSIX simulator docs

Closes IDFGH-12934

See merge request espressif/esp-idf!31667
2024-06-24 19:59:25 +08:00
Peter Dragun
2662a5125c fix(tools/idf_monitor): exit with error if monitor is run with --no-reset and without --port
Closes https://github.com/espressif/esp-idf/issues/14040
2024-06-24 13:47:40 +02:00
xiaqilin
474bac76b3 fix(esp_phy): fix the frequency switching issue in esp32h2/esp32c6 ble/ieee802154 coex 2024-06-24 18:00:50 +08:00
Sudeep Mohanty
8d489caed0 Merge branch 'docs/ulp_shared_variables_note' into 'master'
docs(lp-core): Added a note about how shared variables are initialized

See merge request espressif/esp-idf!31655
2024-06-24 17:57:05 +08:00
Jan Beran
b286105d5f feat: Add unit tests for new wrapper commands 2024-06-24 10:56:10 +02:00
Jakob Hasse
d8689b7394 docs(linux): Added limitations section to POSIX simulator docs 2024-06-24 10:50:04 +02:00
Konstantin Kondrashov
a648a95660 Merge branch 'feature/doc_for_parttool' into 'master'
feat(doc): Adds note for parttool that if SB or FE are on

See merge request espressif/esp-idf!31318
2024-06-24 16:28:24 +08:00
C.S.M
992d8bc5f2 feat(i2c_master): Add an api for retrieveing handle via port,
Closes https://github.com/espressif/esp-idf/issues/13968
2024-06-24 16:06:34 +08:00
Chen Jichang
d81546628a feat(pcnt): add support for step notify
PCNT can add watch of value increment that we call step notify.
This commit add a step notify driver and a test for the driver.

Closes https://github.com/espressif/esp-idf/issues/9604
Closes https://github.com/espressif/esp-idf/issues/12136
2024-06-24 15:50:47 +08:00
laokaiyao
7ac331fea7 refactor(lp_ana_periph): sync the reg names to TRM (part2) 2024-06-24 15:30:55 +08:00
C.S.M
c77ea73ca9 Merge branch 'fix/i2c_semaphore_release' into 'master'
fix(i2c): Fix i2c not release semaphore in command send loop

Closes IDFGH-13014

See merge request espressif/esp-idf!31572
2024-06-24 15:27:32 +08:00
Sudeep Mohanty
dbde548875 docs(lp-core): Added a note about how shared variables are initialized
This commit adds a note to the ULP RISC-V and LP-Core docs regarding how
shared variables are initialized.
2024-06-24 15:21:23 +08:00
Sudeep Mohanty
c3888541f1 fix(ulp-risc-v): Fixed RTC I2C multi-byte read/write issue for ULP RISC-V
This commit fixes an issue where multi-byte reads and writes over the
RTC I2C peripheral got stuck on the esp32s2 and esp32s3.

Closes https://github.com/espressif/esp-idf/issues/12235
2024-06-24 09:17:59 +02:00
Konstantin Kondrashov
1bab9da223 Merge branch 'feature/esp_rom_vprintf_supports_precision_attr' into 'master'
feat(esp_rom): Support precision attribute for esp_rom_vprintf

See merge request espressif/esp-idf!31373
2024-06-24 15:03:45 +08:00
Wang Meng Yang
74d3c00fdb Merge branch 'fix/add_integrity_check_when_select_temporary_key' into 'master'
fix(bt): add integrity check when temporary link key selected

Closes BTQABR2023-315

See merge request espressif/esp-idf!31532
2024-06-24 14:58:19 +08:00
Liu Xiao Yu
69d849cbd6 Merge branch 'feature/console_unregister_cmd' into 'master'
feat(console): Add an API function to de-register the specified console command

Closes IDF-9996

See merge request espressif/esp-idf!31258
2024-06-24 14:44:18 +08:00
Laukik Hase
8b4a71223f Merge branch 'fix/incorrect_console_input_decoding_wifi_prov_mgr' into 'master'
fix(tools/esp_prov): Fix incorrect input decoding when using console transport

Closes IDFGH-13068

See merge request espressif/esp-idf!31659
2024-06-24 14:42:40 +08:00
Mahavir Jain
4e74160603 Merge branch 'docs/add_signature_verification_numbers_esp32p4' into 'master'
docs(secure_boot): Add secure boot signature verification time for esp32p4

See merge request espressif/esp-idf!31668
2024-06-24 13:56:55 +08:00
Mahavir Jain
1ec218260f Merge branch 'bugfix/c5_mpi_ecc_power_mode' into 'master'
fix(hal): correct mpi/ecc peripheral power up sequence for ESP32-C5

See merge request espressif/esp-idf!31621
2024-06-24 13:47:07 +08:00
Wu Zheng Hui
2d36e81ccd Merge branch 'fix/remove_esp32c6_h2_solved_todos' into 'master'
change(esp_hw_support): remove esp32c6 & esp32h2 solved todos

Closes IDF-5781 and IDF-6254

See merge request espressif/esp-idf!31401
2024-06-24 13:35:04 +08:00
Aditya Patwardhan
3e97a9f866 fix(soc): Disable key manager and ECDSA peripheral support for esp32p4
The support is disabled only for ECO1 and below
2024-06-24 10:26:51 +05:30
gongyantao
772b4dc26a fix(bt): add integrity check when temporary link key selected 2024-06-24 12:05:49 +08:00
Wu Zheng Hui
e254647b0a Merge branch 'feature/support_esp32p4_dcdc_always_on' into 'master'
feat(esp_hw_support): support esp32p4 dcdc always on during lightsleep

Closes PM-104 and PM-131

See merge request espressif/esp-idf!30449
2024-06-24 11:46:34 +08:00
Wu Zheng Hui
54c4984256 Merge branch 'fix/trigger_system_reset_in_brownout_isr' into 'master'
change(esp_system): trigger digital system reset in brownout isr

See merge request espressif/esp-idf!30512
2024-06-24 11:15:54 +08:00
Wu Zheng Hui
ee372c4842 Merge branch 'feat/esp32p4eco_sleep_feature_update' into 'master'
feat(esp_hw_support): esp32p4eco1 sleep feature update

Closes IDF-9564

See merge request espressif/esp-idf!30899
2024-06-24 11:15:47 +08:00
Zhang Wen Xu
9e5e1f085d Merge branch 'bugfix/openthread_uart_vfs_register' into 'master'
fix(openthread): register uart vfs devices when they are not registered

See merge request espressif/esp-idf!31524
2024-06-24 11:03:57 +08:00
Linda
1d99cd827c docs: Migrate user guides of ESP32-C3-DevKitM and ESP32-C3-DevKitC to esp-dev-kits 2024-06-24 10:19:27 +08:00
morris
cd9d0365e1 Merge branch 'fix/lcd_build_error_in_cpp' into 'master'
fix(lcd): build errors with deprecated lcd types in cpp

Closes IDFGH-13083 and IDFGH-13090

See merge request espressif/esp-idf!31639
2024-06-24 10:17:40 +08:00
Jiang Jiang Jian
e14eadf952 Merge branch 'bugfix/wifi-6570' into 'master'
fix the issue of wifipwr losing its clock during sleep on the esp32c6 eco1

Closes WIFI-6570

See merge request espressif/esp-idf!31586
2024-06-24 09:57:52 +08:00
morris
466f54e375 fix(i2c_lcd): using function overloading to keep esp_lcd_new_panel_io_i2c
becuase _Generic is not available in C++

Closes https://github.com/espressif/esp-idf/issues/14037
2024-06-23 21:57:36 +08:00
morris
478a8b5dd6 fix(lcd): build errors with deprecated lcd types in cpp
Closes https://github.com/espressif/esp-idf/issues/14029
2024-06-23 21:54:26 +08:00
Marius Vikhammer
c381612efa Merge branch 'docs/disable_pdf_build' into 'master'
ci(docs): set PDF build as allowed to fail

See merge request espressif/esp-idf!31657
2024-06-22 13:34:15 +08:00
harshal.patil
4d6cb7bf23 docs(secure_boot): Add secure boot signature verification time for esp32p4 2024-06-21 21:59:55 +05:30
David Cermak
c6c980b893 fix(wifi): Call DHCP server API only if DHCPS enabled
Closes https://github.com/espressif/esp-idf/issues/14006
2024-06-21 18:10:36 +02:00
Sudeep Mohanty
bbd7c5f6e2 Merge branch 'docs/lp_core_uart_apps_readme' into 'master'
docs(lp-core): Updated lp_core_uart app README files

See merge request espressif/esp-idf!31660
2024-06-21 17:59:22 +08:00
Sudeep Mohanty
38acdede57 docs(lp-core): Updated lp_core_uart app README files
Updated the LP Core UART apps README files to mention the default pins
to use on esp32p4.
2024-06-21 11:35:37 +02:00
wuzhenghui
1679b509be feat(esp_hw_support): support DCDC always on 2024-06-21 16:55:49 +08:00
wuzhenghui
35180988b5 feat(esp_pm): add DCDC always on config 2024-06-21 16:55:49 +08:00
harshal.patil
a31618b988 fix(tools/esp_prov): Fix incorrect input decoding when using console transport
- Closes https://github.com/espressif/esp-idf/issues/14013
2024-06-21 14:07:20 +05:30
Harshit Malpani
ff16ce4314 change: Add error logs for secure boot scheme and key mismatch 2024-06-21 13:56:22 +05:30
Alexey Lapshin
e863e6069c Merge branch 'feat/enable-gdbstub-test-for-p4' into 'master'
feat(gdbstub): enable test for esp32p4

Closes IDF-8992 and IDF-7510

See merge request espressif/esp-idf!31479
2024-06-21 15:55:48 +08:00
Marius Vikhammer
2e3ad85a60 ci(docs): set PDF build as allowed to fail 2024-06-21 15:43:20 +08:00
Omar Chebib
6b10f1e952 Merge branch 'docs/explain_i2c_transmit_receive' into 'master'
docs: add explanation for I2C transmist-receive operation

Closes IDFGH-13002

See merge request espressif/esp-idf!31509
2024-06-21 15:38:57 +08:00
cjin
b4ded34fd8 fix(ble): added c6 config check for ble light sleep 2024-06-21 14:58:39 +08:00
zwl
842e3b13a2 feat(bluetooth/controller): adjust bt/porting code structure and delete redundant code 2024-06-21 14:58:35 +08:00
David Čermák
d9bae333ca Merge branch 'fix/lwip_cleanup_freertos_port' into 'master'
fix(lwip): Cleanup freertos port to use more readable checks

Closes IDF-9939

See merge request espressif/esp-idf!30760
2024-06-21 13:42:21 +08:00
Mahavir Jain
e1499ddde3 fix(hal): correct the power up sequence for MPI/ECC peripherals in ESP32-C5 2024-06-21 09:42:57 +08:00
Mahavir Jain
dc10f18286 Merge branch 'feature/vulnerabilities_doc_page' into 'master'
docs: add page to summarize the security vulnerabilities and advisories

See merge request espressif/esp-idf!30883
2024-06-21 09:32:32 +08:00
David Cermak
72c389f771 fix(lwip): Cleanup lwip -> ethernet dependencies 2024-06-20 17:00:19 +02:00
Tomas Rezucha
67c10eafaa Merge branch 'feature/usb_host_multi_configuration' into 'master'
USB Host multiconfiguration support pt1 (getting the configuration descriptor)

Closes IDFGH-11532 and IDF-8732

See merge request espressif/esp-idf!26760
2024-06-20 20:29:12 +08:00
C.S.M
8e1698aa05 fix(i2c): Fix i2c not release semaphore in command send loop 2024-06-20 19:22:49 +08:00
Kevin (Lao Kaiyao)
e301e4ee34 Merge branch 'feature/support_parlio_on_c5' into 'master'
feat(parlio): support parlio on c5

Closes IDF-8685 and IDF-8686

See merge request espressif/esp-idf!31604
2024-06-20 19:16:12 +08:00
C.S.M
38db7e60e7 Merge branch 'feat/usb_serial_jtag_c5' into 'master'
feat(usb_serial_jtag): Add usb serial jtag support on esp32c5

Closes IDF-8721 and IDF-10257

See merge request espressif/esp-idf!31544
2024-06-20 18:49:16 +08:00
Nachiket Kukade
918b5a0823 Merge branch 'bugfix/wpa3_sta_mem_leak' into 'master'
Fix memory leak in wpa3 station mode

See merge request espressif/esp-idf!31419
2024-06-20 17:33:06 +08:00
Konstantin Kondrashov
b1768dcd8e Merge branch 'feature/gcc_error_on_default_warnings' into 'master'
feat(tools): Make default warnings as errors

Closes IDFGH-9945

See merge request espressif/esp-idf!30149
2024-06-20 17:02:14 +08:00
C.S.M
d53add5d84 fix(usb_serial_jtag): fix regs are not handled properly for half-word instructions 2024-06-20 16:58:15 +08:00
C.S.M
5bd39b54d3 feat(usb_serial_jtag): Add usb serial jtag support on esp32c5 2024-06-20 16:55:55 +08:00
Marius Vikhammer
24e9736532 feat(lp-timer): support lp timer for C5 2024-06-20 16:13:49 +08:00
Aleksei Apaseev
b22a7c600c Merge branch 'ci/add_job_to_dynamic_pipeline_report' into 'master'
ci: add failed/succeeded jobs report generator

Closes IDFCI-1991

See merge request espressif/esp-idf!31070
2024-06-20 16:11:58 +08:00
laokaiyao
b51fc7c390 ci(parlio_rx): enable target test for h2 and p4 2024-06-20 16:02:21 +08:00
David Cermak
70645836fc fix(lwip): Cleanup freertos port to use more readable checks
It also removes incorrect comment that's not valid any more (leftover from 6933c103e5)
It also removes ESP_THREAD_SAFE macro and sys_mbox_set_owner() which were not used
It also fixes CID 460613: Uninitialized pointer read in api_lib.c, netconn_gethostbyname_addrtype
Updated lwip submodule: git log --oneline 4297782b..aa4f6e78
* api_msg: Fix unused local variable if LWIP_NETCONN_SEM_PER_THREAD=1 (espressif/esp-lwip@aa4f6e78)
2024-06-20 08:57:25 +02:00
Konstantin Kondrashov
e596cb5527 feat(tool): Adds idf_build_remove_options_from_property func 2024-06-20 14:43:26 +08:00
Marc Finet
9456c157ff feat(build): Add config to disable warn be considered as errors
The -Werror=all activates error for all warnings in -Wall, however, it
does not activate error for other default warnings, such as:
- int-conversion (pointer from integer w/o a cast)
- incompatible-pointer-types
- discarded-qualifiers

Which are IMO even more important that -Wall.

This commit fixes that by activating error for all warnings (i.e. from
-Wall and default ones) and removing those from -Wextra, as the culprit
commit seemed to address.

Fixes: 60f29236f6 "Build system: Raise warning level" (2016-11-16)

In order to avoid long analysis during esp-idf upgrade, provide a way to
restore the previous -Werror=all behavior that consider only warnings
from -Wall (and not default ones).

Also add a hint to use the Kconfig option on compilation error, but warn
that fixing the code is the preferred way.

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

Suggested-By: Ivan Grokhotkov <ivan@espressif.com>
2024-06-20 14:43:26 +08:00
Aleksei Apaseev
63bd3a18ad ci: add failed jobs report generator. Improve Target Test Report
Introduced changes:
- refactor the cli script used for report generation
- introduce failed jobs report generator
- cover job report generation with tests
- add job failure rate
- add test cases failure rate
- add current branch / other branches statistic for failed jobs / testcases
2024-06-20 14:40:54 +08:00
Sudeep Mohanty
d0eed3a65e Merge branch 'fix/lp_i2c_reg_redefinition_on_esp32c5' into 'master'
fix(lp-i2c): Fixed register definition namespace for LP I2C registers on esp32c5

See merge request espressif/esp-idf!31599
2024-06-20 14:40:53 +08:00
morris
2e2a621dca Merge branch 'test/emac_regsiter_rw' into 'master'
test(emac): register are not read/write by half-word

Closes IDF-10258

See merge request espressif/esp-idf!31619
2024-06-20 14:30:13 +08:00
laokaiyao
1818bbaa79 remove(parlio): remove parlio caps in c61 2024-06-20 14:28:37 +08:00
laokaiyao
f301db44b8 feat(parlio): support parlio on C5 2024-06-20 14:28:37 +08:00
morris
55d2c23e0b Merge branch 'fix/lcd_regsiter_rw_check' into 'master'
fix(lcd): workaround register check failure

Closes IDF-10244

See merge request espressif/esp-idf!31615
2024-06-20 14:26:47 +08:00
Jakub Kocka
8f383060dd feat: Added pre-commit hook of PowerShell scrip checker 2024-06-20 08:26:46 +02:00
Shyamal Khachane
0fac1ebe40 fix(esp_wifi): Fix a memory leak that occurs when the SAE connection is interrupted
1. Free temporary data used by SAE before memsetting the same
2. Drop any received auth responses that use a different algorithm than the one currently in use
2024-06-20 11:45:16 +05:30
Krzysztof Budzynski
aa27fbd231 Merge branch 'feature/feedback_thumb' into 'master'
feat(docs): add feedback thumb

Closes DOC-3836

See merge request espressif/esp-idf!31207
2024-06-20 13:25:39 +08:00
Liu Yi Chuan
7733fbe7a4 feat(docs): add feedback thumb 2024-06-20 13:25:39 +08:00
Omar Chebib
6a542c1fa0 docs: add explanation for I2C transmist-receive operation
* Closes https://github.com/espressif/esp-idf/issues/13952
2024-06-20 11:02:52 +08:00
Mahavir Jain
f0781c4641 Merge branch 'contrib/github_pr_13945' into 'master'
fix(esp_http_client): Do not allocate client->if_name twice in esp_http_client_init. (GitHub PR)

Closes IDFGH-12994

See merge request espressif/esp-idf!31497
2024-06-20 09:20:39 +08:00
morris
96e1fe5029 test(emac): register are not read/write by half-word 2024-06-19 22:39:50 +08:00
Jiang Jiang Jian
c9a504cdcb Merge branch 'bugfix/hardware_mgmt_decryption_regression' into 'master'
fix(wifi): Disable IC_PMF variable properly when station disconnects and always clear keys in tx_cb

Closes WIFI-6544

See merge request espressif/esp-idf!30695
2024-06-19 21:01:18 +08:00
Alexey Lapshin
b0ba5689f1 Merge branch 'feature/gcc-fanalyzer' into 'master'
feat(ci): add gnu static analyzer job

See merge request espressif/esp-idf!30902
2024-06-19 19:31:53 +08:00
Lou Tian Hao
ec9c9413bc Merge branch 'feature/esp32c5mp_light_sleep_support_stage_1' into 'master'
feat(esp_hw_support): esp32c5mp sleep support (Stage 1: support modem clock)

See merge request espressif/esp-idf!31028
2024-06-19 19:09:43 +08:00
morris
a8f2a94fe8 fix(lcd): workaround register check failure 2024-06-19 19:00:11 +08:00
Rahul Tank
0cfefb8a42 Merge branch 'bugfix/free_memory_before_reattempt' into 'master'
fix(nimble): Clear resource before re-starting advertising

Closes BT-3776

See merge request espressif/esp-idf!31548
2024-06-19 18:40:22 +08:00
David Čermák
1fd6a83f62 Merge branch 'fix/netif_napt_fix' into 'master'
fix(esp_netif): Don't warn about disabling napt if wasn't enabled

See merge request espressif/esp-idf!31076
2024-06-19 17:36:22 +08:00
Zhang Shu Xian
668503a188 Merge branch 'docs/delete_user_guide_esp32_s2_devkitm_1' into 'master'
docs: Delete user guide esp32-s2-devkitm-1

See merge request espressif/esp-idf!31397
2024-06-19 17:28:59 +08:00
Sudeep Mohanty
86f86aa269 fix(lp-i2c): Fixed register definition namespace for LP I2C registers on esp32c5
This commit adds the `LP_I2C_` namespace to the register definitions for
the LP I2C registers on the esp32c5. Currently, the definitions lead to
a clash with the HP I2C register definitions leading to compilation
warnings.
2024-06-19 10:38:52 +02:00
Sonika Rathi
239f9bcc93 Merge branch 'docs/esp32p4_storage' into 'master'
docs(storage): update esp32p4 storage programming guide

See merge request espressif/esp-idf!31594
2024-06-19 16:37:59 +08:00
Island
83cda5cfb9 Merge branch 'feat/add_definition_of_auth_fail_reason' into 'master'
feat(bt/bluedroid): Add definition for the reason of BLE authentication failure

See merge request espressif/esp-idf!31302
2024-06-19 16:07:25 +08:00
Peter Marcisovsky
6cabb68d12 feat(usb/host): multiconfiguration support
- usb host reads device's configuration on request
    - a control transfer is sent
    - memory is allocated for a new descriptor
    - user must manually free the memory
2024-06-19 09:40:57 +02:00
Island
557aae0166 Merge branch 'feat/put_bt_interface_code_to_rom' into 'master'
Feat/put bt interface code to rom

Closes BLERP-791 and BLERP-804

See merge request espressif/esp-idf!31547
2024-06-19 14:59:08 +08:00
Sudeep Mohanty
e5d9d1dd60 Merge branch 'contrib/github_pr_14010' into 'master'
fix(ulp): Write pin's output mode to the correct register (GitHub PR)

Closes IDFGH-13065

See merge request espressif/esp-idf!31581
2024-06-19 14:57:40 +08:00
Michael (XIAO Xufeng)
e57c686136 Merge branch 'refactor/rtc_init_before_mspi_tuning' into 'master'
fix(startup): move rtc initialization before MSPI timing tuning to improve stability

See merge request espressif/esp-idf!31200
2024-06-19 14:53:00 +08:00
sonika.rathi
6b1ebc324a docs(storage): update esp32p4 storage programming guide 2024-06-19 08:44:51 +02:00
fbp2m
adb307da29 fix: fixed allocating if_name in client context multiple times
Do not allocate client->if_name twice in esp_http_client_init().

Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/13945
2024-06-19 11:39:56 +05:30
morris
f791c6e232 Merge branch 'bugfix/huk_ll_enable_interrupt' into 'master'
fix(huk): switch case fall through unexpected

See merge request espressif/esp-idf!31584
2024-06-19 12:02:17 +08:00
Shen Meng Jing
6707aa3c34 Merge branch 'docs/translate_efuse' into 'master'
docs: Provide Chinese translation for api-reference/system/efuse.rst

Closes DOC-6214

See merge request espressif/esp-idf!31357
2024-06-19 11:50:49 +08:00
wuzhenghui
1ac05e89b0 fix(esp_hw_support): disable mpll clock after L1 dcache writeback 2024-06-19 11:43:58 +08:00
Lou Tianhao
1b65a70928 change(esp_hw_support): bypass esp_sleep_pd_config 2024-06-19 11:19:42 +08:00
Lou Tianhao
8c52c983b4 feat(esp_hw_support): support modem clock for esp32c5mp 2024-06-19 11:19:37 +08:00
Marius Vikhammer
a60d19949d Merge branch 'feature/c5_mp_lp_core' into 'master'
feat(lp-core): bringup lp-core for C5 MP

See merge request espressif/esp-idf!31563
2024-06-19 11:14:25 +08:00
renpeiying
fb487779d9 docs: Provide Chinese translation for api-reference/system/efuse.rst 2024-06-19 10:59:38 +08:00
Li Shuai
731534e8c7 fix(wifi): fix the issue of wifipwr losing its clock during sleep on the esp32c6 eco1 2024-06-19 10:49:31 +08:00
Kevin (Lao Kaiyao)
1db237e120 Merge branch 'bugfix/sych_the_change_of_during_c5beta3_removal' into 'master'
fix(esp32c5): sych the changes during c5beta3 removal

Closes IDFCI-2204

See merge request espressif/esp-idf!31573
2024-06-19 10:20:11 +08:00
Mahavir Jain
2a4f227c5c docs: add page to summarize the security vulnerabilities and advisories 2024-06-19 10:06:01 +08:00
Marius Vikhammer
aae3aa5e5f feat(lp-core): bringup lp-core for C5 MP
LP-Core is now able to boot and run on C5 MP chip.
2024-06-19 09:18:47 +08:00
Zhang Shu Xian
221e110d82 Merge branch 'docs/translate_error_handling' into 'master'
docs: Update translation for error handling

Closes DOC-7836

See merge request espressif/esp-idf!30867
2024-06-19 09:13:13 +08:00
morris
98070179b5 fix(huk): switch case fall through unexpected 2024-06-18 23:13:00 +08:00
Roland Dobai
c030591ba8 Merge branch 'contrib/github_pr_13982' into 'master'
fix(tools): Add missing linux-armhf to tools_schema (GitHub PR)

Closes IDFGH-13036 and IDFGH-13035

See merge request espressif/esp-idf!31559
2024-06-18 22:23:38 +08:00
Konstantin Kondrashov
687832ae94 Merge branch 'feature/parttool_adds_ignore_readonly_flag' into 'master'
feat(partition_table): Adds --ignore-readonly flag

Closes IDFGH-13017

See merge request espressif/esp-idf!31500
2024-06-18 21:12:15 +08:00
Kevin (Lao Kaiyao)
31364b0f9f Merge branch 'bugfix/rename_some_touch_regs' into 'master'
refactor(lp_ana_periph): sync the reg names to TRM

See merge request espressif/esp-idf!31474
2024-06-18 20:47:45 +08:00
morris
78b6f28529 Merge branch 'refactor/adc_dma_memory_allocation' into 'master'
ADC & AES: use heap component API to allocate cached aligned DMA buffer

See merge request espressif/esp-idf!31533
2024-06-18 20:41:40 +08:00
morris
ba364d486f Merge branch 'feat/ci_check_ll_rw_register_half_word' into 'master'
feat(ci): check if the LL function read write the register by half-world

See merge request espressif/esp-idf!31501
2024-06-18 20:38:15 +08:00
LonerDan
37fad48e1f fix(ulp-risc-v): Set RTC GPIO output mode in the correct register for ULP RISC-V
According to the ESP32-S2/S3 TRM, the output pin's mode is set in the RTC_GPIO_PINn_REG
by programming the RTC_GPIO_PINn_PAD_DRIVER bit. The current ULP RISC-V RTCIO driver
however, incorrectly programs the RTC_IO_TOUCH_PADn_REG register field RTC_IO_TOUCH_PADn_DRV.
This commit fixes the bug.
2024-06-18 14:33:13 +02:00
chenjianhua
5aae8dc53c feat(bt/bluedroid): Add definition for the reason of BLE authentication failure 2024-06-18 20:11:39 +08:00
laokaiyao
3701760e03 fix(soc): sych the changes that missed during c5 beta3 removal 2024-06-18 19:07:22 +08:00
Konstantin Kondrashov
5750f2cd29 feat(partition_table): Adds --ignore-readonly flag
Closes https://github.com/espressif/esp-idf/issues/13964
2024-06-18 13:11:56 +03:00
Song Ruo Jing
794160fb48 Merge branch 'test/enable_build_test_ledc_esp32c5' into 'master'
test(ledc): enable build test on esp32c5

Closes IDFCI-2204

See merge request espressif/esp-idf!31574
2024-06-18 17:28:27 +08:00
morris
049bdd9e37 Merge branch 'refactor/gptimer_sleep_retention' into 'master'
Fix gptimer auto reload configuration being overwritten by regdma

See merge request espressif/esp-idf!31314
2024-06-18 17:09:44 +08:00
morris
3a7ee67694 test(ledc): enable build test on esp32c5 2024-06-18 17:06:36 +08:00
Sarvesh Bodakhe
205fa4fa6e fix(wifi): Fix station PMF issue
Fix issue of station PMF not getting reset when disconnecing from PMF connection
2024-06-18 13:32:07 +05:30
morris
580810d2d5 Merge branch 'feat/i2c_c5mp' into 'master'
feat(i2c): Add i2c support on esp32c5 mp

Closes IDF-8694 and IDF-8696

See merge request espressif/esp-idf!31554
2024-06-18 15:51:33 +08:00
zwl
23ff4fc0c4 feat(bluetooth/controller): update controller api name on ESP32-C5 2024-06-18 15:40:53 +08:00
zwl
5611224141 feat(bluetooth/controller): update controller api name on ESP32-C2 2024-06-18 15:40:53 +08:00
zwl
d6240706ea feat(bluetooth/controller): update controller api name on ESP32-C6 and ESP32-H2 2024-06-18 15:40:53 +08:00
morris
4f03604b2e fix(hal): functions that may generate invalid load/store byte/half-word instructions
because the APB regsiters can't behave correctly on these instructions
2024-06-18 14:58:41 +08:00
morris
dd46392a66 feat(ci): check LL functions not read write register by half word 2024-06-18 14:58:41 +08:00
Fu Hanxi
5e4abfdf09 Merge branch 'ci/disable_c5_build' into 'master'
ci: disable failing esp32c5 builds

Closes IDFCI-2205

See merge request espressif/esp-idf!31556
2024-06-18 14:53:34 +08:00
laokaiyao
5b01a3ccd3 refactor(touch): refactor the filter configuration 2024-06-18 14:36:09 +08:00
laokaiyao
39ade8fd8a refactor(lp_ana_periph): sync the reg names to TRM 2024-06-18 14:36:09 +08:00
Alexey Lapshin
ed6e497c6f feat(build): add COMPILER_STATIC_ANALYZER option 2024-06-18 14:25:37 +08:00
Alexey Lapshin
e1b9985bd0 fix(usb): fix warnings found by GNU static analyzer 2024-06-18 14:25:37 +08:00
Alexey Lapshin
75277a9419 fix(esp_driver_parlio): fix warnings found by GNU static analyzer 2024-06-18 14:25:37 +08:00
Alexey Lapshin
f328e06ed4 fix(wpa_supplicant): fix warnings found by GNU static analyzer 2024-06-18 14:25:37 +08:00
Alexey Lapshin
edbf6130db fix(vfs): fix warnings found by GNU static analyzer 2024-06-18 14:25:37 +08:00
Alexey Lapshin
0815f6ab8c fix(sdmmc): fix warnings found by GNU static analyzer 2024-06-18 14:25:37 +08:00
Alexey Lapshin
fcd2aee74d fix(heap): fix warnings found by GNU static analyzer 2024-06-18 14:25:37 +08:00
Alexey Lapshin
505647292d fix(esp_mm): fix warnings found by GNU static analyzer 2024-06-18 14:25:37 +08:00
Alexey Lapshin
b85736f6a6 fix(esp_hw_support): fix warnings found by GNU static analyzer 2024-06-18 14:25:37 +08:00
Alexey Lapshin
0087196f3c fix(esp_driver_usb_serial_jtag): fix warnings found by GNU static analyzer 2024-06-18 14:25:37 +08:00
Fu Hanxi
adf6fc1e5b ci: disable failing esp32c5 builds 2024-06-18 08:11:44 +02:00
Wang Fang
660782520b docs: Update Chinese translation for tag level check related documents 2024-06-18 11:22:05 +08:00
C.S.M
b0f2205f70 feat(i2c): Add i2c support on esp32c5 mp 2024-06-18 10:37:36 +08:00
Rahul Tank
df54b0ff12 fix(nimble): Clear resource before re-starting advertising 2024-06-18 10:33:10 +08:00
morris
3ef9426e2a refactor(gptimer): sleep retention code clean up 2024-06-18 09:59:12 +08:00
morris
22a85517ff fix(gptimer): fix the regdma overwrite the reload configuration 2024-06-18 09:59:12 +08:00
morris
0365cb0bc7 change(wdt): create wdt_periph.c in soc component 2024-06-18 09:59:06 +08:00
Xiao Xufeng
5b71b949be fix(startup): move rtc initialization before MSPI timing tuning to improve stability 2024-06-18 01:16:24 +08:00
Kevin (Lao Kaiyao)
0479494e7a Merge branch 'remove/remove_c5_beta3_support' into 'master'
remove(c5beta3): remove esp32c5 beta3 support

Closes IDF-9197

See merge request espressif/esp-idf!31412
2024-06-18 00:18:00 +08:00
Jakob Hasse
94bec782a1 Merge branch 'fix/correct_esp_xt_wdt_configuration' into 'master'
fix(esp_system): properly exclude XTAL32K WDT from other chips

Closes IDFGH-13005

See merge request espressif/esp-idf!31468
2024-06-17 19:26:19 +08:00
zhangshuxian
51d1fdddf3 docs: Provide translation for error handling 2024-06-17 16:13:18 +08:00
laokaiyao
d753d01383 fix(gpio): upgrade the gpio func select api for legacy pcnt & ledc 2024-06-17 15:15:08 +08:00
Rocha Euripedes
5dd0f2caca Merge branch 'mqtt_update' into 'master'
change(mqtt): Updte esp_mqtt submodule

Closes IDFGH-12831, IDFGH-12829, IDFGH-12735, and IDF-8883

See merge request espressif/esp-idf!31422
2024-06-17 15:11:31 +08:00
Euripedes Rocha
1cd8682047 change(mqtt): Update esp_mqtt submodule
git log --oneline aa6f889fb4f6f743b3a550aa587713aabbdca1fc..cac1552e62b0474c162547b7cce345d7cd1aecfe

Detailed description of the changes:
* fix: clang analyzer unknown pragma warning
  - See merge request espressif/esp-mqtt!215
  - See commit https://github.com/espressif/esp-mqtt/commit/6bb5a5b
* fix: gcc analyzer unknown pragma warning
  - See merge request espressif/esp-mqtt!214
  - See commit https://github.com/espressif/esp-mqtt/commit/b527203
* feat: Moves deletion of expired messages to run at all states
  - Closes IDFGH-12831
  - Closes https://github.com/espressif/esp-mqtt/issues/278
  - See commit https://github.com/espressif/esp-mqtt/commit/32dada4
* fix: Handling of state in the outbox for enqueued QoS 0 messages
  - Closes IDFGH-12829
  - Closes https://github.com/espressif/esp-mqtt/issues/276
  - See commit https://github.com/espressif/esp-mqtt/commit/739cb2d
* fix: Instalation of gcovr in host tests was broken
  - See merge request espressif/esp-mqtt!211
  - See commit https://github.com/espressif/esp-mqtt/commit/6643c49
* Allow to publish using only topic alias on MQTT5
  - Closes IDFGH-12735
  - Fix: Allow to publish using only topic alias on MQTT5 (espressif/esp-mqtt@0071aca)
* refactor: replaced heap mock with Linux-compatible heap component
  - See merge request espressif/esp-mqtt!208
  - See commit https://github.com/espressif/esp-mqtt/commit/8b0b43e
* fix: gcc -fanalyzer warnings
  - See merge request espressif/esp-mqtt!209
  - See commit https://github.com/espressif/esp-mqtt/commit/8bc3bff
* fix: Use catch from component manager
  - See merge request espressif/esp-mqtt!210
  - See commit https://github.com/espressif/esp-mqtt/commit/53e0cc7
* fix: Fix host test for github ci.
  - Closes IDF-8883
  - See commit https://github.com/espressif/esp-mqtt/commit/b43d93c
2024-06-17 13:06:35 +08:00
Kevin (Lao Kaiyao)
a4bbdd3b16 Merge branch 'feature/support_to_reconfig_isp_awb_after_enable' into 'master'
feat(isp_awb): support to change config after initialized

See merge request espressif/esp-idf!31522
2024-06-17 12:23:07 +08:00
laokaiyao
c731b099ee remove(c5beta3): remove c5 beta3 doxy files 2024-06-17 12:02:15 +08:00
laokaiyao
21f870ecd5 remove(c5beta3): remove c5 beta3 system files 2024-06-17 12:02:15 +08:00
laokaiyao
1d894680a8 remove(c5beta3): remove c5 beta3 rom files 2024-06-17 12:02:15 +08:00
laokaiyao
717a2ccf15 remove(c5beta3): remove c5 beta3 soc files 2024-06-17 12:01:57 +08:00
morris
65710f70e3 change(aes): refactor DMA buffer allocation 2024-06-17 11:28:07 +08:00
laokaiyao
9e66f1ecc0 feat(isp_awb): support to change config after initialized 2024-06-17 11:19:59 +08:00
morris
ea9630d977 change(adc): refactor DMA memory allocation 2024-06-17 11:12:06 +08:00
Song Ruo Jing
b4b1906d2c Merge branch 'feature/esp32c5_regi2c_support' into 'master'
feat(regi2c): support REGI2C for ESP32C5 MP

Closes IDF-8824

See merge request espressif/esp-idf!31411
2024-06-17 11:10:26 +08:00
Denis Feklushkin
2976a5450a fix(fatfs): _FFCONF_DEFINED added to ffconf.h 2024-06-16 16:13:26 +03:00
Marius Vikhammer
89cb1d10d6 Merge branch 'docs/freertos_docs_for_c5_c61' into 'master'
docs(freertos): Enabled FreeRTOS docs for esp32c5 and esp32c61

Closes IDF-9493 and IDF-10170

See merge request espressif/esp-idf!31528
2024-06-15 19:05:38 +08:00
Tom Stokes
84814fd554 fix(schema): Add missing linux-armhf to tools_schema
Adds `linux-armhf` to the list of platforms that can have overrides.

Fixes #13981

Signed-off-by: Tom Stokes <tomstokes@radixengineering.com>
2024-06-14 15:57:00 -06:00
Sudeep Mohanty
1513fd6a82 docs(freertos): Enabled FreeRTOS docs for esp32c5 and esp32c61
This commit enables the FreeRTOS doc build for esp32c5 and esp32c61.
2024-06-14 16:38:44 +02:00
Fu Zhibo
157efcfdbc feat: support regi2c for esp32c5 2024-06-14 21:02:51 +08:00
Ivan Grokhotkov
f95caa751b Merge branch 'feature/update-qemu-to-esp_develop_9.0.0_20240606' into 'master'
feat(tools): update qemu version to esp_develop_9.0.0_20240606

See merge request espressif/esp-idf!31375
2024-06-14 20:41:52 +08:00
Song Ruo Jing
330c57cb45 feat(modem): add modem register header files for ESP32C5 MP 2024-06-14 20:26:58 +08:00
Kevin (Lao Kaiyao)
ec99ccf204 Merge branch 'bugfix/fix_touch_sensor_coverity_issue' into 'master'
fix(touch): fix driver coverity issue

Closes IDF-10195 and IDF-10196

See merge request espressif/esp-idf!31520
2024-06-14 19:06:27 +08:00
WanqQixiang
349d6e1f35 fix(openthread): register uart vfs devices when they are not registered 2024-06-14 19:02:06 +08:00
Rahul Tank
3f5bf2f372 Merge branch 'contrib/github_pr_13951' into 'master'
Fix stack overflow bug for `examples/bluetooth/esp_hid_device` when using esp32s3 with nimble (GitHub PR)

Closes IDFGH-13001

See merge request espressif/esp-idf!31508
2024-06-14 18:52:44 +08:00
Shen Meng Jing
8fbd583e05 Merge branch 'docs/translate_twai' into 'master'
docs: Provide CN translation for api-reference/peripherals/twai.rst

Closes DOC-6253 and DOC-7381

See merge request espressif/esp-idf!31299
2024-06-14 18:24:49 +08:00
caixinying-git
53f75bda8d docs: provide CN translation for api-reference/peripherals/twai.rst 2024-06-14 17:40:35 +08:00
laokaiyao
e7e76f6c0c fix(touch): fix driver coverity issue 2024-06-14 17:28:57 +08:00
Marius Vikhammer
244c0fa2b0 Merge branch 'bugfix/revert_c5_threshold_changes' into 'master'
Revert "fix(rom): fixed esprv_int_set_threshold on C5/C61"

See merge request espressif/esp-idf!31506
2024-06-14 16:17:12 +08:00
Roland Dobai
3605edfed3 Merge branch 'fix/idf_tools_warning_error' into 'master'
fix(tools): Improve the warning message from idf_tools.py about the Python environment

See merge request espressif/esp-idf!31495
2024-06-14 15:51:00 +08:00
Marius Vikhammer
e496f2668c Revert "fix(intr): fixed intr threshhold min level on C5"
This reverts commit 61f1975882.
2024-06-14 12:18:59 +08:00
Marius Vikhammer
56753c1dad Revert "fix(rom): fixed esprv_int_set_threshold on C5/C61"
This reverts commit 113c8de0fc.
2024-06-14 12:03:51 +08:00
Kevin (Lao Kaiyao)
20c2b24c97 Merge branch 'bugfix/fix_isp_awb_continuous_mode' into 'master'
fix(isp_awb): fixed continuous mode only triggered once

See merge request espressif/esp-idf!31478
2024-06-14 10:05:52 +08:00
Jiang Jiang Jian
e75d879e22 Merge branch 'bugfix/esp_rom_clic_thresh_bug' into 'master'
fix(rom): fixed esprv_int_set_threshold on C5/C61

See merge request espressif/esp-idf!31488
2024-06-14 09:08:43 +08:00
Jakob Hasse
22561ee408 fix(esp_system): properly exclude XTAL32K WDT from other chips
Closes https://github.com/espressif/esp-idf/issues/13955
2024-06-13 19:00:16 +02:00
Tomas Rezucha
e5bc2549ca Merge branch 'fix/usb_host_enum_urb_rounded_for_string_desc' into 'master'
fix(enum): Returned usb_round_up_to_mps for control request of string descriptors

See merge request espressif/esp-idf!31487
2024-06-13 23:50:13 +08:00
Jiang Jiang Jian
3f827ba010 Merge branch 'bugfix/wifi-5610' into 'master'
fix the issue of tbtt interrupt miss caused by beacon monitor

Closes WIFI-5610

See merge request espressif/esp-idf!31051
2024-06-13 20:08:05 +08:00
Roland Dobai
86b7960c3b fix(tools/idf_tools.py): Improve the warning message about the environment 2024-06-13 12:38:14 +02:00
Ivan Grokhotkov
455e83e556 Merge branch 'doc/stdio_console' into 'master'
docs(console): add an API guides page on standard I/O

Closes IDFGH-12951

See merge request espressif/esp-idf!31343
2024-06-13 18:15:12 +08:00
Jiang Jiang Jian
aab63bed24 Merge branch 'bugfix/esp32c6_update_ld' into 'master'
fix(wifi):esp32c6 update ld

Closes WIFIBUG-539, WIFIBUG-556, and WIFIBUG-601

See merge request espressif/esp-idf!30918
2024-06-13 18:04:23 +08:00
Ondrej Kosta
83d554d370 Merge branch 'fix/esp_eth_p4_docs' into 'master'
docs(esp_eth): enabled Configure MAC and PHY section for P4

See merge request espressif/esp-idf!31489
2024-06-13 18:03:22 +08:00
Marius Vikhammer
113c8de0fc fix(rom): fixed esprv_int_set_threshold on C5/C61 2024-06-13 17:53:03 +08:00
Ivan Grokhotkov
c565f9e028 docs(console): add an API guides page on standard I/O
Closes https://github.com/espressif/esp-idf/issues/13907
2024-06-13 10:40:20 +02:00
Ondrej Kosta
d3a802b122 docs(esp_eth): enabled Configure MAC and PHY section for P4 2024-06-13 10:24:04 +02:00
Jiang Jiang Jian
eba93f00f4 Merge branch 'bugfix/fixed_dport_access_issue' into 'master'
fix(bt/controller): Fixed assert issue caused by DPORT access

See merge request espressif/esp-idf!31469
2024-06-13 15:58:00 +08:00
Roman Leonov
f5c1039de3 fix(enum): Returned usb_round_up_to_mps for control request of string descriptors 2024-06-13 09:23:34 +02:00
Jiang Jiang Jian
2152f07bc3 Merge branch 'bugfix/fix_no_mem_coex_issue' into 'master'
fix(nimble): Added change to handle extra memory for ext adv reattempt

See merge request espressif/esp-idf!31443
2024-06-13 14:31:34 +08:00
Alexey Lapshin
22c4ee05b0 feat(gdbstub): enable test for esp32p4 2024-06-13 13:21:47 +07:00
laokaiyao
ae9f64aa5b fix(isp_awb): fixed continuous mode only triggered once 2024-06-13 14:00:15 +08:00
Marius Vikhammer
b520b3d88a Merge branch 'feature/c61_cpu_intr_support' into 'master'
feat(intr): basic interrupt/freertos support for C61

Closes IDF-9280, IDF-9261, and IDF-9262

See merge request espressif/esp-idf!31450
2024-06-13 13:02:14 +08:00
Armando
ca60b88ea0 feat(psram): support APS3204L 2024-06-13 11:54:38 +08:00
linruihao
49c19fd857 fix(bt/controller): Fixed assert issue caused by DPORT access 2024-06-13 11:43:45 +08:00
yinqingzhao
d6a14c2641 fix(wifi):esp32c6 update ld 2024-06-13 11:25:55 +08:00
Island
0ebc44e2db Merge branch 'bugfix/fix_ble_evt_time' into 'master'
fix(ble/controller): Update esp32 bt-lib (1e63e23)

Closes BLERP-760, BLERP-759, BLERP-793, BLERP-794, IDFGH-12768, and BLERP-803

See merge request espressif/esp-idf!30878
2024-06-13 11:09:03 +08:00
Island
27f06bef11 Merge branch 'bugfix/fix_ble_set_adv_param_check' into 'master'
Bugfix/fix ble set adv param check

Closes BLERP-739

See merge request espressif/esp-idf!30745
2024-06-13 11:04:09 +08:00
Island
54da44509c Merge branch 'bugfix/fix_ble_security_param' into 'master'
fix(ble/bluedroid): Fixed issue with resetting BLE security parameters during initialization

Closes IDFGH-12909

See merge request espressif/esp-idf!31304
2024-06-13 11:03:22 +08:00
Kevin (Lao Kaiyao)
c23165bb34 Merge branch 'feature/touch_driver_ng_on_p4' into 'master'
feat(touch_sensor): touch driver ng on p4

Closes IDF-7477

See merge request espressif/esp-idf!25941
2024-06-13 02:32:53 +08:00
Li Shuai
063af3a7a1 fix(esp_wifi): fix the issue of tbtt interrupt miss caused by beacon monitor 2024-06-12 22:17:58 +08:00
Shen Meng Jing
2a7ff333be Merge branch 'docs/update_translation_for_3_docs_in_security' into 'master'
docs: Update the CN translation for three docs in security

Closes DOC-7842

See merge request espressif/esp-idf!31315
2024-06-12 20:47:52 +08:00
Aditya Patwardhan
ab90aec8f2 Merge branch 'fix/incorrect_pma_config_esp32p4' into 'master'
fix(esp_hw_support): Fix incorrect PMA configuration for ESP32-P4

See merge request espressif/esp-idf!31400
2024-06-12 20:01:09 +08:00
Sudeep Mohanty
0494dc45d1 Merge branch 'contrib/github_pr_13926' into 'master'
feat(ulp): Generate compile_commands.json for ULP targets (GitHub PR)

Closes IDFGH-12974 and IDFGH-10664

See merge request espressif/esp-idf!31461
2024-06-12 19:44:52 +08:00
zhanghaipeng
21bfbaca61 fix(ble/controller): Update esp32 bt-lib (1e63e23)
- Optimized GATT write and notify throughput on ESP32
- Fixed BLE connect timeout after using DTM on ESP32
- Added ke memory debug tools on ESP32
- Fixed memory leak issue when BLE SCAN and other event coexist on ESP32
2024-06-12 19:34:41 +08:00
shenmengjing
85557380dd docs: Update the CN translation for three docs in security 2024-06-12 19:01:11 +08:00
Roland Dobai
6f14f87e74 Merge branch 'refactor/avoid_using_git' into 'master'
fix(tools): Avoiding crashing when Git is not present in system when acquiring IDF version

Closes IDF-10003 and IDFGH-12856

See merge request espressif/esp-idf!31353
2024-06-12 18:53:03 +08:00
Jiang Jiang Jian
a5c0fcea8e Merge branch 'bugfix/wps_mode_change' into 'master'
fix(esp_wifi): Fix for issue in changing opmode when wps is enabled

Closes WIFIBUG-478

See merge request espressif/esp-idf!30111
2024-06-12 18:48:19 +08:00
Rahul Tank
23d88abbfb fix(nimble): Added change to handle extra memory for ext adv reattempt 2024-06-12 15:10:49 +05:30
Ivan Grokhotkov
6ddf31bbdc feat(tools): enable idf.py qemu integration for ESP32-S3 2024-06-12 10:50:13 +02:00
Ivan Grokhotkov
aad9ab02e8 feat(esp_eth): enable openeth in QEMU for ESP32-S3 2024-06-12 10:50:13 +02:00
Ivan Grokhotkov
74d5c40ac9 feat(tools): update qemu version to esp_develop_9.0.0_20240606 2024-06-12 10:50:13 +02:00
andylinpersonal
700f9b7e90 feat(ulp): Generate compile_commands.json for ulp targets
This commit adds the generation of the compile_command.json file for ULP
and LP core apps.

Merges https://github.com/espressif/esp-idf/pull/13926
2024-06-12 10:17:16 +02:00
laokaiyao
d263ab3145 docs(touch): add doc for cap touch sens driver 2024-06-12 15:44:25 +08:00
Martin Vychodil
c4ffee4b81 Merge branch 'feat/sdio_validate_hs_mode' into 'master'
feat(sdmmc): add high speed mode switch validation check for SDIO

See merge request espressif/esp-idf!30743
2024-06-12 15:38:44 +08:00
Roman Leonov
0a78f7207b Merge branch 'feature/usb_host_hub_uid_prereq' into 'master'
feat(hub): Added device tree nodes list and uid calculation logic

See merge request espressif/esp-idf!31043
2024-06-12 15:30:27 +08:00
aditi_lonkar
c890c85d3d fix(esp_wifi): Fix for issue in changing opmode when wps is enabled 2024-06-12 12:34:52 +05:30
Island
8057d80f25 Merge branch 'bugfix/fix_some_ble_bugs_240531' into 'master'
Fixed some BLE bugs 240531 on ESP32C3 (0738a61)

See merge request espressif/esp-idf!31260
2024-06-12 14:13:43 +08:00
Armando (Dou Yiwen)
cd1ec8426c Merge branch 'doc/isp_bf_dvp_programming_guide' into 'master'
isp: bf dvp programming guide

Closes IDF-10091 and IDF-10092

See merge request espressif/esp-idf!31361
2024-06-12 14:13:11 +08:00
morris
15cebb6be7 Merge branch 'feat/rmt_sleep_retention_esp32p4' into 'master'
feat(rmt): support sleep retention on esp32p4

Closes IDF-9936

See merge request espressif/esp-idf!31390
2024-06-12 13:47:55 +08:00
Armando
615f486791 fix(esp_system): fixed not necessary public require to bootloader_support 2024-06-12 12:13:06 +08:00
Armando
7861856db0 doc(isp): isp bf programming guide 2024-06-12 12:13:06 +08:00
Armando
55acf9e7b3 doc(isp): isp dvp programming guide 2024-06-12 12:13:06 +08:00
laokaiyao
e8b29653c0 feat(touch_sens): add example for the touch sensor v3 2024-06-12 12:09:17 +08:00
laokaiyao
b09a7a922d ci(touch): add test cases for cap touch sens driver 2024-06-12 12:09:17 +08:00
laokaiyao
865e3ee2de feat(touch_sens): touch sensor driver-ng on P4 2024-06-12 12:09:17 +08:00
Jiang Jiang Jian
11bbd9b76d Merge branch 'fix/fix_sta_scan_when_connected_cause_bcn_timeout_loop' into 'master'
fix(wifi): fix sta scan when connected cause bcn timeout loop issue

Closes WIFBUG-606

See merge request espressif/esp-idf!31438
2024-06-12 12:05:35 +08:00
Gao Xu
3ec99db2d5 Merge branch 'feat/esp32c5_mp_uart_support' into 'master'
feat(uart): support HP/LP uart on ESP32C5 MP

Closes IDF-8722

See merge request espressif/esp-idf!31024
2024-06-12 11:00:51 +08:00
Armando (Dou Yiwen)
3af0335b3f Merge branch 'feature/p4_lcdcam_dvp_cam_driver' into 'master'
feat(cam): add esp32-p4 lcd_cam dvp driver

Closes IDF-10029

See merge request espressif/esp-idf!31085
2024-06-12 10:44:44 +08:00
morris
31fd72538f feat(rmt): support sleep retention on esp32p4 2024-06-12 10:44:20 +08:00
Marius Vikhammer
34cc6c0464 Merge branch 'bugfix/clic_intr_thresh' into 'master'
fix(intr): fixed intr threshhold min level on C5

See merge request espressif/esp-idf!31269
2024-06-12 10:40:46 +08:00
Marius Vikhammer
b343ae4e42 Merge branch 'docs/c5_core_docs' into 'master'
docs(core): update misc docs for C5

Closes IDF-9484, IDF-9487, IDF-9483, IDF-10161, IDF-10164, and IDF-10160

See merge request espressif/esp-idf!31196
2024-06-12 10:18:37 +08:00
Marius Vikhammer
54fde52895 docs(c61): check misc system c61 docs 2024-06-12 09:38:42 +08:00
Marius Vikhammer
618eb845d6 docs(core): update misc docs for C5 2024-06-12 09:37:47 +08:00
Marius Vikhammer
eb24a57728 feat(intr): basic interrupt/freertos support for C61 2024-06-12 09:25:47 +08:00
Song Ruo Jing
3d7cce3d6a Merge branch 'feature/esp32c5_xtal_support' into 'master'
feat(clk): support ESP32C5 XTAL 40M/48M selection

Closes IDF-8943

See merge request espressif/esp-idf!31409
2024-06-12 00:18:50 +08:00
David Čermák
64fb5a2849 Merge branch 'feat/netif_errcode_wifitxfail_2' into 'master'
change(esp_netif): Add Non-Fatal errtype to indicate lower layer medium failure

See merge request espressif/esp-idf!29835
2024-06-11 22:02:49 +08:00
Mohammad-Mohsen Aseman-Manzar
51fb928d4b Fix stack overflow bug for examples/bluetooth/esp_hid_device when using esp32s3 with nimble
Related to 60354c39a9
2024-06-11 16:13:34 +03:30
gaoxu
ed6ca697cf feat(uart): support HP/LP uart on ESP32C5 MP 2024-06-11 19:34:03 +08:00
Peter Marcisovsky
bfcdc3ca0e Merge branch 'refactor/usb_device_examples_cdc_rx_cb' into 'master'
refactor(examples): Refactor rx callbacks in USB device examples with CDC device

Closes IDF-10095

See merge request espressif/esp-idf!31319
2024-06-11 18:45:38 +08:00
Kapil Gupta
63386f34bf Merge branch 'bugfix/wpa3_init_crash' into 'master'
fix(wpa_supplicant): Fix wpa3 AP crash because of dangling pointer

Closes WIFIBUG-540

See merge request espressif/esp-idf!31358
2024-06-11 18:06:30 +08:00
Song Ruo Jing
ac6101bf4e feat(clk): support ESP32C5 XTAL 40M/48M selection 2024-06-11 17:42:43 +08:00
wangtao@espressif.com
644944f30a fix(wifi): fix sta scan when connected cause bcn timeout loop issue 2024-06-11 16:25:51 +08:00
Jiang Jiang Jian
721b4c89c9 Merge branch 'bugfix/fix_configure_gcmp_failure_issue' into 'master'
fix(wifi): fix configure gcmp failure issue

Closes WIFIBUG-618

See merge request espressif/esp-idf!31312
2024-06-11 16:10:34 +08:00
Yogesh Mantri
586207207f change(esp_netif): Add Non-Fatal errtype to indicate lower layer medium failure
UDP application sends packet using esp_netif, underlying transport such
as Wi-Fi may drop the packet due to higher load. New error code
represent transient, non-fatal packet drop error. udp application may
use such errtype, for example to rate limit.
2024-06-11 09:20:49 +02:00
Roman Leonov
b688ee2cba feat(hub): Added device tree nodes list and uid calculation 2024-06-11 09:20:42 +02:00
Armando (Dou Yiwen)
bc581fb444 Merge branch 'change/rm_esp_dma_x_usage_in_doc' into 'master'
dma: remove esp_dma_x usage in programming guide

See merge request espressif/esp-idf!31427
2024-06-11 15:16:14 +08:00
Armando
9780c49128 change(dma): remove esp_dma_x usage in programming guide 2024-06-11 14:34:28 +08:00
Jakub Kocka
23ba79d5c7 fix(tools): Avoid crashing when Git is used to acquire IDF version
Closes https://github.com/espressif/esp-idf/issues/13345
2024-06-11 08:13:25 +02:00
Dong Heng
a347fa175f feat(cam): add esp32-p4 lcd_cam dvp driver 2024-06-11 10:59:27 +08:00
Wang Fang
469c51bf2b Merge branch 'docs/update_CN_translation_for_rng_p4' into 'master'
docs: Update Chinese translation of RNG document for P4 support

Closes DOC-7906

See merge request espressif/esp-idf!31130
2024-06-11 10:25:46 +08:00
wuzhenghui
083ef29dcd change(esp_hw_support): remove esp32c6 & esp32h2 solved todos 2024-06-11 10:20:23 +08:00
Roman Leonov
b86bd6bcdc Merge branch 'bugfix/usb_host_enum_unused_value' into 'master'
fix(enum): Fixed STALL on descriptor request, removed unused value

Closes IDF-10067

See merge request espressif/esp-idf!31349
2024-06-11 02:55:27 +08:00
Roman Leonov
d214c482f6 fix(enum): Added STALL handling on descriptor fetching 2024-06-10 19:45:15 +02:00
Roman Leonov
db1f13d259 fix(enum): Removed unused value 2024-06-10 19:45:15 +02:00
Roland Dobai
9babaaa1b9 Merge branch 'feat/add_espefuse_espsecure_subcommands' into 'master'
feat: add some espefuse subcommands to idf.py

See merge request espressif/esp-idf!29274
2024-06-10 22:12:35 +08:00
David Cermak
d3567b080f fix(esp_netif): Don't warn about disabling napt if wasn't enabled 2024-06-10 13:34:06 +02:00
harshal.patil
a8f509f481 fix(esp_hw_support): Fix incorrect PMA configuration for ESP32-P4
- As the PMA entry that made some memory regions cacheable was
assigned the highest priority, some intermediate inaccessible
memory regions bypassed protection.

- Added tests for the same

- Verified that even after changing the priority of the PMA entry,
a write operation at SOC_IRAM_LOW + 0x40 (a random RAM cached address)
still needs the same number (29) of CPU cycles.
2024-06-10 11:55:58 +05:30
Anton Maklakov
21258ad833 Merge branch 'fix/lwip-gnu-analyzer-warnings' into 'master'
fix(lwip): fix gcc -fanalyzer warnings

See merge request espressif/esp-idf!31395
2024-06-09 13:40:39 +08:00
Jan Beran
950428c2f4 feat(tools): Add often used espefuse subcommands to idf.py 2024-06-07 16:23:17 +02:00
zhangshuxian
c4ec627a00 docs: Delete user guide esp32-s2-devkitm-1 2024-06-07 17:08:44 +08:00
Kevin (Lao Kaiyao)
d92b8c37ce Merge branch 'feature/support_isp_ccm' into 'master'
feat(isp_ccm): support isp color correction matrix

Closes IDF-10080

See merge request espressif/esp-idf!31244
2024-06-07 16:36:58 +08:00
zhangshuxian
87f91fda97 docs: Delete user guide esp32-s2-devkitc-1 2024-06-07 16:09:03 +08:00
Alexey Lapshin
23b726acbd fix(lwip): fix gcc -fanalyzer warnings 2024-06-07 15:00:44 +07:00
morris
d4c7537ec6 Merge branch 'refator/re-enable_test_on_p4' into 'master'
fix(gptimer): re-enable legacy_test on p4

Closes IDF-8962

See merge request espressif/esp-idf!31372
2024-06-07 15:23:09 +08:00
Aditya Patwardhan
874388c628 Merge branch 'feature/enable_flash_encryption_for_c5' into 'master'
feat: enable flash encryption support for c5

Closes IDF-8622 and IDF-9480

See merge request espressif/esp-idf!29578
2024-06-07 14:30:39 +08:00
Wu Zheng Hui
8cd9e78944 Merge branch 'bugfix/fix_lp_timer_half_world_access' into 'master'
fix(hal): fix LP timer LL half word access

Closes PM-148

See merge request espressif/esp-idf!31370
2024-06-07 14:12:30 +08:00
muhaidong
812faf4f7d fix(wifi): fix configure gcmp failure issue 2024-06-07 14:04:23 +08:00
Chen Jichang
12d2eff381 fix(gptimer): re-enable test on P4
Remove timer_get_counter_time_sec in the ISR. Keep ISR as fast as
possible and not allow FPU usage.
2024-06-07 11:12:45 +08:00
laokaiyao
251fb331d2 feat(isp_ccm): support isp color correction matrix 2024-06-07 10:54:56 +08:00
C.S.M
6c4534b6f4 Merge branch 'bugfix/disable_fib_bod' into 'master'
fix(bod): Disable fib in bootloader so that interrupt can be triggered properly

See merge request espressif/esp-idf!31238
2024-06-07 10:32:41 +08:00
Konstantin Kondrashov
391aabf73f Merge branch 'feature/linux_esp_err_support' into 'master'
feat(esp_common): Support ESP_ERROR_CHECK_ macros on Linux

Closes IDFGH-12933

See merge request espressif/esp-idf!31320
2024-06-06 22:17:28 +08:00
Peter Marcisovsky
d8d92c1928 refactor(examples): Refactor rx callbacks in USB device examples with CDC device
- cdcacm_write_queue and cdcacm_write_flush moved from rx callback to main task
    - received data from rx callback are handled by freerots queues
2024-06-06 15:51:23 +02:00
wuzhenghui
657d0cadb7 fix(hal): fix PMU LL half word and byte access 2024-06-06 21:03:31 +08:00
Konstantin Kondrashov
fc5ce967a6 feat(esp_rom): Support precision attr for esp_rom_vprintf 2024-06-06 15:37:21 +03:00
Song Ruo Jing
745ca1a4eb Merge branch 'feature/ppa_add_test_cases' into 'master'
feat(ppa): add test cases to test PPA data correctness

See merge request espressif/esp-idf!31331
2024-06-06 20:29:56 +08:00
wuzhenghui
65bfc12f20 fix(hal): fix LP timer LL half word access 2024-06-06 20:07:53 +08:00
Shen Meng Jing
41684c5300 Merge branch 'docs/translate_rgb_lcd' into 'master'
Docs/Provide translation for rgb_lcd

Closes DOC-7919

See merge request espressif/esp-idf!31181
2024-06-06 20:00:52 +08:00
Radek Tandler
c21b5bbbf2 Merge branch 'feature/storage_nvs_psram' into 'master'
nvs_flash: Enable heap allocation in SPIRAM

See merge request espressif/esp-idf!27181
2024-06-06 19:51:12 +08:00
shenmengjing
11c2bb85a8 docs: Provide translation for rgb_lcd 2024-06-06 18:50:13 +08:00
Ondrej Kosta
e9adde3485 Merge branch 'bugfix/yeat_another_memory_leak' into 'master'
fix(esp_eth): Fixed another memory leak ESP MAC

Closes IDF-10079

See merge request espressif/esp-idf!31336
2024-06-06 18:48:09 +08:00
Song Ruo Jing
fb7afe607e feat(ppa): add test cases to test PPA data correctness 2024-06-06 18:10:53 +08:00
Shen Meng Jing
8eee7421cd Merge branch 'docs/translate_i2c' into 'master'
docs: Provide translation for I2C

Closes DOC-7815 and DOC-7745

See merge request espressif/esp-idf!30823
2024-06-06 16:54:40 +08:00
Ivan Grokhotkov
ac2092c362 Merge branch 'bugfix/sdmmc_psram_esp32s3' into 'master'
fix(sdmmc): fix invalid data when reading/writing PSRAM buffers

Closes IDF-10081

See merge request espressif/esp-idf!31346
2024-06-06 16:43:33 +08:00
C.S.M
7909291922 fix(bod): Disable fib in bootloader so that interrupt can be triggered properly 2024-06-06 15:22:53 +08:00
Wu Zheng Hui
3ba7d63305 Merge branch 'fix/support_union_lp_io_clk_control' into 'master'
fix(esp_driver_gpio): manage lp_io module clock by driver

Closes IDFGH-12693

See merge request espressif/esp-idf!30961
2024-06-06 14:29:18 +08:00
radek.tandler
ffaf1d2968 feat(nvs_flash): Added Kconfig option contolling NVS heap allocation source
NVS configuration is extended with Kconfig option controlling RAM area for
NVS heap allocation. Either Internal RAM or SPIRAM can be chosen.
Tests were extended to check memory consumption from Internal and SPIRAM pool with respect
to the Kconfig option chosen.
Documentation was extended with notes related to NVS behavior in various situations.
2024-06-06 08:25:51 +02:00
Shreyas Sheth
e331dff337 fix(wpa_supplicant): Fix wpa3 AP crash because of dangling pointer 2024-06-06 11:29:05 +05:30
Shen Meng Jing
d84b58ffb5 Merge branch 'docs/translate_secure_boot_v2' into 'master'
docs: Provide translation for secure-boot-v2.rst

Closes DOC-6190

See merge request espressif/esp-idf!30865
2024-06-06 13:15:03 +08:00
Rahul Tank
2dec6e1c3e Merge branch 'bugfix/ble_gap_unpair_error_code' into 'master'
fix(nimble): Added return code in ble_gap_unpair error logs

See merge request espressif/esp-idf!31289
2024-06-06 12:39:16 +08:00
Xu Si Yu
cc97991ff8 Merge branch 'feat/update_otbr_lib' into 'master'
feat(openthread): update BR lib

See merge request espressif/esp-idf!31296
2024-06-06 12:26:33 +08:00
caixinying-git
64dca12e76 docs: provide CN translation for security/secure-boot-v2.rst 2024-06-06 12:16:08 +08:00
shenmengjing
27860aa505 docs: Provide translation for I2C 2024-06-06 11:58:09 +08:00
Jiang Jiang Jian
b3b234f3e5 Merge branch 'bugfix/fix_null_data_issue_in_mesh' into 'master'
fix(wifi): do not send null data when scan start/done for mesh

Closes IDFGH-12810

See merge request espressif/esp-idf!31230
2024-06-06 11:22:56 +08:00
zhangyanjiao
fa4d07b7d7 fix(wifi): do not send null data when scan start/done for mesh
Closes https://github.com/espressif/esp-idf/issues/13786
2024-06-06 10:40:36 +08:00
Bogdan Kolendovskyy
75222cc6b7 Merge branch 'feature/emac_insufficient_tx_buffer_debug_log' into 'master'
feat(esp_eth): Do not produce error when insufficient TX buffer size happens

See merge request espressif/esp-idf!31175
2024-06-05 19:29:06 +08:00
Ivan Grokhotkov
6ed7e93676 fix(sdmmc): fix invalid data when reading/writing PSRAM buffers
Previous commit has enabled buffers in PSRAM for ESP32-P4. But this
also caused a regression for ESP32-S3, where PSRAM is not DMA capable.
This commit re-introduces the check for esp_ptr_external_ram in case
SOC_SDMMC_PSRAM_DMA_CAPABLE is not set.
2024-06-05 13:12:03 +02:00
wuzhenghui
cca222948a fix(esp_driver_gpio): manage lp_io module clock by driver
Closes https://github.com/espressif/esp-idf/issues/13683
2024-06-05 17:56:37 +08:00
Ondrej Kosta
f9071cfce1 fix(esp_eth): Fixed another memory leak ESP MAC 2024-06-05 11:30:04 +02:00
Gao Xu
78c40fd19a Merge branch 'esp32p4/add_adc_support' into 'master'
feat(adc): support ADC oneshot/continuous mode on ESP32P4

Closes IDF-6496 and IDF-6497

See merge request espressif/esp-idf!28281
2024-06-05 16:31:59 +08:00
David Čermák
4e5c837b5d Merge branch 'fix/netif_ppp_server_negotiate_own_addr' into 'master'
fix(esp_netif): Fix PPP server to negotiate its own address is configured

Closes IDFGH-12759

See merge request espressif/esp-idf!30810
2024-06-05 15:54:02 +08:00
David Čermák
5d77ee28f4 Merge branch 'feat/wifi_remote_examples' into 'master'
fix(esp_wifi_remote): Using remote wifi on standard (protocol) examples

Closes IDF-7063

See merge request espressif/esp-idf!26469
2024-06-05 15:49:39 +08:00
David Cermak
3a63cb80bb fix(esp_netif): Fix missing IPv6 autoconfig for PPP netifs
Closes https://github.com/espressif/esp-idf/issues/13713
2024-06-05 08:28:18 +02:00
Armando (Dou Yiwen)
4220c184c9 Merge branch 'change/change_isp_new_processer_pipeline_items' into 'master'
isp: don't init unnecessary isp pipeline items when doing isp_new_processor

See merge request espressif/esp-idf!31327
2024-06-05 14:26:48 +08:00
Konstantin Kondrashov
023d112cbf feat(esp_common): Support ESP_ERROR_CHECK_ macros on Linux
Closes https://github.com/espressif/esp-idf/issues/13893
2024-06-05 09:00:51 +03:00
Konstantin Kondrashov
788455f3a8 Merge branch 'feature/bootloader_add_extern_c' into 'master'
fix(bootloader_support): Add missing c linkage to some headers

Closes IDFGH-12930

See merge request espressif/esp-idf!31300
2024-06-05 13:54:35 +08:00
Alexey Lapshin
fc01fbf66e Merge branch 'fix/8dot3-toolchain-hotfix' into 'master'
fix(tools): hotfix for xtensa toolchain (8dot3 naming in windows)

See merge request espressif/esp-idf!31306
2024-06-05 12:18:10 +08:00
Abhinav Kudnar
cefcba9910 fix(nimble): Added return code in ble_gap_unpair error logs 2024-06-05 09:32:49 +05:30
morris
9ba36619f9 Merge branch 'fix/example_blink_esp32h2' into 'master'
fix(blink): fix sdkconfig defaults name for esp32h2

See merge request espressif/esp-idf!31326
2024-06-05 11:56:43 +08:00
Rahul Tank
2bc29a788a Merge branch 'bugfix/explict_free_adv_data' into 'master'
fix(nimble): Explicitly NULL assign adv data

Closes BLERP-795

See merge request espressif/esp-idf!31286
2024-06-05 11:41:15 +08:00
zhanghaipeng
42ca04b586 fix(ble/bluedroid): Fixed issue with resetting BLE security parameters during initialization 2024-06-05 11:40:58 +08:00
Armando
b4ddeeeeb9 change(isp): don't init unnecessary isp pipeline items when doing isp_new_processor 2024-06-05 11:10:24 +08:00
Anton Maklakov
4ed07ef078 fix(blink): fix sdkconfig defaults name 2024-06-05 10:03:45 +07:00
Armando (Dou Yiwen)
efe63f8950 Merge branch 'bugfix/fix_some_isp_issues' into 'master'
isp: fix some isp issues

See merge request espressif/esp-idf!31298
2024-06-05 10:16:59 +08:00
Shu Chen
d3192b610b Merge branch 'fix/ieee802154_can_not_sleep_when_only_pm_enable' into 'master'
fix(802.15.4): fixed ieee802154 will sleep when only pm enabled

Closes TCI-1620

See merge request espressif/esp-idf!31288
2024-06-05 10:01:06 +08:00
Shu Chen
d051410609 Merge branch 'bugfix/remove_task_for_ot_tasklet' into 'master'
fix(openthread): remove the empty task for openthread tasklets

Closes TZ-902

See merge request espressif/esp-idf!31176
2024-06-05 09:47:51 +08:00
igor.udot
d817841cea ci(secure_boot): replace subprocess with esptool 2024-06-05 09:45:05 +08:00
Konstantin Kondrashov
3bc8792fce feat(doc): Adds note for parttool that if SB or FE are on
Use "--esptool-erase-args=force" to ignore the esptool error
2024-06-04 18:18:26 +03:00
Alexey Lapshin
f41949d06f fix(tools): hotfix for xtensa toolchain (8dot3 naming in windows) 2024-06-04 18:32:25 +04:00
morris
a7e7fe2ee8 Merge branch 'refactor/async_memcpy_allocate_dma_memory' into 'master'
refactor(async_memcpy): clean up memory allocation code

See merge request espressif/esp-idf!31197
2024-06-04 21:09:48 +08:00
morris
d922bf5c02 Merge branch 'refactor/emac_alloc_dma_buffer' into 'master'
refactor(emac): use heap component API to allocate cached aligned DMA buffer

See merge request espressif/esp-idf!31254
2024-06-04 21:04:51 +08:00
linruihao
1214a9684a fix(bt): Overwrite a function in esp32c3 eco7 rom 2024-06-04 19:25:19 +08:00
Marius Vikhammer
21c111465a Merge branch 'docs/c61_support' into 'master'
docs(c61): add docs build for C61

Closes IDF-9287

See merge request espressif/esp-idf!31182
2024-06-04 18:13:38 +08:00
Bogdan Kolendovskyy
514d8cb51d feat(esp_eth): Do not produce error when insufficient TX buffer size happens 2024-06-04 12:06:59 +02:00
andylinpersonal
100f23a1c1 fix(bootloader_support): Add missing c linkage to some headers
Merges https://github.com/espressif/esp-idf/pull/13890
2024-06-04 12:39:39 +03:00
morris
34e300d35d Merge branch 'feat/update_pre_commit_codespell_ver' into 'master'
ci(pre-commit): update codespell version

See merge request espressif/esp-idf!31303
2024-06-04 17:11:19 +08:00
nilesh.kale
d1fa51e3c9 feat: enable flash encryption support for c5
This commit provide support for flash encryption feature in ESP32C5
2024-06-04 14:10:21 +05:30
Chen Yudong
7199da84be ci(pre-commit): update codespell version 2024-06-04 15:55:58 +08:00
Armando
ab2e430d2c fix(isp): reverted only raw8 input limits 2024-06-04 15:09:04 +08:00
Armando
ba79a66502 change(isp): change isp_af_window_t to isp_window_t 2024-06-04 15:09:04 +08:00
Konstantin Kondrashov
9a1f67f222 Merge branch 'feature/update_efuse_doc_for_c5' into 'master'
feat(doc): Update efuse doc for C5

Closes IDF-9492

See merge request espressif/esp-idf!31237
2024-06-04 14:37:03 +08:00
zwx
6a11208c47 feat(openthread): update BR lib 2024-06-04 12:18:13 +08:00
Mahavir Jain
4ad401f872 Merge branch 'bugfix/update_ecdsa_api_for_c5' into 'master'
fix(hal): update ECDSA API to set register values correctly for ESP32C5

See merge request espressif/esp-idf!31219
2024-06-04 12:14:01 +08:00
Shu Chen
6d3cbbfadd Merge branch 'feature/silent_ieee802154_buffer_full' into 'master'
feat(802154): silent the ieee802154 logs

See merge request espressif/esp-idf!31090
2024-06-04 10:47:52 +08:00
Michael (XIAO Xufeng)
9468bc3784 Merge branch 'fix/check_ring_buffer_before_fill' into 'master'
fix(uart): remove unnecessary wait when sending message to ring buffer

See merge request espressif/esp-idf!30839
2024-06-04 10:47:00 +08:00
Kevin (Lao Kaiyao)
ad57a47d21 Merge branch 'feature/support_isp_awb' into 'master'
feat(isp): Support ISP Auto White Balance (AWB)

Closes IDF-9593

See merge request espressif/esp-idf!30137
2024-06-04 10:37:16 +08:00
Island
82af82501c Merge branch 'bugfix/esp32c2_fixed_some_ble_issues_master' into 'master'
Bugfix/esp32c2 fixed some ble issues master

Closes BLERP-768, BLERP-789, BLERP-765, BLERP-766, BLERP-769, and BLERP-655

See merge request espressif/esp-idf!31215
2024-06-04 10:21:55 +08:00
laokaiyao
846287bc40 docs(isp_awb): add isp awb programming guide 2024-06-03 23:41:48 +08:00
laokaiyao
28a1091643 feat(isp_awb): support isp auto white balance 2024-06-03 23:41:48 +08:00
laokaiyao
1933973f99 feat(hal_utils): added float to fixed point function 2024-06-03 23:41:48 +08:00
morris
8760e6d2a7 Merge branch 'refactor/i2s_dma_buffer_allocation' into 'master'
refactor(i2s): clean up DMA buffer allocation

Closes IDF-9636

See merge request espressif/esp-idf!31282
2024-06-03 21:26:04 +08:00
Rahul Tank
bd3fddc6b3 fix(nimble): Explicitly NULL assign adv data 2024-06-03 18:08:20 +05:30
zwx
10f0077baf feat(802154): log buffer full message in debug mode only 2024-06-03 20:22:06 +08:00
Roland Dobai
ba60c2dbc9 Merge branch 'fix/install_on_nixos' into 'master'
fix(tools): Add suggestion how to install ESP-IDF on NixOS

Closes IDFGH-12839

See merge request espressif/esp-idf!31147
2024-06-03 20:09:35 +08:00
Song Ruo Jing
2d8c719fbb Merge branch 'feature/support_uart_sleep_retention' into 'master'
feat(uart): support uart module sleep retention

Closes IDF-8457

See merge request espressif/esp-idf!26729
2024-06-03 20:05:54 +08:00
Roman Leonov
8d3f4cad1e Merge branch 'refactor/usb_host_enum_as_driver' into 'master'
refactor(hub): ENUM Driver

Closes IDF-9523

See merge request espressif/esp-idf!29892
2024-06-03 19:59:50 +08:00
zwx
38754c6224 fix(802.15.4): fixed ieee802154 will sleep when only pm enabled 2024-06-03 19:53:08 +08:00
Armando (Dou Yiwen)
137a9a0479 Merge branch 'bugfix/fix_wrong_soc_af_window_macro_usage' into 'master'
isp: fixed wrong isp af window soc macro usage

See merge request espressif/esp-idf!31273
2024-06-03 18:55:32 +08:00
Wang Meng Yang
bf821f347d Merge branch 'fix/assert_in_bt_controller' into 'master'
fix(bt): fix the assert triggered during APB TX

Closes BTQABR2023-301

See merge request espressif/esp-idf!31069
2024-06-03 17:41:15 +08:00
gaoxu
795f3fe377 feat(adc): support ADC continuous mode on ESP32P4 2024-06-03 16:50:39 +08:00
Kevin (Lao Kaiyao)
d8b7eb20d7 Merge branch 'fix/peripheral_driver_kconfig_inconsistence' into 'master'
fix(kconfig): fixed peripheral driver kconfig inconsistencies

See merge request espressif/esp-idf!31243
2024-06-03 16:44:32 +08:00
Roman Leonov
0de6267eeb docs(enum): Added description for Enumeration process (Enum Driver) 2024-06-03 10:27:37 +02:00
Roman Leonov
39f91a3d5a refactor(enum): Curved out Enumeration process from Hub Driver 2024-06-03 10:27:37 +02:00
Aditya Patwardhan
2f77896198 Merge branch 'contrib/github_pr_13618' into 'master'
fix(esp-tls): make the wolfSSL backend send entire client certificate… (GitHub PR)

Closes IDFGH-12621

See merge request espressif/esp-idf!31055
2024-06-03 16:21:30 +08:00
Darian
cfb8af0cd0 Merge branch 'feature/freertos_smp_update_to_v11_1_0' into 'master'
FreerTOS: Update Amazon SMP FreeRTOS files to V11.1.0

See merge request espressif/esp-idf!31255
2024-06-03 16:17:01 +08:00
morris
2b1466b070 refactor(i2s): clean up DMA buffer allocation 2024-06-03 16:13:13 +08:00
Jiang Jiang Jian
0e39655d70 Merge branch 'bugfix/fix_disable_gcmp_choose_pairwise_cipher_wrong_issue' into 'master'
fix(wifi): fixed disable gcmp choose pairwise cipher wrong issue

Closes WIFIBUG-603 and WIFIBUG-403

See merge request espressif/esp-idf!31229
2024-06-03 15:41:03 +08:00
Aditya Patwardhan
f412149dc9 Merge branch 'feat/enable_secure_boot_for_c5' into 'master'
feat: enable secure boot for c5

Closes IDF-8623 and IDF-9478

See merge request espressif/esp-idf!29774
2024-06-03 15:35:51 +08:00
gongyantao
e80feeab1a fix(bt): fix some issues in bt controller
1: fix return incorrect link key with hci command rd_stored_link_key
2: fix the assert triggered during APB TX
2024-06-03 15:21:38 +08:00
muhaidong
ab12901f44 fix(wifi): fixed disable gcmp choose pairwise cipher wrong issue 2024-06-03 14:52:51 +08:00
Armando
8021d8fcc8 fix(isp): fixed wrong isp af window soc macro usage 2024-06-03 12:51:59 +08:00
Song Ruo Jing
dca7c286d0 feat(uart): support uart module sleep retention on c6/h2/p4 2024-06-03 12:40:43 +08:00
Marius Vikhammer
13e5b6f335 Merge branch 'feature/lp_core_pcnt' into 'master'
feat(ulp): add pulse counter example for lp core

Closes IDF-9137

See merge request espressif/esp-idf!31163
2024-06-03 12:33:50 +08:00
Marius Vikhammer
d42d77b55d Merge branch 'docs/fix_broken_links' into 'master'
docs(links): fix broken links found in CI

See merge request espressif/esp-idf!30977
2024-06-03 12:05:19 +08:00
Jiang Jiang Jian
b3f2f9c12b Merge branch 'bugfix/fix_data_len_not_correct_in_he_actions' into 'master'
fix(wifi):fix data len not correct in he actions

See merge request espressif/esp-idf!31124
2024-06-03 12:04:50 +08:00
Marius Vikhammer
61f1975882 fix(intr): fixed intr threshhold min level on C5 2024-06-03 11:54:48 +08:00
laokaiyao
db77f66721 fix(kconfig): fixed peripheral driver kconfig inconsistencies 2024-06-03 11:51:00 +08:00
Jiang Jiang Jian
2324dbdcae Merge branch 'bugfix/fix_dhcp_pool_issue_on_dhcp_server' into 'master'
fix(lwip): fixed the dhcp pool error on dhcp server

Closes IDF-9977

See merge request espressif/esp-idf!30987
2024-06-03 11:18:01 +08:00
chenjianhua
f4edc80019 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(0738a61)
- Fixed BT BB interrupt allocation
- Refactor the prefix of assert print
- Fixed HCI LE set privacy mode command handle
2024-06-03 11:15:56 +08:00
Jiang Jiang Jian
7ac98d33e3 Merge branch 'bugfix/annotation_a_rom_function' into 'master'
fix(wifi): annotate a rom function

See merge request espressif/esp-idf!31142
2024-06-03 10:56:56 +08:00
Xiaoyu Liu
9a5ca8fac6 feat(console): Add an API function to de-register the specified console command 2024-06-03 10:48:22 +08:00
Marius Vikhammer
2eb4cd3d84 docs(c61): add docs build for C61 2024-06-03 10:24:27 +08:00
Dai Zi Yan
6127f2686e Merge branch 'docs/update_cn_tran' into 'master'
docs: update CN trans for heap_debug

Closes DOC-7888

See merge request espressif/esp-idf!31115
2024-06-03 10:17:00 +08:00
Darian Leung
5d75bfdb3c feat(freertos/smp): Update SMP FreeRTOS files to V11.1.0
This commit updates the source files of Amazon SMP FreeRTOS to upstream
V11.1.0 (https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/V11.1.0).

This version contains some new features and bugfixes. See upstream V11.1.0
release notes for more details.

Note: ESP-IDF specific changes to the source file have been preserved
2024-06-03 03:13:58 +08:00
morris
e5b7987e21 refactor(emac): use heap component API to allocate cached aligned DMA buffer 2024-06-02 22:19:46 +08:00
Rahul Tank
c7bbfaee25 Merge branch 'bugfix/copy_ext_adv_data_reattempt' into 'master'
fix(nimble): Use appendfrom to duplicate adv data

See merge request espressif/esp-idf!31224
2024-06-01 18:56:22 +08:00
Armando (Dou Yiwen)
b28599aa9a Merge branch 'feat/isp_dvp_driver' into 'master'
isp: dvp driver

Closes IDF-6501

See merge request espressif/esp-idf!28610
2024-06-01 02:52:59 +08:00
Darian
6601b7d92f Merge branch 'fix/usb_tests_rmv_str_desc_checks' into 'master'
fix(usb): Remove product and serial string descriptor checks from unit tests

Closes IDFCI-1783 and IDFCI-1766

See merge request espressif/esp-idf!31201
2024-06-01 01:46:30 +08:00
Wan Lei
55d4de5129 Merge branch 'fix/spi_hd_seg_fix_iwdt_timeout' into 'master'
fix(spi_slave_hd): fix seg mode potential iwdt timeout when multi task call

Closes IDF-9671

See merge request espressif/esp-idf!30224
2024-05-31 20:36:34 +08:00
C.S.M
c285c7a090 Merge branch 'bugfix/distin_err_type' into 'master'
bugfix(jpeg): Fix that jpeg driver does not distinguish err handle mode

See merge request espressif/esp-idf!31180
2024-05-31 19:08:01 +08:00
Armando
e08469517c test(isp_dvp): added isp_dvp test 2024-05-31 18:47:27 +08:00
Armando
6930bfdef6 fix(csi): fixed csi wrong state machine settings 2024-05-31 18:47:27 +08:00
Armando
70d2ed5ee8 feat(isp): added isp dvp driver 2024-05-31 18:47:27 +08:00
Konstantin Kondrashov
cdc5597d91 feat(doc): Update efuse doc for C5 2024-05-31 13:37:35 +03:00
Roland Dobai
7b7f73ba2a Merge branch 'feat/add_espsecure_subcommands' into 'master'
feat: Add espsecure subcommands into idf.py

See merge request espressif/esp-idf!29424
2024-05-31 18:29:55 +08:00
yinqingzhao
18f694b4fa fix(wifi):fix data len not correct in he actions 2024-05-31 18:20:31 +08:00
Wang Meng Yang
809f1e347b Merge branch 'bugfix/l2cap_use_wrong_handle' into 'master'
fix(bt/bluedroid):  Fixed the issue of using the wrong handle to handle the BTA_JV_L2CAP_READ_EVT event

Closes IDFGH-12886

See merge request espressif/esp-idf!31098
2024-05-31 17:47:05 +08:00
Konstantin Kondrashov
53c0886469 Merge branch 'feature/esp_rom_vprintf' into 'master'
feat(esp_rom): Adds esp_rom_vprintf with the same capabilities as esp_rom_print

See merge request espressif/esp-idf!31030
2024-05-31 17:42:56 +08:00
Mo Fei Fei
5d4963bd36 Merge branch 'docs/update_cn_trans_usb_device' into 'master'
docs: update cn trans for use-device.rst

Closes DOC-7518

See merge request espressif/esp-idf!30869
2024-05-31 16:00:20 +08:00
Xiaoyu Liu
2082ce09b6 feat(freertos): Add examples showing basic freertos SMP usage and common APIs 2024-05-31 15:32:24 +08:00
Island
f69f8a376e Merge branch 'bugfix/bleqabr24-549' into 'master'
fix(ble_mesh): fix issues in mesh deinit

Closes BLERP-720

See merge request espressif/esp-idf!30539
2024-05-31 15:18:22 +08:00
sonika.rathi
1af74c8a4a feat(sdmmc): add high speed mode switch validation check for SDIO 2024-05-31 09:14:36 +02:00
Roland Dobai
d1d8a81f38 fix(tools): Add suggestion how to install ESP-IDF on NixOS
Closes https://github.com/espressif/esp-idf/issues/13806
2024-05-31 09:00:14 +02:00
wuzhenghui
cced83e790 fix(esp_hw_support): reset smp core state if the sleep request is rejected by hardware 2024-05-31 14:51:18 +08:00
wuzhenghui
7a9fb14f90 feat(esp_hw_support): bypass rst_reason override for esp32p4eco1 2024-05-31 14:51:15 +08:00
wuzhenghui
edbd2266a4 feat(esp_hw_support): support LP_Peripheral & CNNT power domain auto powerdown on esp32p4eco1 2024-05-31 14:51:10 +08:00
Jiang Jiang Jian
e382f401f8 Merge branch 'bugfix/add_deprecated_warning_for_wpa3_ext' into 'master'
fix(wifi): Add back `WIFI_AUTH_WPA3_EXT_PSK` and `WIFI_AUTH_WPA3_EXT_PSK_MIXED_MODE` for v5.x (instead of removing them)

See merge request espressif/esp-idf!31164
2024-05-31 14:27:55 +08:00
Rahul Tank
82bb1a79e4 fix(nimble): Use appendfrom to duplicate adv data 2024-05-31 11:55:13 +05:30
mofeifei
4d936cce2b docs: update cn trans for use-device.rst 2024-05-31 14:15:10 +08:00
zwl
5cd85b832c ble: fixed ble some issues on esp32c6 and esp32h2 2024-05-31 14:03:29 +08:00
zwl
a3e6a6b43d ble: fixed ble some issues on esp32c2 2024-05-31 14:03:29 +08:00
nilesh.kale
7c8a43ffc2 fix(hal): update ECDSA API to set register values correctly for ESP32C5
This commit updates the ECDSA API to enable and clear interrupts by
setting the respective registers correctly for the ESP32C5.
2024-05-31 11:33:18 +05:30
C.S.M
a20d865bf5 bugfix(jpeg): Fix that jpeg driver does not distinguish err handle mode 2024-05-31 14:03:09 +08:00
Alexey Lapshin
a4e6f57a40 Merge branch 'feature/update-toolchain-to-esp-13.2.0_20240530' into 'master'
feat(tools): update toolchain version to esp-13.2.0_20240530

Closes GCC-347, GCC-364, and IDF-9712

See merge request espressif/esp-idf!31206
2024-05-31 13:45:05 +08:00
morris
7425154472 Merge branch 'change/dw_gdma_memory_allocation' into 'master'
change(dw_gdma): clean up memory allocation for link list items

Closes IDF-9861

See merge request espressif/esp-idf!31167
2024-05-31 12:55:08 +08:00
Ivan Grokhotkov
1c2b273e31 Merge branch 'fix/component_enotsup' into 'master'
fix: correctly resolve component requirements

Closes IDFGH-12425

See merge request espressif/esp-idf!30112
2024-05-31 12:43:17 +08:00
Mahavir Jain
ea726f3f98 Merge branch 'feature/enable_ecdsa_support_for_c5' into 'master'
feat: enabled ecdsa support for c5

Closes IDF-8618

See merge request espressif/esp-idf!29945
2024-05-31 12:28:36 +08:00
morris
14435b0dae Merge branch 'refactor/esp_lcd_io_header_files' into 'master'
i80_lcd: add help function to allocate draw buffer with proper alignment

See merge request espressif/esp-idf!31178
2024-05-31 11:33:24 +08:00
luoxu
cee98dae25 fix(ble_mesh): fix issues in mesh deinit 2024-05-31 11:10:30 +08:00
Alexey Lapshin
10b73152a9 feat(tools): update toolchain version to esp-13.2.0_20240530 2024-05-31 06:02:16 +04:00
Daniel Paul
26502b7e2e Merge branch 'docs/add_component_manager_to_build_system' into 'master'
Docs/add component manager to build system

See merge request espressif/esp-idf!29064
2024-05-30 22:47:49 +08:00
Frantisek Hrbata
fbe8bf89ee fix: properly resolve component dependencies
There is currently a bug in the __build_resolve_and_add_req function in
tools/cmake/build.cmake where the check for registered component
requirements is incorrectly applied to the component itself rather than
its dependencies. This issue likely originated from a typo, using
component_target instead of _component_target. To prevent further
confusion, _component_target has been renamed to _req_target.

Fixing this revealed multiple incorrect dependencies for the Linux
target, which have now been resolved by explicitly specifying the
dependencies for the Linux target.

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

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-05-30 22:01:55 +08:00
Sarvesh Bodakhe
4cde0246a6 fix(wifi): Add back WIFI_AUTH_WPA3_EXT_PSK and WIFI_AUTH_WPA3_EXT_PSK_MIXED_MODE
Add back above authmodes instead of removing and merging them with WIFI_AUTH_WPA3_PSK
in minor releases during v5.x.

These authmodes will be removed from v6.0
2024-05-30 19:16:45 +05:30
Jiang Jiang Jian
cb81d1a4f9 Merge branch 'doc/update_esp32c6_power_statics' into 'master'
docs(lowpower): updating low-power statistics in Wi-Fi scenarios

See merge request espressif/esp-idf!31188
2024-05-30 21:18:12 +08:00
Frank Mertens
7a1239457e change(esp-tls): make wolfSSL backend send SNI and enable OCSP
Almost all sites these days are virtually hosted and hence
SNI (server name indicator TLS extension) should be enabled by
default.

In addition this change enables OCSP (online server status protocol)
support for esp-tls clients using the wolfSSL backend.
The 3 code lines enable OCSP stabling v1.
By default this feature is disabled.
(I will send another PR on esp-wolfssl repository to allow to
enable it easily.)
2024-05-30 21:02:12 +08:00
Frank Mertens
7e1e3df43c fix(esp-tls): make the wolfSSL backend send entire client certificate chains
This change makes the wolfSSL backend sent the complete TLS client certificate
chain. This align the wolfSSL backend with the behavior of the mbedTLS backend.
Some servers need the intermediate certificates to verify a client certificate.
If the provided PEM file contains only a single certificate this change has no effect
and the behavior will be as before.
This impacts higher level APIs to function as someone would expect.
E.g.: esp_websocket_client_config_t.client_cert: when passing here a pem
file containing 2 certificates (the CA's and the client's) it would be
expected that both are transmitted during TLS handshake.
2024-05-30 21:02:12 +08:00
Aleksei Apaseev
b0feec7e24 Merge branch 'ci/improve_dynamic_pipeline_report' into 'master'
feat(ci): Add known failure cases to the target test report

Closes IDFCI-1989 and IDFCI-1992

See merge request espressif/esp-idf!30925
2024-05-30 19:37:42 +08:00
Zhang Shu Xian
d7a2520493 Merge branch 'docs/translate-phy' into 'master'
docs: Update CN translation for phy by adding or removing blank line and space

Closes DOC-7834

See merge request espressif/esp-idf!30858
2024-05-30 19:28:29 +08:00
Zhang Shu Xian
23caae99f6 docs: Update CN translation for phy by adding or removing blank line and space 2024-05-30 19:28:29 +08:00
Zhang Shu Xian
7923e571a0 Merge branch 'docs/translate_host_apps' into 'master'
docs: Provide CN translation for host apps

Closes DOC-7837

See merge request espressif/esp-idf!30887
2024-05-30 19:27:36 +08:00
Zhang Shu Xian
74ef1b47f7 Merge branch 'docs/translate_establish_serial_connection' into 'master'
docs: Provide CN translation for establish serial connection

Closes DOC-7835

See merge request espressif/esp-idf!30864
2024-05-30 19:26:06 +08:00
Darian Leung
4954884527 fix(usb): Make string descriptor checks in unit tests optional
Checking for an exact match for product or serial and string descriptors can
lead to test failures if the USB devices connected to the runner is changed. This
commit adds some kconfig options to make the string descriptor checks optional,
with the product and serial string checks being disabled by default.
2024-05-30 19:25:18 +08:00
Xu Si Yu
494e0ab170 fix(openthread): remove the empty task for openthread tasklets 2024-05-30 19:09:46 +08:00
morris
5eaec29c02 feat(i80_lcd): add help function to allocate draw buffer with proper alignment 2024-05-30 18:33:31 +08:00
morris
c4b2bd89da change(esp_lcd): split header files by different IO interface 2024-05-30 18:33:31 +08:00
Konstantin Kondrashov
a3be04a087 feat(esp_rom): Adds esp_rom_vprintf with the same capabilities as esp_rom_print 2024-05-30 13:30:12 +03:00
morris
3e3f82a3fd refactor(async_memcpy): clean up memory allocation code 2024-05-30 18:26:34 +08:00
Rahul Tank
fdbe535434 Merge branch 'bugfix/free_reattempt_adv_data' into 'master'
fix(nimble): Added change to free memory in case of failure

See merge request espressif/esp-idf!31099
2024-05-30 17:19:40 +08:00
wuzhenghui
cf3c440369 docs(lowpower): updating low-power statistics in Wi-Fi scenarios 2024-05-30 16:45:01 +08:00
Shen Meng Jing
7cacee09ad Merge branch 'docs/translate_three_docs_in_lcd' into 'master'
docs: Provide translation for three docs in lcd

Closes DOC-7887

See merge request espressif/esp-idf!31059
2024-05-30 16:33:29 +08:00
shenmengjing
fad7c66347 docs: Provide translation for three docs in lcd 2024-05-30 15:08:07 +08:00
Marius Vikhammer
7495f3bf28 feat(ulp): add pulse counter example for lp core 2024-05-30 14:30:00 +08:00
Marius Vikhammer
bfe974a9a2 docs(links): fix broken links found in CI 2024-05-30 14:21:00 +08:00
nilesh.kale
f5dd1074b6 feat: enable secure boot for c5
This MR added suppport for secure boot in ESP32-C5.
2024-05-30 11:43:17 +05:30
Mahavir Jain
019165b950 Merge branch 'feature/esp32p4_apm_api' into 'master'
feat: add esp32p4 APM HAL/LL API

Closes IDF-9651

See merge request espressif/esp-idf!30251
2024-05-30 14:08:45 +08:00
Harshit Malpani
245ec91456 Merge branch 'contrib/github_pr_13746' into 'master'
feat(http_server): add 413 Payload Too Large response (GitHub PR)

Closes IDFGH-12767

See merge request espressif/esp-idf!31058
2024-05-30 14:02:57 +08:00
Shen Meng Jing
b22bcff04e Merge branch 'docs/fix_some_typos' into 'master'
Docs/Fix some typos and add some related docs

Closes DOC-6477 and DOC-4988

See merge request espressif/esp-idf!31031
2024-05-30 12:33:56 +08:00
shenmengjing
2f3562a6a3 docs: Fix some typos in ESP32-DevKitC V4 2024-05-30 11:55:06 +08:00
Sachin Billore
31d86175da feat: add esp32p4 APM HAL/LL API 2024-05-29 21:37:49 +05:30
morris
0453e8608b Merge branch 'bugfix/esp32h2_iomux_retention' into 'master'
fix(gpio): fix IO 21-27 IOMUX registers not being backed up on ESP32H2

See merge request espressif/esp-idf!31168
2024-05-29 21:31:36 +08:00
Harshit Malpani
8adcd2b460 fix: Fix spelling mistakes in esp_err_to_name.c 2024-05-29 18:30:01 +05:30
Harshit Malpani
61a3466941 fix: Fix spelling mistakes in esp_http_server.h 2024-05-29 18:30:00 +05:30
Maciej Małecki
e40b1402e4 feat(http_server): add 413 Payload Too Large response
While not useful for the HTTP parser itself, this is very useful for
memory-limited consumers of the HTTP server API.

Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
2024-05-29 18:30:00 +05:30
Martin Vychodil
3b771d7af2 Merge branch 'fix/disable_erase_check_for_spiffs_on_linux' into 'master'
fix(storage/esp_partition): add option to control erase check during write for linux target

Closes IDF-9201

See merge request espressif/esp-idf!29294
2024-05-29 20:35:31 +08:00
Zhang Shu Xian
a946d0cddf Merge branch 'docs/translate_ota' into 'master'
docs: Update CN translation for ota

Closes DOC-7845

See merge request espressif/esp-idf!30910
2024-05-29 20:06:07 +08:00
Zhang Shu Xian
82bea7f663 docs: Update CN translation for ota 2024-05-29 20:06:06 +08:00
David Cermak
39f4f98aa1 fix(examples): Add wifi_remote option to common connect example
* Add MQTT test configuration with WiFi on ESP32-P4
* Document esp_wifi_remote workflow in the example's README
2024-05-29 19:42:00 +08:00
Wang Meng Yang
651e6a7b32 Merge branch 'bugfix/fix_rsw_collision' into 'master'
fix(bt/controller): Fixed role switch LMP collision bug

Closes BTQABR2023-283

See merge request espressif/esp-idf!30581
2024-05-29 19:38:19 +08:00
Chen Yu Dong
79cd344476 Merge branch 'ci/fix_get_mr_component' into 'master'
ci: fix get mr components, stop printing out debugging info

See merge request espressif/esp-idf!31162
2024-05-29 19:17:07 +08:00
zhangshuxian
7a72b14546 docs: Provide CN translation for establish serial connection 2024-05-29 19:08:03 +08:00
zhangshuxian
311362e582 docs: Provide translation for host apps 2024-05-29 19:06:13 +08:00
Zhang Shu Xian
200885d46b Merge branch 'docs/translate_esp_idf_tests_with_pytest' into 'master'
docs: update CN trans for esp-idf-tests-with-pytest.rst

Closes DOC-7863

See merge request espressif/esp-idf!30957
2024-05-29 18:59:48 +08:00
Tomas Rohlinek
2ccc9bcef9 Merge branch 'fix/unopened_stdout_console' into 'master'
fix(newlib/stdio): incorrect stdout redirect with /dev/console

Closes IDFGH-12416

See merge request espressif/esp-idf!30324
2024-05-29 18:40:09 +08:00
Song Ruo Jing
612e970900 fix(gpio): fix IO 21-27 IOMUX registers not being backed up on ESP32H2 2024-05-29 18:31:24 +08:00
zhangshuxian
3240d2d695 docs: update CN trans for esp-idf-tests-with-pytest.rst 2024-05-29 18:07:50 +08:00
David Cermak
99b0a765a8 fix(esp_netif): Fix PPP server to negotiate its own address is configured
Closes https://github.com/espressif/esp-protocols/issues/565
2024-05-29 18:03:04 +08:00
morris
68cb0d442f change(dw_gdma): clean up memory allocation for link list items 2024-05-29 18:00:00 +08:00
Rahul Tank
e9a857f2cc fix(nimble): Added change to free memory in case of failure 2024-05-29 14:55:43 +05:30
Rahul Tank
1572df3bb8 Merge branch 'bugfix/revert_eatt_nimble' into 'master'
feat(nimble): Revert support for Enhanced ATT

See merge request espressif/esp-idf!31161
2024-05-29 17:16:07 +08:00
Adam Múdry
ac8c27f222 Merge branch 'fix/typo_in_sdmmc_init_sd_ssr_function' into 'master'
fix: Typo in sdmmc_init_sd_ssr log string

See merge request espressif/esp-idf!31148
2024-05-29 17:09:22 +08:00
Tomáš Rohlínek
c44da2f222 feat(storage/spiffs): add host test for disabled erase check 2024-05-29 11:00:25 +02:00
Tomáš Rohlínek
97af825b14 feat(storage/vfs): make automatic nullfs initialization optional 2024-05-29 10:39:55 +02:00
Tomáš Rohlínek
f2a278191b feat(storage/vfs): add documentation for nullfs 2024-05-29 10:39:55 +02:00
liqigan
49ba7d7afd fix(bt/controller): Fixed role switch LMP collision bug 2024-05-29 15:53:19 +08:00
Fu Hanxi
3cc0d2d5d7 ci: fix get mr components, stop printing out debugging info 2024-05-29 09:28:46 +02:00
Rahul Tank
90960d58c6 feat(nimble): Revert support for Enhanced ATT "
This reverts commit f265e50ca0.
2024-05-29 12:39:25 +05:30
Song Ruo Jing
426e0e0395 Merge branch 'bugfix/ppa_buffer_writeback_invalidate' into 'master'
fix(ppa): fix mismatching writeback and invalidate data size on the same buffer

Closes IDF-10028

See merge request espressif/esp-idf!31134
2024-05-29 14:27:34 +08:00
Kevin (Lao Kaiyao)
0a59ae0bae Merge branch 'fix/i2s_exhaust_test_case_failure' into 'master'
fix(ci): fixed the i2s exhaust test case failure

Closes IDFCI-2176

See merge request espressif/esp-idf!31153
2024-05-29 14:26:00 +08:00
Marius Vikhammer
f157b76fff Merge branch 'feature/lp_core_panic' into 'master'
feat(ulp): add panic handler for C6/P4 LP core

See merge request espressif/esp-idf!30544
2024-05-29 14:04:20 +08:00
Rahul Tank
b5f9bd31cb Merge branch 'feature/ble_resolve_adv_data' into 'master'
feat(nimble): Added API to get resolve ADV data

See merge request espressif/esp-idf!30898
2024-05-29 13:36:31 +08:00
laokaiyao
6094d06374 fix(ci): fixed the i2s exhaust test case failure 2024-05-29 13:22:20 +08:00
Mahavir Jain
a3aa48e384 Merge branch 'feature/enable_hmac_and_ds_support_for_c5' into 'master'
feat: enabled hmac and ds peripheral support for c5

Closes IDF-8619, IDF-8616, IDF-9479, and IDF-9481

See merge request espressif/esp-idf!29287
2024-05-29 12:50:25 +08:00
Mahavir Jain
b7e2fcbe4b Merge branch 'docs/update_security_documents_for_c5' into 'master'
docs: updated security documents for esp32c5

Closes IDF-9477

See merge request espressif/esp-idf!30693
2024-05-29 12:25:32 +08:00
morris
6e8e7cf667 Merge branch 'bugfix/mipi_dsi_rgb666_color_pixel' into 'master'
fix(dsi): fixed wrong RGB666 pixel size

See merge request espressif/esp-idf!31087
2024-05-29 11:47:52 +08:00
Armando (Dou Yiwen)
bb63b91539 Merge branch 'fix/fix_wrong_logw_in_btld' into 'master'
fix(btld): fixed wrong esp_early_loge in bootloader_utility.c

See merge request espressif/esp-idf!31151
2024-05-29 11:09:25 +08:00
muhaidong
b4ede21ddf fix(wifi): annotate a rom function 2024-05-29 10:54:20 +08:00
morris
a7ffe77de0 Merge branch 'feature/mcpwm_support_c5' into 'master'
feat(mcpwm): add driver support on esp32c5

Closes IDF-8709 and IDF-9101

See merge request espressif/esp-idf!29876
2024-05-29 10:27:35 +08:00
Wu Zheng Hui
bfc1ecdb4b Merge branch 'feat/support_tg_retention' into 'master'
change(esp_hw_support): do TG WDT/Timer retention by needs

Closes IDF-8463, PM-110, and IDFGH-12238

See merge request espressif/esp-idf!28154
2024-05-29 10:19:19 +08:00
Armando
d806dbe70c fix(btld): fixed wrong esp_early_loge in bootloader_utility.c 2024-05-29 10:00:41 +08:00
Adam Múdry
a97aaf19d8 fix: Typo in sdmmc_init_sd_ssr log string 2024-05-28 21:21:34 +02:00
Jakob Hasse
e3a54fa6da Merge branch 'doc/p4_rng' into 'master'
docs(esp_hw_support): Adjusted RNG docs to reflect P4 changes

Closes IDF-7743

See merge request espressif/esp-idf!30566
2024-05-28 23:42:46 +08:00
morris
1861dc12a0 change(dsi): use DW_GDMA as the flow controller
previously the DSI_Bridge was set as the flow controller
2024-05-28 22:36:03 +08:00
morris
75b221436c fix(dsi): fixed wrong RGB666 pixel size 2024-05-28 22:36:03 +08:00
nilesh.kale
00fa28259b feat: enabled ecdsa support for c5
This commit adds support for ECDSA for ESP32-C5
2024-05-28 17:33:05 +05:30
Roland Dobai
3d7a0d6cd0 Merge branch 'feat/idf_py_size_diff' into 'master'
feat: add diff option support to idf.py size commands

Closes IDF-9356

See merge request espressif/esp-idf!30638
2024-05-28 19:09:19 +08:00
Shen Meng Jing
87a59ab112 Merge branch 'translate_usb_host_notes_design' into 'master'
docs: Provide translation for usb_host_notes_design

Closes DOC-7775

See merge request espressif/esp-idf!30742
2024-05-28 18:24:29 +08:00
C.S.M
2466add620 Merge branch 'bugfix/jpeg_error_handle' into 'master'
fix(jpeg): Modify jpeg deocde/encode error handling logic

See merge request espressif/esp-idf!31117
2024-05-28 18:13:26 +08:00
Song Ruo Jing
b7e595d211 fix(ppa): fix mismatching writeback and invalidate data size on the same buffer 2024-05-28 16:59:13 +08:00
Wang Fang
cdd9e4f3e2 docs: Update Chinese translation of RNG document for P4 support 2024-05-28 16:52:07 +08:00
Jakob Hasse
5dbfe8823d docs(esp_hw_support): Adjusted RNG docs to reflect P4 changes 2024-05-28 10:31:29 +02:00
C.S.M
e4deaf08a7 Merge branch 'feat/flash_32bit_support_p4' into 'master'
feature(spi_flash): Add 32bit address support for esp32p4 eco1

Closes IDF-9597 and IDF-7518

See merge request espressif/esp-idf!30940
2024-05-28 16:28:58 +08:00
C.S.M
c620a2fa39 fix(jpeg): Modify jpeg deocde/encode error handling logic, fix if one picture wrong, all picture wrong issue 2024-05-28 16:24:40 +08:00
shenmengjing
93eff2080f docs: Provide translation for usb_host_notes_design 2024-05-28 16:17:25 +08:00
Tomáš Rohlínek
f753434640 fix(storage/esp_partition): add option to control erase check during write for linux target 2024-05-28 10:05:58 +02:00
Liu Xiao Yu
6e20be1d95 Merge branch 'feat/intelligent_console_help' into 'master'
feat(system/console): add help command verbose level option

Closes IDFGH-7603

See merge request espressif/esp-idf!30929
2024-05-28 15:38:59 +08:00
Aleksei Apaseev
40c8a16ad4 ci: add known failure cases to the target test report
target test report:
- refactor the methods to ensure reusability
- cover report generation with tests
- introduce a known failure tests block in report
- add grafana link to testcases dashboard
2024-05-28 15:36:22 +08:00
wuzhenghui
97ecad2a98 fix(esp_hw_support): set pau entry backup configuration with link update 2024-05-28 15:19:27 +08:00
wuzhenghui
ffd08ac41b change(esp_hw_support): use union retention link priority definiation 2024-05-28 15:19:27 +08:00
wuzhenghui
8e123d5390 feat(esp_hw_support): optimize retention link info dump 2024-05-28 15:19:26 +08:00
Li Shuai
52f8a26af5 fix(esp_hw_support): use iterator for regdma_link_stats to save stack consume
Closes https://github.com/espressif/esp-idf/issues/13288
2024-05-28 15:19:26 +08:00
wuzhenghui
070cf9d5e2 fix(ci): use esp_rom_crc32_le in sleep retention frame check 2024-05-28 15:19:26 +08:00
wuzhenghui
138224ae1b ci(esp_driver_gptimer): add gptimer pd_top sleep retention test case 2024-05-28 15:19:25 +08:00
wuzhenghui
6a272c7712 ci(esp_system): add task watchdog pd_top sleep retention test case 2024-05-28 15:19:25 +08:00
wuzhenghui
8518bf2ea7 change(esp_driver_gptimer): do gptimer timer target retention by needs 2024-05-28 15:19:24 +08:00
wuzhenghui
a68668c392 change(esp_hw_support): do timergroup watchdogs retention by needs 2024-05-28 15:17:19 +08:00
Mathy Vanvoorden
d35239dd28 fix(esp_driver_spi): Make spi_bus_free() exit early on issues
If for example there are still devices configured on the bus
spi_bus_free() will report that with ESP_ERR_INVALID_STATE, but not
before it frees all other things like IO and DMA. This means that
after the function exits any other task that is still running and
using those devices will all of a sudden stop working (and probably
crash the device).

This commit prevents that situation by making the function return
early so it can be called again safely later when all devices have
been removed.

Closes https://github.com/espressif/esp-idf/pull/13856
2024-05-28 14:58:10 +08:00
Jiang Jiang Jian
3ec68b9094 Merge branch 'bugfix/pm-108' into 'master'
fix the issue of tg0 watchdog reset caused by wifi module retention

Closes PM-108

See merge request espressif/esp-idf!31010
2024-05-28 14:50:17 +08:00
Marius Vikhammer
de77d04358 feat(ulp): add lp core panic handler 2024-05-28 14:42:59 +08:00
Xu Si Yu
95035c53df fix(uart): remove unnecessary wait when sending message to ring buffer 2024-05-28 14:37:11 +08:00
Tomáš Rohlínek
a30d27e01e feat(storage/vfs): add nullfs test cases for vfs 2024-05-28 08:06:33 +02:00
Tomáš Rohlínek
2b75ed37b9 fix(storage/vfs): always register /dev/null on startup 2024-05-28 07:55:37 +02:00
Tomáš Rohlínek
a615f487dd feat(storage/vfs): add /dev/null for unwanted output redirection 2024-05-28 07:54:35 +02:00
C.S.M
9ac85e1d7b Merge branch 'bugfix/i2c_lcd_pointer_risk' into 'master'
bugfix(i2c_lcd): Fix risk that pointerto local outside scope

Closes IDF-9992

See merge request espressif/esp-idf!31112
2024-05-28 13:33:54 +08:00
Shen Meng Jing
b325a56114 Merge branch 'docs/translate_index_and_i2c_lcd' into 'master'
Docs/Provide translation for index.rst and i2c_lcd.rst

Closes DOC-7873

See merge request espressif/esp-idf!31025
2024-05-28 13:18:29 +08:00
nilesh.kale
46c0902fd6 feat: enabled hmac and ds peripheral support for c5
This commit add support for HMAC and DS peripheral support for ESP32-C5.
2024-05-28 10:44:54 +05:30
shenmengjing
f22d59de17 docs: Provide CN Translation for index and i2c_lcd 2024-05-28 12:02:14 +08:00
daiziyan
2ba94d6819 docs: update CN trans for heap_debug 2024-05-28 12:01:40 +08:00
Jiang Jiang Jian
8c072af93a Merge branch 'fix/fix_send_mgmt_eb_start_err_when_eapol_process' into 'master'
fix(wifi): fix send mgmt err when eapol process

Closes WIFIBUG-562

See merge request espressif/esp-idf!31078
2024-05-28 11:31:03 +08:00
C.S.M
381cf16405 bugfix(i2c_lcd): Fix risk that pointerto local outside scope 2024-05-28 10:55:37 +08:00
Ivan Grokhotkov
06cc3419d8 Merge branch 'ci/add_sdmmc_test_p4' into 'master'
ci(sdmmc): enable tests for ESP32-P4

Closes IDF-8970

See merge request espressif/esp-idf!31077
2024-05-28 00:16:04 +08:00
Abhik Roy
738042f9f9 Merge branch 'lwip/multi_dns_ip_support' into 'master'
feat(lwip): Added multiple dns ip support

Closes IDF-8345 and IDF-9699

See merge request espressif/esp-idf!30326
2024-05-27 23:09:18 +08:00
Roland Dobai
a858da31da Merge branch 'feat/verif_no_additional_props_in_json_schema' into 'master'
feat(tools): json schema verifies that no additional properties are used

Closes IDFGH-12892 and IDFGH-12893

See merge request espressif/esp-idf!31103
2024-05-27 22:46:04 +08:00
Erhan Kurubas
1fc0be230f Merge branch 'extend_coredump_tests' into 'master'
Coredump PSRAM related fix and more tests

Closes IDF-9063

See merge request espressif/esp-idf!29304
2024-05-27 22:36:52 +08:00
Marek Fiala
55112978fd feat(tools): json schema verifies that no additional properties are used
Closes https://github.com/espressif/esp-idf/issues/13853
Closes https://github.com/espressif/esp-idf/pull/13854
2024-05-27 16:24:56 +02:00
Erhan Kurubas
002faf3b0a ci(panic): extend extram_stack tests 2024-05-27 14:51:30 +02:00
Erhan Kurubas
1dd4b95349 fix(coredump): properly save task's stack when stack is located in PSRAM 2024-05-27 13:55:14 +02:00
Erhan Kurubas
55261747fc ci(panic): add coredump tcb corrupted test 2024-05-27 13:55:14 +02:00
C.S.M
f66fe7cc7a feat(spi_flash): Support auto suspend on esp32p4 2024-05-27 19:42:47 +08:00
C.S.M
374c89097f feat(spi_flash): Adjust flash clock to real 80M clock, and support 32bit address on eco1 2024-05-27 19:42:47 +08:00
xiongweichao
a3d3b74e35 fix(bt/bluedroid): Fixed deadlock caused by not unlocking 2024-05-27 19:36:17 +08:00
xiongweichao
0b0d316d4c fix(bt/bluedroid): Fixed L2CAP using wrong handle
- Fixed the issue of using the wrong handle to handle the BTA_JV_L2CAP_READ_EVT event.
- Closes https://github.com/espressif/esp-idf/issues/13847
2024-05-27 19:34:46 +08:00
Abhinav Kudnar
4eb0fef079 feat(nimble): Added API to get resolve ADV data 2024-05-27 16:48:35 +05:30
wangtao@espressif.com
c3af7c5cd5 fix(wifi): fix send mgmt err when eapol process 2024-05-27 19:09:25 +08:00
nilesh.kale
317f07f22a docs: updated security documents for esp32c5 2024-05-27 16:36:17 +05:30
Aditya Patwardhan
8541242860 Merge branch 'feature/enable_aes_sha_support_for_c5_mp' into 'master'
feat: enabled aes and sha support for esp32c5 mp version

Closes IDF-8627 and IDF-8624

See merge request espressif/esp-idf!30741
2024-05-27 18:56:56 +08:00
Abhik Roy
7b25f38fd4 feat(lwip): Added multiple dns ip support 2024-05-27 20:56:01 +10:00
Wan Lei
0fc3f68ff4 Merge branch 'feature/esp32c5_ledc_support' into 'master'
feat(ledc): support ledc on esp32c5

Closes IDF-8684

See merge request espressif/esp-idf!30836
2024-05-27 17:43:12 +08:00
Tomáš Rohlínek
0b4fff69c5 fix(newlib/stdio): remove incorrect check in /dev/console init
Closes https://github.com/espressif/esp-idf/issues/13439
2024-05-27 10:43:13 +02:00
Martin Vychodil
7278d06c4f Merge branch 'fix/vfs_console_fstat_infinite_recursion' into 'master'
fix(storage/vfs_console): remove possible infinite recursion

Closes IDF-10025

See merge request espressif/esp-idf!31072
2024-05-27 16:29:58 +08:00
morris
e659675965 Merge branch 'feat/gdma_set_burst_size' into 'master'
feat(gdma): return alignment constraints required by the GDMA channel

Closes IDF-9848

See merge request espressif/esp-idf!30748
2024-05-27 15:33:57 +08:00
Jeroen Domburg
332bb9b2ba Merge branch 'feature/make_heap_alloc_caps_align_memory2' into 'master'
Align memory requested from heap component to hw requirements

See merge request espressif/esp-idf!30371
2024-05-27 15:12:31 +08:00
Island
43af0fbe1d Merge branch 'bugfix/fix_blecrt_147' into 'master'
fix(bt/bluedroid): Fixed BLE security vulnerability when using fixed IRK

See merge request espressif/esp-idf!30825
2024-05-27 14:56:21 +08:00
zhangyanjiao
eaef3a2683 fix(lwip): fixed the dhcp pool error on dhcp server 2024-05-27 14:51:00 +08:00
Sudeep Mohanty
3fd3c37507 Merge branch 'fix/fix_flaky_lp_uart_tests' into 'master'
Fixed unstable LP UART tests and added new tests

Closes IDFCI-2137

See merge request espressif/esp-idf!30524
2024-05-27 14:39:14 +08:00
Zhang Wen Xu
a55fecb2ca Merge branch 'feature/support_eth_mac_using_esp_read_mac' into 'master'
feat(eth) configure eth mac using esp_read_mac

Closes IDFGH-12842

See merge request espressif/esp-idf!31047
2024-05-27 14:38:52 +08:00
Tomáš Rohlínek
0ed8ebddb6 fix(storage/vfs_console): remove possible infinite recursion 2024-05-27 14:11:49 +08:00
Mahavir Jain
eca073df3c Merge branch 'bugfix/ecc_coverity_warning' into 'master'
fix(ecc_alt): adjust null pointer check to fix coverity warning

Closes IDF-9872

See merge request espressif/esp-idf!30946
2024-05-27 13:43:00 +08:00
nilesh.kale
a76e84a1e1 feat: enabled aes and sha support for esp32c5 mp version
This commit enabled AES and SHA support for esp32c5.
2024-05-27 11:03:02 +05:30
Harshal Patil
8657860580 Merge branch 'fix/mbedtls_port_coverity_fixes' into 'master'
fix(mbedtls/port): Fix some divide-by-zero and deadcode coverity checks

Closes IDF-9851 and IDF-9846

See merge request espressif/esp-idf!30954
2024-05-27 12:55:38 +08:00
Jeroen Domburg
a1ba660b4a change(system): heap_caps_alloc returns aligned memory if caps indicate a need for it
The implicit promise of heap_alloc_caps() and friends is that the memory it
returns is fit for the purpose as requested in the caps field. Before
this commit, that did not happen; e.g. DMA-capable memory wass returned
from a correct region, but not aligned/sized to something the DMA subsystem
can handle.

This commit adds an API to the esp_mm component that is then used by the
heap component to adjust allocation alignment, caps and size dependent on
the hardware requirement of the requested allocation caps.
2024-05-27 12:41:18 +08:00
Mahavir Jain
fef7444962 Merge branch 'fix/cleanup_unaccessible_sha3_regs' into 'master'
fix(soc): Cleanup inaccessible SHA_3 registers from the header files

See merge request espressif/esp-idf!30958
2024-05-27 12:23:47 +08:00
igor.udot
33fa42ca74 feat(ledc): support ledc on esp32c5 2024-05-27 11:26:11 +08:00
Kevin (Lao Kaiyao)
b1a5d80bcc Merge branch 'bugfix/check_i2s_intr_alloc_failure' into 'master'
fix(i2s): check gdma callback register state and add missed port2 on p4

See merge request espressif/esp-idf!31018
2024-05-27 11:15:00 +08:00
Xiaoyu Liu
18f6be771d feat(system/console): add help command verbose level option
Support users to demonstrate command info in different verbose levels.

Closes https://github.com/espressif/esp-idf/issues/9158
2024-05-27 10:47:40 +08:00
laokaiyao
42cee2b94a fix(i2s): reserve some invalid registers on S2 2024-05-27 10:46:48 +08:00
laokaiyao
d2468b8d0e fix(i2s): add the missed port2 for p4 2024-05-27 10:46:48 +08:00
laokaiyao
3728dac3df fix(i2s): add check to gdma callback register 2024-05-27 10:46:48 +08:00
Zhi Wei Jian
ea2f512cb5 Merge branch 'feat/add_hci_log_record_for_nimble' into 'master'
Feat/add hci log record for nimble

See merge request espressif/esp-idf!30924
2024-05-27 09:33:14 +08:00
morris
de5fb9f070 feat(mcpwm): driver support on esp32-c5 2024-05-26 22:55:03 +08:00
morris
80f5444f86 feat(mcpwm): check if the gpio used by generator is reserved by others 2024-05-26 22:28:11 +08:00
Frederick Vollbrecht
71b5277e81 fix missing macos-arm propertie in json schema 2024-05-25 00:35:25 +02:00
Sudeep Mohanty
003f3bb5dc Merge branch 'task/macos_hello_world_ci_test' into 'master'
feat(ci): Fixed linux build on MacOS + Added host_test for the hello_world linux app for MacOS runners

Closes IDF-9208

See merge request espressif/esp-idf!30800
2024-05-25 02:14:15 +08:00
Konstantin Kondrashov
13cfcc463f Merge branch 'feature/flockfile' into 'master'
feat(newlib): Adds flockfile/funlockfile for safe multi-line printing

Closes IDF-2078

See merge request espressif/esp-idf!31009
2024-05-24 23:08:32 +08:00
morris
69ef3b6a34 change(rgb_lcd): set DMA transfer burst size 2024-05-24 22:43:55 +08:00
morris
75b5f02490 change(i80_lcd): set DMA transfer burst size 2024-05-24 22:43:55 +08:00
morris
dc060460ea change(async_memcpy): set DMA transfer burst size 2024-05-24 22:43:55 +08:00
morris
dc6989796a feat(gdma): set burst size and return alignment constraint
burst size can affect the buffer alignment
2024-05-24 22:43:55 +08:00
Sudeep Mohanty
00efba0565 fix(linux): Added instructions to ignore build warnings in CI for MacOS
This commit updates the host-test.yml to add instructions to ignore
certain build warnings when the linux target is built on MacOS. This way
the test doesn't get flagged as failed in CI for the warnings and can run.
2024-05-24 16:29:47 +02:00
Sudeep Mohanty
e5fb198adc fix(linux): Fixed linux target build failure in esp_app_format for MacOS
This commit fixes a build failure in the esp_app_format component
for the linux target when built on a MacOS machine.
2024-05-24 16:29:43 +02:00
Fu Hanxi
61559dc3e4 ci: ignore collect import error on CI with env var 2024-05-24 16:29:39 +02:00
Sudeep Mohanty
50460d3483 feat(ci): Added CI host test for the linux target on MacOS runners
This commit adds a CI host test for the linux target to build and run
MacOS runners. Additionally, it adds a MacOS test for the hellow_world
app.
2024-05-24 16:29:22 +02:00
Sudeep Mohanty
ac64aa0c60 fix(linux): Miscellaneous fixes for linux build on MacOS
This commit fixes some compilation errors for the linux build on MacOS.
2024-05-24 16:23:54 +02:00
Darian
19c784efef Merge branch 'refactor/usb_mock_classes' into 'master'
refactor(usb): Split test device descriptors from mock classes

See merge request espressif/esp-idf!30685
2024-05-24 22:22:18 +08:00
Wan Lei
e1ed893550 Merge branch 'fix/spi_flash_replace_gpio_hal' into 'master'
fix(spi_flash): replace gpio_hal_iomux_func_sel

See merge request espressif/esp-idf!29478
2024-05-24 22:15:34 +08:00
Ivan Grokhotkov
5b1fd0efe9 ci(sdmmc): enable tests for ESP32-P4 2024-05-24 15:05:35 +02:00
Michael (XIAO Xufeng)
3e877842cd Merge branch 'feat/sdmmc_spi_no_crc' into 'master'
feat(sdmmc_io): support sending CMD53 with fixed address, bypass sdspi crc check

Closes IDF-9387

See merge request espressif/esp-idf!30643
2024-05-24 20:27:28 +08:00
Song Ruo Jing
2621d67da2 Merge branch 'feature/esp32p4_ppa_driver_support' into 'master'
feat(ppa): add PPA driver support for ESP32P4

Closes IDF-6878

See merge request espressif/esp-idf!29301
2024-05-24 19:22:58 +08:00
Konstantin Kondrashov
b0457ee0ac feat(newlib): Adds flockfile/funlockfile for safe multi-line printing
for printf, vprintf, etc.

Closes https://github.com/espressif/esp-idf/issues/2565
2024-05-24 14:16:16 +03:00
shenmengjing
5d07b48c27 docs: Update the CN Translation for build-system 2024-05-24 18:50:04 +08:00
Jiang Guang Ming
5e283e03b8 feat(newlib): add test case for printf float 2024-05-24 17:44:59 +08:00
Darian Leung
6a3bb3294d refactor(usb): Split test device descriptors from mock class files
Previously, descriptors of the test devices were stored direclty in the mock
device files (e.g., "mock_[hid|msc].[h|c]"). This commit splits out the device
descriptors to separate files (e.g., "dev_[hid|msc].c") along with getter
functions.

Users that want to run the tests locally on a different device simply need to
update the "dev_[hid|msc].c" file for their device.
2024-05-24 17:43:40 +08:00
Jiang Guang Ming
e829cee2fd fix(esp_rom): add new rom caps ESP_ROM_HAS_NEWLIB_NANO_PRINTF_FLOAT_BUG 2024-05-24 17:40:34 +08:00
Armando (Dou Yiwen)
c9167ef782 Merge branch 'feat/isp_bf_feature' into 'master'
feat(isp): added isp bf driver

Closes IDF-9999

See merge request espressif/esp-idf!30968
2024-05-24 16:43:55 +08:00
morris
404ffa299b Merge branch 'feat/rmt_support_esp32c5mp' into 'master'
feat(rmt): add driver support on esp32c5

Closes IDF-8726

See merge request espressif/esp-idf!30879
2024-05-24 16:30:48 +08:00
Frantisek Hrbata
6f41dee0cd feat: add diff option support to idf.py size commands
This adds a possibility to specify --diff option to idf.py size,
size-components and size-files commands. This can be map file directly,
project directory or build directory.

Usage example:
idf.py size-components --diff ../hello_world2/build/hello_world.map
idf.py size-components --diff ../hello_world2/build
idf.py size-components --diff ../hello_world2

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-05-24 15:19:37 +08:00
Konstantin Kondrashov
2edf936984 Merge branch 'feature/coverity_fix_esp_timer_impl_early_init' into 'master'
fix(esp_timer): Fix Coverity issue - logically dead code in esp_timer_impl_early_init

Closes IDF-10005

See merge request espressif/esp-idf!31019
2024-05-24 15:12:51 +08:00
Wang Qixiang
a2be60a697 Merge branch 'bugfix/mldv6_report_memory_leak' into 'master'
fix(esp_netif): Fix mldv6 report memory leak in esp_netif

Closes IDF-9990

See merge request espressif/esp-idf!30916
2024-05-24 15:06:13 +08:00
zhiweijian
9946315a5f feat(bt/nimble): support hci log for nimble 2024-05-24 14:51:06 +08:00
Song Ruo Jing
ea7d496e58 feat(ppa): add PPA driver support for ESP32P4
Remove L4/L8, YUV422 in PPA driver
Clean up
2024-05-24 14:23:54 +08:00
Song Ruo Jing
d956ba2a6c feat(ppa): add PPA driver support for ESP32P4
Add burst_length option to client
Change uint32_t to color_pixel_rgb888_data_t
Descriptor always malloc with MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT
Add dscr-port mode block size configuration as a separate API in 2D-DMA driver
Do writeback only on an extended window, instead of entire picture
2024-05-24 14:23:14 +08:00
Island
657b35cfea Merge branch 'fix/ble_mesh_gatts_bugfix' into 'master'
fix(ble_mesh): Create service after service register success

Closes BLERP-758

See merge request espressif/esp-idf!30877
2024-05-24 14:09:31 +08:00
Island
039c6d7380 Merge branch 'fix/fix/ble_mesh_sar_bugfix' into 'master'
BLE Mesh SAR bugfix

Closes BLERP-761 and BLERP-762

See merge request espressif/esp-idf!30880
2024-05-24 14:09:14 +08:00
Armando
6e3efc7b9f feat(isp): added isp bf driver 2024-05-24 10:25:42 +08:00
Adam Múdry
050db26419 Merge branch 'fix/coverity_use_after_free_partition.c' into 'master'
fix(partition): Simplify macro loop in esp_partition_unload_all, should fix Coverity problem

Closes IDF-9837

See merge request espressif/esp-idf!30853
2024-05-23 23:08:11 +08:00
Sonika Rathi
83d58f9b59 Merge branch 'fix/coverity_vfs_fat_mem_overlapping' into 'master'
fix(fatfs): fix memory overlapping issue in vfs_fat.c

See merge request espressif/esp-idf!31026
2024-05-23 22:13:25 +08:00
Rahul Tank
946d25a884 Merge branch 'bugfix/restart_advertising_if_slave_23e' into 'master'
fix(nimble): start advertising if disconnect due to 0x3E in slave

Closes BLERP-618 and BLERP-757

See merge request espressif/esp-idf!30707
2024-05-23 20:17:37 +08:00
Shu Chen
17c9650885 Merge branch 'fix/release_ot_lock_before_call_tcpip_callback' into 'master'
feat(openthread): update openthread br lib

See merge request espressif/esp-idf!30546
2024-05-23 20:08:02 +08:00
Darian Leung
94e3b83bc0 refactor(usb): Rename mock class files
- Rename "test_usb_mock_..." class files to "mock_..."
- Fixed some codespell issues
- Fixed comment spacing
2024-05-23 17:47:24 +08:00
Xu Si Yu
ae2b0f8ee1 feat(openthread): update openthread br lib 2024-05-23 17:39:14 +08:00
Jakob Hasse
6d5d4f8fc1 Merge branch 'feature/esp_app_desc_linux' into 'master'
feat(linux): esp_app_format now works on Linux

See merge request espressif/esp-idf!30781
2024-05-23 17:27:09 +08:00
chenjianhua
7e975ee805 fix(bt/bluedroid): Fixed BLE security vulnerability when using fixed IRK 2024-05-23 17:26:07 +08:00
Fu Hanxi
9250726dc8 Merge branch 'ci/ignore_import_error_while_collecting_pytest_cases_locally' into 'master'
ci: ignore import error when collecting pytest cases locally

Closes IDFCI-1877

See merge request espressif/esp-idf!30984
2024-05-23 17:08:58 +08:00
zwx
d7715b96b2 feat(eth) configure eth mac using esp_read_mac
* Closes https://github.com/espressif/esp-idf/issues/13808
2024-05-23 16:41:26 +08:00
Song Ruo Jing
8464fac845 feat(ppa): add PPA driver support for ESP32P4
Remove the check for in_accepting_trans_state
Add color_pixel_xxxx_data_t structures to color_types.h
Fix PM lock protection (Tested, now works well)
* CPU_MAX, PM lock and semaphore order
* Remove ppa_driver PM lock
Modify concurrency (queue, trans recycle, semaphore, ...)
Add programming guide
Add test apps
2024-05-23 16:40:56 +08:00
Song Ruo Jing
916c0ef8d1 feat(ppa): add PPA driver support for ESP32P4
Fix pm_lock assert and assign to NULL
Alpha value union
Tested with CONFIG_PM_ENABLE
2024-05-23 16:40:56 +08:00
Song Ruo Jing
01bc7dcc56 feat(ppa): add PPA driver support for ESP32P4
Separate callback registration to individual API
Fix YUV420 output
Separate source files into operations
2024-05-23 16:40:56 +08:00
Song Ruo Jing
fd1a718f62 feat(ppa): add PPA driver support for ESP32P4
Modified API operation configuration structure
Rename invoker to client
Support YUV420 color mode for SRM
Move PPA srm/blending engine reset ahead of any 2D-DMA channel configurations
2024-05-23 16:40:56 +08:00
Song Ruo Jing
346bc077c5 feat(ppa): add PPA driver support for ESP32P4
Added doxygen
Refactored driver to malloc trans_elm memory when registering the client
Cleaned up driver
Added API check
One client now only responsible for one operation
2024-05-23 16:40:56 +08:00
Song Ruo Jing
95ee1595f9 feat(ppa): add PPA driver support for ESP32P4
Add out_buffer_size field to all oper_config_t
Add strict check for out buffer addr and size alignment
2024-05-23 16:40:55 +08:00
Song Ruo Jing
963c893cc7 feat(ppa): add PPA driver support for ESP32P4
Fix bugs found in AE lvgl demo examples

Add color keying feature to blending
2024-05-23 16:40:55 +08:00
Song Ruo Jing
a86e03cba3 feat(ppa): add PPA driver support for ESP32P4
Renamed SR to SRM
2024-05-23 16:40:55 +08:00
Song Ruo Jing
368ef8b472 feat(ppa): add PPA driver support for ESP32P4
Improved/Refactored on the APIs
2024-05-23 16:40:55 +08:00
Song Ruo Jing
776c3ef392 feat(ppa): add PPA driver support for ESP32P4
Add fill operation
Split ppa_do_operation, pre-process some trans config
2024-05-23 16:40:55 +08:00
Song Ruo Jing
fd19979d88 feat(ppa): add PPA driver support for ESP32P4
cleaned up a bit, unify to some static functions
2024-05-23 16:40:55 +08:00
Song Ruo Jing
715004f07e feat(ppa): add PPA driver support for ESP32P4
Add invoker concept
Add blend operation
2024-05-23 16:40:55 +08:00
Song Ruo Jing
36732fbcb4 feat(ppa): add PPA driver support for ESP32P4 2024-05-23 16:40:55 +08:00
wanlei
8762c4d1df fix(spi_flash): replace gpio_hal_iomux_func_sel 2024-05-23 16:29:22 +08:00
Fu Hanxi
9fe2986c82 ci: ignore import error when collecting pytest cases locally 2024-05-23 10:09:37 +02:00
Fu Hanxi
5b93f4e552 Merge branch 'ci/consider_more_components_dirs' into 'master'
ci: improve get_mr_components, take more components into consideration

See merge request espressif/esp-idf!30673
2024-05-23 16:00:19 +08:00
luoxu
26a693eed7 fix(ble_mesh): change tx/rx lock to recursive mutex to avoid dead lock 2024-05-23 15:12:03 +08:00
luoxu
6ca1651d14 fix(ble_mesh): reference net_buf on correct positions 2024-05-23 15:12:03 +08:00
Roland Dobai
4269ab461b Merge branch 'fix/gdbgui_version_check' into 'master'
fix(tools): Use GDGBUI arguments based on its version

Closes IDFGH-12674

See merge request espressif/esp-idf!30995
2024-05-23 14:38:56 +08:00
Roland Dobai
06b4b97326 fix(tools): Use GDGBUI arguments based on its version
Closes https://github.com/espressif/esp-idf/issues/13665
2024-05-23 07:33:11 +02:00
Mahavir Jain
bc2ae212cf fix(ecc_alt): adjust null pointer check to fix coverity warning 2024-05-23 13:01:32 +08:00
harshal.patil
7c7c33ecbd fix(mbedtls/port): Fix some divide-by-zero and deadcode coverity checks 2024-05-23 09:45:44 +05:30
luoxu
2567b7175d fix(ble_mesh): Create service after service register success 2024-05-23 12:13:45 +08:00
morris
bfc29da19a feat(rmt): add driver support on esp32c5
MP version
2024-05-23 11:23:14 +08:00
morris
cb2898d033 change(rmt): rename sleep back to sleep retention 2024-05-23 11:02:07 +08:00
morris
098abb5993 Merge branch 'feat/pcnt_support_esp32c5' into 'master'
feat(pcnt): add driver support on esp32c5

Closes IDF-8683

See merge request espressif/esp-idf!30854
2024-05-23 09:53:08 +08:00
Wan Lei
8778917cb0 Merge branch 'feat/c5mp_i2s_support' into 'master'
feat(i2s): c5mp i2s support

Closes IDF-8713 and IDF-8714

See merge request espressif/esp-idf!30828
2024-05-22 23:30:18 +08:00
Adam Múdry
1ed3bf14e9 Merge branch 'fix/sdsdpi_example_esp32p4_add_ldo_config' into 'master'
fix(storage): Fix and update storage examples using SD cards for SoCs with SOC_SDMMC_IO_POWER_EXTERNAL 1 (ESP32-P4)

Closes IDF-8329

See merge request espressif/esp-idf!30504
2024-05-22 22:49:29 +08:00
Armando (Dou Yiwen)
92f9301ceb Merge branch 'feat/esp32p4_xip_psram' into 'master'
psram: support xip_psram on esp32p4

Closes IDF-7556

See merge request espressif/esp-idf!26903
2024-05-22 21:18:19 +08:00
Fu Hanxi
7e1fc695ed ci: optimize wifi .build-test-rules.yml 2024-05-22 20:52:32 +08:00
Fu Hanxi
59bd0b3166 ci: update .build-test-rules.yml based on latest detected components 2024-05-22 20:52:32 +08:00
Fu Hanxi
65d08698e8 ci: improve get_mr_components, take more components into consideration 2024-05-22 20:52:32 +08:00
Daniel Paul
3d48ac51f9 docs: Add information to build system about IDF Component Manager 2024-05-22 20:48:18 +08:00
Li Shuai
b959a3e3c7 fix(wifi): fixed the issue of tg0 watchdog reset caused by wifi module retention 2024-05-22 20:21:57 +08:00
Ondrej Kosta
2daf4e4fc5 fix(esp_eth): fixing memory leak and invalid bit shift 2024-05-22 20:21:57 +08:00
Adam Múdry
3968dcd7c6 ci(examples/storage): Enable perf_benchmark spiflash example and build others 2024-05-22 14:09:17 +02:00
Adam Múdry
8485fa9c5a fix(storage): Fix SD card examples for SoCs with SOC_SDMMC_IO_POWER_EXTERNAL 1 2024-05-22 14:09:17 +02:00
Konstantin Kondrashov
51040d3e68 Merge branch 'bugfix/log_level_get' into 'master'
fix(log): Fix log_level_get, add item to cache after checking linked list

Closes IDFCI-2165 and IDFCI-2166

See merge request espressif/esp-idf!30993
2024-05-22 19:15:38 +08:00
sonika.rathi
8e3e642db4 fix(fatfs): fix memory overlapping issue in vfs_fat.c 2024-05-22 13:06:59 +02:00
Guillaume Souchere
f7d2423826 Merge branch 'feat/update-memory-layout-c5-mp' into 'master'
feat(heap): support heap and update memory layout on esp32c5-mp target

Closes IDF-9641 and IDF-9358

See merge request espressif/esp-idf!30640
2024-05-22 19:00:21 +08:00
Mo Fei Fei
58f59de483 Merge branch 'docs/remove_esp32_devkits_user_guide' into 'master'
docs: remove esp32-devkits user guide

Closes DOC-5637

See merge request espressif/esp-idf!30998
2024-05-22 18:43:00 +08:00
Island
42f42f73b6 Merge branch 'feat/add_api_to_set_privacy_mode' into 'master'
feat(bt/bluedroid): support BLE set privacy mode

Closes BLERP-745

See merge request espressif/esp-idf!30801
2024-05-22 17:57:04 +08:00
Island
a3cb889ba3 Merge branch 'bugfix/fix_bci_416' into 'master'
Fixed BLE interrupt allocation using esp API on ESP32C3

See merge request espressif/esp-idf!30652
2024-05-22 17:57:01 +08:00
wanlei
1b3020374a fix(i2s): temporary disable debug log in example pytest script 2024-05-22 17:29:48 +08:00
wanlei
fb8376cb8c feat(i2s): c5mp i2s support 2024-05-22 17:29:48 +08:00
Adam Múdry
c2ac9bad62 fix(partition): Simplify macro loop in esp_partition_unload_all 2024-05-22 10:54:14 +02:00
Wan Lei
207966d64c Merge branch 'feat/c5mp_gpspi_support' into 'master'
feat(spi): c5mp gpspi support

See merge request espressif/esp-idf!30960
2024-05-22 16:36:16 +08:00
Konstantin Kondrashov
a800fcb47e fix(esp_timer): Fix Coverity issue - logically dead code in esp_timer_impl_early_init 2024-05-22 11:20:08 +03:00
Armando
d988b824d8 change(image): move image_process driver from bootloader_support to esp_system 2024-05-22 15:56:07 +08:00
Armando
10d3912c70 feat(xip_psram): support xip psram feature on esp32p4 2024-05-22 15:56:07 +08:00
gaoxu
db6e53fd44 feat(soc): rename lp_adc and ahb_dma reg base on p4 2024-05-22 15:23:58 +08:00
gaoxu
6d82c324bb feat(adc): move adc periph enable/reset functions to ll layer 2024-05-22 15:23:58 +08:00
gaoxu
c1edeca849 fix(dma): feat(adc): support ADC oneshot mod on ESP32P4 2024-05-22 15:23:58 +08:00
Rahul Tank
3df54c5178 fix(nimble): start advertising if disconnect due to 0x3E in slave 2024-05-22 12:53:29 +05:30
Ondrej Kosta
f36d034f7f Merge branch 'feature/network_examples_rules' into 'master'
ci(examples): added depends_components for Network examples

Closes IDF-8390

See merge request espressif/esp-idf!30611
2024-05-22 15:10:33 +08:00
Guillaume Souchere
4b9b8be42b Merge branch 'feat/heap-trace-stop-recording-allocs-but-not-free' into 'master'
feat(heap-trace): Add a pause state to the heap tracing

Closes IDFGH-12836

See merge request espressif/esp-idf!30962
2024-05-22 15:03:48 +08:00
mofeifei
7c3ad96ab8 docs: remove esp32-devkits user guide 2024-05-22 14:37:27 +08:00
Armando
862aca1fcc change(mmu): fix spell issue 2024-05-22 14:13:29 +08:00
Armando
3e477681ac change(cpu_start): added note about internal ram only stage 2024-05-22 14:13:29 +08:00
Armando
72cb920799 bugfix(cpu_start): check c3 efuse error log on ram app condition
Prior to this commit, esp_efuse_check_errors() is only called when it's
2nd stage btld app.

This commit moves this error check so under all conditions (including
ram app, pure ram app) will check this efuse error
2024-05-22 14:13:29 +08:00
Armando
24895ac93c refactor(cpu_start): move uni/multi core log later 2024-05-22 14:13:29 +08:00
Ondrej Kosta
35e6adf89b Merge branch 'bugfix/emac_coverity' into 'master'
fix(esp_eth): fixing memory leak and invalid bit shift

Closes IDF-9970 and IDF-9969

See merge request espressif/esp-idf!30844
2024-05-22 13:55:21 +08:00
Marius Vikhammer
d513b7dbdf Merge branch 'docs/update_c5_esp_timer_docs' into 'master'
docs(sys-time): add esp32c5 info into programming guide docs

See merge request espressif/esp-idf!30819
2024-05-22 13:44:30 +08:00
Konstantin Kondrashov
d3ed1198d3 fix(log): Fix log_level_get, add item to cache after checking linked list 2024-05-22 07:56:30 +03:00
wanlei
b76620374f fix(spi): fix dma data error, change xtal as default source 2024-05-22 12:17:43 +08:00
Xiaoyu Liu
30723cbf61 docs(sys-time): add esp32c5 info into programming guide docs 2024-05-22 12:15:50 +08:00
Omar Chebib
cd7c5a8bf5 Merge branch 'feat/ai_coproc_support_esp32p4' into 'master'
feat(riscv): add support for PIE coprocessor and HWLP feature

Closes IDF-9733 and IDF-9734

See merge request espressif/esp-idf!30576
2024-05-22 12:04:38 +08:00
Konstantin Kondrashov
60532e7a80 Merge branch 'feature/logv2' into 'master'
feat(log): Intermediate log refactoring

See merge request espressif/esp-idf!30683
2024-05-22 01:34:25 +08:00
Jiang Jiang Jian
619c721c4b Merge branch 'bugfix/wifibug-510' into 'master'
fix the issue of except wifi state caused by the missing mac retention config

Closes WIFIBUG-510

See merge request espressif/esp-idf!30901
2024-05-21 22:59:31 +08:00
Konstantin Kondrashov
149a9e0d7f feat(log): Refactoring color macros 2024-05-21 17:22:34 +03:00
Konstantin Kondrashov
ec594e2c6f feat(log): Refactoring lock APIs 2024-05-21 17:22:34 +03:00
Konstantin Kondrashov
4ad9ad8086 feat(log): Adds new timestamp APIs and bootloader log Kconfigs 2024-05-21 17:22:34 +03:00
Li Shuai
e7aa432532 fix(esp32c6): fix the issue of except wifi state caused by the missing mac retention config 2024-05-21 21:32:14 +08:00
Jiang Jiang Jian
9ad03cd4b7 Merge branch 'feature/support_coex_pwr' into 'master'
feat(wifi): support coex pwr

Closes AEG-932 and WIFI-3606

See merge request espressif/esp-idf!30268
2024-05-21 21:00:30 +08:00
Jiang Jiang Jian
9fe3b0fc31 Merge branch 'bugfix/stop_tg_wdt_in_xpd_xtal_lightsleep' into 'master'
fix(esp_hw_support): stop tg wdt in xpd xtal lightsleep

Closes PM-33

See merge request espressif/esp-idf!27566
2024-05-21 20:19:10 +08:00
chenjianhua
f573cd09ab feat(bt/bluedroid): support BLE set privacy mode 2024-05-21 19:53:43 +08:00
Suren Gabrielyan
c5062a1895 Merge branch 'pr-13724' into 'master'
fix(ws_transport): fix of `server-key` corruption

See merge request espressif/esp-idf!30855
2024-05-21 19:30:33 +08:00
Abhik Roy
443843b362 Merge branch 'examples/icmpv6_ping_readme_update' into 'master'
docs(examples): Added network config to icmpv6_ping readme

Closes IDFGH-11853 and IDF-9847

See merge request espressif/esp-idf!29400
2024-05-21 18:23:45 +08:00
Xiao Xufeng
52baadf0db feat(sdmmc_io): support sending CMD53 with fixed address 2024-05-21 18:09:23 +08:00
Guillaume Souchere
63b8143e32 docs(heap_debug): Docuement the heap_trace_alloc_pause function
Document the newly introduced heap_trace_alloc_pause function in
the heap tracing section.
2024-05-21 11:37:37 +02:00
Omar Chebib
82668dd3fe fix(riscv): make HWLP feature use direct saving of lazy saving 2024-05-21 17:27:46 +08:00
Michael (XIAO Xufeng)
438971c108 Merge branch 'feat/kconfig_h2_v1.0_dev' into 'master'
esp32h2: add development support option for v1.0 chips

See merge request espressif/esp-idf!30534
2024-05-21 17:20:56 +08:00
wanlei
e2432c1d20 feat(spi): c5mp gpspi master slave and hd driver support 2024-05-21 17:12:41 +08:00
C.S.M
d35651790a Merge branch 'feat/brownout_support_p4' into 'master'
feat(brownout): Add brownout detector support on esp32p4

Closes IDF-7519

See merge request espressif/esp-idf!30896
2024-05-21 17:04:16 +08:00
Marius Vikhammer
67c82e7e8d Merge branch 'docs/fix_doxygen_1_9_8_failure' into 'master'
docs(doxygen): fix misc issues with new version of doxygen

See merge request espressif/esp-idf!30915
2024-05-21 17:02:00 +08:00
Guillaume Souchere
3f366d6e8b feat(heap-trace): Add a pause state to the heap tracing
This commit adds a feature to pause the heap tracing in the
sense that in this state, the heap tracing will no longer
record the new allocations but will continue to monitor
the free() in order to keep track of the status of the
allocations present in the list of records.

See https://github.com/espressif/esp-idf/issues/13803
2024-05-21 10:59:01 +02:00
Guillaume Souchere
d5e4f419f3 change(heap): Remove todo of closed ticket in memory_layout.c files
Leftover closed ticket removed from memory_layout.c on
the following targets:
- esp32c5
- esp32c6
- esp32h2
2024-05-21 10:40:22 +02:00
Guillaume Souchere
32559d51d6 change(heap): Update soc_memory_regions on esp32c5
The array of memory regions is simplyfied by using the
macro defined in soc.h (for beta3 and mp respectively).
2024-05-21 10:40:22 +02:00
Guillaume Souchere
78f4474416 fix(soc): Fix ROM stack start for esp32c5-mp
Update the value SOC_ROM_STACK_START to the expected
value from bootloader.ld memory map.
2024-05-21 10:40:22 +02:00
Kevin (Lao Kaiyao)
d9e93dc4d5 Merge branch 'bugfix/update_pms_reg_header' into 'master'
fix(soc): fix the pms reg headers base addr

See merge request espressif/esp-idf!30964
2024-05-21 15:06:45 +08:00
C.S.M
a254eb5818 test(esp_intr_dump): Fix the esp intr dump expected output because the changes happened in brownout 2024-05-21 15:06:29 +08:00
C.S.M
9b3bd13a13 feat(brownout): Add brownout detector support on esp32p4 2024-05-21 15:03:28 +08:00
laokaiyao
e4224be406 fix(soc): fix the pms reg headers base addr 2024-05-21 14:36:47 +08:00
morris
4db2236626 Merge branch 'feat/axi_icm_qos' into 'master'
feat(axi_icm): AXI interconnect QoS

See merge request espressif/esp-idf!30894
2024-05-21 14:35:56 +08:00
liuning
68fe185371 feat(wifi): support coex pwr 2024-05-21 14:14:30 +08:00
Rahul Tank
7e2534d533 Merge branch 'feat/enhanced_att' into 'master'
feat(nimble): Added support for Enhanced ATT

Closes BT-3065

See merge request espressif/esp-idf!30422
2024-05-21 14:11:13 +08:00
morris
7c8095a07f feat(axi_icm): AXI interconnect QoS configuration functions 2024-05-21 14:07:01 +08:00
Guillaume Souchere
300deed514 Merge branch 'doc/update-performance-guides-p4-c5' into 'master'
docs(performance): Add P4 and C5 information in the performance guides

Closes IDF-7761 and IDF-9494

See merge request espressif/esp-idf!30362
2024-05-21 14:02:19 +08:00
Shen Meng Jing
4166acb69c Merge branch 'docs/translate_ble_mesh_and_reproducible_builds' into 'master'
docs: Provide translation for ble-mesh and reproducible-builds

Closes DOC-7553

See merge request espressif/esp-idf!30001
2024-05-21 12:11:13 +08:00
Marius Vikhammer
793e6ba848 Merge branch 'bugfix/linux_target_miss_header' into 'master'
fix(efuse): fix compile failure on linux target

See merge request espressif/esp-idf!30967
2024-05-21 12:05:36 +08:00
Island
bad4c4e1d4 Merge branch 'bugfix/fixed_issues_on_esp32c6_and_esp32h2' into 'master'
fixed some ble issues on esp32c6 and esp32h2

Closes BLERP-673, BLERP-676, BLERP-667, BLERP-691, BLERP-688, BLERP-687, BLERP-713, and BLERP-747

See merge request espressif/esp-idf!30890
2024-05-21 11:52:22 +08:00
morris
d477f1e580 Merge branch 'docs/translate_core_dump' into 'master'
docs: Provide CN translation for core dump

Closes DOC-7841

See merge request espressif/esp-idf!30888
2024-05-21 11:30:08 +08:00
shenmengjing
ebc0a8efc5 docs: Provide translation for ble-mesh and reproducible-builds 2024-05-21 11:05:36 +08:00
Lou Tian Hao
4121274449 Merge branch 'fix/core1_access_cache_when_core0_close_cache_during_sleep' into 'master'
fix(esp_system): fix core1 access cache when core0 close cache during sleep

See merge request espressif/esp-idf!30941
2024-05-21 10:52:18 +08:00
Marius Vikhammer
5bdde4c994 fix(efuse): fix compile failure on linux target 2024-05-21 10:45:54 +08:00
Jiang Jiang Jian
a7721235e1 Merge branch 'bugfix/esp32c6eco1_coex_ble_deinit_wifi_bcn_timeout' into 'master'
fix the issue where deinit ble in a coexist scenario causes the wifi mac tsf counter to stop

Closes PM-115

See merge request espressif/esp-idf!30868
2024-05-21 10:45:50 +08:00
Wang Tao
d206536524 Merge branch 'feature/add_softap_dtim_and_csa_count_and_ignore_erro_nodata' into 'master'
feat(wifi):add softap csa count dtim count config

Closes IDFGH-11163

See merge request espressif/esp-idf!29755
2024-05-21 10:23:27 +08:00
Martin Vychodil
b24a6af0b7 Merge branch 'refactor/partition_private_includes' into 'master'
refactor(esp_partition): Made private includes private on Linux

See merge request espressif/esp-idf!29747
2024-05-21 04:02:14 +08:00
Jan Beran
981062d54f feat(tools): add often used espsecure subcommands to idf.py 2024-05-20 15:13:35 +02:00
Suren Gabrielyan
8384b2c76f fix(ws_transport): utility functions minor improvments 2024-05-20 16:26:40 +04:00
Richard Allen
10a2c2ccc9 fix(ws_transport): fixed server-key corruption
When first fragment is sent over HTTP during websocket
connection, defer buffering of fragment until after the
websocket server-key is validated.

This order is required because the first fragment buffering
overwrites the memory holding the server-key headers.

Fixes 2267d4b
Fixes https://github.com/espressif/esp-protocols/issues/396
PR https://github.com/espressif/esp-idf/pull/13724
2024-05-20 16:25:53 +04:00
Mahavir Jain
665beae23f Merge branch 'feature/update_cjson_version_to_1.7.18' into 'master'
feat(cjson): update submodule to v1.7.18

Closes IDF-9952

See merge request espressif/esp-idf!30886
2024-05-20 18:13:05 +08:00
harshal.patil
a15f19260b fix(soc): Cleanup inaccessible SHA registers from the header files 2024-05-20 15:34:42 +05:30
Bogdan Kolendovskyy
c1104fc804 Merge branch 'feature/ethernet_example_basic_test' into 'master'
feat(examples/ethernet/basic): add pytest script to basic ethernet example

Closes IDF-9823

See merge request espressif/esp-idf!30755
2024-05-20 17:39:04 +08:00
wanlei
165394b744 fix(spi_slave_hd): fix seg mode potential iwdt timeout when multi task call 2024-05-20 17:14:29 +08:00
Dai Zi Yan
09dd046ba1 Merge branch 'docs/update_translation_for_idf_py_and_spiffs' into 'master'
docs: Update the CN Translation for idf-py and spiffs

Closes DOC-7686 and DOC-7536

See merge request espressif/esp-idf!30699
2024-05-20 16:15:21 +08:00
shenmengjing
6f4d2ade10 docs: Update the CN Translation for ram-usage and speed 2024-05-20 09:40:06 +02:00
Guillaume Souchere
d98b0c497a docs(performance): Add esp32p4/c5 relevant information to the performance guides
in speed.rst:
- add startup time increase info when spiram test is enabled
- add startup time increase info when spiram is enabled and
  poisoning comprehensive is enabled
- add L2 cache variable size info to optimize IRAM space / cache misses
- update sections refencing bluetooth/wifi built-in tasks to not show
  related info for p4 targets.
- Add IDF_TARGET_RF_TYPE for esp32c5

in ram-usage.rst:
- add L2 cache variable size info to maximize RAM space

Remove the files from esp32c5.txt and esp32p4.txt
that are no longer in need of update.
2024-05-20 09:40:05 +02:00
Lou Tianhao
df8fd000d4 fix(esp_system): fix core1 access cache when core0 close cache during sleep 2024-05-20 14:49:49 +08:00
Jiang Jiang Jian
375a4b878e Merge branch 'fix/fix_cpu_retention_build_error' into 'master'
fix(esp_hw_support): fix hw CPU retention chips build error if not powerdown CPU in sleep

See merge request espressif/esp-idf!30930
2024-05-20 14:02:24 +08:00
wangtao@espressif.com
1dbf032995 feat(wifi): add softap csa&dtim&wait_bcast_data setting and ignore err nodata 2024-05-20 13:59:45 +08:00
Mahavir Jain
99e52bb480 Merge branch 'feature/enable_rsa_support_for_c5_mp' into 'master'
feat: enable RSA support for c5  mp version

Closes IDF-8620

See merge request espressif/esp-idf!30753
2024-05-20 12:17:26 +08:00
Wan Lei
da73e0f8a2 Merge branch 'fix/spi_sct_fix_descripter_oob_when_lager_then_4092' into 'master'
fix(spi_master): fix sct mode descripter oob when data lager then 4092 bytes

See merge request espressif/esp-idf!30545
2024-05-20 11:49:18 +08:00
Jiang Jiang Jian
8a50e61fd7 Merge branch 'feature/reason_for_ap_stadisconnected_event' into 'master'
esp_wifi: softAP: bugfix in  'WIFI_EVENT_AP_STADISCONNECTED' event and cleanup in softAP's disconnect_sta procedure

Closes WIFI-6044 and WIFIBUG-518

See merge request espressif/esp-idf!24238
2024-05-20 11:35:03 +08:00
wuzhenghui
cded21d50e fix(esp_hw_support): fix hw CPU retention chips build error if not powerdown CPU in sleep 2024-05-20 11:04:06 +08:00
Omar Chebib
55acc5e5e7 feat(riscv): add support for PIE coprocessor and HWLP feature
FreeRTOS tasks may now freely use the PIE coprocessor and HWLP feature.
Just like the FPU, usiing these coprocessors result in the task being pinned
to the core it is currently running on.
2024-05-20 10:47:58 +08:00
Marius Vikhammer
8ac349524f Merge branch 'bugfix/lp_core_tests_race_condition' into 'master'
fix(lp_core_test): fixed race-condition in lp core tests

Closes IDFCI-2140

See merge request espressif/esp-idf!30834
2024-05-20 10:44:58 +08:00
Sarvesh Bodakhe
6f966dd0ee fix(esp_wifi): Add some bugfixes and cleanup in softAP
1. Fix wrong reason code in 'WIFI_EVENT_AP_STADISCONNECTED' event
2. cleanup in softAP for disconnecting connected station
3. Update examples to display reason while processing WIFI_EVENT_AP_STADISCONNECTED event
2024-05-19 00:52:59 +05:30
Kapil Gupta
b102277a12 Merge branch 'feat/add_itwt_teardown_status' into 'master'
feat(wifi): add itwt teardown status

See merge request espressif/esp-idf!30679
2024-05-19 02:37:11 +08:00
Aditya Patwardhan
2f689857b3 Merge branch 'fix/fix_flash_encryption_esp32p4' into 'master'
fix(bootloader_support): Fix flash encryption for esp32p4

See merge request espressif/esp-idf!30600
2024-05-17 23:48:28 +08:00
Aditya Patwardhan
a36eb589a6 Merge branch 'fix/add_code_to_print_buffer' into 'master'
fix: Add code to print the response buffer

See merge request espressif/esp-idf!30911
2024-05-17 23:47:15 +08:00
Gao Xu
082730a2c1 Merge branch 'feature/esp32c5_gpio_remove_iomux_reg' into 'master'
feat(gpio): remove io_mux_reg array and fix matrix const input addr

See merge request espressif/esp-idf!30904
2024-05-17 23:15:57 +08:00
Konstantin Kondrashov
66013ba675 feat(log): Refactoring timestamp APIs (move only) 2024-05-17 17:42:31 +03:00
Konstantin Kondrashov
712005c451 Merge branch 'feature/log_level_check_refactoring' into 'master'
feat(log): Refactoring tag level check APIs

Closes IDF-9083, IDF-7919, and IDFGH-6947

See merge request espressif/esp-idf!29331
2024-05-17 22:36:27 +08:00
Darian
2716976c72 Merge branch 'fix/freertos_scheduler_suspend_crit' into 'master'
fix(freertos/idf): Add missing critical sections to vTaskSuspendAll()

See merge request espressif/esp-idf!30829
2024-05-17 22:06:38 +08:00
Adam Múdry
7b32f27e81 Merge branch 'fix/nvs_tool_entry_unknown_type_crash' into 'master'
fix(nvs): Fix nvs_tool accepting an unknown entry type

See merge request espressif/esp-idf!30503
2024-05-17 21:05:22 +08:00
gaoxu
64c9cb43a9 feat(gpio): fix gpio matrix const input addr on C5 MP 2024-05-17 20:55:26 +08:00
gaoxu
5c27ccdae4 feat(gpio): remove io_mux_reg array in gpio_periph.c from c5 2024-05-17 20:55:25 +08:00
Bogdan Kolendovskyy
712f0cbce4 feat(examples/ethernet/basic): add pytest script to basic ethernet example 2024-05-17 14:19:18 +02:00
Adam Múdry
9eedd57a18 fix(nvs): Fix nvs_tool accepting an unknown entry type 2024-05-17 13:18:52 +02:00
Alexey Lapshin
4523f2d674 Merge branch 'fix/stray_sections' into 'master'
fix(system): print warning if stray section is found while linking

See merge request espressif/esp-idf!30366
2024-05-17 18:36:22 +08:00
xuxiao
266ee73e92 feat(wifi): add itwt teardown status 2024-05-17 18:16:34 +08:00
Alexey Lapshin
2b36636f6f fix(system): print warning if stray section is found while linking 2024-05-17 13:37:42 +04:00
Harshit Malpani
49ad0a0766 fix: Add code to print the response buffer 2024-05-17 14:36:30 +05:30
nilesh.kale
92fdaea83a feat: enable RSA support for c5 mp version
This commit enables RSA peripheral support for ESP32-C5 MP version.
2024-05-17 14:22:30 +05:30
Marius Vikhammer
62bb532701 docs(doxygen): fix misc issues with new version of doxygen 2024-05-17 16:12:56 +08:00
Jakob Hasse
8508c85551 Merge branch 'refactor/mqtt_remove_unused_includes' into 'master'
refactor(mqtt): removed unused includes from tcp example

See merge request espressif/esp-idf!30914
2024-05-17 16:04:01 +08:00
WanqQixiang
1595388a7e fix(esp_netif): Fix mldv6 report memory leak in esp_netif 2024-05-17 15:53:55 +08:00
Armando (Dou Yiwen)
895e6d5afc Merge branch 'feat/isp_dsi_example' into 'master'
example(isp): added isp af example

Closes IDF-9808

See merge request espressif/esp-idf!30469
2024-05-17 15:17:35 +08:00
Jakob Hasse
ba685edf45 refactor(mqtt): removed unused includes from tcp example 2024-05-17 09:15:35 +02:00
Sumeet Singh
f265e50ca0 feat(nimble): Added support for Enhanced ATT or ATT over Enhanced L2CAP Credit Based Flow Control Mode 2024-05-17 12:27:32 +05:30
Armando
d9d8c0365e example(isp): added isp af example 2024-05-17 12:39:15 +08:00
Hong Shu Qing
1a6060fa3a Merge branch 'feature/esp32c6_pu8m_in_sleep_support' into 'master'
feat(sleep): support 8m force pu in sleep for esp32c6 & esp32h2

See merge request espressif/esp-idf!30532
2024-05-17 11:34:47 +08:00
C.S.M
5bae2987ee Merge branch 'feature/i2c_multi_write' into 'master'
feature(i2c): Add feature for writting multi buffer

Closes IDFGH-12639

See merge request espressif/esp-idf!30697
2024-05-17 09:54:59 +08:00
Jakob Hasse
562c89993e feat(linux): esp_app_format now works on Linux 2024-05-16 17:01:02 +02:00
chaijie@espressif.com
36bbb64992 feat(sleep): support 8m force pu in sleep for esp32c6/esp32h2 2024-05-16 21:15:05 +08:00
Jiang Jiang Jian
b7a59aa212 Merge branch 'bugfix/fix_c6_rx_statistics' into 'master'
fix(wifi):fix esp32c6 rx statistics does not work

Closes WIFIBUG-569

See merge request espressif/esp-idf!30859
2024-05-16 21:03:35 +08:00
yinqingzhao
694dbd6843 fix(wifi):esp32c6 wifi rx statistics is always zero 2024-05-16 19:20:59 +08:00
C.S.M
133bda4966 test(i2c_master): makeup a write-large read-small test for known reason 2024-05-16 19:14:59 +08:00
C.S.M
ce7f095ddf docs(i2c_master): Add docs for transmit multi buffer in one transaction 2024-05-16 19:14:59 +08:00
C.S.M
2e591cf3f7 test(i2c_master): Add test for transmit multi buffer in one transaction 2024-05-16 19:14:59 +08:00
C.S.M
af1524e7bb feat(i2c_master): Add feature for transmit multi buffer in one transaction,
Closes https://github.com/espressif/esp-idf/pull/13635
2024-05-16 19:14:59 +08:00
nilesh.kale
5348f1656f feat(cjson): update submodule to v1.7.18
Changelog: https://github.com/DaveGamble/cJSON/releases/tag/v1.7.18
2024-05-16 16:16:24 +05:30
zwl
8f3c069c3c ble: fixed some issues on ESP32C6 and ESP32H2 2024-05-16 17:28:58 +08:00
Jiang Jiang Jian
c96d5da7bd Merge branch 'bugfix/fix_bss_color_issues' into 'master'
fix(bss_color):fix bss color issues

Closes WIFIBUG-537, FCW-2, and WIFI6-352

See merge request espressif/esp-idf!30523
2024-05-16 17:23:51 +08:00
zhangshuxian
ca195872c1 docs: Provide CN translation for core dump 2024-05-16 16:55:15 +08:00
Liu Xiao Yu
23a68dacd6 Merge branch 'feature/console_add_sbom_file' into 'master'
feat(system/console): Added argtable3 SBOM manifest file for SPDX file generation for console component

Closes IDF-8228

See merge request espressif/esp-idf!30848
2024-05-16 16:47:22 +08:00
Shen Meng Jing
01355481af Merge branch 'docs/translate_four_docs_in_api-guides' into 'master'
docs: Provide CN Translation for four docs in api-guides

Closes DOC-7676

See merge request espressif/esp-idf!30351
2024-05-16 15:57:50 +08:00
Shen Meng Jing
c0636f8399 Merge branch 'docs/translate_jpeg_driver_arch' into 'master'
docs: Provide translation for jpeg&override_driver&arch in peripherals

Closes DOC-7563

See merge request espressif/esp-idf!30068
2024-05-16 15:52:23 +08:00
Harshal Patil
bb34d78bce Merge branch 'fix/aes_ext_mem_case_for_older_targets' into 'master'
fix(mbedtls/aes): Check location of the buffer only for SOC_AXI_DMA_EXT_MEM_ENC_ALIGNMENT

Closes IDFCI-2153

See merge request espressif/esp-idf!30850
2024-05-16 15:10:28 +08:00
yinqingzhao
a484bdda11 fix(bss_color):fix bss color issues 2024-05-16 14:45:06 +08:00
Gao Xu
b893e3b982 Merge branch 'feature/esp32c5_mp_gpio_support' into 'master'
feat(gpio): fix ESP32P4 fspics0 in io mux reg

See merge request espressif/esp-idf!30846
2024-05-16 14:36:42 +08:00
shenmengjing
acbf7ac735 docs: Provide CN Translation for four docs in api-guides 2024-05-16 14:32:13 +08:00
shenmengjing
2dc3068a21 docs: Provide translation for jpeg&override_driver&arch in peripherals 2024-05-16 14:30:58 +08:00
Konstantin Kondrashov
c3b0418a4e feat(log): Refactoring tag level check APIs 2024-05-16 09:26:08 +03:00
Tomas Rohlinek
f375125e28 Merge branch 'feature/fatfs_ff_strfunc_support' into 'master'
feat(storage/fatfs): add Kconfig settings for FF_USE_STRFUNC

Closes IDFGH-12317

See merge request espressif/esp-idf!30141
2024-05-16 14:20:23 +08:00
Konstantin Kondrashov
374f497bf6 Merge branch 'feature/efuse_support_linux' into 'master'
feat(efuse): Support Linux target

Closes IDF-9144

See merge request espressif/esp-idf!30343
2024-05-16 14:12:15 +08:00
Konstantin Kondrashov
28e592563c Merge branch 'feature/unuse_old_log_apis' into 'master'
feat(all): Remove usage old log macros

See merge request espressif/esp-idf!30598
2024-05-16 13:57:06 +08:00
Jiang Jiang Jian
a58e820a94 Merge branch 'bugfix/fix_esp32_cant_tx_after_tx_timeout' into 'master'
fix(wifi): fix esp32 unrecoverable m f issue

Closes WIFIBUG-449 and WIFIBUG-509

See merge request espressif/esp-idf!30856
2024-05-16 13:40:47 +08:00
harshal.patil
141cdac87e fix(mbedtls/aes): Check location of the buffer only for SOC_AXI_DMA_EXT_MEM_ENC_ALIGNMENT
When buffer_needs_realloc in the AES driver, check the location of the buffer only in case
of SOC_AXI_DMA_EXT_MEM_ENC_ALIGNMENT for allocating the newer buffer, otherwise use generic
DMA capable memory (as was done earlier)
2024-05-16 13:36:30 +08:00
Rahul Tank
57e8031e65 Merge branch 'feature/get_local_used_addr' into 'master'
feat(nimble): Added API to get local used address

See merge request espressif/esp-idf!30595
2024-05-16 12:14:38 +08:00
Xiaoyu Liu
d325d6ebbe feat(system/console): Added argtable3 SBOM manifest file in console component for SPDX file generation 2024-05-16 12:00:00 +08:00
liuning
68cb30a609 fix(wifi): fix esp32 unrecoverable m f issue 2024-05-16 11:58:33 +08:00
Jiang Jiang Jian
c76bc1cadf Merge branch 'bugfix/fix_sniffer_fcs_error_fail' into 'master'
fix(wifi): fixed sniffer dump fcs error packets fail

Closes IDFGH-9408 and IDFGH-12706

See merge request espressif/esp-idf!30128
2024-05-16 11:56:01 +08:00
Li Shuai
9de46dc084 fix(wifi): fix the issue where deinit ble in a coexist scenario causes the wifi mac tsf counter to stop 2024-05-16 11:32:32 +08:00
morris
3b376b03df feat(pcnt): add driver support on esp32c5 2024-05-16 11:09:48 +08:00
Gao Xu
7d097ca98b Merge branch 'csi/add_no_backup_buffer_usage_verify' into 'master'
feat(csi): add verify to no backup buffer usage

See merge request espressif/esp-idf!30788
2024-05-16 10:33:33 +08:00
Michael (XIAO Xufeng)
7bff9f9d28 feat(esp32h2): add development support option for v1.0 chips 2024-05-16 02:23:52 +08:00
Jakob Hasse
7c281c0380 Merge branch 'docs/p4_hw_design' into 'master'
docs(sys-time): update link to hw design guidelines

Closes IDF-8780

See merge request espressif/esp-idf!30795
2024-05-16 00:18:50 +08:00
Darian Leung
25efe5525d refactor(freertos/idf): Add critical section requirements to function description
This commit adds a note regarding the critical section calling requires of some
internal functions.
2024-05-15 23:39:28 +08:00
Darian Leung
88a0227dbe fix(freertos/idf): Add missing critical sections to vTaskSuspendAll()
vTaskSuspendAll() requires critical sections when building for SMP. Otherwise,
it is possible for a task to switch cores in between getting the core ID and
before incremented uxSchedulerSuspended.
2024-05-15 23:29:28 +08:00
Rahul Tank
c516516a01 Merge branch 'doc/update_readme_enc_adv_kconfig' into 'master'
fix(nimble): Remove ESP IP dependancy on enc_adv_data example

See merge request espressif/esp-idf!30847
2024-05-15 22:50:17 +08:00
Konstantin Kondrashov
aed84fa818 feat(efuse): Support Linux target 2024-05-15 16:54:45 +03:00
Wang Ning
e4fd0b7862 Merge branch 'docs/add_missing_usb_functions_to_esp32-c3_devkit_user_guides' into 'master'
Docs: Added missing USB functions to ESP32-C3 DevKit User Guides

Closes DOC-7805

See merge request espressif/esp-idf!30787
2024-05-15 19:06:26 +08:00
Wang Ning
e59446e652 Docs: Added missing USB functions to ESP32-C3 DevKit User Guides 2024-05-15 19:06:26 +08:00
Armando (Dou Yiwen)
0665d7511a Merge branch 'bugfix/fix_isp_input_data_type_limit' into 'master'
fix(isp): updated to only support input data type as raw8

See merge request espressif/esp-idf!30840
2024-05-15 18:46:41 +08:00
Rahul Tank
4d873e3c9f fix(nimble): Remove ESP IP dependancy on enc_adv_data example 2024-05-15 15:27:11 +05:30
gaoxu
37487f1c5e feat(gpio): fix the fspics0 in io mux reg 2024-05-15 17:34:25 +08:00
Rahul Tank
d950485b98 Merge branch 'doc/update_readme_enc_adv' into 'master'
docs(nimble): Added chip information in enc_adv example README file

See merge request espressif/esp-idf!30768
2024-05-15 16:58:44 +08:00
Shu Chen
83eaef8c25 Merge branch 'feature/add_check_for_154_frame' into 'master'
fix(802.15.4): fix a risk for receive_at and ignore bit8 for the frame length

Closes TZ-729

See merge request espressif/esp-idf!30835
2024-05-15 16:01:13 +08:00
Marius Vikhammer
bb380f92fd Merge branch 'bugfix/c5_isr_masking' into 'master'
fix(interrupt): fixed interrupt thresholds not working on C5

See merge request espressif/esp-idf!30818
2024-05-15 16:00:17 +08:00
shenmengjing
5a2836c6bb docs: Edit the CN Translation for idf-py 2024-05-15 15:28:24 +08:00
Ondrej Kosta
a558e94952 fix(esp_eth): fixing memory leak and invalid bit shift 2024-05-15 09:27:37 +02:00
Konstantin Kondrashov
668886842f feat(all): Remove usage old log macros 2024-05-15 15:25:30 +08:00
Shen Meng Jing
8823e1bc84 Merge branch 'docs/translate_usb-otg-console' into 'master'
Docs/Provide translation for usb-otg-console

Closes DOC-7777

See merge request espressif/esp-idf!30650
2024-05-15 15:15:59 +08:00
Konstantin Kondrashov
09dc55fb78 Merge branch 'feature/set_correct_soc_caps' into 'master'
feat(soc): Update efuse related soc_caps for c61 and c5 (MP/beta3)

See merge request espressif/esp-idf!30708
2024-05-15 14:44:17 +08:00
Abhinav Kudnar
c1787c24bd feat(nimble): Added API to get local used address 2024-05-15 12:12:04 +05:30
Armando
f85e0cfdc3 fix(isp): updated to only support input data type as raw8 2024-05-15 14:32:15 +08:00
shenmengjing
29350a2d99 docs: Provide CN Translation for usb-otg-console 2024-05-15 14:21:17 +08:00
Rahul Tank
6b34b6c1fb Merge branch 'bugix/avoid_reset_extract_cb' into 'master'
fix(nimble): Avoid slave instance reset inside extract_cb

See merge request espressif/esp-idf!30420
2024-05-15 13:20:52 +08:00
Mahavir Jain
43908774fe Merge branch 'bugfix/refactor_data_variable_in_mpi_periph' into 'master'
fix(soc): Refactor variable names for MPI operations and block bases

Closes IDF-9508

See merge request espressif/esp-idf!30658
2024-05-15 12:02:51 +08:00
Mahavir Jain
c8d59db5a0 Merge branch 'feature/enable_ecc_support_for_c5_mp' into 'master'
feat: added ecc peripheral support for esp32c5 for mp version

Closes IDF-8625

See merge request espressif/esp-idf!30744
2024-05-15 12:01:41 +08:00
zhangyanjiao
8710a192c4 fix(wifi): fixed sniffer and espnow issue
1. fix(wifi): fixed sniffer dump fcs error packets fail

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

2. fix(wifi): fixed the espnow priv parameter get error

Closes https://github.com/espressif/esp-idf/issues/13693
2024-05-15 11:48:29 +08:00
zwx
17eb2dcce3 fix(802.15.4): fix a risk for receive_at and ignore bit8 for the frame length 2024-05-15 11:08:47 +08:00
Marius Vikhammer
7a89223aed fix(lp_core_test): fixed race-condition in lp core tests 2024-05-15 10:50:23 +08:00
Marius Vikhammer
fc6a068a52 Merge branch 'fix/brownout_crash' into 'master'
fix(brownout): fixed brownout isr crashing if cache disabled

Closes IDF-9731

See merge request espressif/esp-idf!30746
2024-05-15 09:13:04 +08:00
Jiang Jiang Jian
4065dc56b9 Merge branch 'bugfix/nan_datapath_issues' into 'master'
Fix issues in NAN datapath establishment

Closes WIFIBUG-367

See merge request espressif/esp-idf!29065
2024-05-14 22:03:46 +08:00
Jiang Jiang Jian
ffae1dfb9d Merge branch 'doc/update_mesh_doc' into 'master'
docs(wifi): update the docmentation for mesh API

See merge request espressif/esp-idf!30238
2024-05-14 22:03:34 +08:00
Alexey Gerenkov
8b93323da6 Merge branch 'upgrade_clang_toolchain' into 'master'
Upgrade clang toolchain version to 'esp-17.0.1_20240419'

See merge request espressif/esp-idf!29811
2024-05-14 21:47:06 +08:00
Rahul Tank
fca1c0fa3b fix(nimble): Create separate API to only extract cb info 2024-05-14 17:15:49 +05:30
Song Ruo Jing
07a615d581 Merge branch 'feature/esp32c5mp_gdma_support' into 'master'
feat(gdma): add GDMA support for ESP32C5 MP

Closes IDF-9648

See merge request espressif/esp-idf!30418
2024-05-14 16:53:06 +08:00
Ondrej Kosta
af7a99eb36 Merge branch 'feature/esp_emac_improvements' into 'master'
Feature/esp emac improvements

Closes IDF-8993, IDF-9110, IDF-9411, and IDF-5867

See merge request espressif/esp-idf!29828
2024-05-14 16:33:00 +08:00
morris
dc8d455255 Merge branch 'fix/unknown_header_build_failure_hal_crypto_app' into 'master'
fix(hal/test_apps): Fix build failure of the crypto hal test app for ESP32-P4

See merge request espressif/esp-idf!30824
2024-05-14 16:02:28 +08:00
Wan Lei
26ff7bb836 Merge branch 'feat/c61_c6lite_rom_freeze_update' into 'master'
feat(esp32c61): update for rom freeze

Closes IDF-9405

See merge request espressif/esp-idf!30737
2024-05-14 15:44:09 +08:00
chenjianhua
2c93450d59 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(eca46a0)
- Fixed adv data buffer free after restart adv
- Fixed BLE interrupt allocation using esp API
2024-05-14 14:41:39 +08:00
harshal.patil
1c21eb367e fix(hal/test_apps): Fix build failure of the crypto hal test app for ESP32-P4
- Add bootloader_support component in its priv_requires as we use source files from mbedtls
2024-05-14 11:53:44 +05:30
Ondrej Kosta
5e7cbdb4da feat(esp_eth): added example to deinit Ethernet 2024-05-14 08:23:35 +02:00
Ondrej Kosta
d15a9c2c48 feat(esp_eth): a new folder structure of the driver and other improvements
Fixed memory leak in emac_esp_new_dma function.

Polished ESP EMAC cache management.

Added emac_periph definitions based on SoC features and improved(generalized) ESP EMAC GPIO
initialization.

Added ESP EMAC GPIO reservation.

Added check for frame error condition indicated by EMAC DMA and created a target test.
2024-05-14 08:23:31 +02:00
Shyamal Khachane
029748bfad fix(esp_wifi): Fix issues in NAN datapath establishment
1. Resolve indefinite waiting while stopping NAN
2. Increase NDP response timeout to 8 DW's
3. Set NAN discovery beacon interval to 100 TU's as per Section 9.2
   of Wi-Fi Aware Specification v4.0
2024-05-14 11:24:45 +05:30
Mahavir Jain
ee8a9e8410 Merge branch 'fix/aes_operation_using_psram_memory_with_psram_enc' into 'master'
Enable AXI-DMA AES-ECC mean access when external memory encryption is enabled

See merge request espressif/esp-idf!30379
2024-05-14 13:15:33 +08:00
nilesh.kale
b227154fd3 fix(soc): Refactor variable names for MPI operations and block bases 2024-05-14 10:34:33 +05:30
nilesh.kale
948d46a765 feat: added ecc peripheral support for esp32c5 for mp version
This commits adds support for ECC peripheral for ESP32C5 MP version
This is tested on mbedtls and hal testapps.
2024-05-14 10:24:52 +05:30
wanlei
e89e8e0ded feat(esp32c61): update for rom freeze 2024-05-14 12:46:51 +08:00
Song Ruo Jing
001d4e1f8b feat(gdma): add GDMA support for ESP32C5 MP 2024-05-14 11:37:40 +08:00
Marius Vikhammer
4b4f4c200a fix(interrupt): fixed interrupt thresholds not working on C5 2024-05-14 10:56:22 +08:00
Marius Vikhammer
6245159dcc Merge branch 'feat/c5_basic_pma' into 'master'
feat(cpu): add basic PMA protection for null access

See merge request espressif/esp-idf!30803
2024-05-14 10:06:18 +08:00
Jakob Hasse
69c04f4adf refactor(esp_partition): Made private includes private on Linux 2024-05-13 16:02:19 +02:00
Jiang Jiang Jian
f97ad23b4d Merge branch 'bugfix/ftm_fix_wrong_compensation' into 'master'
fix(esp_wifi): Fix issue in selecting FTM compensation with external AP

Closes WIFIBUG-547 and WIFIBUG-548

See merge request espressif/esp-idf!30684
2024-05-13 21:14:04 +08:00
Bogdan Kolendovskyy
4699a3c899 Merge branch 'feature/iperf_use_component' into 'master'
feat(iperf): use iperf component in iperf example

See merge request espressif/esp-idf!29879
2024-05-13 20:58:49 +08:00
Bogdan Kolendovskyy
a23d1b45af feat(iperf): use iperf component in iperf example 2024-05-13 14:11:41 +02:00
Konstantin Kondrashov
5ed066f3a8 feat(soc): Update efuse related soc_caps for c61 and c5 (MP/beta3) 2024-05-13 19:54:28 +08:00
Sudeep Mohanty
7430285d45 Merge branch 'fix/hello_world_linux_target_on_macos' into 'master'
fix(esp-tls): Fix compilation for linux target on macos

See merge request espressif/esp-idf!30798
2024-05-13 19:31:00 +08:00
harshal.patil
3eb6487bb5 fix(bootloader_support): Make esp_flash_encrypt.h independent of spi_flash_mmap.h header 2024-05-13 16:54:45 +05:30
harshal.patil
5dfbc47192 fix(mbedtls/crypto_shared_gdma): Enable AXI-DMA enable external memory AES-ECC access
- When external memory encryption is enabled, set the aes_ecc bit of AXI-DMA to enable memory access
2024-05-13 16:54:45 +05:30
Abhik Roy
e2f6920c4f Merge branch 'lwip/if_indextoname_compolation_fix' into 'master'
fix(newlib): Fixed compilation error referencing undefined POSIX interface API

Closes IDFGH-12575

See merge request espressif/esp-idf!30561
2024-05-13 18:39:56 +08:00
Gao Xu
1029476a82 Merge branch 'feature/esp32c5_mp_gpio_support' into 'master'
C5 gpio support and update docs

See merge request espressif/esp-idf!30792
2024-05-13 18:36:52 +08:00
Marius Vikhammer
dfcc710aef feat(cpu): add basic PMA protection for null access 2024-05-13 18:10:19 +08:00
Harshit Malpani
6345761c80 Merge branch 'contrib/github_pr_13764' into 'master'
Document additional errs returned by esp_ota_write (GitHub PR)

Closes IDFGH-12784

See merge request espressif/esp-idf!30765
2024-05-13 17:03:27 +08:00
gaoxu
1138d7d56a feat(gpio): update c5 mp gpio docs 2024-05-13 16:19:28 +08:00
gaoxu
6def5faab5 feat(gpio): rename c61 IOMUX to IO_MUX 2024-05-13 16:18:19 +08:00
gaoxu
bce26b29c3 feat(rom): update c5 mp verison rom ld file 2024-05-13 16:18:18 +08:00
Sudeep Mohanty
41a8521774 fix(esp-tls): Fix compilation for linux target on macos
This commit fixes compilation errors for the esp-tls component for the
linux target on a MacOS system.
2024-05-13 10:13:54 +02:00
wuzhenghui
1fa8216830 fix(esp_hw_support/sleep): stop TG0/TG1 watchdog if XTAL not power down in lightsleep 2024-05-13 15:46:42 +08:00
gaoxu
8390cc1b0e feat(csi): add verify to no backup buffer usage 2024-05-13 15:42:10 +08:00
wuzhenghui
ad54af74d6 change(esp_hw_support/sleep): improve esp32c3 systimer stall bug workaround 2024-05-13 15:07:40 +08:00
Marius Vikhammer
7b61598e5b docs(sys-time): update link to hw design guidelines 2024-05-13 14:51:47 +08:00
Shu Chen
562623c67e Merge branch 'feature/ot_remove_config_buffer_range' into 'master'
feat(openthread): remove the range for some configurations

See merge request espressif/esp-idf!30770
2024-05-13 14:43:27 +08:00
Nachiket Kukade
23809777fa fix(esp_wifi): Fix issue in selecting FTM compensation with external AP 2024-05-13 12:10:38 +05:30
Jiang Jiang Jian
55c4076206 Merge branch 'fix/example_iperf_readme' into 'master'
doc: update wifi iperf README

See merge request espressif/esp-idf!30767
2024-05-13 11:50:49 +08:00
wanlei
4f424da1ee fix(spi_master): fix sct mode descripter oob when data lager then 4092 bytes 2024-05-13 11:42:29 +08:00
zwx
927bead6c4 feat(openthread): remove the range for some configurations 2024-05-13 10:53:17 +08:00
Wang Lei
1ee9f80067 Merge branch 'feat/remove_sdio_rst_for_c5mp_c61' into 'master'
fix(esp_rom): remove sdio rst for c5mp c61

See merge request espressif/esp-idf!30691
2024-05-13 10:40:28 +08:00
Lucian Popescu
37d9a3c183 docs(ota): Document additional errs returned by esp_ota_write
Squashed commit of the following:

commit f47a894231168298f9763642e7d421ebd5e7dc46
Author: Lucian Popescu <lucian.popescu187@gmail.com>
Date:   Fri May 10 10:44:17 2024 +0300

    Update correct codes for esp_ota_write

    Co-authored-by: Harshit Malpani <65167938+hmalpani@users.noreply.github.com>

commit ea407fb82ec75a2e666713607e8892f0ffa91556
Author: Lucian Popescu <lucian.popescu187@gmail.com>
Date:   Wed May 8 14:06:37 2024 +0300

    docs(ota): Document additional errs returned by esp_ota_write
2024-05-12 18:51:08 +08:00
Michael (XIAO Xufeng)
ddefb85703 Merge branch 'docs/compatibility_c2_v102' into 'master'
doc(compatibility): add compatibility docs for C2

See merge request espressif/esp-idf!28590
2024-05-12 00:03:52 +08:00
morris
6a57c26469 Merge branch 'feature/esp32c5_mp_gpio_support' into 'master'
esp32c5 mp gpio support

Closes IDF-9649

See merge request espressif/esp-idf!30474
2024-05-11 22:50:23 +08:00
C.S.M
0299e78272 Merge branch 'bugfix/bod_wait_cycle_c2_c3' into 'master'
bugfix(brownout): Fix no intr cycle wait on esp32c3, esp32c2

Closes IDF-9661

See merge request espressif/esp-idf!30785
2024-05-11 17:50:47 +08:00
C.S.M
096a23af06 Merge branch 'feature/usj_support_p4' into 'master'
feature(usb_serial_jtag): Add usb serial jtag support on esp32p4

Closes IDF-7496

See merge request espressif/esp-idf!30754
2024-05-11 17:50:27 +08:00
Jiang Jiang Jian
94f543d10c Merge branch 'bugfix/fix_mesh_packet_tx_issue' into 'master'
fix(wifi): fix the tx issue when mesh timeremain equal to zero

Closes WIFIBUG-276

See merge request espressif/esp-idf!30587
2024-05-11 16:30:55 +08:00
C.S.M
46b19b8526 bugfix(brownout): fix issue that no wait cycle on c3 and c2 2024-05-11 15:33:50 +08:00
Kevin (Lao Kaiyao)
8054d82ea1 Merge branch 'bugfix/fix_intr_priority_in_isp_af' into 'master'
fix(isp_af): fixed isp af intr priority

See merge request espressif/esp-idf!30782
2024-05-11 15:13:30 +08:00
C.S.M
bbe23a467a test(spi_flash): Disable flash wrap test on esp32p4 2024-05-11 14:53:19 +08:00
wanglei
097a53f139 fix(soc): remove RESET_REASON_CORE_SDIO define for esp32c61 2024-05-11 14:46:09 +08:00
wanglei
2e27c22afd fix(esp_system): remove sdio core rst for esp32c61 2024-05-11 14:46:09 +08:00
wanglei
f074909ab5 fix(esp_rom): remove sdio rst, wake cause from rom rtc.h 2024-05-11 14:46:09 +08:00
C.S.M
15cf203632 feature(usb_serial_jtag): add usb serial jtag support for esp32p4 2024-05-11 14:16:57 +08:00
Aditya Patwardhan
a04cc5289c fix(bootloader_support): Fix flash encryption for esp32p4 2024-05-11 10:01:16 +05:30
Michael (XIAO Xufeng)
0121e99d05 Merge branch 'feature/support_chip912_cpll_spll_eco1' into 'master'
feat: support(esp32p4_eco1): modify cpll and spll config

Closes IDF-9612, IDF-9613, and IDF-8939

See merge request espressif/esp-idf!30675
2024-05-11 11:42:39 +08:00
zhanghaipeng
afca005778 fix(ble/bluedroid): Fixed BLE set adv param check 2024-05-11 11:13:40 +08:00
laokaiyao
e106c281ad fix(isp_af): fixed isp af intr priority 2024-05-11 11:12:43 +08:00
gaoxu
cbef285352 feat(pm): add SOC_PM_SUPPORTED in soc caps 2024-05-11 10:51:17 +08:00
gaoxu
6e4b50511e feat(coredump): replace fun sel function 2024-05-11 10:51:16 +08:00
gaoxu
3db559ab21 feat(gpio): update gpio docs on ESP32C5 MP version 2024-05-11 10:49:42 +08:00
Kevin (Lao Kaiyao)
8b44f216b4 Merge branch 'feature/parlio_rx_driver_p4' into 'master'
feat(parlio_rx): supported parlio rx on p4

Closes IDF-7471, IDF-9424, and IDF-8284

See merge request espressif/esp-idf!25259
2024-05-11 10:45:30 +08:00
Xiao Xufeng
8753934582 feat(esp32p4): add eco1 revision config option 2024-05-10 22:51:12 +08:00
chaijie@espressif.com
29ddd2b720 feat(esp32p4_eco1): modify cpll and spll config 2024-05-10 22:18:17 +08:00
Abhik Roy
67440fa4e9 fix(lwip): Fixed compilation error referencing undefined POSIX interface API
Closes https://github.com/espressif/esp-idf/issues/13577
2024-05-10 23:05:36 +10:00
Wang Fang
9e7530e799 Merge branch 'docs/update_getting_started_for_esp32p4_support' into 'master'
Docs/update getting started for esp32p4 support

See merge request espressif/esp-idf!30373
2024-05-10 19:24:24 +08:00
Wang Fang
937b290bee docs: Updated Getting Started for ESP32-P4 support 2024-05-10 17:57:57 +08:00
laokaiyao
627631429a feat(parlio_rx): support parlio rx on p4 2024-05-10 16:55:46 +08:00
zhangyanjiao
a017812623 fix(wifi): fix the tx issue when mesh packet lifetime remain equal to zero 2024-05-10 16:28:52 +08:00
Fu Hanxi
d3abfa3d73 Merge branch 'ci/fix_pytest_embedded_log_dir' into 'master'
ci: move log dir from pytest_embedded_log to pytest-embedded

See merge request espressif/esp-idf!30747
2024-05-10 16:28:49 +08:00
shenmengjing
60cd5933d6 docs: Edit the CN Translation and EN Source 2024-05-10 15:30:16 +08:00
Martin Vychodil
079138ce6b Merge branch 'docs/make_fatfsgen_docs_more_visible' into 'master'
docs(storage): Make "Generating and Parsing FATFS on Host" doc more visible

Closes IDF-9891

See merge request espressif/esp-idf!30686
2024-05-10 15:24:35 +08:00
Chen Yudong
202eb1ce86 docs: update wifi iperf README 2024-05-10 15:04:08 +08:00
Rahul Tank
29e5a80eb0 docs(nimble): Added chip information in ble_enc_adv README file 2024-05-10 09:53:54 +05:30
Wang Meng Yang
caa248be08 Merge branch 'bugfix/loadprohibited_after_bt_deinit' into 'master'
fix(coex): fixed crash issue in coexist callback

Closes BT-3715

See merge request espressif/esp-idf!30493
2024-05-10 12:16:43 +08:00
Mahavir Jain
a3dff04cf3 Merge branch 'bugfix/fix_resetting_redirect_counter' into 'master'
fix: reset redirect counter for using same handler

Closes IDFGH-12636 and IDFGH-12667

See merge request espressif/esp-idf!30395
2024-05-10 12:02:36 +08:00
Mahavir Jain
9294914c4a Merge branch 'bugfix/make_event_posting_timeout_configurable' into 'master'
fix: Add config option to set timeout for posting events

Closes IDFGH-12649

See merge request espressif/esp-idf!30601
2024-05-10 11:58:45 +08:00
Wang Meng Yang
c07d323486 Merge branch 'fix/assert_1024_in_rwbt_isr' into 'master'
fix(bt): fixed assert_1024 issue when bt tx and wifi coexist

Closes BT-1611, BT-3373, and IDFGH-12664

See merge request espressif/esp-idf!30635
2024-05-10 11:29:24 +08:00
gongyantao
88774ee612 fix(bt): fixed assert_1024 issue when bt tx and wifi coexist
Closes https://github.com/espressif/esp-idf/issues/13656
2024-05-10 10:18:54 +08:00
David Čermák
933116be65 Merge branch 'lwip/thread_sem_oomem_crash' into 'master'
fix(lwip): Fix crash to fail-safe error if cannot get semaphore

Closes IDF-8888

See merge request espressif/esp-idf!29766
2024-05-09 23:19:48 +08:00
Rahul Tank
9dd98b9ba4 Merge branch 'bugfix/free_controlle_memory_in_init_fail' into 'master'
fix(nimble): Free controller memory if init fails

See merge request espressif/esp-idf!30688
2024-05-09 23:18:25 +08:00
David Cermak
a8eed53bc2 fix(lwip): Fix null dereference if we cannot allocate semaphore
* Update submodule: git log --oneline f7922143..a1bd9e44
Detailed description of the changes:
  - api_msg: Fix crash to fail-safe error if cannot get semaphore (espressif/esp-lwip@a1bd9e44)
2024-05-09 21:48:00 +08:00
David Čermák
31253679d9 Merge branch 'bugfix/bind_dhcps_netif' into 'master'
fix(lwip/dhcp_server): Bind dhcps netif to avoid handling the dhcp packet from other netif

See merge request espressif/esp-idf!30537
2024-05-09 19:44:19 +08:00
Erhan Kurubas
5f5f8c2d23 Merge branch 'docs/esp32p4_apptrace' into 'master'
docs(app_trace): Update docs for ESP32-P4

Closes IDF-7753

See merge request espressif/esp-idf!30608
2024-05-09 19:26:39 +08:00
Erhan Kurubas
bd9b376c3b Merge branch 'docs/esp32c5_update' into 'master'
docs(esp32c5): update docs_not_updated.txt

Closes IDF-9486 and IDF-9489

See merge request espressif/esp-idf!30642
2024-05-09 19:24:30 +08:00
Erhan Kurubas
1e90b1f571 Merge branch 'coredump_fixes' into 'master'
Coredump fixes

Closes IDFGH-12775 and IDFCI-2141

See merge request espressif/esp-idf!30641
2024-05-09 19:22:12 +08:00
David Čermák
8c97b7f548 Merge branch 'fix/docs_wifi_get_sta_list' into 'master'
fix(docs): tcpip_adapter: Document replacement of tcpip_adapter_get_sta_list

Closes DOC-7657

See merge request espressif/esp-idf!30472
2024-05-09 19:06:05 +08:00
Ivan Grokhotkov
5425abc6cb Merge branch 'bugfix/sdspi_tests' into 'master'
sdspi: test-related fixes

Closes IDF-8750

See merge request espressif/esp-idf!30612
2024-05-09 18:52:55 +08:00
Fu Hanxi
152db1a4ba ci: move log dir from pytest_embedded_log to pytest-embedded 2024-05-09 12:23:04 +02:00
Marius Vikhammer
fdd6aeeba7 fix(brownout): fixed brownout isr crashing if cache disabled
If a brownout ISR was triggered while cache was disabled the system would panic.

This was due to a print accessing a string stored in flash
2024-05-09 17:50:02 +08:00
David Čermák
e42f1c53e0 Merge branch 'feat/netif_dhcps_captive_portal' into 'master'
feat(esp_netif): add support for DHCP Option 114 captive portal URI

Closes IDFGH-11885

See merge request espressif/esp-idf!30267
2024-05-09 17:22:22 +08:00
Jiang Jiang Jian
4426fca883 Merge branch 'bugfix/gcmp_mr_regression' into 'master'
fix(wifi): Fix issue of wrong Rx control information of espnow packets for esp32 and esp32s2

Closes WIFIBUG-534

See merge request espressif/esp-idf!30703
2024-05-09 15:57:05 +08:00
David Cermak
8103d5bc34 fix(esp_netif): Add API docs to DHCP client/server operations 2024-05-09 09:49:47 +02:00
Jiang Jiang Jian
1a6dd7144c Merge branch 'bugfix/libphy_chips_20240430' into 'master'
update c3 s3 c6 libphy fix coex reset and bug

See merge request espressif/esp-idf!30577
2024-05-09 10:40:09 +08:00
Wang Meng Yang
7ad17816d6 Merge branch 'doc/update_bt_sleep_process' into 'master'
docs: Update the process of Bluetooth entering sleep in the sleep_modes.rst

Closes BT-3708

See merge request espressif/esp-idf!30381
2024-05-09 09:28:05 +08:00
Roland Dobai
fee61b76a1 Merge branch 'fix/idf_size_python_compat' into 'master'
fix: make idf_size.py compatible with python3.8

Closes IDF-9893

See merge request espressif/esp-idf!30700
2024-05-09 01:40:14 +08:00
liuning
18cde4e7d8 update c3 s3 c6 libphy fix coex reset and bug 2024-05-08 20:23:55 +08:00
Roman Leonov
f86758f785 Merge branch 'refactor/usb_host_hub_api_prepeq_for_enum_driver' into 'master'
refactor(hub): Updated HUB api for ENUM driver

Closes IDF-9790

See merge request espressif/esp-idf!29912
2024-05-08 19:52:09 +08:00
Sarvesh Bodakhe
bc63f1e7fa fix(wifi): Fix issue of wrong Rx control information of espnow packets
Only for esp32 and esp32s2
2024-05-08 17:11:34 +05:30
Frantisek Hrbata
9df59a2193 ci: add simple test for idf_size.py python compatibility
This adds a simple test that tries to run idf_size.py help and check
if the process does not exit with error. This is just to make sure
that idf_size.py can be used with minimum required python version.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-05-08 13:38:19 +02:00
Adam Múdry
15b31001a0 docs(storage): Make "Generating and Parsing FATFS on Host" doc more visible 2024-05-08 11:57:36 +02:00
Frantisek Hrbata
9fe4ceafc7 fix: make idf_size.py compatible with python3.8
Previous 6caa4a17ac ("fix: display correct help in the idf_size.py wrapper")
introduced a regression, because it uses exit_on_error parameter for
argparse.ArgumentParser, which was added in python3.9, making
idf_size.py incompatible with idf.py minimal required python3.8.

The objective is to inspect the arguments of idf_size.py using a wrapper
argparse to determine whether the legacy or refactored version should be
initiated, while always displaying help for the underlying version. The
exit_on_error function was previously utilized to prevent argparse from
exiting and displaying help/usage. This replaces exit_on_error with a
workaround that makes the --format argument optional. Since this is the
sole instance where the wrapper argparse might fail, it achieves the
same outcome as using exit_on_error.

Fixes: 6caa4a17ac ("fix: display correct help in the idf_size.py wrapper")
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-05-08 11:21:10 +02:00
shenmengjing
a89e354f9d docs: Update the CN Translation for idf-py and spiffs 2024-05-08 17:15:06 +08:00
Li Shuai
8920cce89e Merge branch 'bugfix/pm-107' into 'master'
fix esp32c6 failed to enter light sleep caused by soc wakeup request signal

Closes PM-107

See merge request espressif/esp-idf!30551
2024-05-08 16:39:05 +08:00
morris
347cabce75 Merge branch 'feat/mipi_dsi_draw_pixel_round_boundary' into 'master'
feat(mipi_dsi): round to boundary when draw pixel

Closes AUD-5384

See merge request espressif/esp-idf!30588
2024-05-08 16:30:15 +08:00
Roman Leonov
7b7b8680ca Merge branch 'refactor/usb_host_usbh_api_prereq_for_enum_driver' into 'master'
refactor(usbh): Updated USBH api for ENUM driver

Closes IDF-9723

See merge request espressif/esp-idf!29913
2024-05-08 15:02:08 +08:00
Harshit Malpani
1ac2ebbeb9 fix: Add config option to set timeout for posting events
Event posting to the event loop should not hinder the working of
HTTP Client or HTTP Server. This commit add a config option to set
the timeout for posting the events to the loop.

Closes https://github.com/espressif/esp-idf/issues/13641
2024-05-08 11:41:05 +05:30
morris
4b67df323d feat(mipi_dsi): round to boundary when draw pixel 2024-05-08 14:08:19 +08:00
Xiao Xufeng
d790cc9a8c doc(compatibility): add compatibility docs for C2 2024-05-08 12:34:11 +08:00
Rahul Tank
d42058de17 fix(nimble): Free controller memory if init fails 2024-05-08 09:57:22 +05:30
Li Shuai
ddd65e1f54 fix(esp_wifi): clear soc wakeup request signal at tbtt process 2024-05-08 10:40:16 +08:00
Kirill Chalov
40ec44473c Merge branch 'docs/update_alerts_in_readmes_to_gfm_format' into 'master'
docs: Update alerts in READMEs to GFM format

See merge request espressif/esp-idf!30628
2024-05-08 10:38:42 +08:00
Island
705c21d38e Merge branch 'feat/display_ble_controller_init_status' into 'master'
feat(ble/controller): Display BLE controller init status for ESP32 and ESP32-C3/S3

Closes BLERP-728

See merge request espressif/esp-idf!30651
2024-05-08 10:28:31 +08:00
Ivan Grokhotkov
1680c2fe33 Merge branch 'bugfix/pytest_build_dir_arg' into 'master'
fix(pytest): respect --build-dir argument from pytest-embedded

See merge request espressif/esp-idf!30609
2024-05-07 21:12:57 +08:00
Roman Leonov
325bbfb8d5 refactor(hub): Updated HUB api (enum driver) 2024-05-07 15:09:06 +02:00
Roman Leonov
596672fdcd refactor(usbh): Updated USBH api (enum driver) 2024-05-07 15:07:51 +02:00
Martin Vychodil
4ecba50c8a Merge branch 'fix/coverity_vfs_fat_mem_overlapping' into 'master'
fix(vfs): fix coverity issue copy of overlapping memory in vfs_fat.c

Closes IDF-9833

See merge request espressif/esp-idf!30629
2024-05-07 20:48:35 +08:00
Shen Meng Jing
ebeff9aef1 Merge branch 'docs/translate_esp_eth' into 'master'
docs: Provide CN translation for esp_eth

Closes IDF-9057

See merge request espressif/esp-idf!30080
2024-05-07 19:34:39 +08:00
Zhang Xiao Yan
32e0f60de0 Merge branch 'docs/fix_clock_sources_esp32c6' into 'master'
docs: fix clock sources for esp32c6

See merge request espressif/esp-idf!29256
2024-05-07 18:55:00 +08:00
Abhik Roy
437f08100d fix(esp_netif): Fixed Coverity issue CID 459204
Closes IDF-9847

See merge request espressif/esp-idf!29400
2024-05-07 20:43:22 +10:00
Abhik Roy
a13bd2388b docs(examples): Added network config to icmpv6_ping readme and other fixes 2024-05-07 20:43:22 +10:00
shenmengjing
8815d1a8be docs: Provide CN translation for esp_eth 2024-05-07 18:05:10 +08:00
Fu Hanxi
6354a793e0 Merge branch 'fix/pytest_session_dir' into 'master'
ci: apply new fix in pytest-embedded 1.10

See merge request espressif/esp-idf!30660
2024-05-07 18:01:20 +08:00
Linda
52cfd1bf24 docs: fix clock sources for esp32c6 2024-05-07 17:35:39 +08:00
Fu Hanxi
948fdfcc2c ci: apply new fix in pytest-embedded 1.10 2024-05-07 17:28:28 +08:00
Fu Hanxi
6a4db9c07b ci: update mypy check for python 3.12, check under python 3.8 rules 2024-05-07 17:28:28 +08:00
Roland Dobai
01c13a72a6 Merge branch 'set_gdb_remotetimeout' into 'master'
tools(gdbinit): set remote timeout for the gdb connection

See merge request espressif/esp-idf!30644
2024-05-07 17:22:17 +08:00
Wu Zheng Hui
badb22bc2e Merge branch 'fix/fix_esp_pm_case_high_fail_ratio' into 'master'
fix(esp_pm): fix esp_pm test cases high fail ratio

Closes IDFCI-2143

See merge request espressif/esp-idf!30653
2024-05-07 16:54:14 +08:00
zhanghaipeng
fc9290d8a2 fix(ble/bluedroid): Fixed BLE spelling error in word 2024-05-07 16:24:27 +08:00
Ondrej Kosta
ed8063ed9e ci(examples): added depends_components for Network examples 2024-05-07 10:24:20 +02:00
wuzhenghui
1c9986501b fix(esp_pm): fix esp_pm test cases high fail ratio 2024-05-07 16:20:19 +08:00
Jiang Jiang Jian
a5165ea1fc Merge branch 'bugfix/wpa_wpa2_wpa3_mixed_mode' into 'master'
fix(wifi): Fix issue in scan when AP advertises WPA and WPA2 with SAE AKM

Closes WIFIBUG-496

See merge request espressif/esp-idf!30627
2024-05-07 16:17:15 +08:00
Roland Dobai
cbdb4de892 Merge branch 'fix/idf_size_help' into 'master'
fix: display correct help in the idf_size.py wrapper

Closes IDF-9881

See merge request espressif/esp-idf!30639
2024-05-07 16:00:32 +08:00
zhanghaipeng
b270f0abc3 feat(ble/bluedroid): Add BLE memory allocation failure message 2024-05-07 15:32:11 +08:00
Island
5a09fce7e4 Merge branch 'bugfix/fix_ble_scan_back_off' into 'master'
fix(ble/controller): Update esp32 bt-lib (b79d7e2)

Closes IDFCI-2016

See merge request espressif/esp-idf!30582
2024-05-07 14:14:42 +08:00
Harshit Malpani
ef5e4ddee8 fix: Add warning to enable LWIP_NETIF_LOOPBACK to use control socket API
Closes https://github.com/espressif/esp-idf/issues/13659
2024-05-07 10:39:12 +05:30
Harshit Malpani
1987f055c9 fix: reset redirect counter for using same handler
Closes https://github.com/espressif/esp-idf/issues/13633
2024-05-07 10:27:23 +05:30
Erhan Kurubas
8e524d708c fix(coredump): fix buffer overflow inside esp_core_dump_get_summary
Closes https://github.com/espressif/esp-idf/issues/13754
2024-05-07 06:49:28 +02:00
Rahul Tank
5791913b85 Merge branch 'bugfix/disable_mbedtls_options' into 'master'
fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used

See merge request espressif/esp-idf!30497
2024-05-07 12:37:42 +08:00
morris
797ce920a7 Merge branch 'test/gdma_fetch_data_in_flash' into 'master'
test(gdma): can read data from flash rodata

See merge request espressif/esp-idf!30479
2024-05-07 12:23:45 +08:00
zhanghaipeng
24e7d9b1cb feat(ble/controller): Display BLE controller init status for ESP32 and ESP32C3/S3 2024-05-07 11:00:03 +08:00
Island
498cf723f0 Merge branch 'bugfix/fix_ble_pktlen_change' into 'master'
Bugfix/fix ble pktlen change

Closes BLERP-726

See merge request espressif/esp-idf!30630
2024-05-07 09:28:27 +08:00
Alexey Lapshin
c30e49c718 Merge branch 'fix/reduce-binary-size' into 'master'
Reduce binary size

Closes IDF-9718

See merge request espressif/esp-idf!30485
2024-05-07 05:21:42 +08:00
Erhan Kurubas
810adf2dcc change(gdbinit): set remote timeout for the gdb connection 2024-05-06 22:06:18 +02:00
Jakob Hasse
8c51cc6ae2 Merge branch 'bugfix/linux_target_mac' into 'master'
fix(linux): fixed build errors on MacOS

Closes IDF-9791

See merge request espressif/esp-idf!30525
2024-05-07 01:13:19 +08:00
Erhan Kurubas
7b3b1f4d5f docs(esp32c5): update docs_not_updated.txt 2024-05-06 17:46:26 +02:00
Erhan Kurubas
94fc3630f5 ci(panic): add flash encrypted coredump tests 2024-05-06 15:54:33 +02:00
Erhan Kurubas
551d91ea8a ci(coredump): fix capture dram tests 2024-05-06 15:43:43 +02:00
Erhan Kurubas
60a99a9f97 fix(coredump): don't allow mapping of non-encrypted coredump partition 2024-05-06 15:39:12 +02:00
Mahavir Jain
f311c23145 Merge branch 'feat/enable_and_fix_app_update_test_app' into 'master'
feat: Enable test app for app_update component

Closes IDF-9803 and IDF-9804

See merge request espressif/esp-idf!30496
2024-05-06 20:50:21 +08:00
sonika.rathi
a1e06ebab0 fix(vfs): fix coverity issue copy of overlapping memory in vfs_fat.c 2024-05-06 13:57:08 +02:00
Frantisek Hrbata
6caa4a17ac fix: display correct help in the idf_size.py wrapper
Currently the wrapper tries to figure out which version of
the esp-idf-size should be started. The legacy version is
used if explicitly requested by the -l/--legacy option or
if json format is specified. This works fine, but if help
is requested, it is printed for the wrapper as shown bellow

$ idf_size.py -h
usage: idf_size.py [-h] [--format FORMAT] [-l]

options:
  -h, --help       show this help message and exit
  --format FORMAT
  -l, --legacy

This is not convenient and the full help from the underlying
version should be displayed.

Fix this by only peeking into the args to figure out if legacy or
refactored version should be started and always spawn the underlying
esp_idf_size python module. This is done by using exit_on_error=False and
add_help=False for the ArgumentParser. When help for refactored version
is requested a note as following is printed to notify users that the
legacy version can still be used.

$ idf_size.py -h
Note: legacy esp_idf_size version can be invoked by specifying the -l/--legacy
option or by setting the ESP_IDF_SIZE_LEGACY environment variable.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-05-06 13:00:49 +02:00
Mo Fei Fei
0de1efcef9 Merge branch 'docs/update_cn_trans_esp_https_ota' into 'master'
docs: update cn trans for esp_https_ota

Closes DOC-7732

See merge request espressif/esp-idf!30579
2024-05-06 18:44:57 +08:00
morris
2352f17e63 test(gdma): can read data from flash rodata 2024-05-06 18:03:17 +08:00
morris
eb83d9aa0a feat(gdma): set default valid memory range for gdma 2024-05-06 18:03:17 +08:00
mofeifei
a4d0b370b5 docs: update cn trans for esp_https_ota 2024-05-06 17:48:00 +08:00
Rahul Tank
4b4602d846 fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used 2024-05-06 15:15:36 +05:30
Jakob Hasse
2f0ef33f9d fix(linux): fixed build errors on MacOS 2024-05-06 11:14:05 +02:00
zhanghaipeng
840da7ab11 fix(ble/controller): Update esp32 bt-lib (b79d7e2)
- Fixed BLE scan backoff
2024-05-06 16:17:14 +08:00
Jakob Hasse
7f056333ae Merge branch 'doc/ringbuffer' into 'master'
docs(esp_ringbuf): Corrected example code block

Closes IDFGH-12748

See merge request espressif/esp-idf!30610
2024-05-06 16:07:32 +08:00
zhanghaipeng
bc1851d793 fix(ble/bluedroid): Optimize BLE stack connect callback name 2024-05-06 15:43:09 +08:00
zhanghaipeng
f2cfe4a0f0 fix(ble/bluedroid): Fixed BLE no data length change event 2024-05-06 15:34:21 +08:00
kirill.chalov
6cefbfd395 docs: Update alerts in READMEs to GFM format
For details, see https://github.com/orgs/community/discussions/16925
2024-05-06 15:19:15 +08:00
Sarvesh Bodakhe
2700b750b6 fix(wifi): Fix issue in scan when AP advertises WPA and WPA2 with SAE AKM 2024-05-06 11:43:27 +05:30
Nilesh Kale
ade6a5ec07 Merge branch 'bugfix/free_memory_if_failed_to_strart_http_server' into 'master'
fix(esp_https_server): fix memory leak during configuring http server

Closes IDFGH-12519

See merge request espressif/esp-idf!30233
2024-05-06 13:41:23 +08:00
Wang Meng Yang
8c76bd49b2 Merge branch 'bugfix/add_param_check_for_enh_sync_conn' into 'master'
fix(bt/controller): Parse out the correct packet types from Host parameters

See merge request espressif/esp-idf!29973
2024-05-06 10:07:03 +08:00
Alexey Gerenkov
86ef0c23fd refactor(test): Change clang build tests app name 2024-05-03 16:55:18 +03:00
Alexey Gerenkov
e662b51b77 fix(build): Fix variable declaration inside switch case 2024-05-03 16:55:18 +03:00
Alexey Gerenkov
23bf613eab fix(build): Fix '-Walign-missmatch' warning
"passing 4-byte aligned argument to 64-byte aligned parameter 1"
2024-05-03 16:55:18 +03:00
Alexey Gerenkov
3482277bfe fix(build): Fix '-Werror=format=' errors for esp32p4 2024-05-03 16:55:18 +03:00
Alexey Gerenkov
cb263106cc fix(build): Fix esp32p4 MCPWM 'get_clock_prescale' default return value 2024-05-03 16:55:18 +03:00
Alexey Gerenkov
41bfac91d9 fix(build): Fix printf formating errors 2024-05-03 16:55:18 +03:00
Alexey Gerenkov
e86f1e8a7f fix(esp_pm): Fix APB clock calculation for chips w/o modem 2024-05-03 16:55:18 +03:00
Alexey Gerenkov
57f61d2311 feat(tools): Update Clang version to esp-17.0.1_20240419 2024-05-03 16:55:13 +03:00
nilesh.kale
21d51208c4 fix(esp_https_server): fix memory leak during configuring http server
This MR This restructured code to prevent memory leak during the starting HTTP server.

Closes https://github.com/espressif/esp-idf/issues/13526
2024-05-03 18:11:38 +05:30
Aditya Patwardhan
e461585cf9 Merge branch 'feature/update_mbedtls_to_3.6.0' into 'master'
feat(mbedtls): updated mbedtls version from 3.5.2 to 3.6.0

See merge request espressif/esp-idf!30016
2024-05-03 20:41:09 +08:00
Roland Dobai
0f87923e8f Merge branch 'feat/docker_new_ubuntu' into 'master'
Tools: Switch to Ubuntu 24.04 LTS in the ESP-IDF docker image

See merge request espressif/esp-idf!30617
2024-05-03 18:05:01 +08:00
Roland Dobai
a23eec2009 feat(docker): Switch to Ubuntu 24.04 LTS in the ESP-IDF docker image 2024-05-03 09:38:45 +02:00
Aditya Patwardhan
a76f106921 Merge branch 'fix/esp_tls_use_64_bit_variable_for_time' into 'master'
fix(esp-tls): Use 64 bit variable for time instead of 32 bit

Closes IDFGH-12594

See merge request espressif/esp-idf!30403
2024-05-03 11:30:25 +08:00
Alexey Lapshin
afffbd9dd0 fix(cxx): use __cxa_throw() stub in case exceptions disabled
Reduces binary size since the linker will drop some code due to --gc-sections.
2024-05-02 22:12:01 +04:00
Alexey Lapshin
9375348740 fix(system): discard eh_frame sections if disabled in sdkconfig 2024-05-02 22:11:56 +04:00
Jakob Hasse
7100c6cf7e docs(esp_ringbuf): Corrected example code block
* Closes https://github.com/espressif/esp-idf/issues/13730
2024-05-02 17:56:02 +02:00
jkingsman
3035ce294d feat(esp_netif): add support for DHCP Option 114 captive portal URI
DHCP Option 114 provides a modern method of indicating a captive
portal redirect to DHCP client. This introduces Option 114 to
the DHCPS component as well as provides examples for usage.
2024-05-02 22:50:09 +08:00
Ivan Grokhotkov
30abe85a25 ci(sdspi): clean up newlib memory, reset between tests
Two changes to make the tests less susceptible to random failures:
- Free up newlib memory to not have false-positive memory leaks due to
  lazy allocations in reent structure
- Reset between tests, so that one failing test doesn't cause
  subsequent tests to fail

Both changes are already applied to esp_driver_sdmmc test app.
2024-05-02 16:44:16 +02:00
Ivan Grokhotkov
f355ecac40 ci(sdspi): re-enable probe/rw tests for slot 1
These tests were disabled since SDMMC_FREQ_HIGHSPEED with sdspi didn't
work on ESP32 and ESP32-S3. However we don't have other tests for
slot 1, meaning that we weren't running probe and perf tests at all.

This commit re-enables the tests, keeping them with SDMMC_FREQ_DEFAULT
2024-05-02 16:44:16 +02:00
Ivan Grokhotkov
e672d49db7 fix(sdspi): fix memory leak in do_one_sdspi_probe test 2024-05-02 16:44:16 +02:00
Jakob Hasse
ceac33077b Merge branch 'bugfix/get_random_inside_assert' into 'master'
fix(linux): calling getrandom() outside assert()

See merge request espressif/esp-idf!30517
2024-05-02 22:29:10 +08:00
Ivan Grokhotkov
087d055090 fix(pytest): respect --build-dir argument from pytest-embedded 2024-05-02 15:18:34 +02:00
Aditya Patwardhan
132892c101 fix(esp-tls): Use 64 bit variable for time instead of 32 bit
Use appropriate API available on respective platform for obtaining
    time
    Closes https://github.com/espressif/esp-idf/issues/13593
2024-05-02 18:34:29 +05:30
Alexey Gerenkov
57b42fc6a2 docs(app_trace): Update docs for ESP32-P4 2024-05-02 15:24:55 +03:00
David Cermak
97dfde1442 fix(docs): tcpip_adapter: Document replacement of tcpip_adapter_get_sta_list 2024-05-02 14:07:24 +02:00
Mahavir Jain
ef716a2390 Merge branch 'bugfix/nvs_enc_test' into 'master'
fix(tests): correct the flash write length for NVS encrypted test

See merge request espressif/esp-idf!30599
2024-05-02 19:17:58 +08:00
Roland Dobai
8aa5188852 Merge branch 'fix/ci_win_build_system_read_only_test' into 'master'
fix(tools): fix failing create readonly project build system test

Closes IDFCI-2138

See merge request espressif/esp-idf!30596
2024-05-02 17:45:05 +08:00
Mahavir Jain
1ca0793e4d Merge branch 'fix/pytest_server_start_command_failed' into 'master'
fix: Refactored script for initiating Python-based HTTPS server

Closes IDFGH-12573

See merge request espressif/esp-idf!30239
2024-05-02 16:07:49 +08:00
Mahavir Jain
0d36eb3342 fix(tests): correct the flash write length for NVS encrypted test
Write only till the embedded file size in the NVS partition. Earlier
the length was kept as the whole partition size and it could result
in accessing embedded rodata beyond the MMU mapped range.
2024-05-02 13:24:45 +05:30
Mahavir Jain
c032a8b04a fix(tests): remove unused partition NVS bin file 2024-05-02 13:23:35 +05:30
Konstantin Kondrashov
fdd54ab1bb Merge branch 'feature/print_panic_while_cache_fail' into 'master'
feat(esp_system): Print backtrace for both CPUs when cache error does not determine CPU

Closes IDF-9813

See merge request espressif/esp-idf!30505
2024-05-01 13:30:32 +08:00
Alexey Lapshin
0ddfb9caf1 Merge branch 'docs/update-reducing-stack-size-article' into 'master'
feature(docs): update reducing stack size article

See merge request espressif/esp-idf!25234
2024-05-01 00:10:05 +08:00
shenmengjing
a55e6c0eb6 docs: Update the CN Translation for ram-usage.rst 2024-04-30 23:32:22 +08:00
Alexey Lapshin
e1946b6446 feat(docs): update reducing stack size article 2024-04-30 23:32:22 +08:00
Marek Fiala
e351a4407a fix(tools): fix failing create readonly project build system test
Changed the way of removing copied esp-idf folder.
2024-04-30 16:42:05 +02:00
Konstantin Kondrashov
a8ba5e86d7 Merge branch 'feature/log_buffer' into 'master'
feat(log): Refactoring buffer log APIs

Closes IDF-8092

See merge request espressif/esp-idf!29559
2024-04-30 20:25:06 +08:00
Konstantin Kondrashov
8b418d4b09 feat(esp_system): Print backtrace for both CPUs when cache error does not determine CPU 2024-04-30 15:20:58 +03:00
Wan Lei
cceec04195 Merge branch 'refactor/spi_slave_hal_iram_dma_replace' into 'master'
refactor(spi_slave): spi slave and slave HD hal iram dma_ll replace

Closes IDF-6152 and IDF-9656

See merge request espressif/esp-idf!27877
2024-04-30 20:16:18 +08:00
Peter Marcisovsky
ff61a12426 Merge branch 'refactor/console_astyle_formating' into 'master'
refactor(console): Enable astyle formatting

See merge request espressif/esp-idf!30567
2024-04-30 18:11:59 +08:00
Wang Meng Yang
16b9b284e8 Merge branch 'bugfix/fix_hid_connection_failed_bug' into 'master'
fix(bt/bluedroid): Fix HID Device connection failed bug

Closes IDFGH-12680 and BTQABR2023-273

See merge request espressif/esp-idf!30423
2024-04-30 17:40:20 +08:00
Jin Cheng
b79fcbb9d7 fix(bt/controller): Parse out the correct packet types from Host parameters
- For HCI command HCI_Enhanced_Setup_Synchronous_Connection
2024-04-30 17:38:58 +08:00
morris
fd80526ac1 Merge branch 'bugfix/mipi_dsi_1_data_lane' into 'master'
fix(mipi_dsi): only wait ready for enabled data lane

Closes AUD-5385

See merge request espressif/esp-idf!30562
2024-04-30 16:45:19 +08:00
morris
28073d9991 fix(mipi_dsi): only wait ready for enabled data lane 2024-04-30 14:41:52 +08:00
liqigan
284b80024c fix(bt/bluedroid): Fix HID Device connection failed bug
Closes https://github.com/espressif/esp-idf/issues/13671
2024-04-30 12:40:04 +08:00
Mahavir Jain
4c6b375666 Merge branch 'bugfix/fix_esp_tls_nano_formatting' into 'master'
fix: Fix error logging formatting bug for nano formatting

Closes IDFGH-12606

See merge request espressif/esp-idf!30389
2024-04-30 12:34:57 +08:00
nilesh.kale
553a117894 fix: Refactored script for initiating Python-based HTTPS server
This commit refactors the script responsible for starting a Python-based HTTPS server
to align with the latest Python version's requirements and best practices.

Closes https://github.com/espressif/esp-idf/issues/13575
2024-04-30 10:04:56 +05:30
Jiang Jiang Jian
a685ef804a Merge branch 'bugfix/update_ftm_calibration' into 'master'
Update FTM PHY Compensation with calibration

Closes WIFIBUG-480

See merge request espressif/esp-idf!30421
2024-04-30 12:05:40 +08:00
morris
49709ee21e Merge branch 'fix/increase_26mhz_esp32c2_slow_clock_calibration_wdt_threshold' into 'master'
fix(esp_system): increase 26Mhz esp32c2 slow clock calibration timeout watchdog threshold

Closes IDF-9857

See merge request espressif/esp-idf!30533
2024-04-30 11:20:54 +08:00
Jiang Jiang Jian
e08a99f48a Merge branch 'bugfix/fix_scan_get_ap_number_issue' into 'master'
fix(wifi): fixed scan get ap number issue

Closes FCS-1442

See merge request espressif/esp-idf!30547
2024-04-30 11:14:00 +08:00
morris
72f42db7e2 Merge branch 'bugfix/dead_code_in_ldo_ll' into 'master'
fix(ldo): remove logically dead code

Closes IDF-9829 and IDF-9849

See merge request espressif/esp-idf!30550
2024-04-30 10:15:34 +08:00
Marius Vikhammer
81d513f7f2 Merge branch 'docs/p4_cleanup' into 'master'
docs(programming-guide): clean up misc leftover doc updates for P4

See merge request espressif/esp-idf!30548
2024-04-30 09:44:07 +08:00
Fu Hanxi
b1e7861c1a Merge branch 'ci/ignore_mspi_f8r8_runners' into 'master'
CI: improve error message when no runner assigned, or no env mark in test cases

See merge request espressif/esp-idf!30526
2024-04-30 02:03:13 +08:00
Peter Marcisovsky
0bfaf775c1 refactor(console): Enable astyle formatting 2024-04-29 16:12:51 +02:00
Michael (XIAO Xufeng)
fe3fd4ae43 Merge branch 'bugfix/cache2phys_xip' into 'master'
fix(mmap): fixed spi_flash_cache2phys return addr in PSRAM issue

See merge request espressif/esp-idf!30367
2024-04-29 20:09:12 +08:00
Marius Vikhammer
baa11d25b0 docs(programming-guide): clean up misc leftover doc updates for P4 2024-04-29 17:52:07 +08:00
Roland Dobai
bc193e6ba9 Merge branch 'fix/docs_p4_tools' into 'master'
change(docs): Update checked tools doc pages for ESP32-P4 programming guide

See merge request espressif/esp-idf!30553
2024-04-29 17:44:51 +08:00
Kevin (Lao Kaiyao)
3e15e7f46e Merge branch 'refactor/isp_af_interrupt_and_callback' into 'master'
refactor(isp): refactor the interrupt and callback solution

See merge request espressif/esp-idf!30176
2024-04-29 17:09:05 +08:00
Kevin (Lao Kaiyao)
36b1d5ae89 Merge branch 'fix/error_reg_base_name_on_p4' into 'master'
fix(soc): fixed redefined soc reg names on P4

See merge request espressif/esp-idf!30275
2024-04-29 17:08:30 +08:00
Nachiket Kukade
d1c2490612 feat(esp_wifi): Update FTM PHY Compensation with calibration 2024-04-29 14:36:46 +05:30
Fu Hanxi
42d6316e91 ci: improve error message when no required tags, and no mandatory env marker 2024-04-29 10:47:33 +02:00
Harshit Malpani
3048ca3222 feat: Enable test app for app_update component
Enable all the test cases in test app of app_update component.
Earlier, due to some config not enabled, not all the test cases ran.
2024-04-29 14:07:14 +05:30
Roland Dobai
7b0eb8216f change(docs): Update checked tools doc pages for ESP32-P4 programming guide 2024-04-29 09:11:57 +02:00
Dai Zi Yan
1b95af2096 Merge branch 'docs/udpate_cn_trans' into 'master'
docs: update the EN version of size.rst

Closes DOC-7598

See merge request espressif/esp-idf!30166
2024-04-29 15:04:53 +08:00
Mo Fei Fei
1c9a80871a Merge branch 'docs/update_cn_trans_etm' into 'master'
docs: update cn trans for etm.rst

Closes DOC-6622

See merge request espressif/esp-idf!30501
2024-04-29 14:54:09 +08:00
C.S.M
f663c9fa6d Merge branch 'docs/remove_not_update' into 'master'
docs(periph): Remove docs not update for flash, i2c, usj, tsens

Closes IDF-7715, IDF-7727, IDF-7728, and IDF-7739

See merge request espressif/esp-idf!30549
2024-04-29 14:50:52 +08:00
Marius Vikhammer
76b7d12329 Merge branch 'feature/lp_core_interrupts' into 'master'
feat(ulp): support interrupts for C6/P4 LP core

Closes IDFGH-11986 and IDF-7200

See merge request espressif/esp-idf!30399
2024-04-29 14:36:54 +08:00
morris
c64c910955 fix(ldo): remove logically dead code 2024-04-29 14:21:17 +08:00
mofeifei
f5bace9f4d docs: update cn trans for etm.rst 2024-04-29 14:06:57 +08:00
Cao Sen Miao
d41945b585 docs(periph): Remove docs not update for flash, i2c, usj, tsens 2024-04-29 14:03:46 +08:00
Jiang Jiang Jian
3ec83ef1da Merge branch 'bugfix/fix_trc_ampdu_stop_rateidx_value_errors' into 'master'
fix(wifi): fix trc_ampdu_stop_rateidx value errors when DUT under softap + sta mode

See merge request espressif/esp-idf!30538
2024-04-29 14:01:09 +08:00
wuzhenghui
5d783cb613 change(esp_hw_support): update xtal_freq after assume to avoid mass print in DFS 2024-04-29 11:59:16 +08:00
laokaiyao
fc9555f355 fix(soc): fixed redefined soc reg names on P4 2024-04-29 11:02:00 +08:00
muhaidong
6d2562af0b fix(wifi): fixed scan get ap number issue 2024-04-28 20:00:37 +08:00
C.S.M
4499b7ee8f Merge branch 'fix/jpeg_dri_issue' into 'master'
fix(jpeg): Fix several issues reported recently

See merge request espressif/esp-idf!30536
2024-04-28 19:35:22 +08:00
Xu Chun Guang
294b418686 docs: Correct spell error in comment 2024-04-28 17:48:04 +08:00
Island
33b3408e53 Merge branch 'bugfix/fix_ble_connect_fail_report_time' into 'master'
fix(ble/bluedroid): Fixed BLE report event when connection fails

Closes BLERP-718

See merge request espressif/esp-idf!30530
2024-04-28 17:41:52 +08:00
Shen Meng Jing
02a3ac37e9 Merge branch 'docs/update_translation' into 'master'
docs: Update the CN translation with the label missing

Closes DOC-7362

See merge request espressif/esp-idf!30131
2024-04-28 17:16:52 +08:00
Marius Vikhammer
c5a513cf49 feat(ulp): support interrupts for C6/P4 LP core
Closes https://github.com/espressif/esp-idf/issues/13059
2024-04-28 17:03:23 +08:00
Xu Chun Guang
226c7772b8 fix(lwip/dhcp_server): Bind dhcps netif to avoid handling the dhcp packet from other netifs 2024-04-28 16:28:48 +08:00
laokaiyao
2237633ab3 refactor(isp): refactor the interrupt and callback solution
- Added async API
- Replaced the polling API
- Supported one more callback and event data
2024-04-28 16:23:22 +08:00
Shu Chen
8ca7cc2f98 Merge branch 'feature/support_ot_iperf_version_select_in_extcommand' into 'master'
feat(openthread): move iperf dependency into cli extension

See merge request espressif/esp-idf!30454
2024-04-28 16:05:01 +08:00
xuxiao
b60c2e7a16 fix(wifi): fix trc_ampdu_stop_rateidx value errors when DUT under softap + sta mode 2024-04-28 15:56:01 +08:00
zhanghaipeng
49cab1a22f fix(ble/bluedroid): Fixed BLE report event when connection fails 2024-04-28 15:44:13 +08:00
Cao Sen Miao
7f97a9e524 fix(jpeg): Fix several issues reported recently,
1. Fix decode images with dri marker failed,
2. Fix encode sometimes get length error
2024-04-28 15:16:48 +08:00
wuzhenghui
6b64b76d2a fix(esp_system): increase 26Mhz esp32c2 slow clock calibration timeout watchdog threshold 2024-04-28 14:40:11 +08:00
baohongde
5912194ccd fix(coex): Fixed some coexist issues
- Fixed crash issue in coexist callback
- Fixed coexist scheme status update issue
2024-04-28 11:59:01 +08:00
Armando (Dou Yiwen)
7e9b9d5ee8 Merge branch 'change/rename_csi_api' into 'master'
change(camera): change esp_cam_del_ctlr to esp_cam_ctlr_del

See merge request espressif/esp-idf!30516
2024-04-28 11:54:29 +08:00
shenmengjing
f0ef081d0a docs: Update the CN translation with the label missing 2024-04-28 11:24:37 +08:00
Island
39a1e17c32 Merge branch 'bugfix/fix_ble_coex_assert' into 'master'
fix(bt): Update esp32 bit-lib (4012cfb)

Closes BT-3674 and BLERP-715

See merge request espressif/esp-idf!30447
2024-04-28 10:48:24 +08:00
Erhan Kurubas
3fcfef9e04 Merge branch 'coredump_sanity_check' into 'master'
fix(coredump): increase sanity check before get summary

Closes IDFGH-12595

See merge request espressif/esp-idf!30444
2024-04-27 02:01:52 +08:00
Roland Dobai
58cb2c37a0 Merge branch 'fix/ci_cli_installer_cmake' into 'master'
ci(tools): Fix IDF_MIRROR_PREFIX_MAP for including all tools from local

See merge request espressif/esp-idf!30499
2024-04-27 01:03:47 +08:00
Sudeep Mohanty
3cbe88427e test(lp-core): Added unit test for lp_core_printf
This commit adds a unit test for the lp_core_printf API.
2024-04-26 16:56:48 +02:00
Jakob Hasse
d053925fb2 fix(linux): calling getrandom() outside assert()
* Expressions inside assert are completely removed in release builds
2024-04-26 15:21:45 +02:00
Roland Dobai
6f6706cb8e ci(tools): Fix IDF_MIRROR_PREFIX_MAP for including all tools from local 2024-04-26 15:17:39 +02:00
Sudeep Mohanty
be8a0568c5 test(lp-core): Fixed unstable LP UART tests
This commit fixes some flaky LP UART unit tests.
2024-04-26 14:32:16 +02:00
zhanghaipeng
4b083ca59c feat(ble/bluedroid): Support BLE command status debug log 2024-04-26 17:08:17 +08:00
Kirill Chalov
13effc7f23 Merge branch 'docs/improve_sample_project_example' into 'master'
docs: Improve sample project example

See merge request espressif/esp-idf!30270
2024-04-26 16:46:29 +08:00
zhanghaipeng
89b848d018 fix(ble/controller): Update esp32 bt-lib (4012cfb)
- Fixed BLE coex assert
- Fixed BLE DTM status and tx count
2024-04-26 16:43:31 +08:00
Island
6c032a0b70 Merge branch 'bugfix/fix_some_ble_bugs_240420' into 'master'
Fixed some BLE bugs 240420 on ESP32C3 (a771b7c)

Closes BLERP-704, BLERP-705, BLERP-706, BLERP-707, BLERP-708, and BLERP-709

See merge request espressif/esp-idf!30400
2024-04-26 16:37:46 +08:00
Armando
0113b39a54 change(camera): change esp_cam_del_ctlr to esp_cam_ctlr_del 2024-04-26 16:04:18 +08:00
Shen Meng Jing
2b0c130a2e Merge branch 'docs/translate_mm_sync' into 'master'
docs: Provide CN Translation for mm_sync.rst in api-reference

Closes DOC-7622

See merge request espressif/esp-idf!30209
2024-04-26 15:42:37 +08:00
Shen Meng Jing
554179609f Merge branch 'docs/translate_spi_flash' into 'master'
Docs/translate spi flash & ulp_macros

Closes DOC-7532

See merge request espressif/esp-idf!29897
2024-04-26 15:31:23 +08:00
Shen Meng Jing
3a0ad2b17e Merge branch 'docs/translate_c_support' into 'master'
docs: Provide translation for c.rst

Closes DOC-7522

See merge request espressif/esp-idf!29863
2024-04-26 15:18:39 +08:00
Shen Meng Jing
57e8d17c45 Merge branch 'docs/translate_system' into 'master'
docs: Provide translation for system.rst (5.3) in migration-guides

Closes DOC-7524

See merge request espressif/esp-idf!29873
2024-04-26 15:18:04 +08:00
wuzhenghui
d7235db04b change(esp_system): trigger digital system reset in brownout isr 2024-04-26 14:01:40 +08:00
Igor Udot
a9fa0d2505 Merge branch 'ci/fix-url-quote' into 'master'
ci: quote spec character in url

See merge request espressif/esp-idf!30498
2024-04-26 13:52:57 +08:00
kirill.chalov
9bc7e04e1f docs: Improve sample project example 2024-04-26 13:42:30 +08:00
gaoxu
605f2309bf feat(gpio): add gpio support on ESP32C5 MP version 2024-04-26 12:27:53 +08:00
Xiao Xufeng
bcdd9544df fix(mmap): fixed spi_flash_cache2phys return addr in PSRAM issue
When SPIRAM_FETCH_INSTRUCTIONS or SPIRAM_RODATA enabled
2024-04-26 01:37:35 +08:00
morris
d4cd437ede Merge branch 'feat/dsi_lcd_iram_safe' into 'master'
MIPI DSI IRAM Safe

See merge request espressif/esp-idf!30416
2024-04-25 21:32:21 +08:00
igor.udot
6034638e4a ci: quote spec character in url 2024-04-25 18:33:06 +08:00
Bogdan Kolendovskyy
c782708f0f Merge branch 'feature/mqtt_build_test_esp32p4' into 'master'
Added esp32p4 test target for mqtt and mqtt5 tests

Closes IDF-8077

See merge request espressif/esp-idf!29662
2024-04-25 18:16:01 +08:00
kirill.chalov
8c1d66be8c ci(pre-commit): Exclude sample_project readme from checking against build-test-rules 2024-04-25 17:55:59 +08:00
Jakob Hasse
9c965073d4 Merge branch 'feature/linux_backtraces' into 'master'
refactor(linux): Improved error reporting

See merge request espressif/esp-idf!30387
2024-04-25 15:57:07 +08:00
Song Ruo Jing
cc605edc1c Merge branch 'bugfix/uart_event_fields_initialization' into 'master'
fix(uart): re-initialize uart_event fields to some certain values for every loop

Closes IDFGH-11129

See merge request espressif/esp-idf!30482
2024-04-25 14:57:10 +08:00
Fu Hanxi
36fd860d4e Merge branch 'ci/fix_app_size_json_path' into 'master'
CI: fix app size json path

See merge request espressif/esp-idf!30484
2024-04-25 14:38:29 +08:00
Darian
24416d5a26 Merge branch 'fix/freertos_vtasklist_param_order' into 'master'
fix(freertos): Fix vTaskList() parameter print order

Closes IDFGH-12684

See merge request espressif/esp-idf!30473
2024-04-25 14:35:04 +08:00
Fu Hanxi
f99453910c Merge branch 'ci/upload_sdkconfig_file' into 'master'
CI: upload sdkconfig file

See merge request espressif/esp-idf!30386
2024-04-25 14:30:43 +08:00
Konstantin Kondrashov
af4df10b65 feat(log): Refactoring buffer log APIs (2) 2024-04-25 08:45:27 +03:00
Konstantin Kondrashov
0f4fc2bf55 feat(log): Refactoring buffer log APIs 2024-04-25 08:45:27 +03:00
shenmengjing
7ddc3755ac docs: Provide CN Translation for mm_sync.rst in api-reference 2024-04-25 11:44:08 +08:00
shenmengjing
3b76cae7e7 docs: Provide translation for c.rst 2024-04-25 11:01:13 +08:00
shenmengjing
49ba4c0268 docs: Provide translation for system.rst in migration-guides 2024-04-25 11:00:34 +08:00
Kevin (Lao Kaiyao)
95ab3ccf96 Merge branch 'feature/support_gpio_on_c61' into 'master'
feat(gpio): support GPIO on ESP32C61

Closes IDF-9316

See merge request espressif/esp-idf!30380
2024-04-25 11:00:32 +08:00
shenmengjing
59644bccc2 docs: Provide CN translation for documents under api-reference 2024-04-25 10:59:40 +08:00
morris
4c0b3a501b Merge branch 'feat/rmt_sleep_retention' into 'master'
feat(rmt): add sleep retention link

Closes IDF-8474 and DOC-7635

See merge request espressif/esp-idf!30294
2024-04-25 10:42:35 +08:00
xiongweichao
3237cce6b5 docs: Update the process of Bluetooth entering sleep in the sleep_modes.rst 2024-04-25 10:19:41 +08:00
Jakob Hasse
4c5cded945 refactor(linux): Improved error reporting
* Without using GDB, segfaults and aborts are reported
  clearly now
* Without using GDB, segfaults produce a rudimentary
  backtrace now
2024-04-24 18:12:45 +02:00
Darian
c82bf2d02d Merge branch 'change/usb_host_docs_owners' into 'master'
change(ci): Update code owners for USB Host maintainer docs

See merge request espressif/esp-idf!30431
2024-04-25 00:03:17 +08:00
Darian Leung
a7ecda8429 change(ci): Update code owners for USB Host maintainer docs 2024-04-24 22:18:37 +08:00
morris
e8e975112a feat(rmt): support sleep retention
by back up the registers
2024-04-24 22:10:42 +08:00
Fu Hanxi
6a919dcc16 Merge branch 'ci/add_minio_to_pytest_requirements' into 'master'
ci: add minio as pytest requirement

See merge request espressif/esp-idf!30483
2024-04-24 21:22:34 +08:00
Fu Hanxi
e62c1f81b7 ci: fix size.json path for app 2024-04-24 15:14:13 +02:00
Fu Hanxi
31f5c1ffc4 ci: upload sdkconfig file 2024-04-24 21:01:34 +08:00
Fu Hanxi
aa9cf351d3 ci: add minio as pytest requirement 2024-04-24 14:54:42 +02:00
Adam Múdry
7a70647a01 Merge branch 'ci/increase_tiemout_wl_multiple_tasks_can_use_same_volume' into 'master'
ci: Increase CONFIG_FATFS_VFS_FSTAT_BLKSIZE size for auto_fsync case to fix CI

See merge request espressif/esp-idf!30430
2024-04-24 19:54:27 +08:00
Song Ruo Jing
8c603c24cd fix(uart): re-initialize uart_event fields to some certain values for every loop
Although uart_event.size and uart_event.timeout_flags fields are
meaningless to events other than UART_DATA, fix the values to 0 could
help reduce confusion.

Closes https://github.com/espressif/esp-idf/issues/12299
2024-04-24 19:19:04 +08:00
Darian Leung
13c4a57a2d fix(freertos): Fix vTaskList() parameter print order
xCoreID was previously printed as the last parameter priority to IDF v5.1, but
was changed to the third paramtere from v5.2 onwards. This commit restores the
correct ordering.

Closes https://github.com/espressif/esp-idf/issues/13675
2024-04-24 17:19:38 +08:00
Wu Zheng Hui
c982873e56 Merge branch 'fix/fix_esp32p4_kconfig_pd_cpu_dependency_error' into 'master'
fix(esp_pm): fix esp32p4 kconfig pd cpu dependency error

See merge request espressif/esp-idf!30347
2024-04-24 16:56:09 +08:00
Jiang Jiang Jian
e4dbbf1d4c Merge branch 'bugfix/fix_ampdu_not_reply_ba' into 'master'
fix(wifi): clear wifi buffer to fix ampdu compatibility issue

Closes ESPCS-948

See merge request espressif/esp-idf!30424
2024-04-24 16:21:18 +08:00
Armando (Dou Yiwen)
cd1a681149 Merge branch 'feat/csi_dsi_example' into 'master'
example: csi dsi example

See merge request espressif/esp-idf!30346
2024-04-24 16:01:55 +08:00
Mahavir Jain
715d733b15 Merge branch 'example/update_readme_of_pre_encrypted_ota' into 'master'
docs: Update pre_encrypted_ota example README

See merge request espressif/esp-idf!30375
2024-04-24 15:58:02 +08:00
zwx
c4c548f2da feat(openthread): move iperf dependency into cli extension 2024-04-24 15:45:10 +08:00
wuzhenghui
144ba095ae fix(esp_hw_support): invalidate L1DCache before enter hardware sleep 2024-04-24 15:06:44 +08:00
wuzhenghui
1334bafe58 change(esp_hw_support): put more code into TCM to speed up the sleep and wake-up process 2024-04-24 15:06:44 +08:00
wuzhenghui
09d6664891 ci(esp_pm): add pd_top auto lightsleep test case for esp_pm 2024-04-24 15:06:35 +08:00
Armando
3b567b7033 fix(csi): fixed wrong assert when there's new transaction 2024-04-24 14:57:58 +08:00
Armando
359f3e146a fix(isp): fixed af environment detector lack of configuration issue 2024-04-24 14:57:58 +08:00
Armando
507d27a56f example(camera): added new camera dsi example 2024-04-24 14:57:58 +08:00
Darian
c9ffd9ddaa Merge branch 'refactor/usb_host_usbh_api' into 'master'
refactor(usb/host): Refactor USBH API

See merge request espressif/esp-idf!30029
2024-04-24 14:50:25 +08:00
laokaiyao
2c90b71d45 feat(gpio): support GPIO on ESP32C61 2024-04-24 14:27:40 +08:00
Ondrej Kosta
7843c51ec4 Merge branch 'contrib/github_pr_13560' into 'master'
esp_eth: DP83848: correct link detection to use BMSR (GitHub PR)

Closes IDFGH-12557

See merge request espressif/esp-idf!30361
2024-04-24 14:22:45 +08:00
wanlei
cb86a3e2a2 feat(spi): Add helper function for alignment reqiured memory allocation 2024-04-24 14:01:09 +08:00
wanlei
c82ea4311e refactor(spi_slave_hd): replace part of dma_ll in hd hal layer 2024-04-24 14:01:09 +08:00
wanlei
67f798b666 refactor(spi_slave): replace dma_ll in slave hal layer (part 2.2) 2024-04-24 14:01:09 +08:00
wanlei
31f4e9c698 feat(gdma): strategy_config_t add eof_mode support 2024-04-24 14:01:09 +08:00
Song Ruo Jing
0733fa1267 Merge branch 'bugfix/fix_gpio_etm_multi_task' into 'master'
fix(gpio_etm): allow one GPIO binds to multiple ETM tasks

See merge request espressif/esp-idf!30319
2024-04-24 11:35:52 +08:00
Erhan Kurubas
e6effa2be3 fix(coredump): increase sanity check before get summary
Closes https://github.com/espressif/esp-idf/issues/13594
2024-04-24 06:29:44 +03:00
alanmaxwell
7f13d02229 fix(wifi): clear wifi buffer to fix ampdu compatibility issue 2024-04-24 11:27:29 +08:00
morris
05a357b245 Merge branch 'refactor/dma_test_p4' into 'master'
change(gdma): improve the test cases to be target agnostic

See merge request espressif/esp-idf!30385
2024-04-24 10:34:27 +08:00
Adam Múdry
feed6b4afe ci: Increase CONFIG_FATFS_VFS_FSTAT_BLKSIZE size for auto_fsync case 2024-04-23 22:19:23 +02:00
Erhan Kurubas
5bac46d996 Merge branch 'coredump_save_all_regions' into 'master'
Save .bss, .data and .heap sections in to the coredump

Closes IDF-2354 and IDFGH-11603

See merge request espressif/esp-idf!29028
2024-04-24 02:49:01 +08:00
Wang Fang
f5e34f6c14 Update CN translation for coredump 2024-04-23 20:13:28 +03:00
Erhan Kurubas
3b8191cf5d feat(coredump): save .bss, .data and .heap sections to the elf file 2024-04-23 19:07:51 +03:00
Adam Múdry
c0c26b2604 Merge branch 'fix/bump_esp_littlefs_to_v1.14.4' into 'master'
fix(storage/littlefs): Bump version to v1.14.4 (core v2.9.1)

Closes IDF-9708

See merge request espressif/esp-idf!30355
2024-04-23 23:05:16 +08:00
Jiang Jiang Jian
863ce8578e Merge branch 'bugfix/fix_esp32c6_wdt_issues' into 'master'
fix(wifi): fix esp32c6 wdt issues when recv/send tcp packages

See merge request espressif/esp-idf!30417
2024-04-23 21:16:59 +08:00
Song Ruo Jing
bf3067fa8a fix(gpio_etm): allow one GPIO binds to multiple ETM tasks 2024-04-23 20:37:34 +08:00
Rahul Tank
2bb73deff5 Merge branch 'bugfix/rpa_timeout_api' into 'master'
fix(nimble): Expose API to set RPA Timeout

Closes BLERP-647

See merge request espressif/esp-idf!29903
2024-04-23 20:04:48 +08:00
xuxiao
e9d21b64fb fix(wifi): fix esp32c6 wdt issues when recv/send tcp packages 2024-04-23 19:56:57 +08:00
zhangyanjiao
a65c9e37e9 docs(wifi): update the docmentation for mesh API 2024-04-23 19:15:09 +08:00
morris
07a3e5eaa8 feat(mipi_dsi): support isr iram safe 2024-04-23 18:31:16 +08:00
morris
ef57e5105d feat(mipi_dsi): add pm lock for clock source 2024-04-23 18:31:16 +08:00
Abhik Roy
3cb622cbf6 Merge branch 'contrib/github_pr_13348' into 'master'
feat(esp_netif): Allow traffic reporting (GitHub PR)

Closes IDFGH-12314

See merge request espressif/esp-idf!30040
2024-04-23 18:26:59 +08:00
Sudeep Mohanty
4e57715394 Merge branch 'task/lp_core_lp_uart_tests' into 'master'
feat(lp-uart): Added unit tests for LP UART when used from LP Core

See merge request espressif/esp-idf!30396
2024-04-23 17:50:28 +08:00
Sonika Rathi
3d813afa01 Merge branch 'bugfix/fatfs_optimize_stat_func' into 'master'
fix(fatfs): Optimizes vfs_fat_stat function to get stat structure after readdir

See merge request espressif/esp-idf!28609
2024-04-23 17:24:03 +08:00
Darian Leung
aa8939e7cc docs(usb): Add USBH maintainer notes 2024-04-23 17:18:56 +08:00
Darian Leung
99ec1c98f5 refactor(usb/usbh): Update USBH device creation and enumeration handling
This commit updates how the USBH handles device creation and enumeration so that
upper layers (such as the Hub driver) can use the USBH API for enumeration instead
of calling the HCD.

USBH Updates:

USBH now creates unenumerated devices set to address 0 with no device/config
descriptor. A newly created device can be opened and communicated with immediately
(using control transfers). This allows the Hub driver to call the USBH instead of
the HCD. Summary of USBH changes:

- Added new APIs to add/remove a device. Devices are now created as unenumerated
and can be immediately opened and communicated with.
- Added new APIs to enumerate a device (see 'usbh_dev_set_...()' functions). Device
must be locked (see 'usbh_dev_enum_lock()') before enumeration functions can be called.
- Added UID for each device. This allows the particular USBH without needing to
use the device's handle (which implies opening the device).

Hub Driver Updates:

Hub driver now calls the USBH for enumeration. Summary of USBH changes:

- Replace all 'hcd_pipe_...()' calls with 'usbh_dev_...()' calls
- Refactored port event handling to fit with new USBH API
- Updated to use UID to uniquely identify devices without opening them

USB Host Updates:

- Reroute USBH control transfers to clients and hub driver
2024-04-23 17:18:56 +08:00
Mahavir Jain
f2a03f27cf docs: add more details about pre-encrypted OTA scheme 2024-04-23 14:35:09 +05:30
Darian Leung
550aaaa8b4 refactor(usb/hub): Update Hub driver port request logic 2024-04-23 16:50:54 +08:00
Darian Leung
c10fe6ca48 refactor(usb/hcd): Allow port resets with allocated pipes
This commit updates the HCD API to allow port resets to occur even if pipes
are allocated. The pipes cannot be active and the port reset will simply
restore the pipes (by reinitializing their channel registers) following the
reset.

Changes:

- Allow port resets while channels are allocated
- Remove pipe persistance API 'hcd_pipe_set_persist_reset()'
2024-04-23 16:50:53 +08:00
Darian Leung
b05cf70b77 refactor(usb/usbh): Rename device pool functions and ref_count
This commit renames the following APIs and variables in the USBH:

- Rename the prefix of device pool functions from 'usbh_dev_...' to
  'usbh_devs_...'.
- Rename 'ref_count' to 'open_count'. This variable tracks the number of times
  a device has been opened.
2024-04-23 16:50:53 +08:00
Darian Leung
4569ac7550 refactor(usb/host): Refactor USBH function grouping
This commit rearranges the USBH functions into new groupings to provide a
clearer abstraction. This is in preparation for refactoring/removing the Hub
related functions in the USBH API. This commit DOES NOT MAKE ANY BEHAVIORAL
CHANGES to the code.

Functions are now grouped into...

- USBH Processing: Functions dealing with overall USBH processing
- Device Pool: Functions that add/remove/open/close devices from the internal
               device pool
- Device: Functions that pertain to setting/getting a particular device
- Endpoints: Functions that pertain to a particular endpoint
- Transfer: Functions that pertain to sending transfers
2024-04-23 16:50:52 +08:00
daiziyan
16bd72bebe docs: update the CN version of size.rst 2024-04-23 14:55:39 +08:00
Harshit Malpani
b7a8e6102f docs: Update pre_encrypted_ota example README
Update pre_encrytped_ota example README to clarify the difference
between Flash Encryption and Pre-encrypted OTA
2024-04-23 12:15:19 +05:30
Darian
9a24782dd2 Merge branch 'contrib/github_pr_13669' into 'master'
docs: clarify ESP_RETURN_ON_ERROR result (GitHub PR)

Closes IDFGH-12678

See merge request espressif/esp-idf!30397
2024-04-23 14:30:00 +08:00
Roland Dobai
a1e9c6e5b0 Merge branch 'fix/docker_entrypoint_permissions' into 'master'
fix(docker): Fix entrypoint.sh is not executable issue (GitHub PR)

Closes IDFGH-12668 and IDFGH-12681

See merge request espressif/esp-idf!30372
2024-04-23 13:57:07 +08:00
Rahul Tank
9433067f33 fix(nimble): Expose API to set RPA Timeout 2024-04-23 11:21:26 +05:30
Shu Chen
1e12b1b14a Merge branch 'feature/support_openthread_ephemeral_key' into 'master'
feat(openthread): support openthread ephemeral key

See merge request espressif/esp-idf!30340
2024-04-23 12:32:08 +08:00
Mahavir Jain
ceff56e1f3 Merge branch 'feat/enable_app_update_test_p4' into 'master'
feat: Enable app_update test app for ESP32P4

Closes IDF-8068 and IDF-8959

See merge request espressif/esp-idf!30295
2024-04-23 12:14:13 +08:00
wuzhenghui
01dce77fa7 feat(esp_pm): fix esp32p4 cpu powerdown kconfig dependency error 2024-04-23 11:54:45 +08:00
chenjianhua
22cdf8db16 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(a771b7c)
- Fixed assert when starting advertising due to preemption
- Fixed RPA generation after each reboot
- Fixed RPA renew timer start and stop
2024-04-23 11:30:02 +08:00
Ivan Grokhotkov
73190dd04e Merge branch 'version/v5.4.0' into 'master'
Update version to v5.4-dev

See merge request espressif/esp-idf!30352
2024-04-23 08:00:22 +08:00
Ivan Grokhotkov
0436d49815 change(version): Update version to v5.4-dev 2024-04-22 22:43:44 +02:00
Darian Leung
d2ea044e49 docs(esp_common): Fix formatting issues in error-handling.rst
This commit fixes the following formatting issues in error-handling.rst:

- Incorrect indentation (3 spaces to 4 spaces)
- Fixed some italics that were supposed to be inline literals
- Used code-block directive for language highlighting
2024-04-23 02:34:25 +08:00
Harshit Malpani
aece182482 fix: Fix error logging formatting bug for nano formatting
Closes https://github.com/espressif/esp-idf/issues/13604
2024-04-23 00:02:46 +05:30
Sudeep Mohanty
df7e51fb8d feat(lp-uart): Added unit tests for LP UART when used from LP Core
This commit adds unit tests for the LP UART peripheral.
2024-04-22 18:34:48 +02:00
Jakob Hasse
3ef14f52eb Merge branch 'ci/check_missing_runner_only_when_needed' into 'master'
ci: check missing runners only when needed

See merge request espressif/esp-idf!30103
2024-04-22 23:11:32 +08:00
Richard Allen
4226d13b01 docs: clarify ESP_RETURN_ON_ERROR result 2024-04-22 09:56:58 -05:00
Island
148aa32c64 Merge branch 'feat/optimzie_ble_ctrl_memory' into 'master'
ble: support only legacy adv and slave function on esp32c2

Closes BLERP-675

See merge request espressif/esp-idf!30186
2024-04-22 22:50:58 +08:00
Fu Hanxi
ed2d492bde ci: check missing runners only when needed 2024-04-22 15:38:36 +02:00
Jiang Jiang Jian
7cbbabb17c Merge branch 'bugfix/correct_action_frame' into 'master'
fix(esp_wifi): Correct frame subtype in send_mgmt_frame API

Closes WIFIBUG-520

See merge request espressif/esp-idf!30363
2024-04-22 19:11:37 +08:00
Kapil Gupta
79cea90dc1 fix(esp_wifi): Correct action frame type in send_mgmt_frame API 2024-04-22 16:08:18 +05:30
morris
f3ea7a2cc6 change(gdma): improve the test cases to be target agnostic 2024-04-22 18:03:06 +08:00
Roland Dobai
af302c0bee Merge branch 'feat/add_merged_bin_cmd' into 'master'
feat(tools): Add idf.py merge-bin command and cmake target

See merge request espressif/esp-idf!29996
2024-04-22 17:55:36 +08:00
Jiang Jiang Jian
22f88a2b9f Merge branch 'bugfix/fix_twt_crash_issues' into 'master'
fix(wifi): fix itwt crash issues

Closes WIFIBUG-492

See merge request espressif/esp-idf!30360
2024-04-22 17:10:08 +08:00
Mo Fei Fei
c29d7deb1f Merge branch 'docs/update_cn_trans_ulp_lp_core' into 'master'
Docs: update cn trans for ulp-lp-core.rst

Closes DOC-7458

See merge request espressif/esp-idf!30345
2024-04-22 16:44:44 +08:00
Mo Fei Fei
19471852af Docs: update cn trans for ulp-lp-core.rst 2024-04-22 16:44:44 +08:00
Jiang Jiang Jian
c119fa05f1 Merge branch 'fix/fix_esp32c6_wifi_iperf_example_build_error' into 'master'
fix(example): fix wifi iperf example build errors when enabled CONFIG_ESP_WIFI_ENABLE_WIFI_RX_STATS

See merge request espressif/esp-idf!30174
2024-04-22 16:17:47 +08:00
Wang Meng Yang
64bb591ef3 Merge branch 'bugfix/hf_local_param_null' into 'master'
fix(bt/bluedroid): allocate memory for control block of HFP Audio Gateway in...

See merge request espressif/esp-idf!30123
2024-04-22 15:25:06 +08:00
Sonika Rathi
e17da6f9f9 fix(fatfs): Optimizes vfs_fat_stat function to get stat structure after readdir
Closes https://github.com/espressif/esp-idf/issues/10220
2024-04-22 09:07:15 +02:00
Igor Udot
5f9b691017 Merge branch 'ci/revert-pytest-ini' into 'master'
ci: revert pytest.ini -s -vv

See merge request espressif/esp-idf!30311
2024-04-22 14:55:23 +08:00
Aditya Patwardhan
d444ff58ec Merge branch 'contrib/github_pr_13462' into 'master'
fix: Allocate HTTP header space for async httpd_req_t objects (GitHub PR)

Closes IDFGH-12445

See merge request espressif/esp-idf!29868
2024-04-22 14:17:21 +08:00
Xiahua Liu
248d25a235 fix(docker): Fix entrypoint.sh is not executable issue
Closes https://github.com/espressif/esp-idf/pull/13660
2024-04-22 12:18:13 +07:00
zwl
c31a06d257 ble: update sdkconfig.defaults.esp32c6 file for blufi example 2024-04-22 11:25:04 +08:00
zwl
89b0e94782 ble: update sdkconfig.defaults.esp32c2 file for blufi example 2024-04-22 11:25:04 +08:00
zwl
dcb9780302 ble: optimize bt cmakelists.txt file 2024-04-22 11:25:04 +08:00
zwl
917134f890 ble: support only legacy adv and slave function on esp32c2 2024-04-22 11:25:04 +08:00
Wang Meng Yang
14bf30d5b6 Merge branch 'bugfix/optimize_hidh_connection' into 'master'
fix(bt/bluedroid): Fix HID Host connection bugs

Closes BT-3680

See merge request espressif/esp-idf!30160
2024-04-22 09:33:28 +08:00
Abhik Roy
ad9787bb4d feat(esp_netif): Allow traffic reporting runtime enable/disable 2024-04-22 11:27:43 +10:00
Dr. Michael Lauer
5debb23da9 feat(esp_netif): Allow traffic reporting
This enables traffic indicators or data traffic statistics.
2024-04-22 11:22:29 +10:00
igor.udot
99a0ce0db0 ci: revert pytest.ini -s -vv 2024-04-19 22:26:29 +08:00
Michael (XIAO Xufeng)
dffa13b930 Merge branch 'docs/compatibility_c3_v0.4' into 'master'
docs(compatibility): add information of C3 v0.4

See merge request espressif/esp-idf!30353
2024-04-19 22:21:49 +08:00
Martin Vychodil
f448fbbc12 Merge branch 'fix/make_eventfd_case_exit_normally' into 'master'
fix(vfs): make case eventfd_select_block exit normally

See merge request espressif/esp-idf!29926
2024-04-19 21:41:24 +08:00
xuxiao
f650dcdb5e fix(wifi): fixed itwt crash issues 2024-04-19 20:03:35 +08:00
Shen Meng Jing
ed366b55c2 Merge branch 'docs/translate_configure-builtin-jtag' into 'master'
docs: Provide translation for cofigure-builtin-jtag.rst in jtag-debugging

Closes DOC-7523

See merge request espressif/esp-idf!29867
2024-04-19 19:46:31 +08:00
Ivan Grokhotkov
57a80129bc Merge branch 'ci/sdmmc_tests' into 'master'
sdmmc: test-related fixes

Closes IDF-8734

See merge request espressif/esp-idf!30221
2024-04-19 19:22:08 +08:00
Wang Ziyan
288f76960e Merge branch 'docs/update_cn_for_protocols_jtag-debugging_api-guides' into 'master'
docs: Update CN for esp_https_server.rst and tips-and-quirks.rst

Closes DOC-7543

See merge request espressif/esp-idf!30096
2024-04-19 18:53:33 +08:00
shenmengjing
6d81e702d9 docs: Provide translation for cofigure-builtin-jtag.rst in jtag-debugging 2024-04-19 18:53:17 +08:00
Adam Múdry
2fb0360a95 fix(storage/littlefs): Bump version to v1.14.4 (core v2.9.1)
Fixes a bug which causes DivideByZero exception when the filesystem is full
2024-04-19 12:47:59 +02:00
Wang Zi Yan
020c6931ee docs: Update CN for esp_https_server.rst and tips-and-quirks.rst 2024-04-19 17:37:05 +08:00
Guillaume Souchere
1b452481b8 Merge branch 'fix/prompt-erased-by-backspace-in-dumbmode' into 'master'
fix(console): bug where backspace erases the prompt in dumb mode

Closes IDFGH-12508

See merge request espressif/esp-idf!30313
2024-04-19 17:30:58 +08:00
Michael (XIAO Xufeng)
d40a670613 docs(compatibility): add information of C3 v0.4 2024-04-19 16:46:32 +08:00
Xu Si Yu
728595313f feat(openthread): support openthread ephemeral key 2024-04-19 14:49:10 +08:00
Aditya Patwardhan
0c64e48206 Merge branch 'fix/fix_host_based_security_workflow_doc' into 'master'
fix(docs): Fix the host based security workflow document

See merge request espressif/esp-idf!29409
2024-04-19 14:38:36 +08:00
Aditya Patwardhan
530fdacd88 fix(docs): Fix DIS_ICACHE related information in host security workflow 2024-04-19 11:29:21 +05:30
Aditya Patwardhan
1366949c8a feat(docs): Add workflow for externally enabling NVS Encryption
Fix documentation for host based workflows for flash encryption and
    secure boot v2
2024-04-19 11:29:21 +05:30
Tomas Rohlinek
22d3473f18 Merge branch 'feature/fatfs_use_dynamic_buffer' into 'master'
feat(storage/fatfs): Use dynamic buffers for fatfs

Closes IDFGH-9561

See merge request espressif/esp-idf!27501
2024-04-19 13:15:38 +08:00
Kapil Gupta
617130a485 Merge branch 'feat/scan_set_params_api' into 'master'
Adds a new API to set default scan parameters

Closes WIFI-6238, WIFI-6344, WIFIBUG-254, and IDFGH-12419

See merge request espressif/esp-idf!27761
2024-04-19 12:03:10 +08:00
Kevin (Lao Kaiyao)
7835ce48f1 Merge branch 'ci/enable_doc_build_for_esp32c5' into 'master'
ci(doc): enable doc build for esp32c5

See merge request espressif/esp-idf!30338
2024-04-19 11:50:10 +08:00
jgujarathi
770162d76c feat(esp_wifi): Adds a new API to set default scan parameters
- esp_wifi_set_scan_parameters() : Used to set the default scan parameters to be used
while scanning. These parameters will be used for all scans conducted by station
including connect scan. Parameters provided through esp_wifi_scan_start() override the
default parameters for that scan only
- esp_wifi_get_scan_parameters(): Used to get the current default scan parameters.
2024-04-19 11:01:53 +08:00
Alexey Lapshin
64a1ed07d9 Merge branch 'fix/fix_load_store_failure_mepc' into 'master'
fix(system): esp32p4: fix mepc when load/store failure occurred

See merge request espressif/esp-idf!30252
2024-04-19 03:37:45 +08:00
Alexey Lapshin
6f2de1fb23 fix(system): esp32p4: fix mepc when load/store failure occurred 2024-04-18 19:49:19 +04:00
Roland Dobai
9b8e2c72ba Merge branch 'docs/coredump_standalone' into 'master'
docs(tools/coredump): add information about standalone tool for advanced users

Closes IDFGH-12407 and IDFGH-12462

See merge request espressif/esp-idf!30039
2024-04-18 21:20:08 +08:00
laokaiyao
fc000cd7b7 ci(doc): enable doc build for esp32c5 2024-04-18 19:39:29 +08:00
Wu Zheng Hui
2c4097b4d2 Merge branch 'bugfix/fix_esp32p4_light_sleep_issues' into 'master'
fix(esp_hw_support): fix esp32p4 light sleep issues

Closes PM-96, PM-97, and IDF-9569

See merge request espressif/esp-idf!30089
2024-04-18 19:18:56 +08:00
Zhi Wei Jian
713e36e776 Merge branch 'bugfix/remove_ble_func_discard_declaration' into 'master'
fix(ble/bluedroid): Remove BLE functions discard declaration

Closes BLERP-663

See merge request espressif/esp-idf!30011
2024-04-18 19:00:55 +08:00
wuzhenghui
d076b34ed0 feat(esp_pm): add cases to test coexistence of sleep and PSRAM features 2024-04-18 18:07:07 +08:00
wuzhenghui
270b9d22e4 fix(ci): fix CI unity test cases failure 2024-04-18 18:07:07 +08:00
wuzhenghui
0d06f94d99 fix(esp_hw_support): fix unsafe sleep critical area 2024-04-18 18:07:06 +08:00
wuzhenghui
2ceddff922 fix(esp_hw_support): fix the problem of unstable PSRAM power supply during sleep 2024-04-18 18:07:06 +08:00
wuzhenghui
8f33c69c30 fix(esp_hw_support): disable mpll before sleep to avoid mspi module entering an error state 2024-04-18 18:07:02 +08:00
Konstantin Kondrashov
40684a0e1c Merge branch 'feature/freertos_runtime_counter_support' into 'master'
feat(freertos): Runtime Counter support

Closes IDFGH-12057

See merge request espressif/esp-idf!30150
2024-04-18 18:01:34 +08:00
nilesh.kale
3e6d62781f feat(mbedtls): updated mbedtls version from 3.5.2 to 3.6.0
This MR updated MbedTLS version to latest version 3.6.0.
2024-04-18 14:11:02 +05:30
Zhang Wen Xu
d02268279f Merge branch 'fix/ieee802154_include_header_issue' into 'master'
ieee802154: fix ieee802154 include header file issue

See merge request espressif/esp-idf!29820
2024-04-18 16:29:00 +08:00
Marius Vikhammer
842b6a1dc4 Merge branch 'bugfix/p4_ulp_wakeup' into 'master'
fix(ulp): fixed lp-core not booting during sleep

Closes IDF-9407

See merge request espressif/esp-idf!30296
2024-04-18 16:23:16 +08:00
zhiweijian
b9a1756202 fix(ble/bluedroid): Remove BLE functions discard declaration
fix(nt/bluedroid): Split the device name set functions

feat(bt/bluedroid): added APIs to get/set device name on BT GAP side

change(bt/common): Marked some APIs in device module as deprecated

1. esp_bt_dev_set_device_name
2. esp_bt_dev_get_device_name

change(bt/bluedroid): use BT GAP APIs to set/get device name in bluetooth classic examples

change(bt/bluedroid): use BT/BLE GAP APIs to set/get device name in coexist examples
2024-04-18 15:53:54 +08:00
zhiweijian
5725595d84 fix(ble/bluedroid): Remove esp_bluedroid_init() discard declaration 2024-04-18 15:53:30 +08:00
Shen Meng Jing
2839f80010 Merge branch 'docs/translate_ecdsa_and_qemu' into 'master'
Docs/translate ecdsa and qemu

Closes DOC-7533

See merge request espressif/esp-idf!29920
2024-04-18 15:48:09 +08:00
Konstantin Kondrashov
66e6a48efd feat(freertos): Runtime Counter support
Closes https://github.com/espressif/esp-idf/issues/13120
2024-04-18 10:26:38 +03:00
shenmengjing
4e0c5d3e8e docs: Provide translation for ecdsa.rst and qemu.rst 2024-04-18 14:58:39 +08:00
hongshuqing
2159ec7539 fix(h2): modify wrong lslp drvb config 2024-04-18 14:52:08 +08:00
Gao Xu
10c22e84ed Merge branch 'csi/add_no_backup_buffer_usage_flag' into 'master'
feat(csi): add a flag to allow no backup buffer usage

Closes IDF-9571

See merge request espressif/esp-idf!30185
2024-04-18 14:30:34 +08:00
C.S.M
684b63090b Merge branch 'feature/jpeg_dec_yuv_support' into 'master'
feat(jpeg): Support YUV in both decoder and encoder.

See merge request espressif/esp-idf!30240
2024-04-18 14:27:08 +08:00
Rahul Tank
d80a4e0ce1 Merge branch 'bugfix/fix_hex2val_ret' into 'master'
fix(nimble): Add check for return value of hex2val

Closes BT-3695

See merge request espressif/esp-idf!30304
2024-04-18 14:00:21 +08:00
Cao Sen Miao
282f3869c8 fix(jpeg): Fix issue that jpeg encoder does not end with 0xffd9 2024-04-18 12:39:09 +08:00
xiaqilin
34dacbb6ac fix(ieee802154): fix ieee802154 include header file issue and unused value issue 2024-04-18 11:42:35 +08:00
Marius Vikhammer
1fa59c442b fix(ulp): fixed lp-core not booting during sleep
LP core was unable to boot when system was in deepsleep.
This was due to lp uart init in LP rom using XTAL as clk source,
which is normally powered down during sleep.

This would cause lp uart to get stuck while printing ROM output,
and the app would never boot.

Also fixed wrong wakeup cause used by HP core for ULP wake up
2024-04-18 11:36:30 +08:00
Xu Si Yu
e8a554ac21 fix(vfs): make case eventfd_select_block exit normally 2024-04-18 11:29:25 +08:00
Zhang Wen Xu
e169a5592c Merge branch 'fix/ieee802154_test_acquire_lock_in_interrupt' into 'master'
fix(ieee802154): fix ieee802154 next operation acquire lock in interrupt

See merge request espressif/esp-idf!30250
2024-04-18 11:05:10 +08:00
Island
2cdd56ebc3 Merge branch 'bugfix/fixed_coex_asset_on_esp32c2' into 'master'
ble: fixed an occasional assertion issue in coexistence scenarios on ESP32C2

See merge request espressif/esp-idf!30300
2024-04-18 10:54:15 +08:00
Island
fc4e48dca5 Merge branch 'bugfix/fix_ble_appearance' into 'master'
Fixed BLE appearance category ranges

Closes IDFGH-12628

See merge request espressif/esp-idf!30284
2024-04-18 10:43:23 +08:00
gaoxu
4a9eb6fee9 feat(csi): add a test that no backup buffer usage 2024-04-18 10:42:22 +08:00
gaoxu
65acf4abe9 feat(csi): add a flag to allow no backup buffer usage 2024-04-18 10:42:22 +08:00
Cao Sen Miao
28b2e5f2bb feat(jpeg): update example use ldo for sd card 2024-04-18 10:40:48 +08:00
Cao Sen Miao
876a3697ec feat(jpeg): Support jpeg decoder yuv format 2024-04-18 10:40:48 +08:00
morris
04dbe6672d Merge branch 'ci/temp_disable_s3_usb_device' into 'master'
fix(ci): Temporarily disable USB device tests on S3

See merge request espressif/esp-idf!30312
2024-04-18 10:21:44 +08:00
zhanghaipeng
0a4636a8be fix(ble/bluedroid): Fixed set BLE appearance value 2024-04-17 20:38:36 +08:00
Rahul Tank
7ee1e0b8fb fix(nimble): Add check for return value of hex2val 2024-04-17 18:07:59 +05:30
Island
e82a723abf Merge branch 'bugfix/ble_mesh_fsm_list_init' into 'master'
bugfix/ble_mesh_fsm_list_init

Closes BLERP-539 and BLERP-451

See merge request espressif/esp-idf!30281
2024-04-17 20:09:52 +08:00
Cao Sen Miao
ea8be1533a docs(jpeg): Add docs for explain pixel order supported in jpeg driver 2024-04-17 19:16:44 +08:00
Cao Sen Miao
fc9eece101 change(jpeg): modify open_rgb.py for its now supporting open YUV files 2024-04-17 19:16:44 +08:00
Guillaume Souchere
ada38e8d5e fix(linenoise): Skip 0x00 to 0x1F character in dump mode
Skipping through the non printable character assures that
in dumb mode, any special keys will not lead to the cursor
movement.
2024-04-17 13:13:58 +02:00
Ivan Grokhotkov
3f663ec789 ci(sdmmc): add test config for p4 2024-04-17 12:49:23 +02:00
Ivan Grokhotkov
ad6cce5e3a fix(sdmmc): correct unused pin number for P4 EV board 2024-04-17 12:49:23 +02:00
Ivan Grokhotkov
3546c81e32 ci(sdmmc): re-enable CD/WP tests 2024-04-17 12:49:22 +02:00
Ivan Grokhotkov
b08ddfb25b fix(sdmmc): don't fail in clock update commands when no card detected
Clock update commands don't actually require the card to be present,
so it's not necessary to fail at this stage.
2024-04-17 12:49:22 +02:00
Ivan Grokhotkov
96074470ec fix(sdmmc): correct power init in CD/WP tests for P4 2024-04-17 12:49:22 +02:00
Ivan Grokhotkov
ad51d0d1ca ci(sdmmc): clean up stdout to avoid false positive memory leaks 2024-04-17 12:49:22 +02:00
Ivan Grokhotkov
8a66e059e9 Merge branch 'feature/sdmmc_p4_psram' into 'master'
feat(sdmmc): add support for PSRAM DMA

Closes IDF-9662

See merge request espressif/esp-idf!30044
2024-04-17 18:10:00 +08:00
Ivan Grokhotkov
3b42fde974 Merge branch 'ci/test_apps_codeowners' into 'master'
change(ci): split test_apps build-test-rules, add missing code owners

See merge request espressif/esp-idf!30306
2024-04-17 18:04:45 +08:00
Guillaume Souchere
aa61062584 fix(console): bug where backspace erases the prompt in dumb mode 2024-04-17 12:03:42 +02:00
Ivan Grokhotkov
545203f1c8 change(ci): split test_apps build-test-rules, add missing code owners 2024-04-17 11:54:33 +02:00
Tomas Rezucha
6b10a3074a fix(ci): Temporarily disable USB device tests on S3
Partially reverts 1302fd70ba
2024-04-17 11:43:10 +02:00
Wu Zheng Hui
eded4eabf6 Merge branch 'feature/support_esp32p4_clock_output' into 'master'
feat: support esp32p4 clock output

Closes IDF-8226

See merge request espressif/esp-idf!28619
2024-04-17 17:40:40 +08:00
Wang Meng Yang
d8ddc102f6 Merge branch 'bugfix/crash_after_bluedroid_deinit' into 'master'
fix(bt/bluedroid): Fixed controller using null pointer after bluedroid deinit

Closes BTQABR2023-248

See merge request espressif/esp-idf!30172
2024-04-17 17:26:06 +08:00
Fu Hanxi
01d56baac6 Merge branch 'ci/fix_macos_runner' into 'master'
ci: select correct python version for mac runners

Closes IDFCI-2107

See merge request espressif/esp-idf!30102
2024-04-17 16:58:27 +08:00
Jiang Jiang Jian
0f5aca1e47 Merge branch 'bugfix/mgmt_gcmp_issue' into 'master'
fix(wifi): Fix GCMP encryption for mgmt packets and other bugfixes

Closes WIFIBUG-293 and WIFIBUG-459

See merge request espressif/esp-idf!28449
2024-04-17 16:52:22 +08:00
Marius Vikhammer
c9efc9cc83 Merge branch 'bugfix/p4_reserved_rtc_mem' into 'master'
fix(rtc_memory): fix conflict between LP-ROM and RTC reserved

Closes IDF-9408

See merge request espressif/esp-idf!30012
2024-04-17 16:45:57 +08:00
Tomáš Rohlínek
ede737763c feat(storage/fatfs): update deprecated syntax for tests 2024-04-17 10:37:31 +02:00
Tomáš Rohlínek
b5d78549a5 feat(storage/fatfs): add tests for dynamic buffers 2024-04-17 10:37:31 +02:00
Tomáš Rohlínek
1447420a91 feat(storage/fatfs): add Kconfig option to enable dynamic window buffers 2024-04-17 10:37:31 +02:00
Tomáš Rohlínek
0bd6330e91 feat(storage/fatfs): add dynamic buffers support to FatFS
Closes https://github.com/espressif/esp-idf/issues/10913
2024-04-17 10:37:28 +02:00
Jiang Jiang Jian
9c8f4301a2 Merge branch 'bugfix/fix_lmac_end_frame_exchange_sequence_assert_issue' into 'master'
fix(wifi): fixed lmacEndFrameExchangeSequence assert issue

Closes IDFCI-2125

See merge request espressif/esp-idf!30283
2024-04-17 16:23:12 +08:00
Rahul Tank
ba8976aa52 Merge branch 'fix/removed_termination_upon_sign_write_fail' into 'master'
fix(nimble): Removed Code for Termination Upon Signed Write Operation Failure

See merge request espressif/esp-idf!29937
2024-04-17 16:06:57 +08:00
wuzhenghui
f3d963a93b fix(esp_system): update power domain configuration with slow clock source selection 2024-04-17 15:45:52 +08:00
wuzhenghui
59a8a8a54a fix(esp_hw_support): decrease DCDC volt with increase LDO volt in LDO take over preparation 2024-04-17 15:45:51 +08:00
wuzhenghui
55c5c2467d fix(esp_hw_support): fix ipc_isr pause/resume order in sleep process 2024-04-17 15:45:51 +08:00
wuzhenghui
8ad94931f2 change(soc): remove clockoutput hardware unavaliable registers 2024-04-17 15:09:54 +08:00
wuzhenghui
ffd5d1fd66 feat(esp_hw_support): support set clock divider for esp32p4 clock output 2024-04-17 15:09:54 +08:00
wuzhenghui
309725fcd0 feat(esp_hw_support): support esp32p4 clock output 2024-04-17 15:09:49 +08:00
Wang Fang
c86952ed9d docs: Updated CN translation for coredump 2024-04-17 14:56:02 +08:00
Wan Lei
624bcb4757 Merge branch 'feat/csi_disclose_internal_buffer_api' into 'master'
feat(csi): add API to expose internal backup_buffer

Closes IDF-9572

See merge request espressif/esp-idf!30094
2024-04-17 14:51:55 +08:00
zwl
d0c1ff0376 ble: fixed an occasional assertion issue in coexistence scenarios on ESP32C2 2024-04-17 14:46:02 +08:00
wuzhenghui
101f1abbf1 refactor(esp_hw_support): add hal layer for clock output feature 2024-04-17 14:25:29 +08:00
Zhang Xiao Yan
36c860a588 Merge branch 'docs/add_description_configure_usb_pins_to_gpio' into 'master'
docs: add code snippet showing how to configure usb pins to gpio

See merge request espressif/esp-idf!30236
2024-04-17 14:03:07 +08:00
Harshit Malpani
12c92bf822 feat: Enable app_update test app for ESP32P4 2024-04-17 11:21:34 +05:30
Marius Vikhammer
4533f16c34 fix(rtc_memory): fix conflict between LP-ROM and RTC reserved 2024-04-17 13:37:56 +08:00
Anton Maklakov
c1966573f5 Merge branch 'ci/version-commitliter-hook' into 'master'
ci(pre-commits): update conventional-precommit-linter version

Closes RDT-746

See merge request espressif/esp-idf!30061
2024-04-17 12:25:43 +08:00
muhaidong
490c6d3c38 fix(wifi): fixed lmacEndFrameExchangeSequence assert issue 2024-04-17 11:16:51 +08:00
luoxu
b6c09192c8 fix(ble_mesh): rpr server and df bug fixed(10f7fdc1a9) 2024-04-17 11:14:18 +08:00
Jiang Jiang Jian
a75bacf781 Merge branch 'fix/wl_fatfs_format' into 'master'
fix(storage/fatfs): fix double mouting of spiflash

Closes IDF-9677

See merge request espressif/esp-idf!30162
2024-04-17 10:48:39 +08:00
wanlei
af86df7f02 feat(csi): add API to expose internal backup_buffer 2024-04-17 10:48:11 +08:00
Jiang Jiang Jian
64c41c82cb Merge branch 'docs/update_build_system' into 'master'
docs: update a typo in the build system document

Closes DOC-6637

See merge request espressif/esp-idf!29969
2024-04-17 10:41:55 +08:00
Jiang Jiang Jian
5f19a8797a Merge branch 'contrib/github_pr_13022' into 'master'
fix(freertos): Fix broken portable macro portTRY_ENTER_CRITICAL_SAFE()

Closes IDFGH-11943

See merge request espressif/esp-idf!30030
2024-04-17 10:41:10 +08:00
Jiang Jiang Jian
dfd6a7ba6d Merge branch 'enable_esp32p4_sysview_examples' into 'master'
feat(sysview): enable esp32p4 examples

See merge request espressif/esp-idf!30035
2024-04-17 10:39:41 +08:00
Jiang Jiang Jian
ff07cae675 Merge branch 'fix/examples_sta2eth_udpcheck' into 'master'
fix(examples): STA-ETH add the padding if the packet length is odd while updating udp checksum

Closes IDFGH-12490

See merge request espressif/esp-idf!30266
2024-04-17 10:35:58 +08:00
Omar Chebib
faf0ea8702 Merge branch 'fix/interrupt_source_c5_beta3' into 'master'
fix(esp32c5): fix interrupt sources number for the Beta3 version

See merge request espressif/esp-idf!30271
2024-04-17 10:11:15 +08:00
Mahavir Jain
636ff35b52 Merge branch 'fix/incorrect_connection_closure_parttool_test' into 'master'
ci(otatool): fix test failure caused due to closing connection incorrectly

Closes IDFCI-2122

See merge request espressif/esp-idf!30219
2024-04-16 23:07:23 +08:00
Sarvesh Bodakhe
d97c8ed1b1 fix(wifi): Add bugfix to avoid RSNXE and KDE mismatch during 4-way-handshake 2024-04-16 19:49:28 +05:30
Kapil Gupta
95b522a1be fix(wifi): Fix encryption/decryption issue for mgmt packets
* Fix issues related to mgmt packets encryption in GCMP
* Fix issue of wrong decryption of mgmt packets when PMF is enabled
* Fix softAP bug in handling of SAE Reauthentication
2024-04-16 19:49:09 +05:30
Ondrej Kosta
d3e45faf80 Merge branch 'bugfix/dm9051_phy_axs_wait' into 'master'
fix(esp_eth): made access to PHY registers for DM9051 more robust

Closes IDF-9659

See merge request espressif/esp-idf!30043
2024-04-16 22:08:20 +08:00
Fu Hanxi
2cde75b531 ci: improve pytest build system tests
- remove temp dirs
- remove idf-component-manager unit test
2024-04-16 15:33:43 +02:00
Fu Hanxi
a4f691b88a ci: always cleanup idf copy in ci 2024-04-16 15:32:10 +02:00
Fu Hanxi
b5607cf43c ci: disable ccache on macos build system test 2024-04-16 15:32:10 +02:00
Fu Hanxi
588ac5f4fb ci: ensure macos selected the correct python installed by pyenv 2024-04-16 15:31:45 +02:00
Alexey Lapshin
c01a842a84 Merge branch 'feature/update-gdb-to-14.2_20240403' into 'master'
feat(tools): update gdb version to 14.2_20240403

See merge request espressif/esp-idf!30037
2024-04-16 20:24:21 +08:00
Karl Palsson
e2945871b7 fix(esp_eth): dp83848: correct link detection to use BMSR
Reading the link state via PHYSTS was incorrect, as it only reflects the
link state bit from BMSR.  BMSR latches link down events, and are not
cleared without being read.  (See 802.3-2008 section 2, section 22.2.4.2.13)
This leads to the original DP828xx code only supporting link up, then a
single link down event.

Switch to reading the link state via BMSR, but continuing to read the
negotiation results via PHYSTS and ANLPAR.  This is inline with
LAN8720x, RTL8201, KSZ80xx phy drivers, and other opensource drivers for
the DP838xx family of devices.

Tested on a private board with a DP83825i PHY.  No publically available
boards using the original DP83848 are known of for testing.

Signed-off-by: Karl Palsson <karl.palsson@marel.com>
2024-04-16 11:08:48 +00:00
Jan Beran
0dec6fe65d feat(tools): Add idf.py merge-bin command and cmake target 2024-04-16 12:49:18 +02:00
Omar Chebib
f39b3099f6 fix(esp32c5): fix interrupt sources number for the Beta3 version 2024-04-16 18:17:00 +08:00
wanlei
cf055a625b fix(csi): fix common resource changes when clime hardware fail 2024-04-16 17:22:57 +08:00
Armando (Dou Yiwen)
cb0cc9f10e Merge branch 'feat/support_use_internal_buffer_when_no_new_trans_buf' into 'master'
csi: support using internal buffer when there's no new trans buffer

Closes IDF-9694

See merge request espressif/esp-idf!30210
2024-04-16 17:14:35 +08:00
Martin Vychodil
ac7e7065db Merge branch 'fix/pthread_psram_wrong_tags' into 'master'
ci: Added missing generic tag to test

See merge request espressif/esp-idf!30244
2024-04-16 16:49:25 +08:00
Omar Chebib
007a626049 Merge branch 'fix/esp32c5_interrupt_support' into 'master'
fix(esp32c5): add CLIC interrupt controller support for the ESP32-C5 (Beta3 & MP)

Closes IDF-8654 and IDF-8655

See merge request espressif/esp-idf!30017
2024-04-16 16:35:49 +08:00
Alexey Lapshin
851216b1a4 feat(tools): update gdb version to 14.2_20240403 2024-04-16 16:17:28 +08:00
Armando
e7c1f6b3b2 feat(csi): support using internal buffer when there's no new trans buffer
Also when the new trans buffer is not big enough
2024-04-16 16:11:55 +08:00
Mahavir Jain
816af11ba3 Merge branch 'bugfix/cleanup_mpu_ll_ports' into 'master'
fix: cleanup MPU LL files for RISC-V architecture SoCs

See merge request espressif/esp-idf!30260
2024-04-16 15:41:43 +08:00
Jiang Jiang Jian
8f4f21580a Merge branch 'bugfix/esp_supplicant_format' into 'master'
fix(wifi): update coding format of WiFi files

See merge request espressif/esp-idf!28079
2024-04-16 15:23:21 +08:00
Jakob Hasse
bf2bbbde16 ci: Added missing generic tag to psram tests 2024-04-16 09:17:41 +02:00
Jakob Hasse
1e9f52d404 Merge branch 'refactor/p4_rng' into 'master'
refactor(esp_hw_support): removed unneccessary code

See merge request espressif/esp-idf!30064
2024-04-16 15:13:17 +08:00
Rocha Euripedes
f9e81fe6fc Merge branch 'update_mqtt' into 'master'
Update Mqtt client

See merge request espressif/esp-idf!29810
2024-04-16 14:54:16 +08:00
Linda
3b7e16f182 docs: add code snippet showing how to configure usb pins to gpio 2024-04-16 14:53:12 +08:00
Konstantin Kondrashov
b6c8a139be Merge branch 'feature/linux_improve_delay_func' into 'master'
feat(esp_rom): Improves esp_rom_delay_us for linux target

See merge request espressif/esp-idf!30217
2024-04-16 14:44:21 +08:00
Jiang Jiang Jian
526d33848f Merge branch 'docs/compatibility_c3_v1.1' into 'master'
doc(compatibility): add C3 v1.1

See merge request espressif/esp-idf!30130
2024-04-16 14:02:05 +08:00
Tomáš Rohlínek
161604c33c fix(storage/fatfs): change indentation in kconfig 2024-04-16 07:55:46 +02:00
Guillaume Souchere
3554fd5665 Merge branch 'fix/fsync-call-propagation-to-secondary-console' into 'master'
fix(console): Fsync not propagated to secondary output

Closes IDFGH-12104

See merge request espressif/esp-idf!30195
2024-04-16 13:50:51 +08:00
Kapil Gupta
58ee771f3c fix(wifi): Run tools/format.sh on WiFi component 2024-04-16 10:58:37 +05:30
Sumeet Singh
19ad84f008 fix(nimble): Removed code for termination upon signed write operation failure 2024-04-16 09:57:25 +05:30
Mahavir Jain
c44369de7a fix: cleanup MPU LL files for RISC-V architecture SoCs 2024-04-16 09:50:46 +05:30
Kirill Chalov
ddb6db4bb4 Merge branch 'docs/update_example_readme_template' into 'master'
docs: Update ESP Timer example README

See merge request espressif/esp-idf!29844
2024-04-16 10:40:11 +08:00
Omar Chebib
f6e935e013 fix(esp32c5): add CLIC interrupt controller support for the ESP32-C5 2024-04-16 10:38:14 +08:00
xiaqilin
0eeed7637f fix(ieee802154): fix ieee802154 next operation acquire lock in interrupt 2024-04-16 10:35:55 +08:00
Island
46e0760619 Merge branch 'feat/support_ble_add_device_to_resolving_list' into 'master'
feat(ble/bluedroid): Support BLE add device to resolving list

Closes BLERP-681

See merge request espressif/esp-idf!30216
2024-04-16 10:35:16 +08:00
Shu Chen
ce1e996747 Merge branch 'fix/fix_ot_br_partition_table' into 'master'
fix(openthread): increase factory app size in ot_br partition table

See merge request espressif/esp-idf!30247
2024-04-16 10:20:32 +08:00
Kapil Gupta
d2978ab9d4 fix(ci): Skip spell check for WiFi component 2024-04-15 23:19:06 +05:30
Kapil Gupta
0ba7836bd2 fix(ci): Update coding rules for esp_wifi files 2024-04-15 23:18:33 +05:30
Michael (XIAO Xufeng)
a30375f335 Merge branch 'doc/auto_suspend_disabled_by_default' into 'master'
doc(flash): fix auto suspend enabled by default issue

See merge request espressif/esp-idf!30086
2024-04-15 23:48:37 +08:00
Jakob Hasse
ee6ec3db8d Merge branch 'refactor/linux_true_random_numbers' into 'master'
refactor(esp_hw_support): Linux esp_random impl now returns true random numbers

Closes IDF-8881

See merge request espressif/esp-idf!30063
2024-04-15 22:59:14 +08:00
zhanghaipeng
9ae6007b5b feat(ble/bluedroid): Support create BLE static random address and NRPA 2024-04-15 21:04:52 +08:00
Xu Si Yu
e4746084ea fix(openthread): increase factory app size in ot_br partition table 2024-04-15 20:44:28 +08:00
harshal.patil
f07db4ef4d ci(otatool): fix test failure caused due to closing connection incorrectly 2024-04-15 17:09:39 +05:30
zhanghaipeng
36c9953588 feat(ble/bluedroid): Support BLE add device to resolving list 2024-04-15 19:37:02 +08:00
C.S.M
4a94f9b27c Merge branch 'fix/i2c_pin_short_cut' into 'master'
fix(i2c_master): Modify the behavior from ISR WDT to return timeout when circut get shortcut

See merge request espressif/esp-idf!30188
2024-04-15 19:15:35 +08:00
xuxiao
5617bfaaec fix(example): fix wifi iperf example build errors when enabled CONFIG_ESP_WIFI_ENABLE_WIFI_RX_STATS 2024-04-15 19:07:37 +08:00
Jakob Hasse
2e64570975 refactor(esp_hw_support): removed unneccessary code 2024-04-15 12:33:08 +02:00
morris
eff7b32412 Merge branch 'feat/codeowner_vfs_console' into 'master'
change(codeowner): add code owner for esp_vfs_console

See merge request espressif/esp-idf!30230
2024-04-15 18:18:24 +08:00
Michael (XIAO Xufeng)
cf159ddd7e doc(compatibility): add C3 v1.1 2024-04-15 17:52:17 +08:00
Xiao Xufeng
ca93d4e1eb doc(flash): fix auto suspend enabled by default issue 2024-04-15 17:47:31 +08:00
Mahavir Jain
7a283b73f6 Merge branch 'feature/p4_memory_protection' into 'master'
feat: add memory protection support using PMA/PMP for P4 target

Closes IDF-7542

See merge request espressif/esp-idf!29947
2024-04-15 17:24:37 +08:00
kirill.chalov
0dfd78800f docs: Update example README template and other related docs 2024-04-15 17:17:27 +08:00
kirill.chalov
85ea59f417 docs: Update ESP Timer example README 2024-04-15 17:17:26 +08:00
Armando (Dou Yiwen)
116bdf4762 Merge branch 'change/change_esp_cache_aligned_alloc_log_e_to_w' into 'master'
cache: change esp_cache_aligned_alloc_log_e_to_w and update to use heap cap malloc flags

Closes IDF-9666

See merge request espressif/esp-idf!30087
2024-04-15 17:02:02 +08:00
Omar Chebib
91bdbc1708 Merge branch 'fix/esp32p4_l2_cache_configured_from_flash' into 'master'
fix(spi_flash): fix a bug where L2 cache was configured from flash on the ESP32-P4

Closes IDF-9681

See merge request espressif/esp-idf!30189
2024-04-15 16:32:22 +08:00
Ondrej Kosta
60384d4fc0 fix(esp_eth): made access to PHY registers for DM9051 more robust 2024-04-15 15:39:23 +08:00
Armando
e36a396801 change(test): test changes for esp cache malloc 2024-04-15 15:34:51 +08:00
Armando
d341540a5e change(drivers): other driver changes for cache malloc 2024-04-15 15:34:51 +08:00
Armando
0df418facd change(cache): update to use heap cap malloc flags 2024-04-15 15:34:51 +08:00
Jakob Hasse
d297845126 refactor(esp_hw_support): Linux esp_random impl now returns true random numbers 2024-04-15 09:34:02 +02:00
morris
c5389ac2fd Merge branch 'feature/rmt_simple_encoder' into 'master'
RMT simple encoder

See merge request espressif/esp-idf!29874
2024-04-15 15:23:18 +08:00
Guillaume Souchere
3cca8ff905 Merge branch 'fix/heap-trace-on-all-functions' into 'master'
fix(heap): Tracing of all heap_caps API functions

Closes IDF-9385

See merge request espressif/esp-idf!29536
2024-04-15 15:12:12 +08:00
Euripedes Rocha
8849425d71 change(mqtt): Update esp-mqtt submodule
git log --oneline e6afdb4025fe018ae0add44e3c45249ea1974774..aa6f889fb4f6f743b3a550aa587713aabbdca1fc

Detailed description of the changes:
* fix: regard reason codes greater than 0x80 as failures.
  - See merge request espressif/esp-mqtt!205
  - See commit https://github.com/espressif/esp-mqtt/commit/e7b9aa5
* PR: Return on allocation failure
  - See merge request espressif/esp-mqtt!204
  - set last_retransmit to now when first connected (espressif/esp-mqtt@c06f154)
  - add return to faile_message, avoid segment fault (espressif/esp-mqtt@37478a9)
* Minor warning of unused variable
  - See merge request espressif/esp-mqtt!203
  - fix: Minor warning of unused variable (espressif/esp-mqtt@726e5f2)
* Cover the case for SOC without MAC address
  - See merge request espressif/esp-mqtt!202
  - fix: Cover the case for SOC without MAC address (espressif/esp-mqtt@5e3abd4)
* Make state and size atomic
  - See merge request espressif/esp-mqtt!199
  - feat: Make state and size atomic (espressif/esp-mqtt@891380b)
* fix: Adjust the log level on few messages to avoid cluthering the logs
  - See merge request espressif/esp-mqtt!201
  - See commit https://github.com/espressif/esp-mqtt/commit/5c17fc4
* fix: Make automatic client_id soc dependent
  - See merge request espressif/esp-mqtt!200
  - See commit https://github.com/espressif/esp-mqtt/commit/657a2ae
* Clarify data that users need to take care of lifetime.
  - See merge request espressif/esp-mqtt!197
  - docs: Clarify data that users need to take care of lifetime. (espressif/esp-mqtt@371f594)
* Update mqtt_client.h
  - See merge request espressif/esp-mqtt!198
  - add const char * to esp_mqtt_client_subscribe() generic macros (espressif/esp-mqtt@acdb66d)
* client: Report failure on timeout in mid-message timeout (GitHub PR)
  - See merge request espressif/esp-mqtt!165
  - Merges https://github.com/espressif/esp-mqtt/pull/232
  - client: Report failure on timeout in mid-message timeout (espressif/esp-mqtt@ddde502)
* fix: Move buffer initialization to set config
  - See merge request espressif/esp-mqtt!194
  - Closes https://github.com/espressif/esp-mqtt/issues/267
  - See commit https://github.com/espressif/esp-mqtt/commit/ea0df31
* Fix check for message creation when processing publish
  - See merge request espressif/esp-mqtt!195
  - fix: Deliver publish verifies if message was created only for QoS >0
        (espressif/esp-mqtt@6780056)
2024-04-15 15:04:08 +08:00
Armando (Dou Yiwen)
f5a00d7c9b Merge branch 'bugfix/fix_spiram_cap_doesnt_match_with_dma_cap_issue' into 'master'
dma: fixed spiram_cap doesn't match with dma cap issue for esp_dma_malloc

See merge request espressif/esp-idf!30231
2024-04-15 14:59:43 +08:00
Jiang Jiang Jian
25d40a67bc Merge branch 'feature/esp32c5beta3_light_sleep_support_stage_2' into 'master'
feat(esp_hw_support): esp32c5 sleep support (Stage 3:  support system peripheral sleep retention)

Closes IDF-8640

See merge request espressif/esp-idf!29723
2024-04-15 14:40:52 +08:00
Island
8e0714341a Merge branch 'feat/support_qa_test_vendor_hci_esp32c3' into 'master'
Support QA test vendor HCI command and event on ESP32C3

Closes BLERP-578

See merge request espressif/esp-idf!29282
2024-04-15 14:08:40 +08:00
Island
caf0712174 Merge branch 'feat/support_qa_test_vendor_hci_esp32' into 'master'
Support QA test vendor HCI command and event on ESP32

Closes BLERP-578

See merge request espressif/esp-idf!29372
2024-04-15 14:08:34 +08:00
Omar Chebib
6f888390ab fix(spi_flash): fix a bug where l2 cache was configured from flash 2024-04-15 13:55:38 +08:00
Zhang Xiao Yan
69972b2a1e Merge branch 'docs/update_deep_sleep_stub' into 'master'
docs: update api-guides/deep-sleep-stub

See merge request espressif/esp-idf!25258
2024-04-15 12:45:35 +08:00
Linda
2dc0be81fb docs: update api-guides/deep-sleep-stub 2024-04-15 11:43:19 +08:00
Armando
c3f60522cf bugfix(dma): fixed spiram_cap doesn't match with dma cap issue for esp_dma_malloc 2024-04-15 11:37:17 +08:00
Cao Sen Miao
4ba3a4e482 fix(i2c_master): Fix the issue that probe cannot work properly after a general call,
Closes https://github.com/espressif/esp-idf/issues/13547
2024-04-15 11:29:13 +08:00
Jin Cheng
081dc80eb8 fix(bt/bluedroid): allocate memory for control block of HFP Audio Gateway in its initialization when dynamic memory is wnabled 2024-04-15 11:20:55 +08:00
Cao Sen Miao
a69c6e8f41 fix(i2c_master): Modify the behavior from ISR WDT to return timeout when circut get shortcut,
Closes https://github.com/espressif/esp-idf/issues/13587
2024-04-15 11:05:43 +08:00
morris
0e52fdb7fb change(codeowner): add code owner for esp_vfs_console 2024-04-15 09:54:53 +08:00
Armando
b658c712e7 change(cache): change esp_cache_aligned_alloc_log_e_to_w 2024-04-15 09:49:25 +08:00
Mahavir Jain
024b040300 test(memprot): enable memory protection tests for P4 2024-04-14 21:16:42 +05:30
Mahavir Jain
46c453ae1e feat: add memory protection support using PMA/PMP for P4 target 2024-04-14 21:16:40 +05:30
Mahavir Jain
433825d385 fix(hal): integer overflow warning in the cache LL macro 2024-04-14 21:16:38 +05:30
Mahavir Jain
166fa7acac fix: minor warning related to missing parenthesis 2024-04-14 21:16:34 +05:30
Adam Múdry
baa42be64c Merge branch 'fix/possible_name_collision_nvs_with_sysview' into 'master'
fix(nvs): Fix possible collision with app trace sysview defines

Closes IDF-9701

See merge request espressif/esp-idf!30222
2024-04-14 19:44:17 +08:00
Erhan Kurubas
72f463afc6 Merge branch 'doc_update_esp32p4_jtag' into 'master'
Update esp32p4 jtag debugging guide

Closes IDF-7758

See merge request espressif/esp-idf!26527
2024-04-13 02:10:21 +08:00
Guillaume Souchere
429d72fcb8 Merge branch 'fix/heap-init-iteration-on-failed-alloc' into 'master'
fix(heap): Loop shouldn't break on failed allocation in heap_caps_init()

See merge request espressif/esp-idf!30218
2024-04-13 01:46:33 +08:00
Mahavir Jain
bf63862c4a Merge branch 'fix/enable_crypto_periphs_before_rom_exec' into 'master'
fix(esp_system): enable crypto periphs before rom execution

See merge request espressif/esp-idf!30116
2024-04-13 00:14:16 +08:00
Rahul Tank
c8e454b4fa Merge branch 'bugfix/fix_cccd_compilation_warning' into 'master'
fix(nimble): Fix compilation issues when CCCD is set to 0

See merge request espressif/esp-idf!30067
2024-04-12 20:05:25 +08:00
Adam Múdry
8e43afef3b fix(nvs): Fix possible collision with app trace sysview defines
Global.h defines U8, I8, U16, etc. symbols, which are also used in NVS
as a part of custom enum class and this can cause a compilation error
during macro expansion, when sysview is enabled and FreeRTOS.h is included in NVS
2024-04-12 13:46:51 +02:00
Ivan Grokhotkov
49b4bc175e feat(sdmmc): add support for PSRAM DMA on ESP32-P4 2024-04-12 12:56:18 +02:00
Guillaume Souchere
52ebac9c62 fix(heap): Loop break on failed alloc
don't check for heaps_array != NULL in the loop.
The check is done after the loop since it is allowed
for the allocation to fail until finding aa ssuitable
heap.
2024-04-12 12:21:13 +02:00
Konstantin Kondrashov
b3d1b1783b feat(esp_rom): Improves esp_rom_delay_us for linux target 2024-04-12 12:52:38 +03:00
morris
94580bb14a Merge branch 'fix/fix_logic_error_in_peri_clk_init' into 'master'
fix(esp_hw_support): fix bad logic in esp_perip_clk_init

Closes IDF-9518

See merge request espressif/esp-idf!30208
2024-04-12 17:44:43 +08:00
Roland Dobai
cf27cccbd2 Merge branch 'doc/readme_chip_support' into 'master'
Docs: Update the chip support matrix in the README

Closes IDF-8612

See merge request espressif/esp-idf!29910
2024-04-12 17:38:42 +08:00
harshal.patil
6ec486e351 fix(esp_system): Enable crpyto peripherals related clocks for specific ESP32-P4 ECOs 2024-04-12 14:56:53 +05:30
harshal.patil
5ba9b53667 fix(hal): Clear reset on parent crpyto lock while resetting a crypto peripheral 2024-04-12 14:55:11 +05:30
Ivan Grokhotkov
e0cb43b9ab Merge branch 'feature/sdmmc_test_p4_updates' into 'master'
change(sdmmc,sdspi): add P4 board defs, enable LDO in sdspi tests, simplify LDO in sdmmc tests

See merge request espressif/esp-idf!30042
2024-04-12 17:04:07 +08:00
Tomáš Rohlínek
615a9c6742 feat(storage/example): enable host test for flash wl fatfs 2024-04-12 10:26:25 +02:00
Tomáš Rohlínek
7c3b9bde0e feat(storage/fatfs): add testcase with erased spi partition 2024-04-12 10:26:25 +02:00
Tomáš Rohlínek
f398b7923a fix(storage/fatfs): fix double mouting of spiflash 2024-04-12 10:26:22 +02:00
Jakob Hasse
d9a6ae2b3c Merge branch 'refactor/simplify_mock_build_tests' into 'master'
refactor(cmock): simplified mock build tests

See merge request espressif/esp-idf!30038
2024-04-12 16:09:39 +08:00
Roland Dobai
4be11ad49d Merge branch 'change/update_elf2image' into 'master'
change(esptool_py/project_include): Updated esptool_elf2image_args

Closes IDF-9388

See merge request espressif/esp-idf!30163
2024-04-12 15:45:27 +08:00
Konstantin Kondrashov
e6d153f06b Merge branch 'feature/support_utilities_in_cpu' into 'master'
feat(esp_hw_support): Support utilities in cpu.c

Closes IDF-7848

See merge request espressif/esp-idf!29661
2024-04-12 15:30:33 +08:00
Guillaume Souchere
7639933eeb Merge branch 'fix/missing-block-owner-in-heap-init-alloc' into 'master'
fix(heap): Add block owner to allocs in heap_caps_init()

Closes IDFGH-12450

See merge request espressif/esp-idf!30139
2024-04-12 15:23:16 +08:00
Roland Dobai
ef36e84264 Merge branch 'feature/idf_tools_stop_install_on_error' into 'master'
feat(tools): stop installation if tool is failed

Closes IDF-9030

See merge request espressif/esp-idf!28491
2024-04-12 15:07:17 +08:00
Lou Tianhao
e3ec2724e7 remove(wifi): sleep_retention member in struct wifi_osi_funcs_t 2024-04-12 14:14:13 +08:00
Lou Tianhao
4061e282dd draft(i2c): need to support regdma_i2c for esp32c5beta3 2024-04-12 14:14:06 +08:00
Roland Dobai
34f1076711 Merge branch 'fix/exit_asyncio_gracefully' into 'master'
fix: exit gracefully when process started via asyncio is terminated

Closes IDFGH-12390

See merge request espressif/esp-idf!30036
2024-04-12 14:12:18 +08:00
wuzhenghui
e7046e2abf fix(esp_hw_support): fix bad logic in esp_perip_clk_init 2024-04-12 14:08:07 +08:00
Anton Maklakov
e1ef214203 feat(tools): stop installation if tool is invalid
install/check commands - stop on error
export/list commands - print a warning
2024-04-12 14:03:49 +08:00
Rahul Tank
f2fd8192fc fix(nimble): Fix compilation issues when CCCD is set to 0 2024-04-12 11:01:47 +05:30
Rahul Tank
052e884f34 Merge branch 'bugfix/fix_cve_2024_24746' into 'master'
fix(nimble): Fix for Vulnerability CVE_2024_24746

See merge request espressif/esp-idf!30106
2024-04-12 13:12:35 +08:00
Lou Tianhao
534e7a528f feat(pm): support pd top for esp32c5beta3 2024-04-12 11:34:54 +08:00
morris
7079c09c5a Merge branch 'feat/mipi_dsi_vsync_end' into 'master'
feat(mipi_dsi): add callback to notify vsync end

See merge request espressif/esp-idf!30140
2024-04-12 11:28:20 +08:00
morris
a6fbe06910 Merge branch 'feature/gptimer_c5_mp' into 'master'
feat(gptimer): support timer group driver on c5 mp

Closes IDF-8705

See merge request espressif/esp-idf!30126
2024-04-12 11:17:28 +08:00
Mahavir Jain
e32211d605 Merge branch 'bugfix/howsmyssl_cert_update' into 'master'
fix(examples): update root certificate for howsmyssl endpoint

Closes IDFCI-2124

See merge request espressif/esp-idf!30194
2024-04-12 11:10:20 +08:00
Armando (Dou Yiwen)
9e9f76d88d Merge branch 'feat/lp_i2s_ll_support' into 'master'
lp_i2s: added lp_i2s ll layer

See merge request espressif/esp-idf!30158
2024-04-12 10:37:54 +08:00
Jiang Jiang Jian
9aa1bc6253 Merge branch 'bugfix/fix_lmac_stop_transmit_issue' into 'master'
fix(wifi): fix lmacStopTransmit issue

Closes WIFI-6519 and WIFIBUG-401

See merge request espressif/esp-idf!30147
2024-04-12 09:08:07 +08:00
Wang Meng Yang
d4552c6274 Merge branch 'bugfix/bt_bss_in_extram' into 'master'
BT: Fix non-existent linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled

Closes IDFGH-9017

See merge request espressif/esp-idf!21790
2024-04-12 08:57:10 +08:00
Rahul Tank
1e8c5fb247 fix(nimble): Fix for Vulnerability CVE_2024_24746 2024-04-11 19:28:44 +05:30
Rahul Tank
8a061af163 Merge branch 'feat/add_data_len_chg_evt' into 'master'
fix(nimble): Add support for data length change evt

Closes BLERP-666 and BLERP-665

See merge request espressif/esp-idf!29799
2024-04-11 21:09:53 +08:00
Armando
a8406659db feat(lp_i2s): added lp_i2s ll layer 2024-04-11 20:18:45 +08:00
David Čermák
952bdbde06 Merge branch 'fix/examples_sta2eth_hostname_clarify' into 'master'
fix(examples): Fix sta-2-eth README to clarify wifi.settings is hostname

See merge request espressif/esp-idf!29625
2024-04-11 19:58:33 +08:00
Island
0545816211 Merge branch 'bugfix/fix_ble_max_attribute_value' into 'master'
fix(ble/bluedroid): Fixed BLE GATT max length of an attribute value

Closes IDFGH-12362

See merge request espressif/esp-idf!30155
2024-04-11 19:11:20 +08:00
Guillaume Souchere
6e628a341a fix(console): Fsync not propagated to secondary output
Calls to fsync need to also be propagated to secondary
output when CONFIG_ESP_CONSOLE_SECONDARY_USB_SERIAL_JTAG
is enabled.

Closes https://github.com/espressif/esp-idf/issues/13162
2024-04-11 13:01:34 +02:00
Mahavir Jain
ebbcf074fc fix(examples): update root certificate for howsmyssl endpoint
This fixes CI failure seen because of cert migration of howsmyssl
endpoint from previous "DST Root CA X3" (cross-signed) to "ISRG Root X1".
2024-04-11 16:06:00 +05:30
Zhang Xiao Yan
4018c719e9 Merge branch 'docs/add_example_code_snippet_ota' into 'master'
docs: add code snippet for checking OTA state

See merge request espressif/esp-idf!30157
2024-04-11 18:23:20 +08:00
Konstantin Kondrashov
06c28f0ee9 feat(hal): Adds hal funcs for cpu.c 2024-04-11 13:07:04 +03:00
morris
b6a1d242d8 feat(mipi_dsi): measure FPS by toggling GPIO 2024-04-11 18:02:09 +08:00
morris
588bbac564 feat(mipi_dsi): add callback to notify refresh done 2024-04-11 18:02:09 +08:00
Konstantin Kondrashov
0b5a6e33fc Merge branch 'feature/adds_esp_exit_macros' into 'master'
feat(esp_common): Add ESP_RETURN_VOID_ON_ERROR and ESP_RETURN_VOID_ON_FALSE macros

Closes IDFGH-12532

See merge request espressif/esp-idf!30148
2024-04-11 17:10:07 +08:00
Linda
b4be134ca3 docs: add code snippet for checking OTA state 2024-04-11 16:04:07 +08:00
Jeroen Domburg
0078680e88 feat(rmt): Add simple callback encoder 2024-04-11 15:54:52 +08:00
morris
a615180bc0 feat(gptimer): support timer group driver on c5 mp
there's no change between mpw and mp as far as I can tell from the
register
2024-04-11 15:52:34 +08:00
Jakub Kocka
72896395f7 change(esptool_py/project_include): Updated esptool_elf2image_args
Since esptool v4.8 "--dont-append-digest" argument of elf2image is not needed anymore.
2024-04-11 09:33:48 +02:00
Roland Dobai
19700a57e6 Merge branch 'fix/gcov_win_mixed_path' into 'master'
fix(gcov): Fixed mixed path separators on Windows

Closes IDF-868 and IDF-3358

See merge request espressif/esp-idf!29917
2024-04-11 13:56:10 +08:00
Duco Sebel
69f6170f27 feat(esp_common): Add macros that check the condition and return from void function
Merges: https://github.com/espressif/esp-idf/pull/13536
2024-04-11 08:51:03 +03:00
C.S.M
df842f9f75 Merge branch 'docs/jpeg_final' into 'master'
docs(jpeg): Add full-content of jpeg decoder and encoder programming guide

See merge request espressif/esp-idf!30122
2024-04-11 13:45:57 +08:00
Rahul Tank
beb87e30f0 fix(nimble): Add support for data length change evt 2024-04-11 11:01:59 +05:30
Rahul Tank
f44f06597f Merge branch 'bugfix/fix_dtm_num_pkt_size' into 'master'
fix(nimble): Fix the size of num_packets in dtm event

Closes BLERP-670 and BLERP-672

See merge request espressif/esp-idf!30143
2024-04-11 13:22:12 +08:00
Cao Sen Miao
2f7cd31279 fix(jpeg): Fix issue that jpeg acquire return NULL when acquire twice 2024-04-11 12:03:16 +08:00
muhaidong
6d97ebf35c fix(wifi): fixed task watchdog got triggered by esp_wifi_stop issue 2024-04-11 12:03:11 +08:00
xiongweichao
f535fdff2d fix(bt/bluedroid): Fixed crash after bluedroid deinit
hci_host_env.downstream_data_ready is set to NULL during bluedroid deinit,
causing the controller to use a null pointer when calling callback.
2024-04-11 10:39:44 +08:00
Wu Zheng Hui
ec37cbf157 Merge branch 'feature/esp32c5beta3_light_sleep_support_stage_1' into 'master'
feat(esp_hw_support): esp32c5 sleep support (Stage 2: support basic pmu sleep function)

See merge request espressif/esp-idf!29549
2024-04-11 10:38:17 +08:00
Cao Sen Miao
896cebaf8b docs(jpeg): Add full-content of jpeg decoder and encoder programming guide 2024-04-11 10:22:01 +08:00
Rahul Tank
fdd630425d fix(nimble): Fix the size of num_packets in dtm event 2024-04-10 19:26:07 +05:30
Lou Tianhao
2c59c4fbf2 fix(ci): bypass c5mp ci check 2024-04-10 20:45:49 +08:00
Jiang Jiang Jian
4e79288891 Merge branch 'bugfix/fix_coded_phy_s8_tx_issue' into 'master'
fix(esp_phy): fixed BLE coded phy s8 tx issue in coexistence scenarios

Closes BT-3457, BT-3656, and WIFI-5934

See merge request espressif/esp-idf!29579
2024-04-10 20:45:15 +08:00
Xu Xiao
f0365ba6b5 Merge branch 'chip/esp32c5_beta3_support_wifi_rebase_master' into 'master'
feat(wifi): add esp32c5 beta3 wifi support

See merge request espressif/esp-idf!29296
2024-04-10 20:21:47 +08:00
Zhi Wei Jian
48464e91bd Merge branch 'feature/move_vendor_hci_api_to_ble_part' into 'master'
feat(ble/bluedroid): move vendor hci api to ble internal code

Closes BLERP-669

See merge request espressif/esp-idf!30117
2024-04-10 19:43:36 +08:00
zhanghaipeng
20a780da8c fix(ble/bluedroid): Fixed BLE GATT max length of an attribute value 2024-04-10 19:41:46 +08:00
Zhu Li Qun
200fe57693 Merge branch 'bugfix/fix_rtc_cntl' into 'master'
fix(rtc_cntl_reg.h): fix RTC_CNTL_SLAVE_PD_M

See merge request espressif/esp-idf!30161
2024-04-10 19:35:13 +08:00
Wang Mengyang
d69767fcb8 change(bt): Follow the same implementation of esp_bt_mem_release on ESP32-C5 2024-04-10 19:13:17 +08:00
Wang Mengyang
745922ac72 change(bt): Add a test for release bt .bss and .data memory to heap
1. use nimble host, initialize and then deinitialize bt stack in the test
2. support tests for different SoC targets and multiple configuration options
2024-04-10 19:13:17 +08:00
Wang Mengyang
95a249e3f6 change(bt): Modify test_app directory layout
- Existing test app is put in a new subdirectory "basic_unit_test"
2024-04-10 19:13:17 +08:00
Wang Mengyang
1d9559cc9d change(bt): Rename linker script file names and symbol names
1. rename linker files
2. support memory release in case that ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY is enabled
3. improve the implementation of memory release
2024-04-10 19:13:17 +08:00
Wang Mengyang
0aca5ec357 fix(bt): Fix missing linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled
1. Closes https://github.com/espressif/esp-idf/issues/10427
2. add two linker script to unify linker script symbols for BT libraries
3. The memory release functions have also been simplified
2024-04-10 19:13:17 +08:00
Jiang Jiang Jian
127873b163 Merge branch 'bugfix/config_sae_compile_error' into 'master'
fix(wpa_supplicant): Compile error when CONFIG_SAE is disabled

See merge request espressif/esp-idf!30101
2024-04-10 18:56:56 +08:00
Zhang Xiao Yan
ee2fbbc7aa Merge branch 'docs/update_usb_jtag_gpio_description' into 'master'
docs: update description of USB-JTAG GPIOs

See merge request espressif/esp-idf!30159
2024-04-10 18:08:55 +08:00
Jiang Jiang Jian
9081d54aa7 Merge branch 'fix/fix_pmu_power_domain_initialize_order' into 'master'
fix(esp_hw_support): fix pmu power domain initialize order

See merge request espressif/esp-idf!30095
2024-04-10 17:23:47 +08:00
Guillaume Souchere
bd0dbbe767 test(heap): Extend task tracking test with task handle check
Add a test to make sure that the task handles returned in the
task tracking information are valid task handles.

To verify that, feed the task name returned by pcTaskGetName()
using the task handle under test to xTaskGetHandle() and make
sure the task handle returned matches the one under test.
2024-04-10 11:23:07 +02:00
Zhi Wei Jian
87cd5a91c4 Merge branch 'feature/add_bluetooth_hci_log_record' into 'master'
feat(bt/common): Add bluerooth hci layer data stream record

Closes BLERP-632

See merge request espressif/esp-idf!29703
2024-04-10 16:49:43 +08:00
zlq
91668e17be fix(rtc_cntl_reg.h): fix RTC_CNTL_SLAVE_PD_M 2024-04-10 16:25:18 +08:00
Linda
28f12230ae docs: update description of USB-JTAG GPIOs 2024-04-10 15:58:01 +08:00
xuxiao
ec872c0c81 fix(wifi): fix code review comments 2024-04-10 15:27:50 +08:00
liqigan
e1d2e0393d fix(bt/bluedroid): Fix HID Host connection bugs
1. Fix is_orig value inconsistency for HIDH open event
2. Fix the error state for repeat connection of the same device
2024-04-10 15:22:02 +08:00
Xu Si Yu
2768d33be2 Merge branch 'ci/re-enable_ot_runner' into 'master'
ci: re-enable openthread runner

See merge request espressif/esp-idf!30142
2024-04-10 14:38:35 +08:00
chenjianhua
765af1aba4 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(c23ab4c)
- Support QA test vendor HCI command and event
2024-04-10 14:24:07 +08:00
chenjianhua
10735b7ea5 feat(bt): Update bt lib for ESP32(e314148)
- Support QA test vendor HCI command and event
2024-04-10 14:23:00 +08:00
Guillaume Souchere
6351771733 fix(heap): Add block owner to allocs in heap_caps_init
Add the block owner field in the  memory allocated in
heap_caps_init() to avoid parsing error wheen using
the task tracking feature.

Closes https://github.com/espressif/esp-idf/issues/13467
2024-04-10 08:20:09 +02:00
zhiweijian
0b4695435f feat(bt/common): Add bluerooth hci layer data stream record 2024-04-10 14:17:31 +08:00
zhiweijian
379484f4db feat(ble/bluedroid): move vendor hci api to ble internal code 2024-04-10 14:17:01 +08:00
liuning
9783bddde1 feat(coex): support esp32c5 beta3 coexist 2024-04-10 14:09:40 +08:00
xuxiao
27f61966cd feat(wifi): add esp32c5 beta3 wifi support 2024-04-10 14:09:40 +08:00
Island
8ea943e258 Merge branch 'bugfix/fixed_bt_cmakelist_err_when_use_nimblehost_only' into 'master'
ble: fixed the bt cmakelist error when use nimble host only

Closes IDFCI-2123

See merge request espressif/esp-idf!30154
2024-04-10 14:08:29 +08:00
Lou Tianhao
22c66db66b draft(esp_hw_support): need to support rtcio for c5beta3 2024-04-10 11:45:15 +08:00
Lou Tianhao
3fb4909483 feat(example): support esp32c5 timer/gpio/uart wakeup 2024-04-10 11:45:04 +08:00
morris
57696a437d Merge branch 'feat/ast_grep_lint_tool' into 'master'
Use ast-grep to create customized lint rules

See merge request espressif/esp-idf!30050
2024-04-10 10:50:09 +08:00
Michael (XIAO Xufeng)
1ca9a46737 Merge branch 'bugfix/forbid_uart_suspend_auto_lightsleep' into 'master'
uart: Fixed issue that TX be blocked by auto-lightsleep

Closes IDF-5518

See merge request espressif/esp-idf!21719
2024-04-10 10:49:24 +08:00
zwl
a99d1739b6 ble: fixed the bt cmakelist error when use nimble host only 2024-04-10 10:26:59 +08:00
Roland Dobai
324dcbc080 Merge branch 'feat/fix_idf_build_spaces' into 'master'
fix(system): fix ulp examples containing spaces in path on Win

Closes IDF-9151

See merge request espressif/esp-idf!30060
2024-04-09 21:54:39 +08:00
Lou Tianhao
86221b2ed7 change(esp_hw_support): remove fast osc calibration during light sleep(need c5mp to fix) 2024-04-09 20:58:42 +08:00
Lou Tianhao
8b3b1470b5 change(esp_hw_support): support cpu retention and power off during sleep for esp32c5 beta3 2024-04-09 20:58:42 +08:00
Li Shuai
f6478e3ced change(soc): update pmu register map struct for esp32c5 beta3 2024-04-09 20:58:42 +08:00
Xu Si Yu
0d01a3ed72 ci: re-enable openthread runner 2024-04-09 20:52:05 +08:00
David Čermák
f7fceb55d3 Merge branch 'fix/newlib_timefunc_weak' into 'master'
fix(newlib): Allow for timefunc customization if not implemented

See merge request espressif/esp-idf!30059
2024-04-09 20:11:19 +08:00
Marek Fiala
f2b75d81b3 fix(system): fix idf.py build ulp examples containing spaces in path on Win 2024-04-09 14:00:34 +02:00
Bogdan Kolendovskyy
256e0e50e7 feat(mqtt): Enable build test in mqtt examples for esp32p4 2024-04-09 13:48:28 +02:00
Guillaume Souchere
dd1dde5fb9 fix(heap): Tracing of all heap_caps API
This commit fixes the missing tracing on all
heap_caps_xx_prefer and heap_caps_xx_aligned
functions.
2024-04-09 13:27:45 +02:00
morris
c4c8965513 feat(tool): use ast-grep to lint code base 2024-04-09 18:45:18 +08:00
Zhang Xiao Yan
96c81c87bf Merge branch 'docs/add_two_terms_flash_psram_config' into 'master'
docs: add two terms to api-guides/flash_psram_config

See merge request espressif/esp-idf!30100
2024-04-09 18:45:06 +08:00
Fu Hanxi
a223bb04d0 Merge branch 'ci/update_submodule_patterns' into 'master'
ci: add c5-bt-lib in submodule patterns

See merge request espressif/esp-idf!30138
2024-04-09 18:41:55 +08:00
Fu Hanxi
d60c435935 ci: add c5-bt-lib in submodule patterns
also fix the pattern that triggers the check
2024-04-09 12:37:30 +02:00
Shen Meng Jing
4050927f5f Merge branch 'docs/translate_cloud-framework' into 'master'
docs: Provide translation for cloud-framework.rst

Closes DOC-7507

See merge request espressif/esp-idf!29807
2024-04-09 18:37:09 +08:00
Shen Meng Jing
35c4b059e4 Merge branch 'docs/translate_usb_host_notes_index' into 'master'
docs: Provide translation for usb_host_notes_index.rst in api-reference

Closes DOC-7527

See merge request espressif/esp-idf!29877
2024-04-09 17:38:04 +08:00
shenmengjing
e445141b10 docs: Provide translation for cloud-framework.rst 2024-04-09 17:37:00 +08:00
David Cermak
b1ea47af4c fix(newlib): Allow for timefunc customization if not impl
Related https://github.com/espressif/esp-idf/issues/11873
2024-04-09 16:49:16 +08:00
Zhang Xiao Yan
d7de67bd36 Merge branch 'docs/update_description_uart_interrupt' into 'master'
docs: update the description of UART interrupt

See merge request espressif/esp-idf!30118
2024-04-09 16:34:55 +08:00
Tomas Rohlinek
f5d49570ee Merge branch 'feature/optimize_fatfs_on_sdmmc' into 'master'
feat(examples/storage): update perf benchmark example

Closes IDF-8420

See merge request espressif/esp-idf!27678
2024-04-09 15:02:06 +08:00
Tomas Rohlinek
0c9937570f feat(examples/storage): update perf benchmark example 2024-04-09 15:02:05 +08:00
morris
0631176812 Merge branch 'feat/codeowner_lowpower' into 'master'
change(codeowner): add power management team as the code owner for lowpower folder

See merge request espressif/esp-idf!30119
2024-04-09 14:27:04 +08:00
Erhan Kurubas
0da5dae9a6 Merge branch 'fix_coredump_build_error' into 'master'
Fix coredump build error

Closes IDFGH-12547

See merge request espressif/esp-idf!30099
2024-04-09 14:21:45 +08:00
Erhan Kurubas
483b4cd65b ci(coredump): enable custom stack tests for riscv chips 2024-04-09 13:36:30 +08:00
Erhan Kurubas
1503b5fcf2 fix(coredump): fix build error with the custom stack config
Closes https://github.com/espressif/esp-idf/issues/13551
2024-04-09 13:36:30 +08:00
C.S.M
e867b129f0 Merge branch 'cleanup/jpeg_encoder' into 'master'
change(jpeg): Clean up some mess code in jpeg encoder

See merge request espressif/esp-idf!30075
2024-04-09 13:30:55 +08:00
Island
21f5fda319 Merge branch 'bugfix/ble_mesh_heartbeat_filter_add' into 'master'
Fix(ble_mesh):fix error condition for heartbeat filter adding node address

Closes BLERP-654

See merge request espressif/esp-idf!29985
2024-04-09 12:05:21 +08:00
Cao Sen Miao
ca23d58cf3 change(jpeg): Clean up some mess code in jpeg encoder 2024-04-09 11:33:29 +08:00
morris
35ac950e10 change(codeowner): add power management team as the code owner for lowpower folder 2024-04-09 11:23:55 +08:00
Xu Si Yu
331a696d50 Merge branch 'ci/ignore_ot_runner' into 'master'
ci: ignore openthread runner temporarily

See merge request espressif/esp-idf!30113
2024-04-09 11:18:30 +08:00
morris
906ce8e0ff Merge branch 'bugfix/gptimer_alarm_config_in_sram' into 'master'
feat(gptimer): check the alarm config is not in flash

See merge request espressif/esp-idf!30098
2024-04-09 11:16:06 +08:00
Linda
8d36c6257e docs: add two terms to api-guides/flash_psram_config 2024-04-09 11:09:28 +08:00
Linda
544b655a40 docs: update the description of UART interrupt 2024-04-09 10:52:53 +08:00
Eric Wheeler
1ad06064d1 feat(fatfs): add Kconfig settings for FF_USE_STRFUNC
Legacy fatfs code being ported to ESP-IDF may use `f_gets()`, `f_puts()`,
`f_putc()`, and `f_printf()` calls, but the define `FF_USE_STRFUNC` is set to 0
without Kconfig options to enable it.

This commit retains the existing default behavior of `FF_USE_STRFUNC=0` and
adds Kconfig settings so users can configure `FF_USE_STRFUNC` and the related
`FF_PRINT_LLI`, `FF_PRINT_FLOAT`, and `FF_STRF_ENCODE` if needed.

Closes: https://github.com/espressif/esp-idf/issues/13350
Signed-off-by: Eric Wheeler <esp-idf@z.ewheeler.org>
2024-04-08 14:37:12 -07:00
Fu Hanxi
8f2aebdc20 ci: ignore openthread runner temporarily 2024-04-08 14:44:17 +02:00
Rahul Tank
60156a4006 Merge branch 'bugfix/set_correct_addr_type' into 'master'
fix(nimble): Set correct peer_addr during reattempt connection

See merge request espressif/esp-idf!30051
2024-04-08 20:32:43 +08:00
Island
e3839a31bf Merge branch 'bugfix/fix_ble_scan_assert' into 'master'
fix(bt/controller): Update bt lib for ESP32(5838b68)

Closes IDFGH-6912, BLERP-628, BLERP-400, IDFCI-2016, BLERP-629, BLERP-634, IDFGH-12506, and FCS-1421

See merge request espressif/esp-idf!29686
2024-04-08 20:12:29 +08:00
Yogesh Mantri
3a1b5689aa Merge branch 'fix/build_esp_wifi_remote' into 'master'
fix(esp_wifi_remote): Build issue for softAP

See merge request espressif/esp-idf!30000
2024-04-08 20:11:08 +08:00
Yogesh Mantri
a3abdb9176 fix(esp_wifi_remote): Build issue for softAP 2024-04-08 20:11:08 +08:00
Shreyas Sheth
e3338a3103 fix(wpa_supplicant): Compile error when CONFIG_SAE is disabled
Closes https://github.com/espressif/esp-idf/issues/13553
2024-04-08 17:29:48 +05:30
Shen Wei Long
ca71f7737e Merge branch 'bugfix/add_workaround_for_ble_rtc_hw_issue' into 'master'
fix(ble): add workaround for ble RTC not enabled issue

Closes BLERP-382 and BLERP-383

See merge request espressif/esp-idf!28085
2024-04-08 19:59:04 +08:00
Zhi Wei Jian
b9ea883781 Merge branch 'bugfix/fix_adv_not_resatrt_due_to_dis_reason' into 'master'
fix(ble/bluedroid): Fixed adv do not restart due to disconnection reason 0x3e

Closes BLERP-635

See merge request espressif/esp-idf!29733
2024-04-08 19:58:42 +08:00
Wang Meng Yang
02fe8fc671 Merge branch 'bugfix/loadprohibited_after_bluetooth_deinit' into 'master'
fix(ble/controller): Fixed LoadProhibited after bluetooth deinit

Closes BT-3672

See merge request espressif/esp-idf!30074
2024-04-08 19:15:11 +08:00
Shen Wei Long
4ec0e7bc43 Merge branch 'feature/support_ble_on_esp32c5beta3_master' into 'master'
feat(ble): Support BLE on esp32c5beta3

See merge request espressif/esp-idf!29992
2024-04-08 19:13:43 +08:00
Zhang Xiao Yan
72c492bdee Merge branch 'docs/fix_typo_freertos_idf' into 'master'
docs: fix a typo in api-reference/system/freertos_idf

See merge request espressif/esp-idf!30088
2024-04-08 18:21:56 +08:00
Wang Meng Yang
6b453b803f Merge branch 'feat/set_get_lpclk_src' into 'master'
feat(ble): Added API to get low power clock source

Closes BTQABR2023-133, BTQABR2023-163, BTQABR2023-182, BTQABR2023-179, and BTQABR2023-178

See merge request espressif/esp-idf!28997
2024-04-08 17:59:23 +08:00
Suren Gabrielyan
8d594e353e Merge branch 'fix/websocket_first_packet_2' into 'master'
[ws_transport]: fix of first fragment loosing during HTTP handshake

See merge request espressif/esp-idf!28654
2024-04-08 17:50:03 +08:00
morris
e8b6d2280d change(gptimer): use private unsafe RCC LL functions in bootloader 2024-04-08 17:48:20 +08:00
morris
1ca8de6e89 feat(gptimer): check the alarm config is not in flash
related to https://github.com/espressif/esp-idf/issues/13543
2024-04-08 17:48:20 +08:00
Fu Hanxi
8248477524 Merge branch 'feat/reduce-pytest-job-log' into 'master'
ci: reduce pytest job log

See merge request espressif/esp-idf!26790
2024-04-08 17:28:19 +08:00
morris
b2afd70b32 Merge branch 'refactor/remove_legacy_ldo_driver' into 'master'
refactor(ldo): remove legacy private ldo driver

Closes IDF-9566

See merge request espressif/esp-idf!29834
2024-04-08 17:11:49 +08:00
Li Shuai
3698d0a408 Merge branch 'bugfix/sleep_clock_domain_pd_allowed' into 'master'
fix some errors with sleep's power domain management

See merge request espressif/esp-idf!30076
2024-04-08 16:18:02 +08:00
Linda
0866b63aa9 docs: fix a typo in api-reference/system/freertos_idf 2024-04-08 16:11:39 +08:00
wuzhenghui
24244f04f2 fix(esp_hw_support): fix pmu power domain initialize order 2024-04-08 15:47:59 +08:00
Island
4726afa3e6 Merge branch 'feat/support_ble_set_rpa_timeout_by_api' into 'master'
feat(ble/bluedroid): Support set resolvable provate address timeout by api

Closes BLERP-650

See merge request espressif/esp-idf!29935
2024-04-08 15:23:20 +08:00
Island
636f900b43 Merge branch 'bugfix/fix_ble_spp_example' into 'master'
fix(ble/bluedroid): Optimized BLE SPP example for improved compatibility

Closes BLERP-653

See merge request espressif/esp-idf!29961
2024-04-08 15:23:09 +08:00
zhiweijian
adde5a3dd6 fix(ble/bluedroid): Fixed adv not restart due to disconnection reason 0x3e 2024-04-08 14:51:33 +08:00
zhanghaipeng
9c6869fbf8 fix(bt/controller): Update bt lib for ESP32(5838b68)
- Fixed BLE scan assert
 - Fixed assert(10,0) in lld_pdu
 - Add BLE scan backoff in menuconfig
2024-04-08 14:49:06 +08:00
luoxu
0e21cdd18a fix(ble_mesh): fix error condition for heartbeat filter adding node address 2024-04-08 14:25:18 +08:00
linruihao
e0dbcfae00 fix(esp_phy): update phylib for C3, S3, C2 and C6
- fixed BLE coded phy s8 tx issue in coexistence scenarios
- fixed ESP32-C3 and ESP32-S3 BLE RX issue
- optimize ESP32-C3 and ESP32-S3 light sleep current
2024-04-08 14:16:26 +08:00
Kevin (Lao Kaiyao)
432864e917 Merge branch 'ci/enable_c5_mp_ci_jobs' into 'master'
ci(esp32c5mp): enable esp32c5 build on CI

See merge request espressif/esp-idf!29895
2024-04-08 12:16:16 +08:00
baohongde
d60c0441f0 fix(ble/controller): Fixed LoadProhibited after bluetooth deinit 2024-04-08 11:49:05 +08:00
Mahavir Jain
b185b2b3c2 Merge branch 'feature/mbedtls_error_str_config' into 'master'
feat(mbedtls): add kconfig option for MBEDTLS_ERROR_C

See merge request espressif/esp-idf!30031
2024-04-08 11:10:59 +08:00
Island
f36a16bea7 Merge branch 'bugfix/fix_some_ble_bugs_240401' into 'master'
Fixed some BLE bugs 240401 on ESP32C3(5274796)

Closes BLERP-656, BLERP-657, BLERP-535, BLERP-644, BLERP-645, BLERP-658, BLERP-659, and BLERP-660

See merge request espressif/esp-idf!29998
2024-04-08 11:06:56 +08:00
Nebojša Cvetković
e96da70654 feat(esptool): merge_bin CMake target 2024-04-08 01:41:34 +01:00
zhanghaipeng
8c42f6a891 feat(ble/bluedroid): Support set resolvable provate address timeout by api 2024-04-07 20:40:29 +08:00
Xiong Wei Chao
d4234309a5 Merge branch 'bugfix/spp_crash_after_deint' into 'master'
fix(bt/bluedroid):  Fixed SPP crash due to the connection not being disconnected before esp_spp_deinit was called

Closes BT-3657

See merge request espressif/esp-idf!29999
2024-04-07 19:53:45 +08:00
C.S.M
6224fca8a0 Merge branch 'feature/support_lp_i2c_in_drv' into 'master'
feat(i2c_master): Add feature for support using lp_i2c in i2c_master driver

See merge request espressif/esp-idf!29907
2024-04-07 19:27:04 +08:00
morris
15f356bf55 Merge branch 'bugfix/unsupport_partial_receive_on_esp32' into 'master'
fix(rmt): Fix the RMT RX filter not working correctly on esp32/s2

Closes IDFGH-12500

See merge request espressif/esp-idf!29951
2024-04-07 17:50:09 +08:00
Li Shuai
75cf573637 fix(esp_hw_support): fix some errors with sleep's power domain management 2024-04-07 17:39:48 +08:00
Jiang Jiang Jian
b3a40cdfb2 Merge branch 'bugfix/2g_bitamp_error_log' into 'master'
fix(wifi): Fix print for 2g bitmap in scan path

Closes WIFIBUG-481

See merge request espressif/esp-idf!30062
2024-04-07 17:38:49 +08:00
xiongweichao
3d19c3db13 feat(ble): Added API to get low power clock source 2024-04-07 17:30:55 +08:00
Chen Yu Dong
8ff53713fa Merge branch 'ci/fix_generic_env_markers' into 'master'
ci: fix pytest generic env markers

See merge request espressif/esp-idf!30021
2024-04-07 16:44:57 +08:00
xiongweichao
cca828d03a fix(bt/bluedroid): Fix SPP crash after deinit
- The disconnection event comes up after spp disable is completed, so a null pointer is used.
2024-04-07 15:51:43 +08:00
morris
9ada0b029a fix(rmt): fix the counting clock used by rx filter on esp32/s2
is always APB, independent to the channel clock selection

Closes https://github.com/espressif/esp-idf/issues/13510
2024-04-07 15:05:28 +08:00
Ivan Grokhotkov
279b67cc5e Merge branch 'bugfix/check_callgraph_ignore_indirect_calls' into 'master'
fix(check_callgraph): rework --ignore-symbols to be more generic

See merge request espressif/esp-idf!29850
2024-04-07 15:05:08 +08:00
morris
d908150adc fix(rmt): calarify partial receive is not support on esp32
because of lack hardware support
2024-04-07 14:33:39 +08:00
Kevin (Lao Kaiyao)
71ceedc54f Merge branch 'feature/support_gpio_reservation_check_in_i2s' into 'master'
feat(i2s): support i2s gpio reservation

Closes IDF-9099

See merge request espressif/esp-idf!29994
2024-04-07 14:25:44 +08:00
Roland Dobai
54fd736bcd Merge branch 'docs/external_flash' into 'master'
docs(idf_py): Describe the option to configure esptool.py with --extra-args

Closes IDFGH-4513

See merge request espressif/esp-idf!29851
2024-04-07 13:50:05 +08:00
Wu Zheng Hui
a759bc0f52 Merge branch 'feat/set_cpu_freq_after_pm_config_changed' into 'master'
fix(esp_pm): update CPU frequency immediately after updating pm_config

Closes IDFGH-12481

See merge request espressif/esp-idf!29963
2024-04-07 13:47:20 +08:00
Shen Meng Jing
328247d89c Merge branch 'docs/translate_system.rst' into 'master'
Provide translation for system.rst in migration-guides

Closes DOC-7488

See merge request espressif/esp-idf!29793
2024-04-07 13:37:34 +08:00
shenmengjing
ce709de0f4 docs: Edit the CN Translation of usb_host_notes_index 2024-04-07 12:19:18 +08:00
Fu Hanxi
290e3c3156 ci: fix bypass target test warnings 2024-04-07 12:13:29 +08:00
laokaiyao
65b1fd33d3 ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
laokaiyao
033c101f90 ci(esp32c5mp): enable esp32c5 job on CI 2024-04-07 12:13:29 +08:00
shenmengjing
fb7823f7f3 docs: Provide translation for system.rst in migration-guides 2024-04-07 12:11:44 +08:00
Wu Zheng Hui
b570afd6e8 Merge branch 'bugfix/fix_esp332p4_bus_stuck_in_dfs' into 'master'
fix(esp_hw_support): fix esp32p4 stuck in dfs issue

Closes IDF-9628

See merge request espressif/esp-idf!30013
2024-04-07 11:43:04 +08:00
laokaiyao
e4f28fcb7f feat(i2s): support i2s gpio reservation 2024-04-07 11:33:23 +08:00
Gao Xiao Jie
f1babb9074 Merge branch 'bugfix/clic_edge_type_interrupt_config' into 'master'
fix(esp_rom): patch esprv_intc_int_set_type for esp32p4

See merge request espressif/esp-idf!28161
2024-04-07 11:09:19 +08:00
cjin
21ad1b393f bugfix(ble): workaround to avoid ble rtc not work when power up 2024-04-07 10:53:00 +08:00
Alexey Lapshin
5a40bb8746 Merge branch 'feature/update-esp32ulp-elf-to-2.38_20240113' into 'master'
feat(tools): update esp32ulp-elf version to 2.38_20240113

See merge request espressif/esp-idf!28451
2024-04-06 03:23:43 +08:00
Rahul Tank
d0853d70ce fix(nimble): Remove extra code in reattempt connection 2024-04-05 21:33:12 +05:30
Peter Dragun
1830f58920 docs(tools/coredump): add warning about core dump usage with encrypted parttion
Closes https://github.com/espressif/esp-coredump/issues/8
2024-04-05 15:41:00 +02:00
Shreyas Sheth
aee2197563 fix(wifi): Fix print for 2g bitmap in scan path 2024-04-05 17:46:36 +05:30
Tomas Sebestik
87385510ea ci(pre-commits): update conventional-precommit-linter version 2024-04-05 12:17:27 +02:00
David Čermák
999d3e0d91 Merge branch 'fix/linux_console_macos' into 'master'
fix(console): Fix linux target build on MacOS

See merge request espressif/esp-idf!30005
2024-04-05 13:00:09 +08:00
Xiao Xufeng
72a001b851 fix(soc): fixed uart_periph.h not including reg.h issue
This will cause rom/uart.h can't compile.
2024-04-05 03:01:24 +08:00
Michael (XIAO Xufeng)
f251e32f48 feat(uart_test): add test case for uart tx blocked by auto-suspend 2024-04-05 03:01:24 +08:00
LiPeng
235bb6f294 fix(uart): Fixed issue that TX be blocked by auto-lightsleep 2024-04-05 03:01:24 +08:00
Erhan Kurubas
9e80e127ac doc(jtag): update esp32p4 jtag debugging guide 2024-04-04 21:37:56 +03:00
Erhan Kurubas
9c99a385ad Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20240318' into 'master'
feat(tools): update openocd version to v0.12.0-esp32-20240318

See merge request espressif/esp-idf!29759
2024-04-05 01:53:12 +08:00
Peter Dragun
e5760b35a5 docs(tools/coredump): add information about standalone tool for advanced users
Closes https://github.com/espressif/esp-idf/issues/13433
2024-04-04 16:47:32 +02:00
Jakob Hasse
51f6bb8931 refactor(cmock): simplified mock build tests 2024-04-04 16:14:13 +02:00
Ivan Grokhotkov
6b6de47308 feat(sdspi): add LDO (power control) in sdspi tests 2024-04-04 15:03:27 +02:00
Ivan Grokhotkov
344439dfaa change(sdmmc): move SD power control logic into sdmmc_test_sd_begin
This simplifies the code a bit,
- removing SOC_SDMMC_IO_POWER_EXTERNAL ifdefs from error paths
- moving the LDO code next to where sdmmc_test_board_card_power_set
  is called for the same purpose
2024-04-04 15:02:11 +02:00
Ivan Grokhotkov
2bd1a8706d feat(sdmmc): add test config for ESP32-P4 EV board 2024-04-04 14:59:28 +02:00
Jakub Kocka
8e0a1e8039 fix(gcov): Fixed mixed path separators on Windows 2024-04-04 13:56:15 +02:00
Alexey Lapshin
4879bac36c feat(ulp): use --mcpu=esp32s3 for esp32s3 2024-04-04 16:12:39 +08:00
Alexey Lapshin
68464aad11 feat(tools): update esp32ulp-elf version to 2.38_20240113 2024-04-04 16:12:39 +08:00
David Čermák
295f908ef2 Merge branch 'fix/netif_ip_changed' into 'master'
fix(esp_netif): Post IP_CHANGE event also if mask and GW is ANY

Closes IDFGH-11836

See merge request espressif/esp-idf!29719
2024-04-04 16:01:20 +08:00
Frantisek Hrbata
75c765ff42 fix: exit gracefully when process started via asyncio is terminated
Currently when process is started through asyncio Runner and it is termited
e.g. with SIGINT(ctrl+c) a traceback is printed instead of gracefully
exit.

Exception ignored in: <function BaseSubprocessTransport.__del__ at 0x7fe980970900>
Traceback (most recent call last):
  File "/usr/lib64/python3.12/asyncio/base_subprocess.py", line 129, in __del__
    self.close()
  File "/usr/lib64/python3.12/asyncio/base_subprocess.py", line 107, in close
    proto.pipe.close()
  File "/usr/lib64/python3.12/asyncio/unix_events.py", line 568, in close
    self._close(None)
  File "/usr/lib64/python3.12/asyncio/unix_events.py", line 592, in _close
    self._loop.call_soon(self._call_connection_lost, exc)
  File "/usr/lib64/python3.12/asyncio/base_events.py", line 793, in call_soon
    self._check_closed()
  File "/usr/lib64/python3.12/asyncio/base_events.py", line 540, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

This is caused because asyncio Runner context in asyncio.run is closing the event
loop and if exception is unhandled in coroutine(run_command) the transport is not
closed before the even loop is closed and we get RuntimeError: Event loop is closed
in the transport __del__ function because it's trying to use the closed
even loop.

Let's catch asyncio.CancelledError in case the process we are trying to
read from is terminated, print message, let the asyncio finish and exit
gracefully.

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

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-04-04 09:58:01 +02:00
David Čermák
5c97c40689 Merge branch 'fix/ci_check_public_headers' into 'master'
fix(ci): Simplify public header checker

See merge request espressif/esp-idf!29446
2024-04-04 15:13:09 +08:00
Alexey Gerenkov
c9b649779e feat(tools): update openocd version to v0.12.0-esp32-20240318 2024-04-04 14:50:06 +08:00
David Cermak
4d40751158 fix(ci): Simplify and document public header checker
Documented specific checks/subchecks for header file verification
Simplified the process, now we use simple regex to remove macros from
the current header. Before, we re-ran preprocess_one_header()
function with removed `#include ...`s from the header under test, so
we were looking into the actual header (rather than included headers)
when checking for `extern "C"` keyword.
The procedure is easier to follow without this recursion (mostly because
in the second execution we might encounter compilation failers and
ignore them).
Note that this procedure is not 100% correct (we might see some false
positive and false negatives)
2024-04-04 08:45:15 +02:00
David Cermak
965ba606a7 fix(esp_netif): Post IP_CHANGE event also if mask and GW is ANY
Closes https://github.com/espressif/esp-idf/issues/12927
2024-04-04 08:12:43 +02:00
Darian
c8c3d4b28a Merge branch 'refactor/usb_new_phy_hal_api' into 'master'
refactor(hal/usb): Update USB WRAP/USJ P4 LL, add new USB PHY HAL API

See merge request espressif/esp-idf!29853
2024-04-04 14:09:03 +08:00
Mahavir Jain
78ff15602e docs: add note about newly added mbedtls config to reduce app size footprint 2024-04-04 09:23:05 +05:30
Mahavir Jain
64fd14e787 feat(mbedtls): add kconfig option for MBEDTLS_ERROR_C
Disabling this config can reduce footprint for the cases where
mbedtls_strerror() is used and hence the debug strings are getting
pulled into the application image.
2024-04-04 09:20:28 +05:30
Erhan Kurubas
890a385a0a feat(sysview): enable esp32p4 examples 2024-04-03 23:22:31 +03:00
Alexey Lapshin
bcd753994b Merge branch 'feature/introduce-esp_rom_libc_stubs_h' into 'master'
feat(esp_rom): add esp_rom_libc_stubs.h

See merge request espressif/esp-idf!29769
2024-04-04 03:18:15 +08:00
Darian Leung
778c2e6863 refactor(hal/usb): Add new USB PHY related HAL API
This commit adds/updates the USB PHY related HAL APIs. The following changes
are made:

- Updated 'usb_wrap_hal.h' API
- Added 'usb_serial_jtag_hal.h' API
2024-04-04 02:47:00 +08:00
Darian Leung
023eae4f0b feat(hal/usb): Update USB WRAP and USJ LL, add missing ESP32-P4 LL
This commit updates updates the LLs of USB WRAP and USJ as follows:

- Added missing 'usb_wrap_ll.h' and 'usb_serial_jtag_ll.h' for the ESP32-P4
- Added LL cap macros to distinguish feature differences between the LLs of
  different targets:
    - '..._LL_EXT_PHY_SUPPORTED' indicates whether the USB WRAP/USJ supports
      routing to an external FSLS PHY.
    - '..._LL_SWAP_PHY_SUPPORTED' indicates whether the USB WRAP/USJ supports
      swapping between multiple internal FSLS PHYs.
- Tidied up some RCC LL functions and their callers.
- Added 'usb_wrap_types.h' and 'usb_serial_jtag_types.h' to provide types used
  in LLs.
- Fixed some spelling/naming issues as part of code-spell pre-commit
2024-04-04 02:47:00 +08:00
Darian Leung
84ba2ef2e8 feat(soc/usb): Add USB UTMI PHY struct and LL for the ESP32-P4 2024-04-04 01:47:35 +08:00
Roland Dobai
ffbcbccf61 docs(readme): Update the chip support matrix in the README 2024-04-03 17:31:20 +02:00
Alexey Lapshin
9ff7ad2173 feat(esp_rom): add esp_rom_libc_stubs.h 2024-04-03 18:34:44 +04:00
Suren Gabrielyan
2267d4b6b5 fix(ws_transport): fix first fragment losting during websocket connection 2024-04-03 17:57:37 +04:00
Andy Lin
4f6deb9f61 fix(freertos): Fix broken portable macro portTRY_ENTER_CRITICAL_SAFE()
This commit fixes a bug where the portTRY_ENTER_CRITICAL_SAFE() for the
Xtensa and RISC-V FreeRTOS ports were broken as it did not correctly use
the timeout parameter.

Merges: https://github.com/espressif/esp-idf/pull/13022
2024-04-03 14:35:31 +02:00
wuzhenghui
2b4a2da52d fix(esp_hw_support): fix esp332p4 stuck in dfs issue 2024-04-03 19:47:09 +08:00
Konstantin Kondrashov
f909dddde7 Merge branch 'feature/mac_esp32p4_support' into 'master'
feat(esp_hw_support): Adds MAC address support for esp32p4

Closes IDF-8949

See merge request espressif/esp-idf!28704
2024-04-03 19:01:29 +08:00
Chen Yudong
7d13f8210f ci: fix pytest generic env markers 2024-04-03 18:10:43 +08:00
chenjianhua
ae95ad5958 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(5274796)
- Fixed extended uncoded and coded scan scheduling
- Add config for channel assessment and ping procedure
- Clear random address for extended advertising
- Add periodic advertising list check
- Fixed periodic advertising data setting with zero length
2024-04-03 17:56:21 +08:00
Rahul Tank
23bae90070 Merge branch 'contrib/github_pr_11497' into 'master'
Nimble: Added blecsc (Cycling Speed and Cadence) profile support for nimble examples.

Closes IDFGH-10233

See merge request espressif/esp-idf!26631
2024-04-03 17:12:34 +08:00
Ivan Grokhotkov
dd35ded06a Merge branch 'maint/supported_targets_update' into 'master'
readme, tools: supported targets update

See merge request espressif/esp-idf!29425
2024-04-03 16:58:00 +08:00
Armando (Dou Yiwen)
fd11a0e85a Merge branch 'change/remove_no_longer_public_spi_reg' into 'master'
spi: remove no longer public spi reg

Closes DOC-7416

See merge request espressif/esp-idf!30010
2024-04-03 16:57:31 +08:00
Konstantin Kondrashov
dc4bf7d3e3 Merge branch 'bugfix/esp_timer_improve_tests' into 'master'
fix(esp_timer): Fix tests when esp_timer is running on CPU1

See merge request espressif/esp-idf!29901
2024-04-03 15:42:46 +08:00
Ivan Grokhotkov
9e279a3c07 change(ci): temporarily skip failures in macOS tests 2024-04-03 09:21:19 +02:00
Armando
2c81664fa3 change(spi): remove no longer public spi reg 2024-04-03 13:37:09 +08:00
ESPAbhinav
f8b2ab7955 feat(nimble): Added blecsc profile support for nimble examples 2024-04-03 10:50:02 +05:30
Island
28f68a0376 Merge branch 'feat/adjust_ble_log_init_order' into 'master'
Feat/adjust ble log init order

Closes BLERP-649, BLERP-651, BLERP-631, BLERP-652, and BLERP-655

See merge request espressif/esp-idf!29931
2024-04-03 12:39:49 +08:00
Mahavir Jain
2bfef64fc6 Merge branch 'fix/pmp_idcache_prot_c6_h2' into 'master'
fix(esp_hw_support): Fix the flash I/DROM region PMP protection

See merge request espressif/esp-idf!29933
2024-04-03 12:09:28 +08:00
Cao Sen Miao
d16e890993 docs(i2c_master): Add docs for lp_i2c support in i2c master driver 2024-04-03 11:39:10 +08:00
Cao Sen Miao
1fe7cc8d13 test(i2c_master): Add test for lp_i2c support in i2c master driver 2024-04-03 11:39:07 +08:00
Cao Sen Miao
0985bfbe27 feat(i2c_master): Add lp_i2c support in i2c master driver 2024-04-03 11:39:04 +08:00
Shen Weilong
f09dcff91e feat(ble): Support BLE on esp32c5beta3 2024-04-03 10:58:06 +08:00
shenmengjing
b8808f4211 docs: Edit the CN Translation and EN Source of usb-host 2024-04-03 10:45:06 +08:00
gaoxiaojie
aa3d3835ab fix(esp_rom): patch esprv_intc_int_set_type for esp32p4 2024-04-03 10:09:47 +08:00
Konstantin Kondrashov
d902a023ba fix(esp_timer): Fix tests when esp_timer is running on CPU1 2024-04-02 21:00:42 +03:00
Gao Xu
db3e43908a Merge branch 'feat/add_esp_dma_capable_malloc' into 'master'
dma_utils: add esp dma capable malloc function

Closes IDF-9638

See merge request espressif/esp-idf!29869
2024-04-02 21:31:45 +08:00
David Cermak
bd8b1eca9e fix(console): Fix linux target build on MacOS
We're correctly checking for the CONFIG_IDF_TARGET_LINUX macro, but before including sdkconfig.h
2024-04-02 15:14:19 +02:00
Laukik Hase
48503dd39f fix(esp_hw_support): Fix the flash I/DROM region PMP protection 2024-04-02 18:41:07 +05:30
Roman Leonov
fc326374e0 Merge branch 'refactor/usb_host_add_hcd_mps_request' into 'master'
refactor(hcd_dwc): Added mps request from hcd_dwc

See merge request espressif/esp-idf!29904
2024-04-02 20:49:29 +08:00
Alexey Lapshin
11eeca6c98 Merge branch 'fix/gcov_fault' into 'master'
fix(gcov): fix exceptions on gcov task_tick_hook

Closes IDFGH-12501

See merge request espressif/esp-idf!29962
2024-04-02 20:24:07 +08:00
Jiang Jiang Jian
ce6363095e Merge branch 'bugfix/wpa3_ap_ci_crash' into 'master'
fix(esp_wifi): Fix crash when assoc req comes before confirm is processed

Closes IDFCI-2090

See merge request espressif/esp-idf!29805
2024-04-02 20:05:06 +08:00
Aditya Patwardhan
0dcd692d59 Merge branch 'fix/fix_esp32p4_flash_encryption' into 'master'
fix(bootloader_support): Fix default key usage for flash encryption

See merge request espressif/esp-idf!29968
2024-04-02 19:57:38 +08:00
Aditya Patwardhan
727d99e2a7 Merge branch 'docs/update_esp32p4_security_docs' into 'master'
docs(security): Update security-related docs for ESP32-P4

See merge request espressif/esp-idf!29970
2024-04-02 19:50:44 +08:00
Wu Zheng Hui
601a086b16 Merge branch 'fix/add_phy_private_dslp_callback' into 'master'
fix(esp_hw_support): move deepsleep phy callback before PLL disable

See merge request espressif/esp-idf!29952
2024-04-02 19:37:39 +08:00
Jiang Jiang Jian
597168303d Merge branch 'bugfix/aud-5252' into 'master'
fix the issue of modem hang caused by incorrect configuration of power and isolate signals

Closes AUD-5252

See merge request espressif/esp-idf!29960
2024-04-02 19:30:32 +08:00
Shreyas Sheth
73ec4a74fd fix(esp_wifi): Fix crash when assoc req comes before confirm is processed 2024-04-02 14:28:59 +05:30
Zhang Wen Xu
d41172853b Merge branch 'fix/phy_init_variables_in_header_file' into 'master'
fix(esp_phy): header file produces non-zero object

See merge request espressif/esp-idf!29930
2024-04-02 16:50:54 +08:00
wuzhenghui
cbc66bd365 fix(esp_hw_support): move deepsleep phy callback before PLL disable 2024-04-02 16:38:01 +08:00
Roman Leonov
dbad0df765 refactor(hcd_dwc): Added mps request from hcd_dwc 2024-04-02 10:23:52 +02:00
Jiang Jiang Jian
8ae1d9907f Merge branch 'optimize/bt_make_alarm_num_configurable' into 'master'
optimize(ble_mesh): Make alarm number configurable

Closes BLERP-577

See merge request espressif/esp-idf!28965
2024-04-02 16:18:36 +08:00
gaoxu
c3303c0096 fix(eth): fix defaultip101 tests error on ci 2024-04-02 16:17:10 +08:00
Jiang Jiang Jian
1bcd5bca14 Merge branch 'feature/disable_pmk_caching' into 'master'
feat(esp_wifi): Provide API to disable PMK caching

See merge request espressif/esp-idf!29902
2024-04-02 16:15:34 +08:00
igor udot (horw)
b887f476da ci: reduce pytest job stdout log 2024-04-02 16:14:02 +08:00
Wu Zheng Hui
859d9a89e1 Merge branch 'bugfix/fix_adc_clock_missing_in_startup_calibration' into 'master'
fix(esp_adc): fix adc clock missing in startup calibration

Closes PM-93

See merge request espressif/esp-idf!29993
2024-04-02 15:29:12 +08:00
Aditya Patwardhan
51a91259d7 fix(bootloader_support): Fix default key usage for flash encryption 2024-04-02 12:27:53 +05:30
harshal.patil
e383616503 fix(mbedtls/aes): Fix incorrect dma alignment size 2024-04-02 14:30:14 +08:00
gaoxu
8e9b1501c0 fix(dma): fix s3 dma reg spell error 2024-04-02 14:30:14 +08:00
gaoxu
40f38bea6f feat(dma): refactor dma calloc function 2024-04-02 14:30:14 +08:00
Armando
78f96c4466 change(eth): use new esp_dma_calloc 2024-04-02 14:30:14 +08:00
Armando
f0518b3c16 feat(dma): advanced dma malloc helper 2024-04-02 14:30:14 +08:00
Rahul Tank
9c846916fa Merge branch 'bugfix/revamp_reconn_scheme' into 'master'
fix(nimble): Cleanup code in connection reconnection implementation

Closes BLERP-633

See merge request espressif/esp-idf!29941
2024-04-02 14:23:58 +08:00
Zhang Wen Xu
7963bcba13 Merge branch 'support/esp32c5beta3_ieee802154' into 'master'
feat(802154): add ieee802154 support for C5beta3

See merge request espressif/esp-idf!29948
2024-04-02 14:14:16 +08:00
Wan Lei
7116671f4d Merge branch 'feat/c6lite_c61_final_helloworld' into 'master'
feat(esp32c61): birth and say hello world 🎄 (stage 8/8)

Closes IDF-9290

See merge request espressif/esp-idf!29751
2024-04-02 14:11:36 +08:00
Jiang Jiang Jian
4989cc0d9f Merge branch 'bugfix/directed_bssid_probe_req' into 'master'
Send unicast probe requests if bssid is known during scan

Closes WIFIBUG-458

See merge request espressif/esp-idf!29619
2024-04-02 14:09:12 +08:00
Shu Chen
15474b4f97 Merge branch 'fix/openthread_mtd_joiner_config' into 'master'
fix(openthread) fix openthread mtd joiner config

Closes IDFGH-12457

See merge request espressif/esp-idf!29959
2024-04-02 14:08:41 +08:00
Island
aa3c7e1030 Merge branch 'bugfix/IDFGH-11775' into 'master'
bugfix(ble_mesh): fix NRF mesh(android) provisioning node failed

Closes BLERP-636

See merge request espressif/esp-idf!29737
2024-04-02 14:03:35 +08:00
Kapil Gupta
00ab1ef500 feat(esp_wifi): Provide API to disable PMK caching 2024-04-02 10:21:26 +05:30
Kevin (Lao Kaiyao)
61cf08fcc8 Merge branch 'feature/update_rom_for_esp32c5mp' into 'master'
change(rom): update the frozen rom for esp32c5mp

See merge request espressif/esp-idf!29971
2024-04-02 12:18:50 +08:00
Dávid Fehér
70329ed770 fix(openthread): Fix openthread mtd joiner config
* Fix openthread-core-esp32x-mtd-config.h: OPENTHREAD_CONFIG_JOINER_ENABLE macro value

* On ESP32 MTD devices Joiner role functionality was not working even if 'Joiner enable' was checked in SDK config because 0 was defined in OPENTHREAD_CONFIG_JOINER_ENABLE macro. Value modified to 1 to resolve the issue. Tested and working on ESP32 H2 MTD device.

* Closes: https://github.com/espressif/esp-idf/pull/13473
2024-04-02 12:17:57 +08:00
wuzhenghui
11e7091967 fix(esp_adc): fix adc clock missing in startup calibration 2024-04-02 12:14:44 +08:00
zwx
6d2f9c2991 fix(esp_phy): header file produces non-zero object 2024-04-02 12:14:17 +08:00
Shen Meng Jing
4494fc9829 Merge branch 'doc/translate_visualgdb.rst' into 'master'
Doc/translate visualgdb.rst

Closes DOC-7490

See merge request espressif/esp-idf!29801
2024-04-02 11:51:20 +08:00
Kapil Gupta
464fd689a1 fix(esp_wifi): Send unicast probe requests if bssid is known during scan 2024-04-02 11:23:32 +08:00
Shen Meng Jing
023c17c49a Merge branch 'docs/translate_clion.rst' into 'master'
docs: Provide translation for clion.rst

Closes DOC-7489

See merge request espressif/esp-idf!29794
2024-04-02 11:21:16 +08:00
Armando (Dou Yiwen)
fa369d0f3b Merge branch 'change/add_build_test_rules_to_flash_mmap' into 'master'
mmap: added built-test-rules.yml contents to flash_mmap test_app

See merge request espressif/esp-idf!29975
2024-04-02 11:13:29 +08:00
daiziyan
fbebfcb119 docs: update the CN version in the build system document 2024-04-02 11:04:44 +08:00
Marius Vikhammer
222a010f89 Merge branch 'bugfix/ulp_lp_mem_size_p4' into 'master'
fix(lp_core): fix kconfig not allowing using all of LP mem for lp core

Closes IDF-9627

See merge request espressif/esp-idf!29900
2024-04-02 10:51:26 +08:00
wanlei
20c18ac52b feat(esp32c61): final introduce helloworld support 2024-04-02 10:50:52 +08:00
Dai Zi Yan
2545edc255 Merge branch 'docs/sync_up_trans' into 'master'
docs: sync up translation for several documents

Closes DOC-7456 and DOC-7534

See merge request espressif/esp-idf!29908
2024-04-02 10:46:49 +08:00
luoxu
8160ddee46 fix(ble_mesh): fix NRF mesh(android) provisioning node failed
Closes: https://github.com/espressif/esp-idf/issues/12871
2024-04-02 10:41:57 +08:00
shenmengjing
63df2749c6 docs: Provide translation for visualgdb.rst 2024-04-02 10:31:15 +08:00
shenmengjing
6e3eab1b7c docs: Provide translation for clion.rst 2024-04-02 10:11:14 +08:00
Armando
1dfc443b5b change(mmap): added built-test-rules.yml contents to flash_mmap test_app 2024-04-02 09:48:07 +08:00
Jiang Jiang Jian
8fcf5270a2 Merge branch 'fix/exception_vectors' into 'master'
fix: mark .exception_vectors* as executable and allocatable

Closes IDF-9554

See merge request espressif/esp-idf!29782
2024-04-02 00:08:07 +08:00
Jiang Jiang Jian
d885808b9f Merge branch 'feature/advanced_roaming_support' into 'master'
Add advanced Wi-Fi roaming support through Wi-Fi app

Closes WIFI-6169, WIFI-4212, WIFIBUG-314, and IDFGH-10713

See merge request espressif/esp-idf!26126
2024-04-02 00:02:41 +08:00
C.S.M
4921c63b70 Merge branch 'feature/jpeg_encoder' into 'master'
feat(jpge): Add basic support for jpeg encoder 🖼️

See merge request espressif/esp-idf!29411
2024-04-01 23:24:21 +08:00
Jiang Jiang Jian
b18a039263 Merge branch 'doc/update_espnow_example' into 'master'
docs(wifi): change the magic varible from int to uint32_t on the receiving side

Closes IDFGH-9560 and IDFGH-9366

See merge request espressif/esp-idf!29845
2024-04-01 23:13:13 +08:00
Jiang Jiang Jian
8da9eb5168 Merge branch 'ci/reenable_bootloader_sections_test_esp32c2' into 'master'
ci(system): re-enable bootloader_sections test for ESP32-C2

See merge request espressif/esp-idf!29852
2024-04-01 23:13:00 +08:00
Jiang Jiang Jian
7fcac31dce Merge branch 'bugfix/addd_dport_protection_for_some_registers' into 'master'
fix(bt/controller): Use embedded assembly to get access to DPORT registers

See merge request espressif/esp-idf!29932
2024-04-01 23:09:51 +08:00
Jiang Jiang Jian
14de0d5e73 Merge branch 'ci/fix_c_file_api_test' into 'master'
test(storage): fixed failing c-file api test

Closes IDFCI-2115

See merge request espressif/esp-idf!29958
2024-04-01 23:09:26 +08:00
Kapil Gupta
431a2a7d1c fix(esp_wifi): Address review comments 2024-04-01 23:00:01 +08:00
jgujarathi
c5d8acc40a feat(esp_wifi): Showcase roaming_app capabalities through dedicated example
- Shows use of roaming app through dedicated example : roaming_app_example.
- Changes the location of the earlier roaming example by moving it into the roaming_11kvr.
- Please note that this feature is still experimental and still being optimised
and tuned.
2024-04-01 23:00:01 +08:00
jgujarathi
0d7c909e87 feat(esp_wifi): Showcases the new scan by bitmap config
- Showcases the ability to scan by the bitmap config newly added
to the wifi_scan_config_t by implementing it in the scan config
2024-04-01 23:00:01 +08:00
jgujarathi
9a88dab748 feat(esp_wifi): Add support for advanced roaming as a wifi app
- Adds support for advanced roaming as a wifi app.
2024-04-01 23:00:01 +08:00
jgujarathi
71e6c10f7c fix(wpa_supplicant): Update supplicant last scan time when application scanning
- Any scanning currently updates the bss table held by supplicant anyway,
  but the time record used to maintain the recency of the last scan is
  only updated by supplicant issued scans. Updating the last scan time
  for application trigerred scanning will prevent the needless scanning
  by supplicant if there has been an application trigerred scan in
  the time diff threshold(currently 10s).
2024-04-01 23:00:01 +08:00
jgujarathi
b23e29d5ae fix(wpa_supplicant): Add current bss channel as hint to scanning
- Add current bss channel as hint to scanning during supplicant connect
  making the process faster.
2024-04-01 23:00:01 +08:00
jgujarathi
560c951e33 fix(wpa_supplicant): Add default durations to supplicant issued scans
- Add default durations to supplicant issued scans based on results from
  initial experiments where probe response times were recorded in a
  significantly noisy environment. It was noticed  that  within 70ms
  we receive over 80% of the responses 90% of the time
2024-04-01 23:00:01 +08:00
jgujarathi
84d7ab5c0c fix(wpa_supplicant): Clear bssid flag and channel in supplicant disconnect handler
- Clear the bssid set flag and channel in supplicant disconnect handler as this
  can cause the station to recursively connect to the wrong AP in case
  roaming through BTM mechanisms fails.
- Fix issue with incorrect blocking time calculation when blocking scan
  issued for a single channel.
2024-04-01 23:00:01 +08:00
jgujarathi
ff622e4428 fix(wpa_supplicant): Apply the Neighbor report event in roaming example
- Apply the neighbor report event structure in the roaming example.
- This replaces the existing callback structure that existed earlier.
2024-04-01 23:00:01 +08:00
jgujarathi
c6134a23dd fix(wpa_supplicant): Replace Neighbor Report callback with an event
- Deprecate the existing esp_rrm_send_neighbor_rep_request() API
- Adds a new API to send neighbor report requests esp_rrm_send_neighbor_report_request().
  This replaces the older API's callback procedure with a new Wi-Fi
  event that is posted when the neighbor report is received.
  This moves the execution of the callback from supplicant
  context to freertos context.
2024-04-01 23:00:01 +08:00
jgujarathi
743772fb76 fix(btm): Improve BTM scanning effiency by using channel bitmap
- Improve the BTM scanning efficiency by using channel bitmap feature in
  scanning. This sets only the channels we need to scan instead of all.
2024-04-01 23:00:01 +08:00
jgujarathi
c3f1c3fcde feat(esp_wifi): Add channel bitmaps to the scan config
- Add the ability to specify the specific channels and the
  in wifi_config_t.
- Adds warning that discourages setting bssid and channel in sta_config
  when btm/mbo is enabled and supported by the network.
- Fix issues with reporting authmodes of FT supporting APs during scanning.
- Additional typo fixes in the public header files
2024-04-01 23:00:01 +08:00
Aditya Patwardhan
fb28b42c94 Merge branch 'feature/support_ecdsa_key_using_key_manager' into 'master'
Feature/support ecdsa key using key manager

Closes IDF-7992

See merge request espressif/esp-idf!28908
2024-04-01 22:10:34 +08:00
laokaiyao
0cb1057915 change(rom): update the frozen rom for esp32c5mp 2024-04-01 20:53:49 +08:00
Aditya Patwardhan
051048d261 Merge branch 'feature/p4_rng' into 'master'
feat(esp_hw_support): brought up RNG on ESP32-P4

Closes IDF-6522

See merge request espressif/esp-idf!29614
2024-04-01 20:24:36 +08:00
harshal.patil
1975c1c69e docs(security): Update security-related docs for ESP32-P4 2024-04-01 17:34:28 +05:30
Cao Sen Miao
69835ebaac docs(jpeg_encoder): Add the documents support for jpeg encoder 2024-04-01 20:03:41 +08:00
Cao Sen Miao
e8e7166a4c feat(jpeg_encoder): Add the example support for jpeg encoder 2024-04-01 20:03:38 +08:00
Cao Sen Miao
58acf93da2 test(jpeg_encoder): Add the test support for jpeg encoder 2024-04-01 20:03:35 +08:00
Cao Sen Miao
22ec65adef feat(jpeg_encoder): Add the basic support for jpeg encoder 2024-04-01 20:03:31 +08:00
Jiang Jiang Jian
b02a2eaf1a Merge branch 'bugfix/fix_call_to_header_event_callback' into 'master'
fix: Fix call to event_handler on on_header state of HTTP Client

Closes IDFGH-12486

See merge request espressif/esp-idf!29953
2024-04-01 19:48:47 +08:00
daiziyan
178f80a170 docs: update a typo in the build system document 2024-04-01 19:29:05 +08:00
wuzhenghui
1a676d1e77 fix(esp_pm): update CPU frequency immediately after updating pm_config
Closes https://github.com/espressif/esp-idf/issues/13492
2024-04-01 19:15:28 +08:00
Jin Cheng
98230244df fix(bt/controller): Use embedded assembly to get access to DPORT registers 2024-04-01 18:53:47 +08:00
Rahul Tank
7e34300a1b fix(nimble): Change reconnection scheme 2024-04-01 16:05:41 +05:30
Jiang Jiang Jian
d954057ed8 Merge branch 'feat/coex_schm_ble' into 'master'
feat(ble/controller): Add coexist schm for BLE

See merge request espressif/esp-idf!29740
2024-04-01 18:26:52 +08:00
Wang Meng Yang
ef30e40151 Merge branch 'fix/rd_stored_link_key_error' into 'master'
fix(bt/controller): fix some issues in bt controller

Closes CBI-722, CBI-709, and BTQABR2023-210

See merge request espressif/esp-idf!29454
2024-04-01 18:17:37 +08:00
Jiang Jiang Jian
7347042d9a Merge branch 'feat/multi_antenna_support' into 'master'
feat(phy): refactor multiple antenna, support for WIFI/BT/BLE

Closes FCS-1279

See merge request espressif/esp-idf!26534
2024-04-01 17:36:11 +08:00
Jiang Jiang Jian
fde8c8d0f8 Merge branch 'feat/sntp_init_delay' into 'master'
feat(lwip): SNTP: Add support for adjusting startup delay

Closes IDF-8790

See merge request espressif/esp-idf!29688
2024-04-01 17:16:28 +08:00
daiziyan
5fb96ec687 docs: sync up translation for several documents 2024-04-01 17:13:47 +08:00
Dai Zi Yan
d125ce0e44 Merge branch 'docs/update_mr_template' into 'master'
docs: update the mr template for adding translation related labels

Closes DOC-6831

See merge request espressif/esp-idf!29636
2024-04-01 17:09:44 +08:00
Aditya Patwardhan
d0a23799e8 feat(mbedtls): Added support for using ECDSA key through key manager 2024-04-01 14:37:12 +05:30
Alexey Lapshin
26b728a5f8 fix(gcov): fix exceptions on gcov task_tick_hook
Closes https://github.com/espressif/esp-idf/issues/13511
2024-04-01 13:06:21 +04:00
Mahavir Jain
999f3f69c0 Merge branch 'esp32p4/deterministic_ecdsa_support' into 'master'
Add deterministic ECDSA support

Closes IDF-8507

See merge request espressif/esp-idf!29010
2024-04-01 16:45:14 +08:00
zhanghaipeng
b0a84f76a2 fix(ble/bluedroid): Optimized BLE SPP example for improved compatibility 2024-04-01 16:31:26 +08:00
daiziyan
87c29178da docs: update the mr template for adding translation related labels 2024-04-01 16:30:28 +08:00
Harshit Malpani
2814b5a330 Revert "fix(esp_http_client): Call event_handler after header value is received"
This reverts commit 04ac8e43db.

When `http_on_header_event` is called, event_handler is invoked and
then the current header key and header value are freed. In the previous
approach, `http_on_header_event` was called from `http_on_header_value`,
but it lead to an issue where if the value is received in multiple chunks,
then the current header key and value were freed and thus header was not
processed correctly which might result in connection issues. Calling
`http_on_heaher_event` from `http_on_header_field` ensures that the current
header field and value are processed properly

Fixes https://github.com/espressif/esp-idf/issues/13497
Fixes https://github.com/espressif/esp-idf/issues/13097
2024-04-01 13:41:47 +05:30
Armando (Dou Yiwen)
99efa9504c Merge branch 'change/merge_isp_env_into_isp_af' into 'master'
(isp): merge isp env into isp af

See merge request espressif/esp-idf!29946
2024-04-01 16:05:44 +08:00
cjin
2f60e19696 feat(ble): add cca related config in c6, h2 and c2 2024-04-01 15:57:06 +08:00
cjin
edb3f70562 change(ble): support ble light sleep using ext 32k xtal on C2 2024-04-01 15:57:06 +08:00
zwl
5e443311da ble: update esp32c2 lib to 7a428d35 2024-04-01 15:57:06 +08:00
zwl
f2da3c12e9 ble: update esp32h2 and esp32c6 lib to 39c6e050 2024-04-01 15:57:06 +08:00
zhaoweiliang
29eb1400ae ble : adjust the log initialization sequence of ESP32C6 and ESP32H2 2024-04-01 15:57:06 +08:00
Jiang Jiang Jian
0301125fbd Merge branch 'bugfix/typo_bootloader_kconfig' into 'master'
fix(bootloader): fix spelling mistakes  in /components/bootloader/Kconfig.projbuild

See merge request espressif/esp-idf!29899
2024-04-01 15:36:10 +08:00
Li Shuai
608713a72a fix(esp_hw_support): fixed modem hang caused by incorrect configuration of power and isolate signals 2024-04-01 15:21:07 +08:00
Marius Vikhammer
b8a254f33f test(storage): fixed failing c-file api test 2024-04-01 15:14:22 +08:00
alanmaxwell
ffd0c8ecef fix(soc): update gpio_sig_map.h for esp32c5 beta3 2024-04-01 15:07:38 +08:00
alanmaxwell
565660db87 docs: disable build phy.rst for esp32p4 2024-04-01 14:59:57 +08:00
alanmaxwell
21693c3c7c fix(ci): disable phy antenna example build for h2 and fix typo and format 2024-04-01 14:59:57 +08:00
alanmaxwell
1d763691ea docs(phy): rewrite multi antenna docs 2024-04-01 14:59:57 +08:00
alanmaxwell
2b8b3f49bf feat(phy): support async update phy antenna config 2024-04-01 14:59:57 +08:00
alanmaxwell
408a4675ee fix(wifi): fix multi antenna issue for C6 2024-04-01 14:59:55 +08:00
alanmaxwell
85bf5f8aba change(phy): change wifi multi ant api to phy multi ant 2024-04-01 14:59:27 +08:00
alanmaxwell
583c0d71ad change(phy): move antenna example from wifi to phy 2024-04-01 14:59:27 +08:00
alanmaxwell
a6cc70e6e7 docs: seperate multiple antennas from Wi-Fi to PHY 2024-04-01 14:59:27 +08:00
alanmaxwell
0f73cf50fb refactor(wifi): Add deprecated attribute for WiFi multiple antennas api 2024-04-01 14:59:27 +08:00
alanmaxwell
92e76a3434 refactor(phy): refactor multiple antenna, support for WIFI/BT/BLE/15.4 2024-04-01 14:59:27 +08:00
zwx
81b6bae194 feat(802154): add ieee802154 support for C5beta3 2024-04-01 14:50:07 +08:00
Aditya Patwardhan
f231b262b9 Merge branch 'fix/key_manager_hw_support' into 'master'
Fix/key manager hw support

See merge request espressif/esp-idf!29508
2024-04-01 14:34:42 +08:00
Jiang Jiang Jian
3f486c4477 Merge branch 'feature/support_ext_conn' into 'master'
Feature/support ext conn

Closes IDF-7865

See merge request espressif/esp-idf!29884
2024-04-01 13:20:33 +08:00
Armando
e62e8844c7 doc(isp): updated isp evn detector doc 2024-04-01 12:00:54 +08:00
Armando
b40cf7508c test(isp): remove isp env detector allocation test 2024-04-01 12:00:36 +08:00
Armando
ad3087fa20 change(isp): merge isp af env into isp af controller 2024-04-01 11:59:43 +08:00
wangjialiang
6df1997db5 feat(ble_mesh): Make alarm number configurable 2024-04-01 11:57:07 +08:00
xiehang
f3c5047638 feat(extconn): Supports external WiFi connections for ESP32p4 and other espressf chips 2024-04-01 11:44:52 +08:00
gongyantao
9e2ffff9b6 fix(bt): fix some issues in bt controller
1: fixed the incorrect timeing in reporting HCI_Link_Key_Type_Changed.
2: fixed the incorrect iv value during resuming encryption.
3: fixed the incorrect return with hci command rd_stored_link_key.
2024-04-01 11:40:10 +08:00
xiehang
9d7bd6a8dd change(esp_phy): Add SOC_PHY_SUPPORTED to control phy mode 2024-04-01 11:36:55 +08:00
Chen Jian Xing
d5c6e53e8a Merge branch 'bugfix/fix_coex_ld_issue' into 'master'
fix(wifi): fix coex ld issue

See merge request espressif/esp-idf!29914
2024-04-01 11:30:38 +08:00
Armando (Dou Yiwen)
9e8f5364eb Merge branch 'feat/isp_af_driver' into 'master'
isp: added isp driver framework and isp af driver

See merge request espressif/esp-idf!27937
2024-04-01 10:44:48 +08:00
Xiong Wei Chao
7915aee213 Merge branch 'bugfix/sdp_remove_record_no_evt' into 'master'
fix(bt/bluedroid): Fixed the crash caused by using illegal pointers during SDP deinit

Closes BTQABR2023-201

See merge request espressif/esp-idf!29288
2024-04-01 10:17:31 +08:00
Jakob Hasse
9c108f2da6 feat(esp_hw_support): brought up RNG on ESP32-P4 2024-04-01 07:09:11 +05:30
Armando
da1550d074 change(codespell): fix some wrong spell 2024-04-01 09:30:07 +08:00
Armando
c50e42b7d5 doc(isp): added isp programming guide 2024-04-01 09:30:07 +08:00
Armando
a26ab5118c test(isp): added isp csi share test 2024-04-01 09:30:07 +08:00
Armando
ff9b88d827 feat(isp_af): added af scheme driver and stepping approx scheme driver 2024-04-01 09:30:07 +08:00
Armando
bf1275d700 feat(isp): added isp driver framework and isp af driver 2024-04-01 09:30:07 +08:00
Jiang Jiang Jian
0c68b9b06c Merge branch 'feat/sleep_retention_depends_power_state_management' into 'master'
sleep retention multiple modules initialization and dependency management

Closes WIFI-5252 and IDFGH-11302

See merge request espressif/esp-idf!28941
2024-04-01 09:28:42 +08:00
Jakob Hasse
f5ee19f01e fix(soc): corrected register base definition in rtcadc_reg.h 2024-04-01 06:52:29 +05:30
wuzhenghui
d9682ea8cb fix(hal): use force_inline for lp_sys ll header 2024-03-30 11:51:52 +08:00
Li Shuai
a054f89021 fix: modify some typos to ensure CI pipeline run pass 2024-03-30 11:51:52 +08:00
Li Shuai
7a4d92a7ef fix(example/bluetooth): fix app partition is to small for binary esp_hid_device.bin and esp_hid_host.bin 2024-03-30 11:51:52 +08:00
xiaqilin
7f94f5bf72 change(ieee802154): add sleep deinit API 2024-03-30 11:51:52 +08:00
Li Shuai
fc308a4234 change(driver/i2c): modify i2c sleep retention test case to fix memory leakage issue 2024-03-30 11:51:52 +08:00
Li Shuai
b1540e2470 change(esp_hw_support): use power down peripheral in light sleep option to determine TOP to off 2024-03-30 11:51:52 +08:00
Li Shuai
91bb0e7276 change(driver/i2c): use new retention api to implement i2c retention 2024-03-30 11:51:52 +08:00
Li Shuai
c07be48edb change(esp_hw_support): add adc retention module and it is dependencies on the clock modem 2024-03-30 11:51:52 +08:00
Li Shuai
67f1de5e99 change(esp_hw_support): dump sleep retention context to io stream 2024-03-30 11:51:52 +08:00
Li Shuai
4ffa5c23af change(ieee802154): use new sleep retention api to implement ieee802154 mac retention 2024-03-30 11:51:52 +08:00
Li Shuai
c0f3570237 change(bt): use new retention api to implement BT mac and bb retention 2024-03-30 11:51:52 +08:00
Li Shuai
57c8fdfd86 change(esp_hw_support): use new retention api to implement gdma retention 2024-03-30 11:51:52 +08:00
Li Shuai
a0a343cb13 change(wifi): use new retention api to implement wifi mac and bb retention 2024-03-30 11:51:50 +08:00
Yash Katkar
f73194fbbb feat: add the padding if the packet length is odd while updating udp checksum 2024-03-29 21:05:16 +00:00
Konstantin Kondrashov
557ad147d3 Merge branch 'bugfix/log_wrap_around_cache_generation_counter' into 'master'
fix(log): Fix wrap-around of cache generation counter

Closes IDFGH-4707

See merge request espressif/esp-idf!29918
2024-03-29 22:30:43 +08:00
Aditya Patwardhan
7acc4d4326 fix(esp_hw_support): Fix key manager hw support
1) Added NULL checks for public APIs
2) Added debug prints at necessary places
3) Updated the check for already deployed HUK
2024-03-29 18:53:13 +05:30
Darian
f66a23a8fb Merge branch 'refactor/usb_host_usbh_hub_interaction' into 'master'
refactor(usb/host): Refactor USBH interaction with Hub

See merge request espressif/esp-idf!29783
2024-03-29 21:16:14 +08:00
Rahul Tank
2666391582 Merge branch 'bugfix/handle_missing_free' into 'master'
fix(nimble): Handle missing free in application

See merge request espressif/esp-idf!29886
2024-03-29 21:02:05 +08:00
Jiang Jiang Jian
73b45b8852 Merge branch 'feature/esp_phy_for_c5' into 'master'
feat(phy): add esp32c5 beta3 phy support

See merge request espressif/esp-idf!29825
2024-03-29 20:56:54 +08:00
Rahul Tank
eafad32dc6 fix(nimble): Handle missing free in application 2024-03-29 16:37:11 +05:30
morris
2a65cb1b50 Merge branch 'docs/translate_parlio.rst' into 'master'
docs: Provide translation for parlio.rst

Closes DOC-7491

See merge request espressif/esp-idf!29806
2024-03-29 18:31:14 +08:00
shenmengjing
dbfc2bff84 docs: Provide translation for usb_host_notes_index.rst in api-reference 2024-03-29 17:33:10 +08:00
Li Shuai
262be04b21 change(esp_hw_support): modify system and modem clock to support modem domain power down 2024-03-29 16:13:52 +08:00
shenmengjing
0689c8e233 docs: Provide translation for parlio.rst 2024-03-29 16:13:05 +08:00
zwx
d2e0b9419f fix(CI): fix CI to pass fast build app 2024-03-29 16:03:24 +08:00
xuxiao
d69c25b997 fix(phy): update esp32c5 phy init data 2024-03-29 16:03:24 +08:00
wuzhenghui
a744a2c43f fix(esp_hw_support): fix zb/bt shared bb dependency for ieee154 2024-03-29 16:03:24 +08:00
xuxiao
b1bd9987fe feat(phy): add esp32c5 beta3 phy support 2024-03-29 16:03:24 +08:00
Island
82f70e7ad4 Merge branch 'bugfix/IDFGH-12353' into 'master'
fix(ble_mesh): Free segment tx buffers on tx reset for SAR enhancement

Closes IDFGH-12353 and BLERP-641

See merge request espressif/esp-idf!29779
2024-03-29 16:03:13 +08:00
Kevin (Lao Kaiyao)
f6f7145fec Merge branch 'bugfix/rollback_the_breaking_change_of_i2s_cb_event_data' into 'master'
fix(i2s): rollback the breaking change of i2s cb event data

See merge request espressif/esp-idf!29896
2024-03-29 15:55:17 +08:00
Li Shuai
59115cd2d1 change(esp_hw_support): some system peripherals to use a retention module number 2024-03-29 15:27:08 +08:00
Li Shuai
7092cf7d3e feat(esp_hw_support): implement of sleep retention module initialize and dependency management 2024-03-29 15:22:53 +08:00
Li Shuai
080d09387c change(esp_hw_support): modify the style of module argument from bitmap to number 2024-03-29 15:22:52 +08:00
harshal.patil
272633bde1 fix(mbedtls/ecdsa): Fix dependant peripheral's enable and reset 2024-03-29 12:40:13 +05:30
morris
1ed64afddd Merge branch 'refactor/remove_unused_periph_module_enable' into 'master'
remove orphaned clk_gate_ll.h on esp32p4

Closes IDF-8094

See merge request espressif/esp-idf!29906
2024-03-29 14:50:34 +08:00
harshal.patil
84b6940ce4 feat(mbedtls/ecdsa): Wrapped ecdsa_write_signature to support deterministic ECDSA signatures 2024-03-29 12:14:11 +05:30
harshal.patil
70ef80d974 feat(mbedtls/ecdsa): Add support for deterministic ECDSA signature generation 2024-03-29 12:14:11 +05:30
harshal.patil
cd98dfc3fd feat(hal): Add LL and HAL layer support for deterministic ECDSA 2024-03-29 12:14:11 +05:30
harshal.patil
95fac15698 feat(hal/ecdsa): Add HAL API for operation successful check 2024-03-29 12:14:11 +05:30
Li Shuai
fd421ba9bb change(esp_hw_support): rename interface name of get modules bitmap to get created modules 2024-03-29 14:41:57 +08:00
Li Shuai
b521fb4efe change(esp_hw_support): rename sleep retention module to created module 2024-03-29 14:36:11 +08:00
laokaiyao
94ea9e398e fix(i2s): rollback the breaking change of callback event data
`i2s_event_data_t::data` is deprecated due to the cumbersome usage of secondary pointer
Please use the newly added first-level pointer `i2s_event_data_t::dma_buf` instead
2024-03-29 14:33:25 +08:00
Shen Meng Jing
fc9484785b Merge branch 'docs/translate_a' into 'master'
docs: Provide translation for security.rst in migration-guides

Closes DOC-7475

See merge request espressif/esp-idf!29773
2024-03-29 12:56:15 +08:00
Aditya Patwardhan
43d934ffb2 Merge branch 'feature/ota_buffer_cap_config' into 'master'
feat(esp_https_ota): Add config to configure memory capability for OTA buffer

Closes IDF-8836

See merge request espressif/esp-idf!27927
2024-03-29 12:51:25 +08:00
Aditya Patwardhan
2ad611ad73 fix(esp_hw_support): Fix key mgr hw support
1) Fix re-deployment scenario for key manager

2) Fix magic for key manager APIs

3) Fix key manager eFuse check

4) Fix key manager test case
2024-03-29 09:34:46 +05:30
Jiang Jiang Jian
d434034513 Merge branch 'bugfix/storage_spelling' into 'master'
fix(storage,esp_pm): spelling fixes by codespell pre-commit hook

See merge request espressif/esp-idf!29898
2024-03-29 11:59:48 +08:00
Shen Mengjing
57877a682e docs: Provide translation for security.rst in migration-guides 2024-03-29 11:59:22 +08:00
Wu Zheng Hui
96d99352ea Merge branch 'feature/esp32p4_sleep_peripheral_retention_support' into 'master'
feat(esp_hw_support): esp32p4 sleep support (Stage 3: support system peripheral sleep retention 🔌)

Closes IDF-7531, IDF-7530, IDF-8976, and FV-748

See merge request espressif/esp-idf!28486
2024-03-29 11:15:49 +08:00
Xiaoyu Liu
1db02e48ef fix(bootloader): fix spelling errors in /components/bootloader/Kconfig.projbuild 2024-03-29 10:59:46 +08:00
morris
8e64a59fac refactor(periph_ctrl): remove orphaned clk_gate_ll.h
and deprecate the legacy periph_module_xxx functions for new targets
2024-03-29 10:53:05 +08:00
morris
f29351b99a refactor(spi): use RCC functions to do DMA reset 2024-03-29 10:53:05 +08:00
morris
b55a0e015a feat(sdio_slave): add reset and clock control functions 2024-03-29 10:41:17 +08:00
morris
b4de983dbc feat(dedic_gpio): add reset and clock control functions 2024-03-29 10:41:17 +08:00
morris
1b8e1df648 feat(uhci): add reset and clock control functions 2024-03-29 10:41:17 +08:00
Michael (XIAO Xufeng)
5d6c56c20d Merge branch 'fix/unused_mmap_include' into 'master'
fix(all): remove unused header includes

See merge request espressif/esp-idf!29816
2024-03-29 10:20:08 +08:00
luoxu
22f3006dd1 fix(ble_mesh): Free segment tx buffers on tx reset for SAR enhancement
Closes: https://github.com/espressif/esp-idf/issues/13384
2024-03-29 10:14:14 +08:00
Roman Leonov
ca201b83ec Merge branch 'refactor/usb_device_examples_prereq_for_hs' into 'master'
USB Device examples: Added HS and FS configuration

Closes IDF-9048

See merge request espressif/esp-idf!29580
2024-03-29 03:26:50 +08:00
Konstantin Kondrashov
02d7120d02 feat(esp_hw_support): Adds MAC support for esp32p4 2024-03-29 01:44:39 +08:00
Ivan Grokhotkov
ac010778b9 Merge branch 'contrib/github_pr_12507' into 'master'
change(console): drop the use of open_memstream() (GitHub PR)

Closes IDFGH-11361

See merge request espressif/esp-idf!29878
2024-03-29 01:09:05 +08:00
Konstantin Kondrashov
e0e8050877 fix(log): Fix wrap-around of cache generation counter
Closes https://github.com/espressif/esp-idf/issues/6516
2024-03-28 18:56:19 +02:00
wuzhenghui
a8bcf67cb5 ci: enable esp_pm pytest for esp32p4 2024-03-29 00:38:57 +08:00
wuzhenghui
4a64d2fe2c change(hal): control PAU bus clock by hal layer 2024-03-29 00:36:46 +08:00
Roman Leonov
d734f150ee docs(usb_device): Added HighSpeed description for tinyusb config structure 2024-03-28 16:40:55 +01:00
Roman Leonov
a3191451bc refactor(usb_device): Fixed examples with esp_tinyusb v1.4.4 2024-03-28 16:40:49 +01:00
liuning
bd98ade2a8 fix(wifi): fix coex ld issue 2024-03-28 21:28:10 +08:00
Alon Bar-Lev
93706028de change(console): drop the use of open_memstream()
the argtable3 provides string based output return, there is no need to go via
stdio structures.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Signed-off-by: Ivan Grokhotkov <ivan@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/12507
2024-03-28 14:09:01 +01:00
Ivan Grokhotkov
d7436d1365 change(codeowners): add a codeowners entry for .codespellrc 2024-03-28 13:00:55 +01:00
Ivan Grokhotkov
15e63f4222 fix(esp_pm): applied spelling fixes by codespell 2024-03-28 13:00:55 +01:00
Ivan Grokhotkov
10cc15b150 fix(storage): applied spelling fixes by codespell pre-commit hook 2024-03-28 13:00:54 +01:00
wuzhenghui
38fe4e136a feat(esp_hw_support): support esp32p4 sleep peripheral retention 2024-03-28 19:18:25 +08:00
wuzhenghui
f1beed90ff feat(esp_hw_support): support esp32p4 sleep clock retention 2024-03-28 19:18:24 +08:00
wuzhenghui
194c38479e refactor(esp_hw_support): split pd_top clock retention initialization by target 2024-03-28 19:18:24 +08:00
wuzhenghui
5d24a818eb feat(esp_hw_support): add esp32p4 pau initial support 2024-03-28 19:18:24 +08:00
wuzhenghui
acd263d006 fix(esp_hw_support): fix pmu analog parameter configuration missing 2024-03-28 19:18:20 +08:00
Radim Karniš
cb4b433ddc docs(idf_py): Describe the option to configure esptool.py with --extra-args
Closes https://github.com/espressif/esp-idf/issues/6337
2024-03-28 12:09:50 +01:00
Aditya Patwardhan
34f0a0d6e5 Merge branch 'fix/fix_bootloader_support_public_api_not_defined' into 'master'
fix(bootloader_support): Fix public APIs not being defined

See merge request espressif/esp-idf!29552
2024-03-28 18:23:49 +08:00
wuzhenghui
4bcb88c482 change(rtc): rename sleep mode related regs defination 2024-03-28 17:49:14 +08:00
Martin Vychodil
abf2d13f74 Merge branch 'feat/vfs_fd_dump' into 'master'
feat(vfs): Add function to dump VFS file descriptors

See merge request espressif/esp-idf!29148
2024-03-28 17:46:50 +08:00
Aditya Patwardhan
9be1c9f03e fix(bootloader_support): Fix API not defined for application 2024-03-28 15:05:10 +05:30
Marius Vikhammer
ae6a41298d Merge branch 'docs/run_spellcheck_on_docs' into 'master'
docs(misc): fixed typos found with codespell

See merge request espressif/esp-idf!29893
2024-03-28 17:00:25 +08:00
Marius Vikhammer
cbc632bd04 fix(lp_core): fix kconfig not allowing using all of LP mem for P4 lp core 2024-03-28 16:39:16 +08:00
Aditya Patwardhan
4d764caba1 Merge branch 'feature/ssl_ds_example_p4_support' into 'master'
feat(examples): add support for ESP32-P4 in ssl_ds example

Closes IDF-7977

See merge request espressif/esp-idf!29858
2024-03-28 13:54:03 +08:00
Harshit Malpani
8f8528a10c feat(esp_https_ota): Add config to configure memory capability for OTA buffer
Add `Tuning OTA Performance` section in OTA documentation
2024-03-28 11:11:07 +05:30
Jiang Jiang Jian
277bec6d04 Merge branch 'bugfix/fix_group_address_qos_frames_issue' into 'master'
fix(wifi): fix multicast address qos frames issue

Closes ESPCS-940 and WIFI-6500

See merge request espressif/esp-idf!29694
2024-03-28 12:55:02 +08:00
Jiang Jiang Jian
969a43cf6d Merge branch 'bugfix/fix_bt_cmakefile_error_on_c2' into 'master'
fix(bt): fixed cmakelist error on c2

Closes IDFGH-12430

See merge request espressif/esp-idf!29880
2024-03-28 12:00:53 +08:00
Jiang Jiang Jian
999bfcac6f Merge branch 'fix/wifi_without_remote' into 'master'
fix(wifi): Remove optional dependency on esp_wifi_remote if !ESP_WIFI_ENABLED

See merge request espressif/esp-idf!29891
2024-03-28 11:59:53 +08:00
Marius Vikhammer
f1e65b8373 docs(misc): fixed typos found with codespell 2024-03-28 11:50:58 +08:00
Kevin (Lao Kaiyao)
2a121e92e8 Merge branch 'feature/i2s_support_asynch_read_write_via_callback' into 'master'
feat(i2s): support asynchronous read write via callback

See merge request espressif/esp-idf!29870
2024-03-28 11:50:13 +08:00
Wan Lei
e84c7f00a5 Merge branch 'feat/c6lite_c61_ci_header_tmp_app' into 'master'
feat(esp32c61): ci enable header check (stage 7/8)

See merge request espressif/esp-idf!29775
2024-03-28 11:45:20 +08:00
Omar Chebib
1683e9a92c Merge branch 'fix/unused_interrupts' into 'master'
fix(esp_hw_ ‎support): clear reserved interrupts that are unused or not applicable anymore

Closes IDF-7821 and IDF-9428

See merge request espressif/esp-idf!29639
2024-03-28 11:27:20 +08:00
Marius Vikhammer
1c73c657c9 Merge branch 'ci/console_test_coverage' into 'master'
ci(console): improve esp-system console test-coverage

Closes IDFCI-1856, IDF-9576, and IDF-9577

See merge request espressif/esp-idf!29748
2024-03-28 11:14:57 +08:00
morris
3ca37f9a77 Merge branch 'feat/typos_pre_commit' into 'master'
RFC: add spell checker in pre-commit

See merge request espressif/esp-idf!29819
2024-03-28 10:37:03 +08:00
morris
c0289ee6eb fix(drivers): fix typos found by codespell
codespell components/esp_driver*
2024-03-28 10:01:27 +08:00
morris
2ee266c0d6 feat(pre-commit): add codespell to detect and fix typos 2024-03-28 10:00:02 +08:00
Armando (Dou Yiwen)
8d6e8f6051 Merge branch 'doc/csi_programming_guide_change' into 'master'
doc(camera): camera_driver.rst change

See merge request espressif/esp-idf!29864
2024-03-28 09:21:22 +08:00
Wang Meng Yang
10d4843b02 Merge branch 'feat/add_vsc_to_set_min_enc_key_sz' into 'master'
feat(bt/bluedroid): added a VSC to set minimal encryption key size

Closes BT-3590 and BTQABR2023-211

See merge request espressif/esp-idf!28263
2024-03-28 08:27:35 +08:00
David Cermak
132135519d fix(wifi): Remove optional dependency on esp_wifi_remote if !ESP_WIFI_ENABLED
The dependency could be introduced from dependent component if needed.
The else() part of the condition wasn't correct, as it didn't check for
esp_wifi_remote from component manager, which is prefixed by Espressif
namespace, so the correct statement would be:
if(espressif__esp_wifi_remote IN_LIST build_components)
2024-03-27 16:50:38 +01:00
Harshal Patil
4ef1bf8031 Merge branch 'fix/esp32c5_sha_api_definitions' into 'master'
fix(hal/sha): Add RCC enable and reset API definitions for ESP32-C5 SHA

Closes IDFCI-2111

See merge request espressif/esp-idf!29883
2024-03-27 21:46:22 +08:00
harshal.patil
e454fa4026 fix(hal/sha): Add RCC enable and reset API definitions for ESP32-C5 SHA 2024-03-27 18:09:33 +05:30
Harshal Patil
5274bf88e4 Merge branch 'esp32p4/add_sha_support' into 'master'
feat: add SHA support for ESP32-P4

Closes IDF-7541 and IDF-7882

See merge request espressif/esp-idf!24865
2024-03-27 20:08:28 +08:00
wanlei
535afdd7f4 feat(esp32c61): ci enable header check, fix c61 build 2024-03-27 19:39:59 +08:00
linruihao
4a61fda5fb fix(bt): fixed cmakelist error on c2
Closes https://github.com/espressif/esp-idf/issues/13451
2024-03-27 19:38:45 +08:00
xiongweichao
eabd31e849 fix(bt/bluedorid): Fixed crash caused by using illegal pointer 2024-03-27 19:05:39 +08:00
xiongweichao
1c30191ac4 fix(bt/bluedorid): Fixed no event when removing an invalid SDP record 2024-03-27 19:05:39 +08:00
C.S.M
bd7f870c21 Merge branch 'bugfix/usj_stask_size' into 'master'
fix(usb_serial_jtag): Increase stack size on serial_jtag example

Closes IDFGH-12190

See merge request espressif/esp-idf!29866
2024-03-27 18:49:55 +08:00
C.S.M
333e8aa19e Merge branch 'feature/support_i2c_timeout' into 'master'
feature(i2c_master): Add a parameter for config the scl await value

See merge request espressif/esp-idf!29787
2024-03-27 18:14:58 +08:00
Fu Hanxi
9f93ee1fba Merge branch 'ci/move_check_public_headers_to_host_test' into 'master'
ci: move check_public_headers from pre_check stage to host_test

See merge request espressif/esp-idf!29848
2024-03-27 17:59:08 +08:00
Wu Zheng Hui
520ed675d7 Merge branch 'feature/support_esp32p4_deepsleep' into 'master'
feature(esp_hw_support): support esp32p4 deepsleep example and tests

Closes IDF-7529

See merge request espressif/esp-idf!29789
2024-03-27 17:43:05 +08:00
Mahavir Jain
f5fc636790 Merge branch 'feature/enable_aes_sha_support_for_c5' into 'master'
feat: enabled aes and sha support for esp32c5

Closes IDF-8627 and IDF-8624

See merge request espressif/esp-idf!29052
2024-03-27 17:30:45 +08:00
Armando
38d6e84ec2 doc(camera): camera_driver.rst change 2024-03-27 16:41:20 +08:00
Omar Chebib
a79c6f7f67 fix(esp_hw_support): clear reserved interrupts that are not applicable for each target 2024-03-27 16:21:25 +08:00
wuzhenghui
7408732688 fix(freertos): Updated threshold for scheduling time test for esp32p4
This commit increases the pass threshold for the scheduling time test on
esp32p4.
2024-03-27 16:19:19 +08:00
laokaiyao
fd27cef045 feat(i2s): support asynchronous read write via callback
Split the TX DMA buffer `auto_clear` into `auto_clear_after_cb` and `auto_clear_before_cb`,
so that allow user to update the DMA buffer directly in the `on_sent` callback
2024-03-27 16:04:13 +08:00
Marc CAPDEVILLE
fcd1f1c808 change(esp_driver_i2s) : Some hack on I2S callback
mod for event data to contain the pointer to the dma buffer.
mod for clearing data on send buffer before calling tx callback
2024-03-27 16:04:03 +08:00
Mooneer Salem
f799e99909 fix: Allocate HTTP header space for async httpd_req_t objects
This resolves bug #13430 by allocating a new copy of resp_hdrs
when calling httpd_req_async_handler_begin(), thus preventing
invalid access to memory from async tasks.
2024-03-27 00:50:29 -07:00
Cao Sen Miao
569c75258f fix(usb_serial_jtag): Increase stack size on serial_jtag example,
Closes https://github.com/espressif/esp-idf/issues/13245
2024-03-27 15:47:25 +08:00
Lou Tian Hao
5fa57d12b2 Merge branch 'feature/esp32c5beta3_light_sleep_support_stage_0' into 'master'
feat(esp_hw_support): esp32c5 sleep support (Stage 1: support modem clock)

Closes IDF-8845

See merge request espressif/esp-idf!29839
2024-03-27 14:33:04 +08:00
Armando (Dou Yiwen)
bfd3586f03 Merge branch 'doc/csi_programming_guide' into 'master'
doc(camera): added camera controller driver programming guide

Closes IDF-9563

See merge request espressif/esp-idf!29802
2024-03-27 14:04:36 +08:00
wuzhenghui
621effce5b fix(esp_system): workaround for CI pass
1. workaround esp32p4 rev0 wrong deepsleep wakeup cause

2. workaround esp32p4 lightsleep stuck issue with PSRAM enabled
2024-03-27 13:59:37 +08:00
wuzhenghui
65d4e79f80 feat(esp_hw_support): support esp32p4 ext1 wakeup 2024-03-27 13:59:37 +08:00
wuzhenghui
ccaae61fee feat(esp_hw_support): support esp32p4 deepsleep 2024-03-27 13:59:36 +08:00
wuzhenghui
299199c5a5 feat(soc): add ESP_ROM_SUPPORT_DEEP_SLEEP_WAKEUP_STUB rom caps 2024-03-27 13:59:36 +08:00
harshal.patil
22857529dd ci(hal/crypto): Update crypto test app to use SHA-DMA process API from mbedtls 2024-03-27 11:23:30 +05:30
harshal.patil
9cd10e196b feat(hal/sha): use RCC atomic block to enable/reset the SHA peripheral 2024-03-27 11:23:30 +05:30
harshal.patil
211a2a5477 feat(mbedtls/sha): Support SHA-DMA operations by satisfying L1 cache alignment requirements
- Use block mode as default SHA operation mode instead of DMA
2024-03-27 11:23:29 +05:30
harshal.patil
d737625215 feat(mbedtls/sha): Support in AXI-DMA SHA driver layer 2024-03-27 11:23:29 +05:30
harshal.patil
853bff88c5 change(mbedtls/sha): replace Cache ROM APIs usage with APIs from esp_cache.h 2024-03-27 11:23:29 +05:30
harshal.patil
507b5fd2b6 fix(soc/sha_struct): fix register name continue to conti
- As contnue being a reserved keyword in C, the register name
continue is not valid
2024-03-27 11:23:28 +05:30
harshal.patil
e6782156c4 feat(hal/sha): add SHA peripheral support for esp32p4 2024-03-27 11:23:28 +05:30
Mahavir Jain
421a1ee931 feat(examples): add support for ESP32-P4 in ssl_ds example 2024-03-27 10:56:13 +05:30
zhangyanjiao
ff2862b747 docs(wifi): update the docmentation for sniffer API
Closes https://github.com/espressif/esp-idf/issues/10740
2024-03-27 12:15:09 +08:00
Lou Tianhao
85e803ded4 docs(pm): add description for newly added filed in modem_syscon 2024-03-27 11:40:32 +08:00
Mahavir Jain
c658351eab Merge branch 'esp32p4/add_aes_gcm_support' into 'master'
feat: add AES-GCM support for ESP32-P4

See merge request espressif/esp-idf!29516
2024-03-27 11:40:26 +08:00
Armando
8cef97beac change(csi): changed the clk_freq_hz to lane_bit_rate_mbps 2024-03-27 10:40:59 +08:00
Armando
699f3e1245 fix(jpeg): fixed lack of the jpeg_types.h include in Doxyfile_esp32p4 file 2024-03-27 10:40:59 +08:00
Armando
bdceef252b doc(camera): added camera controller driver programming guide 2024-03-27 10:40:58 +08:00
Armando (Dou Yiwen)
f85ddd17ce Merge branch 'feature/prefer_cache_alloc' into 'master'
cache: added prefer cache alloc

Closes IDF-9562

See merge request espressif/esp-idf!29797
2024-03-27 10:36:12 +08:00
Cao Sen Miao
ede1df51b0 feat(i2c_master): Add parameter to config I2C scl await time 2024-03-27 10:35:11 +08:00
Island
4505ddc8a9 Merge branch 'bugfix/fix_ble_power_save_ci' into 'master'
fix(ble): fix conn error of ble power save ci test

Closes BLERP-642

See merge request espressif/esp-idf!29712
2024-03-27 10:30:40 +08:00
Jiang Jiang Jian
6b1451050d Merge branch 'fix/heap-calloc-fail-wrong-size' into 'master'
fix(heap): Wrong size propagated in alloc fail callback of heap_caps_calloc()

See merge request espressif/esp-idf!29841
2024-03-27 10:15:50 +08:00
morris
de3ff6bff1 Merge branch 'fix/usb_host_msync' into 'master'
fix(usb/host): Do not allow unaligned cache access for M2C direction

See merge request espressif/esp-idf!29855
2024-03-27 10:14:12 +08:00
muhaidong
fedfac470a fix(wifi): fix multicast address qos frames issue 2024-03-27 10:13:14 +08:00
Ivan Grokhotkov
64757e9fea fix(check_callgraph): rework --ignore-refs to be more generic 2024-03-26 17:05:39 +01:00
Tomas Rezucha
e9daf4912b fix(usb/host): Do not allow unaligned cache access for M2C direction 2024-03-26 16:41:12 +01:00
Ivan Grokhotkov
ce2ce972b8 ci(system): re-enable bootloader_sections test for ESP32-C2 2024-03-26 16:04:09 +01:00
Konstantin Kondrashov
73041ea10a Merge branch 'bugfix/esp_timer_test_fail' into 'master'
fix(esp_timer): Force test to go light sleep ignoring ESP_ERR_SLEEP_REJECT

Closes IDFCI-2091, IDFCI-2092, and IDFCI-2093

See merge request espressif/esp-idf!29814
2024-03-26 22:22:48 +08:00
Bogdan Kolendovskyy
c6002f7dfd Merge branch 'feature/iperf_for_all_phys' into 'master'
add(examples/ethernet/iperf): capability to run iperf test on all supported phys

See merge request espressif/esp-idf!29348
2024-03-26 21:15:50 +08:00
Jiang Jiang Jian
22537f1d6b Merge branch 'bugfix/variable_length_rsnxe' into 'master'
Expands maximum size of RSNXE IE to 255

Closes WIFI-6435

See merge request espressif/esp-idf!28643
2024-03-26 20:35:14 +08:00
Fu Hanxi
b5318eee59 ci: move check_public_headers from pre_check stage to host_test
this job is the bottleneck of the pre_check stage
2024-03-26 13:18:41 +01:00
Lou Tianhao
4535dfdd49 change(pm): esp32c5 hardware does not have clk_fe_cal_160m_en 2024-03-26 19:59:05 +08:00
Lou Tianhao
bd4147b5ef fix(ci): add sdkconfig head and change some macro 2024-03-26 19:59:00 +08:00
Lou Tianhao
f5487c72ab change(pm): move the modem_clock-related code outside SOC_PM_SUPPORT_PMU_MODEM_STATE 2024-03-26 19:55:06 +08:00
wuzhenghui
29076a43f6 bringup esp32c5beta3 modem clock 2024-03-26 19:54:32 +08:00
Jiang Jiang Jian
38733a752d Merge branch 'feat/move_iperf_component' into 'master'
feat: move iperf to component registry

Closes RDT-618

See merge request espressif/esp-idf!29537
2024-03-26 19:53:40 +08:00
Fu Hanxi
7fc82f7d74 Merge branch 'ci/increase_ccache_size' into 'master'
ci: increase ccache size limit and decrease test case amount per job

Closes IDFCI-2102

See merge request espressif/esp-idf!29847
2024-03-26 19:51:46 +08:00
Konstantin Kondrashov
b463748bfb fix(esp_timer): Force to go light sleep ignoring ESP_ERR_SLEEP_REJECT 2024-03-26 13:49:24 +02:00
Bogdan Kolendovskyy
934f741361 test(examples/ethernet/iperf): Add default configurations for all supported PHYs
Created default configurations to run iperf test on all supported phys and adpated test code appropriately
2024-03-26 11:37:30 +01:00
Armando
be5af1c737 test(cache): added test for cache_prefer_m/calloc 2024-03-26 18:03:15 +08:00
Armando
de70ed1c84 feat(cache): added cache_prefer_m/calloc 2024-03-26 18:03:15 +08:00
Fu Hanxi
85f63f7ad2 ci: decrease test case amount per job
for now some jobs are reaching 1 hour timeout
2024-03-26 10:59:16 +01:00
Fu Hanxi
201d7d19ba ci: increase ccache size from 20GB to 50GB 2024-03-26 10:58:49 +01:00
Sudeep Mohanty
2cbdd2fee8 Merge branch 'feature/lp_core_lp_i2c_support' into 'master'
feat(lp_core): Added LP I2C support for esp32p4

Closes IDF-7540

See merge request espressif/esp-idf!29821
2024-03-26 17:37:29 +08:00
jgujarathi
7ef11a1409 fix(rsnxe): Expands maximum size of RSNXE IE to 255
- Allows for RSNXE IE to be processed as a variable length upto
255 bytes, changing the earlier max of 20.
2024-03-26 15:06:36 +05:30
Fu Hanxi
351453c551 Merge branch 'ci/git_describe_exclude_qa_tags' into 'master'
ci: check idf version excluding qa tags

Closes IDFCI-2097

See merge request espressif/esp-idf!29781
2024-03-26 17:30:45 +08:00
nilesh.kale
18d2c57542 feat: enabled aes and sha support for esp32c5
This commit enabled AES and SHA support for esp32c5.
2024-03-26 14:52:06 +05:30
zhangyanjiao
819244b521 docs(wifi): change the magic varible from int to uint32_t on the receiving side
Closes https://github.com/espressif/esp-idf/issues/10912
2024-03-26 16:45:04 +08:00
Abhinav Kudnar
6e4eeec97c Merge branch 'nimble-1.6.0-idf' into 'master'
fix(nimble): Migrate to nimble-1.6.0

Closes BLERP-558

See merge request espressif/esp-idf!29075
2024-03-26 16:42:41 +08:00
Sudeep Mohanty
5228dc348b feat(lp_i2c): Added LP I2C support on the esp32p4
This commit adds support for the LP I2C peripheral to be used from the
LP core on the esp32p4.
2024-03-26 08:31:54 +01:00
Sudeep Mohanty
2b5517ed47 change(lp_i2c): Added LP I2C low-level control functions for esp32p4
This MR adds ll functions for clock and reset settings for the LP I2C
peripheral for the esp32p4.
2024-03-26 08:31:54 +01:00
Sudeep Mohanty
cd49273d7a change(clk_tree): Added clock tree definitions for LP I2C for esp32p4
This commit adds the clock tree definitions for the LP I2C peripheral
for the esp32p4.
2024-03-26 08:31:54 +01:00
baohongde
4207909f5c feat(ble/controller): Add coexist schm for BLE 2024-03-26 14:44:46 +08:00
Marius Vikhammer
9e62e32a5b fix(system_console): fixed unity output not working with usb jtag serial 2024-03-26 14:25:36 +08:00
harshal.patil
c4f052cee4 feat(mbedtls/aes): Satisfy L1 cache alignment for AES-GCM DMA operations 2024-03-26 11:38:33 +05:30
harshal.patil
07f7b06d8d change(mbedtls/aes): Move aad desc population into the internal AES-GCM DMA process API 2024-03-26 11:31:11 +05:30
harshal.patil
80b33ed3e7 fix(soc/sha_struct): fix register name continue to conti
- As continue being a reserved keyword in C, the register name continue is not valid
2024-03-26 11:31:11 +05:30
harshal.patil
0eb52a8fbf feat(hal/aes): Add LL layer support for ESP32-P4 AES-GCM 2024-03-26 11:31:11 +05:30
Guillaume Souchere
497c840172 fix(heap): Wrong size propagated in alloc fail callback
Propagate `n * size` as the size of the failed allocation
instead of just `size` when heap_caps_calloc() fails since
`n * size` is the actual number of bytes that the heap
component tried to allocate.
2024-03-26 06:48:33 +01:00
Marius Vikhammer
42fc463c81 fix(console): fixed CONSOLE_NONE not working on C2/C3 2024-03-26 13:39:10 +08:00
Abhinav Kudnar
1bc6570b1f fix(nimble): Migrate to nimble 1.6 2024-03-26 10:50:24 +05:30
Marius Vikhammer
aa6a7bec76 ci(console): improve esp-system console test-coverage 2024-03-26 12:22:35 +08:00
morris
3bb51ae975 refactor(ldo): remove legacy private ldo driver
as esp-idf has introduced a new public one: esp_ldo_regulator.h

Note, this is not a breaking change as the legacy driver doesn't exist
on any release branch.
2024-03-26 11:36:54 +08:00
morris
52137a2b55 Merge branch 'feat/esp_ldo_regulator_public_api' into 'master'
Introduce esp ldo regulator public API

See merge request espressif/esp-idf!29691
2024-03-26 11:24:06 +08:00
Wu Zheng Hui
a6400e2aed Merge branch 'fix/freertos_spinlock_perf_test' into 'master'
change(freertos): Updated spinlock performance test threshold

See merge request espressif/esp-idf!29827
2024-03-26 11:03:08 +08:00
Armando (Dou Yiwen)
fec8e10f4c Merge branch 'bugfix/correct_csi_fsm_check' into 'master'
csi: fix wrong fsm state check in s_ctlr_csi_stop

See merge request espressif/esp-idf!29829
2024-03-26 10:28:57 +08:00
Armando
00fe6479e4 bugfix(csi): fix wrong fsm state check in s_ctlr_csi_stop 2024-03-26 08:22:45 +08:00
morris
5369b68bc8 change(flash): acquire the LDO channel used by flash
so that even if the same channel has other consumers, the voltage won't
be changed
2024-03-25 22:04:01 +08:00
morris
cf59c00564 change(mpll): clean up mpll clock acquire with ldo driver 2024-03-25 22:03:49 +08:00
Ivan Grokhotkov
60fdf8dd74 docs(readme): remove v4.3 support info 2024-03-25 14:39:40 +01:00
Ivan Grokhotkov
c0ff293bf8 feat(idf.py): add ESP32-P4 ROM info 2024-03-25 14:39:36 +01:00
Sudeep Mohanty
afee830278 change(freertos): Updated spinlock performance test threshold
This commit relaxes the passing threshold for spinlock performance tests
for the esp32p4.
2024-03-25 14:25:35 +01:00
Ivan Grokhotkov
d9fb9a5500 feat(tools): add ESP32-P4 to the supported targets list 2024-03-25 14:24:55 +01:00
morris
4c2569e2fc change(sdmmc): update ldo acquire driver to new API 2024-03-25 21:19:12 +08:00
morris
56b40a028d change(mipi): use public ldo driver for powering dphy 2024-03-25 21:19:12 +08:00
morris
7de228d0a3 docs(ldo): add api reference for ldo regulator driver 2024-03-25 21:19:12 +08:00
morris
061e5dc695 feat(ldo): add ldo regulator driver for public use 2024-03-25 21:19:12 +08:00
Sudeep Mohanty
950740dc62 Merge branch 'fix/freertos_scheduling_time_test' into 'master'
fix(freertos): Updated threshold for scheduling time test for esp32p4

Closes IDF-8981 and IDF-8090

See merge request espressif/esp-idf!29812
2024-03-25 19:22:33 +08:00
Sudeep Mohanty
c6efc57e6e fix(freertos): Re-enabled FreeRTOS unit tests for esp32p4
This commit reenables the FreeRTOS unit tests to be run during CI
pipelines for esp32p4.
2024-03-25 09:03:09 +01:00
Sudeep Mohanty
68dbbf339d fix(freertos): Updated unstable FreeRTOS unit tests
This commit fixes some flaky FreeRTOS unit tests.
2024-03-25 09:03:09 +01:00
Sudeep Mohanty
33dec4175a fix(freertos): Updated threshold for scheduling time test for esp32p4
This commit increases the pass threshold for the scheduling time test on
esp32p4.
2024-03-25 09:03:09 +01:00
Zhang Wen Xu
8edaa94e89 Merge branch 'feature/config_csmabackoff_in_spinel' into 'master'
feat(openthread): add max csmabackoffs for transmission

Closes TZ-627

See merge request espressif/esp-idf!29767
2024-03-25 14:41:26 +08:00
Armando (Dou Yiwen)
0899751e09 Merge branch 'feature/sdmmc_power_ctrl' into 'master'
sdmmc: power ctrl driver

Closes IDF-6751

See merge request espressif/esp-idf!28270
2024-03-25 14:31:59 +08:00
Xiao Xufeng
313c4f2cdc fix(all): remove unused header includes 2024-03-25 13:58:40 +08:00
Song Ruo Jing
49a3bba4b2 Merge branch 'bugfix/gpio_drive_cap' into 'master'
fix(gpio): add workaround to ensure correct IO drive strength for C3 and S3

Closes FV-752

See merge request espressif/esp-idf!29808
2024-03-25 12:23:04 +08:00
Song Ruo Jing
6f9a866f9d Merge branch 'bugfix/uart_bitrate_max_value_c2' into 'master'
fix(uart): correct C2 UART_BITRATE_MAX value

See merge request espressif/esp-idf!29795
2024-03-25 11:56:49 +08:00
Armando
ec44556a07 feat(sd): added power control driver and implementation layer with ldo 2024-03-25 11:32:56 +08:00
Jin Cheng
82542d2e96 feat(bt/bluedroid): added a VSC to set minimal encryption key size 2024-03-25 10:50:06 +08:00
Armando (Dou Yiwen)
f886bbc848 Merge branch 'bugfix/add_unaligned_check_to_mysnc_api' into 'master'
cache: add unaligned check to mysnc api

Closes IDF-9520

See merge request espressif/esp-idf!29674
2024-03-25 10:17:55 +08:00
Marius Vikhammer
5154be52ac Merge branch 'bugfix/yield_issue_c5' into 'master'
fix(interrupt): fixed exit critical section on P4/C5

See merge request espressif/esp-idf!29798
2024-03-24 14:30:15 +08:00
Marius Vikhammer
be839733ed fix(interrupt): fixed exit critical section on P4/C5
When adjusting the interrupt level treshold on P4/C6 during a critical section exit
it would take a few cycles before this is taken into account by the CPU.

This meant that under some circumstances, e.g. 02, we could do
yield()->vPortExitCritical()->vPortEnterCritical()
without getting rescheduled.
This causes issues for freertos as it assumes the task will not continue into the
vPortEnterCritical before the scheduler has schedulded it again.

This meant that e.g. xTaskNotifyWait would yield, but then immeditaly continue as if
it was already notified.
2024-03-24 13:13:42 +08:00
Fu Hanxi
821d3e2cee Merge branch 'ci/test_improve_ccache_hits' into 'master'
ci: improve ccache hits

See merge request espressif/esp-idf!29406
2024-03-24 02:00:41 +08:00
morris
79897ccd10 Merge branch 'feature/fast_gpio_esp32p4' into 'master'
feat(fast_gpio): support fast GPIO and glitch filter on esp32p4

Closes IDF-7552, IDF-8974, IDF-7721, and IDF-7481

See merge request espressif/esp-idf!28642
2024-03-23 22:25:58 +08:00
Konstantin Kondrashov
3df89ebee7 Merge branch 'feature/ipc_noblocking_call' into 'master'
feat(ipc): Adds a new no blocking IPC call

Closes IDF-7972 and IDFGH-11879

See merge request espressif/esp-idf!28157
2024-03-23 04:46:57 +08:00
KonstantinKondrashov
8dc21afcfe fix(spi_flash): Fix stuck during flash operation
When a task was not pinned to a certain CPU.
2024-03-22 19:49:42 +02:00
KonstantinKondrashov
a3bfb3f857 feat(ipc): Adds a new no blocking IPC call 2024-03-22 19:49:42 +02:00
Rahul Tank
004b037743 Merge branch 'bugfix/add_peer_addr_field_for_ext' into 'master'
fix(nimble): Correctly handle auto connection flag for extended connect

Closes BLERP-633

See merge request espressif/esp-idf!29726
2024-03-22 19:51:00 +08:00
Mo Fei Fei
6f5c960684 Merge branch 'docs/update_cn_trans_spiffs' into 'master'
docs: update cn trans for spiffs.rst

Closes DOC-7305

See merge request espressif/esp-idf!29758
2024-03-22 18:55:45 +08:00
Darian Leung
64f5d7d983 refactor(usb/host): Simplify USBH and Hub interaction
Previously, on a device disconnection, the USBH and Hub would the require the
following 2-way interaction:

- Hub -> usbh_hub_pass_event() -> USBH to indicate a port error
- USBH -> usbh_hub_req_cb_t -> Hub to request port recovery after the device
has been freed.

The 2-way interaction has been simplified:

- USBH now nofities upper layers of devices being freed via the
USBH_EVENT_DEV_FREE event
- Hub now handles port recovery only after a device has been freed
2024-03-22 18:14:50 +08:00
Song Ruo Jing
90a3107bfd fix(gpio): add workaround to ensure correct IO drive strength for C3 and S3 2024-03-22 18:06:29 +08:00
Konstantin Kondrashov
8d6562d1f1 Merge branch 'feature/c5_c61_efuse_update' into 'master'
feat(efuse): Update efuses for C5 and C61

Closes IDF-8629 and IDF-8674

See merge request espressif/esp-idf!29627
2024-03-22 18:02:37 +08:00
Ondrej Kosta
f7984936e3 Merge branch 'bugfix/eth_l2_test_conn_wait_tmo' into 'master'
ci(esp_eth): increased L2 test wait for connection timeout

See merge request espressif/esp-idf!29576
2024-03-22 17:49:53 +08:00
harshal.patil
0b16999093 fix(mbedtls/aes): Remove ESP_CACHE_MSYNC_FLAG_UNALIGNED flag for the cache M2C operation 2024-03-22 14:45:34 +05:30
morris
529b6bf97c fix(ana_cmpr): fix wrong set up in the etm test case 2024-03-22 17:13:19 +08:00
morris
ddece8f7e9 feat(glitch_filter): support GPIO glitch filter on esp32p4 2024-03-22 17:13:19 +08:00
morris
f71044c877 feat(fast_gpio): support CPU controlled fast GPIO driver on esp32p4 2024-03-22 17:13:19 +08:00
Song Ruo Jing
3da77e2d1b fix(uart): correct C2 UART_BITRATE_MAX value 2024-03-22 16:24:24 +08:00
mofeifei
0a274639a8 docs: update cn trans for spiffs.rst 2024-03-22 16:13:45 +08:00
Guillaume Souchere
573bd1bcc9 Merge branch 'feat/add-heap-walker-api' into 'master'
feat(heap): Add walker to the heap component

Closes IDF-9189

See merge request espressif/esp-idf!29047
2024-03-22 15:58:34 +08:00
Roman Leonov
de2486bff0 Merge branch 'refactor/usb_host_hub_driver_state' into 'master'
refactor(usb_host): Renamed hub driver_state to root_port_state

See merge request espressif/esp-idf!29788
2024-03-22 15:43:16 +08:00
Armando
905b427479 test(cache): added test for M2C with ESP_CACHE_MSYNC_FLAG_UNALIGNED 2024-03-22 15:38:50 +08:00
Armando
9e36994a7b bugfix(cache): don't allow M2C direction ESP_CACHE_MSYNC_FLAG_UNALIGNED 2024-03-22 15:38:50 +08:00
Kevin (Lao Kaiyao)
d7d4229b7b Merge branch 'bugfix/fix_public_header_check_of_mpi_on_c5mp' into 'master'
fix(mpi): fix the public header check for esp32c5 mp

See merge request espressif/esp-idf!29796
2024-03-22 15:08:46 +08:00
morris
5126526ffc Merge branch 'bugfix/mipi_dsi_write_back_size_check' into 'master'
docs: Add MIPI DSI API reference

Closes IDF-7714

See merge request espressif/esp-idf!29768
2024-03-22 14:17:45 +08:00
laokaiyao
31b01005f8 fix(mpi): fix the public header check for esp32c5 mp 2024-03-22 14:15:41 +08:00
Jakob Hasse
112e7f1085 Merge branch 'refactor/console_sorted_help' into 'master'
refactor(console): made help command sorting depend on Kconfig option

Closes IDF-9406

See merge request espressif/esp-idf!29593
2024-03-22 14:01:35 +08:00
Jiang Jiang Jian
52380e3052 Merge branch 'bugfix/wps_reg_regression' into 'master'
fix(esp_wifi): Fixed regression caused by fe35466c when wpa_supplicant debug logs enabled (!28521)

See merge request espressif/esp-idf!29753
2024-03-22 13:53:18 +08:00
Kevin (Lao Kaiyao)
4cd30f9b8f Merge branch 'feature/esp32c5_mp_bringup' into 'master'
feat(esp32c5): bringup esp32c5 mp (Stage 7/7: hello world)

See merge request espressif/esp-idf!29093
2024-03-22 11:18:52 +08:00
Chen Yudong
c48eb1055b feat: move iperf to component registry 2024-03-22 10:53:24 +08:00
Mahavir Jain
cdc1a2551b Merge branch 'feature/enable_rsa_support_for_c5' into 'master'
feat: enable RSA support for c5

See merge request espressif/esp-idf!29189
2024-03-22 10:10:47 +08:00
Konstantin Kondrashov
25bc10e143 feat(efuse): Update efuses for C5 and C61 2024-03-21 18:37:46 +02:00
Jiang Jiang Jian
be06a6f5ff Merge branch 'bugfix/fix_softap_coex_start_issue' into 'master'
fix(wifi): fix softap coex start issue, no wifi request if wifi is not used at idle

See merge request espressif/esp-idf!29772
2024-03-21 21:22:54 +08:00
Alexey Lapshin
0e3673a2bd Merge branch 'feature/esp32p4-coredump-support' into 'master'
esp32p4: panic tests support

Closes IDF-7565, IDF-7861, IDF-9035, and IDF-9075

See merge request espressif/esp-idf!28586
2024-03-21 21:12:25 +08:00
Jiang Jiang Jian
9971413b60 Merge branch 'feature/eap_tls_v1.3_support' into 'master'
wpa_supplicant: Add TLS v1.3 support in WiFi Enterprise Authentication

Closes WIFI-6135

See merge request espressif/esp-idf!24975
2024-03-21 21:10:38 +08:00
Roman Leonov
b90c7e585a refactor(usb_host): Renamed hub_driver_state to root_port_state 2024-03-21 13:16:28 +01:00
Alexey Lapshin
e845d9e0eb feat(esp_system): allow .data to spill over into L2MEM above 0x4ff40000
It may be usefull when .rodata placed into .dram1.data
2024-03-21 15:36:39 +04:00
Alexey Lapshin
cb82161dae feat(system): esp32p4: support panic tests 2024-03-21 15:36:36 +04:00
liuning
81b86f657c fix(wifi): fix softap coex start issue, no wifi request if wifi is not used at idle 2024-03-21 19:35:27 +08:00
Wan Lei
cfcdacaaac Merge branch 'feature/spi_dma_segmented_configure_transfer' into 'master'
feat(spi_master): new feature dma controlled segmented configure transfer(sct) mode (part_1)

Closes IDF-4998

See merge request espressif/esp-idf!22684
2024-03-21 18:50:03 +08:00
Alexey Lapshin
13b55386bf feat(system): esp32p4: support hw stack guard 2024-03-21 14:30:21 +04:00
morris
7d37e5655c docs(lcd): add api reference for mipi dsi lcd
docs(lcd): add api reference for mipi dsi lcd
2024-03-21 18:19:58 +08:00
morris
f4ff026e3e change(mipi_dsi): allow cache sync with unaligned size 2024-03-21 18:19:58 +08:00
Tomas Rezucha
ba1ce22b6c Merge branch 'fix/usb_uvc_example_p4' into 'master'
USB Host UVC example fixes for P4

Closes IEC-94, IDF-4942, and IDF-6505

See merge request espressif/esp-idf!29560
2024-03-21 17:47:51 +08:00
Wan Lei
751d50a19a Merge branch 'feat/c6lite_c61_system_step5' into 'master'
feat(esp32c61): system and esp_timer related support (stage 5/8)

See merge request espressif/esp-idf!29652
2024-03-21 17:25:37 +08:00
C.S.M
eeb9aa988c Merge branch 'bugfix/fix_i2c_timing_accuracy' into 'master'
fix(i2c_master): Fix issue that i2c clock got wrong after clearing bus

Closes IDFGH-12366

See merge request espressif/esp-idf!29715
2024-03-21 16:45:50 +08:00
Jakob Hasse
0b246b8c0b refactor(console): made help command sorting depend on Kconfig option 2024-03-21 16:33:44 +08:00
laokaiyao
5a4f040def ci(esp32c5): support to build template app for beta3 and mp 2024-03-21 16:19:21 +08:00
laokaiyao
c9d6a11d1d feat(esp32c5mp): support to run hello world on esp32c5 mp 2024-03-21 16:18:03 +08:00
Frantisek Hrbata
359af26736 fix: mark .exception_vectors* as executable and allocatable
It seems gcc is not producing debug information for sections which
are not properly marked as "ax", resulting in missing debug info
for _vector_table, _interrupt_handler and _panic_handler. This can be
verified e.g. with

readelf --debug=info ./build/esp-idf/riscv/CMakeFiles/__idf_riscv.dir/vectors.S.obj
readelf -SW ./build/esp-idf/riscv/CMakeFiles/__idf_riscv.dir/vectors.S.obj

for hello_world example on esp32c3 target. Mark the .exception_vectors.text and
.exception_vectors_table.text sections as writable and allocatable so the debug
info sections are generated.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-03-21 08:53:09 +01:00
Fu Hanxi
745ec15c2b ci: check idf version excluding qa tags 2024-03-21 08:40:13 +01:00
Rahul Tank
0883569b6f fix(nimble): Handle auto connection flag for extended connect 2024-03-21 12:33:50 +05:30
Guillaume Souchere
39f789df93 feat(esp_rom): patch heap walker to the ROM implementation
modify existing patch of TLSF rom and add multi heap patch
to add the walker feature to the ROM implementation of the
heap component.
2024-03-21 07:41:04 +01:00
Cao Sen Miao
c0e5f2b73a fix(i2c_master): Fix issue that i2c clock got wrong after reset,
Closes https://github.com/espressif/esp-idf/issues/13397
2024-03-21 13:13:53 +08:00
Rahul Tank
22ee3e8aa6 Merge branch 'bugfix/bonding_across_reboot' into 'master'
fix(nimble): Added support for deleting the oldest bonded device across reboot

See merge request espressif/esp-idf!29612
2024-03-21 12:00:42 +08:00
morris
1f6abf9e7b Merge branch 'feature/mipi_dcs_short_packet' into 'master'
feat(mipi_dsi): use DCS short packet when possible

Closes IDF-9349

See merge request espressif/esp-idf!29441
2024-03-21 11:46:01 +08:00
wanlei
a611e91b2f feat(esp32c61): new chip add system and esp_timer support 2024-03-21 11:31:15 +08:00
Jakob Hasse
25400ca351 Merge branch 'feature/log_priusize_macro' into 'master'
feat(log): Added PRIuSIZE printf formatter macro

See merge request espressif/esp-idf!29725
2024-03-21 10:41:49 +08:00
Jakob Hasse
f482a9153a Merge branch 'fix/add_libbsd_string_h' into 'master'
refactor(linux): Unified libbsd handling

See merge request espressif/esp-idf!29457
2024-03-21 10:11:25 +08:00
Roland Dobai
22b5f69f7b Merge branch 'refactor/idf_tools_version' into 'master'
refactor(idf_tools): IDF version is acquired only from version or header file

Closes IDFGH-12354

See merge request espressif/esp-idf!29711
2024-03-20 20:12:51 +08:00
Roland Dobai
5da7c6e3b2 Merge branch 'docs/docker_groupid' into 'master'
docs(docker): add note about group ID when host device is added to container

Closes IDFGH-12342

See merge request espressif/esp-idf!29717
2024-03-20 19:54:39 +08:00
Frantisek Hrbata
6554cac7dc docs(docker): add note about group ID when host device is added to container
Closes https://github.com/espressif/esp-idf/issues/13373

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-03-20 11:15:36 +01:00
Xu Si Yu
fd78d418dd feat(openthread): add max csmabackoffs for transmission 2024-03-20 18:00:33 +08:00
Fu Hanxi
b47c9e9c21 Merge branch 'ci/support_full_pipeline_by_components' into 'master'
CI: Support full pipeline by components

See merge request espressif/esp-idf!29760
2024-03-20 17:53:32 +08:00
Fu Hanxi
7928f46f2d ci: use host mapping volumes to improve the ccache hits 2024-03-20 17:26:19 +08:00
Fu Hanxi
6acd57df02 ci: support trigger full pipeline by components 2024-03-20 10:03:48 +01:00
Jakob Hasse
e4aa326c3a feat(log): Added PRIuSIZE printf formatter macro 2024-03-20 16:41:22 +08:00
wanlei
51ffd40843 feat(spi_master): rebase dma sct mode support, rename APIs, use malloc conf_buffer 2024-03-20 16:06:43 +08:00
Sudeep Mohanty
4f3cd0deb9 Merge branch 'fix/freertos_task_c_add_coverity_fix' into 'master'
fix(freertos): Fixed an issue where accessing task lists could overrun memory

Closes IDF-9412

See merge request espressif/esp-idf!29746
2024-03-20 15:54:39 +08:00
wanlei
a307096ec0 spi_master: sct mode supported on c6 2024-03-20 15:42:03 +08:00
wanlei
1e6c61daa6 spi_master: sct mode support set line mode, transaction interval time
support line mode 1-2-4-8 depend on targets.
fix sct mode dma descriptor counter compute issue.
add conf_bits_len setting API to control interval time.
2024-03-20 15:42:03 +08:00
Armando
30760a95bb spi_master: spi master sct test app 2024-03-20 15:42:03 +08:00
Armando
b303e4b7a6 spi_master: new segmented-configure-transfer mode 2024-03-20 15:42:03 +08:00
Fu Hanxi
1f3160cd78 Merge branch 'fix/component_manager_load_all_local_components' into 'master'
fix: component manager load all component dirs even set(COMPONENTS ...)

Closes PACMAN-771

See merge request espressif/esp-idf!28797
2024-03-20 15:38:10 +08:00
Guillaume Souchere
34fb83ffbc feat(heap): Add return value to walker callback
This return value is used by the tlsf_walk_pool
function to be notified of the need to interrupt
the ongoing traversal of the currently traversed
heap.
2024-03-20 08:33:48 +01:00
Guillaume Souchere
5cc69ce12b feat(heap): Add walker to the heap component
Introduce new APIs in essp_heap_caps.h:
- heap_caps_walk()
- heap_caps_walk_all()

Those functions are triggering a callback for all blocks
(allocated or free) of memory present in heaps meeting
the set of capabilities passed as parameter (or all heaps
for heap_caps_walk_all() function)

test_walker.c added to test the new functionality in
test_apps/heap_test/
2024-03-20 08:33:48 +01:00
Harshal Patil
03756359b2 Merge branch 'update/qemu_release_versions' into 'master'
Update QEMU release versions

See merge request espressif/esp-idf!29706
2024-03-20 14:26:07 +08:00
cjin
af94db4934 fix(ble): fix ci ble powe save test addresss error 2024-03-20 14:12:59 +08:00
Sarvesh Bodakhe
72f0c47526 fix(esp_wifi): Fix regression caused by fe35466c when supplicant logs enabled 2024-03-20 10:53:30 +05:30
Sarvesh Bodakhe
1d71178193 fix(wpa_supplicant): Add bugfixes related to ciphersuites in wifi enterprise
- Avoid downgrading TLS ciphersuites when client RSA keys are larger than RSA-2048 bit.
- Note that when using bigger certificates on low-power chips without crypto
  hardware acceleration, it is recommended to adjust the task watchdog timer (TWDT)
  if it is enabled. For precise information on timing requirements, you can check
  performance numbers at https://github.com/espressif/mbedtls/wiki/Performance-Numbers.
2024-03-20 09:33:52 +05:30
Sarvesh Bodakhe
05b882baea fix(wpa_supplicant): Update cipher suite list for TLSv1.3 suiteb and some refactoring
- Use MBEDTLS_TLS1_3_AES_256_GCM_SHA384 cipher for TLSv1.3-suiteb
- Call psa_crypto_init() in tls_connection_init() to reduce redundancy
2024-03-20 09:33:52 +05:30
Sarvesh Bodakhe
5903e9ea2b feat(wpa_supplicant): Make CONFIG_ESP_WIFI_EAP_TLS1_3 an experimental feature 2024-03-20 09:33:52 +05:30
Sarvesh Bodakhe
5ce95cae91 fix(esp_wifi): Enable Server certificate validation when using mbedtls TLS v1.3
In TLS v1.2, It was possible to disable server certificate validation simply by using
API 'mbedtls_ssl_conf_authmode'. But this behaviour is changed in TLS v1.3. We can not
disable server certificate validation in TLS v1.3 using this API anymore.

For more details, refer https://github.com/Mbed-TLS/mbedtls/issues/7075
2024-03-20 09:33:52 +05:30
Sarvesh Bodakhe
ec09cdf885 feat(wpa_supplicant): Add TLS v1.3 support for WiFi enterprise
* Add TLS v1.3 support for following EAP methods:
  - EAP-TLS  (RFC 9190)
  - EAP-PEAP (RFC 9427)
  - EAP-TTLS (RFC 9427)
* Add mbedtls porting for TLS v1.3 exporter (RFC 8446 Section 7.5)
* Add new Kconfig flag to enable TLS v1.3 for EAP methods
* Advertise TLS v1.3 signature algorithms if TLS 1.3 is enabled for EAP
  methods
* Advertise TLS v1.3 cipher suites if CONFIG_ESP_WIFI_EAP_TLS1_3 enabled
* Add support to Ack protected success indication
  (workaround for EAP-TLS 1.3 and 1.2 compatibilty)
2024-03-20 09:33:52 +05:30
Glenn Strauss
b3e4aae7bb TLS: Fix unsigned int underflow in internal TLS 1.0/1.1 implementation
Taking sizeof(ptr) is incorrect to determine size of passed in hash and
results in hlen getting set to a very large value since MD5_MAC_LEN >
sizeof(ptr). Provide the actual size of the hash buffer from the caller
to fix this.

tls_key_x_server_params_hash() callers src/tls/tlsv1_client_read.c and
src/tls/tlsv1_server_write.c both pass in a large enough hash (hash[64]
or hash[100]) that this does not appear to have an impact, though it is
still wrong.

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2024-03-20 09:33:52 +05:30
Glenn Strauss
b58dbf2808 Update tls_connection_set_verify() documentation to verify_peer=2
This new value was added to verify peer certificate if it is provided,
but not reject the TLS handshake if no peer certificate is provided.

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2024-03-20 09:33:52 +05:30
Jouni Malinen
8ff4837830 Fix tls_connection_set_success_data() in TLS library wrappers
Some of the TLS library wrappers defined only an empty function for
tls_connection_set_success_data(). That could result in memory leaks in
TLS server cases, so update these to do the minimal thing and free the
provided buffer as unused.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
2024-03-20 09:33:52 +05:30
Jouni Malinen
6658c3ed63 Remove useless DH file configuration from TLS library wrappers
These operations do not really have any effect since
tls_connection_set_params() is used only in the TLS client case and the
client receives the DH parameters from the server instead of local
configuration.

Signed-off-by: Jouni Malinen <j@w1.fi>
2024-03-20 09:33:52 +05:30
Jouni Malinen
89fc940ec0 EAP-TLS: Do not allow TLSv1.3 success without protected result indication
RFC 9190 requires protected result indication to be used with TLSv1.3,
so do not allow EAP-TLS to complete successfully if the server does not
send that indication.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
2024-03-20 09:33:52 +05:30
Jouni Malinen
98183fe062 EAP-TLS: Replace the Commitment Message term with RFC 9190 language
While the drafts for RFC 9190 used a separate Commitment Message term,
that term was removed from the published RFC. Update the debug prints to
match that final language.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
2024-03-20 09:33:52 +05:30
Jouni Malinen
9cb8c0545f EAP-TLS: Update specification references to RFC 5216 and 9190
The previously used references were pointing to an obsoleted RFC and
draft versions. Replace these with current versions.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
2024-03-20 09:33:52 +05:30
Alexander Clouter
b17d6a1b3a EAP-TTLS peer: Handle Commitment Message for TLS 1.3
Recognize the explicitly defined Commitment Message per
draft-ietf-emu-eap-tls13-13 at the conclusion of the EAP-TTLS with TLS
1.3.

Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
2024-03-20 09:33:52 +05:30
Alexander Clouter
65248148f0 EAP-TLS peer: Handle Commitment Message for TLS 1.3
Recognize the explicitly defined Commitment Message per
draft-ietf-emu-eap-tls13-13 at the conclusion of the EAP-TLS with TLS
1.3.

Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
2024-03-20 09:33:52 +05:30
Alexander Clouter
a5ee253d62 EAP: Extend Session-Id derivation with TLS 1.3 to PEAP and EAP-TTLS
This newer Session-Id/Method-Id derivation is used with PEAP and
EAP-TTLS when using TLS 1.3 per draft-ietf-emu-tls-eap-types-00, so do
not limit this to only EAP-TLS.

Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
2024-03-20 09:33:52 +05:30
Alexander Clouter
42e37285e5 EAP-TTLS: Key derivation per draft-ietf-emu-tls-eap-types-00
Use the TLS-Exporter with the label and context as defined in
draft-ietf-emu-tls-eap-types-00 when deriving keys for EAP-TTLS with TLS
1.3.

Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
2024-03-20 09:33:52 +05:30
Alexander Clouter
0d90484018 EAP-PEAP: Key derivation per draft-ietf-emu-tls-eap-types-00
Use the TLS-Exporter with the label and context as defined in
draft-ietf-emu-tls-eap-types-00 when deriving keys for PEAP with TLS
1.3.

Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
2024-03-20 09:33:52 +05:30
Alexander Clouter
252dd1b976 EAP-TTLS/PEAP peer: Fix failure when using session tickets under TLS 1.3
EAP peer does not expect data present when beginning the Phase 2 in
EAP-{TTLS,PEAP} but in TLS 1.3 session tickets are sent after the
handshake completes.

There are several strategies that can be used to handle this, but this
patch picks up from the discussion[1] and implements the proposed use of
SSL_MODE_AUTO_RETRY. SSL_MODE_AUTO_RETRY has already been enabled by
default in OpenSSL 1.1.1, but it needs to be enabled for older versions.

The main OpenSSL wrapper change in tls_connection_decrypt() takes care
of the new possible case with SSL_MODE_AUTO_RETRY for
SSL_ERROR_WANT_READ to indicate that a non-application_data was
processed. That is not really an error case with TLS 1.3, so allow it to
complete and return an empty decrypted application data buffer.
EAP-PEAP/TTLS processing can then use this to move ahead with starting
Phase 2.

[1] https://www.spinics.net/lists/hostap/msg05376.html

Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
2024-03-20 09:33:52 +05:30
Jouni Malinen
a5b01a93ff EAP-TTLS peer: Support vendor EAP method in Phase 2
The implementation was previously hardcoded to use only the non-expanded
IETF EAP methods in Phase 2. Extend that to allow vendor EAP methods
with expanded header to be used.

Signed-off-by: Jouni Malinen <j@w1.fi>
2024-03-20 09:33:52 +05:30
Jouni Malinen
a9170c6a20 EAP-TLS peer: Handle possible application data at the end
EAP-TLS with TLS 1.3 uses an empty application data record from the
server to indicate end of the exchange, so EAP-TLS peer will need to
check for this special case and finish the exchange with an empty
EAP-TLS (ACK) so that the server can send out EAP-Success.

Signed-off-by: Jouni Malinen <j@w1.fi>
2024-03-20 09:33:52 +05:30
Ervin Oro
caf49e8c10 Add Type-Code context to EAP-TLS 1.3 exported Key_Material and Method-Id
Change to require the Type-Code in context for Key_Material and
Method-Id has now been published as draft-ietf-emu-eap-tls13-04.
https://tools.ietf.org/html/draft-ietf-emu-eap-tls13-04#section-2.3

Signed-off-by: Ervin Oro <ervin.oro@aalto.fi>
2024-03-20 09:33:52 +05:30
Sarvesh Bodakhe
886bf9e82f feat(wpa_supplicant): Add support for RFC 5705 TLS exporter context with mbedTLS 2024-03-20 09:33:52 +05:30
Ervin Oro
562bc59576 Add support for an optional context parameter to TLS exporter
Allow an additional context value to be passed to TLS exporter as
specified in RFC 5705 section 4.

This does not yet implement it for the internal TLS implementation.
However, as currently nothing uses context yet, this will not break
anything right now. WolfSSL maintainers also stated that they are not
going to add context support yet, but would look into it if/when this is
required by a published draft or a standard.

Signed-off-by: Ervin Oro <ervin.oro@aalto.fi>
2024-03-20 09:33:52 +05:30
Jouni Malinen
1e38fa2c12 EAP peer: Clear temporary message buffers before freeing
These buffers in TLS-based EAP methods might contain keys or password
(e.g., when using TTLS-PAP or PEAP-GTC), so clear them explicitly to
avoid leaving such material into heap memory unnecessarily.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2024-03-20 09:33:52 +05:30
Jouni Malinen
aa987d418e EAP-PEAP: Derive EMSK and use 128-octet derivation for MSK
Derive EMSK when using EAP-PEAP to enable ERP. In addition, change the
MSK derivation for EAP-PEAP to always derive 128 octets of key material
instead of the 64 octets to cover just the MSK. This is needed with the
PRF used in TLS 1.3 since the output length is mixed into the PRF
context.

Signed-off-by: Jouni Malinen <j@w1.fi>
2024-03-20 09:33:52 +05:30
Jouni Malinen
f4d7329ae6 EAP peer: Clear keying material on deinit
Reduce the amount of time keying material (MSK, EMSK, temporary private
data) remains in memory in EAP methods. This provides additional
protection should there be any issues that could expose process memory
to external observers.

Signed-off-by: Jouni Malinen <j@w1.fi>
2024-03-20 09:33:52 +05:30
Jouni Malinen
bb16734aa9 EAP-TLS: Update Session-Id derivation with TLS v1.3
Move to the version used in draft-ietf-emu-eap-tls13-03.txt, i.e.,
include the 0x0D prefix and use a different TLS-Exporter() label string.

Signed-off-by: Jouni Malinen <j@w1.fi>
2024-03-20 09:33:52 +05:30
Jouni Malinen
ed8452d53f EAP-TLS: Derive Session-Id using TLS-Exporter when TLS v1.3 is used
This updates Session-Id derivation with TLS v1.3 per
draft-ietf-emu-eap-tls13-00.

Signed-off-by: Jouni Malinen <j@w1.fi>
2024-03-20 09:33:51 +05:30
Jouni Malinen
a2336b74f9 EAP-TLS: Update key derivation label per draft-ietf-emu-eap-tls13-00
The label strings used for deriving Key_Material with TLS v1.3 were
changed, so update the implementation to match the new values.

Signed-off-by: Jouni Malinen <j@w1.fi>
2024-03-20 09:33:51 +05:30
Jouni Malinen
e9f6949d7e EAP-TLS peer: MSK/EMSK derivation with TLS v1.3
Use new MSK/EMSK derivation mechanism if TLS v1.3 or newer is used per
draft-mattsson-eap-tls13-02.txt.

Signed-off-by: Jouni Malinen <j@w1.fi>
2024-03-20 09:33:51 +05:30
Jouni Malinen
34a8628d4e EAP-TLS peer: Allow NewSessionTicket after Client Finished with TLS v1.3
The EAP session cannot be marked fully completed on sending Client
Finished with TLS v1.3 since the server may still send NewSessionTicket
before EAP-Success.

Signed-off-by: Jouni Malinen <j@w1.fi>
2024-03-20 09:33:51 +05:30
Jouni Malinen
6a83540ae0 EAP-TLS peer: Support fragmentation of last message
With TLS v1.3, the Finished message from the client can require
fragmentation. Postpone key derivation and marking of the EAP session
fully completed until all the fragments of that last message are sent to
avoid losing all the subsequent fragments.

Signed-off-by: Jouni Malinen <j@w1.fi>
2024-03-20 09:33:51 +05:30
Jouni Malinen
77d87edbb2 EAP-TLS peer: Determine whether TLS v1.3 or newer is used
This is needed to be able to handle different key derivation and message
handshakes in EAP implementation.

Signed-off-by: Jouni Malinen <j@w1.fi>
2024-03-20 09:33:48 +05:30
Ilan Peer
a539c63d68 EAP-TTLS: Fix possible memory leak in eap_ttls_phase2_request_mschap()
The msg buffer needs to be freed on these two error paths.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
2024-03-20 09:32:32 +05:30
Jouni Malinen
5c0fb10902 EAP peer: External server certificate chain validation
This adds support for optional functionality to validate server
certificate chain in TLS-based EAP methods in an external program.
wpa_supplicant control interface is used to indicate when such
validation is needed and what the result of the external validation is.

This external validation can extend or replace the internal validation.
When ca_cert or ca_path parameter is set, the internal validation is
used. If these parameters are omitted, only the external validation is
used. It needs to be understood that leaving those parameters out will
disable most of the validation steps done with the TLS library and that
configuration is not really recommend.

By default, the external validation is not used. It can be enabled by
addingtls_ext_cert_check=1 into the network profile phase1 parameter.
When enabled, external validation is required through the CTRL-REQ/RSP
mechanism similarly to other EAP authentication parameters through the
control interface.

The request to perform external validation is indicated by the following
event:
CTRL-REQ-EXT_CERT_CHECK-<id>:External server certificate validation needed for SSID <ssid>

Before that event, the server certificate chain is provided with the
CTRL-EVENT-EAP-PEER-CERT events that include the cert=<hexdump>
parameter. depth=# indicates which certificate is in question (0 for the
server certificate, 1 for its issues, and so on).

The result of the external validation is provided with the following
command:
CTRL-RSP-EXT_CERT_CHECK-<id>:<good|bad>

It should be noted that this is currently enabled only for OpenSSL (and
BoringSSL/LibreSSL). Due to the constraints in the library API, the
validation result from external processing cannot be reported cleanly
with TLS alert. In other words, if the external validation reject the
server certificate chain, the pending TLS handshake is terminated
without sending more messages to the server.

Signed-off-by: Jouni Malinen <j@w1.fi>
2024-03-20 09:32:32 +05:30
Jin Cheng
45af060963 change(bt/bluedroid): Use BTC util to convert HCI status to ESP status 2024-03-20 10:38:44 +08:00
Wan Lei
a7355d3aba Merge branch 'feat/c6lite_c61_g0_component_s4' into 'master'
feat(esp32c61): add G0 component (hal, riscv) support (stage 4/8)

See merge request espressif/esp-idf!29551
2024-03-20 10:09:42 +08:00
Darian
53e3833f44 Merge branch 'refactor/usb_fsls_phy_hal' into 'master'
refactor(hal/usb): Update USB PHY related HAL/LL API

See merge request espressif/esp-idf!29659
2024-03-20 06:07:29 +08:00
Jiang Jiang Jian
8a06233051 Merge branch 'feature/updates_for_wpa3_spec_v3.3' into 'master'
feat(esp_wifi): Update Wi-Fi WPA3 authmodes as per WPA Specification v3.3

See merge request espressif/esp-idf!29608
2024-03-20 02:31:01 +08:00
Alexey Lapshin
00b55a654c Merge branch 'feature/cleanup-linker-scripts' into 'master'
feat(system): refactor linker scripts

See merge request espressif/esp-idf!29515
2024-03-20 02:25:11 +08:00
Darshan Dobariya
e0e89b8bde fix(nimble): Added support for deleting the oldest bonded device across reboot 2024-03-19 22:26:22 +05:30
Sudeep Mohanty
42c935e2c3 fix(freertos): Fixed an issue where accessing task lists could overrun memory
This commit fixes a potential issue of illegal memory access when
accessing the various task lists in FreeRTOS while fetching tasks using
the xTaskGetNext() function.
2024-03-19 17:33:18 +01:00
Rahul Tank
dd737f9821 Merge branch 'bugfix/fixed_task_invokation_after_pairing' into 'master'
fix(nimble): Fixed the call to ble_hid_task_startup after pairing

See merge request espressif/esp-idf!29655
2024-03-19 23:26:27 +08:00
Sudeep Mohanty
ca07ef3837 Merge branch 'contrib/github_pr_13180' into 'master'
ulp_riscv_print: Add convenience function that supports different widths (GitHub PR)

Closes IDFGH-12124

See merge request espressif/esp-idf!29716
2024-03-19 22:52:50 +08:00
Ivan Grokhotkov
5fee4b0f72 Merge branch 'feature/move_fatfs_scripts_to_storage' into 'master'
feat(storage/fatfs): move fatfs related scripts under control of the storage team

Closes IDF-9544

See merge request espressif/esp-idf!29738
2024-03-19 22:51:29 +08:00
Jakub Kocka
3ad5e5c722 refactor(idf_tools): IDF version is acquired only from version or header file
Closes https://github.com/espressif/esp-idf/issues/13385
2024-03-19 15:40:45 +01:00
Song Ruo Jing
34f05287ab Merge branch 'bugfix/dma2d_various_small_fixes' into 'master'
fix(dma2d): correct a few 2D-DMA driver issues

See merge request espressif/esp-idf!29705
2024-03-19 21:36:45 +08:00
Ondrej Kosta
9d0b8d62b0 Merge branch 'feature/emac_intr_prio' into 'master'
feat(esp_eth): added option to configure interrupt priority

Closes IDF-7969

See merge request espressif/esp-idf!29300
2024-03-19 21:09:30 +08:00
Tomáš Rohlínek
a17ef2f8d8 feat(storage/fatfs): move fatfs related scripts under control of the storage team 2024-03-19 13:36:40 +01:00
Fu Hanxi
129eb33dd8 Merge branch 'ci/run_full_pipeline_while_testing_constraint_file' into 'master'
CI: run full pipeline while testing constraint file

See merge request espressif/esp-idf!29731
2024-03-19 20:17:31 +08:00
Fu Hanxi
74843a442b fix: component manager load all component dirs even set(COMPONENTS ...) 2024-03-19 19:52:20 +08:00
Fu Hanxi
d2542dd5c5 test: improve test_dependency_lock test case 2024-03-19 19:52:20 +08:00
Roshan Bangar
23c702cdc1 fix(nimble): Fix compilation issues and Minor enhancements to esp_hid 2024-03-19 16:27:17 +05:30
Rahul Tank
1a9f9d69ea Merge branch 'bugfix/compilation_issue_on_disabling_security' into 'master'
fix(nimble): Fixed compilation issues on disabling security

See merge request espressif/esp-idf!29582
2024-03-19 17:44:50 +08:00
Jiang Jiang Jian
5f969c71be Merge branch 'bugfix/dpp_auth_deinit_crash' into 'master'
Fix issues with DPP stop listen and DPP auth data deinit

Closes WIFIBUG-443, WIFIBUG-442, WIFIBUG-421, and WIFIBUG-423

See merge request espressif/esp-idf!29404
2024-03-19 17:36:28 +08:00
Alexey Lapshin
40be44f827 feat(system): refactor linker scripts
- move .tbss to NOLOAD section
- remove xtensa-specific entities from riscv scripts
- explicit eh_frame terminator instead of "align magic"
- 80 characters line length limit
- refactor comments
- discard .rela sections (the rela data will go to relates sections)
2024-03-19 13:27:11 +04:00
Kevin (Lao Kaiyao)
a77a7ab550 Merge branch 'feature/add_system_components_to_esp32c5mp' into 'master'
feat(esp32c5mp): add system related components (Stage 5/7)

See merge request espressif/esp-idf!29603
2024-03-19 16:48:56 +08:00
Fu Hanxi
5de124f777 ci: run full pipeline while testing constraint file 2024-03-19 09:47:21 +01:00
Dr. Michael Lauer
08dead4b31 feat(ulp-riscv): Add convenience print function that supports different widths
This commit adds a convenience function to print hex numbers of
different widths on the ULP RISC-V core.

Closes https://github.com/espressif/esp-idf/pull/13180
2024-03-19 09:41:05 +01:00
Tomas Rohlinek
f8054b1e66 Merge branch 'fix/wl_fatfsgen_safe_mode' into 'master'
fix(storage/fatfs): make wl_fatfsgen.py safe mode aware

Closes IDF-9379

See merge request espressif/esp-idf!29621
2024-03-19 16:19:24 +08:00
nilesh.kale
b11f286555 feat(esp_system/esp32c5): revised cypto clock to be used
This commit updated crypto clock to use 160M SPLL clock
2024-03-19 13:47:04 +05:30
nilesh.kale
ef3b40c5f1 feat: enable RSA support for c5
This commit enables RSA peripheral support for ESP32-C5.
2024-03-19 13:46:49 +05:30
Sarvesh Bodakhe
0ed1cadcf1 feat(esp_wifi): Update Wi-Fi WPA3 authmodes as per WPA Specification v3.3
* Merge 'WIFI_AUTH_WPA3_EXT_PSK' and 'WIFI_AUTH_WPA3_EXT_PSK_MIXED_MODE'
  into 'WIFI_AUTH_WPA3_PSK' as per specification.
2024-03-19 11:33:55 +05:30
C.S.M
5e47ed70c2 Merge branch 'bugfix/i2c_no_pull_up' into 'master'
fix(i2c_master): Fix issue that initialize esp32 fails and using i2c_master_probe issue IF NO PULL-UP ON PINS. And add nack check

Closes IDFGH-11838, IDFGH-13142, and IDFGH-13398

See merge request espressif/esp-idf!29667
2024-03-19 12:25:34 +08:00
Island
3cc70e8d76 Merge branch 'doc/update_ble_document_2403' into 'master'
Doc/update ble document 2403

See merge request espressif/esp-idf!29557
2024-03-19 11:39:16 +08:00
Marius Vikhammer
4700f709ca Merge branch 'feature/c5_ulp' into 'master'
feat(ulp): add basic support for running lp core on C5

Closes IDF-8637

See merge request espressif/esp-idf!29496
2024-03-19 11:33:51 +08:00
Cao Sen Miao
016877b7ce fix(i2c_master): Fix issue that initialize esp32 and using i2c_master_probe issue,
and probe might failed.
Fixed I2C cannot return err code when nack detected
Closes https://github.com/espressif/esp-idf/issues/13213,
Closes https://github.com/espressif/esp-idf/issues/12929,
Closes https://github.com/espressif/esp-idf/issues/13398,
2024-03-19 11:07:13 +08:00
C.S.M
61bb752cdb Merge branch 'bugfix/improve_jpeg_dec' into 'master'
fix(jpeg_decoder): Improve apis for better align strategy and provide buffer size parameter

See merge request espressif/esp-idf!29687
2024-03-19 10:10:52 +08:00
morris
3a9d082523 Merge branch 'bugfix/parlio_coverity_issue' into 'master'
feat(parlio_tx): minor clean up and fix

Closes IDF-9420

See merge request espressif/esp-idf!29663
2024-03-19 10:08:54 +08:00
Jiang Jiang Jian
be73c442ab Merge branch 'feature/refactor_ftm_code' into 'master'
Refactor and improve FTM code

Closes WIFI-6133, WIFI-5144, WIFI-6365, and IDFGH-5024

See merge request espressif/esp-idf!26783
2024-03-19 00:54:12 +08:00
Nachiket Kukade
4971764917 feat(esp_wifi): Refactor and improve FTM code
Enable FTM Responder mode for ESP32C6. Update wifi libs with below -

1. Break FTM State Machine code into separate functions
2. Use dynamic allocation for FTM session to save memory
3. Add API to get FTM report instead of event based mechanism
4. Add FTM Request retry and comeback support

Closes https://github.com/espressif/esp-idf/issues/6810
2024-03-18 22:01:36 +08:00
Jiang Jiang Jian
3fd985e276 Merge branch 'bugfix/wps_crash_issue' into 'master'
fix(wpa_supplicant): Avoid dereferencing a dangling function pointer in WPS

Closes WIFI-6373, WIFIBUG-301, and WIFIBUG-163

See merge request espressif/esp-idf!28521
2024-03-18 21:23:15 +08:00
Wu Zheng Hui
c6b884d2af Merge branch 'feature/esp32p4_sleep_cpu_retention_support' into 'master'
feat(esp_hw_support): esp32p4 sleep support (Stage 2: support dualcore software sleep retention 🔋)

See merge request espressif/esp-idf!28485
2024-03-18 20:12:00 +08:00
Song Ruo Jing
12325ff47e fix(dma2d): correct a few 2D-DMA driver issues
1. mem_burst_length register field correction
2. remove dma buffer addr range restriction
3. M2M periph sel ID no need to be identical for TX and RX channels
4. correct rx descriptor owner field auto clear
5. remove fsm idle assertion for ERR_EOF
2024-03-18 20:11:57 +08:00
Darian Leung
6d40e191f8 refactor(hal/usb): Refactor usb_wrap_ll.h
This commit rewrite the 'usb_wrap_ll.h' API as follows:

- All APIs renamed from 'usb_fsls_phy_ll_...()' to 'usb_wrap_ll_...()'
- APIs now match their equivalent counter parts in 'usb_serial_jtag_ll.h'
2024-03-18 19:23:44 +08:00
Darian Leung
a77e5cc718 refactor(hal/usb): Remove usb_fsls_phy_ll.h
For targets that only contain a USJ peripheral (and not a DWC OTG), their
'usb_fsls_phy_ll.h' headers only contain a single function
('usb_fsls_phy_ll_int_jtag_enable()') whose feature is already covered by
functions in 'usb_serial_jtag_ll.h'. Thus, this header is redundant.

This commit does the following:

- Remove 'usb_fsls_phy_ll.h' for targets that only contain a USJ peripheral
- Rename 'usb_fsls_phy_[hal|ll].[h|c]' to `usb_wrap_[hal|ll].[h|c]` for targets
that contain a DWC OTG peripheral. This better reflects the underlying peripheral
that the LL header accesses.
2024-03-18 19:23:43 +08:00
Darian Leung
5d091a9bb3 refactor(hal/usj): Add USB PHY related functions to USJ LL 2024-03-18 19:23:42 +08:00
Cao Sen Miao
ba6a0d59b0 fix(jpeg_decoder): Improve apis for better align strategy and provide buffer size parameter 2024-03-18 18:32:22 +08:00
Armando (Dou Yiwen)
9ffebf3cf2 Merge branch 'feature/esp32c5_beta3_mmap' into 'master'
cache / mmu: c5 support

Closes IDF-8646 and IDF-8658

See merge request espressif/esp-idf!29693
2024-03-18 18:05:36 +08:00
Armando (Dou Yiwen)
30ab38c791 Merge branch 'bugfix/fix_csi_driver_cache_msync_usage' into 'master'
csi: fix wrong cache invalidate location

Closes IDF-9519

See merge request espressif/esp-idf!29700
2024-03-18 18:00:05 +08:00
laokaiyao
24d6dcb829 feat(esp32c5mp): add system related components 2024-03-18 17:34:56 +08:00
Espressif BOT
5abde54709 change(tools/qemu): Update QEMU release versions 2024-03-18 17:05:03 +08:00
jgujarathi
40ccd1525f fix(wpa_supplicant): Cancel offchannel listen operations before sending dpp fail
- Ensure that offchannel listening operations are cancelled before sending dpp
  fail event
2024-03-18 14:33:57 +05:30
jgujarathi
537cf9bfc0 fix(wpa_supplicant): Ensure dpp auth structure is deinited in dpp task context
- Ensure that the dpp auth data gets deinited only in DPP task context to ensure
  that there are no concurrency issues in usage of DPP auth data.
2024-03-18 14:33:57 +05:30
Alexey Lapshin
994b4ed459 Merge branch 'feature/update-toolchain-to-esp-13.2.0_20240305' into 'master'
feat(tools): update toolchain version to esp-13.2.0_20240305

Closes IDFGH-2549

See merge request espressif/esp-idf!29430
2024-03-18 16:58:39 +08:00
zhanghaipeng
bce1715dfd fix(ble/bluedroid): Optimize BLE documentation comments to comply with Doxygen syntax 2024-03-18 16:10:02 +08:00
Sarvesh Bodakhe
fe35466cdd fix(wpa_supplicant): Improve execution flow for WPS registrar public APIs
Make sure that WPS registrar public APIs do not modify supplicant
data in application task context. Execute API functionlity in eloop
context to prevent protential race conditions.
2024-03-18 12:43:39 +05:30
Sarvesh Bodakhe
aad6f44c25 fix(wifi): Avoid dereferencing a dangling function pointer in WPS supplicant
Avoid dereferencing a dangling function pointer in 'eap_server_sm_deinit()'.
This issue arises when hostap unregisteres EAP methods before it removes
the server state machine for station.
2024-03-18 12:43:38 +05:30
Guillaume Souchere
a62b13e3d7 Merge branch 'feat/add-c5-ringbuffer-support' into 'master'
feat(esp_ringbuf): Add support on esp32c5 target

Closes IDF-8659

See merge request espressif/esp-idf!29602
2024-03-18 15:02:30 +08:00
Armando
571855d4dd bugfix(csi): fix wrong cache invalidate location 2024-03-18 14:54:25 +08:00
wanlei
37dfd8fb52 feat(esp32c61): add G0 component support 2024-03-18 14:28:27 +08:00
Marius Vikhammer
cd1b0dafa7 Merge branch 'docs/p4_misc_docs' into 'master'
docs(ulp): updated lp core docs with P4 related info

Closes IDF-7752, IDF-7741, IDF-7740, IDF-9485, IDF-9473, and IDF-9474

See merge request espressif/esp-idf!29592
2024-03-18 14:12:26 +08:00
Roshan Bangar
ee75e6cc63 fix(nimble): Fixed compilation issues on disabling security 2024-03-18 09:56:19 +05:30
Jiang Jiang Jian
b05b19abc7 Merge branch 'feature/sae_pk_transition_disable' into 'master'
Add support for SAE-PK, WPA3-Enterprise and OWE transition disable indication

Closes WIFIBUG-287

See merge request espressif/esp-idf!27783
2024-03-18 11:38:50 +08:00
Armando
5efcd8979e feat(cache mmu): c5 support 2024-03-18 11:31:10 +08:00
Wu Zheng Hui
ba4b493df8 Merge branch 'fix/lp_core_uart_clk_init' into 'master'
fix(lp_uart): Fixed LP UART bus clock initialization flow

See merge request espressif/esp-idf!29680
2024-03-18 10:21:42 +08:00
Song Ruo Jing
6b9c2fca79 Merge branch 'fix/uart_wakeup_threshold' into 'master'
fix(uart): Fix mismatch wakeup rising edges required with the threshold configured

See merge request espressif/esp-idf!29474
2024-03-16 22:50:28 +08:00
Wan Lei
9a7eb78328 Merge branch 'feat/c6lite_c61_stage3_rom' into 'master'
feat(esp32c61): new chip add rom support (stage 3/8)

See merge request espressif/esp-idf!29497
2024-03-16 10:56:52 +08:00
Michael (XIAO Xufeng)
1db17508e7 Merge branch 'bugfix/i2c_timeout_issue' into 'master'
fix(i2c): fix issues related to timeout and alive interval tick

Closes IDFGH-2966

See merge request espressif/esp-idf!25608
2024-03-16 02:27:58 +08:00
David Cermak
199d416bc5 feat(lwip): SNTP: Add support for adjusting startup delay 2024-03-15 16:58:54 +01:00
Fu Hanxi
8ed66457e6 Merge branch 'ci/add_idf_ci_build_while_building_apps_locally' into 'master'
ci: add "IDF_CI_BUILD=1" while building apps locally

See merge request espressif/esp-idf!29679
2024-03-15 22:31:24 +08:00
Wan Lei
9327f1b856 Merge branch 'fix/sdspi_esp32_temp_skip_master' into 'master'
fix(sdspi): temp skip run high falure job on esp32 due to lack runner

See merge request espressif/esp-idf!29410
2024-03-15 21:58:32 +08:00
Ondrej Kosta
333e94eeb0 Merge branch 'bugfxi/openeth_format' into 'master'
fix(esp_eth): fixed build for openeth due to incorrect printf format

See merge request espressif/esp-idf!29651
2024-03-15 20:19:22 +08:00
Jiang Jiang Jian
00dd3260ee Merge branch 'bugfix/cve-2023-52160' into 'master'
fix(wpa_supplicant): (PEAP client) Update Phase 2 auth requirements

Closes WIFI-6478

See merge request espressif/esp-idf!29240
2024-03-15 20:12:16 +08:00
zhanghaipeng
f812863827 fix(ble/bluedroid): Optimize the BLE documentation 2024-03-15 20:02:13 +08:00
C.S.M
812d197011 Merge branch 'bugfix/i2c_slave_bugs' into 'master'
fix(i2c_slave): Fix multiple issues on i2c slave

Closes IDFGH-12343 and IDFGH-12319

See merge request espressif/esp-idf!29566
2024-03-15 19:36:56 +08:00
C.S.M
db857c362b Merge branch 'contrib/github_pr_13388' into 'master'
fix(i2c_master): fix deadlock on s_i2c_transaction_start failure (GitHub PR)

Closes IDFGH-12357 and IDFGH-12356

See merge request espressif/esp-idf!29664
2024-03-15 19:31:33 +08:00
Wang Meng Yang
36e4ba10f5 Merge branch 'bugfix/make_coexist_callback_safe' into 'master'
fix(bt/controller): Fixed some bugs in esp32 bt controller

Closes BT-3625

See merge request espressif/esp-idf!29543
2024-03-15 18:53:10 +08:00
Guillaume Souchere
fe2e1b05ac change(esp_ringbuf): Format pytest_esp_ringbuf.py 2024-03-15 11:22:00 +01:00
wuzhenghui
bbc8fd5c9c feat(esp_hw_support): support esp32p4 sleep cpu retention 2024-03-15 18:13:25 +08:00
wuzhenghui
03e5e4970d refactor(esp_hw_support): split pd_cpu retention initialization by target 2024-03-15 18:13:24 +08:00
morris
ce041640ca change(parlio_tx): plenty of driver clean up 2024-03-15 18:02:44 +08:00
Guillaume Souchere
81c49583ec Merge branch 'test/enable-intr-dump-esp32p4' into 'master'
test(esp_intr_dump): Enable test for esp32p4

Closes IDF-8991

See merge request espressif/esp-idf!29620
2024-03-15 18:01:12 +08:00
Sudeep Mohanty
05db166e5d Merge branch 'feature/lp_core_lp_uart_support' into 'master'
feat(lp_core): Added support for LP UART on LP core for esp32p4

Closes IDF-7533

See merge request espressif/esp-idf!29555
2024-03-15 17:57:50 +08:00
Fu Hanxi
b50dbd31b5 ci: add "IDF_CI_BUILD=1" while building apps locally 2024-03-15 10:55:08 +01:00
Sudeep Mohanty
b15cfab6f3 Merge branch 'fix/gdbstub_enables_freertos_task_wrapper' into 'master'
fix(freertos): Updated dependency list for CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER option

See merge request espressif/esp-idf!29609
2024-03-15 17:51:55 +08:00
Song Ruo Jing
90bf2772ac fix(uart): Fix mismatch wakeup rising edges required with the threshold configured
Closes https://github.com/espressif/esp-idf/issues/12586
2024-03-15 16:58:33 +08:00
Kapil Gupta
59a62f2af6 fix(wpa_supplicant): (PEAP client) Update Phase 2 auth requirements
The previous PEAP client behavior allowed the server to skip Phase 2
authentication with the expectation that the server was authenticated
during Phase 1 through TLS server certificate validation. Various PEAP
specifications are not exactly clear on what the behavior on this front
is supposed to be and as such, this ended up being more flexible than
the TTLS/FAST/TEAP cases. However, this is not really ideal when
unfortunately common misconfiguration of PEAP is used in deployed
devices where the server trust root (ca_cert) is not configured or the
user has an easy option for allowing this validation step to be skipped.

Change the default PEAP client behavior to be to require Phase 2
authentication to be successfully completed for cases where TLS session
resumption is not used and the client certificate has not been
configured. Those two exceptions are the main cases where a deployed
authentication server might skip Phase 2 and as such, where a more
strict default behavior could result in undesired interoperability
issues. Requiring Phase 2 authentication will end up disabling TLS
session resumption automatically to avoid interoperability issues.

Allow Phase 2 authentication behavior to be configured with a new phase1
configuration parameter option:
'phase2_auth' option can be used to control Phase 2 (i.e., within TLS
tunnel) behavior for PEAP:
 * 0 = do not require Phase 2 authentication
 * 1 = require Phase 2 authentication when client certificate
   (private_key/client_cert) is no used and TLS session resumption was
   not used (default)
 * 2 = require Phase 2 authentication in all cases
2024-03-15 16:57:26 +08:00
Alexey Lapshin
31a951268a feat(newlib): get rid of dirent.h in favor of toolchain 2024-03-15 12:36:00 +04:00
Alexey Lapshin
4ac07fc575 feat(cxx): get rid of _Unwind_SetEnableExceptionFdeSorting 2024-03-15 12:36:00 +04:00
Alexey Lapshin
4f09fba127 fix(newlib): fix esp32/esp32s3 atomics on PSRAM
Closes https://github.com/espressif/esp-idf/issues/4635
2024-03-15 12:36:00 +04:00
Alexey Lapshin
174e9f582b feat(tools): update toolchain version to esp-13.2.0_20240305 2024-03-15 12:35:09 +04:00
Sudeep Mohanty
6d73dda897 fix(lp_uart): Fixed LP UART bus clock initialization flow
This MR updates the LP UART bus clock initialization flow to avoid
a lock up when accessing the LP UART peripheral.
2024-03-15 09:28:35 +01:00
Shyamal Khachane
fd556dc785 feat(wifi): Add support to handle OWE transition disable indication from AP 2024-03-15 13:56:00 +05:30
Sarvesh Bodakhe
34725cdbfd feat(wifi): Add support SAE-PK and WPA3-Enterprise transition disable 2024-03-15 13:55:31 +05:30
wanlei
ca4153de52 fix(sdspi): temp skip run high falure job on esp32 2024-03-15 16:15:55 +08:00
wanlei
c50cbfe2ed feat(esp32c61): new chip add rom and efuse support 2024-03-15 15:16:14 +08:00
Cao Sen Miao
60419a4892 fix(i2c_slave): Fixed the isr_flags not really parse to the intr_allocate,
Closes https://github.com/espressif/esp-idf/issues/13374
2024-03-15 14:40:55 +08:00
Cao Sen Miao
7b731cae39 fix(i2c_slave): Fix bugs on i2c slave,
1. Fixed read data number smaller than master has sent it will fail
2. Disable interrupt when destroy bus
Closes https://github.com/espressif/esp-idf/issues/13354
2024-03-15 14:40:52 +08:00
Eric Wheeler
6e1bba7430 fix(i2c_master): fix deadlock on s_i2c_transaction_start failure
As pointed out in PR #13134 by @MatthiasKunnen, there is a deadlock in
`s_i2c_synchronous_transaction()` if `s_i2c_transaction_start()` should fail
because, on error, s_i2c_synchronous_transaction() returns before releasing the
lock.

This commit fixes the deadlock without any other changes.

Closes: #13387

Signed-off-by: Eric Wheeler <esp-idf@z.ewheeler.org>
2024-03-15 14:13:13 +08:00
Jiang Jiang Jian
3cd174ab09 Merge branch 'bugfix/wpa3_sta_lock_crash' into 'master'
fix(wifi): Fix wpa3 crash for station added without sta lock

Closes WIFIBUG-302

See merge request espressif/esp-idf!28206
2024-03-15 12:03:26 +08:00
Mahavir Jain
cd47cf46dc Merge branch 'esp32p4/add_aes_support' into 'master'
feat: add AES support for ESP32-P4

Closes IDF-6519

See merge request espressif/esp-idf!26429
2024-03-15 11:43:22 +08:00
linruihao
3d0d4de125 fix(bt/controller): Fixed some bugs in esp32 bt controller
1. fixed crash issue in coexist callback
2. fixed wrong LMP message send when expect peer device increase tx power to max
2024-03-15 11:31:57 +08:00
morris
61a283fdb5 Merge branch 'docs/sync_up_trans' into 'master'
docs:sync up CN translation for several documents

Closes DOC-7339

See merge request espressif/esp-idf!29553
2024-03-15 10:49:29 +08:00
Kevin (Lao Kaiyao)
893226d5c4 Merge branch 'feature/add_temp_rom_to_esp32c5mp' into 'master'
feat(esp32c5mp): add temporary esp-rom & G0 support

See merge request espressif/esp-idf!29613
2024-03-15 10:35:14 +08:00
Dai Zi Yan
f3686dcc73 Merge branch 'docs/add_Chinese_translation_for_api-reference/peripherals/usb_device.rst' into 'master'
docs: provide CN translation for api-reference/peripherals/usb_device.rst

Closes DOC-5759

See merge request espressif/esp-idf!24835
2024-03-15 10:31:59 +08:00
morris
7bd5c62659 Merge branch 'feature/specify_rmt_intr_cpu_affinity' into 'master'
doc(rmt): clarification on payload memory management and isr latency impact

Closes IDFGH-10396 and IDFGH-12068

See merge request espressif/esp-idf!24755
2024-03-15 10:05:58 +08:00
Roman Leonov
4d24ce3e13 Merge branch 'refactor/usb_host_add_ch11_types' into 'master'
refactor(usb_host): Added chapter11 header, refactor chapter9 header

See merge request espressif/esp-idf!29344
2024-03-15 05:14:39 +08:00
Roman Leonov
029c286a21 feat(usb_host): Added KConfig parameter for External HUB support enable 2024-03-14 21:06:34 +01:00
Roman Leonov
8d93d18451 refactor(usb_host): Added chapter11 header, refactor chapter9 header 2024-03-14 21:06:34 +01:00
Sudeep Mohanty
b90a279587 feat(lp-core): Added ability to print from LP ROM on the LP core
This commit adds the ability to use LP ROM functions from the LP core.
This allows the LP core code to utilize standard functions such as those
for printing from the LP ROM and therefore help reduce the code size on
the LP core.
2024-03-14 18:45:02 +01:00
Sudeep Mohanty
26fd843376 feat(lp_core): Added support for LP UART on LP core for esp32p4
This commit enables LP UART support for the LP core on the esp32p4.
2024-03-14 18:45:02 +01:00
Tomas Rezucha
4f900edb06 Merge branch 'feat/esp_hid_clean_interface' into 'master'
refactor(esp_hid): Create one common event loop

See merge request espressif/esp-idf!29449
2024-03-14 21:31:49 +08:00
Shu Chen
ee8fa6a205 Merge branch 'feature/add_led_config_for_ot_device' into 'master'
feat(openthread): support configuring indicator color of OpenThread device

See merge request espressif/esp-idf!29413
2024-03-14 19:17:23 +08:00
Guillaume Souchere
85c2daee5b test(esp_intr_dump): Enable test for esp32p4
Added back intr_dump test on esp32p4 target.
Added esp32p4.txt expected output file containing
the list of interrupts.
2024-03-14 11:35:24 +01:00
Tomas Rezucha
868d375c1d refactor(esp_hid): Create one common event loop
After this change, only one event loop is created.
It is reused by all transport layers (BT, BLE, USB).
2024-03-14 11:34:13 +01:00
Shreyas Sheth
9127a8fb25 fix(wifi): Fix wpa3 crash for station added without sta lock 2024-03-14 15:36:32 +05:30
caixinying-git
cb9df99073 docs: provide CN translation for api-reference/peripherals/usb_device.rst 2024-03-14 17:38:43 +08:00
Ondrej Kosta
93db5a609a fix(esp_eth): fixed build for openeth due to incorrect printf format 2024-03-14 09:44:53 +01:00
Omar Chebib
793ca6d7a4 fix(i2c): fix issues related to timeout and alive interval tick
Fixes https://github.com/espressif/esp-idf/issues/4999

Former usage of I2C_CMD_ALIVE_INTERVAL_TICK macro overrode the ticks_to_wait
parameter when the latter was too big
2024-03-14 16:39:10 +08:00
Fu Hanxi
d3473bed30 Merge branch 'ci/support_filter_pytest_cases_with_sdconfig_name' into 'master'
ci: support filter pytest with sdkconfig name

See merge request espressif/esp-idf!29581
2024-03-14 16:34:31 +08:00
Sudeep Mohanty
abd3a3999f fix(freertos): Updated dependency list for CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER option
This commit updates the dependency for
CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER to be dependent explicitly on
CONFIG_ESP_SYSTEM_PANIC_GDBSTUB or CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME
instead of CONFIG_ESP_GDBSTUB_ENABLED which caused FreeRTOS Task
Function Wrappers to be enabled even if the esp_gdbstub component was
part of the build.
2024-03-14 08:41:51 +01:00
laokaiyao
8de41350eb feat(esp32c5mp): support to build g0 components 2024-03-14 15:09:22 +08:00
laokaiyao
0d8dcd183c feat(esp32c5mp): add temporary esp-rom 2024-03-14 15:09:22 +08:00
Armando (Dou Yiwen)
c539b7cde5 Merge branch 'ci/ignore_c6_restart_test_fail' into 'master'
Ci/ignore c6 restart test fail

Closes IDFCI-2084, IDFCI-2085, and IDFCI-2024

See merge request espressif/esp-idf!29635
2024-03-14 14:52:17 +08:00
Fu Hanxi
6b14ba559a Merge branch 'fix/dynamic_pipeline_workflow_for_tag' into 'master'
ci: fix dynamic pipeline for tag pipelines

See merge request espressif/esp-idf!29370
2024-03-14 14:51:01 +08:00
Chen Jian Xing
a98e252595 Merge branch 'doc/update_espnow_doc' into 'master'
docs(wifi): Updated the LMK description in ESP-NOW

Closes IDFGH-11890

See merge request espressif/esp-idf!29607
2024-03-14 14:31:12 +08:00
morris
7b135c4b8a docs(rmt): clarification on memory and isr lantency
Closes https://github.com/espressif/esp-idf/issues/11651
Closes https://github.com/espressif/esp-idf/issues/13129
2024-03-14 14:23:12 +08:00
Wu Zheng Hui
5a682c3bbb Merge branch 'feature/optimize_chips_active_power' into 'master'
feat(system): Optimize the power consumption of esp32h2 and esp32c6 in the active state

Closes IDF-5658

See merge request espressif/esp-idf!27798
2024-03-14 12:08:33 +08:00
morris
79d8057a8c Merge branch 'feat/rmt_support_esp32c5' into 'master'
Basic RMT driver support on esp32c5

See merge request espressif/esp-idf!29215
2024-03-14 11:52:01 +08:00
gaoxu
03a6347a3a ci(adc): ignore adc restart test fail 2024-03-14 11:14:46 +08:00
gaoxu
b4b05bc4f0 ci(adc): make adc pytest reset 2024-03-14 11:12:20 +08:00
Jiang Jiang Jian
63db118bcc Merge branch 'feat/move_ag_cb_malloc_to_btc' into 'master'
feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module

Closes BTQABR2023-208

See merge request espressif/esp-idf!29310
2024-03-14 10:46:01 +08:00
Jiang Jiang Jian
6a879bf2d2 Merge branch 'bugfix/fix_maximum_value_of_config_rtc_clk_cal_cycles_bug' into 'master'
ESP All Chip: fixed the maximum value of config RTC_CLK_CAL_SYCLES bug

See merge request espressif/esp-idf!29423
2024-03-14 10:44:17 +08:00
Jiang Jiang Jian
7b86fe51fd Merge branch 'bugfix/fix_s3_bbpll_cali_fail_bug' into 'master'
fix: fix s3 bbpll calibration fail bug

See merge request espressif/esp-idf!29101
2024-03-14 10:42:57 +08:00
zhangyanjiao
68c887ead7 docs(wifi): Updated the LMK description in ESP-NOW
Closes https://github.com/espressif/esp-idf/issues/12976
2024-03-14 10:39:47 +08:00
Wu Zheng Hui
bb25cc1234 Merge branch 'feature/esp32p4_sleep_support' into 'master'
feat(esp_hw_support): esp32p4 sleep support (Stage 1: support basic pmu sleep function 💤)

Closes IDF-7528 and IDF-7527

See merge request espressif/esp-idf!28196
2024-03-14 10:17:32 +08:00
Martin Vychodil
559854bdac Merge branch 'fix/fatfs_expand_files_api_leak' into 'master'
fix(fatfs): Fix leak of malloced FIL struct

Closes IDF-9422 and IDF-9427

See merge request espressif/esp-idf!29585
2024-03-14 04:21:41 +08:00
David Cermak
b8903e7470 fix(examples): Fix sta-2-eth README to clarify wifi.settings is hostname 2024-03-13 17:54:08 +01:00
Kapil Gupta
97e1afbe67 Merge branch 'bugfix/wps_scan_log_flood' into 'master'
Suppress RSN IE print to Verbose level

Closes WIFIBUG-437

See merge request espressif/esp-idf!29558
2024-03-13 22:51:45 +08:00
morris
8f85035d75 Merge branch 'bugfix/fix_eventfd_select' into 'master'
fix(vfs): fix eventfd select

See merge request espressif/esp-idf!29498
2024-03-13 22:31:08 +08:00
Rahul Tank
11c03bca53 Merge branch 'contrib/github_pr_13034' into 'master'
docs(nimble): Fixed typo in examples/bluetooth/nimble/blehr/README (GitHub PR)

Closes IDFGH-11956

See merge request espressif/esp-idf!29594
2024-03-13 20:40:06 +08:00
Rahul Tank
edc5466a80 Merge branch 'feature/add_doc_for_p4' into 'master'
docs(nimble): Added gpio configuration table for esp32p4

See merge request espressif/esp-idf!29598
2024-03-13 20:37:13 +08:00
Jiang Jiang Jian
c97fc4c282 Merge branch 'bugfix/fix_the_spiram_malloc_issue_in_wifi_mesh' into 'master'
fix(wifi): fixed the spiram malloc issue in wifi mesh

Closes IDFGH-12234

See merge request espressif/esp-idf!29472
2024-03-13 20:18:00 +08:00
Nachiket Kukade
ed704a22a8 fix(wpa_supplicant): Suppress RSN IE print to Verbose level 2024-03-13 20:10:20 +08:00
Jiang Jiang Jian
56c96a0878 Merge branch 'feature/support_to_scan_long_time_at_coexist' into 'master'
feat(coex): support to scan long time on channel, fix coexist sync issue

Closes WIFIBUG-427 and WIFI-6492

See merge request espressif/esp-idf!29590
2024-03-13 19:56:12 +08:00
Tomáš Rohlínek
7854b955a1 fix(storage/fatfs): make wl_fatfsgen.py safe mode aware 2024-03-13 12:49:49 +01:00
Gao Xu
b50a52f17c Merge branch 'refactor/adc_dma_apis_on_32_s2' into 'master'
refactor(ADC): move dma_ll functions  in ADC hal layer to ADC driver layer

Closes IDF-8570

See merge request espressif/esp-idf!27474
2024-03-13 19:47:40 +08:00
morris
2a9c03d2f1 Merge branch 'bugfix/update_esp32p4_rom_caps' into 'master'
fix(esp_rom): Update esp32p4 rom caps

See merge request espressif/esp-idf!28967
2024-03-13 17:53:29 +08:00
harshal.patil
bc899d0bad ci(esp-tls): Fix test-specific leak for ESP32-P4 2024-03-13 15:22:07 +05:30
harshal.patil
e8268d8b6b feat(hal/aes): use RCC atomic block to enable/reset the AES peripheral 2024-03-13 15:22:07 +05:30
harshal.patil
2abb656ba2 feat(mbedtls/aes): Support AES-DMA operations by satisfying L1 cache alignment requirements
- Use DMA RX done interrupt status bit while waiting for DMA rx transfer
2024-03-13 15:22:07 +05:30
harshal.patil
9b15189583 change(mbedtls): replace Cache ROM APIs usage with APIs from esp_cache.h
- Only APIs used in esp_crypto_shared_gdma and aes have been replaced
- Get dcache line size using cache api instead of Kconfig
2024-03-13 15:22:07 +05:30
harshal.patil
a6012c9e5a feat(mbedtls/aes): add AES peripheral support for esp32p4 2024-03-13 15:22:06 +05:30
harshal.patil
83dd60307f feat(mbedtls/esp_crypto_shared_gdma): support AXI-DMA in the crypto shared gdma layer
- In case of AXI-DMA, the DMA descriptors need to be 8 bytes aligned
lldesc_t do not satify this condition thus we need to replace it with
dma_descriptor_t (align(4) and align(8)) in esp_crypto_shared_gdma.

- Added new shared gdma start API that supports the dma_descriptor_t
DMA descriptor.

- Added some generic dma descriptor macros and helper functions

- replace lldesc_t with dma_descriptor_t
2024-03-13 15:22:06 +05:30
harshal.patil
2c570ed53b change(mbedtls/aes): moved esp_aes_internal.h to be a private header
- Also enable AES-GCM test in the hal crypto test app for all targets
2024-03-13 15:22:06 +05:30
morris
9b8fd65221 feat(rmt): basic driver support on esp32c5 2024-03-13 17:37:47 +08:00
Marius Vikhammer
a32fb07e7b feat(ulp): add basic support for running lp core on C5 2024-03-13 17:37:29 +08:00
morris
abb6690f7d change(rmt): cache sync logic enhancement 2024-03-13 17:32:54 +08:00
daiziyan
9ab87226fe docs:sync up CN translation for several documents 2024-03-13 17:19:32 +08:00
Island
556d71b97f Merge branch 'bugfix/BT-3491' into 'master'
bugfix(ble_mesh): Avoid provisioner handling messages from nodes that have...

Closes BT-3491 and BLEMESH-437

See merge request espressif/esp-idf!27087
2024-03-13 17:16:38 +08:00
Island
950b728f5c Merge branch 'bugfix/BLEQABR23-798' into 'master'
bugfix(ble_mesh): Close BLEQABR23-798

Closes BLEQABR23-798 and BLERP-209

See merge request espressif/esp-idf!26776
2024-03-13 17:16:13 +08:00
Island
222f066691 Merge branch 'feature/ble_mesh_update_document_link' into 'master'
feat(ble_mesh): update the link of BLE-MESH 1.1 specification and model specification

See merge request espressif/esp-idf!26042
2024-03-13 17:16:03 +08:00
Mahavir Jain
6dd040a61b Merge branch 'update/update_certs_bundle' into 'master'
Update esp_crt_bundle certificates

See merge request espressif/esp-idf!29562
2024-03-13 15:42:31 +08:00
wangjialiang
ae97d9aecf feat(ble_mesh): update the link of BLE-MESH 1.1 specification and model specification 2024-03-13 15:36:18 +08:00
Island
aad5ee56ec Merge branch 'bugfix/cleanup_ble_mesh_examples_sdkconfig' into 'master'
ci(ble/mesh): cleanup BLE Mesh examples sdkconfig

Closes IDF-8490

See merge request espressif/esp-idf!27224
2024-03-13 15:17:40 +08:00
Marius Vikhammer
a51942ae75 Merge branch 'refactor/esp_rom_cmake' into 'master'
refactor(esp_rom): refactor rom LD inclusions to make it easier to add new targets

Closes IDF-8673

See merge request espressif/esp-idf!29455
2024-03-13 14:18:33 +08:00
Roshan Bangar
e9a866297d docs(nimble): Added gpio configuration table for esp32p4 2024-03-13 11:48:15 +05:30
Shu Chen
c97077c607 Merge branch 'feature/add_cli_in_openthread_sleep_example' into 'master'
feat(openthread): add cli in openthread sleep example

See merge request espressif/esp-idf!29389
2024-03-13 14:15:12 +08:00
Aditya Patwardhan
3312e50006 Merge branch 'fix/aes_gcm_coverity_reports' into 'master'
fix(mbedtls/aes-gcm): Fix null pointer derefernce coverity reports

See merge request espressif/esp-idf!29568
2024-03-13 14:14:08 +08:00
Kevin (Lao Kaiyao)
8b3821ca67 Merge branch 'feature/update_hal_files_for_c5mp' into 'master'
feat(esp32c5mp): update hal files for esp32c5 mp (Stage 3/8)

See merge request espressif/esp-idf!29517
2024-03-13 14:09:59 +08:00
Wan Lei
794eec3483 Merge branch 'feat/c6lite_c61_soc_part3_build' into 'master'
feat(esp32c61): add & modify soc header files to pass build (stage 2/8 part 3/3)

See merge request espressif/esp-idf!29482
2024-03-13 14:03:43 +08:00
Alex Verschoot
3d39291106 Update README.md
Fix typo
2024-03-13 13:39:41 +08:00
Rahul Tank
aa6e49e60f Merge branch 'bugfix/reconnect_host_based' into 'master'
fix(nimble): Added ble_host_rpa_enabled flag for address resoultion for esp32

See merge request espressif/esp-idf!29479
2024-03-13 12:15:21 +08:00
C.S.M
7d59160d50 Merge branch 'fix/cpu_high_occupation' into 'master'
fix(i2c): Fix I2C synchronous transaction cost so much CPU source

See merge request espressif/esp-idf!29443
2024-03-13 12:10:34 +08:00
Marius Vikhammer
1e64c458b2 docs(ulp): updated lp core docs with P4 related info 2024-03-13 12:01:30 +08:00
wuzhenghui
0fc97f0e84 feat(gpio): support LP_IO clock gating management 2024-03-13 11:56:14 +08:00
wangjialiang
4b347ba1ad update invalid links in the ble mesh example documentation 2024-03-13 11:38:27 +08:00
luoxu
36297f93e7 bugfix(ble_mesh): Avoid provisioner handling messages from nodes that have already left the network. 2024-03-13 11:38:27 +08:00
luoxu
99744ec1b9 bugfix(ble_mesh): Close BLEQABR23-798 2024-03-13 11:32:40 +08:00
Mahavir Jain
2b17acb4b0 Merge branch 'bugfix/memprot_cleanup' into 'master'
fix: cleanup memprot files for C6/H2/P4

See merge request espressif/esp-idf!29556
2024-03-13 11:12:52 +08:00
liuning
1cf760b73f feat(coex): support to scan long time on channel, fix coexist sync issue 2024-03-13 10:54:41 +08:00
Jiang Jiang Jian
5469c1b6ab Merge branch 'bugfix/fix_typo' into 'master'
fix(wifi): fix typo in wifi headers

Closes WIFIBUG-447, WIFI-6306, and IDFGH-11564

See merge request espressif/esp-idf!29584
2024-03-13 10:32:07 +08:00
xiaqilin
57189ec1a7 feat(openthread): add cli in openthread sleep example 2024-03-13 10:24:34 +08:00
Island
3dc9d6652b Merge branch 'bugfix/ble_update_lib_20240306' into 'master'
update lib on master

Closes BLERP-562, BLERP-600, BLERP-557, BLERP-601, BLERP-602, and BLERP-603

See merge request espressif/esp-idf!29435
2024-03-13 10:18:05 +08:00
C.S.M
4518a2a48c Merge branch 'bugfix/jpg_memory_lead' into 'master'
fix(jpeg): Fix memory leak on jpeg decoder

Closes IDF-9402

See merge request espressif/esp-idf!29571
2024-03-13 09:53:15 +08:00
Alexey Lapshin
27085260c8 Merge branch 'fix/gdbstub_psram_for_esp32p4' into 'master'
feat(gdbstub): fix access to PSRAM for esp32p4

See merge request espressif/esp-idf!29586
2024-03-13 04:36:24 +08:00
Tomas Rezucha
348d4ef18d fix(usb/examples): Fix UVC example crash on non-UVC device connection 2024-03-12 20:19:12 +01:00
Sonika Rathi
a7d1da94b9 Merge branch 'update/add_esp_vfs_console_component' into 'master'
fix(esp_vfs_console): add esp_vfs_console component

Closes IDFGH-11900

See merge request espressif/esp-idf!28655
2024-03-12 23:37:41 +08:00
Darshan Dobariya
016df4cbde fix(nimble): Added ble_host_rpa_enabled flag for address resoultion for esp32 2024-03-12 20:57:01 +05:30
Darian
eeb71ca1af Merge branch 'feature/freertos_enable_app_task_tag' into 'master'
feat(freertos): Add application task tag support

Closes IDF-6410

See merge request espressif/esp-idf!29514
2024-03-12 22:36:20 +08:00
Alexey Lapshin
18e0fe7842 feat(gdbstub): fix access to PSRAM for esp32p4 2024-03-12 18:10:32 +04:00
Guillaume Souchere
d0b97fbd6b Merge branch 'refactor/decouple-psram-init-from-essp-system' into 'master'
refactor(esp_psram): Decouple psram init from esp_system

Closes IDF-8769

See merge request espressif/esp-idf!29042
2024-03-12 21:01:59 +08:00
muhaidong
7fb8af4e5b fix(doc): update api esp_wifi_sta_get_rssic docs
Closes https://github.com/espressif/esp-idf/issues/12685
2024-03-12 20:33:52 +08:00
Konstantin Kondrashov
c571ad1954 Merge branch 'feature/use_pri_macro_in_all_logs' into 'master'
feat(all): Use PRIx macro in all logs

Closes IDF-9088

See merge request espressif/esp-idf!29276
2024-03-12 20:26:16 +08:00
Adam Múdry
40de3816ec fix(fatfs): Fix leak of malloced FIL struct
In esp_vfs_fat_create_contiguous_file and esp_vfs_fat_test_contiguous_file functions
2024-03-12 13:25:09 +01:00
alanmaxwell
80266a876d fix(wifi): fix typo in wifi headers 2024-03-12 20:16:44 +08:00
Roland Dobai
2973e7acba Merge branch 'feat/add_esp32_p4_test' into 'master'
feat: add first version of tests for P4

Closes IDF-8918

See merge request espressif/esp-idf!29106
2024-03-12 19:50:51 +08:00
wanlei
616c72b96c feat(esp32c61): add & modify soc header files pass build (part 3/3) 2024-03-12 18:53:28 +08:00
Rahul Tank
7636c1d64c Merge branch 'bugfix/fix_strict_prototype_hid' into 'master'
fix(nimble): Address compilation errors when strict-prototype is enabled

See merge request espressif/esp-idf!29513
2024-03-12 18:53:21 +08:00
C.S.M
ff976c3c31 Merge branch 'bugfix/flash_mxic_chip' into 'master'
fix(spi_flash): Fix MXIC chip flash size detected wrong

See merge request espressif/esp-idf!29539
2024-03-12 18:35:38 +08:00
Jakob Hasse
a88dd2b464 Merge branch 'fix/log_buffer' into 'master'
fix(log): Fixed incorrect argument type in hexdump log functions

Closes IDFGH-12312

See merge request espressif/esp-idf!29550
2024-03-12 18:27:06 +08:00
Fu Hanxi
7641776ae2 ci: support filter pytest with sdkconfig name 2024-03-12 11:16:39 +01:00
Konstantin Kondrashov
3f89072af1 feat(all): Use PRIx macro in all logs 2024-03-12 11:15:53 +02:00
wangjialiang
a9c1641792 ci(ble/mesh): cleanup BLE Mesh examples sdkconfig 2024-03-12 16:58:19 +08:00
Marius Vikhammer
08d1460f15 Merge branch 'feature/c5_rom_bootloader' into 'master'
feat(c5): update bootloader component for C5

Closes IDF-8653

See merge request espressif/esp-idf!29458
2024-03-12 16:11:24 +08:00
Marius Vikhammer
02f2f36588 Merge branch 'docs/remove_ulp_deep_sleep_example' into 'master'
docs(deep_sleep): removed mentions of ULP in deep sleep example readme

Closes IDFGH-12305

See merge request espressif/esp-idf!29523
2024-03-12 16:10:03 +08:00
Ondrej Kosta
2d290e5d69 ci(esp_eth): increased L2 test wait for connection timeout 2024-03-12 09:09:40 +01:00
Marius Vikhammer
6497ef3551 Merge branch 'fix/p4_app_boot_cache_issue' into 'master'
fix(bootloader): fixed P4 bootloader being able to boot with certain configs

Closes IDF-8989

See merge request espressif/esp-idf!29484
2024-03-12 16:02:38 +08:00
Jiang Jiang Jian
f92162efd8 Merge branch 'bugfix/dpp_example_init_error' into 'master'
fix(wifi/example): Fix dpp example init error

Closes IDFGH-11656

See merge request espressif/esp-idf!27984
2024-03-12 15:38:21 +08:00
zhangyanjiao
82e8c02efb fix(wifi): fixed the spiram malloc issue in wifi mesh
Closes https://github.com/espressif/esp-idf/issues/13285
2024-03-12 15:37:32 +08:00
harshal.patil
343a6f47ab fix(mbedtls/aes-gcm): Fix null pointer derefernce coverity reports
- Also fixed a tcp_transport and https_server report
2024-03-12 12:36:00 +05:30
Tomas Rezucha
fa2986fdef Merge branch 'feat/usb_host_sync_types' into 'master'
Add synchronization types from USB specs table 9-13

See merge request espressif/esp-idf!29263
2024-03-12 14:48:16 +08:00
Cao Sen Miao
4881a2aca0 fix(jpeg): Fix memory leak on jpeg decoder 2024-03-12 14:45:55 +08:00
Michael (XIAO Xufeng)
4ee54026e3 Merge branch 'bugfix/fix_fastmem_slowmem_lost_data_bug' into 'master'
[C3/S3]Fix sleep fast_mem & slow_mem may lost bug

See merge request espressif/esp-idf!27571
2024-03-12 11:32:00 +08:00
gaoxu
bc98bdc087 refactor(adc): refactor dma ll functions on adc continuous mode 2024-03-12 11:12:48 +08:00
Jakob Hasse
bc46f3ac05 Merge branch 'docs/fix_spiram_mistake' into 'master'
docs(heap): Fixed mistake in the heap allocator docs

Closes IDFGH-12318

See merge request espressif/esp-idf!29526
2024-03-12 11:12:24 +08:00
Jakob Hasse
99e20e83c2 Merge branch 'docs/esp_event_doc_fix' into 'master'
docs(esp_event): Fixed mistake in API docs

Closes IDFGH-12311

See merge request espressif/esp-idf!29524
2024-03-12 10:28:32 +08:00
Jakob Hasse
1deef8bee9 docs(heap): Fixed mistake in the heap allocator docs
Closes https://github.com/espressif/esp-idf/issues/13353
2024-03-12 10:24:35 +08:00
wuzhenghui
92849e660e fix(mbedtls): fixing ecdsa's dependence on ecc_mult clock 2024-03-12 10:10:42 +08:00
wuzhenghui
0b920ec08a change(esp_phy): close esp32h2 rf pll by default 2024-03-12 10:10:41 +08:00
wuzhenghui
9e8e20227f feat(system): disable RNG module clock by default for save power 2024-03-12 10:10:41 +08:00
wuzhenghui
2a251982fc feat(system): add option to allow user disable assist_debug module to save power 2024-03-12 10:10:40 +08:00
wuzhenghui
b0fa4565a1 feat(system): add option to allow user disable USJ module to save power 2024-03-12 10:10:36 +08:00
Espressif BOT
bebdf7b989 change(mbedtls/crt_bundle): Update esp_crt_bundle certificates 2024-03-12 10:00:36 +08:00
Marius Vikhammer
83d1c2f054 refactor(esp_rom): refactor rom LD inclusions to make it easier to add new targets 2024-03-12 09:48:46 +08:00
laokaiyao
b1a3e92f2a fix(esp32c5mp): fix public headers 2024-03-11 20:45:09 +08:00
Mahavir Jain
fd6c710b27 fix: cleanup memprot files for C6/H2/P4
There is no separate permission control peripheral in C6/H2/P4.
Memory protection is achieved using built-in PMA/PMP and hence
removing permission control specific files.
2024-03-11 17:10:40 +05:30
Jakob Hasse
6317789c59 fix(log): Fixed incorrect argument type in hexdump log functions
Closes https://github.com/espressif/esp-idf/issues/13347
Thanks @matthew-8925
2024-03-11 18:54:06 +08:00
Guillaume Souchere
8a8ed00852 refactor(esp_psram): Decouple psram init from esp_system 2024-03-11 11:50:43 +01:00
laokaiyao
71257c6ef4 feat(esp32c5mp): update hal files for esp32c5 mp 2024-03-11 17:23:43 +08:00
sonika.rathi
e162903615 fix(esp_vfs_console): add esp_vfs_console component
move vfs_console related init steps from vfs component to new esp_vfs_console component
2024-03-11 10:18:10 +01:00
Roland Dobai
0bbee51829 Merge branch 'contrib/github_pr_13339' into 'master'
docs(kconfig): Correct typo "boolens" to "Booleans" (GitHub PR)

Closes IDFGH-12304

See merge request espressif/esp-idf!29538
2024-03-11 17:03:50 +08:00
Jan Beran
4adc52f94e feat(test_idf_tools): Add tests for esp32p4 for linux and win 2024-03-11 09:33:05 +01:00
Cao Sen Miao
68462ef241 fix(spi_flash): Fix MXIC chip flash size detected wrong,
Closes https://github.com/espressif/esp-idf/issues/12222
2024-03-11 15:19:30 +08:00
Mahavir Jain
8ce8a9e75e Merge branch 'ci/fix_pre_encrytped_ota_failure_in_ci' into 'master'
ci: Fix pre_encrypted_ota example failure in CI

Closes IDFCI-2082

See merge request espressif/esp-idf!29504
2024-03-11 14:03:19 +08:00
Jakob Hasse
11d77d54e8 docs(esp_event): Fixed mistake in API docs
Closes https://github.com/espressif/esp-idf/issues/13346
2024-03-11 11:06:18 +08:00
Shu Chen
54e7b73b44 Merge branch 'bugfix/openthread_rxbuf_using_atomic_variable' into 'master'
fix(openthread): using atomic variable for buffer count

See merge request espressif/esp-idf!29392
2024-03-11 10:32:26 +08:00
Marius Vikhammer
10cd7db12d docs(deep_sleep): removed mentions of ULP in deep sleep example readme
Updated readme to reflect that ULP is no longer a part of this examples
functionality.

Closes https://github.com/espressif/esp-idf/issues/13340
2024-03-11 10:15:37 +08:00
Ethan Bowering
6ed5e98787 docs(kconfig): Correct typo "boolens" to "Booleans" 2024-03-10 12:25:44 -04:00
wuzhenghui
174386f133 ci: enable lightsleep related tests 2024-03-10 10:51:28 +08:00
wuzhenghui
129bfce02e feat(esp_hw_support): support esp32p4 pll start/stop event callback 2024-03-10 10:51:28 +08:00
wuzhenghui
1e17cecd24 feat(example): support esp32p4 timer/gpio/uart sleep wakeup 2024-03-10 10:51:28 +08:00
wuzhenghui
65e9d0ddb9 feat(esp_hw_support): add esp32p4 sleep initial support 2024-03-10 10:51:28 +08:00
wuzhenghui
856f043331 feat(esp_hw_support): add esp32p4 pmu initial support 2024-03-10 10:51:28 +08:00
morris
60a2bf6a68 Merge branch 'feat/gpio_reserve_rmt' into 'master'
Check GPIO reservation in the RMT driver

Closes IDF-9199 and IDF-9104

See merge request espressif/esp-idf!29130
2024-03-09 23:58:52 +08:00
morris
391a187c11 feat(rmt): check if the gpio number is reserved by others 2024-03-09 10:33:58 +08:00
morris
c952cfb673 feat(gpio): reserve gpio output atomically 2024-03-09 10:33:58 +08:00
Darian Leung
1332f2934a feat(freertos): Add application task tag support
This commit enables support for application task tag.

- Added CONFIG_FREERTOS_USE_APPLICATION_TASK_TAG option
- Added basic unit test
2024-03-09 00:57:37 +08:00
Rahul Tank
c460e1cd7e Merge branch 'bugfix/expose_baud_rate_in_menu' into 'master'
fix(nimble): Exposed the baud rate for hci uart in menuconfig

See merge request espressif/esp-idf!29412
2024-03-08 22:51:20 +08:00
Rahul Tank
d8ab10c978 Merge branch 'features/uart_host_only_tut' into 'master'
docs(nimble): Improved documentation for uart host only example

See merge request espressif/esp-idf!29401
2024-03-08 22:49:46 +08:00
Rahul Tank
9921d5bcfe Merge branch 'bugfix/gap_connect_failed_with_0x0d' into 'master'
fix(nimble): Revise the help section for the Kconfig macro BLE_RPA_TIMEOUT

See merge request espressif/esp-idf!29475
2024-03-08 22:43:22 +08:00
Rahul Tank
de9434549c fix(nimble): Address compilation errors when strict-prototype is enabled 2024-03-08 20:09:30 +05:30
Martin Vychodil
562733365c Merge branch 'update/bump_littlefs_to_1.14.2' into 'master'
feat: LittleFS bump version to 1.14.2

See merge request espressif/esp-idf!29452
2024-03-08 19:45:59 +08:00
Rahul Tank
a93a6ef447 Merge branch 'feat/read_multiple_variable_length' into 'master'
feat(nimble): read multiple variable length characteristics

Closes BLERP-423

See merge request espressif/esp-idf!29054
2024-03-08 19:40:02 +08:00
Omar Chebib
67a2d48940 Merge branch 'bugfix/coredump_switch_stack' into 'master'
fix(espcoredump): Reconfigure the stack guard when using custom coredump stack

See merge request espressif/esp-idf!29355
2024-03-08 19:30:42 +08:00
Harshal Patil
ff3e51885a Merge branch 'fix/incorrect_parent_crypto_clk_reset' into 'master'
fix(hal/crypto): Do not reset parent crypto clk when resetting a crypto peripheral

See merge request espressif/esp-idf!29422
2024-03-08 18:28:54 +08:00
Martin Vychodil
68fe7d6e80 Merge branch 'bugfix/nvs_find_performance' into 'master'
fix(nvs): Fixed Page::findItem performance degradation

See merge request espressif/esp-idf!29483
2024-03-08 18:22:13 +08:00
Dai Zi Yan
23d1cd577d Merge branch 'docs/add_CN_trans_for_system/ulp_instruction_set.rst' into 'master'
docs: Provide Chinese translation for api-reference/system/ulp_instruction_set.rst

Closes DOC-6205

See merge request espressif/esp-idf!25872
2024-03-08 17:43:37 +08:00
Ren Pei Ying
3a9dd08979 docs: Provide Chinese translation for api-reference/system/ulp_instruction_set.rst 2024-03-08 17:43:36 +08:00
Kevin (Lao Kaiyao)
e5c7820fd6 Merge branch 'feature/add_c5mp_soc_files_part2' into 'master'
feat(esp32c5mp): add soc files (stage 2/8, part 2/2)

See merge request espressif/esp-idf!29420
2024-03-08 17:26:09 +08:00
Omar Chebib
9046bf1645 fix(espcoredump): Reconfigure the stack guard when using custom coredump stack 2024-03-08 17:25:42 +08:00
Harshit Malpani
31d30e7eb7 ci: Fix pre_encrypted_ota example failure in CI 2024-03-08 14:49:24 +05:30
Island
56756a799e Merge branch 'bugfix/fix_ble_periodic_adv_params_check' into 'master'
fix(ble/bluedroid): Fixed BLE  periodic advertising create sync parameter check

Closes BLERP-599

See merge request espressif/esp-idf!29442
2024-03-08 16:48:31 +08:00
Xu Si Yu
21c7d7a9d2 fix(vfs): fix eventfd select 2024-03-08 16:11:39 +08:00
Zhang Hai Peng
e7d88505e5 Merge branch 'bugfix/fix_ble_host_crash_on_deinitialization' into 'master'
fix(ble/bluedroid): Fixed BLE crash when repeatedly iniitialize and deinitialize host

Closes BLERP-584 and BLERP-583

See merge request espressif/esp-idf!29319
2024-03-08 15:21:52 +08:00
Roshan Bangar
f95784e4a9 fix(nimble): Exposed the baud rate for hci uart in menuconfig 2024-03-08 13:06:11 +08:00
Jakob Hasse
4d629be602 refactor(linux): Unified libbsd handling
* Users can now use libbsd string.h and sys/cdefs.h functionality
  (e.g., strlcpy, containerof) on Linux by just including
  string.h or sys/cdefs.h. In other words, the includes are the same
  on the Linux target as well as on chips targets (ESP32, etc.).
* libbsd linking is done by the linux component (belongs to common
  components) now instead of handling it separately in each component
2024-03-08 12:26:54 +08:00
Michael (XIAO Xufeng)
2103c3b943 Merge branch 'docs/spi_master_gpio_matrix_esp32_only' into 'master'
docs(spi_master): fixed timing comments that only apply for ESP32

See merge request espressif/esp-idf!29335
2024-03-08 12:20:33 +08:00
laokaiyao
881782f83d feat(esp32c5mp): add soc files part 2 2024-03-08 10:48:25 +08:00
Marius Vikhammer
c90681a167 feat(bootloader): check and update bootloader/bootloader support component for C5 2024-03-08 10:25:21 +08:00
Wan Lei
966f47f5c1 Merge branch 'feat/c5_spi_support' into 'master'
feat(spi): bring up c5 spi master/slave/hd driver

Closes IDF-8698, IDF-8699, and IDF-8700

See merge request espressif/esp-idf!29133
2024-03-08 09:41:21 +08:00
Marius Vikhammer
503b917ca5 fix(bootloader): fixed P4 bootloader being able to boot with certain configs
Due to internal memory being behind a cache on P4 we need to make sure we do
cache write backs when manipulating IRAM over the dcache.
2024-03-08 09:40:32 +08:00
radek.tandler
508d9a6a22 fix(nvs): Fixed Page::findItem performance degradation
Wrong condition gating the hash map use causing performance degradation was corrected

The condition enabling use of hash map when page is searched for Item was modified
to correct the bug introduced by commit addressing delete of any BLOB_INDEX Items.
This correction returns the performance of findItem to the state before previous change.
2024-03-07 19:47:33 +01:00
Sumeet Singh
9f34e4e9d9 feat(nimble): read multiple variable length characteristics 2024-03-07 19:46:54 +05:30
Rahul Tank
8e863fa9a8 Merge branch 'bugfix/handle_callout_free_in_deinit' into 'master'
fix(nimble): Handle memory leak in callout deinit

See merge request espressif/esp-idf!29433
2024-03-07 22:02:17 +08:00
Rahul Tank
b6e0ef0297 Merge branch 'bugfix/add_esp_timer_get_expiry_time' into 'master'
fix(nimble): Add support for esp_timer_get_expiry_time to nimble porting layer

See merge request espressif/esp-idf!29414
2024-03-07 21:48:23 +08:00
Roland Dobai
1f3493da43 Merge branch 'docs/add_qemu_system_deps' into 'master'
docs(qemu): add system dependencies list

See merge request espressif/esp-idf!28433
2024-03-07 21:34:18 +08:00
Erhan Kurubas
4462a2040f Merge branch 'coredump_refactoring' into 'master'
Coredump refactoring

See merge request espressif/esp-idf!29268
2024-03-07 21:23:39 +08:00
Anton Maklakov
686a0e4f0f docs(qemu): add system dependencies list 2024-03-07 20:37:24 +08:00
Tomas Rezucha
c5dd4a827c Merge branch 'fix/bbpll_usb_link_error' into 'master'
fix(esp_phy): Allow "Enable USB when phy init" option only on supported targets

Closes IDFGH-10996 and IDFGH-11554

See merge request espressif/esp-idf!27364
2024-03-07 19:43:01 +08:00
wuzhenghui
85b246ac88 feat(system): gate the debug clock source by default for esp32c6 and esp32h2 2024-03-07 19:26:39 +08:00
wuzhenghui
f5707c6ab8 feat(system): gate the REF_TICK clock by default for esp32c6 and esp32h2 2024-03-07 19:26:38 +08:00
wuzhenghui
60e985e7af feat(system): gate the LP peripheral clock by default for esp32c6 and esp32h2 2024-03-07 19:26:38 +08:00
wuzhenghui
0528c8b4f4 feat(system): gate the HP peripheral clock by default for esp32c6 and esp32h2 2024-03-07 19:26:37 +08:00
wuzhenghui
48e6629987 change(hal): redefine some ll for unsafe calling 2024-03-07 19:26:37 +08:00
Kevin (Lao Kaiyao)
0766d73e5e Merge branch 'bugfix/fix_the_crash_of_ana_cmpr_etm_example' into 'master'
fix(ana_cmpr): fix the crash of the etm example

See merge request espressif/esp-idf!29469
2024-03-07 19:21:23 +08:00
Mo Fei Fei
e9241fd269 Merge branch 'docs/update_cn_trans_intr_alloc.rst' into 'master'
doc: update cn trans intr_alloc.rst

Closes DOC-7265

See merge request espressif/esp-idf!29103
2024-03-07 19:12:31 +08:00
Mo Fei Fei
3812d314d2 doc: update cn trans intr_alloc.rst 2024-03-07 19:12:31 +08:00
laokaiyao
9659a6f2c5 ci(ana_camr): enable example test on p4 2024-03-07 18:36:36 +08:00
wanlei
8625ed252e fix(spi): test_apps mv idf_perform_test to esp_driver_spi domain 2024-03-07 18:16:27 +08:00
wanlei
0cf11e5b87 feat(spi): add esp32c5 spi support 2024-03-07 18:11:48 +08:00
Cao Sen Miao
1517d61add fix(i2c): Fix I2C synchronous transaction cost so much CPU source,
Closes https://github.com/espressif/esp-idf/issues/13137,
Closes https://github.com/espressif/esp-idf/pull/13322
2024-03-07 17:51:23 +08:00
Ondrej Kosta
6a09d98089 feat(esp_eth): added option to configure interrupt priority 2024-03-07 10:30:32 +01:00
Abhinav Kudnar
20ba589f1c fix(nimble): Revise the help section for the Kconfig macro BLE_RPA_TIMEOUT. 2024-03-07 14:40:12 +05:30
Sudeep Mohanty
0de2912f91 Merge branch 'fix/esp_system_requires_esp_gdbstub' into 'master'
fix(esp_system): Updated the CMakeLists.txt to add requirement for esp_gdbstub component

Closes IDFGH-12162

See merge request espressif/esp-idf!29132
2024-03-07 16:24:46 +08:00
Erhan Kurubas
434b096c72 refactor(espcoredump): simplify uart/flash write flow 2024-03-07 16:10:50 +08:00
Erhan Kurubas
91586bbc85 refactor(espcoredump): replace uart and flash callbacks with aliases 2024-03-07 16:10:50 +08:00
Erhan Kurubas
18fc19faf2 refactor(espcoredump): keep checksum context in coredump stack 2024-03-07 16:10:50 +08:00
laokaiyao
5e2c83332f fix(ana_cmpr): fix the crash of the etm example 2024-03-07 15:34:35 +08:00
Darian
dc86c17b38 Merge branch 'feature/freertos_smp_update_to_v11' into 'master'
FreerTOS: Update Amazon SMP FreeRTOS files to V11.0.1

See merge request espressif/esp-idf!28352
2024-03-07 15:03:21 +08:00
Wan Lei
cac16a083f Merge branch 'feat/c6lite_c61_introduce_step2_soc_2' into 'master'
feat(esp32c61): add soc header files (stage 2/8, part 2/3)

See merge request espressif/esp-idf!29431
2024-03-07 14:42:28 +08:00
Guillaume Souchere
e6218d6fb2 Merge branch 'feat/newlib-add-aligned-alloc' into 'master'
feat(newlib): Add definition of aligned_alloc to heap.c

Closes IDF-9112

See merge request espressif/esp-idf!28815
2024-03-07 14:22:38 +08:00
Chen Jian Hua
9c075b9ab0 Merge branch 'bugfix/fix_idfci_1944' into 'master'
Fixed HCI command status event sending for disconnect command on ESP32

Closes BLERP-595 and BLERP-596

See merge request espressif/esp-idf!29373
2024-03-07 10:41:07 +08:00
Chen Jian Hua
d76ac4527d Merge branch 'bugfix/fix_fcs_1385' into 'master'
fix(bt/bluedroid): Fixed crash when calculating GATTS database hash

See merge request espressif/esp-idf!28788
2024-03-07 10:40:32 +08:00
Adam Múdry
5136081cf3 feat: LittleFS bump version to 1.14.2 2024-03-07 01:25:52 +01:00
Darian
64c1ed24af Merge branch 'refactor/usbh_event_callback_api' into 'master'
refactor(usb): Update USBH event callback arguments

See merge request espressif/esp-idf!29199
2024-03-07 02:55:48 +08:00
Darian Leung
411e5481e7 refactor(usb): Remove USBH control transfer callback
This commit merges the USBH control transfer callback into the USBH event
callback. This simplifies the code as the USBH now uses a single callback.
2024-03-06 23:09:17 +08:00
Darian Leung
ec2f08ace6 refactor(usb): Update USBH event callback arguments
This commit does the following:

- Updates the USBH event callback arguments to now pass a usbh_event_data_t
which can contain different data for each event
- Updated event names
2024-03-06 23:09:16 +08:00
Jiang Guang Ming
60894143d7 Merge branch 'bugfix/update_esp32p4lp_rom_ld_files' into 'master'
fix(esp_rom): Update esp32p4lp rom ld files

See merge request espressif/esp-idf!28966
2024-03-06 20:40:53 +08:00
morris
3f76aca0a3 Merge branch 'contrib/github_pr_13256' into 'master'
Use __builtin_unreachable in HAL_ASSERT no-assert mode (GitHub PR)

Closes IDFGH-12202

See merge request espressif/esp-idf!29237
2024-03-06 18:45:29 +08:00
zhanghaipeng
2c3d9ae5de fix(ble/bluedroid): Fixed BLE BLE periodic advertising parameter check 2024-03-06 18:10:30 +08:00
Rahul Tank
20eda4bb26 fix(nimble): Handle memory leak in callout deinit 2024-03-06 15:40:22 +05:30
Guillaume Souchere
a7bd00eacc feat(newlib): Add definition of aligned_alloc to heap.c
Add the definition of aligned_alloc to the list of
definitions provided by heap.c.

Note that memalign (strictly equivalent) to aligned_alloc
is already defined in heap.c.
2024-03-06 11:06:14 +01:00
Alexey Lapshin
3359694717 Merge branch 'update/rom-elfs-to-20240305' into 'master'
feat(tools): update esp-rom-elf to version 20240305

See merge request espressif/esp-idf!29428
2024-03-06 18:01:06 +08:00
Jakob Hasse
d55333cb78 Merge branch 'refactor/format_cxx' into 'master'
refactor(cxx): formatted according to IDF astyle rules

See merge request espressif/esp-idf!29417
2024-03-06 17:45:57 +08:00
Rahul Tank
06dc388b21 Merge branch 'bugfix/addr_resol_for_esp32' into 'master'
fix(nimble): Added the check to prevent address resolution in case of identity addr for esp32

Closes BLERP-580 and BLERP-594

See merge request espressif/esp-idf!29297
2024-03-06 17:37:17 +08:00
Guillaume Souchere
2ade4d3458 Merge branch 'feat/movee_heap_init_into_component' into 'master'
refactor(heap): decouple heap_init from esp_system

Closes IDF-8754

See merge request espressif/esp-idf!29024
2024-03-06 17:36:59 +08:00
morris
d0509988a2 feat(mipi_dsi): use DCS short packet when possible 2024-03-06 17:25:09 +08:00
zhanghaipeng
82c2602afa fix(ble/bluedroid): Fixed BLE crash when repeatedly initialize and deinitialize host 2024-03-06 15:49:01 +08:00
Kevin (Lao Kaiyao)
9d381c2ae8 Merge branch 'feature/i2s_support_more_mclk_multiples' into 'master'
feat(i2s): support more mclk_multiples

See merge request espressif/esp-idf!29177
2024-03-06 15:47:57 +08:00
Kevin (Lao Kaiyao)
413c53d39a Merge branch 'feature/support_esp32c5_mp_target' into 'master'
feat(esp32c5mp): add soc files (stage 2/8, part 1/2)

See merge request espressif/esp-idf!29369
2024-03-06 14:19:40 +08:00
zwl
bc3bb46f13 ble(update):
Update h2 lib to d0218de8
Update c6 lib to d0218de8
2024-03-06 14:17:14 +08:00
Marius Vikhammer
efc3f9fa88 Merge branch 'bugfix/rom_systimer_config' into 'master'
fix(rom): fixed systimer always using ROM implementation

See merge request espressif/esp-idf!29354
2024-03-06 12:26:06 +08:00
Marius Vikhammer
501628e5e8 Merge branch 'bugfix/linux_target_esp_common_strlcpy' into 'master'
fix(linux_target): fix esp_err_to_name failing to compile on linux

See merge request espressif/esp-idf!29285
2024-03-06 11:55:58 +08:00
morris
be8033701c fix(hal): use __builtin_unreachable in no-assert mode
otherwise due to esp-idf using -Werror, we can get errors in code which
uses HAL_ASSERT if for example the compiler believes that a variable is
used uninitialised, or similar.

Inspired by https://github.com/espressif/esp-idf/pull/13256
2024-03-06 11:50:32 +08:00
wanlei
aec7aa3416 feat(esp32c61): add soc header files (2/2) 2024-03-06 11:42:14 +08:00
Island
7b32d26e8b Merge branch 'feat/support_get_bluedroid_status' into 'master'
feat(bt/bluedroid): Add ext adv and privacy status check

Closes BLERP-468

See merge request espressif/esp-idf!29218
2024-03-06 11:41:55 +08:00
Island
be29217eeb Merge branch 'bugfix/fix_some_bluedroid_bugs_2402' into 'master'
fix(bt/blufi): Fixed BluFi module link error(C++ hybrid compilation)

See merge request espressif/esp-idf!29220
2024-03-06 11:41:50 +08:00
Omar Chebib
eeb5e2f080 Merge branch 'refactor/cpu_interrupt_table' into 'master'
refactor(Core System/Interrupts): changed reserved interrupt functions to be now defined per SoC

Closes IDF-5728

See merge request espressif/esp-idf!29020
2024-03-06 11:26:17 +08:00
Mo Fei Fei
c42b8399c4 Merge branch 'docs/update_cn_trans_fatal_errors' into 'fix/esp_system_requires_esp_gdbstub'
docs: update cn trans fatal-errors

See merge request espressif/esp-idf!29419
2024-03-06 10:35:02 +08:00
Wan Lei
84f27d65f6 Merge branch 'feat/c6lite_c61_introduce_step2_soc' into 'master'
feat(esp32c61): add soc peripheral header files (stage 2/8, part 1/2)

See merge request espressif/esp-idf!29353
2024-03-06 10:30:39 +08:00
laokaiyao
97835c3c92 feat(i2s): support more mclk_multiples 2024-03-06 10:22:27 +08:00
Jiang Jiang Jian
b25cd5232a Merge branch 'bugfix/fix_pbuf_assert_when_recycle_cache_sub_amsdu_eb_issue' into 'master'
fix(wifi): fix some amsdu issue

Closes WIFIBUG-4 and WIFIBUG-317

See merge request espressif/esp-idf!29403
2024-03-06 10:20:39 +08:00
C.S.M
831c354cf6 Merge branch 'contrib/github_pr_13090' into 'master'
Update temp_sensor.rst documentation to match example (GitHub PR)

Closes IDFGH-12025

See merge request espressif/esp-idf!28846
2024-03-06 10:11:40 +08:00
BOT
c07862cee8 Update temp_sensor.rst documentation to match example (GitHub PR) 2024-03-06 10:11:40 +08:00
Guillaume Souchere
32db5e4f6b Merge branch 'tests/esp32p4-console-support' into 'master'
test(console): add esp32p4 target support to console tests and example

Closes IDF-8105 and IDF-8078

See merge request espressif/esp-idf!28834
2024-03-06 10:09:03 +08:00
Marius Vikhammer
b809267359 fix(rom): fixed systimer always using ROM implementation 2024-03-06 09:47:12 +08:00
Roland Dobai
9b02e86ca6 Merge branch 'ci/full_fetch_while_check_version' into 'master'
ci: use full fetch while checking git tags

See merge request espressif/esp-idf!29426
2024-03-05 23:45:58 +08:00
Alexey Lapshin
044f667a9b feat(tools): update esp-rom-elf to version 20240305 2024-03-05 19:32:53 +04:00
Fu Hanxi
4b17811c86 ci: use full fetch while checking git tags 2024-03-05 15:38:02 +01:00
Mahavir Jain
9f4e8eb0cd Merge branch 'feature/re_enable_mbedtls_testapp_on_p4' into 'master'
feat: re enables tests on p4

Closes IDF-8982

See merge request espressif/esp-idf!29150
2024-03-05 22:08:28 +08:00
Tomas Rezucha
65515487a9 Merge branch 'revert-f68c131e' into 'master'
Revert "Merge branch 'ci/disable_p4_cdc_acm_host' into 'master'"

Closes IDFCI-2042

See merge request espressif/esp-idf!29418
2024-03-05 21:26:25 +08:00
hongshuqing
d78805670a fix: fix_maximum_value_of_config_rtc_clk_cal_cycle_bug 2024-03-05 19:33:30 +08:00
Darian
b7428bcf7d Merge branch 'bugfix/freertos_tick_hook_build_issue' into 'master'
fix(freertos/idf): Fix build error when CONFIG_FREERTOS_USE_TICK_HOOK is enabled

Closes IDFGH-12247

See merge request espressif/esp-idf!29380
2024-03-05 19:26:58 +08:00
muhaidong
736e4f2fe5 fix(wifi): fix some amsdu issue
1. limit the number of sub amsdu
2. fix recycle cache sub amsdu eb issue
2024-03-05 19:06:09 +08:00
sonika.rathi
0e5793b270 feat(vfs): Add function to dump VFS file descriptors 2024-03-05 18:03:27 +08:00
Ondrej Kosta
131dfbef9b Merge branch 'feature/p4_spi_eth' into 'master'
Ethernet Examples: added default GPIO for SPI

Closes IDF-8073 and IDF-7488

See merge request espressif/esp-idf!29407
2024-03-05 17:57:02 +08:00
Mahavir Jain
842a658322 Merge branch 'feature/add_jtag_re_enable_example' into 'master'
feat: add example to re-enable jtag using hmac peripheral

Closes IDF-6909 and IDF-6910

See merge request espressif/esp-idf!26672
2024-03-05 17:52:59 +08:00
nilesh.kale
f6a7fb13cd feat: re enables tests on p4
This commit re-enables mbedtls and hal/crypto testapos on p4.
2024-03-05 17:48:05 +08:00
harshal.patil
2b6f12ba51 fix(hal/crypto): Do not reset parent crypto clk when resetting a crypto peripheral 2024-03-05 15:08:08 +05:30
Abhinav Kudnar
2bd7f672cb fix(nimble): Added the check to prevent address resolution in case of identity addr for esp32 2024-03-05 14:56:02 +05:30
Tomas Rezucha
832a706eb5 revert(usb_host): Revert temporary disable cdc_acm_vcp test for P4
This reverts commit b1bbca60ee
2024-03-05 10:04:10 +01:00
Rahul Tank
b2c9d7a834 fix(nimble): Add support for esp_timer_get_expiry_time to nimble porting layer 2024-03-05 14:28:24 +05:30
Mahavir Jain
c8651c1041 Merge branch 'docs/custom_endpoint_response_memory_allocation' into 'master'
docs(wifi_provisioning): Use heap to allocate memory for the response

Closes IDFGH-12210

See merge request espressif/esp-idf!29402
2024-03-05 16:30:36 +08:00
laokaiyao
a56b575535 feat(esp32c5mp): add soc files part 1
The files in this part are auto generated
2024-03-05 16:18:02 +08:00
laokaiyao
cfc1584594 feat(esp32c5): support to set esp32c5 mp target in Kconfig 2024-03-05 16:17:53 +08:00
mofeifei
3dc5bfd58b docs: update cn trans fatal-errors 2024-03-05 15:52:37 +08:00
Darian Leung
48a7f053d5 feat(freertos/smp): Update other IDF components to be compatible with FreeRTOS v11.0.1 2024-03-05 15:44:12 +08:00
Darian Leung
83c686c744 feat(freertos/smp): Update ports to support Amazon FreeRTOS v11.0.1
- vTaskPreemptionDisable()/vTaskPreemptionEnable() are no longer available in
single-core builds.
- xTaskIncrementTick() calls must now be wrapped by critical section
- Minimal Idle Task renamed to Passive Idle Task
- Port critical section APIs updated
2024-03-05 15:44:12 +08:00
Darian Leung
888678d102 feat(freertos/smp): Add ESP-IDF specific modifications
- Add ESP-IDF specific modifications to FreeRTOS-Kernel-SMP source code
- Update IDF addition source files to support V11 kernel
2024-03-05 15:44:12 +08:00
Darian Leung
421dab29fa feat(freertos/smp): Update SMP FreeRTOS files to V11.0.1
This commit updates the source files of Amazon SMP FreeRTOS to upstream
V11.0.1 (https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/V11.0.1).

This version contains SMP support.
2024-03-05 15:44:11 +08:00
Peter Marcisovsky
0286a78ca4 Merge branch 'ci/usb_host_add_esp32s3_runners' into 'master'
ci(USB): Add ESP32-S3 runners to USB CI:

Closes IDF-9365 and IDFCI-2074

See merge request espressif/esp-idf!29219
2024-03-05 15:39:49 +08:00
Jakob Hasse
0c01c5965e refactor(cxx): formatted according to IDF astyle rules 2024-03-05 14:49:04 +08:00
Guillaume Souchere
e2144e01c1 refactor(heap): decouple heap_init from esp_system 2024-03-05 07:30:38 +01:00
Xu Si Yu
89962a16ab feat(openthread): support configuring indicator color of openthread device 2024-03-05 14:26:24 +08:00
Guillaume Souchere
0b9f01ac20 feat(soc): Add soc_caps macros for sleep support
- modify console example to use the new SOC_LIGHT_SLEEP_SUPPORTED
and SOC_DEEP_SLEEP_SUPPORTED macros when registering sleep commands

- remove exclusion of esp32p4 in basic and advanced example in
.build-test-rules.yml

- replace exclusion of esp32p4 for deep and light sleep tests with newly introduced macro

- remove the temporary disable check for esp32p4 and uses the
SOC_LIGHT_SLEEP_SUPPORTED maccro instead.
2024-03-05 07:05:40 +01:00
Marius Vikhammer
5f85aefe0d Merge branch 'reformat/astyle_misc_core_comps' into 'master'
refactor(core): reformat newlib and pthread with astyle

See merge request espressif/esp-idf!29277
2024-03-05 12:54:20 +08:00
Shang Zhou
c3d7ef1a0f Merge branch 'docs/sync_api-guides_files' into 'master'
docs: sync low-power-mode and usb-serial-jtag-console

Closes DOC-7008

See merge request espressif/esp-idf!29368
2024-03-05 11:48:56 +08:00
Wan Lei
3459db1bbb Merge branch 'feat/c6lite_c61_introduce_step1_target' into 'master'
feat(esp32c61): introduce target esp32c61 (1/8) 🌱

See merge request espressif/esp-idf!29238
2024-03-05 11:36:17 +08:00
Jakob Hasse
64d37664b4 Merge branch 'refactor/cxx_startup_function_cleanup' into 'master'
refactor(cxx): moved C++ init functions to cxx component

Closes IDF-8768

See merge request espressif/esp-idf!29095
2024-03-05 10:17:42 +08:00
C.S.M
0f03434119 Merge branch 'feature/tsens_etm' into 'master'
feature(temperature sensor): Temperature sensor ETM support.

Closes IDF-6357

See merge request espressif/esp-idf!28880
2024-03-05 10:09:25 +08:00
Jakob Hasse
32ecb0411c Merge branch 'fix/console_linux_target_mac' into 'master'
fix(linux): prevent build error on MacOS and optimize buffer usage on Linux

See merge request espressif/esp-idf!29176
2024-03-05 09:59:55 +08:00
Tomas Rezucha
ea086840a4 fix(esp_phy): Allow WiFi/USB interference workaround option only on supported targets
"Enable USB when phy init" Kconfig option would call esp_phy function
`phy_bbpll_en_usb()` that is not implemented for all targets.
Selecting this option for unsupported target results in linking error.

The necessity of this workaround is now defined soc_caps.h rather than
in the Kconfig.

Closes https://github.com/espressif/esp-idf/issues/12185
2024-03-04 16:35:51 +01:00
Ondrej Kosta
6643798227 feat(esp_eth): added configuration of SPI ETH for ESP32P4 ETH examples 2024-03-04 16:23:40 +01:00
Darian Leung
f9965e3092 change(freertos): Test tick and idle hooks in options test
Add CONFIG_FREERTOS_USE_TICK_HOOK and CONFIG_FREERTOS_USE_IDLE_HOOK to
sdkconfig.ci.freertos_options to ensure those options are tested.
2024-03-04 22:34:13 +08:00
Darian Leung
dec3786d30 fix(freertos/idf): Fix build error when CONFIG_FREERTOS_USE_TICK_HOOK is enabled
Closes https://github.com/espressif/esp-idf/issues/13297
2024-03-04 22:34:12 +08:00
chenjianhua
66df2b9dd5 fix(bt): Update bt lib for ESP32(5ea2fca)
- Fixed HCI command status event sending for disconnect command
- Fixed LE transmitter test command param check
2024-03-04 21:19:33 +08:00
Adam Múdry
b76123af06 Merge branch 'feature/fatfs_expand_files_api' into 'master'
feat(fatfs): Allow expanding files with seeking and truncating functions

Closes IDFGH-12035

See merge request espressif/esp-idf!28945
2024-03-04 20:56:44 +08:00
Ondrej Kosta
292e5d2cf4 Merge branch 'bugfix/esp_eth_format_warning' into 'master'
fix(esp_eth): Removed -Wno-format in esp_eth component

Closes IDF-5768

See merge request espressif/esp-idf!29385
2024-03-04 19:44:13 +08:00
Rahul Tank
f723b18d86 Merge branch 'bugfix/increase_reattempt_conn_count' into 'master'
fix(nimble): Increase range of reattempt connection count

See merge request espressif/esp-idf!29311
2024-03-04 19:43:21 +08:00
harshal.patil
483b87750c docs(wifi_provisioning): Use heap to allocate memory for the response
Added a note to specify that the memory for the response of a custom endpoint
should be allocated using the heap, as this memory gets freed by the protocomm layer
once it has been passed to the transport layer.

Closes https://github.com/espressif/esp-idf/issues/13263
2024-03-04 16:34:27 +05:30
nilesh.kale
37adea9a14 feat: add example to re-enable jtag using hmac peripheral 2024-03-04 15:42:33 +05:30
Aditya Patwardhan
acb733845f Merge branch 'bugfix/update_disabling_hmac_jtag_method' into 'master'
fix(esp_hw_support): update hmac toggle method due to discrepency in ROM code

See merge request espressif/esp-idf!29131
2024-03-04 17:55:59 +08:00
Konstantin Kondrashov
43c604f145 Merge branch 'feature/move_efuse_related_inits_into_component' into 'master'
feat(efuse): Move efuse-related init steps into the component

Closes IDF-8759 and IDF-8761

See merge request espressif/esp-idf!28422
2024-03-04 17:34:44 +08:00
Roshan Bangar
87b47b461d docs(nimble): Improved documentation for uart host only example 2024-03-04 15:04:30 +05:30
Tomas Rezucha
33425140bf Merge branch 'feature/usb_hs_periodic_scheduler' into 'master'
feat(usb/host): Update ISOC scheduler for HS endpoints

Closes IDF-7473

See merge request espressif/esp-idf!27804
2024-03-04 16:45:26 +08:00
morris
19a4d3bab6 Merge branch 'contrib/github_pr_13294' into 'master'
Flush rgb lcd PSRAM framebuffers after allocation (GitHub PR)

Closes IDFGH-12244 and IDFGH-12243

See merge request espressif/esp-idf!29374
2024-03-04 15:53:40 +08:00
Tomas Rezucha
93fc17575f Merge branch 'refactor/esp_hid_astyle' into 'master'
refactor(esp_hid): Format the code with astyle

See merge request espressif/esp-idf!29302
2024-03-04 15:41:10 +08:00
zwx
9458456b02 fix(openthread): using atomic variable for buffer count 2024-03-04 15:06:46 +08:00
Marius Vikhammer
efb87efbb4 Merge branch 'docs/wdt_typo' into 'master'
docs(wdt): fixed spelling mistakes in wdt doc

See merge request espressif/esp-idf!29306
2024-03-04 14:39:05 +08:00
Jiang Jiang Jian
0e5e2ffb3c Merge branch 'bugfix/fix_phy_pll_track_corner_case' into 'master'
fix(phy): fix pll track when enabling and disabling PHY frequently

See merge request espressif/esp-idf!28547
2024-03-04 14:27:46 +08:00
Shang Zhou
4e4be31b4a docs: sync low-power-mode and usb-serial-jtag-console 2024-03-04 14:24:17 +08:00
Mahavir Jain
0c47128627 Merge branch 'contrib/github_pr_13132' into 'master'
[SECURITY] [docs] Add warning about integrity of pre_encrypted_ota (GitHub PR)

Closes IDFGH-12071

See merge request espressif/esp-idf!29384
2024-03-04 11:42:08 +08:00
Cao Sen Miao
943ebe2ca2 docs(temperature_sensor): Add new documents for temperature sensor ETM on ESP32C6/H2 2024-03-04 11:36:18 +08:00
Gao Xu
3e54584e61 Merge branch 'docs/add_p4_uart_programming_guide' into 'master'
docs(uart): update lp uart and p4 uart programming guide

Closes IDF-7737

See merge request espressif/esp-idf!29179
2024-03-04 11:00:05 +08:00
Michael (XIAO Xufeng)
69d4893e85 docs(spi_master): fixed timing comments that only apply for ESP32 2024-03-04 00:41:54 +08:00
KonstantinKondrashov
f9800e0726 feat(efuse): Move efuse-related init steps into the component 2024-03-01 21:07:03 +02:00
Tomas Rezucha
72f00d7c6d feat(usb/host): Update ISOC scheduler for HS endpoints
USB-OTG uses 'sched_info' field of HCTSIZ register to schedule transactions
in USB microframes.
2024-03-01 18:05:40 +01:00
Ondrej Kosta
edf49a92b7 fix(esp_eth): Removed -Wno-format in esp_eth component 2024-03-01 17:01:28 +01:00
Roland Dobai
b3f35cf590 Merge branch 'feature/export_bat_exit_codes' into 'master'
feat(tools): produce correct err code in install/export .bat scripts

Closes IDFGH-9295

See merge request espressif/esp-idf!29231
2024-03-01 23:49:37 +08:00
wanlei
ee02b71f1c feat(esp32c61): introduce target esp32c61 2024-03-01 21:12:25 +08:00
Marek Fiala
c21cdf0a1f feat(tools): produce correct err code in export/install .bat scripts
Plus unify labels to begin with underscore
2024-03-01 13:00:09 +01:00
Xu Si Yu
d183000311 Merge branch 'feature/ot_enable_rcp_uart_for_br_by_default' into 'master'
feat(Thread): enable RCP uart configuration for BR by default

See merge request espressif/esp-idf!28897
2024-03-01 19:28:38 +08:00
Roland Dobai
dc987dab7f Merge branch 'fix/idf_tools_diff_python_dir' into 'master'
fix(tools): Add additional Python environment checks

Closes IDFGH-12140

See merge request espressif/esp-idf!29162
2024-03-01 19:20:44 +08:00
Cao Sen Miao
c6be2584a7 test(temperature_sensor): Add new test for temperature sensor ETM on ESP32C6/H2 2024-03-01 18:52:42 +08:00
Cao Sen Miao
2b2b3be98f feat(temperature_sensor): Add new support for temperature sensor ETM on ESP32C6/H2 2024-03-01 18:52:39 +08:00
wanlei
5fef81609a feat(esp32c61): add soc peripheral header files (1/2) 2024-03-01 18:09:13 +08:00
Markus Ebner
c755a62329 fix(esp_lcd): Flush rgb lcd PSRAM framebuffers after allocation
Flush PSRAM framebuffers after allocation to avoid visual corruption.

Merges https://github.com/espressif/esp-idf/pull/13294
Closes https://github.com/espressif/esp-idf/issues/13293
2024-03-01 18:05:22 +08:00
Sudeep Mohanty
e4f167df25 Merge branch 'fix/freertos_optimize_critical_sections' into 'master'
fix(riscv): Updated RISC-V functions to set interrupt threshold for CLIC targets

Closes IDFCI-2033, IDFCI-2034, IDF-8090, and IDF-8117

See merge request espressif/esp-idf!29055
2024-03-01 17:51:14 +08:00
morris
c5f81bb2f3 Merge branch 'feat/mipi_dsi_lvgl_9' into 'master'
feat(lcd): update mipi dsi example with lvgl v9

See merge request espressif/esp-idf!29303
2024-03-01 17:45:51 +08:00
David Čermák
9e0ad656c9 Merge branch 'fix/sntp_getreachability' into 'master'
fix(netif): Add missing SNTP get-reachablitiy API

Closes DOC-7124

See merge request espressif/esp-idf!28659
2024-03-01 16:22:33 +08:00
gaoxu
7075b61a6a docs(uart): update lp uart and p4/c5 uart programming guide 2024-03-01 16:21:22 +08:00
Konstantin Kondrashov
9a5d6c844c Merge branch 'feature/efuse_destroy_block' into 'master'
feat(efuse): Adds destroy_block API

Closes IDF-8354

See merge request espressif/esp-idf!29200
2024-03-01 15:51:20 +08:00
Kevin (Lao Kaiyao)
31437c34a9 Merge branch 'refactor/support_esp32c5_beta3_mp_coexistence' into 'master'
refactor(esp32c5): support esp32c5 beta3 & mp coexistence

See merge request espressif/esp-idf!29248
2024-03-01 15:50:05 +08:00
Zhang Xiao Yan
c6268b7b6a Merge branch 'docs/add_command_example_get_started' into 'master'
docs: add command example to get-started/establish-serial-connection

See merge request espressif/esp-idf!29125
2024-03-01 15:21:04 +08:00
Armando (Dou Yiwen)
7b414002f6 Merge branch 'change/psram_200m_update' into 'master'
change(psram): update voltage configurations

See merge request espressif/esp-idf!28933
2024-03-01 15:17:24 +08:00
Fu Hanxi
d2b95201c3 ci: fix dynamic pipeline for tag pipelines 2024-03-01 08:17:20 +01:00
Gao Xu
e1ec760daf Merge branch 'contrib/github_pr_13025' into 'master'
Missing include for rom/uart.h (GitHub PR)

Closes IDFGH-11947

See merge request espressif/esp-idf!28591
2024-03-01 14:33:54 +08:00
Darian
6f3ebe5a68 Merge branch 'change/twai_examples_message_obj_init' into 'master'
change(driver/twai): Update TWAI message object initialization examples

Closes DOC-7309

See merge request espressif/esp-idf!29278
2024-03-01 13:43:37 +08:00
morris
49c43a7ff7 feat(lcd): update mipi dsi example with lvgl v9 2024-03-01 13:39:11 +08:00
laokaiyao
01e3c85322 refactor(esp32c5): change beta3 path in esp_system and bootloader 2024-03-01 11:12:36 +08:00
chenjianhua
2e122313c2 feat(bt/bluedroid): Add ext adv and privacy status check 2024-03-01 11:07:37 +08:00
Jakob Hasse
f9c9e18bca fix(linux): prevent build error on MacOS and optimize buffer usage on Linux 2024-03-01 11:01:15 +08:00
Jakob Hasse
bafaf07c18 refactor(cxx): moved C++ init functions to cxx component
* Also fixed setting the C++ exception emergency pool size
  correctly when C++ exceptions are disabled:
  __cxx_eh_arena_size_get() is now called again even if
  CONFIG_COMPILER_CXX_EXCEPTIONS=n
2024-03-01 11:00:09 +08:00
laokaiyao
db2435fd14 feat(soc_cap_kconfig): support to search recursively 2024-03-01 10:17:17 +08:00
laokaiyao
45a094367d change(doxyfile): move soc files to target specific doxygen
soc files relies on target variable, which not correct while there are multiple versions for one target
2024-03-01 10:16:45 +08:00
laokaiyao
319e30ac38 refactor(esp32c5): change beta3 path in soc 2024-03-01 10:16:14 +08:00
laokaiyao
3a5d080ec0 refactor(esp32c5): change beta3 path in esp_rom 2024-03-01 10:13:45 +08:00
laokaiyao
1b91e84544 feat(esp32c5): add esp32c5 mp target 2024-03-01 10:13:45 +08:00
Ivan Grokhotkov
293f529cd7 Merge branch 'bugfix/sdspi_acmd41_arg' into 'master'
fix(sdmmc): fixes for card initialization (ACMD41)

Closes IDFGH-4892 and IDFGH-9144

See merge request espressif/esp-idf!29298
2024-03-01 08:42:01 +08:00
C.S.M
3e0a672d91 Merge branch 'feature/jpeg_decoder' into 'master'
feat(jpgd): Add jpeg decode support on esp32p4 🖼️ (goal: Trying to merge in March 🛰️ )

See merge request espressif/esp-idf!28639
2024-02-29 23:43:05 +08:00
David Cermak
c30f2825d5 fix(netif): Add missing SNTP get-reachablitiy API 2024-02-29 23:37:45 +08:00
Peter Marcisovsky
1302fd70ba ci: Add esp32s3 runner for usb device example tests
- CI USB device tests are run on esp32s3
    - usb_host env_marker removed - not used anymore
    - failing usb_device_ncm test fixed
2024-02-29 15:10:18 +01:00
C.S.M
1360f1b0a9 Merge branch 'feature/i2c_support_esp32c5' into 'master'
feat(i2c): Add I2C support on ESP32C5

Closes IDF-8694 and IDF-8696

See merge request espressif/esp-idf!29196
2024-02-29 21:51:45 +08:00
Mahavir Jain
e18fd01d0d Merge branch 'fix/pmp_idcache_reg_prot' into 'master'
fix(esp_hw_support): Fix the I/DCACHE region PMP protection

See merge request espressif/esp-idf!28525
2024-02-29 21:39:11 +08:00
Mahavir Jain
7adbc9cf4b Merge branch 'fix/fix_key_manager_clock_changes' into 'master'
fix(hal): Fix Key Manager clock changes

See merge request espressif/esp-idf!28890
2024-02-29 21:38:18 +08:00
Mahavir Jain
d62f7aa643 Merge branch 'refactor/protocomm_public_hdr' into 'master'
refactor(protocomm): Make the protocomm `proto-c` headers public

See merge request espressif/esp-idf!29312
2024-02-29 21:38:03 +08:00
Mahavir Jain
eac860a057 Merge branch 'ci/fix_otatool_example' into 'master'
ci: Fix otatool example failure in CI for ESP32-C2

Closes IDFCI-2057

See merge request espressif/esp-idf!29332
2024-02-29 21:33:50 +08:00
Xu Si Yu
1e01517657 Merge branch 'feature/add_led_for_ot_device' into 'master'
feat(openthread): add different led color for openthread devices

Closes TZ-597

See merge request espressif/esp-idf!28779
2024-02-29 21:14:29 +08:00
Gao Xu
46cd7a393f Merge branch 'feature/esp32c5_uart_support' into 'master'
feat(uart): add HP/LP uart support on ESP32C5

Closes IDF-8722 and IDF-8723

See merge request espressif/esp-idf!28899
2024-02-29 19:37:34 +08:00
Roland Dobai
907669fc3a Merge branch 'fix/fix_install_ps1_script' into 'master'
Tools: ReferenceError in install.ps1 script

See merge request espressif/esp-idf!29293
2024-02-29 18:43:56 +08:00
Tomas Rezucha
6529f7e3ec Merge branch 'ci/usb_host_add_p4_examples_ci' into 'master'
ci(USB): add ESP32-P4 runners to existing USB CI

Closes IDF-9127

See merge request espressif/esp-idf!28795
2024-02-29 18:43:16 +08:00
redfast00
836516b409 docs(esp32): add warning about authenticity of pre-encrypted ota 2024-02-29 10:40:36 +00:00
Roland Dobai
185e49b53f fix(tools): Add additional Python installation checks
Warn if IDF_PYTHON_ENV_PATH set to a suspicious path with
different ESP-IDF version and/or Python version.

Fail if the virtual environment was created for a different ESP-IDF
version.

Closes https://github.com/espressif/esp-idf/issues/13196
2024-02-29 11:28:03 +01:00
Wang Meng Yang
09c504687b Merge branch 'bugfix/incr_coex_request_queue' into 'master'
fix(bt/controller): Fixed some esp32 bt controller bugs in coexistence scheme which affected the allocation of RF

Closes BT-3540

See merge request espressif/esp-idf!29309
2024-02-29 17:55:39 +08:00
Peter Marcisovsky
51d6296fde ci: Added esp32p4 usb tests to CI:
- added new test for usb_host_lib example for all targets
    - CI USB host test are run on esp32p4
    - CI USB device tests temporarily disabled until usb_device runner is fixed
    - hcd and usb_host tests which do not require PHY are run on esp32p4
2024-02-29 10:35:09 +01:00
Cao Sen Miao
d11030ade6 docs(jpeg): Add basic programming guide for jpeg decoder 2024-02-29 17:20:09 +08:00
Xu Si Yu
48a65ae18f feat(openthread): add different led color for openthread devices 2024-02-29 17:04:13 +08:00
Jan Beran
615285f6de fix(install.ps1): fix ReferenceError in install.ps1 script
This fix preventing RefferenceError when accessing g.idf_path
before initialization
2024-02-29 09:57:10 +01:00
Harshit Malpani
e02801caad ci: Fix otatool example failure in CI for ESP32-C2 2024-02-29 14:09:36 +05:30
Alexey Lapshin
fdb7a43752 Merge branch 'feature/esp32p4_concontiguous_mem_mvp' into 'master'
feat(esp_system): allow .bss to spill over into L2MEM above 0x4ff40000 on P4

See merge request espressif/esp-idf!28783
2024-02-29 16:28:13 +08:00
Jiang Jiang Jian
83f40382b6 Merge branch 'bugfix/fix_c2_disconnect_reason_code_wrong_issue' into 'master'
fix(wifi): fix esp32c2 disconnect reason code wrong issue

Closes WIFIBUG-435

See merge request espressif/esp-idf!29299
2024-02-29 14:50:21 +08:00
nilesh.kale
152f172367 fix(esp_hw_support): update hmac toggle method due to discrepency in ROM code
Need to update the HMAC enable/disable method due to discrepancy in ROM code
across different targets for the esp_hmac_disable() API.
2024-02-29 12:01:09 +05:30
gaoxu
1b1e4d2f76 feat(uart): change fifo.byte to fifo.val when uart_ll_write_txfifo 2024-02-29 14:20:10 +08:00
gaoxu
f9109beda2 feat(uart): add HP/LP uart support on ESP32C5 2024-02-29 14:12:51 +08:00
Cao Sen Miao
518c7f5b14 test(jpeg): Add basic test_app for jpeg_decoder 2024-02-29 13:51:21 +08:00
Cao Sen Miao
e3a12a9ad6 feat(jpeg): Add jpeg decoder example for esp32p4 2024-02-29 13:51:19 +08:00
Cao Sen Miao
abc2971d95 feat(jpeg): Add basic jpeg decoder support on esp32p4 2024-02-29 13:51:16 +08:00
Darian
6817e9f07c Merge branch 'fix/console_none_build_issues' into 'master'
fix(console): Fix build issues when CONFIG_ESP_CONSOLE_NONE is enabled

Closes IDFGH-11900

See merge request espressif/esp-idf!29295
2024-02-29 12:17:21 +08:00
Cao Sen Miao
ddb0c21d4c feat(i2c): Add I2C support on ESP32C5 2024-02-29 12:13:39 +08:00
Aditya Patwardhan
4636ef946b fix(esp_hw_support): Update key manager locking mechanism 2024-02-29 12:00:30 +08:00
Aditya Patwardhan
3ffb811d18 fix(hal): Fix Key Manager clock changes 2024-02-29 12:00:30 +08:00
Mahavir Jain
afbed25c6f Merge branch 'bugfix/update_crypto_test_apps_for_sha' into 'master'
fix(hal/test_apps): update sha testcases flow

See merge request espressif/esp-idf!29050
2024-02-29 11:58:05 +08:00
Mahavir Jain
bbac5a738d Merge branch 'docs/update_restful_server_readme' into 'master'
docs: Update restful server example README file

See merge request espressif/esp-idf!29318
2024-02-29 11:57:33 +08:00
Song Ruo Jing
091fe38835 Merge branch 'feature/esp32c5_gdma_support' into 'master'
feat(gdma): add GDMA support for ESP32C5

Closes IDF-8710, IDF-8712, and IDF-8716

See merge request espressif/esp-idf!28968
2024-02-29 11:44:05 +08:00
Ricardo Quesada
f082788957 fix(uart): add missing include for rom/uart.h
Without this include it fails to compile with this error:

```
esp/esp-idf-v5.2/components/esp_rom/include/esp32/rom/uart.h:262:32: error: implicit declaration of function 'UART_STATUS_REG' [-Werror=implicit-function-declaration]
  262 |         status = READ_PERI_REG(UART_STATUS_REG(uart_no));
```

Merges https://github.com/espressif/esp-idf/pull/13025
2024-02-29 11:05:50 +08:00
Jin Cheng
cdb2f2c570 fix(bt/controller): Fixed 3 esp32 bt controller bugs
update esp32 bt-lib (952debf4)

1. Increased the length of queue for coexist requestions
2. fix(bt/controller): Cleared BT SNIFF when no connections exists
3. fix(bt/controller): Corrected a typo in coex module
2024-02-29 11:02:37 +08:00
Wang Meng Yang
e99abdd6de Merge branch 'bugfix/fix_hci_cmd_status_evt_sent' into 'master'
Fixed HCI command status event send when LLCP busy on ESP32

Closes BLERP-333

See merge request espressif/esp-idf!27858
2024-02-29 10:48:06 +08:00
Armando
62440e5b12 change(psram): update voltage configurations 2024-02-29 10:42:37 +08:00
muhaidong
eb54a4698c fix(wifi): fix esp32c2 disconnect reason code wrong issue 2024-02-29 09:58:24 +08:00
Adam Múdry
35e312c48e feat(fatfs): Allow expanding files with seeking and truncating functions
Closes https://github.com/espressif/esp-idf/issues/13100
2024-02-29 01:01:32 +01:00
Alexey Lapshin
97702b3579 Merge branch 'fix/xtensa-memset-memcpy_inlining' into 'master'
fix(tools): do not use builtin memcpy/memset/strcpy on xtensa chips

Closes IDFGH-12173

See merge request espressif/esp-idf!29232
2024-02-29 07:39:13 +08:00
Anton Maklakov
b1114cfec1 Merge branch 'ci/fix_git_strategy_env_var' into 'master'
ci: fix git strategy env var

See merge request espressif/esp-idf!29326
2024-02-29 02:56:27 +08:00
C.S.M
0b9b928ce9 Merge branch 'bugfix/fix_flash_encryption_rom_c3' into 'master'
fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled

Closes IDF-9192

See merge request espressif/esp-idf!29188
2024-02-29 01:13:20 +08:00
Rahul Tank
2e2b828555 Merge branch 'bugfix/example_uart_data_handling' into 'master'
fix(nimble): Corrected acl data handling code in bleprph_host_only

See merge request espressif/esp-idf!29006
2024-02-29 00:05:50 +08:00
Alexey Lapshin
824c8e0593 feat(esp_system): allow .bss to spill over into L2MEM above 0x4ff40000
This commit introduce SOC_MEM_NON_CONTIGUOUS_SRAM flag (that enebled for
esp32p4). If SOC_MEM_NON_CONTIGUOUS_SRAM is enabled:

- LDFLAGS+=--enable-non-contiguous-regions
- ldgen.py replaces "arrays[*]" from sections.ld.in with objects under
  SURROUND keyword. (e.g. from linker.lf: data -> dram0_data SURROUND(foo))
- "mapping[*]" - refers to all other data

If SOC_MEM_NON_CONTIGUOUS_SRAM, sections.ld.in file should contain at
least one block of code like this (otherwise it does not make sense):

  .dram0.bss (NOLOAD) :
  {
    arrays[dram0_bss]
    mapping[dram0_bss]
  } > sram_low

  .dram1.bss (NOLOAD) :
  {
    /* do not place here arrays[dram0_bss] because it may be splited
     * between segments */
    mapping[dram0_bss]
  } > sram_high
2024-02-28 19:41:25 +04:00
Roland Dobai
b079552f8b Merge branch 'contrib/github_pr_13266' into 'master'
Updated Dockerfile for devcontainer usage (GitHub PR)

Closes IDFGH-12213

See merge request espressif/esp-idf!29314
2024-02-28 22:35:50 +08:00
Roshan Bangar
51d571c498 fix(nimble): Corrected acl data handling code in bleprph_host_only 2024-02-28 19:48:34 +05:30
Fu Hanxi
5af630da20 ci: fix git strategy env var 2024-02-28 15:04:34 +01:00
Roland Dobai
88a41e85c9 Merge branch 'python_check_win_msg' into 'master'
fix(tools): fix python dependecy test on windows

Closes IDFCI-2051

See merge request espressif/esp-idf!29313
2024-02-28 21:04:13 +08:00
Darian Leung
87e2d842ab change(console): Add build test for no console output
This commit adds a build test to test the scenario where both the primary and
secondary console outputs are disabled by Kconfig.
2024-02-28 20:39:52 +08:00
Jin Cheng
f4f26e94bd feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module 2024-02-28 20:30:38 +08:00
Darian Leung
4e4278477d fix(console): Fix build issues when CONFIG_ESP_CONSOLE_NONE is enabled
This commit fixes the following build issues when CONFIG_ESP_CONSOLE_NONE is
enabled:

- vfs_console.c will attempt to register a VFS entry for STDIO console even if
CONFIG_ESP_CONSOLE_NONE is enabled. This results in "undeclared `primary_path`"
error.
- esp_console_repl_chpi.c does not use "TAG" when CONFIG_ESP_CONSOLE_NONE is
enabled, leading to a "defined by not used" warning.

Closes https://github.com/espressif/esp-idf/issues/12984
2024-02-28 20:28:27 +08:00
Konstantin Kondrashov
b123f62b78 feat(efuse): Adds destroy_block API 2024-02-28 14:27:08 +02:00
Ondrej Kosta
4ddc947d1c Merge branch 'bugfix/eth_link_reset' into 'master'
fix(esp_eth): Fixed Ethernet link reset when Ethernet is stopped

Closes IDF-9195

See merge request espressif/esp-idf!29058
2024-02-28 20:26:29 +08:00
Darian
f5b08b29ea Merge branch 'bugfix/usb_host_usbh_callback_misses_action' into 'master'
fix(usb): Fix bug where usbh_process() misses an event

See merge request espressif/esp-idf!29233
2024-02-28 20:16:25 +08:00
Harshit Malpani
1b7d8fafc5 docs: Update restful server example README file
Closes https://github.com/espressif/esp-idf/issues/13230
2024-02-28 16:52:11 +05:30
timoxd7
626aa9f4ca ci(docker): Added get_idf alias to .bashrc 2024-02-28 10:31:32 +01:00
Peter Dragun
a6c62bdfb6 fix(tools): fix python dependecy test on windows 2024-02-28 10:30:57 +01:00
Laukik Hase
379e02ec9c refactor(protocomm): Make the protocomm proto-c headers public 2024-02-28 14:35:04 +05:30
Island
28b4ad2b53 Merge branch 'bugfix/ble_update_lib_20240223' into 'master'
update lib on master

Closes BLERP-563, BLERP-567, BLERP-548, BLERP-561, BLERP-569, BLERP-542, BLERP-541, BLERP-543, BLERP-540, BLERP-570, BLERP-571, BLERP-572, and BLERP-573

See merge request espressif/esp-idf!29207
2024-02-28 16:54:14 +08:00
Ivan Grokhotkov
fb95daab06 fix(sdmmc): extend the maximum number of retries of ACMD41
According to the application note in SD Card Physical Specification:

> The host shall set ACMD41 timeout more than 1 second to abort repeat
of issuing ACMD41 when the card does not indicate ready. The timeout
count starts from the first ACMD41 which is set voltage window
in the argument.

Previously, the timeout was exactly one second, and this caused
certain larger-capacity cards to "time out", because they couldn't
finish initialization process in time.
2024-02-28 09:33:24 +01:00
Ivan Grokhotkov
47ba4d639a fix(sdmmc): use correct argument for ACMD41 in SPI mode
ACMD41 argument is different between SD mode and SPI mode.
In SPI mode, the only non-zero bit may be the HCS bit. Unlike the SD
mode, the bits reflecting the host's OCR should be zero.
Previously, we used to set these bits the same way as for the SD mode.
This has caused certain cards to fail initializing, apparently their
controllers have checked the ACMD41 argument more strictly and refused
to finish initialization, resulting in an error such as

    sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107

(Note that this error may have other causes than the one fixed in
this commit. For example, if the card doesn't have a sufficient and
stable power supply, it may also fail to complete the internal
initialization process, and will never clear the busy flag in R1
response.)

Closes https://github.com/espressif/esp-idf/issues/6686
Closes https://github.com/espressif/esp-idf/issues/10542
2024-02-28 09:33:23 +01:00
Bogdan Kolendovskyy
f02fadda87 Merge branch 'bugfix/ip101_hw_reset_include' into 'master'
fix(esp_eth): explicitly include FreeRTOS headers into ip101 driver

See merge request espressif/esp-idf!29063
2024-02-28 16:20:35 +08:00
Sudeep Mohanty
f65a55952c Merge branch 'bugfix/ulp_rtc_i2c_doesnt_work_with_interrupts' into 'master'
RTC I2C does not work when interrupts are enabled on ULP RISC-V

See merge request espressif/esp-idf!28844
2024-02-28 16:12:34 +08:00
Jin Cheng
20f2207d5f Merge branch 'bugfix/mem_leak_op_dev_name' into 'master'
fix(bt/bluedroid): Avoided possible memory leak in the module of BT device

See merge request espressif/esp-idf!29141
2024-02-28 15:54:24 +08:00
Sudeep Mohanty
459ff8348f fix(riscv): Added RISC-V functions to set interrupt threshold for CLIC targets
This commit added the RISC-V utility functions to set the interrupt
threshold for CLIC targets by using direct register value writes.
This makes the functions more efficient during run-time.
This is done to improve the critical section enter and exit performance on esp32p4.
2024-02-28 08:51:37 +01:00
Island
5e658f5d10 Merge branch 'bugfix/fix_ble_max_reconnect' into 'master'
fix(ble/bluedroid): Update maximum BLE reconnection attempts configuration

Closes BLERP-568, BLERP-581, and BLERP-582

See merge request espressif/esp-idf!29186
2024-02-28 15:41:02 +08:00
Sudeep Mohanty
7444890a03 fix(esp_system): Updated the conditions for the GDBStub on Panic Kconfig option
This commit updates the Panic handler behavior Kconfig setting to make
the GDBStub on Panic (CONFIG_ESP_SYSTEM_PANIC_GDBSTUB) option to be only
available when esp_gdbstub is part of the component list of the build.

Closes https://github.com/espressif/esp-idf/issues/13218
2024-02-28 08:34:08 +01:00
Rahul Tank
30d5c36aac fix(nimble): Increase range of reattempt connection count 2024-02-28 12:56:57 +05:30
Omar Chebib
c1849df791 refactor(esp_hw_support): changed reserved interrupt functions to be now defined per SoC 2024-02-28 15:21:10 +08:00
Jiang Guang Ming
73c60401af fix(esp_rom): Update esp32p4lp rom ld files 2024-02-28 14:14:05 +08:00
Jiang Guang Ming
3117659bed fix(esp_rom): Update esp32p4 rom caps 2024-02-28 14:13:16 +08:00
Laukik Hase
2265c0f230 feat(tools/test_apps): Add violation tests for the flash I/DROM region
- For SoCs supporting PMP
2024-02-28 10:54:38 +05:30
Laukik Hase
366e4ee944 refactor(esp_hw_support): Remove redundant PMP entry for ROM region
- The ROM text and data sections share the address range
    (see SOC_I/DROM_MASK_LOW - SOC_I/DROM_MASK_HIGH).
  - Initially, we had two PMP entries for this address range - one marking the
    region as RX and the other as R.
  - However, the latter entry is redundant as the former locks the PMP settings.
  - We can divide the ROM region into text and data sections later when we
    define boundaries marking these regions from the ROM.
2024-02-28 10:54:38 +05:30
Laukik Hase
ff839be31d fix(esp_hw_support): Fix the I/DCACHE region PMP protection 2024-02-28 10:54:37 +05:30
Song Ruo Jing
98d9f04b00 feat(gdma): add GDMA support for ESP32C5 2024-02-28 12:38:02 +08:00
chenjianhua
7df536d325 fix(bt): Update bt lib for ESP32(2de69f3)
- Fixed HCI command status event send when LLCP busy
2024-02-28 12:09:03 +08:00
Wu Zheng Hui
f3b95059f9 Merge branch 'bugfix/fix_sleep_cache_safe_assertion' into 'master'
fix(esp_hw_support): fix cache safe check function

See merge request espressif/esp-idf!29246
2024-02-28 10:50:52 +08:00
Marius Vikhammer
455dd4e786 docs(wdt): fixed spelling mistakes in wdt doc 2024-02-28 10:13:24 +08:00
Cao Sen Miao
44e16a6401 fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled
The issue is `esp_flash_write_encryped` function in ROM on ESP32C3, ESP32S3
calls legacy implementation, which uses old configuration. And this causes
write fails.
The solution in this commit is to compile and link this function(and related)
in IRAM instead of the ROM one.
The IRAM cost increases around 1.2KB after the fix
2024-02-28 10:07:53 +08:00
zwl
7b8b85e140 bugfix(ble) : fixed some ble issues on ESP32-C2 2024-02-27 23:28:25 +08:00
zwl
093bc1a4f5 ble(update):
Update c2 lib to 79be7ec9
Update h2 lib to c6f7cb08
Update c6 lib to c6f7cb08
2024-02-27 23:28:25 +08:00
C.S.M
7cf8cc79a1 Merge branch 'fix/ci_i2c_sleep_retention' into 'master'
fix(i2c): Modify the test memory leak check threshold and add more file pattern

See merge request espressif/esp-idf!29290
2024-02-27 23:00:29 +08:00
Joshua
09503600f2 fix(bt/blufi): Fixed BluFi module link error(C++ hybrid compilation) 2024-02-27 22:32:14 +08:00
Raghu Saxena
82a711d4e2 fix(bt/example): Use correct struct type 2024-02-27 22:32:14 +08:00
thekurtovic
3e74922c9e fix(bt/bluedroid): Fixed "reprot" typo in esp_ble_gap_ext_adv_reprot_t 2024-02-27 22:32:14 +08:00
zhanghaipeng
3eec662473 fix(ble/bluedroid): Update maximum BLE reconnection attempts configuration 2024-02-27 22:03:37 +08:00
Tomas Rezucha
7f22c235db refactor(esp_hid): Format the code with astyle 2024-02-27 14:48:43 +01:00
morris
5d812b5ae5 Merge branch 'feature/mipi_dpi_multi_frame_buffer' into 'master'
feat(mipi_dsi): support multiple frame buffers

See merge request espressif/esp-idf!28862
2024-02-27 21:29:36 +08:00
Gao Xu
f3ebfaef53 Merge branch 'feat/add_gpio_fun_sel_api' into 'master'
feat(gpio): add gpio fun select api

See merge request espressif/esp-idf!29198
2024-02-27 21:04:31 +08:00
Darian Leung
3887441b37 fix(usb): Fix bug where usbh_process() misses an event
This commit fixes a bug where if multiple concurrent USBH API calls trigger
multiple events on the same device, some events will be lost. As a result,
those lost events don't get processed by the subsequent usbh_process() call.
2024-02-27 18:22:48 +08:00
Bogdan Kolendovskyy
eb8985886d fix(esp_eth): explicitly include FreeRTOS headers into ip101 driver to ensure availability of vTaskDelay 2024-02-27 18:13:07 +08:00
morris
cf20dfee1d feat(mipi_dsi): support multiple frame buffers 2024-02-27 17:49:04 +08:00
morris
f0342d6b59 feat(dw_gdma): support change link list item connection
by dw_gdma_lli_set_next
2024-02-27 17:49:04 +08:00
Cao Sen Miao
28a0548c67 fix(i2c): Modify the test memory leak check threshold and add more file pattern 2024-02-27 17:30:59 +08:00
wuzhenghui
4e731e8612 fix(esp_hw_support): fix cache safe check function 2024-02-27 17:29:24 +08:00
Fu Hanxi
12de4603c0 Merge branch 'ci/fix_multi_dut_without_param' into 'master'
ci(pytest): fix multi dut wrongly be picked issue

See merge request espressif/esp-idf!28793
2024-02-27 17:02:12 +08:00
gaoxu
e9ce63532b feat(gpio): add gpio fun sellect api 2024-02-27 17:01:53 +08:00
Marius Vikhammer
3c9463bc75 fix(linux_target): fix esp_err_to_name failing to compile on linux 2024-02-27 16:55:43 +08:00
Jiang Jiang Jian
be7fe58971 Merge branch 'feature/improve_coex_connect_compatibility' into 'master'
feat(coex): improve Wi-Fi connecting compatibility at coexistence

Closes WIFI-6362, WIFI-6320, WIFIBUG-216, FCC-60, and FCC-59

See merge request espressif/esp-idf!28195
2024-02-27 16:53:21 +08:00
Konstantin Kondrashov
11d44e82eb Merge branch 'feature/efuse_esp32p4_add_new' into 'master'
feat(efuse): Adds new efuses for esp32p4

See merge request espressif/esp-idf!29085
2024-02-27 15:37:39 +08:00
Chen Yu Dong
0c55596e26 Merge branch 'revert-57955cc1' into 'master'
Revert "Merge branch 'ci/ignore_c6_wifi_two_dut_runners' into 'master'"

See merge request espressif/esp-idf!29280
2024-02-27 14:39:57 +08:00
Chen Yu Dong
6af93c154b Revert "Merge branch 'ci/ignore_c6_wifi_two_dut_runners' into 'master'"
This reverts merge request !28944
2024-02-27 14:24:37 +08:00
Darian Leung
b18a787469 change(driver/twai): Update TWAI message object initialization examples
This commit updates how examples and code snippets initialize the
twai_message_t for transmission. Examples/snippets now explicitly demonstrate
how to initialize every member/bit-field of the object.
2024-02-27 11:52:51 +08:00
Linda
ecddca6582 docs: add command example to get-started/establish-serial-connection 2024-02-27 11:28:40 +08:00
Marius Vikhammer
f2fe408b99 refactor(core): reformat newlib and pthread with astyle 2024-02-27 10:00:06 +08:00
liuning
5314cf8aee example: add custom partition table for mesh manual networking 2024-02-27 09:45:21 +08:00
liuning
7440e302be feat(coex): improve Wi-Fi connecting compatibility at coexistence 2024-02-27 09:43:00 +08:00
Martin Vychodil
4cb3a75436 Merge branch 'bugfix/nvs_lock_initi_and_multipage_blob' into 'master'
Bugfix/nvs Improved handling of BLOB during unreliable power environment and concurrent data access scenarios

Closes IDF-8839

See merge request espressif/esp-idf!28843
2024-02-27 04:50:56 +08:00
Alexey Lapshin
04b73368e5 fix(tools): do not use builtin memcpy/memset/strcpy on xtensa chips
Closes https://github.com/espressif/esp-idf/issues/13228
2024-02-27 02:09:54 +08:00
Alexey Lapshin
5eb058ea0f Merge branch 'ci/fix_p4_build_failures' into 'master'
ci: fix ESP32-P4 build failures in CI

See merge request espressif/esp-idf!29249
2024-02-27 02:09:08 +08:00
Harshit Malpani
19104b430f ci: fix ESP32-P4 build failures in CI 2024-02-26 22:59:01 +08:00
Erhan Kurubas
b71dabf08b Merge branch 'register_gcov_tick_hook_once' into 'master'
fix(gcov): avoid multiple tick hook registration

See merge request espressif/esp-idf!29087
2024-02-26 20:47:46 +08:00
Shu Chen
cd3c813aa6 Merge branch 'bugfix/fix_ot_ci_config' into 'master'
fix(openthread): configurations for openthread examples

See merge request espressif/esp-idf!29243
2024-02-26 19:54:30 +08:00
Ondrej Kosta
6013d0e1e6 Merge branch 'ci/bridge_pytest' into 'master'
ci(esp_eth): run iperf over longer period for SPI ETH bridge

See merge request espressif/esp-idf!28842
2024-02-26 19:17:18 +08:00
morris
82c0e18dd8 Merge branch 'refactor/astyle_driver' into 'master'
change(driver): reformat driver component with astyle_py

See merge request espressif/esp-idf!29217
2024-02-26 18:36:31 +08:00
Tomas Rezucha
5863a27bd2 feat(usb/host): Add missing sync types from USB specification 2024-02-26 10:50:20 +01:00
Shu Chen
cda92ca0e9 Merge branch 'fix/openthread_alarm_timer_overflow' into 'master'
fix(openthread): fix openthread alarm timer calculation remaining_us overflow issue

See merge request espressif/esp-idf!29146
2024-02-26 17:25:42 +08:00
Xu Si Yu
fbe6b5f194 fix(openthread): configurations for openthread examples 2024-02-26 17:06:01 +08:00
morris
c65fbbdf71 change(driver): reformat driver component with astyle_py 2024-02-26 11:47:05 +08:00
Mahavir Jain
603bc0536c Merge branch 'fix/support_gcm_soft_fallback_for_non_aes_ciphers' into 'master'
fix(mbedtls/gcm): Add support for software fallback for non-AES ciphers in a GCM operation

Closes IDF-8494

See merge request espressif/esp-idf!28007
2024-02-26 11:18:11 +08:00
Ivan Grokhotkov
b39f13d685 Merge branch 'ci/ignore_c3_flash_multi_cases' into 'master'
ci: ignore c3 flash_multi cases

See merge request espressif/esp-idf!29229
2024-02-24 16:52:44 +08:00
radek.tandler
fc6951e193 fix(nvs): Improved lockig mechanism for initialization phase 2024-02-24 07:55:32 +01:00
radek.tandler
635e6b154e fix(nvs): eraseMultiPageBlob to robustly delete all related BLOB_DATA records and respect VER_ANY 2024-02-24 07:55:32 +01:00
radek.tandler
cad09ea461 fix(nvs): corrected findItem to return BLOB_DATA when chunkIndex = CHUNK_ANY 2024-02-24 07:55:22 +01:00
Roland Dobai
ceff9566ad Merge branch 'feature/unsupported_platfomr_list' into 'master'
feat(tools): idf_tools.py unsupported platforms list

Closes IDFGH-11767, IDFGH-11873, and IDFGH-12090

See merge request espressif/esp-idf!29016
2024-02-24 14:27:28 +08:00
C.S.M
2302dd5a91 Merge branch 'feature/i2c_sleep' into 'master'
feat(i2c): Support i2c sleep retention on esp32c6/h2

Closes IDF-8458

See merge request espressif/esp-idf!28885
2024-02-24 09:58:35 +08:00
Fu Hanxi
0df25d5229 ci: ignore c3 flash_multi cases 2024-02-23 14:15:35 +01:00
Harshit Malpani
ff94741cd1 Merge branch 'docs/update_app_utils_docs_for_esp32p4' into 'master'
docs: Update App Utils programming guide docs for ESP32P4

Closes IDF-7768 and IDF-8076

See merge request espressif/esp-idf!29051
2024-02-23 20:09:38 +08:00
Wang Meng Yang
e265484084 Merge branch 'change/reduce_usage_of_iram_when_bt_in_single_mode' into 'master'
change(bt/bluedroid): reset the app  redirected functions in controller based on the bluetooth mode

Closes BT-3546

See merge request espressif/esp-idf!28040
2024-02-23 17:59:34 +08:00
Fu Hanxi
859bd52131 Merge branch 'ci/upload_size_info_and_build_junit_report' into 'master'
ci: upload size info, and build junit report

See merge request espressif/esp-idf!28803
2024-02-23 16:16:26 +08:00
Lin Rui Hao
00df222cdf Merge branch 'docs/rf_coexistence_api_guides_support_esp32c2' into 'master'
Docs: RF coexistence api guides support esp32c2

Closes BT-3582

See merge request espressif/esp-idf!28780
2024-02-23 15:20:45 +08:00
Harshit Malpani
bae89606c3 feat: Update esp_local_ctrl example for ESP32P4 2024-02-23 12:33:11 +05:30
Harshit Malpani
2df1ba8535 docs: Update App Utils programming guide docs for ESP32P4
Re-enable protocol and ota examples for ESP32P4
2024-02-23 12:33:11 +05:30
Zhang Xiao Yan
bef0b16dba Merge branch 'docs/add_windows_link_to_jtag_debugging' into 'master'
docs: add a link for Windows users to JTAG debugging

See merge request espressif/esp-idf!29104
2024-02-23 14:26:07 +08:00
Jin Cheng
a288640655 fix(bt/bluedroid): Avoided possible memory leak in the module of BT device 2024-02-23 14:14:50 +08:00
Lou Tian Hao
ebbff30163 Merge branch 'docs/add_internal_inspection_mechanism_description_for_ext1' into 'master'
docs(pm): add internal inspection mechanism description doc for ext1

See merge request espressif/esp-idf!29149
2024-02-23 13:24:11 +08:00
harshal.patil
a21a16f34f ci(mbedtls/gcm): Added test to verify software fallback for non-AES cipher GCM operations 2024-02-23 10:47:30 +05:30
harshal.patil
8977be856d fix(mbedtls/gcm): Add support for software fallback for non-AES ciphers in a GCM operation
- Even if the config MBEDTLS_HARDWARE_AES is enabled, we now support fallback
to software implementation of GCM operations when non-AES ciphers are used.
2024-02-23 10:47:30 +05:30
Mahavir Jain
98373a3c2a Merge branch 'bugfix/encrypted_flash_write_safe_addr' into 'master'
fix(spi_flash): check for safe write address in encrypted flash API

See merge request espressif/esp-idf!29043
2024-02-23 12:30:30 +08:00
Cao Sen Miao
27b2f7a10b feat(i2c): Add test cases for i2c sleep retention with 802154 2024-02-23 11:28:17 +08:00
Cao Sen Miao
cf521b60ea feat(i2c): Support i2c sleep retention on esp32c6/h2 2024-02-23 11:28:14 +08:00
Mahavir Jain
000d1407ea Merge branch 'bugfix/host_security_workflow_docs_update' into 'master'
fix(docs): correct the UART ROM DL mode disable section for ESP32

See merge request espressif/esp-idf!29046
2024-02-23 11:24:29 +08:00
Lou Tian Hao
5e9d02549f docs(pm): improve chinese description 2024-02-23 11:05:49 +08:00
Song Ruo Jing
bbe4d602e1 doc(pm): improve english description 2024-02-23 10:45:15 +08:00
Zhi Wei Jian
76c4cfc834 Merge branch 'feature/add_api_to_send_vendor_hci_cmd' into 'master'
Add api to send vendor hci command

Closes BLERP-546

See merge request espressif/esp-idf!28855
2024-02-23 10:29:42 +08:00
Rahul Tank
c5e92ac4ce Merge branch 'bugfix/move_count' into 'master'
fix(nimble): Fix compilation issue in nimble for -O2 flag

See merge request espressif/esp-idf!29035
2024-02-23 09:14:47 +08:00
Darshan Dobariya
e6bf35b3c9 fix(nimble): Change 'move_count' to uint8_t type 2024-02-22 21:34:11 +05:30
Jiang Jiang Jian
8e06aedcb3 Merge branch 'bugfix/fix_dhcp_offer_and_dhcp_ack_use_ampdu_lead_dhcp_easy_fail_issue' into 'master'
fix(wifi): fixed dhcp offer and dhcp ack data rates

Closes WIFIBUG-142, AUD-5080, FCS-1347, and WIFI-6385

See merge request espressif/esp-idf!27459
2024-02-23 00:01:50 +08:00
Rahul Tank
2bec5d70b6 Merge branch 'bugfix/remove_namespace_variable_name' into 'master'
fix(nimble): update variable name to avoid using keyword

See merge request espressif/esp-idf!28972
2024-02-22 23:31:38 +08:00
Adam Múdry
8d3e79971e feat(fatfs): Add f_expand function as esp_vfs_fat_create_contiguous_file
Add esp_vfs_fat_test_contiguous_file to test it
2024-02-22 16:05:28 +01:00
muhaidong
41ce6211d3 fix(wifi): fix lmac_stop_hw_txq issue 2024-02-22 22:56:02 +08:00
muhaidong
e7625eb189 fix(wifi): fix some wifi issues
1. fix qos encapsulated eapol issue
2. fixed dhcp offer and dhcp ack data rates
2024-02-22 22:56:02 +08:00
muhaidong
d1838da407 fix(example): fixed app partion is too small for binary size 2024-02-22 22:56:02 +08:00
Martin Vychodil
0b4f451470 Merge branch 'fix/undeprecate_esp_vfs_fat_register' into 'master'
fix(fatfs): temp remove deprecated attribute from esp_vfs_fat_register

Closes IDFCI-2045

See merge request espressif/esp-idf!29168
2024-02-22 22:54:13 +08:00
radek.tandler
d879ec5248 fix(nvs): added check and erase of mismatched BLOB_DATA on init 2024-02-22 15:15:10 +01:00
Ivan Grokhotkov
5b53fb07fb fix(nvs): prevent out of bounds write if blob data is inconsistent 2024-02-22 15:15:10 +01:00
Marek Fiala
54be450c4a feat(tools): detect linux platform only on linux systems
Closes https://github.com/espressif/esp-idf/issues/13148
2024-02-22 19:30:11 +08:00
Marek Fiala
da43126f02 feat(tools): idf_tools.py unsupported platforms
Plus improved error messages about platform detection.

Closes https://github.com/espressif/esp-idf/issues/12959
Closes https://github.com/espressif/esp-idf/issues/12865
2024-02-22 19:30:11 +08:00
Lou Tianhao
71c8879099 docs(pm): add internal inspection mechanism description doc 2024-02-22 19:24:08 +08:00
Jiang Jiang Jian
c7a02cbe55 Merge branch 'c6_auto_dbias_master_hsq' into 'master'
ESP32C6: Active & sleep dbg and dbias get from efuse to fix the voltage

See merge request espressif/esp-idf!27696
2024-02-22 19:12:28 +08:00
Konstantin Kondrashov
0d90a91e12 Merge branch 'bugfix/esp_intr_free' into 'master'
fix(esp_hw_support): Fix esp_intr_free when task has no core affinity

See merge request espressif/esp-idf!27328
2024-02-22 18:58:10 +08:00
zhiweijian
7ea7f1536f feat(bt/bluedroid): add api to setnd vendor hci command 2024-02-22 18:00:30 +08:00
Marius Vikhammer
af6657b43b fix(fatfs): temp remove deprecated attribute from esp_vfs_fat_register
Causes build-errors internally in CI, should deprecate after external
components have been upgraded
2024-02-22 17:48:32 +08:00
Rahul Tank
dd38f2406b fix(nimble): update variable name to avoid using keyword 2024-02-22 15:14:33 +05:30
Roland Dobai
df390159f6 Merge branch 'fix/ci_test_cli_installer' into 'master'
fix(ci): Change expected message in tests after dependency checker update

Closes IDFCI-2046

See merge request espressif/esp-idf!29183
2024-02-22 17:11:18 +08:00
Mahavir Jain
b44387fd9b Merge branch 'feature/enable_ecc_support_for_c5' into 'master'
feat: added ecc peripheral support for esp32c5

Closes IDF-8625

See merge request espressif/esp-idf!29053
2024-02-22 16:36:30 +08:00
Wu Zheng Hui
3560d20a2e Merge branch 'docs/add_description_for_pd_top_gpio_configuration' into 'master'
docs(esp_pm): Adding notes on configuring GPIOs when using PD_TOP sleep

Closes IDFGH-12085 and IDFGH-13186

See merge request espressif/esp-idf!29097
2024-02-22 16:11:47 +08:00
Konstantin Kondrashov
b8e2342bf8 Merge branch 'bugfix/bootloader_flash_update_size' into 'master'
fix(bootloader_support): Adds bootloader_flash_update_size() for the rest chips

Closes IDFGH-12123

See merge request espressif/esp-idf!29049
2024-02-22 15:49:22 +08:00
Roland Dobai
0e318fb6fc fix(ci): Change expected message in tests after dependency checker update
This should fix the tests after 5f798eb78b
has changed the error message.
2024-02-22 08:03:29 +01:00
morris
47c575d30c Merge branch 'feat/oled_example_use_new_i2c_master_driver' into 'master'
feat(i2c_lcd): use new i2c master driver in oled example

Closes IDFGH-12145

See merge request espressif/esp-idf!29094
2024-02-22 11:55:20 +08:00
Island
6790a5f79f Merge branch 'bugfix/ble_mesh_pb_adv_compile_error' into 'master'
fix(ble_mesh): Fix compiling error when PB-ADV is disabled

Closes IDFGH-12147

See merge request espressif/esp-idf!29126
2024-02-22 11:33:59 +08:00
Marius Vikhammer
c3ecd6d1f7 Merge branch 'bugfix/reset_reasons' into 'master'
Update reset reasons for C6, H2, P4 and C5

Closes IDF-5719 and IDF-8660

See merge request espressif/esp-idf!28999
2024-02-22 11:02:29 +08:00
Jiang Jiang Jian
2a6b3df49f Merge branch 'feature/support_DPP_AKM_v1' into 'master'
Add support of Network Introduction Protocol in DPP.

Closes WIFI-6171 and WIFIBUG-156

See merge request espressif/esp-idf!20856
2024-02-22 10:35:07 +08:00
Rahul Tank
9c0714fae7 Merge branch 'bugfix/missing_controller_disabled_guard' into 'master'
fix(nimble): Fixes related to nimble host only

See merge request espressif/esp-idf!29034
2024-02-22 02:02:18 +08:00
Adam Múdry
b13f414be7 Merge branch 'feature/vfs_fat_config_register' into 'master'
feat(storage/fatfs): Switch to a config struct for VFS FAT registration

Closes IDF-9174

See merge request espressif/esp-idf!28977
2024-02-21 23:39:56 +08:00
Guillaume Souchere
3fa2450b2c Merge branch 'fix/esp32c2-rom-patch-kconfig' into 'master'
fix(heap): Hide check patch config if no tlsf rom used

Closes IDF-9196

See merge request espressif/esp-idf!29071
2024-02-21 21:30:11 +08:00
Roland Dobai
f0796406a5 Merge branch 'fix/py_dep_check' into 'master'
fix(tools): catch more general errors in python dependency checker

Closes IDF-9181

See merge request espressif/esp-idf!29048
2024-02-21 20:57:08 +08:00
Jiang Jiang Jian
be2ccdcc50 Merge branch 'bugfix/fix_double_free_coc' into 'master'
fix(nimble): Removed double free of packet

See merge request espressif/esp-idf!29030
2024-02-21 20:37:03 +08:00
Roland Dobai
d25980cac7 Merge branch 'feat/idf_tools_py_remove_global_vars' into 'master'
feat(idf_tools): Switch from global variables to singleton store

Closes IDF-4918

See merge request espressif/esp-idf!28907
2024-02-21 20:32:09 +08:00
Lin Rui Hao
6c9f50343d Merge branch 'bugfix/fix_coex_lib_circular_dependency' into 'master'
fix(esp_coex): fix circular dependency issue on esp32

Closes IDFGH-12049

See merge request espressif/esp-idf!29099
2024-02-21 19:04:28 +08:00
Sudeep Mohanty
1c015a3f0d feat(ulp-riscv): Added unit test for RTC I2C
This commit adds a unit-test for RTC I2C operation on the ULP RISC-V.
2024-02-21 11:46:19 +01:00
Konstantin Kondrashov
281031e24d feat(efuse): Adds new efuses for esp32p4 2024-02-21 12:45:31 +02:00
Sudeep Mohanty
993c8d4f0e fix(ulp-riscv): Wrapped all RTC I2C and UART operations in critical sections
This commit adds a workaround for a bug where the RTC I2C operations
result in a Bus Error when interrupts are enabled. The commit also adds
a critical section protection for UART print operations.
2024-02-21 11:45:06 +01:00
Sudeep Mohanty
d352ec615a feat(ulp-riscv): Added utility functions for atomicity
This commit adds utility functions to enter and exit critical sections
in the code flow by disabling and enabling interrupts.
2024-02-21 11:45:06 +01:00
Sudeep Mohanty
bc74cf808d feat(ulp-riscv): Added Kconfig option to enable ULP RISC-V interrupts
This commit adds a Kconfig option, CONFIG_ULP_RISCV_INTERRUPT_ENABLE, to
enable interrupts on the ULP RISC-V core on the esp32s2 and esp32s3.
2024-02-21 11:45:06 +01:00
nilesh.kale
747ee60dd5 feat: added ecc peripheral support for esp32c5
This commits adds support for ECC peripheral for ESP32C5
This is tested on mbedtls and hal testapps.
2024-02-21 14:52:56 +05:30
Fu Hanxi
85372fb1ce ci(pytest): fix multi dut wrongly be picked issue
This issue will happen to multi-dut test cases
- without `target` defined in param
- and with `app_path` defined in param
- and with `pytest.mark.target` markers
2024-02-21 10:18:21 +01:00
linruihao
e418e8ec21 docs: update rf coexistenct api guides
1. support esp32c2
2. fix inconsistency between CN and EN docs of rf coexistence
3. adjust the visibility of some contents based on soc_caps
2024-02-21 16:57:33 +08:00
linruihao
1d34bb5e8a fix(esp_coex): add support_coexistence soc_caps for esp32c2 and esp32h2 2024-02-21 16:38:46 +08:00
wuzhenghui
d688492fe9 docs(gpio): add description for gpio_force_hold_all & gpio_force_unhold_all
Closes https://github.com/espressif/esp-idf/issues/13186
2024-02-21 16:21:03 +08:00
wuzhenghui
cfd8c6fb94 docs(esp_pm): Adding notes on configuring GPIOs when using PD_TOP sleep
Closes https://github.com/espressif/esp-idf/issues/13143
2024-02-21 16:20:59 +08:00
aditi_lonkar
90cc61588e feat(esp_wifi): Add support of Network Introduction Protocol in DPP 2024-02-21 12:47:32 +05:30
Jiang Jiang Jian
03d6b092c0 Merge branch 'bugfix/fix_task_wdt_in_mplen_clear_rebase_master' into 'master'
fix(wifi):fix issues that in mplen clear and esp_wifi_set_mode

Closes WIFIBUG-401 and WIFI-6358

See merge request espressif/esp-idf!29120
2024-02-21 15:13:28 +08:00
xiaqilin
4d7e86eeb6 fix(openthread): fix openthread alarm timer calculation remaining_us overflow issue 2024-02-21 15:09:36 +08:00
KonstantinKondrashov
eeeebdf1cd fix(esp_hw_support): Fix esp_intr_free when taks has no core affinity
Closes https://github.com/espressif/esp-idf/issues/12608
2024-02-21 14:54:32 +08:00
Roshan Bangar
167c663542 fix(nimble): fixed missing controller disabled guard in esp_nimble_deinit 2024-02-21 11:55:41 +05:30
Rahul Tank
01bc97ab04 Merge branch 'bugfix/signed_write_fix' into 'master'
fix(nimble): Message to be signed is corrected in signed write

See merge request espressif/esp-idf!28816
2024-02-21 14:19:01 +08:00
Mahavir Jain
d99a715568 test: add encrypted flash write test for dangerous regions 2024-02-21 10:31:27 +05:30
Marius Vikhammer
4ce4af61ad fix(system): update reset reasons for P4 and C5 2024-02-21 11:59:28 +08:00
Gao Xu
a0532e1dce Merge branch 'bugfix/workaround_reset_eof_counter_c3' into 'master'
fix(adc): workaround to fix adc continuous get less results on c3

See merge request espressif/esp-idf!27414
2024-02-21 11:55:25 +08:00
yinqingzhao
8b8d0f886d fix(wifi):fix issues that in mplen clear and esp_wifi_set_mode 2024-02-21 11:18:39 +08:00
Kapil Gupta
3a2e0dcbfb Merge branch 'bugfix/mbo_api_flag' into 'master'
fix(wpa_supplicant):Add CONFIG_MBO flag for mbo apis.

Closes WIFIBUG-390

See merge request espressif/esp-idf!28560
2024-02-21 10:54:46 +08:00
Omar Chebib
345bf79b4e Merge branch 'bugfix/esp32p4_remove_fence' into 'master'
fix(riscv): Remove the memory barrier when changing interrupt threshold

Closes IDF-7898

See merge request espressif/esp-idf!29119
2024-02-21 10:49:18 +08:00
Jiang Jiang Jian
e1a5633e18 Merge branch 'bugfix/bootloader_custom_rtc_data_crc_master' into 'master'
fix(bootloader): add legacy retained memory CRC calculation

Closes IDFGH-11747

See merge request espressif/esp-idf!28934
2024-02-21 10:39:14 +08:00
Gao Xu
9c14a3345f Merge branch 'feature/esp32p4_gpio_support' into 'master'
feat(gpio): add gpio support on ESP32C5

Closes IDF-8717

See merge request espressif/esp-idf!28669
2024-02-21 10:26:34 +08:00
Marius Vikhammer
ffd62352de Merge branch 'ci/test_limit_main_cleanup' into 'master'
ci(test_apps): limit dependencies for misc test_apps

See merge request espressif/esp-idf!29088
2024-02-21 09:26:25 +08:00
Erhan Kurubas
5f42493573 Merge branch 'astyle_format_coredump' into 'master'
refactor(espcoredump): format coredump component with astyle

See merge request espressif/esp-idf!29114
2024-02-20 17:59:23 +08:00
Island
41ee4ad23f Merge branch 'bugfix/fix_ble_free_all_crash_issue' into 'master'
fix(ble): Fixed the free_all crash on esp32c6 and esp32h2

Closes BLERP-565

See merge request espressif/esp-idf!29107
2024-02-20 17:56:54 +08:00
Fu Hanxi
0a5eec08ef Merge branch 'ci/fix_wrongly_build_all_test_related_apps_issue' into 'master'
Ci/fix wrongly build all test related apps issue

See merge request espressif/esp-idf!29078
2024-02-20 17:40:59 +08:00
Chen Jian Xing
90035d3588 Merge branch 'bugfix/update_scan_ap_num_when_clear_ap_list' into 'master'
fix(wifi): fixed scan and home channel change issues

Closes WIFI-6456 and IDFGH-11976

See merge request espressif/esp-idf!28895
2024-02-20 17:14:19 +08:00
Mahavir Jain
277c925e6a Merge branch 'bugfix/anti_rollback_check_regression' into 'master'
fix(bootloader_support): check the secure version only for app image

See merge request espressif/esp-idf!29102
2024-02-20 17:13:12 +08:00
Konstantin Kondrashov
1253ab6e27 Merge branch 'feature/move_esp_timer_related_inits_into_component' into 'master'
feat(esp_timer): Move esp_timer-related init steps into the component

Closes IDF-8755

See merge request espressif/esp-idf!28664
2024-02-20 16:49:31 +08:00
Liu Linyan
2d25ef62d1 fix(ble_mesh): Fix compiling error when PB-ADV is disabled
Closes https://github.com/espressif/esp-idf/issues/13203
2024-02-20 16:40:30 +08:00
Jan Beran
9ebba1b5c2 change(idf_tools): switch from old string formatting to f-strings and parentheses 2024-02-20 09:00:33 +01:00
Jan Beran
6e88ba4832 feat(idf_tools): Switch from global variables to global singleton 2024-02-20 09:00:33 +01:00
Fu Hanxi
b5e6b883a5 ci: fix test related apps are force been built 2024-02-20 08:30:22 +01:00
Sudeep Mohanty
9605f9be3f Merge branch 'contrib/github_pr_12800' into 'master'
feat(freertos): Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES

Closes IDFGH-11693 and IDF-8785

See merge request espressif/esp-idf!28505
2024-02-20 15:21:47 +08:00
linruihao
6604417b45 fix(esp_coex): fix circular dependency issue on esp32
Closes https://github.com/espressif/esp-idf/issues/13113
2024-02-20 15:12:20 +08:00
gaoxu
3ac736bc95 feat(gpio): add gpio support on ESP32C5 2024-02-20 14:57:25 +08:00
Sudeep Mohanty
ce4b49ae37 Merge branch 'docs/esp_event_minor_update' into 'master'
fix(docs): Minor update to esp_event.rst for improved user experience

Closes IDFGH-12098

See merge request espressif/esp-idf!29109
2024-02-20 14:50:11 +08:00
nilesh.kale
7ce39ffa8a fix(hal/test_apps): update sha testcases flow
This commit updates the flow of sha testcases.
Previously, DMA test cases were still executed even after disabling the related feature.
2024-02-20 11:53:58 +05:30
Guillaume Souchere
7938ac4104 fix(heap): Hide check patch config if no tlsf rom used
HEAP_TLSF_CHECK_PATCH needs to be hiden in menuconfig if
HEAP_TLSF_USE_ROM_IMPL is not enabled.
2024-02-20 06:47:42 +01:00
SumeetSingh19
14221b74f4 fix(nimble): message to be signed is corrected in signed write 2024-02-20 11:14:53 +05:30
morris
0a25176282 Merge branch 'feat/gptimer_support_esp32c5' into 'master'
feat(gptimer): basic driver support on esp32c5

Closes IDF-8705

See merge request espressif/esp-idf!29096
2024-02-20 13:33:15 +08:00
Rahul Tank
045884a899 Merge branch 'feat/ble_gap_dev_auth' into 'master'
feat(nimble): Authorize or deauthorize a BLE device for a connection

Closes BLERP-555

See merge request espressif/esp-idf!28902
2024-02-20 12:34:45 +08:00
Marius Vikhammer
c0a2043562 fix(system): update reset reasons for C6 and H2 2024-02-20 12:27:09 +08:00
Omar Chebib
2217854092 fix(riscv): Remove the memory barrier when changing interrupt threshold 2024-02-20 12:19:08 +08:00
Mahavir Jain
4a52733610 Merge branch 'docs/update_provisioning_docs_for_esp32p4' into 'master'
docs: Update provisioning API refs and guides for ESP32P4

Closes IDF-7766

See merge request espressif/esp-idf!29018
2024-02-20 12:12:03 +08:00
gongyantao
112ad700fc change(bt/bluedroid): Redirect app functions in controller based on the bluetooth mode 2024-02-20 10:24:59 +08:00
Erhan Kurubas
f4acf0b378 refactor(espcoredump): format coredump component with astyle 2024-02-19 21:57:28 +01:00
Martin Vychodil
ce266c3cd7 Merge branch 'docs/spiffs_doc_update' into 'master'
docs(spiffs): update api-reference document for SPIFFS

See merge request espressif/esp-idf!29105
2024-02-20 01:04:46 +08:00
Adam Múdry
5f961537cc feat(storage/fatfs): Switch to a config struct for VFS FAT registration 2024-02-19 14:05:50 +01:00
Sudeep Mohanty
a2d40b688f fix(docs): Minor update to esp_event.rst for improved user experience
This commit adds semicolons in c-code blocks in esp_event.rst for
improved user experience when directly copying and pasting code.

Closes https://github.com/espressif/esp-idf/issues/13156
2024-02-19 13:49:46 +01:00
ShenWeilong
d200f0f0e4 fix(ble): Fixed the free_all crash on esp32c6 and esp32h2 2024-02-19 20:00:29 +08:00
Konstantin Kondrashov
d348258f2c fix(test_apps): Fix coredump_uart_bin_crc.test_hw_stack_guard_cpu0 test 2024-02-19 19:21:40 +08:00
Konstantin Kondrashov
49ba674fb5 feat(esp_timer): Move esp_timer-related init steps into the component 2024-02-19 19:21:40 +08:00
Darshan Dobariya
169ee08c04 feat(nimble): Authorize or deauthorize a BLE device for a connection 2024-02-19 18:54:41 +08:00
Island
10f14d5cca Merge branch 'bugfix/ble_update_lib_20240207' into 'master'
update lib on master

See merge request espressif/esp-idf!28969
2024-02-19 18:11:19 +08:00
Linda
f288a81723 docs: add a link for Windows users to JTAG debugging 2024-02-19 17:33:24 +08:00
sonika.rathi
fe4ee63a4e docs(spiffs): update api-reference document for SPIFFS
Closes https://github.com/espressif/esp-idf/issues/10608
2024-02-19 10:28:05 +01:00
Mahavir Jain
c33b9e1426 fix(bootloader_support): check the secure version only for app image
Secure version in the image header is only available for the application
image. However, for certain security workflows, bootloader verifies
itself (own image) and hence the secure version check during that must be
avoided.

Regression introduced in recent commit-id: 3305cb4d

Tested that both secure boot and flash-enc workflows work correctly
with the anti-rollback scenario.
2024-02-19 14:54:17 +05:30
Fu Hanxi
fe0b63ff65 Merge branch 'ci/fix_default_artifacts' into 'master'
ci: always set `expire_in` and `when` with `artifacts`

See merge request espressif/esp-idf!29083
2024-02-19 17:06:19 +08:00
Harshit Malpani
48ca895e3c docs: Update provisioning API refs and guides for ESP32P4 2024-02-19 13:24:57 +05:30
zhangyanjiao
8bfab29f8d fix(wifi): fixed scan and home channel change issues
1. update scan ap number when clear scan ap records
2. fixed the old_snd filed error in WIFI_EVENT_HOME_CHANNEL_CHANGE event

Closes https://github.com/espressif/esp-idf/issues/13051
2024-02-19 14:57:41 +08:00
hongshuqing
15629e30ee fix: fix s3 bbpll cali fail bug 2024-02-19 14:33:40 +08:00
gaoxu
2eccde88f3 fix(adc): workaround to fix adc continuous get less results on c3 2024-02-19 10:34:54 +08:00
morris
49e7228be9 feat(gptimer): basic driver support on esp32c5 2024-02-19 10:27:18 +08:00
Marius Vikhammer
f68c131e56 Merge branch 'ci/disable_p4_cdc_acm_host' into 'master'
ci(usb_host): disable cdc_acm_vcp example for P4

See merge request espressif/esp-idf!29091
2024-02-18 17:23:55 +08:00
morris
ce8f9a0a00 feat(i2c_lcd): use new i2c master driver in oled example
Closes https://github.com/espressif/esp-idf/issues/13201
2024-02-18 17:15:44 +08:00
Yuan Ming Fu
e6dba934bd Merge branch 'bugfix/blemesh_lightbulb' into 'master'
fix: example: blemesh lightbulb driver

See merge request espressif/esp-idf!28870
2024-02-18 16:52:37 +08:00
Marius Vikhammer
1f7c666701 ci(test_apps): limit dependencies for misc test_apps
Only pull in direct dependencies for the test apps, reducing build time
as well making it possible for CI to determine if the test should run or not
when dependencies are changed.
2024-02-18 16:01:58 +08:00
Marius Vikhammer
b1bbca60ee ci(usb_host): disable cdc_acm_vcp example for P4 2024-02-18 15:22:43 +08:00
Armando (Dou Yiwen)
6b278ac406 Merge branch 'change/remove_idf7890_todo' into 'master'
change(memory): remove `IDF-7890` todo

Closes IDF-7890

See merge request espressif/esp-idf!28766
2024-02-18 14:08:06 +08:00
Wang Meng Yang
28ff8e3788 Merge branch 'feat/add_test_api_for_sec' into 'master'
Feat/add test api for sec

Closes BT-3578 and BT-3579

See merge request espressif/esp-idf!28191
2024-02-18 09:57:37 +08:00
Erhan Kurubas
59cab6dd40 fix(gcov): avoid multiple tick hook registration 2024-02-18 00:10:18 +01:00
Ondrej Kosta
1ae315e1ed fix(esp_eth): Fixed Ethernet link reset when Ethernet is stopped 2024-02-16 16:36:26 +01:00
Fu Hanxi
b70d65444a ci: always set expire_in and when with artifacts
set it under `default` does not work due to gitlab bugs.
will use `default` back once the bugs are resolved.
2024-02-16 13:43:53 +01:00
Ondrej Kosta
dee34c2a48 Merge branch 'bugfix/spi_eth_recv_alloc' into 'master'
fix(esp_eth): improved SPI Ethernet _alloc_recv_buf error handling

Closes IDF-8601

See merge request espressif/esp-idf!29040
2024-02-16 19:52:48 +08:00
Martin Vychodil
db56ade0f5 Merge branch 'fix/cleanup_storage_sdkconfigs' into 'master'
fix(storage): cleanup storage examples/test_apps sdkconfigs

See merge request espressif/esp-idf!28998
2024-02-16 19:28:37 +08:00
Bogdan Kolendovskyy
c11e12c8c4 Merge branch 'bugfix/mmd_access_use_uint32' into 'master'
fix(esp_eth): Use uint32_t in mmd access functions

See merge request espressif/esp-idf!29036
2024-02-16 19:12:09 +08:00
Sudeep Mohanty
e80cf6f414 Merge branch 'contrib/github_pr_13191' into 'master'
Minor documentation fixes

Closes IDFGH-12135

See merge request espressif/esp-idf!29077
2024-02-16 17:21:04 +08:00
Marcel Petrick
36bbaa0a12 fix(docs): Updated .readthedocs.yml
Minor typing error fix in .readthedocs.yml file.

Closes https://github.com/espressif/esp-idf/pull/13191
2024-02-16 10:12:25 +01:00
Marcel Petrick
98d6c096d0 fix(docs): Minor fixes to light_sleep example README.md
This commit fixes minor issues with the README.md file in
examples/system/light_sleep.
2024-02-16 08:48:02 +01:00
Mahavir Jain
43522eee16 Merge branch 'update/sb_v2_key_revocation_documentation' into 'master'
docs(secure_boot_v2): Specify the workflow to disable revocation of unused key digests slots

See merge request espressif/esp-idf!29026
2024-02-16 10:59:45 +08:00
Peter Dragun
5f798eb78b fix(tools): catch more general errors in python dependency checker 2024-02-15 10:47:02 +01:00
harshal.patil
f4581d7103 docs(secure_boot_v2): Specify the workflow to disable revocation of unused key digests slots 2024-02-15 14:31:41 +05:30
Mahavir Jain
f460cc731f Merge branch 'bugfix/error_logging_in_https_server' into 'master'
fix(esp_https_server): Add error logs in https server

Closes IDFGH-10815

See merge request espressif/esp-idf!27970
2024-02-15 12:03:06 +08:00
Konstantin Kondrashov
9ffafd53b2 fix(bootloader_support): Adds bootloader_flash_update_size() for the rest chips
Closes https://github.com/espressif/esp-idf/issues/13179
2024-02-14 17:41:20 +02:00
Ondrej Kosta
b0259f59c2 fix(esp_eth): improved SPI Ethernet _alloc_recv_buf error handling 2024-02-14 12:40:04 +01:00
Mahavir Jain
2238e11e90 fix(docs): correct the UART ROM DL mode disable section for ESP32 2024-02-14 14:46:51 +05:30
Harshit Malpani
d52955efdd feat: Add event handler in simple https_server example 2024-02-14 14:36:14 +05:30
Harshit Malpani
3e1a95a0a7 feat(esp_https_server): Get the error codes on https_server error
Closes https://github.com/espressif/esp-idf/issues/12026
2024-02-14 14:36:14 +05:30
Harshit Malpani
9274e3e620 fix(esp-tls): capture errors in error handle 2024-02-14 14:36:14 +05:30
Mahavir Jain
58efbf4894 fix(spi_flash): check for safe write address in encrypted flash API 2024-02-14 13:45:11 +05:30
Konstantin Kondrashov
07980dba2f Merge branch 'feature/secure_boot_dev_approach' into 'master'
feat(bootloader_support): Support SB-on app can do OTA on SB-off chip

Closes IDFGH-12079

See merge request espressif/esp-idf!29027
2024-02-14 15:11:52 +08:00
Bogdan Kolendovskyy
748c215c63 fix(esp_eth): Use uint32_t in mmd access functions 2024-02-13 12:53:11 +01:00
Rahul Tank
3d03c07c84 fix(nimble): Removed double free of packet 2024-02-13 14:14:03 +05:30
Mahavir Jain
4d90eedb6e Merge branch 'feature/add_dma_suppport_for_aes_and_sha' into 'master'
feat(hal/testapps): Added AES and SHA testcases with DMA support

Closes IDF-7986 and IDF-7987

See merge request espressif/esp-idf!26497
2024-02-13 16:12:07 +08:00
Laukik Hase
70b1ebe948 Merge branch 'refactor/move_esp_app_format_init_to_component' into 'master'
refactor(esp_app_format): Move esp_app_format-related init steps into the component

Closes IDF-8753

See merge request espressif/esp-idf!28896
2024-02-13 14:57:54 +08:00
Konstantin Kondrashov
9b0eefee73 feat(bootloader_support): Support SB-on app can do OTA on SB-off chip
Closes: https://github.com/espressif/esp-idf/issues/13139
2024-02-12 17:27:50 +02:00
Adam Múdry
7e7b1fc65f Merge branch 'fix/suppress_c++11_invalid_suffix_on_literal' into 'master'
fix: Fix PRI inttypes error due to C++ invalid suffix on literal in SPIFFS

Closes IDF-9000

See merge request espressif/esp-idf!28772
2024-02-12 18:25:50 +08:00
sonika.rathi
f7e4b9a132 fix(storage): cleanup storage examples/test_apps sdkconfigs 2024-02-12 10:57:46 +01:00
Tomas Rezucha
c24dcd02c1 Merge branch 'feature/esp_hid_usb_preparation' into 'master'
refactor(esp_hid): Prepare for USB transport layer

See merge request espressif/esp-idf!28472
2024-02-12 16:29:12 +08:00
Omar Chebib
6d045937d3 Merge branch 'feat/ulp_add_cycle_function' into 'master'
feat(lp_core): add a public function to get the timer cycle count

Closes IDFGH-12036

See merge request espressif/esp-idf!28910
2024-02-12 14:19:17 +08:00
Laukik Hase
5430e2ff4c refactor(esp_app_format): Move esp_app_format-related init steps into the component 2024-02-12 11:12:37 +05:30
Marius Vikhammer
4b5b064caf Merge branch 'bugfix/heap_task_includes' into 'master'
fix(heap): fixed missing include in esp_heap_task_info.h

See merge request espressif/esp-idf!29007
2024-02-10 14:37:27 +08:00
Marius Vikhammer
a8d39ab4e4 Merge branch 'bugfix/missing_linux_include' into 'master'
fix(linux_target): added missing include file when CONFIG_HEAP_ABORT_WHEN_ALLOCATION_FAILS

See merge request espressif/esp-idf!29008
2024-02-10 11:44:51 +08:00
Marius Vikhammer
b8e6b4601c fix(linux_target): added missing include file when CONFIG_HEAP_ABORT_WHEN_ALLOCATION_FAILS 2024-02-09 16:58:06 +08:00
nilesh.kale
aab3f604ec feat(hal/testapps): Added AES and SHA testcases with DMA support 2024-02-09 14:23:06 +05:30
Omar Chebib
5a32ca10ad feat(lp_core): add a public function to get the timer cycle count
Closes https://github.com/espressif/esp-idf/issues/13101
2024-02-09 16:50:02 +08:00
Omar Chebib
75eb489105 fix(bootloader): add legacy retained memory CRC calculation
* Closes https://github.com/espressif/esp-idf/issues/12849

In former versions of ESP-IDF, the user custom memory data in the retained memory
was taken into account during the CRC calculation. This was changed in a later
commit, the custom memory was ignored, therefore this can seen as a breaking change.
This commit gives the possibility to choose between the former (legacy) or
new way of calculating the CRC.
2024-02-09 16:49:56 +08:00
Bogdan Kolendovskyy
91630fab36 Merge branch 'bugfix/ip101_reset_timing' into 'master'
fix(esp_eth): ip101-specific reset_hw to match reset timings from datasheet

Closes IDF-9160

See merge request espressif/esp-idf!28906
2024-02-09 16:44:24 +08:00
fl0wl0w
90d1dcfd76 feat(freertos): Introduced new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES
This commit replaces the use of portNUM_PROCESSORS and configNUM_CORES
macros in all of ESP-IDF. These macros are needed to realize an SMP
scenario by fetching the number of active cores FreeRTOS is running on.
Instead, a new Kconfig option, CONFIG_FREERTOS_NUMBER_OF_CORES, has been
added as a proxy for the FreeRTOS config option, configNUMBER_OF_CORES.
This new commit is now used to realize an SMP scenario in various places
in ESP-IDF.

[Sudeep Mohanty: Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES]

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2024-02-09 09:11:28 +01:00
Marius Vikhammer
51ceeca03b fix(heap): fixed missing include in esp_heap_task_info.h
Would fail to compile if esp_heap_task_info.h was included without/before freertos includes
2024-02-09 15:52:08 +08:00
Roland Dobai
b8abf75a11 Merge branch 'feature/fix_build_system_win_tests' into 'master'
feat(tools): Run skipped build system pytests on Win

Closes IDF-8582 and IDFCI-896

See merge request espressif/esp-idf!28800
2024-02-09 15:33:26 +08:00
Mahavir Jain
f9cb559dfe Merge branch 'bugfix/update_ota_docs_and_solve_pytest_error' into 'master'
fix: fixed issue faced while starting python server and updated ota readme

See merge request espressif/esp-idf!27918
2024-02-08 23:32:32 +08:00
Mahavir Jain
34723ad12c Merge branch 'bugfix/ota_anti_rollback_checks_2' into 'master'
feat(bootloader_support): Read secure_version under sha256 protection

Closes IDF-9013

See merge request espressif/esp-idf!28740
2024-02-08 23:10:08 +08:00
Ondrej Kosta
5df5f0cf80 Merge branch 'feature/spi_eth_no_int' into 'master'
feat(esp_eth): added SPI Ethernet module polling mode

Closes IDFGH-11561

See merge request espressif/esp-idf!28782
2024-02-08 22:34:47 +08:00
Adam Múdry
88e4fd9ac1 fix(vfs): Add missing lock release in vfs_fat_truncate 2024-02-08 14:16:19 +01:00
Adam Múdry
dad8fd4500 Merge branch 'fix/examples_format_sd_card_disable' into 'master'
fix(examples): Disable formatting SD cards in storage examples by default

Closes IDF-9173

See merge request espressif/esp-idf!28975
2024-02-08 21:03:31 +08:00
Marek Fiala
65db8bf7a9 refactor(tools): Split build pytest into multiple jobs 2024-02-08 13:49:28 +01:00
Marek Fiala
52da5b765f feat(tools): Run skipped build system pytests on Win 2024-02-08 11:23:51 +01:00
Kirill Chalov
a55a0354e6 Merge branch 'docs/rewrite-api-ref-esp-timers' into 'master'
docs(rewrite): Rewrite esp_timer api ref and related docs

See merge request espressif/esp-idf!27034
2024-02-08 14:13:08 +08:00
Marius Vikhammer
6afb652626 Merge branch 'refactor/decouple_esp_system_pthread' into 'master'
refactor(pthread): decouple pthread_init from esp_system

Closes IDF-8757

See merge request espressif/esp-idf!28909
2024-02-08 13:30:59 +08:00
Jakob Hasse
c3aaebd366 Merge branch 'feature/add_bsd_fls' into 'master'
feat(linux): added fls() on Linux

See merge request espressif/esp-idf!28807
2024-02-08 13:06:57 +08:00
kirill.chalov
8154150188 docs(esp_timer): Rewrite esp_timer api ref and related docs 2024-02-08 12:13:18 +08:00
Song Ruo Jing
d556fee5c4 Merge branch 'feature/esp32c5_clock_preliminary_support' into 'master'
Feature/esp32c5 clock preliminary support

See merge request espressif/esp-idf!28808
2024-02-08 11:54:35 +08:00
Marius Vikhammer
2bb16ed45b refactor(pthread): decouple pthread_init from esp_system 2024-02-08 09:40:46 +08:00
Zhang Xiao Yan
ae31dfe4b8 Merge branch 'docs/add_gpio_dump_io_configuration_example' into 'master'
docs: Add an example for the function gpio_dump_io_configuration()

See merge request espressif/esp-idf!28873
2024-02-08 09:31:47 +08:00
Erhan Kurubas
4c6f3fbf23 Merge branch 'feature/move_espcordump_init_into_component' into 'master'
feat(coredump): move esp_core_dump_init into component

Closes IDF-8766

See merge request espressif/esp-idf!28665
2024-02-08 06:17:52 +08:00
David Čermák
403b4fdcfe Merge branch 'fix/esp_netif_sntp' into 'master'
fix(esp_netif): Prevent running esp_netif_sntp_init() multiple times

Closes IDFGH-11754

See merge request espressif/esp-idf!28338
2024-02-08 00:12:03 +08:00
Adam Múdry
a5630c8277 fix: PRI inttypes error due to C++ invalid suffix on literal in SPIFFS 2024-02-07 23:52:49 +08:00
Mahavir Jain
3305cb4d23 fix(ota): additional checks for secure version in anti-rollback case
Some additional checks related to secure version of the application in
anti-rollback case have been added to avoid any attempts to boot lower
security version but valid application (e.g., passive partition image).

- Read secure_version under sha256 protection

- First check has been added in the bootloader to ensure correct secure
  version after application verification and loading stage. This check
  happens before setting up the flash cache mapping and handling over
  the final control to application. This check ensures that application
  was not swapped (e.g., to lower security version but valid image) just
  before the load stage in bootloader.

- Second check has been added in the application startup code to ensure
  that currently booting app has higher security version than the one
  programmed in the eFuse for anti-rollback scenario. This will ensure
  that only the legit application boots-up on the device for
  anti-rollback case.
2024-02-07 22:23:10 +08:00
Adam Múdry
e2da3a4259 fix(examples): Disable formatting SD cards in storage examples by default 2024-02-07 13:40:40 +01:00
Song Ruo Jing
2a585f58a0 Merge branch 'refactor/add_lp_uart_test' into 'master'
Refactor/add lp uart test

See merge request espressif/esp-idf!28681
2024-02-07 20:02:46 +08:00
Erhan Kurubas
0d22b99946 feat(coredump): move esp_core_dump_init into component 2024-02-07 19:39:36 +08:00
Roland Dobai
1a80217af5 Merge branch 'bugfix/kconcheck_file_checks' into 'master'
bugfix: Fixed KConfig files that were not succesfully checked

Closes IDF-9028 and IDF-9027

See merge request espressif/esp-idf!28385
2024-02-07 19:12:25 +08:00
Roland Dobai
63f359e684 Merge branch 'feat/bump_up_pre_commit_hook' into 'master'
fix: Bump up pre-commit hooks version

See merge request espressif/esp-idf!28943
2024-02-07 18:40:56 +08:00
Bogdan Kolendovskyy
222f67f043 fix(esp_eth): ip101-specific reset_hw to match reset timings from datasheet
IP101 requires 10ms reset assertion time and 10ms post-reset delay to properly initialize.
2024-02-07 11:24:17 +01:00
Ondrej Kosta
fd0a1dc53c feat(esp_eth): added SPI Ethernet module polling mode
Closes https://github.com/espressif/esp-idf/issues/12682
2024-02-07 11:21:57 +01:00
chaijie@espressif.com
17ac4cd909 fix: fix sleep fast_mem & slow_mem may lost bug 2024-02-07 18:06:04 +08:00
Jakob Hasse
48d121653b feat(linux): added fls() on Linux 2024-02-07 17:56:16 +08:00
Jiang Jiang Jian
170b46e331 Merge branch 'bugfix/fix_coex_wifi_restart_issue' into 'master'
fix(coex): fix wifi issue after coex restart

Closes FCS-1380, FCW-169, and WIFI-6265

See merge request espressif/esp-idf!28565
2024-02-07 17:48:50 +08:00
luomanruo
b037585852 ble(update):
Update h2 lib to eb112893
Update c6 lib to eb112893
2024-02-07 17:29:25 +08:00
David Cermak
feef14b43b fix(esp_netif): Prevent running esp_netif_sntp_init() multiple times
Closes https://github.com/espressif/esp-idf/issues/12854
2024-02-07 09:09:59 +01:00
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
morris
d426036168 Merge branch 'feat/blink_example_refactor' into 'master'
feat(blink): add sdkconfig defaults for each target

Closes IDF-8988, IDF-8074, and IDF-9006

See merge request espressif/esp-idf!28887
2024-02-07 11:04:45 +08:00
morris
e4b655a252 feat(blink): add sdkconfig defaults for each target
based on devkit board design
2024-02-07 10:32:22 +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
Jan Beran
dc68d08237 fix: Bump up pre-commit hooks version 2024-02-06 13:59:52 +01:00
Fu Hanxi
57955cc150 Merge branch 'ci/ignore_c6_wifi_two_dut_runners' into 'master'
ci: ignore esp32c6_2,wifi_two_dut test cases

See merge request espressif/esp-idf!28944
2024-02-06 20:45:32 +08:00
Fu Hanxi
80a32713bb ci: ignore esp32c6_2,wifi_two_dut test cases 2024-02-06 13:38:25 +01: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
Tomas Rezucha
81031490dc Merge branch 'fix/usb_example_newlib_nano' into 'master'
fix(usb/example): Fixed MSC compilation with Newlib Nano format

Closes IEC-60

See merge request espressif/esp-idf!28702
2024-02-06 17:42:11 +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
nilesh.kale
318038a746 fix: fixed issue faced while starting python server and updated ota readme
openssl server does not support for range request mechanism.
Consequently, it does not support partial download feature.
So, removing commands and steps required for staring openssl server.
Also, updated pytest file to avoid unnecssary issues while starting server.
2024-02-06 12:12:24 +05:30
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
Shang Zhou
f505749144 Merge branch 'docs/update_cn_trans_for_ulp-risc-v' into 'master'
docs: Update CN translation for ulp-risc-v.rst

Closes DOC-7014

See merge request espressif/esp-idf!28738
2024-02-06 12:19:22 +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
Shang Zhou
dd0cf9e935 docs: Update CN translation for ulp-risc-v.rst 2024-02-06 10:56:46 +08:00
Dai Zi Yan
28eb8239ff Merge branch 'docs/sync_up_cn_trans' into 'master'
docs: update CN translation

Closes DOC-6747, DOC-6656, and DOC-7267

See merge request espressif/esp-idf!28244
2024-02-06 10:45:14 +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
daiziyan
840a281818 docs: update CN translation 2024-02-06 09:55:01 +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
Linda
2c8975b2a7 docs: Add an example for the function gpio_dump_io_configuration() 2024-02-05 18:42:52 +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
Fu Hanxi
a1f7f94ef9 ci: upload size info, and build junit report 2024-02-05 10:07:32 +01: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
zwx
18f5188f80 feat(openthread): enable RCP uart configuration for BR by default 2024-02-05 15:59:44 +08:00
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
laokaiyao
eb1fd7365e ci(esp32c5): enable hello world build on ci 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
46cf31eac0 change(cam): added codeowners 2024-02-04 19:06:11 +08:00
Armando
f918079e8e feat(csi): added csi driver 2024-02-04 19:06:11 +08:00
Island
4c190c56e6 Merge branch 'bugfix/fix_hci_uart_with_flow_ctrl_off' into 'master'
fix(bt/example): Fixed UART HCI when flow control is off on ESP32C3

See merge request espressif/esp-idf!27712
2024-02-04 16:00:48 +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
YuanMingFu
ef2935e955 fix: example: blemesh lightbulb driver 2024-02-03 16:40:53 +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
Roland Dobai
7e27152bcc Merge branch 'feature/add_host_test_win_runner' into 'master'
feat(tools): idf_tools host tests run on Win runner

Closes IDF-8214 and IDF-8213

See merge request espressif/esp-idf!27803
2024-02-03 02:15:50 +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
Marek Fiala
375c22ecdb feat(tools): Update Windows runners tags 2024-02-02 15:04:40 +01:00
Marek Fiala
a97e355e74 feat(tools): Run Tools related host tests on Win 2024-02-02 14:58:04 +01: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
Jakub Kocka
f7c5969f5e docs(kconfig): Updated config name lenght 2024-02-02 10:32:35 +01: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
Roland Dobai
78ac339972 Merge branch 'fix/add_docstrings_idf_tools_py' into 'master'
refactor(idf_tools.py): add docstrings and type annotations

Closes IDF-889

See merge request espressif/esp-idf!28646
2024-02-02 16:41:44 +08:00
Rahul Tank
4a7db059ba fix(nimble): Added API to get current stack operation status 2024-02-02 13:57:46 +05:30
Roland Dobai
4ed11566f5 Merge branch 'change/gitlab_tools_docs' into 'master'
Docs: Set the tools teams to be the owner of tools documentation

See merge request espressif/esp-idf!28809
2024-02-02 16:17:54 +08:00
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
6ef9a7f591 ci: enable hardware crypto module for powersave tests 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
Ondrej Kosta
bd21297c48 ci(esp_eth): run iperf over longer period for SPI ETH bridge 2024-02-01 15:39:57 +01: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
d749575648 Merge branch 'feature/move_esp_dbg_stubs_init_into_component' into 'master'
feat(system): move esp_dbg_stubs_init into apptrace component

Closes IDF-8767

See merge request espressif/esp-idf!28684
2024-02-01 07:33:14 +08:00
Erhan Kurubas
7234303e9e feat(system): move esp_dbg_stubs_init into component 2024-01-31 20:12:45 +01:00
Jan Beran
535aa9df84 refactor(tools): add docstrings and type annotations into idf_tools.py 2024-01-31 16:08:32 +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
Roland Dobai
7812f4dee2 change(gitlab): Set the tools teams to be the owner of tools documentation 2024-01-31 11:47:46 +01: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
Chen Yu Dong
d3e34008b6 Merge branch 'ci/support_pre_commit_cache' into 'master'
ci: update pre_commit jobs and gen child

See merge request espressif/esp-idf!28796
2024-01-31 17:58:47 +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
daiziyan
bd811d6682 docs: add CN translation for idf-monitor 2024-01-31 09:35:44 +01:00
Jan Beran
858e3fe5ec docs(esp-idf-monitor): Add information about ESP_IDF_MONITOR_NO_RESET 2024-01-31 09:35:44 +01: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
Mo Fei Fei
af0d1c6945 Docs: update cn trans for config wdt desc 2024-01-31 15:19:17 +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
Marius Vikhammer
e92b813c80 Merge branch 'docs/add_cannonical_url' into 'master'
docs(build): add cannonical stable url to all docs

Closes DOC-4986

See merge request espressif/esp-idf!28750
2024-01-31 13:39:49 +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
Zhang Xiao Yan
389cf54d52 Merge branch 'docs/format_table_for_generated_pdf' into 'master'
docs: format table for generated pdf document

See merge request espressif/esp-idf!28705
2024-01-31 10:17:19 +08:00
chenjianhua
b99cb002ed fix(bt/bluedroid): Fixed crash when calculating GATTS database hash 2024-01-31 10:08:16 +08:00
Jakob Hasse
b05e432366 Merge branch 'refactor/https_mbedtls_example_linux' into 'master'
Refactor https_mbedtls example for linux target

See merge request espressif/esp-idf!28719
2024-01-31 09:53:31 +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
Chen Yudong
b27cf4d444 ci: update pre_commit jobs 2024-01-30 22:45:21 +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
Roland Dobai
195ebe1d3c Merge branch 'refactor/kconfcheck_pre-commit_hook' into 'master'
refactor(pre-commit): Changed esp-idf-kconfig's kconfcheck package to pre-commit hook

Closes IDF-9051

See merge request espressif/esp-idf!28673
2024-01-30 20:07:46 +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::flags::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
Fu Hanxi
d92cd1b7ec Merge branch 'ci/ignore_p4_jtag' into 'master'
ci: ignore p4,jtag runner

See merge request espressif/esp-idf!28789
2024-01-30 18:28:01 +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
Wang Ziyan
2ec161405a Merge branch 'docs/update_cn_for_pthread' into 'master'
docs: Update CN for pthread.rst

Closes DOC-6947

See merge request espressif/esp-idf!28765
2024-01-30 16:45:35 +08:00
Fu Hanxi
ecae464c52 ci: ignore p4,jtag runner 2024-01-30 09:08:35 +01: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
Fu Hanxi
9783207f0b Merge branch 'ci/qemu_respect_all_test_triggerer' into 'master'
ci: fix idf_relpath issue while searching the apps

See merge request espressif/esp-idf!28645
2024-01-30 16:01:24 +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
9b4197630a Merge branch 'ci/ignore_build_warnings_build' into 'master'
ci(build): always build apps if ignore_build_warnings.txt changes

See merge request espressif/esp-idf!28764
2024-01-30 09:32:59 +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
Fu Hanxi
7913c42996 Merge branch 'ci/known_generate_target_test_issues' into 'master'
ci: add known warnings while generating the target test jobs

Closes IDFCI-1941

See merge request espressif/esp-idf!28551
2024-01-30 00:25:24 +08:00
Fu Hanxi
ceb2ef7208 ci: add init known warnings while generating the test child pipeline 2024-01-29 13:52:40 +01:00
Fu Hanxi
08312412ec ci: check warnings while generating the target test jobs 2024-01-29 13:52:40 +01:00
Fu Hanxi
e9f4d555a6 test: add missing host_test marker for qemu tests 2024-01-29 13:52:40 +01:00
Fu Hanxi
432c5a783d ci: gitlab auth failing hint 2024-01-29 13:52:40 +01:00
Fu Hanxi
d42e3fce04 ci: add sort_yaml.py 2024-01-29 13:52:39 +01:00
Marius Vikhammer
30ba179ace Merge branch 'ci/modbus_tcp_slave_build_failure' into 'master'
ci(modbus): fixed modbus tcp_slave example build failure

See merge request espressif/esp-idf!28763
2024-01-29 20:48:25 +08:00
Fu Hanxi
6895ff11b6 ci: fix get_all_apps for multi targets 2024-01-29 20:45:00 +08:00
Fu Hanxi
142a3c8a7a ci: fix idf_relpath issue while searching the apps
Now `PytestCase`, collect_app_info file, are all using relpath to idf
instead
2024-01-29 20:45:00 +08:00
Fu Hanxi
2d094ab9d3 test: remove succeeded temp projects
also rename `tmp_path` to `work_dirpath` since it's defined in pytest
2024-01-29 20:45:00 +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
Peter Marcisovsky
6b41ae3ef9 Merge branch 'docs/usb_host_set_device_config' into 'master'
feat(docs): added usb host enumeration filter description

See merge request espressif/esp-idf!28310
2024-01-29 16:40:53 +08:00
Marius Vikhammer
c66d08063d ci(modbus): fixed modbus tcp_slave example build failure 2024-01-29 15:25:56 +08:00
Jakub Kocka
022034746e refactor(pre-commit): Changed esp-idf-kconfig's kconfcheck package to pre-commit hook 2024-01-29 08:13:28 +01: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
Wang Zi Yan
a4a4504367 docs: Update CN for pthread.rst 2024-01-29 14:37:57 +08:00
Linda
6af8643d06 docs: format table for generated pdf document 2024-01-29 14:36:04 +08:00
Marius Vikhammer
852a33f32d ci(build): always build apps if gnore_build_warnings.txt changes 2024-01-29 14:24:57 +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
Marius Vikhammer
85fdca43b7 docs(build): add cannonical stable url to all docs 2024-01-29 11:30:59 +08:00
xiongweichao
dd943fad9a fix(ble): Fixed macro definition error for 136K clock drift 2024-01-29 11:29:01 +08:00
morris
fe2fbc99f7 Merge branch 'fix/esp_ble_mesh_aligenie_build_rules' into 'master'
fix(esp_ble_mesh): Remove separate AliGenie example build rules

See merge request espressif/esp-idf!28612
2024-01-29 11:05:51 +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
Alex Lisitsyn
e8dee79bb5 Merge branch 'feature/modbus_add_esp32p4_support' into 'master'
feat(modbus): add esp32p4 target support for modbus examples

See merge request espressif/esp-idf!28362
2024-01-26 21:07:59 +08:00
Alex Lisitsyn
f68c3bb710 feat(modbus): add esp32p4 target support for modbus examples 2024-01-26 21:07:59 +08: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
Peter Marcisovsky
f10000f366 feat(docs): added usb host enumeration filter description
- CN and EN docs
2024-01-26 12:03:08 +01: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
Jakob Hasse
a04f8d7041 docs(mbedtls): Clarified example README 2024-01-26 14:33:32 +08:00
Jakob Hasse
38846de92b refactor(mbedtls): example https_mbedtls now runs on Linux 2024-01-26 14:27:32 +08:00
Fu Hanxi
94433614dc Merge branch 'ci/fix_missing_artifacts_with_dependencies_and_needs_set' into 'master'
ci: lint yaml files that use `dependencies: []` together with `needs`

See merge request espressif/esp-idf!28707
2024-01-26 14:13:43 +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
Igor Udot
f41288ab3e Merge branch 'fix/new-known-failure-cases-workflow' into 'master'
fix: get_known_failure_cases_file has not been found for pytest_build_system ci job.

See merge request espressif/esp-idf!28716
2024-01-26 10:55:10 +08:00
igor.udot
7f36e735a6 ci: fix get_known_failure_cases_file has not been found 2024-01-26 10:44:38 +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
Jakob Hasse
b7184ccf73 Merge branch 'contrib/github_pr_13039' into 'master'
Handle object files with `.*.o` patterns when running Linker Script Generator (GitHub PR)

Closes IDFGH-11962

See merge request espressif/esp-idf!28695
2024-01-26 09:39:22 +08:00
Igor Udot
3cc1d7e837 Merge branch 'ci/new-known_failure_cases_workflow' into 'master'
ci: change known_failure_cases workflow

See merge request espressif/esp-idf!27706
2024-01-26 08:40:06 +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
Ivan Grokhotkov
a68013ceec Merge branch 'feature/scandir' into 'master'
feat(newlib): implement scandir and alphasort

Closes IDF-2649

See merge request espressif/esp-idf!28068
2024-01-26 04:24:31 +08:00
Roland Dobai
96872a6801 Merge branch 'feat/idf_tools_updater_space' into 'master'
fix(idf_tools): fix delimiter when the updater parsing, ' *' or '  '

See merge request espressif/esp-idf!28694
2024-01-26 01:19:16 +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
Fu Hanxi
fc802da68c ci: lint yaml files that use dependencies: [] together with needs 2024-01-25 14:47:53 +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
6bc666064a docs(ieee802154): add migration note for the receive done handler feature 2024-01-25 20:27:14 +08:00
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
Roland Dobai
9a9c8caaaf Merge branch 'fix/harden_hints_parsing' into 'master'
fix: harden input parsing in component_requirements hint module

Closes IDF-9082

See merge request espressif/esp-idf!28661
2024-01-25 20:26:35 +08:00
Fu Hanxi
c44cb5d5c6 Merge branch 'ci/add_missing_gitlab_requirements_for_pytest' into 'master'
ci: add missing python-gitlab requirement for pytest

See merge request espressif/esp-idf!28703
2024-01-25 19:58:27 +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
mofeifei
52648f1a41 docs: update cn trans esp-function-with-shared-stack 2024-01-25 19:02:25 +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
Shu Chen
e81932d2b2 Merge branch 'feature/updated-zigbee-examples' into 'master'
feat(zigbee): Updated zigbee examples

See merge request espressif/esp-idf!28693
2024-01-25 18:40:02 +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
Jakob Hasse
65373e126a test(ldgen): added test simulating a .*.c file 2024-01-25 17:40:40 +08: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
Fu Hanxi
9fb3a5c1ef ci: add missing python-gitlab requirement for pytest
this lib is to download the artifacts from gitlab locally
2024-01-25 10:12:59 +01: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
Tomas Rezucha
e511905fd2 fix(usb/example): Fixed MSC compilation with Newlib Nano format
https://github.com/espressif/idf-extra-components/issues/254
2024-01-25 09:51:51 +01: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
Mahavir Jain
a5b261f699 Merge branch 'bugfix/fix_esp_http_client_build_failure_with_wifi' into 'master'
fix: fix esp_http_client_example build failure

See merge request espressif/esp-idf!28601
2024-01-25 15:07:55 +08:00
xieqinan
e666532069 feat(zigbee): Updated Zigbee examples to align with esp-zigbee-lib v1.0.9 2024-01-25 14:52:38 +08:00
Anton Maklakov
352c621cf0 fix(idf_tools): fix delimiter when the updater parsing, ' *' or ' ' 2024-01-25 13:38:38 +07: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
Fu Hanxi
cba1665639 Merge branch 'ci/fix_artifacts_object_name' into 'master'
ci: fix job name sanitizer

See merge request espressif/esp-idf!28676
2024-01-24 23:08:50 +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
Fu Hanxi
87fc492fa6 ci: fix job name sanitizer 2024-01-24 10:49:40 +01:00
Konstantin Kondrashov
5bede51ec8 fix(efuse): Fix test_apps for esp32p4 2024-01-24 11:25:08 +02:00
Roland Dobai
4c4d547115 Merge branch 'fix/runtool_crcrlf' into 'master'
fix: save RunTool command output with correct line endings

Closes IDF-9081

See merge request espressif/esp-idf!28644
2024-01-24 17:18:16 +08:00
hongshuqing
0b79d9bf4c feat(pmu): set fix voltage to different mode for esp32h2
h2 remove include
2024-01-24 13:11:41 +08:00
Harshit Malpani
d85d60b76c fix: fix esp_http_client_example build failure
Fixed the build failure of esp_http_client_example for ESP32-C6 when
build with Wi-Fi enabled
2024-01-24 10:25:11 +05:30
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
Omar Chebib
0db3268713 Merge branch 'bugfix/soft_uart_send_dummy_byte' into 'master'
fix(Peripheral Drivers/Dedicated GPIO): Remove dummy byte from the emulate_uart_send routine

See merge request espressif/esp-idf!28627
2024-01-24 10:38:12 +08:00
Marius Vikhammer
9b1b384ea8 Merge branch 'bugfix/remove_wdt_both_cpus_test' into 'master'
test(panic): remove WDT both CPU test

Closes IDF-9077 and IDF-6560

See merge request espressif/esp-idf!28623
2024-01-24 10:11:28 +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
Marius Vikhammer
ff51b57b11 Merge branch 'docs/fatfgen_orphan' into 'master'
docs(fatfs): moved orphan dir placement to top of doc

See merge request espressif/esp-idf!28635
2024-01-24 10:10:17 +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
Frantisek Hrbata
a773072734 fix: harden input parsing in component_requirements hint module
Currently we silently ignore when the original component is not found
in a hope we can provide at least some meaningful hint. As it turned
out it's not true. Instead of providing misleading hint, just return
error. This adds several checks for situations, which should not happen,
but when they do it should be easier to identify the root cause of the
problem.

For example when hint module received malformed output with extra new
lines, e.g. caused by a bug in RunTool, it wrongly reported the original
component as source component.

This should also fix the tests on Windows.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-01-23 18:22:08 +01: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
Tomas Rezucha
cb21994358 Merge branch 'fix/common_examples_cmake' into 'master'
fix(examples): Make esp_eth public dependency of protocol_examples_comon

See merge request espressif/esp-idf!28618
2024-01-23 23:55:30 +08: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
Valerii Koval
bd56ca48be fix(ldgen): handle object files with .*.o patterns
Currently, only `.o`, `.*.obj` and `.obj` patterns
are taken into account. It would be great to have
object files with the `.*.o` extension pattern
(e.g. `file.cpp.o`) also processed as they're quite
widespread in third-party integrations.
2024-01-23 15:18:23 +02: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
273324c635 Merge branch 'bugfix/linux_wifi_mock' into 'master'
fix(linux): Fixed esp_wifi mock build test

See merge request espressif/esp-idf!28607
2024-01-23 18:43:12 +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
Kirill Chalov
77770b2cb7 Merge branch 'docs/add_sphinx_lint' into 'master'
docs(sphinx-lint): Add sphinx-lint to pre-commit

See merge request espressif/esp-idf!28578
2024-01-23 17:48:22 +08:00
Fu Hanxi
9bb28ba5e3 Merge branch 'ci/fix_requires_elf_or_map' into 'master'
ci: fix app.requires_elf_or_map. Use absolute paths

See merge request espressif/esp-idf!28603
2024-01-23 17:44:34 +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
Frantisek Hrbata
cf161304bb fix: save RunTool command output with correct line endings
Currently RunTool reads command's output with asyncio read, which
returns bytes. This is decoded into python's string and the output already
contains OS specific line endings, which on Windows is CRLF. Problem is
that the command output is saved by using python's text stream/file,
which replaces LF, native python's line ending, with OS specific line ending.
On Windows, and in this particular case, the CRLF from the command output is
translated into CRCRLF and saved in the commands output file. When this
file is read in again, e.g. for hint modules, the CRCRLF is replaced
with LFLF. Again the file is open as text file. Meaning a new emply line
is added.

Fix this by opening the output file with "newline=''", which prevents
this translation. We already have the OS specific line ending in the
command's output.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-01-23 10:03:40 +01:00
Zhang Xiao Yan
dd1c1279ef Merge branch 'docs/fix_typo_in_low_power_mode' into 'master'
docs: fix some typos in api-guides/low-power-mode

See merge request espressif/esp-idf!28584
2024-01-23 16:16:09 +08:00
Omar Chebib
8ad898c8ab fix(peripheral_drivers/dedicated_gpio): Remove dummy byte from the emulate_uart_send routine
Let the user application decide for when to send the dummy byte instead of
hardcoding it from the assembly routine.
2024-01-23 15:59:13 +08:00
kirill.chalov
0181f8cc88 docs(sphinx-lint): Add sphinx-lint to pre-commit
Sphinx-lint helps in linting simple formatting issues with virtually
no false positives, such as trailing spaces, missing final newlines,
presence of tabs, absence of spaces and backticks around roles, etc.
2024-01-23 15:22:30 +08:00
kirill.chalov
22a053f1fc docs(sphinx-lint): Fix issues reported by sphinx-lint before adding it to pre-commit 2024-01-23 15:22:29 +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
Marius Vikhammer
4fac7a6d5b docs(fatfs): moved orphan dir placement to top of doc 2024-01-23 14:16:01 +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
Marius Vikhammer
297607587b test(panic): remove WDT both CPU test
Test never worked on S3/P4 and was flakey on ESP32. Hard to design a reliable test
case that triggers both WDT at the exact same time.
2024-01-23 11:55: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
Jakob Hasse
99914e1f09 fix(linux): Fixed esp_wifi mock build test 2024-01-23 09:39:03 +08:00
KonstantinKondrashov
b471d9d22c change(all): Clearing unused efuse rom headers 2024-01-22 18:02:55 +02:00
Ondrej Kosta
1688c699db Merge branch 'feature/eth_p4_kconfig' into 'master'
fix(examples): fixed common_connect example to support ESP32P4 internal EMAC

See merge request espressif/esp-idf!28582
2024-01-22 22:45:26 +08:00
Tomas Rezucha
21df64f4a9 fix(examples): Make esp_eth public dependency of protocol_examples_comon 2024-01-22 21:51:37 +08: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
Darian Leung
8f15dd1ce0 fix(esp_ble_mesh): Remove separate AliGenie example build rules
The AliGenie example can run on all targets that support esp_ble_mesh (i.e.,
SOC_BLE_MESH_SUPPORTED). Thus, the example does not require a separate build
rule.
2024-01-22 19:57:54 +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
Fu Hanxi
2ddb0fb3f6 ci: fix app.requires_elf_or_map. Use absolute paths 2024-01-22 11:14:03 +01: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
Tomas Rezucha
8c1f5e6015 Merge branch 'fix/check_precommit_on_win' into 'master'
fix(pre-commit): Fixed README.md encoding on Windows

See merge request espressif/esp-idf!28587
2024-01-22 17:04:28 +08:00
Linda
042b5a0102 docs: fix some typos in api-guides/low-power-mode 2024-01-22 16:57:39 +08:00
Ondrej Kosta
85c4601ed5 fix(examples): fixed common_connect example to support ESP32P4 internal EMAC 2024-01-22 09:48:15 +01: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
728ff8dc99 ble_mesh: example: fix the structure init order to meet C++ requirements
Closes https://github.com/espressif/esp-idf/issues/8110
2024-01-22 14:14:34 +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
ad7cc3ae4b doc(spi_flash): reorganize optional features 2024-01-22 12:44:27 +08:00
Xiao Xufeng
e0856e208e ci(flash): remove hpm-dc configs from octal flash 2024-01-22 12:44:27 +08:00
Jiang Jiang Jian
a047d5d097 Merge branch 'doc/update_bluedroid_init_migration' into 'master'
doc(bt/bluedroid): Update migration docs for new version of API for Bluedroid host stack initialization

See merge request espressif/esp-idf!27857
2024-01-22 12:08:26 +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
b0a58d7080 Merge branch 'ble_dev/added_ble_power_save_pytest' into 'master'
Added pytest case for BLE power save example.

Closes BLERP-449

See merge request espressif/esp-idf!28384
2024-01-22 10:41:19 +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
igor.udot
f5972ab592 ci: change known_failure_cases workflow 2024-01-21 15:36:25 +08:00
morris
488a2b9fdb feat(dsi): add mipi dsi lcd example with lvgl gui 2024-01-20 17:02:47 +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
Tomas Rezucha
c6204343a8 fix(pre-commit): Fixed README.md encoding on Windows
Windows will open the file using 'cp1252' encoding,
which may result in 'UnicodeDecodeError' for unsupported symbols.
2024-01-19 16:08:34 +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
Tomas Rezucha
2ab552a241 Merge branch 'refactor/usb_dependencies' into 'master'
refactor(usb/examples): Depend on new esp_driver_gpio

See merge request espressif/esp-idf!28552
2024-01-19 17:24:13 +08:00
cjin
9533df5c39 feat(ble): added pytest for ble power save example 2024-01-19 17:23:35 +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
Jiang Jiang Jian
7f762392cd Merge branch 'bugfix/fix_smart_config_bssid_set_issue' into 'master'
fix(wifi): fix smart config bssid set issue

Closes WIFI-6391

See merge request espressif/esp-idf!28471
2024-01-19 11:27:12 +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
Omar Chebib
0d9d004d00 Merge branch 'doc/esp32p4_intr_alloc' into 'master'
docs(soc): add a few details in the `intr_alloc` documentation for the ESP32-P4

Closes IDF-8781

See merge request espressif/esp-idf!28249
2024-01-19 10:50:42 +08:00
Island
45a36b2903 Merge branch 'feature/ble_mesh_example_light_driver' into 'master'
feat: replace light driver and support more chips in ble mesh examples

See merge request espressif/esp-idf!27882
2024-01-19 10:40:47 +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
de8ee8cc1a feat(ulp-riscv): Updated documentation about ULP RISC-V interrupt handling
This commit updates the documentation to add support for ULP RISC-V
interrupt handling.
2024-01-18 15:59:53 +01:00
Sudeep Mohanty
4230acb971 feat(ulp-riscv): Added new example to demonstrate ULP RISC-V interrupts
This commit adds a new example which demonstrates how the ULP RISC-V
co-processor handles interrupts.
2024-01-18 15:59:49 +01: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
Shang Zhou
63f317e4ca docs: Update CN translation for fatfs.rst 2024-01-18 14:03:39 +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
Fu Hanxi
813dbe5526 Merge branch 'ci/fix_truncated_backet_names_in_artefact_uploader' into 'master'
ci: fix truncated job name in artifact path

See merge request espressif/esp-idf!28558
2024-01-18 20:25:52 +08: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
Roland Dobai
9a7e88e12d Merge branch 'update/kconfig_pre-commit_version' into 'master'
ci(pre-commit): Update esp-idf-kconfig version

See merge request espressif/esp-idf!28500
2024-01-18 19:24:56 +08:00
Mo Fei Fei
8fdf872068 Merge branch 'docs/update_s3_devkitc_1_note_dimension' into 'master'
Docs: Update s3 devkitc 1 note dimension

Closes DOC-7003

See merge request espressif/esp-idf!28461
2024-01-18 19:03:51 +08:00
Mo Fei Fei
40ac08e7e7 Docs: Update s3 devkitc 1 note dimension 2024-01-18 19:03:50 +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
Aleksei Apaseev
b43e07d2f3 ci: fix truncated job name in artifact path 2024-01-18 14:45:35 +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
Tomas Rezucha
a5e647cf7f refactor(usb/examples): Depend on new esp_driver_gpio
This will exclude unneeded drivers from the build.
2024-01-18 07:28:06 +01:00
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
Marius Vikhammer
202bcadfd3 Merge branch 'feature/improve_ulp_examples' into 'master'
fix(ulp): improve ULP examples for users using usb-jtag-serial

See merge request espressif/esp-idf!28459
2024-01-18 13:33:04 +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
Cao Sen Miao
e6b18a13cd fix(tools): Fix cannot generate *_caps to kconfig if int value is negative 2024-01-18 10:51:39 +08:00
wuzhenghui
0dc7cad586 fix(esp_pm): safely check ccompare validity in DFS update_ccompare 2024-01-18 10:34:47 +08:00
Lu Ai Jun
b982b43e9a Merge branch 'ci/add_idf_target_env_var_while_building' into 'master'
ci: add IDF_TARGET env var while building

Closes IDFCI-1957

See merge request espressif/esp-idf!28506
2024-01-18 10:29:20 +08:00
Michael (XIAO Xufeng)
8a5582817e Merge branch 'doc/compatibility_c6h2' into 'master'
docs(compatibility): add information for c6, h2, s3 v0.2

See merge request espressif/esp-idf!27052
2024-01-18 09:57:17 +08:00
Marius Vikhammer
9ab0d95f65 test(newlib): enable and fix newlib tests on P4 2024-01-18 09:52:11 +08:00
Adam Múdry
c6520dc3a5 Merge branch 'feature/littlefs_example_bump_version_lower_idf_version' into 'master'
feat: LittleFS example bump version to 1.13.0

Closes IDF-9045

See merge request espressif/esp-idf!28454
2024-01-18 03:09:19 +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
Fu Hanxi
6d23026437 ci: add IDF_TARGET env var while building
usually we don't need it, but some sdkconfig files may want to expand
this env var.
2024-01-17 13:48:16 +01: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
xiaqilin
529860dea5 fix(esp_phy): fix esp32h2 wakeup i2c fail 2024-01-17 18:41:43 +08:00
zhangyanjiao
e4c6cec53b fix(wifi): fix the crash and malloc fail issue
1. fix(wifi/mesh): fix the crash issue when mesh deinit
2. fix(wifi):fix when ap recv auth in sa query porcess will memset psq issue
2024-01-17 17:01:35 +08:00
wanlei
4a46d70e9a fix(spi_master): Fix p4 spi clock source support other than XTAL 2024-01-17 17:01:23 +08:00
Cao Sen Miao
2859388f11 fix(temperature_sensor): Cannot switch the range smmothly on esp32h2 2024-01-17 16:55:30 +08:00
Konstantin Kondrashov
fdae1c6a28 Merge branch 'feature/efuse_reenable_test_on_p4' into 'master'
feat(efuse): Re-enable test on ESP32P4

See merge request espressif/esp-idf!28361
2024-01-17 16:49:49 +08:00
Fu Hanxi
c1ee790341 Merge branch 'ci/add_download_custom_apps_fixture' into 'master'
test: fix custom additional app for multicore test cases

Closes IDFCI-1948

See merge request espressif/esp-idf!28507
2024-01-17 16:44:17 +08:00
Sudeep Mohanty
d5993585df Merge branch 'bugfix/linenoise_calculates_negative_prompt_len' into 'master'
fix(console): Fixed linenoise prompt length calculation

Closes IDF-9024 and IDFGH-2867

See merge request espressif/esp-idf!28446
2024-01-17 16:38:06 +08:00
Mahavir Jain
3278317ca5 Merge branch 'feat/support_http_any_in_http_server' into 'master'
feat: support HTTP_ANY method in esp_http_server

Closes IDFGH-11684

See merge request espressif/esp-idf!28347
2024-01-17 16:12:46 +08:00
Mahavir Jain
b52c6b59d4 Merge branch 'ci/fix_check_build_rules_failure' into 'master'
ci(mbedtls): remove duplicated build-rules

Closes IDFCI-1950

See merge request espressif/esp-idf!28503
2024-01-17 16:01:50 +08:00
Roland Dobai
9940087d16 Merge branch 'fix/fatfsparse_construct' into 'master'
fix(fatfsgen): Fix incompatibility with the latest version of construct

Closes IDFCI-1915

See merge request espressif/esp-idf!28374
2024-01-17 15:57:52 +08:00
zhanghaipeng
32290b2475 fix(ble/bluedroid): Fix ble memory leak when gattc config off 2024-01-17 15:20:24 +08:00
Jiang Jiang Jian
ab7281128c Merge branch 'ci/fix_esp_wifi_function_test_markers' into 'master'
ci: fix wifi function test markers

See merge request espressif/esp-idf!28504
2024-01-17 13:47:22 +08:00
Wang Meng Yang
4997c81335 Merge branch 'bugfix/spp_disc_connect_btqabr2023_156_v5.3' into 'master'
fix(bt/bluedroid): Fixed SPP connection failure

Closes BTQABR2023-156

See merge request espressif/esp-idf!28029
2024-01-17 12:11:08 +08:00
Michael (XIAO Xufeng)
1903c51d07 Merge branch 'feat/support_p4_sdmmc_io' into 'master'
feat(sdio): add sdio over sdmmc support for esp32p4

See merge request espressif/esp-idf!28207
2024-01-17 11:28:42 +08:00
muhaidong
85a03b22a7 fix(lwip): fix log format resulting in compilation failue issue
Closes https://github.com/espressif/esp-idf/issues/12982
2024-01-17 10:47:10 +08:00
xiongweichao
a4f228da46 fix(ble): Fixed the issue of being unable to enter light sleep
- Fixed the issue where light sleep cannot be entered when external 32k XTAL does not exist
2024-01-17 10:29:43 +08:00
morris
5fb105a6d9 Merge branch 'feature/add_mipi_dsi_dphy_config_hal' into 'master'
update(mipi_dsi): update hal driver with DPHY PLL configuration

See merge request espressif/esp-idf!28412
2024-01-17 08:38:57 +08:00
Fu Hanxi
23c339e231 ci: raise RuntimeError instead of SystemExit to avoid kill the process
otherwise the pytest process will be killed immediately
2024-01-16 20:21:40 +01:00
Fu Hanxi
4afb86fce3 test: fix custom additional app for multicore test cases 2024-01-16 20:20:42 +01:00
KonstantinKondrashov
452a78de4a feat(efuse): Re-enable test on ESP32P4 2024-01-17 00:56:00 +08:00
Sudeep Mohanty
40db628582 Merge branch 'feature/allow_abs_path_for_partitions_csv' into 'master'
feat(partition_table): Allow configuration of absolute path for custom partitions.csv file

Closes IDFGH-11092

See merge request espressif/esp-idf!27652
2024-01-16 23:46:27 +08:00
Song Ruo Jing
32111c1c4d feat(ppa): add low level support for PPA 2024-01-16 23:20:59 +08:00
Fu Hanxi
b0af857d50 Merge branch 'ci/fix_search_multi_dut_with_markers' into 'master'
ci: fix collect multi-dut test case with markers issue

Closes IDFCI-1945

See merge request espressif/esp-idf!28448
2024-01-16 22:48:09 +08:00
Ondrej Kosta
ce388a4111 feat(esp_eth): Added support of internal EMAC for ESP32P4
Refactored internal EMAC DMA access.

Added MPLL acquire to manage access to the MPLL by multiple periphs.
2024-01-16 14:29:25 +01:00
Darshan Dobariya
fdc5a0ab9f fix(nimble): Added support for address resolution during inquiry. 2024-01-16 17:16:34 +05:30
Kevin (Lao Kaiyao)
4f506a30df Merge branch 'bugfix/fix_incorrect_regbase_name_of_i2s' into 'master'
fix(i2s): fixed incorrect reg base name on C3

Closes IDFGH-11518

See merge request espressif/esp-idf!28421
2024-01-16 19:37:28 +08:00
Roshan Bangar
ed0ba2e29d Merge branch 'feature/gatt_caching_support' into 'master'
feat(nimble): Gatt caching support

See merge request espressif/esp-idf!27074
2024-01-16 19:27:22 +08:00
Roland Dobai
d4d3e83d3c fix(fatfsgen): Fix incompatibility with the latest version of construct 2024-01-16 18:54:15 +08:00
Sudeep Mohanty
0313cbca43 fix(console): Fixed linenoise prompt length calculation
This commit fixes a potential issue where in the prompt length used
for the linenoise based console could be calculated as a negative
integer, leading to a console hang.

Closes https://github.com/espressif/esp-idf/issues/4924
2024-01-16 11:52:24 +01:00
Jakub Kocka
d9ad87c7ea ci(pre-commit): Update esp-idf-kconfig version 2024-01-16 11:41:53 +01:00
KonstantinKondrashov
ba0842a552 feat(efuse): Adds new efuses for esp32c6 2024-01-16 17:46:50 +08:00
KonstantinKondrashov
8802e4d77d feat(efuse): Adds new efuse for esp32h2 2024-01-16 17:46:50 +08:00
morris
d3ebd6bc1c feat(mipi_dsi): added DPHY PLL clock configuration 2024-01-16 17:41:46 +08:00
morris
ad84b61e49 change(esp_lcd): rearrange the esp_lcd folder by types 2024-01-16 17:40:27 +08:00
Kevin (Lao Kaiyao)
0717e0e4a3 Merge branch 'bugfix/fix_integral_div_calc_in_hal_util' into 'master'
fix(hal_utils): add division range check in integral algorithm

See merge request espressif/esp-idf!28431
2024-01-16 17:14:25 +08:00
Marius Vikhammer
a792c24b2a ci(mbedtls): remove duplicated build-rules 2024-01-16 17:14:12 +08:00
Chen Yudong
e99278b6c5 ci: fix wifi function test markers 2024-01-16 17:12:59 +08:00
MinZai97
15583ed635 feat: replace lightdriver, and support more chips in ble mesh examples 2024-01-16 17:07:01 +08:00
Ondrej Kosta
9a3133f22a Merge branch 'bugfix/ci_extra_flags' into 'master'
ci: added bridge test credentials to  PYTEST_EXTRA_FLAGS variable

See merge request espressif/esp-idf!28470
2024-01-16 17:03:55 +08:00
Zhang Wen Xu
3b44a596c4 Merge branch 'feature/support_esp_ot_radio_spinel' into 'master'
feature(openthread): support esp openthread radio spinel

See merge request espressif/esp-idf!28153
2024-01-16 16:55:43 +08:00
Armando (Dou Yiwen)
d7a0aa92f3 Merge branch 'feat/csi_brg_shared_ctrl' into 'master'
csi: added csi bridge share control code

See merge request espressif/esp-idf!28353
2024-01-16 16:30:21 +08:00
Marius Vikhammer
3846cbc599 Merge branch 'ci/fix_esp32_jtag' into 'master'
ci(semihost_vfs): fixed test case failing due to shell quote issues

See merge request espressif/esp-idf!28488
2024-01-16 15:45:33 +08:00
Xu Xiao
a1dc38bc6a Merge branch 'feat/modify_iperf_sdkconfig_to_improve_iperf_performance' into 'master'
feat(example): modify iperf sdkconfig to imporve iperf performance

Closes WIFIBUG-391

See merge request espressif/esp-idf!28482
2024-01-16 14:42:14 +08:00
laokaiyao
c3c72f02af fix(i2s): fixed incorrect reg base name on C3
Closes https://github.com/espressif/esp-idf/issues/12643
2024-01-16 14:12:32 +08:00
Marius Vikhammer
03db29c244 ci(semihost_vfs): fixed test case failing due to shell quote issues 2024-01-16 13:27:51 +08:00
Roshan Bangar
b2a403acc4 feat(nimble): Gatt caching support 2024-01-16 10:46:52 +05:30
C.S.M
ea4498d6c6 Merge branch 'refactor/i2c_example' into 'master'
refactor(i2c): Use new I2C driver in i2c examples.

See merge request espressif/esp-idf!28239
2024-01-16 12:52:12 +08:00
xuxiao
9d1f3d0d16 feat(example): modify iperf sdkconfig to imporve iperf performance 2024-01-16 10:50:18 +08:00
morris
109c1d63ec Merge branch 'bugfix/mcpwm_enable_group_clock_before_hal_init' into 'master'
fix(mcpwm): enable mcpwm core clock before hal init

Closes IDF-8963

See merge request espressif/esp-idf!28372
2024-01-16 10:21:58 +08:00
Shu Chen
abf8d771cc Merge branch 'bugfix/fix_ot_sleep_ci' into 'master'
fix(ci): increase inspection time of openthread sleepy device case

See merge request espressif/esp-idf!28308
2024-01-16 10:09:17 +08:00
Cao Sen Miao
4d71f7c18e refactor(i2c): Use new I2C drivers for I2C exmaple 2024-01-16 10:05:08 +08:00
Cao Sen Miao
0bf2b35b33 fix(i2c): Use hardware fsm reset on esp32c6/h2/p4 2024-01-16 10:05:05 +08:00
Armando
8f097a4629 feat(csi): added csi bridge share control code 2024-01-16 09:57:52 +08:00
C.S.M
251239d59d Merge branch 'bugfix/i2c_async_trans' into 'master'
fix(i2c_master): Fix issue that asyncronous transaction may cause memory problem

Closes IDFGH-11783

See merge request espressif/esp-idf!28197
2024-01-16 09:57:21 +08:00
Marius Vikhammer
0b9c0c188a Merge branch 'docs/ring_buf_get_info_api_wrong' into 'master'
docs(ringbuf): fixed mistake in vRingbufferGetInfo API parameter doc

See merge request espressif/esp-idf!28427
2024-01-16 09:34:20 +08:00
Erhan Kurubas
ca0b112669 feat(license): Dual-license source files built by OpenOCD stub flasher 2024-01-15 23:45:23 +01:00
Fu Hanxi
61aafd1e89 ci: fix download with multi-dut test cases with markers only 2024-01-15 22:36:09 +01:00
Fu Hanxi
c8dffc9378 ci: fix collect multi-dut test case with markers issue
While collecting, we stop registering the new plugin.
Otherwise the new created plugin will override the one we passed

also run the tests inside idf. the behavior is different.
2024-01-15 22:36:09 +01:00
Tomas Rezucha
763d07fd0e Merge branch 'fix/usb_fifo_sizes' into 'master'
feat(usb/host): Calculate FIFO sizes based on USB configuration

Closes IDF-7384

See merge request espressif/esp-idf!28316
2024-01-16 01:36:32 +08:00
Alexey Lapshin
2a9813e19c Merge branch 'fix/esp32p4-cpu-stall' into 'master'
fix(hw_support): fix esp32p4 cpu stall/unstall

See merge request espressif/esp-idf!28426
2024-01-16 00:50:45 +08:00
Tomas Rezucha
488477e0aa feat(usb/host): Calculate FIFO sizes based on USB configuration 2024-01-15 17:25:59 +01:00
Alexey Lapshin
ac2705b60a fix(hw_support): fix esp32p4 cpu stall/unstall 2024-01-15 23:25:07 +08:00
Adam Múdry
616573e09d feat: LittleFS bump version to 1.13.0 2024-01-15 13:15:24 +01:00
morris
15cf11480a Merge branch 'bugfix/dwgdma_link_list_write_back' into 'master'
fix(dw_gdma): write back the link list items after creation

See merge request espressif/esp-idf!28413
2024-01-15 20:07:03 +08:00
Martin Vychodil
0f6d5a4ee6 Merge branch 'feature/built-in_checks_for_sd_pullups' into 'master'
feat(sd_card): add built-in checks for debugging connections to the sd card and pullups

See merge request espressif/esp-idf!27420
2024-01-15 19:54:36 +08:00
Cao Sen Miao
85d0fdabde fix(i2c_master): Fix issue that use callback may cause memory leak,
Closes https://github.com/espressif/esp-idf/issues/12878
2024-01-15 19:09:07 +08:00
Martin Vychodil
06247179b3 Merge branch 'bugfix/i2c_eeprom_init_goto_use_after_free' into 'master'
fix: i2c_eeprom_init use after free when error

Closes IDF-9031

See merge request espressif/esp-idf!28390
2024-01-15 18:30:59 +08:00
sonika.rathi
54647dbbd3 feat(sd_card): add built-in checks for connections to the card and correct pullups 2024-01-15 11:21:30 +01:00
morris
213a599d8b fix(mcpwm): enable mcpwm group clock before hal init 2024-01-15 18:13:56 +08:00
Island
1ad354bff3 Merge branch 'bugfix/ble_mesh_ble_advtype' into 'master'
ble_mesh: update ble mesh ble adv type

See merge request espressif/esp-idf!19200
2024-01-15 17:46:21 +08:00
Harshit Malpani
1d81af367d feat: support HTTP_ANY method in esp_http_server
Closes https://github.com/espressif/esp-idf/issues/12794
2024-01-15 14:32:06 +05:30
morris
ed8d805554 fix(dw_gdma): write back the link list items after creation 2024-01-15 16:56:28 +08:00
Fu Hanxi
9d3abb8686 Merge branch 'ci/fix_no_junit_report_for_failed_target_test_jobs' into 'master'
ci: always upload junit report

See merge request espressif/esp-idf!28435
2024-01-15 16:40:06 +08:00
Ondrej Kosta
e339da981d ci: added bridge test credentials to PYTEST_EXTRA_FLAGS variable 2024-01-15 09:38:11 +01:00
muhaidong
5d866dd3df fix(wifi): fix smart config bssid set issue 2024-01-15 16:37:10 +08:00
Marius Vikhammer
b3dd5cb243 docs(ringbuf): fixed mistake in vRingbufferGetInfo API parameter doc 2024-01-15 16:18:49 +08:00
Fu Hanxi
7be04869d2 Merge branch 'ci/respect_build_only_label_while_generating_test_jobs' into 'master'
ci: support build only label again in dynamic pipeline

See merge request espressif/esp-idf!28434
2024-01-15 16:15:05 +08:00
Wang Meng Yang
f40ebbff1e Merge branch 'bugfix/fix_mac_bb_pd_iwdt_timeout' into 'master'
fix(ble): fixed interrupt timeout in MAC_BB_PD callback

See merge request espressif/esp-idf!28274
2024-01-15 15:48:39 +08:00
Xu Si Yu
ea8799eef7 feat(openthread): support esp openthread radio spinel 2024-01-15 15:27:06 +08:00
Rahul Tank
e084a8f78d Merge branch 'bugfix/handle_task_lock' into 'master'
fix(nimble): Remove unwanted task lock check when HS_DEBUG is enabled

Closes BT-3599

See merge request espressif/esp-idf!28343
2024-01-15 14:56:37 +08:00
Xu Si Yu
e7bdf082e3 fix(ci): increase inspection time of openthread sleepy device case 2024-01-15 14:40:43 +08:00
Marius Vikhammer
9d41418bd2 fix(ulp): improve ULP examples for users using usb-jtag-serial
When using USB-serial-jtag for monitoring idf-monitor will lose connection
during deep sleep (because the peripheral powers down) and will need
some time to reconnect when we wake-up. In the ULP examples this would result in
the chip waking up->printing-> going back to sleep, before idf-monitor is even able
to connect, and users would erroneously assume the chip never woke up.

Add a 1 sec delay at the start of the examples to improve the user experience when
using jtag-serial.
2024-01-15 13:01:59 +08:00
Mahavir Jain
fd9cf82965 Merge branch 'docs/add_read_otadata_documentation' into 'master'
docs: Add documentation for `idf.py read-otadata`

See merge request espressif/esp-idf!28141
2024-01-15 13:00:23 +08:00
Mahavir Jain
3640fd61b3 Merge branch 'docs/renaming_filename_of_partool' into 'master'
fix: renamed partool.py -> parttool.py

See merge request espressif/esp-idf!28430
2024-01-15 12:12:53 +08:00
laokaiyao
1950e7a06b fix(hal_utils): add division range check in integral algorithm 2024-01-15 11:04:37 +08:00
Fu Hanxi
b581d81fc1 ci: support build only label 2024-01-14 21:18:20 +01:00
Xiao Xufeng
216284b767 feat(sdio): add sdio over sdmmc support for esp32p4 2024-01-14 01:05:00 +08:00
Xiao Xufeng
7ecc9c9fc4 docs(compatibility): add information for c6, h2, s3 v0.2 2024-01-13 23:40:08 +08:00
Tomas Rezucha
6f053704dc Merge branch 'feature/usb_device_examples_p4_prep' into 'master'
USB Device examples: prerequisite and refactoring for esp32p4

See merge request espressif/esp-idf!28339
2024-01-13 02:21:45 +08:00
Alexey Lapshin
0ce3de700b Merge branch 'feature/tools_fix_arm64_arm32_detection' into 'master'
fix(idf_tools): Fix platform detection - arm64 hardware but it's running in arm32 environment

See merge request espressif/esp-idf!27987
2024-01-12 23:07:16 +08:00
Roland Dobai
e8509bc929 Merge branch 'feature/python-reorder-imports-instead-isort' into 'master'
feat: Use python-reorder-imports instead of isort

Closes IDF-4311

See merge request espressif/esp-idf!28438
2024-01-12 21:48:11 +08:00
Jan Beran
fa857bc9c3 feat: Use python-reorder-imports instead of isort 2024-01-12 21:43:52 +08:00
Anton Maklakov
c2d6a9e700 fix(idf_tools): Fix platform detection for arm64 machine but arm32 environment 2024-01-12 17:35:37 +04:00
Harshit Malpani
18947904bc docs: Add documentation for idf.py read-otadata 2024-01-12 18:58:14 +05:30
Roman Leonov
da8c926e9d feat(usb/device): Add esp32p4 prerequisites to examples 2024-01-12 13:04:38 +01:00
Fu Hanxi
5a17bf83ff Merge branch 'ci/fix_get_binaries_from_pipeline_via_build_report' into 'master'
ci: fix get binaries from pipeline via the build report

See merge request espressif/esp-idf!28432
2024-01-12 17:25:04 +08:00
Armando (Dou Yiwen)
312a8d38f0 Merge branch 'ci/enable_p4_psram_test' into 'master'
psram: enable psram ci test on p4

See merge request espressif/esp-idf!28411
2024-01-12 17:21:20 +08:00
Fu Hanxi
055f943028 ci: always upload junit report 2024-01-12 09:15:48 +01:00
Chen Yu Dong
024bce27ad Merge branch 'ci/optimize_protocol_examples_build_rules' into 'master'
CI: add dependencies to protocol exampels

See merge request espressif/esp-idf!28155
2024-01-12 16:05:24 +08:00
Fu Hanxi
19efb30536 ci: print report url
master/release pipelines does not have a mr comment, print it here
2024-01-12 08:57:26 +01:00
Fu Hanxi
25e3e3b384 docs: update pipeline_id description 2024-01-12 08:52:55 +01:00
Fu Hanxi
edf735a458 ci: fix get binaries from pipeline via the build report
should extract to IDF_PATH, not the current workdir
2024-01-12 08:43:20 +01:00
nilesh.kale
50ca5227fa fix: renamed partool.py -> parttool.py 2024-01-12 11:15:38 +05:30
Marius Vikhammer
13dd2c9aae Merge branch 'contrib/github_pr_12785' into 'master'
Provide ulp_adc_deinit() API to fix ADC1 handle leakage (GitHub PR)

Closes IDFGH-11673

See merge request espressif/esp-idf!27916
2024-01-12 12:03:52 +08:00
morris
39a994e352 Merge branch 'contrib/github_pr_12963' into 'master'
fix misformatted link (GitHub PR)

Closes IDFGH-11877

See merge request espressif/esp-idf!28428
2024-01-12 11:04:09 +08:00
Wan Lei
88abff03f7 Merge branch 'fix/i2c_test_app_change_gpio' into 'master'
fix(i2c): test app change gpio

See merge request espressif/esp-idf!28425
2024-01-12 10:46:37 +08:00
Armando
96f1853cd0 ci(psram): added esp_psram test dependency 2024-01-12 10:33:38 +08:00
Armando
2a8459b059 ci(psram): enable psram test on p4 2024-01-12 10:33:24 +08:00
Chen Yudong
b4d7879d0b ci: add dependencies to protocol exampels 2024-01-11 23:23:51 +08:00
Fu Hanxi
58fb179845 Merge branch 'ci/update_requirements_txt' into 'master'
ci: update idf-build-apps in requirement txt files

See merge request espressif/esp-idf!28416
2024-01-11 23:19:11 +08:00
Gabor Kiss-Vamosi
d30b78aea7 fix misformatted link 2024-01-11 15:19:14 +01:00
wanlei
b1c2482592 fix(i2c): test app change gpio 2024-01-11 21:44:30 +08:00
Fu Hanxi
f0209338de ci: update idf-build-apps in requirement txt files 2024-01-11 12:57:23 +01:00
morris
32397228d2 Merge branch 'test/enable_pcnt_ci_tests' into 'master'
change(pcnt): reenable the target test for esp32p4

Closes IDF-8965

See merge request espressif/esp-idf!28370
2024-01-11 18:13:21 +08:00
Lou Tian Hao
8bcac0bd7a Merge branch 'change/support_test_io_wakeup' into 'master'
change(pm): change test_io_wakeup

See merge request espressif/esp-idf!28368
2024-01-11 16:53:09 +08:00
Fu Hanxi
72a1f68e76 Merge branch 'ci/fix_build_clang_test' into 'master'
Ci/fix build clang test

See merge request espressif/esp-idf!28397
2024-01-11 16:34:41 +08:00
Kapil Gupta
685fcf4278 Merge branch 'feature/supplicant_bss_extmem' into 'master'
WiFi: Add support to move supplicant BSS to external memory

See merge request espressif/esp-idf!27891
2024-01-11 15:55:14 +08:00
Sudeep Mohanty
236498b040 feat(partition_table): Allow configuration of absolute path for custom partitions.csv file
This commit allows the configuration of an absolute path for the custom
partitions.csv file via the Kconfig option CONFIG_PARTITION_TABLE_CUSTOM_FILENAME.

Closes https://github.com/espressif/esp-idf/issues/12264
2024-01-11 08:37:02 +01:00
Fu Hanxi
a5ece00737 ci: make build_child_pipeline optionally need fast_template_app 2024-01-11 07:21:50 +01:00
Fu Hanxi
dc426ecebd ci: fix MR_MODIFIED_COMPONENTS missing doublequotes for empty string 2024-01-11 07:21:50 +01:00
Jiang Jiang Jian
2eacbbe957 Merge branch 'bugfix/add_authmode_wpa_wpa2_wpa3_psk' into 'master'
esp_wifi: Handle case when AP advertises WPA, WPA2 and WPA3 securities simultaneously and other bugfixes

Closes IDFGH-11372

See merge request espressif/esp-idf!27220
2024-01-11 13:41:20 +08:00
Armando (Dou Yiwen)
44a1a62214 Merge branch 'feature/psram_200mhz_support' into 'master'
psram: 200mhz psram support

Closes IDF-7517

See merge request espressif/esp-idf!28089
2024-01-11 13:19:45 +08:00
Fu Hanxi
37a4c2ea01 Merge branch 'ci/nested_dynamic_pipeline' into 'master'
CI: Dynamic Pipeline!!!

Closes IDFCI-1211, IDFCI-1729, IDF-8500, IDF-8456, IDFCI-1828, RDT-610, and RDT-615

See merge request espressif/esp-idf!26662
2024-01-11 13:08:28 +08:00
Marius Vikhammer
bb6bb82350 fix(esp_rom): fixed float to int conversion functions not working on P4 2024-01-11 12:15:40 +08:00
Lou Tianhao
19f2149390 change(pm): change test_io_wakeup 2024-01-11 11:07:16 +08:00
Jakob Hasse
6031b35803 fix(console): Made setting command context less error-prone and clearer 2024-01-11 10:53:43 +08:00
Li Shuai
28835624d9 fix(example): fixed app partition is too small for binary size 2024-01-11 10:42:38 +08:00
Sarvesh Bodakhe
615d928aa5 fix(esp_wifi): Add support for WPA3 + WPA3_EXT_PSK mixed mode and minor bugfixes
- Add support for WPA3 + WPA3_EXT_PSK mixed mode
- Improvements in scan and connect path as per specifications along with
  minor bugfixes
- When AP advertises all PSK modes (WPA, WPA2 and WPA3), make sure that
  station treats it as WPA2_WPA3_PSK mixed mode.

Closes https://github.com/espressif/esp-idf/issues/12517
2024-01-11 10:42:38 +08:00
Marius Vikhammer
f4532db8a2 Merge branch 'bugfix/remove_o0_bootloader' into 'master'
fix(build): remove CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE option from c6, h2 and p4

See merge request espressif/esp-idf!28371
2024-01-11 10:02:23 +08:00
Tomas Rezucha
260a2c7562 Merge branch 'fix/usb_cache_sync' into 'master'
fix(usb/host): Sync cache for memory shared by CPU and USB-OTG

Closes IDF-9012

See merge request espressif/esp-idf!28255
2024-01-11 00:15:23 +08:00
morris
16049ab6ad change(pcnt): reenable the target test for esp32p4
by changing the GPIO assignment
2024-01-10 23:03:40 +08:00
Fu Hanxi
fba96d58c2 ci: dynamic pipeline
build:
- upgrade idf-build-apps to 2.x
- unify get_pytest_apps and get_cmake_apps to get_all_apps
	- returns (test_apps, non_test_apps) tuple
- add tests for the new get_all_apps

assign:
- generate build report
- generate target test pipeline based on the build report

target test:
- download artifacts from minio server
- users can use `pytest --pipeline-id xxxxx` to download and flash
the binaries from the artifacts

.post:
- generate target test reports
2024-01-10 15:37:34 +01:00
Fu Hanxi
a98923bc85 test: temp disable ip101 test cases 2024-01-10 15:37:34 +01:00
Fu Hanxi
c1301c6145 build: bypass build issues 2024-01-10 15:34:50 +01:00
Fu Hanxi
3f03e56bb8 ci: add --keep-going to build all test apps in build_template_app job 2024-01-10 15:34:50 +01:00
Fu Hanxi
fa34008c61 docs(pytest): improve docs, add new features and changes 2024-01-10 15:31:22 +01:00
Fu Hanxi
114af706bb ci(wifi): migrate from .gitlab/ci/rules.yml to .build-test-rules.yml 2024-01-10 15:31:21 +01:00
Fu Hanxi
bb375ee79a ci(ethernet): migrate from .gitlab/ci/rules.yml to .build-test-rules.yml 2024-01-10 15:31:11 +01:00
Fu Hanxi
83d4e8c6ab ci(flash_encryption_wifi_high_traffic): migrate from .gitlab/ci/rules.yml to .build-test-rules.yml 2024-01-10 15:30:53 +01:00
Fu Hanxi
6f6092ed8d ci(sdio): migrate from .gitlab/ci/rules.yml to .build-test-rules.yml 2024-01-10 15:30:52 +01:00
Fu Hanxi
d44f236f7b ci(usb): migrate from .gitlab/ci/rules.yml to .build-test-rules.yml 2024-01-10 15:29:44 +01:00
Fu Hanxi
ed1c892a8a ci(adc): migrate from .gitlab/ci/rules.yml to .build-test-rules.yml 2024-01-10 15:29:44 +01:00
Fu Hanxi
9a9b1cd11f ci(ecdsa): migrate from .gitlab/ci/rules.yml to .build-test-rules.yml 2024-01-10 15:29:43 +01:00
Fu Hanxi
7138b977f8 ci(nvs_encr_hmac): migrate from .gitlab/ci/rules.yml to .build-test-rules.yml 2024-01-10 15:29:43 +01:00
Fu Hanxi
3645c041e2 ci(flash_multi): migrate from .gitlab/ci/rules.yml to .build-test-rules.yml 2024-01-10 15:29:43 +01:00
Fu Hanxi
b6a93bf81e ci(i154): migrate from .gitlab/ci/rules.yml to .build-test-rules.yml 2024-01-10 15:29:42 +01:00
Fu Hanxi
06af021c9f ci(pytest): stop ambiguous markers for multi-dut test case
also add `tools/ci/idf_pytest/tests` for testing
2024-01-10 15:29:42 +01:00
Fu Hanxi
b709c880dd ci: add linter for gitlab yaml files
- remove duplicated artifacts default values
- migrate check_artifacts_expire_time.py
- migrate check_rules_yml.py
2024-01-10 15:29:42 +01:00
Fu Hanxi
96aeead6f5 ci: fix ttfw type hint 2024-01-10 15:29:38 +01:00
Tomas Rezucha
ec004c788b fix(usb/host): Sync cache for memory shared by CPU and USB-OTG
Transfer descriptor list, frame list and transfer data buffers
are accessed by both CPU and USB-OTG. Sync CPU cache between the accesses.
2024-01-10 15:23:24 +01:00
Adam Múdry
4c239a9db6 fix: i2c_eeprom_init use after free when error 2024-01-10 14:53:34 +01:00
Fu Hanxi
1c314f3084 Merge branch 'ci/temp_disable_jobs' into 'master'
ci: remove ip101 jobs and twai_std jobs

See merge request espressif/esp-idf!28375
2024-01-10 21:10:20 +08:00
Erhan Kurubas
f5934dea31 Merge branch 'feature/esp32p4_coredump_support' into 'master'
feat(coredump): add esp32p4 chip support and doc update

Closes IDF-6521 and IDF-7756

See merge request espressif/esp-idf!28226
2024-01-10 20:07:29 +08:00
morris
ead6f7ce0c Merge branch 'feature/bytes_encoder_config_update' into 'master'
feat(rmt): support update bytes encoder configurations at runtime

Closes IDFGH-11662

See merge request espressif/esp-idf!27976
2024-01-10 18:19:43 +08:00
Fu Hanxi
7962746c65 ci: remove ip101 jobs and twai_std jobs 2024-01-10 10:10:53 +01:00
morris
5eed8e0fda feat(rmt): support update bytes encoder configurations at runtime
Closes https://github.com/espressif/esp-idf/issues/12775
2024-01-10 15:34:27 +08:00
Anton Maklakov
42a8eddaaf Merge branch 'feature/idf_tools_fix_err_handling' into 'master'
tools: fix error handling on export

See merge request espressif/esp-idf!27754
2024-01-10 14:55:38 +08:00
Marius Vikhammer
760d711491 fix(build): remove CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE option from c6, h2 and p4
CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE doesnt really have many use cases, but it will
force us to keep increasing bootloader segment sizes just to allow for building this options.

Deprecate this config for new chips.
2024-01-10 12:03:37 +08:00
Armando
13167d8479 change(flash): rename spi_timing_is_tuned to spi_flash_timing_is_tuned 2024-01-10 11:52:28 +08:00
Armando
80e18811db feat(psram): support 200mhz psram, experimental feature for now 2024-01-10 11:52:28 +08:00
Jiang Jiang Jian
8d85c08c40 Merge branch 'fix/esp32h2_phy_sleep_wakeup_issue' into 'master'
fix(esp_phy): fix esp32h2 sleep wakeup issue

See merge request espressif/esp-idf!28298
2024-01-10 11:44:31 +08:00
C.S.M
83571fc6a0 Merge branch 'fix/tsens_issues' into 'master'
fix(tsens): 300us delay in phy cause extra power consumption, fix length of soc_caps

See merge request espressif/esp-idf!28360
2024-01-10 10:42:49 +08:00
Cao Sen Miao
bc1478f0b0 fix(tsens): 300us delay in phy cause extra power consumption 2024-01-10 09:46:02 +08:00
morris
ad7b34f258 Merge branch 'test/dw_gdma_psram2sram_memset' into 'master'
test(dw_gdma): add a case to test memset from psram to sram

See merge request espressif/esp-idf!28120
2024-01-09 19:25:23 +08:00
Kevin (Lao Kaiyao)
1e6a76419b Merge branch 'feature/support_hello_world_on_esp32c5' into 'master'
feat(esp32c5): support hello world on esp32c5 beta3 (stage 8/8)

See merge request espressif/esp-idf!27870
2024-01-09 18:41:43 +08:00
Abhik Roy
515ca77e89 Merge branch 'lwip/static_ip6_public' into 'master'
feat(esp_netif): Added code to expose api to add and remove ipv6 address

See merge request espressif/esp-idf!27800
2024-01-09 18:00:48 +08:00
Abhik Roy
325a8d7a6e feat(esp_netif): Added code to expose api to add and remove ipv6 address 2024-01-09 18:00:47 +08:00
Wang Meng Yang
8a76b2e2ec Merge branch 'bugfix/update_spp_doc' into 'master'
docs(bt/bluedroid): update API documents of SPP

Closes BT-3568

See merge request espressif/esp-idf!28111
2024-01-09 15:29:11 +08:00
Wan Lei
85bdf22973 Merge branch 'refactor/spi_hal_iram_rm_dma_ll' into 'master'
refactor(spi): replace dma_ll related in spi hal by using gdma driver (part2)

See merge request espressif/esp-idf!27238
2024-01-09 15:13:12 +08:00
Kevin (Lao Kaiyao)
e87f7990b8 Merge branch 'feature/support_to_get_dma_buffer_size' into 'master'
feat(i2s): support to get total dma buffer size

Closes IDF-9005

See merge request espressif/esp-idf!28345
2024-01-09 14:56:36 +08:00
Fu Hanxi
230243328c Merge branch 'ci/fix_code_quality_report' into 'master'
CI: fix code quality report

Closes IDFCI-1905

See merge request espressif/esp-idf!27988
2024-01-09 14:45:37 +08:00
InfiniteYuan
993882d1d9 feat: ble mesh: improve ble mesh deinit when nimble enable 2024-01-09 14:16:31 +08:00
Marius Vikhammer
f762d81232 Merge branch 'bugfix/bootloader_o0' into 'master'
fix(bootloader): increased iram section length on C6/H2

Closes IDF-8933

See merge request espressif/esp-idf!28184
2024-01-09 14:15:16 +08:00
InfiniteYuan
59a9e8cc7b ble_mesh: update ble mesh ble adv type 2024-01-09 14:05:29 +08:00
laokaiyao
d0a8f3e5c4 feat(esp32c5): support esptool on esp32c5 beta3 2024-01-09 13:11:11 +08:00
laokaiyao
3d459e423a feat(esp32c5): support esp32c5 beta3 48M xtal 2024-01-09 13:11:11 +08:00
laokaiyao
96a4ead083 feat(esp32c5): support to run hello world on esp32c5 beta3 2024-01-09 13:11:11 +08:00
laokaiyao
11e19f40b9 feat(esp32c5): support to build hello world on esp32c5 beta3 2024-01-09 13:11:11 +08:00
Harshit Malpani
e0fdae294b Merge branch 'feat/update_cjson_v1_7_17' into 'master'
feat(cJSON): update submodule to v1.7.17

See merge request espressif/esp-idf!28330
2024-01-09 13:08:30 +08:00
Aditya Patwardhan
f468742d25 Merge branch 'fix/typo_in_key_mgr_hal_layer' into 'master'
fix(hal): Fix typo in hal layer for Key Manger

See merge request espressif/esp-idf!27832
2024-01-09 12:59:22 +08:00
laokaiyao
f254698166 feat(i2s): support to get total dma buffer size 2024-01-09 11:02:37 +08:00
morris
002467d0f6 fix(dw_gdma): free the interrupt handle when deleting the channel 2024-01-09 10:20:24 +08:00
morris
467dce2ffc change(dw_gdma): add a case to test memset from psram to sram 2024-01-09 10:20:24 +08:00
morris
28db901d77 fix(mcp): align the descriptor to cache line size for DMA memory copy 2024-01-09 10:12:36 +08:00
igor.udot
93166f8756 feat(unity_test): print stage number when unity test run 2024-01-09 10:08:54 +08:00
Marius Vikhammer
a04847f77e Merge branch 'bugfix/efuse_rom_control' into 'master'
fix(startup): fixed failing to boot if rom log ctrl efuse was burned

Closes IDFGH-11799

See merge request espressif/esp-idf!28221
2024-01-09 09:47:47 +08:00
Rahul Tank
2b0bcbc545 fix(nimble): Remove unwanted task lock check when HS_DEBUG is enabled 2024-01-08 19:34:17 +05:30
Rahul Tank
b3f7e2c8a4 Merge branch 'bugfix/reattempt_conn_feat_extended' into 'master'
fix(nimble): Support for reattempt connection in ext connect

See merge request espressif/esp-idf!28222
2024-01-08 20:07:08 +08:00
Island
ee7794c395 Merge branch 'bugfix/increase_btu_task_stack_size_master' into 'master'
fix(bt/bludroid): Increase BTU task stack size

Closes BT-3571

See merge request espressif/esp-idf!28319
2024-01-08 19:47:05 +08:00
C.S.M
09f0f7ec6c Merge branch 'fix/flash_print' into 'master'
fix(spi_flash): Remove the useless print

See merge request espressif/esp-idf!28331
2024-01-08 19:36:02 +08:00
Fu Hanxi
c633ba167d ci: fix code_quality_check 2024-01-08 10:13:08 +01:00
Marius Vikhammer
c8d644dea0 Merge branch 'feature/enable_system_tests_p4' into 'master'
test(system): enable esp_system tests for P4

Closes IDF-8978

See merge request espressif/esp-idf!28317
2024-01-08 16:33:43 +08:00
Martin Vychodil
81c235c31a Merge branch 'fix/fatfs_sdmmc_triming' into 'master'
fix(storage/fatfs): check whether sdcard supports trimming

Closes IDFGH-11818

See merge request espressif/esp-idf!28300
2024-01-08 16:29:26 +08:00
Sudeep Mohanty
5a5869a4a6 Merge branch 'feature/freertos_optimize_xtaskincrementtickothercores' into 'master'
feat(freertos): Optimized xTaskIncrementTickOtherCores()

Closes IDF-7905

See merge request espressif/esp-idf!28232
2024-01-08 16:07:49 +08:00
Armando (Dou Yiwen)
7f8d0256c2 Merge branch 'change/ldo_id_start_from_1' into 'master'
ldo: make ldo driver unit_id start from 1 (same as datasheet)

See merge request espressif/esp-idf!28318
2024-01-08 16:06:31 +08:00
Sudeep Mohanty
f81de4373a Merge branch 'bugfix/freertos_restore_correct_int_level_for_clic' into 'master'
fix(freertos): Fixed incorrect int level restoration on esp32p4

See merge request espressif/esp-idf!28257
2024-01-08 16:04:47 +08:00
Cao Sen Miao
cbcbecaa06 fix(spi_flash): Remove the useless print 2024-01-08 15:46:09 +08:00
Harshit Malpani
43235e57f9 feat(cjson): update submodule to v1.7.17
Changelog: https://github.com/DaveGamble/cJSON/releases/tag/v1.7.17
2024-01-08 13:14:13 +05:30
Shu Chen
2649097441 Merge branch 'feat/add_sbom_manifest_file_for_ot' into 'master'
feat(openthread): add sbom manifest file

Closes IDF-8307

See merge request espressif/esp-idf!27801
2024-01-08 15:42:05 +08:00
Lou Tian Hao
d8dfdd9c6f Merge branch 'feature/support_test_io_wakeup' into 'master'
feat(pm): add test_io_wakeup

Closes PM-66

See merge request espressif/esp-idf!27460
2024-01-08 15:37:03 +08:00
C.S.M
43c87716c9 Merge branch 'feat/flash_p4' into 'master'
ci(spi_flash): Enable spi_flash related tests on esp32p4

Closes IDF-7499 and IDF-8984

See merge request espressif/esp-idf!28099
2024-01-08 14:28:09 +08:00
Aditya Patwardhan
1220c36f96 Merge branch 'fix/build_failure_when_hardware_gcm_is_disabled' into 'master'
fix(mbedtls/gcm): Fix build failure when config `MBEDTLS_HARDWARE_GCM` is disabled

See merge request espressif/esp-idf!28149
2024-01-08 13:35:04 +08:00
Aditya Patwardhan
c0ea892aa5 fix(hal): Fix typo in hal layer for Key Manger
This also fixes type in attribute added in esp_attr
2024-01-08 10:32:41 +05:30
morris
36d6ee9e61 Merge branch 'bugfix/rmt_p4_test' into 'master'
fix(rmt): DMA descriptor alignment respect the cache line size

Closes IDF-8961

See merge request espressif/esp-idf!28296
2024-01-08 12:43:58 +08:00
Jiang Jiang Jian
daa729eae4 Merge branch 'bugfix/fix_no_sleep_null_data_after_data_sent' into 'master'
fix(pm): fix no sleep null after data sent (33290e79)

Closes WIFIBUG-339

See merge request espressif/esp-idf!28295
2024-01-08 12:08:26 +08:00
C.S.M
53fff31426 Merge branch 'bugfix/tsens_adc_conflict' into 'master'
fix(tsens,adc): Fix issue that disable adc will make temperature sensor crash

Closes IDFGH-11828

See merge request espressif/esp-idf!28260
2024-01-08 11:58:48 +08:00
Mahavir Jain
f94785fcd7 Merge branch 'bugfix/protocol_examples_check_alloc_ret' into 'master'
fix: Check memory allocation failures in protocol examples

See merge request espressif/esp-idf!28237
2024-01-08 11:50:18 +08:00
Mahavir Jain
7c004fd7f8 Merge branch 'bugfix/fix_dynamic_mbedtls_crash' into 'master'
mbedtls: Fix enable dynamic mbedtls will occur heap corruption when server support TLS renegotiation

Closes IDF-8529

See merge request espressif/esp-idf!28086
2024-01-08 11:39:39 +08:00
Mahavir Jain
dd49da5f4f Merge branch 'bugfix/fix_http_client_error' into 'master'
esp_http_client: Fix reset errno to 0 before call esp_transport_read

Closes IDFGH-7444

See merge request espressif/esp-idf!26539
2024-01-08 11:36:52 +08:00
linruihao
4fbfc98132 fix(bt/bludroid): Increase BTU task stack size 2024-01-08 11:34:10 +08:00
Mahavir Jain
c0bd52898f Merge branch 'contrib/github_pr_12915' into 'master'
docs: Correct coap IPV6 support requirement comments (GitHub PR)

Closes IDFGH-11821

See merge request espressif/esp-idf!28297
2024-01-08 11:29:59 +08:00
Lou Tianhao
e28606aed2 feat(pm): add test_io_wakeup 2024-01-08 11:12:25 +08:00
Armando
1adea4ab66 change(ldo): make ldo driver unit_id same as datasheet
Prior to this commit, we expect passing ldo_unit_t to esp_ldo driver
`ldo_unit` field. And ldo_unit_t will alias the LDO unit to values
starting from 0, e.g. LDO_UNIT_1 is actually value 0.

With this commit, esp_ldo driver `ldo_unit` field will start with 1,
which is aligned with the datasheet. So LDO_UNIT_1 is in value 1,
meanwhile setting 1 to `ldo_unit` will work as well.
2024-01-08 10:52:11 +08:00
Lou Tian Hao
b74cc4637b Merge branch 'feature/support_hw_trigger_regdma_when_pu_top' into 'master'
fix(pm):  trigger regdma retention by PMU when TOP is not power down on esp32H2

Closes PM-47 and PM-65

See merge request espressif/esp-idf!28046
2024-01-08 10:44:06 +08:00
morris
d97a46160d fix(rmt): DMA descriptor alignment respect the cache line size 2024-01-08 10:31:32 +08:00
Cao Sen Miao
2e83fa1c69 refactor(spi_flash): Use new spi_flash register sturct and deperecate the old one 2024-01-08 09:59:22 +08:00
Cao Sen Miao
8325b507e0 test(spi_flash): Enable spi_flash related test on esp32p4 2024-01-08 09:59:12 +08:00
C.S.M
86707a3af6 Merge branch 'refactor/esp_driver_usj' into 'master'
refactor(usb_serial_jtag): make usb_serial_jtag as component

See merge request espressif/esp-idf!28140
2024-01-06 15:26:08 +08:00
Roland Dobai
0e46d40df7 Merge branch 'fix/gdbgui_py311' into 'master'
Tools: Fix support of gdbgui on Unix with Python 3.11

Closes IDFGH-11651

See merge request espressif/esp-idf!28256
2024-01-06 01:43:40 +08:00
Cao Sen Miao
3dc76e9360 refactor(usb_serial_jtag): make usb_serial_jtag as component 2024-01-05 19:42:04 +08:00
Wan Lei
32e2101c0d Merge branch 'fix/twai_add_std_runner' into 'master'
fix(twai): Add std runner using USB-CAN adapter

See merge request espressif/esp-idf!27095
2024-01-05 19:36:31 +08:00
xiaqilin
3b2cbe4363 fix(sleep): fix the issue of asymmetry in suspend/resume cache when skipping sleep. 2024-01-05 19:18:43 +08:00
Roland Dobai
8ee9186a0c Merge branch 'fix/kconfig_check_pre_commit' into 'master'
Tools: Fix KConfig files checks in pre-commit hook

Closes IDF-8996

See merge request espressif/esp-idf!28282
2024-01-05 18:59:41 +08:00
Roland Dobai
c6acde833b fix(gdbgui): Fix support of gdbgui on Unix with Python 3.11
Closes https://github.com/espressif/esp-idf/issues/12764
2024-01-05 11:23:02 +01:00
Sudeep Mohanty
d4ca7c246e fix(freertos): Fixed incorrect int level restoration on esp32p4
This commit fixes a bug where in the portENABLE_INTERRUPTS() macro
incorrectly restored the interrupt level to 1 (non-CLIC controller).
2024-01-05 11:00:56 +01:00
Tomáš Rohlínek
1297a0628a fix(storage/fatfs): check whether sdcard supports triming
Closes https://github.com/espressif/esp-idf/issues/12912
2024-01-05 10:31:56 +01:00
xiaqilin
e571a37a3c fix(esp_phy): fix esp32h2 sleep wakeup issue 2024-01-05 16:26:52 +08:00
Lou Tianhao
aed3127d19 feat(pm): support PMU trigger regdma when PU TOP 2024-01-05 16:17:32 +08:00
Jakub Kocka
f47f2dc70f fix: KConfig files checks in pre-commit hook 2024-01-05 08:55:36 +01:00
Sudeep Mohanty
6e074c02e0 feat(freertos): Optimized xTaskIncrementTickOtherCores()
This commit optimizes the xTaskIncrementTickOtherCores() function by
avoiding unnecessary context switches.
2024-01-05 08:43:03 +01:00
wanlei
8536ffb490 fix(twai): enable twai interactive test for all targets on new std runner 2024-01-05 15:22:09 +08:00
Marius Vikhammer
e7f7078ee8 test(system): enable esp_system tests for P4 2024-01-05 15:17:34 +08:00
Jon Shallow
35f553f84d docs: Correct coap IPV6 support requirement comments
coap (libcoap) can now be built with or without IPV6.
2024-01-05 12:35:41 +05:30
Zhang Hai Peng
0b8e6c66c4 Merge branch 'bugfix/ble_check_adv_data' into 'master'
fix(bt/bluedroid): Fix ble adv data check to avoid memory overflow

See merge request espressif/esp-idf!28245
2024-01-05 14:17:42 +08:00
liuning
d962bc560b fix(pm): fix no sleep null after data sent (33290e79) 2024-01-05 14:12:21 +08:00
Cao Sen Miao
b84434b39d fix(tsens,adc): Fix issue that disable adc will make temperature sensor crash,
Closes https://github.com/espressif/esp-idf/issues/12921
2024-01-05 12:10:30 +08:00
Armando (Dou Yiwen)
dbe1df8cde Merge branch 'feature/esp32p4_sdmmc_on_real_chip' into 'master'
sdmmc: p4 sdmmc on real chip (relies ldo on real chip)

Closes IDF-6502

See merge request espressif/esp-idf!27762
2024-01-05 11:43:30 +08:00
Armando (Dou Yiwen)
f8674e6610 Merge branch 'bugfix/fix_wrong_dcache_0_size_issue_on_s2' into 'master'
cache: fix wrong dcache size 0 configuration issue on s2

Closes IDFGH-11592

See merge request espressif/esp-idf!28264
2024-01-05 10:33:50 +08:00
Armando
a9a36512a8 bugfix(dma): fixed wrong esp_dma_is_buffer_aligned result for psram on s3 2024-01-05 09:56:08 +08:00
Jin Cheng
057eb7061d feat(bt/bluedroid): Added an event to notify the encryption mode to applicaiton layer 2024-01-05 09:40:38 +08:00
Michael (XIAO Xufeng)
cc83c1e371 Merge branch 'bugfix/recalib_bbpll_before_tuning' into 'master'
fix(bbpll): fix bbpll may not lock or not stable bug for stop early (ESP32C2/S3/C6/H2)

See merge request espressif/esp-idf!27294
2024-01-05 03:21:22 +08:00
Kevin (Lao Kaiyao)
91c44ad88a Merge branch 'refactor/group_h264_struct_header_on_p4' into 'master'
refactor(h264): group the h264 struct header on p4

See merge request espressif/esp-idf!28252
2024-01-05 00:14:06 +08:00
Peter Marcisovsky
5524b692ee Merge branch 'feat/usb_host_set_device_config' into 'master'
USB Host: Add enumeration callback filter

Closes IDFGH-11534

See merge request espressif/esp-idf!27370
2024-01-05 00:11:31 +08:00
Peter Marcisovsky
24adb6ed3c feat(us/host): set device cfg during enumeration
- user callback funciton to set device configuration
      as a part of usb_host_install
    - callback provides device descriptor of a device being enumerated
    - user can set which cfg descriptor the USB device will be set with
    - user can filter device enumeration
    - Kconfig menu to enable callback function
    - usb_host_lib example demonstration
2024-01-04 16:09:13 +01:00
Rahul Tank
25d9e6735c fix(nimble): Support for reattempt connection in ext connect 2024-01-04 18:19:21 +05:30
Wang Meng Yang
7cc5d3d1d7 Merge branch 'bugfix/a2dp_sink_example' into 'master'
fix(bt/bluedroid): corrected the strings of A2DP audio states

See merge request espressif/esp-idf!28275
2024-01-04 20:44:21 +08:00
Fu Hanxi
d76334d83a Merge branch 'test/fix_lp_core_config_mismatch_issue' into 'master'
test: fix lp_core config file name mismatch issue

See merge request espressif/esp-idf!28217
2024-01-04 20:22:13 +08:00
linruihao
cfbd316b77 fix(ble): fixed interrupt timeout in MAC_BB_PD callback 2024-01-04 19:18:58 +08:00
Kevin (Lao Kaiyao)
22f2ecc400 Merge branch 'refactor/esp_driver_parlio' into 'master'
refactor(parlio): make parlio driver as component

Closes IDF-8383

See merge request espressif/esp-idf!28203
2024-01-04 18:32:13 +08:00
Jin Cheng
8582f9bedf fix(bt/bluedroid): corrected the strings of A2DP audio states 2024-01-04 17:52:11 +08:00
Marius Vikhammer
6c39a05d90 Merge branch 'ci/cleanup_example_cmake_test' into 'master'
ci(build_system): clean-up cmake examples build-test-rules.yml

Closes IDF-8987

See merge request espressif/esp-idf!28262
2024-01-04 17:12:10 +08:00
Kapil Gupta
5f8a276386 Merge branch 'bugfix/additional_autmode_incompatible_docs' into 'master'
Add docs for additional authmode incompatible situation

See merge request espressif/esp-idf!28179
2024-01-04 17:07:35 +08:00
Jiang Jiang Jian
0a1f378675 Merge branch 'fix/esp32h2_rssi_positive_issue' into 'master'
fix(ieee802154): fix the issue of not receiving packets when RSSI is positive in esp32h2

See merge request espressif/esp-idf!28038
2024-01-04 15:35:46 +08:00
Armando
2a5343b2e0 change(ldo): added ldo_types.h 2024-01-04 15:34:59 +08:00
Armando
5ae29bc4e5 doc(sdmmc): added doc about ldo usage on esp32p4 2024-01-04 15:34:59 +08:00
Armando
847d525d78 feat(sdmmc): use ldo as power supply on esp32p4 2024-01-04 15:34:59 +08:00
harshal.patil
8ac4d9ab99 fix(mbedtls/gcm): Avoid using GCM hardware when config MBEDTLS_HARDWARE_GCM is disabled 2024-01-04 12:20:11 +05:30
harshal.patil
c1ed825d3e fix(mbedtls/gcm): Fix build failure when config MBEDTLS_HARDWARE_GCM is disabled 2024-01-04 12:20:10 +05:30
Island
e8ff5511f2 Merge branch 'feat/config_ble_max_bond_dev_count' into 'master'
feat(bt/bluedroid): Make the max number of bond device to be configurable

Closes BLERP-375

See merge request espressif/esp-idf!27990
2024-01-04 14:43:35 +08:00
jgujarathi
8ab5cee34a docs(esp_wifi): Add docs for additional authmode incompatible situation
- Adds documentation for additional situations where authmode incompatible disconnect
  reason code will be reported
2024-01-04 11:56:42 +05:30
laokaiyao
baccc61482 refactor(parlio): make parlio driver as component 2024-01-04 14:12:42 +08:00
Jiang Jiang Jian
83241cab72 Merge branch 'bugfix/change_default_value_for_ip_ttl' into 'master'
Fix(lwip):bugfix for change default value for ip ttl

Closes AUD-5018

See merge request espressif/esp-idf!28139
2024-01-04 14:03:17 +08:00
zhanghaipeng
c66fc143fa fix(bt/bluedroid): Fix ble adv data check to avoid memory overflow 2024-01-04 13:21:42 +08:00
Mahavir Jain
5b5dcaa01d Merge branch 'bugfix/update_jtag_disabling_api' into 'master'
fix(esp_hw_support): fix API esp_hmac_disable_jtag() to disable JTAG

See merge request espressif/esp-idf!27888
2024-01-04 13:05:34 +08:00
Armando
d9661e15e2 fix(cache): fix wrong dcache size 0 configuration issue on s2
Closes https://github.com/espressif/esp-idf/issues/12711
2024-01-04 12:06:09 +08:00
Marius Vikhammer
97b52f2cfb ci(build_system): clean-up cmake examples build-test-rules.yml 2024-01-04 11:30:41 +08:00
Armando (Dou Yiwen)
2ff22c2bad Merge branch 'feat/esp32p4_enable_target_test' into 'master'
ci: enable esp32p4 target test

Closes IDF-7522 and IDF-7521

See merge request espressif/esp-idf!28001
2024-01-04 11:23:24 +08:00
Omar Chebib
9a6791b79d docs(soc): add a few details in the intr_alloc documentation for the ESP32-P4 2024-01-04 11:21:56 +08:00
Marius Vikhammer
c05b6533ce change(ulp): added test for ulp adc init/deinit 2024-01-04 10:55:25 +08:00
Marius Vikhammer
4d48b63172 Merge branch 'ci/enable_misc_system_tests' into 'master'
change(system): enabled pthread, ringbuf and event tests

Closes IDF-8064, IDF-8115, IDF-8106, and IDF-6423

See merge request espressif/esp-idf!28023
2024-01-04 10:06:54 +08:00
Armando
3c5a4f9e8a ci(p4): added todo jira for disabled tests on p4 2024-01-04 09:36:38 +08:00
Armando
907b876354 ci(p4): temporarily disable failed ci tests on p4 2024-01-04 09:36:06 +08:00
Armando
4686456872 change(spi): temp disable spi related tests on p4 2024-01-04 09:34:55 +08:00
Armando
1ab742b3c3 ci(p4): enable esp32p4 target test 2024-01-04 09:34:55 +08:00
Martin Vychodil
20f80a2d05 Merge branch 'feature/nvs_flash_add_test_apps_dependecies' into 'master'
feat(storage): add dependencies to storage related test apps

Closes IDF-8398, IDF-8397, and IDF-8835

See merge request espressif/esp-idf!27439
2024-01-04 03:29:05 +08:00
Xiao Xufeng
c204f418ef fix(rtc): fixed bbpll not calibrated from bootloader issue 2024-01-04 03:23:20 +08:00
chaijie@espressif.com
8775b99d93 fix(bbpll): fix bbpll calibration may stop early bug(ESP32C2/S3/C6/H2) 2024-01-04 03:23:20 +08:00
laokaiyao
1d3c8c5481 refactor(h264): group the h264 struct header on p4 2024-01-03 23:57:11 +08:00
Xu Si Yu
bae3c28406 Merge branch 'feature/add_ieee802154_examples' into 'master'
feat(ieee802154): Add ieee802154 examples

See merge request espressif/esp-idf!26423
2024-01-03 22:51:25 +08:00
Rahul Tank
0c007e10a5 Merge branch 'bugfix/enable_addr_resol_across_reboot' into 'master'
fix(nimble): Enable address resolution across reboot

Closes BCI-374

See merge request espressif/esp-idf!28165
2024-01-03 20:02:30 +08:00
Erhan Kurubas
c3916927c9 feat(esp-coredump): add esp32p4 chip support and doc update 2024-01-03 12:05:34 +01:00
Xu Si Yu
13fa6c7af2 feat(ieee802154): Add ieee802154 CLI example 2024-01-03 19:05:16 +08:00
Harshit Malpani
e636c680a5 fix: Check memory allocation failures in protocol examples 2024-01-03 15:23:53 +05:30
morris
a532a648b1 Merge branch 'contrib/github_pr_12908' into 'master'
spi_lcd: add flag to control the DC level in cmd/param/data phase separately (GitHub PR)

Closes IDFGH-11813 and IDFGH-9249

See merge request espressif/esp-idf!28208
2024-01-03 17:21:57 +08:00
nilesh.kale
61af00289b fix(esp_hw_support): fix API esp_hmac_disable_jtag() to disable JTAG
After ets_hmac_disable(), invalidating JTAG register process is ineffective.
So, added call to enable hmac begore invalidating JTAG REG.
And similarly disabled it after invalidation.
2024-01-03 16:54:11 +08:00
Tomas Sebestik
6b7333e422 Merge branch 'update/precommit-version' into 'master'
ci(pre-commit-hooks): update commitlinter version to 1.6.0; add type "test: " to defaults

See merge request espressif/esp-idf!28219
2024-01-03 16:19:22 +08:00
Marius Vikhammer
53682edd6d fix(startup): fixed failing to boot if rom log ctrl efuse was burned
Closes https://github.com/espressif/esp-idf/issues/12894
2024-01-03 16:03:58 +08:00
Abhik Roy
0c99a58ff6 Merge branch 'lwip/acceptmbox_config' into 'master'
change(lwip): Added macro to configure TCP accept mailbox size

See merge request espressif/esp-idf!27276
2024-01-03 15:55:12 +08:00
Island
562b5795bd Merge branch 'bugfix/ble_coex_gattc_gatts' into 'master'
fix(bt/bluedroid): Update ble gattc gatts coex example

See merge request espressif/esp-idf!28098
2024-01-03 15:00:26 +08:00
Kit Sczudlo
c9c7cfcfc7 feat(spi_lcd): control DC level for cmd, param, color phase separately
Closes https://github.com/espressif/esp-idf/issues/10635
Merges https://github.com/espressif/esp-idf/pull/12908
2024-01-03 14:41:07 +08:00
zwl
370f4defb8 fix(ble): fixed rssi inaccuracy issue on ESP32-H2 2024-01-03 14:39:31 +08:00
xiaqilin
adda93b117 fix(ieee802154): fix the issue of not receiving packets when RSSI is positive in esp32h2 2024-01-03 14:39:31 +08:00
Rahul Tank
65a0627f0c fix(nimble): Enable address resolution across reboot 2024-01-03 14:35:56 +08:00
Liu Linyan
b55b661e6e Merge branch 'bugfix/ble_mesh_ci_fail' into 'master'
fix(ble_mesh): Fix CI compile failure

See merge request espressif/esp-idf!28233
2024-01-03 14:22:30 +08:00
Xu Si Yu
59e9374b67 Merge branch 'feature/add_ci_for_meshcop' into 'master'
feat(ci): add a case for openthread border router meshcop

See merge request espressif/esp-idf!28014
2024-01-03 11:23:24 +08:00
morris
7091a9a0e3 Merge branch 'docs/update_cn_trans_esp_http_client_external-ram' into 'master'
Docs: Updated cn trans for esp_http_client and external_ram

Closes DOC-6976

See merge request espressif/esp-idf!28212
2024-01-03 11:22:17 +08:00
Liu Linyan
3ae4203ce5 fix(ble_mesh): Fix CI compile failure 2024-01-03 10:56:10 +08:00
Island
4f49d8d7fa Merge branch 'feat/ble_mesh_miscellaneous_update' into 'master'
Feat/ble mesh miscellaneous update

Closes BLERP-308, BLERP-346, and BLERP-390

See merge request espressif/esp-idf!27936
2024-01-03 10:44:45 +08:00
Darian
0c3fdc4b3e Merge branch 'feature/usb_dwc_add_p4_soc_hal' into 'master'
USB Host: Add USB Host struct, config, and linker entries for P4 (1)

See merge request espressif/esp-idf!27931
2024-01-03 00:38:35 +08:00
Darian
64b3f0e337 Merge branch 'feature/freertos_idf_smp_changes_doc' into 'master'
Docs: Update IDF FreeRTOS 10.5.1 docs and add migration notes

Closes IDF-8532

See merge request espressif/esp-idf!27591
2024-01-03 00:35:55 +08:00
mofeifei
879429f342 docs: Update cn trans for freertos docs 2024-01-02 22:30:42 +08:00
Darian Leung
80157e5c5d docs(freertos/idf): Add IDF FreeRTOS upgarde migration notes for v5.2 2024-01-02 22:30:42 +08:00
Darian Leung
31b195d150 docs(freertos/idf): Update IDF FreeRTOS documentation
This commit updates the IDF FreeRTOS documentation as follows:

- Update terminology ("CPU" to "Core", "ESP-IDF FreeRTOS" to "IDF FreeRTOS")
- Fixed some inconsistent formatting
- Rearranged some sub sections
- Updated section regarding single-core mode to be coherent with v10.5.1 update.
2024-01-02 22:30:42 +08:00
Roland Dobai
39e68f87d6 Merge branch 'ci/pre_commit_sbom_validation' into 'master'
ci: add sbom validation using pre-commit's post-commit stage

Closes IDF-8946

See merge request espressif/esp-idf!28216
2024-01-02 20:57:54 +08:00
Tomáš Rohlínek
092f5aff29 feat(storage): Update build test rules for storage related components 2024-01-02 13:10:59 +01:00
Xu Si Yu
28ccaca00d feat(ci): add a case for openthread border router meshcop 2024-01-02 19:19:05 +08:00
Frantisek Hrbata
0f898539a0 ci: add sbom validation using pre-commit's post-commit stage
With 09ba070b7e ("fix: allow to use older pre-commit hook version")
and b93cc581a5 ("fix: set default pre-commit hook stages to pre-commit..")
we set the default pre-commit hook stage to commit/pre-commit, which avoids
running the pre-commit plugins/hooks multiple times for different stages.
Unfortunately this also affects "pre-commit run" used in CI and
now it runs only plugins which are by default using the
commit/pre-commit stage. Meaning the sbom validation, which uses
post-commit, is not run at all. This adds an explicit pre-commit command
for validate-sbom-manifest plugin, which needs to be started in
post-commit stage.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-01-02 10:47:11 +01:00
Darian
bc503f987f Merge branch 'refactor/usb_host_build_dependency_options' into 'master'
USB Host: Remove CONFIG_USB_OTG_SUPPORTED, build dependencies use SOC_USB_OTG_SUPPORTED instead

See merge request espressif/esp-idf!28097
2024-01-02 17:03:29 +08:00
Tomas Sebestik
d222c8a886 ci(pre-commit-hooks): update commitlinter version to 1.6.0 2024-01-02 10:00:14 +01:00
Jiang Jiang Jian
ada597103b Merge branch 'bugfix/wpa_ap_incompat_with_pmf_req' into 'master'
Report authmode incompatible WPA AP scanned and we require PMF

Closes WIFIBUG-358

See merge request espressif/esp-idf!28205
2024-01-02 16:39:51 +08:00
Fu Hanxi
d1f5497f43 test: fix lp_core config file name mismatch issue 2024-01-02 09:36:01 +01:00
mofeifei
009e6945aa docs: Updated cn trans for esp_http_client and external_ram 2024-01-02 16:06:03 +08:00
Jiang Jiang Jian
7537c4fcea Merge branch 'bigfix/BLEQABR23-503' into 'master'
fix(ble_mesh): reject node-reseting when provision link is active

See merge request espressif/esp-idf!25848
2024-01-02 15:37:42 +08:00
Wu Meng Shi
2f78a065bd fix(ble_mesh): reject node-reseting when provision link is active 2024-01-02 15:37:41 +08:00
Kevin (Lao Kaiyao)
18f7ce2bd6 Merge branch 'feature/esp_system_related_support_on_esp32c5' into 'master'
feat(esp32c5): add system related supports (stage 5/8)

See merge request espressif/esp-idf!27843
2024-01-02 14:55:00 +08:00
laokaiyao
a48f4760d2 feat(esp32c5): add system related supports 2024-01-02 11:17:11 +08:00
xueyunfei
f6575f7e3a Fix(lwip):bugfix for change default value for ip ttl 2024-01-02 11:00:41 +08:00
Darian Leung
2bb30e6493 refactor(usb): Deprecate CONFIG_USB_OTG_SUPPORTED, use SOC_USB_OTG_SUPPORTED instead
Previously, USB build dependencies used the CONFIG_USB_OTG_SUPPORTED. However,
they could depend on `soc_caps.h` instead.
2024-01-01 21:37:34 +08:00
Darian Leung
f671a6fbda feat(usb): Add USB peripheral addresses for P4 2024-01-01 21:34:02 +08:00
Roman Leonov
cdc0e78057 feat(soc/usb): Add ESP32-P4 USB OTG struct 2024-01-01 21:34:02 +08:00
jgujarathi
b35ab4e1df fix(esp_wifi): Report authmode incompatible WPA AP scanned and we require PMF
- Report the authmode incompatible if the scanned AP is in WPA mode and we require PMF
  according to sta config
2024-01-01 07:42:03 +05:30
Alex Lisitsyn
81aec7b929 Merge branch 'bugfix/fix_modbus_tcp_slave_examples_use_events' into 'master'
fix(examples/modbus): fix possible incorrect event processing in modbus slave examples

Closes IDFGH-11297

See merge request espressif/esp-idf!27957
2023-12-31 01:40:11 +08:00
Alex Lisitsyn
cd23451810 fix(examples/modbus): fix possible incorrect event processing in modbus slave examples 2023-12-31 01:40:10 +08:00
Wan Lei
bbe91fadbd Merge branch 'feature/esp_driver_ledc' into 'master'
feat(ledc): make esp_driver_ledc as component

See merge request espressif/esp-idf!28163
2023-12-29 21:15:55 +08:00
zhanghaipeng
216b9da33d fix(bt/bluedroid): Optimize ble remove all bonded devices function 2023-12-29 19:28:06 +08:00
Shu Chen
93d68c2e06 Merge branch 'bugfix/fix_ot_br_pcb_ttl' into 'master'
fix(openthread): update lib to set raw pcb ttl value

See merge request espressif/esp-idf!28190
2023-12-29 19:27:17 +08:00
Kevin (Lao Kaiyao)
83d5797967 Merge branch 'feature/parlio_rx_driver' into 'master'
driver: add parallel IO RX driver

Closes IDF-7002 and IDF-6984

See merge request espressif/esp-idf!23488
2023-12-29 16:36:24 +08:00
Jin Cheng
6ee9b95960 feat(bt/bluedroid): Added report for the type of link key in ESP_BT_GAP_AUTH_CMPL_EVT 2023-12-29 16:22:04 +08:00
Xu Si Yu
8c5c612865 fix(openthread): update lib to set raw pcb ttl value 2023-12-29 15:25:40 +08:00
zhanghaipeng
96626cb110 fix(bt/bluedroid): Update ble ibeacon example document 2023-12-29 14:16:11 +08:00
Song Ruo Jing
1dfa4011f0 Merge branch 'feature/esp32p4_clock_support' into 'master'
feat(clk): add basic clock support for esp32p4

Closes IDF-7526 and IDF-7569

See merge request espressif/esp-idf!27950
2023-12-29 12:34:12 +08:00
zhanghaipeng
cfd84e654c fix(bt/bluedroid): Update ble gattc gatts coex example 2023-12-29 12:14:39 +08:00
Darian
1da17fce18 Merge branch 'refactor/rename_hal_usb_phy_to_fsls' into 'master'
USB HAL: Change name of usb_phy HAL files to usb_fsls_phy

See merge request espressif/esp-idf!28158
2023-12-29 11:42:11 +08:00
Marius Vikhammer
b958ac700f fix(bootloader): increased iram section length on C6/H2
Bootloader would fail to link if compiled with -O0
2023-12-29 11:36:57 +08:00
wanlei
82f26471f0 feat(ledc): make esp_driver_ledc as component 2023-12-29 11:28:19 +08:00
Jiang Jiang Jian
16ae218dfb Merge branch 'bugfix/fix_ble_app_unregister_no_event' into 'master'
fix(bt/bluedroid): Fix ble app unregister no event

Closes BLERP-402

See merge request espressif/esp-idf!28166
2023-12-29 11:08:08 +08:00
Jiang Jiang Jian
ece73357ca Merge branch 'bugfix/fix_beacon_was_unexpectedly_free_issue' into 'master'
fix(wifi): fix beacon was unexpectedly freed issue

Closes WIFIBUG-345, WIFIBUG-324, WIFIBUG-290, and WIFI-6372

See merge request espressif/esp-idf!28180
2023-12-29 10:51:38 +08:00
muhaidong
0b3c9aa54c fix(wifi): fix beacon was unexpectedly freed issue 2023-12-29 01:53:22 +08:00
Song Ruo Jing
7f2b85b82b feat(clk): add basic clock support for esp32p4
- Support CPU frequency 360MHz
- Support SOC ROOT clock source switch
- Support LP SLOW clock source switch
- Support clock calibration
2023-12-29 00:37:26 +08:00
Song Ruo Jing
80c5cf27e8 change(soc): correct esp32p4 regi2c related registers 2023-12-29 00:37:26 +08:00
Jiang Jiang Jian
5d8fb281e7 Merge branch 'bugfix/additional_authmode_incompatible' into 'master'
Cover additional situations for reporting new reason codes

Closes WIFIBUG-278

See merge request espressif/esp-idf!28156
2023-12-29 00:02:13 +08:00
Kapil Gupta
f0f9cb4917 Merge branch 'bugfix/add_disconnect_reason_codes_doc' into 'master'
Add documentation for ESP defined disconnect reasoncodes

See merge request espressif/esp-idf!27094
2023-12-28 21:01:51 +08:00
wanlei
2baee4fb0f refactor(spi_master): replace dma_ll in spi hal layer (part 2.1) 2023-12-28 19:58:54 +08:00
Kevin (Lao Kaiyao)
3db8116260 Merge branch 'change/update_esp32c5beta3_soc_hal_files' into 'master'
change(esp32c5): update soc files for esp32c5 beta3 (stage 4, part 2)

See merge request espressif/esp-idf!28108
2023-12-28 19:26:42 +08:00
jgujarathi
4b4095e47d fix(esp_wifi): Cover additional situations for reporting new reason codes
- WIFI_REASON_NO_AP_FOUND_W_COMPATIBLE_SECURITY will be reported for the following
  reasons
  -- AP has PMF required but station is not configured for pmf capable/required.
  -- Station has PMF required but AP is not configured for pmf capable/required.
  -- The AP is using unsupported group management/pairwise ciphers
  -- OWE not enabled by station for found OWE AP
  -- AP RSNXE parsing failed in supplicant
  -- AP is in Independent BSS mode
2023-12-28 15:40:54 +05:30
Kapil Gupta
14ee656993 docs(wifi): Add documentation for ESP defined disconnect reasoncodes 2023-12-28 15:23:29 +05:30
Rahul Tank
41f862d351 Merge branch 'bugfix/fix_gatts_stop_race_condition' into 'master'
fix(nimble): Handled race condition for conn variables being set to NULL

Closes BLERP-368

See merge request espressif/esp-idf!28026
2023-12-28 17:39:32 +08:00
zhanghaipeng
a2425ac3e7 fix(bt/bluedroid): Fix ble app unregister no event 2023-12-28 17:30:57 +08:00
Shu Chen
d064a49092 feat(openthread): add sbom manifest file 2023-12-28 16:47:35 +08:00
Shu Chen
eb42024b7d Merge branch 'feature/add_dynamic_iram_check_for_ot_sleep' into 'master'
feat(openthread): add dynamic iram check for ot sleepy example

See merge request espressif/esp-idf!28047
2023-12-28 11:53:15 +08:00
Darian Leung
d74b4f6730 refactor(hal/usb): Rename usb_fsls_phy API to match header/source names
Note: Also fixed some formatting issues in usb_wrap_struct.h
2023-12-28 11:48:54 +08:00
Darian Leung
b26472af29 refactor(hal/usb): Rename usb_phy files to usb_fsls_phy
This commit renames USB PHY related HAL files from "usb_phy_xxx" to
"usb_fsls_phy_xxx" since they are only designed to support Full-Speed/Low-Speed
Serial USB PHYs. This renmaing is done to accommodate future USB PHYs that use
other PHY interfaces (e.g., UTMI, ULPI etc).
2023-12-28 11:48:34 +08:00
laokaiyao
db7e90fef9 feat(parlio_rx): add parlio rx examples 2023-12-28 11:05:26 +08:00
laokaiyao
fcc9293f66 change(esp32c5): update soc files for esp32c5 beta3 2023-12-28 10:23:15 +08:00
Roland Dobai
cf43d60c63 Merge branch 'fix/pre_commit_backward_compatibility' into 'master'
fix: allow to use older pre-commit hook versions

Closes IDF-8903

See merge request espressif/esp-idf!28008
2023-12-27 22:53:36 +08:00
laokaiyao
95839eb1c6 docs(parlio_rx): add programming guide 2023-12-27 19:32:12 +08:00
laokaiyao
ce9110dbf0 feat(parlio_rx): add test for parlio rx driver 2023-12-27 19:32:12 +08:00
laokaiyao
04d267b023 feat(parlio_rx): implement parallel io rx driver 2023-12-27 19:32:12 +08:00
morris
188864bcbd feat(parlio_rx): add parallel IO RX driver 2023-12-27 19:32:11 +08:00
Shu Chen
f3039dde71 Merge branch 'fix/ot_frame_pointer_unstable' into 'master'
feat(802.15.4): introduce the feature of received done handler

See merge request espressif/esp-idf!27387
2023-12-27 16:56:58 +08:00
Jiang Jiang Jian
712e1b75d1 Merge branch 'bugfix/nan_crash_sched_bcn' into 'master'
Fix crash while stopping NAN

Closes WIFIBUG-330

See merge request espressif/esp-idf!28123
2023-12-27 16:30:16 +08:00
zwx
82478c87b7 fix(ieee802154): introduce a receive done handler feature 2023-12-27 14:33:16 +08:00
zwx
d0079778d7 feat(openthread): add dynamic iram check for ot sleepy example 2023-12-27 14:24:53 +08:00
zwx
8cae0ed755 fix(pm): fix extra retention function to iram
* Also remove unused function on H2
2023-12-27 14:24:53 +08:00
C.S.M
39882c30ae Merge branch 'bugfix/tsens_dis_ena' into 'master'
fix(temperature_sensor): Fix the value is incorrect if disable and enable again

Closes IDFGH-11766

See merge request espressif/esp-idf!28106
2023-12-27 12:38:05 +08:00
Kevin (Lao Kaiyao)
405006450b Merge branch 'bugfix/fix_i2s_cache_sych_alignment_on_p4' into 'master'
fix(i2s): fix cache sync alignment on p4

See merge request espressif/esp-idf!28138
2023-12-27 11:52:09 +08:00
Wang Meng Yang
4c8f6c5458 Merge branch 'feat/add_get_device_name_api' into 'master'
feat(bt/bluedroid): Added API to get local device name

Closes BT-3526

See merge request espressif/esp-idf!27667
2023-12-27 10:37:33 +08:00
Shyamal Khachane
47fc60db75 fix(esp_wifi): Fix crash while stopping NAN
Also fix inconsistent NAN macro values
2023-12-27 10:24:06 +08:00
Cao Sen Miao
3764b5ec0a fix(temperature_sensor): Fix the value is incorrect if disable and enable again
Closes https://github.com/espressif/esp-idf/issues/12864
2023-12-27 10:13:12 +08:00
C.S.M
eef9c4053c Merge branch 'feat/temperature_p4' into 'master'
feat(temperature_sensor): Add temperature sensor support on esp32p4

Closes IDF-7482 and IDF-7485

See merge request espressif/esp-idf!28075
2023-12-27 09:48:44 +08:00
laokaiyao
9daffacba6 fix(i2s): fix cache sync alignment on p4 2023-12-26 22:09:03 +08:00
Armando (Dou Yiwen)
22b9bc2708 Merge branch 'change/do_mpll_ldo_earlier' into 'master'
mpll: do mpll ldo init earlier

See merge request espressif/esp-idf!28104
2023-12-26 20:59:35 +08:00
Cao Sen Miao
ccc3f13efa fix(tsens): temp commit hello dfdfd dfafsdf fdfsdfs 2023-12-26 16:50:38 +08:00
Anton Maklakov
a3d47a5ba8 feat(tools): error handling, stop if the binary cannot be executed 2023-12-26 15:46:04 +07:00
Cao Sen Miao
439bc719fe feat(temperature_sensor): Add temperature sensor support on esp32p4 2023-12-26 16:45:20 +08:00
Armando
7e0f298608 change(psram): update doc about ldo 2023-12-26 11:43:33 +08:00
Armando
58d222e66c change(mpll): use fast write as reg is 8bit 2023-12-26 11:43:33 +08:00
Armando
71202c701f change(ldo): do vddpst ldo init in early stage 2023-12-26 11:43:33 +08:00
Omar Chebib
227c5d2cb7 Merge branch 'bugfix/freertos_task_noaffinity_print' into 'master'
fix(freertos): display tasks with no affinity as -1 during tracing

Closes IDFGH-11759

See merge request espressif/esp-idf!28073
2023-12-26 10:11:31 +08:00
Jin Cheng
42f19d657a docs(bt/bluedroid): update API documents of SPP 2023-12-26 09:13:20 +08:00
Island
ee3a46dbc3 Merge branch 'bugfix/fixed_stop_periodic_adv_assert_issue_master' into 'master'
fixed(ble): fixed an assertion issue when stopping periodic adv on ESP32C6 and ESP32H2

Closes BLERP-377, BLERP-380, BLERP-381, and BLERP-369

See merge request espressif/esp-idf!28083
2023-12-25 18:31:16 +08:00
Kevin (Lao Kaiyao)
a0b29a5e4c Merge branch 'bugfix/fix_inverted_mclk_select_register' into 'master'
fix(i2s): fix no mclk output in i2s simplex mode on P4

See merge request espressif/esp-idf!28048
2023-12-25 12:44:00 +08:00
Mahavir Jain
341a8f2d65 Merge branch 'cleanup/atecc608a_example_migration' into 'master'
refactor: migrate atecc608a_ecdsa example to crypto authlib repository

Closes IDF-8541 and DOC-6672

See merge request espressif/esp-idf!27642
2023-12-22 20:09:05 +08:00
Jiang Jiang Jian
da4b3d5c80 Merge branch 'bugfix/fix_ble_phy_tx_ifs' into 'master'
fix(phy): Fix ble tx ifs time for ESP32

Closes IDFGH-11600, WIFI-6367, and WIFIBUG-219

See merge request espressif/esp-idf!28056
2023-12-22 19:44:50 +08:00
laokaiyao
3c9505ac64 fix(i2s): add rcc trick for some ll functions 2023-12-22 19:40:38 +08:00
Darian
244bffbc49 Merge branch 'refactor/usb_hal_ll_uses_ip_config' into 'master'
USB Host: Remove usage of old USB OTG IP config macros

See merge request espressif/esp-idf!28066
2023-12-22 19:22:53 +08:00
Island
011d8a309a Merge branch 'bugfix/fix_ble_prepare_write' into 'master'
Bugfix/fix ble prepare write

Closes BLERP-336

See merge request espressif/esp-idf!27831
2023-12-22 19:09:21 +08:00
Harshit Malpani
102fe3a522 fix(esp_http_client): Add test case in esp_http_client example
Add a test case in esp_http_client example to test HTTP_METHOD_HEAD
with async mode
2023-12-22 16:20:24 +05:30
jim
b0b6980421 mbedtls: Fix enable dynamic mbedtls will occur heap corruption when server support TLS renegotiation 2023-12-22 17:23:42 +08:00
laokaiyao
6b3a35eea4 fix(i2s): fix no mclk output in i2s simplex mode on P4 2023-12-22 16:14:13 +08:00
David Čermák
9614300f81 Merge branch 'lwip/ip6_debug_fix' into 'master'
fix(lwip): Fixed debug format, added ci test config

See merge request espressif/esp-idf!27133
2023-12-22 15:28:52 +08:00
zwl
54c4fd935c fixed(ble): fixed an assertion issue when stopping periodic adv on ESP32C6 and ESP32H2 2023-12-22 15:21:36 +08:00
Island
083fe84db7 Merge branch 'bugfix/ble_update_lib_20231219' into 'master'
update lib on master

Closes BLERP-371, BLERP-364, BLERP-363, BLERP-361, BLERP-349, BLERP-360, BLERP-350, BLERP-351, BLERP-352, BLERP-353, BLERP-354, BLERP-356, BLERP-357, BLERP-358, BLERP-359, BLERP-366, BLERP-376, and BLERP-378

See merge request espressif/esp-idf!27997
2023-12-22 14:57:15 +08:00
Mahavir Jain
c3f7a2f50d Merge branch 'contrib/github_pr_12813' into 'master'
fix(esp32): Fixed declaration issue (GitHub PR)

Closes IDFGH-11705 and IDFGH-11706

See merge request espressif/esp-idf!27969
2023-12-22 14:43:58 +08:00
Jiang Jiang Jian
dcd9891f82 Merge branch 'fix/btc_config_lock_error' into 'master'
fix(bt/bluedroid): fixed btc_config_lock error

Closes BT-3549

See merge request espressif/esp-idf!27933
2023-12-22 13:51:29 +08:00
Rahul Tank
6e066746b0 fix(nimble): Handled race condition for conn variables being set to NULL 2023-12-22 09:42:39 +05:30
Omar Chebib
1472343439 fix(freertos): display tasks with no affinity as -1 during tracing
Closes https://github.com/espressif/esp-idf/issues/12858
2023-12-22 12:11:30 +08:00
Rahul Tank
48ad3a50b6 Merge branch 'bugfix/periodic_adv_enh_fixes' into 'master'
fix(nimble): Added periodic_adv_enh soc_caps for c2, h2

Closes BLERP-318

See merge request espressif/esp-idf!27572
2023-12-22 12:08:46 +08:00
Wang Meng Yang
9393ccaf68 Merge branch 'bugfix/fix_establish_two_sco_fail' into 'master'
fix(bt/controller): Fixed establish two SCO connection failed

Closes BTQABR2023-146

See merge request espressif/esp-idf!27869
2023-12-22 11:52:42 +08:00
Anton Maklakov
503f3e819d Merge branch 'feature/breathe_faster' into 'master'
feat(docs): use a faster fork of breathe-doc/breathe

See merge request espressif/esp-idf!27961
2023-12-22 11:52:16 +08:00
Mahavir Jain
e691c8b43b Merge branch 'bugfix/support_all_http_status_codes' into 'master'
fix(esp_http_server): Add support for sending custom HTTP status

Closes IDFGH-11235

See merge request espressif/esp-idf!27419
2023-12-22 11:47:19 +08:00
Shang Zhou
b300c78864 docs: Update CN translation for esp_tls.rst, mqtt.rst, and peripherals.rst 2023-12-22 09:11:43 +05:30
Mahavir Jain
01f50ee7f5 refactor: migrate atecc608a_ecdsa example to crypto authlib repository
- ESP32-WROOM-32SE has been discontinued and marked as NRND
- This change removes all references to ESP32-WROOM-32SE from IDF
- The example has been migrated to esp-cryptoauthlib repository and it
  can be used through the component manager
  (https://components.espressif.com/components/espressif/esp-cryptoauthlib)
2023-12-22 09:11:41 +05:30
zhanghaipeng
b02c669370 fix(phy): Fix ble tx ifs time for ESP32 2023-12-22 11:38:16 +08:00
jim
14a9e01931 esp_http_client: Fix reset errno to 0 before call esp_transport_read
Closes https://github.com/espressif/esp-idf/issues/9020
2023-12-22 10:54:40 +08:00
Omar Chebib
f27d65c7bc Merge branch 'contrib/github_pr_12852' into 'master'
cmake: correct the parameter annotation of idf_build_set_property (GitHub PR)

Closes IDFGH-11752

See merge request espressif/esp-idf!28067
2023-12-22 10:41:24 +08:00
Armando (Dou Yiwen)
4ca2cd16d0 Merge branch 'feat/mpll_support_on_esp32p4' into 'master'
feat(mpll): supported mpll configure api

Closes IDF-8885

See merge request espressif/esp-idf!28009
2023-12-22 09:41:38 +08:00
Ivan Grokhotkov
763ba14885 feat(docs): use a faster fork of breathe-doc/breathe
See https://github.com/breathe-doc/breathe/discussions/962
2023-12-21 16:33:20 +01:00
Darian Leung
2ec0ee944d refactor(hal/usb): Remove usage of old USB OTG config macros 2023-12-21 21:52:46 +08:00
Guillaume Souchere
8f407949c6 docs(esp-event): Update description of esp_event_handler_instance_x
Add a note to esp_event_handler_instance_register_with and
esp_event_handler_instance_register to specify that calling those
functions with the instance parameter set to NULL is equivalent to
calling esp_event_handler_register_with and esp_event_handler_register.

Closes https://github.com/espressif/esp-idf/issues/12818
2023-12-21 13:35:42 +01:00
Guillaume Souchere
7f64b4203b Merge branch 'feat/heap-reset-heap-info' into 'master'
feat(heap): Allow tracking of minimum free size for a given time frame

Closes IDF-8782

See merge request espressif/esp-idf!27577
2023-12-21 19:22:40 +08:00
Augtons
a8ea638cde cmake: correct the parameter annotation of idf_build_set_property
The value parameter should be marked as [in] instead of [out], as it is used to set the property value, not to get it.
2023-12-21 18:30:57 +08:00
morris
b655a7aae4 Merge branch 'bugfix/dw_gdma_master_port_setting' into 'master'
fix(dw_gdma): wrong master port setting for destination

See merge request espressif/esp-idf!28045
2023-12-21 18:20:32 +08:00
Ivan Grokhotkov
7265febc31 Merge branch 'bugfix/macos_build_linux_target_misc' into 'master'
Misc fixes for IDF_TARGET=linux on macOS host

See merge request espressif/esp-idf!28015
2023-12-21 17:55:24 +08:00
xiongweichao
71442ef6de fix(bt/bluedroid): Fixed SPP connection failure
The connection failure is caused by the BTU and application layer status being out of sync.
2023-12-21 17:42:26 +08:00
Shu Chen
f0d10c8c81 Merge branch 'bugfix/fix_openthread_spi_slave_transaction' into 'master'
fix(openthread): fix openthread SPI tx timeout issue

See merge request espressif/esp-idf!27887
2023-12-21 16:53:29 +08:00
Armando
27b1e4dc87 feat(mpll): supported mpll configure ll api 2023-12-21 16:26:03 +08:00
Guillaume Souchere
bb9d5a8d51 feat(heap): Allow tracking of minimum free size for a given time frame
Implement a function to start tracking the minimum free size from the
moment the function is called.
Implement a function to stop tracking the minimum free size and restore
the minimum free size value calculated since startup.
Implement the tests related to this new feature.
2023-12-21 08:07:01 +01:00
morris
8863d0930e Merge branch 'bugfix/gdma_legacy_macro_back_again' into 'master'
fix(gdma): reserve the SOC_GDMA_PAIRS_PER_GROUP

Closes IDFGH-11688

See merge request espressif/esp-idf!27981
2023-12-21 14:52:58 +08:00
morris
21fa29fedf Merge branch 'docs/notes_in_sync_with_updown_mode' into 'master'
docs(mcpwm): add a note about setting sync phase in up down mode

Closes IDFGH-11670

See merge request espressif/esp-idf!27953
2023-12-21 13:36:55 +08:00
luoxu
39b1ee4c9a bugfix(ble_mesh): add duplicate scan config for esp32s3 2023-12-21 12:13:13 +08:00
Marius Vikhammer
8fe0f99368 change(system): enabled pthread, ringbuf and event tests 2023-12-21 11:09:42 +08:00
zhanghaipeng
ed036e0ebe fix(bt/bluedroid): Fix prepare write for BLE example 2023-12-21 10:59:26 +08:00
Gao Xu
243e3149f6 Merge branch 'bugfix/fix_adc_reset_issue_on_legacy' into 'master'
fix(adc): fix adc continuous get less results beacuse do not reset apb clk(legacy)

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

Closes WIFIBUG-316

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

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

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

Closes IDF-8899

See merge request espressif/esp-idf!27983
2023-12-21 10:25:06 +08:00
David Čermák
4a2af43535 Merge branch 'fix/docs_update_proto_p4' into 'master'
docs(network): Update network/proto API refs and guides for ESP32P4

Closes IDF-7764

See merge request espressif/esp-idf!27589
2023-12-21 00:55:40 +08:00
David Cermak
e3a02d78c8 docs(network): Update network/proto API refs and guides for ESP32P4 2023-12-20 23:07:35 +08:00
Mahavir Jain
d3afab15bd Merge branch 'update/update_certs_bundle' into 'master'
Update esp_crt_bundle certificates

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

Closes IDFGH-11713

See merge request espressif/esp-idf!27985
2023-12-20 18:53:39 +08:00
Anton Maklakov
46f9c85974 Merge branch 'ci/different_cache_key_for_idf_ver' into 'master'
ci: differnet cache key for different idf ver

See merge request espressif/esp-idf!28005
2023-12-20 17:39:30 +08:00
schottj
7b10d02201 fix(app_update): fixed undeclared variable 'ret' in esp_ota_ops.c 2023-12-20 14:58:06 +05:30
Mo Fei Fei
3140fcadf2 Merge branch 'docs/update_cn_trans_usb-serial-jtag-console' into 'master'
docs: Update cn trans for use-serial-jtag-console

Closes DOC-6815

See merge request espressif/esp-idf!28004
2023-12-20 16:42:09 +08:00
Song Ruo Jing
d7b3bf0b69 Merge branch 'fix/esp32p4_gpio_pins' into 'master'
change(gpio): esp32p4 available pins are GPIO0 ~ GPIO54

Closes IDF-7735

See merge request espressif/esp-idf!28016
2023-12-20 16:39:21 +08:00
Mahavir Jain
7fc9b09c34 fix(cmake): for embedded data length use .long attribute
For Linux builds if the embedded data length exceeded 16-bit value then
the build used to fail with following error:

build/x509_crt_bundle.S: Assembler messages:
build/x509_crt_bundle.S:4201: Warning: value 0x1056e truncated to 0x56e

GNU ASM for X86 systems treats .word attribute as of size 2 bytes, this commit
uses .long attribute to take the size to 4 bytes.
2023-12-20 13:59:19 +05:30
Abhik Roy
01797231f9 fix(lwip): Fixed debug format, added ci test config
* Update submodule: git log --oneline 542ba299..f5c43549

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

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

Closes BLERP-342

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

Closes IDFGH-11433

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

Closes IDF-8825

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

Closes QEMU-149 and IDF-8114

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

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

See merge request espressif/esp-idf!27965
2023-12-20 09:56:19 +08:00
Marius Vikhammer
5b36225162 change(bootloader): enable tests for P4 and QEMU 2023-12-20 09:27:18 +08:00
Ivan Grokhotkov
c90b6c18c9 fix(linux): define __assert_func for IDF_TARGET=linux on macOS 2023-12-19 23:01:00 +01:00
Ivan Grokhotkov
b56bb7d8e4 fix(cmake): don't emit section directive when embedding files on host 2023-12-19 23:00:48 +01:00
Ivan Grokhotkov
6f9038809a fix(esp_netif): move endian.h to linux component, fix macOS build
Co-authored-by: Radek Tandler <radek.tandler@espressif.com>
2023-12-19 23:00:48 +01:00
Ivan Grokhotkov
1bd417ad68 fix(cmake): don't add Clang flags not supported in Apple toolchain 2023-12-19 23:00:48 +01:00
Ivan Grokhotkov
7f171f01b1 Merge branch 'bugfix/ignore_build_warnings_local' into 'master'
fix(idf-build-apps): make ignore_build_warnings.txt usable locally

See merge request espressif/esp-idf!27881
2023-12-20 05:59:08 +08:00
Ivan Grokhotkov
0f8d4fa2b4 Merge branch 'bugfix/macos_build_linux_target_transport_tls_http_server' into 'master'
fix(linux): fix several components failing to build with IDF_TARGET=linux on macOS

See merge request espressif/esp-idf!27883
2023-12-20 05:58:29 +08:00
Guillaume Souchere
eb3507a5a2 fix(heap): prevent double traversal of hashmap in map_find_and_remove
Remove the use of SLIST_REMOVE in map_find_and_remove to prevent the hashmap
list to be traversed twice in the function.

Closes https://github.com/espressif/esp-idf/issues/12820
2023-12-19 18:02:08 +01:00
Ivan Grokhotkov
7b8f69404f feat(linux): provide getrandom implementation for macOS
This makes getrandom(2) usable when compiling with IDF_TARGET=linux
on a macOS host.
2023-12-19 15:11:32 +01:00
Chen Yudong
77597f7ac8 ci: do not upload caches for dev branches by default 2023-12-19 20:36:55 +08:00
Ivan Grokhotkov
a596ca56a8 fix(mbedtls): fix -Wstrict-prototypes warning when compiling on Linux 2023-12-19 13:29:15 +01:00
Ivan Grokhotkov
8bf23e5372 fix(esp-tls): fix build for IDF_TARGET=linux on macOS 2023-12-19 13:28:59 +01:00
Ivan Grokhotkov
49f289f893 fix(esp_http_server): fix build for IDF_TARGET=linux on macOS 2023-12-19 13:28:59 +01:00
Ivan Grokhotkov
3a340b385f Merge branch 'feature/qemu_lcd' into 'master'
feat(qemu): add a CLI option for graphics output

See merge request espressif/esp-idf!27874
2023-12-19 20:07:29 +08:00
Fu Zhibo
4149148fa2 feat(regi2c): support regi2c for esp32p4 2023-12-19 19:22:51 +08:00
Xu Si Yu
edb0063953 fix(openthread): allow setting netif_idx of udp pcb to no_index 2023-12-19 18:43:51 +08:00
Tomas Rohlinek
88cc473910 Merge branch 'docs/fatfs_link_lock' into 'master'
Docs(storage/fatfs): Add documentation for FATFS_LINK_LOCK Kconfig option

Closes IDF-8739

See merge request espressif/esp-idf!27472
2023-12-19 18:37:52 +08:00
zhiweijian
8dc646a9b3 fix(ble/controller): Fixed BLE recorrect enable bug and fixed BLE bb isr enable by default 2023-12-19 17:27:30 +08:00
Frantisek Hrbata
09ba070b7e fix: allow to use older pre-commit hook version
With b93cc581a5 ("fix: set default pre-commit hook stages to pre-commit..")
a dependency on pre-commit 3.3 was added. As it turned out, there are
people still using e.g. 2.16 version and this change is causing problems.

1. The minimum_pre_commit_version is checked after the config is parsed.
   Meaning if there is a problem in the config file, like unknown
   pre-commit for default_stages, pre-commit exits with an error not
   suggesting that it should be updated.
2. "pre-commit" was added in 3.2 for consistency with git hook names and
   we can use "commit" instead avoiding dependency on newer pre-commit.
   For more info please see [1] and [2].
3. default_install_hook_types[4] were added in 2.18.0[3]. This was IMHO actually
   a nice feature to have in our .pre-commit-config.yaml, because it
   specifies which hooks should be installed when pre-commit install is
   executed. Meaning it's not necessary to list the stages explicitly with the -t
   options. Anyway we haven't used this feature till now, so it
   hopefully should not be a problem if we remove it again.

With this change we can still avoid to start pre-commit plugins multiple
times for different stages, but also make it compatible with older
versions(2.16).

[1] https://github.com/pre-commit/pre-commit/issues/2732
[2] https://github.com/pre-commit/pre-commit/pull/2808
[3] https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md#2180---2022-04-02
[4] https://pre-commit.com/#top_level-default_install_hook_types

Fixes: b93cc581a5 ("fix: set default pre-commit hook stages to pre-commit..")
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-12-19 10:01:43 +01:00
Chen Yudong
ff015d1872 ci: differnet cache key for different idf ver
update caches on release tags and nightly schedules
2023-12-19 16:56:53 +08:00
monoliths
55acf50c48 feat(wifi_prov): Add API for checking whether the provisioning state machine is idle 2023-12-19 14:09:14 +05:30
Roland Dobai
539425ff99 Merge branch 'feature/doc_update_idf_file_args_plus_idftoolspath_setup' into 'master'
feat(tools): Documentation update about setting IDF_TOOLS_PATH and idf.py argument file parsing

Closes IDF-8527 and IDFGH-11401

See merge request espressif/esp-idf!27080
2023-12-19 16:32:58 +08:00
mofeifei
7d627a1c5e docs: Update cn trans for fatfs.rst 2023-12-19 08:46:20 +01:00
Armando (Dou Yiwen)
3cd7fb6321 Merge branch 'change/remove_idf_env_bringup_macro_on_p4' into 'master'
p4: disable CONFIG_IDF_ENV_BRINGUP config

See merge request espressif/esp-idf!27623
2023-12-19 15:37:40 +08:00
Tomáš Rohlínek
577af7d6ef docs(storage/fatfs): Refactor FatFs documentation 2023-12-19 08:11:05 +01:00
Tomáš Rohlínek
eea16b18db docs(storage/fatfs): Document the new fatfs_link_lock Kconfig option 2023-12-19 08:11:02 +01:00
Espressif BOT
8f0f7f007c change(mbedtls/crt_bundle): Update esp_crt_bundle certificates 2023-12-19 14:40:56 +08:00
cjin
71901499b9 change(ble): added ble cca en and thresh option 2023-12-19 14:38:44 +08:00
luomanruo
0504b60b7a ble: support for selecting CSA#2 by menuconfig
ble(fix): fixed event receiving on host side without returning event buffer to pool
2023-12-19 14:38:22 +08:00
Guillaume Souchere
b2cc934b94 fix(heap): Fix the use of block owner macro
In heap_caps_get_info, update the use of block owner
macros to use MULTI_HEAP_BLOCK_OWNER_SIZE() instead of
MULTI_HEAP_ADD_BLOCK_OWNER_SIZE(0).
2023-12-19 07:10:37 +01:00
Jiang Jiang Jian
73de93d55e Merge branch 'bugfix/wait_tvsl_after_non_pd_top_lightsleep_for_esp32c6' into 'master'
fix(esp_hw_support/sleep): wait flash ready after non-pd_top lightsleep for esp32c6

Closes IDF-6930

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

Closes IDFGH-11439

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

Closes PM-45

See merge request espressif/esp-idf!27934
2023-12-19 11:19:51 +08:00
Anton Maklakov
2a37c53258 Merge branch 'fix/sbom_validation_post_commit' into 'master'
fix: do sbom manifest validation in post-commit

Closes IDF-8897

See merge request espressif/esp-idf!27975
2023-12-19 10:37:03 +08:00
Marius Vikhammer
c4f2abbfd3 fix(interrupts): fixed flakey intr dump test 2023-12-19 10:36:04 +08:00
Marius Vikhammer
0e2bd068be feat(console): added config option for console task affinity 2023-12-19 10:35:14 +08:00
Armando
12c092fbef change(p4): remove CONFIG_IDF_ENV_BRINGUP on p4 2023-12-19 09:30:59 +08:00
Armando (Dou Yiwen)
8c9e29898f Merge branch 'bringup/psram_p4_real_chip' into 'master'
psram: p4 psram 20M on real chip

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

Closes IDFGH-11526

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

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

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

Closes IDF-8737

See merge request espressif/esp-idf!27411
2023-12-18 19:31:05 +08:00
sparker
da9ad7da9d fix(wifi/example): Fix dpp example init error
Set wifi mode before calling esp_supp_dpp_init.

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

Signed-off-by: Shreyas Sheth <shreyas.sheth@espressif.com>
2023-12-18 19:18:58 +08:00
Song Ruo Jing
0e759c6deb Merge branch 'refactor/esp_driver_uart' into 'master'
refactor(uart): make uart driver as component

Closes IDF-8384

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

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

See merge request espressif/esp-idf!25072
2023-12-18 19:01:11 +08:00
Ivan Grokhotkov
d9983c0039 feat(qemu): add a CLI option for graphics output 2023-12-18 11:47:15 +01:00
C.S.M
f61cc56e1e Merge branch 'feature/introduce_jpeg_hal' into 'master'
feature(jpeg): Introduce JPEG hal layer

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

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

Closes TZ-484

See merge request espressif/esp-idf!27915
2023-12-18 15:56:14 +08:00
Frantisek Hrbata
01fed1a52e fix: do sbom manifest validation in post-commit
Following commit c3afbebf23 ("fix: bump esp-idf-sbom to v0.13.0 in pre-commit"),
the validation of submodule hash now relies solely on the information recorded
in the git-tree. Previously, the hash verification used submodule's
working tree hash if available. Since the new submodule hash is recorded
in git-tree only after the commit is created, we need to move the check
into post-commit, otherwise the hash validation checks the old value.

For example:

1. in .gitmodules

	[submodule "components/json/cJSON"]
	   sbom-hash = cb8693b058ba302f4829ec6d03f609ac6f848546

2. update the cJSON

	$ git -C components/json/cJSON checkout b45f48e600671feade0b6bd65d1c69de7899f2be

3. update cJSON hash in .gitmodules

	[submodule "components/json/cJSON"]
	   sbom-hash = b45f48e600671feade0b6bd65d1c69de7899f2be

4. commit the changes

	$ git commit -a -s

Step 4. will fail, because the validation is currently started in pre-commit stage,
where the hash for cJSON recorded in git-tree is still
cb8693b058ba302f4829ec6d03f609ac6f848546. The new hash b45f48e600671feade0b6bd65d1c69de7899f2be
will be stored in git-tree after the new commit is created.

Note that this means we cannot prevent the commit creation, but only
notify user about the hash inconsistency. If he/she still decides to
push it, it will fail in pre-commit checks in CI.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-12-18 08:48:57 +01:00
Shu Chen
eaf4fb9424 Merge branch 'fix/ot_netif_destroy_order_issue' into 'master'
fix(openthread): fix ot netif destroy netif order issue

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

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

Closes IDFGH-11217

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

Closes BT-3487 and BT-3538

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

Closes ZB-105

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

Closes IDF-8147 and IDF-1958

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

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

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

See merge request espressif/esp-idf!26799
2023-12-15 23:50:08 +08:00
Roland Dobai
03827dfd8b Merge branch 'contrib/github_pr_12780' into 'master'
Fixed Python path case sensitive error on Windows (GitHub PR)

Closes IDFGH-11667 and IDFGH-11666

See merge request espressif/esp-idf!27896
2023-12-15 20:28:26 +08:00
Shang Zhou
c1e3440352 docs: Update CN translation for idf-py.rst and linux-macos-setup.rst 2023-12-15 11:50:38 +00:00
Marek Fiala
c8e218c0ae docs(tools): Add example and resctriction note to setting IDF_TOOLS_PATH
Closes https://github.com/espressif/esp-idf/issues/12539
2023-12-15 11:50:38 +00:00
Marek Fiala
9757c8f7c9 docs(tools): Add idf.py file argument parsing to idf.py doc 2023-12-15 11:50:38 +00:00
Jin Cheng
a3f68aef8a feat(bt/bluedroid): Added API to get local device name 2023-12-15 19:30:12 +08:00
Roland Dobai
25fcb2de2d Merge branch 'fix/pre_commit_stages' into 'master'
fix: set default pre-commit hook stages to pre-commit only

Closes IDF-8882

See merge request espressif/esp-idf!27926
2023-12-15 19:07:49 +08:00
zwx
6bec6a5b41 fix(openthread): fix ot netif destroy netif order issue 2023-12-15 18:35:34 +08:00
morris
0bc94b3210 Merge branch 'refactor/async_mcp_non_cacheable_descriptor' into 'master'
feat(async_mcp): access DMA descriptor bypass cache

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

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

Closes IDFGH-1491

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

See merge request espressif/esp-idf!27917
2023-12-15 16:24:21 +08:00
dyarkovoy
1cc04d062c fix(tools): Fixed Python path case sensitive error on Windows
Closes https://github.com/espressif/esp-idf/issues/12779
Closes https://github.com/espressif/esp-idf/pull/12780
2023-12-15 08:01:29 +00:00
Lou Tianhao
d8b1f7207a change(pm): change macro SOC_PM_RETENTION_HAS_REGDMA_POWER_BUG 2023-12-15 15:04:06 +08:00
jgujarathi
40adf0bfcd fix(esp_wifi): Correct wifi lib docs for esp_wifi_crypto_types.h
- Wifi lib changes for docs of some APIs in esp_wifi_crypto_types.h
2023-12-15 12:28:18 +05:30
Wan Lei
936cab8e1c Merge branch 'fix/i2s_multi_dev_test_fix' into 'master'
fix(i2s): multi_dev test update to use non_boot_ctrl gpio

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

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

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

Closes BLERP-322

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

Closes IDF-8808

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

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

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

Closes WIFIBUG-322 and WIFIBUG-323

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

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

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

See merge request espressif/esp-idf!27860
2023-12-15 10:48:33 +08:00
Marius Vikhammer
f496c6a72b Merge branch 'ci/disable_wdt_qemu' into 'master'
ci(qemu): disable WDT when running qemu tests

See merge request espressif/esp-idf!27854
2023-12-15 10:43:02 +08:00
Darian Leung
d7b83bfd3b refactor(usb/host): reformat code with astyle_py 2023-12-15 04:44:02 +08:00
Frantisek Hrbata
b93cc581a5 fix: set default pre-commit hook stages to pre-commit only
If pre-commit hook does not specify stage[1], neither in
.pre-commit-config.yaml nor in .pre-commit-hooks.yaml, it's started for every
installed pre-commit hook. Limit the default stages to pre-commit only by default.

This also sets the default_install_hook_types and
minimum_pre_commit_version and sets conventional-precommit-linter to
v1.4.1.

[1] https://pre-commit.com/#confining-hooks-to-run-at-certain-stages

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-12-14 15:12:18 +01:00
wanlei
25c17da4bb fix(spi_slave): correct param check for trans APIs 2023-12-14 12:57:02 +00:00
Xue yun fei
8da974aef4 optimize(lwip):when psram is enable the number of ooseq is not limited 2023-12-14 12:39:44 +00:00
Harshit Malpani
3e22e0b750 Merge branch 'contrib/github_pr_12796' into 'master'
fix(esp_http_client): correct the typo in the error log string (GitHub PR)

Closes IDFGH-11686

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

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

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

Closes IDFGH-11351

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

Closes BT-3516

See merge request espressif/esp-idf!27890
2023-12-14 17:52:47 +08:00
Cao Sen Miao
a5a29882ef fix(spi_flash): Fix that internal RAM has no enough space to put all stuff inside 2023-12-14 17:05:59 +08:00
Wan Lei
cc10aca7ac Merge branch 'fix/spi_lcd_example_fix_border_pixel_display' into 'master'
fix(spi_master): fixed lcd example block border pixel issue

Closes IDF-8858

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

Closes BLERP-321

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

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

See merge request espressif/esp-idf!27211
2023-12-14 12:23:55 +08:00
wanlei
09147fa8e0 fix(spi_master): fixed lcd example block border pixel issue 2023-12-14 12:18:10 +08:00
Shang Zhou
af6964da1c Merge branch 'docs/update_cn_trans_for_26918' into 'master'
docs: Update CN translation for security.rst

Closes DOC-6684

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

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

Closes PM-30

See merge request espressif/esp-idf!27625
2023-12-14 10:28:34 +08:00
Shinichi Tanaka
c5cb67d49c fix(esp_http_client): correct the typo in the error log string
Corrected the module name in the error log.
("https_ota" to "http_client")
2023-12-14 09:21:24 +09:00
Kapil Gupta
36c38943c8 fix(wifi): Add support to move supplicant BSS to external memory 2023-12-13 16:07:13 +00:00
Roland Dobai
e1e44970e5 Merge branch 'fix/bump_precommit_esp_idf_sbom' into 'master'
fix: bump esp-idf-sbom to v0.13.0 in pre-commit

Closes IDF-8850

See merge request espressif/esp-idf!27868
2023-12-13 20:15:35 +08:00
linruihao
b0bd1f38f8 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(9129dec) 2023-12-13 19:26:49 +08:00
Marius Vikhammer
852fbce397 ci(qemu): disable WDT when running qemu tests
WDTs are flakey in QEMU, disable while testing for now to
stop spurious test failures.
2023-12-13 18:47:26 +08:00
Tomas Rezucha
f8080b2457 Merge branch 'fix/usb_binterval_parsing' into 'master'
fix(usb/host): Correctly parse wMaxPacketSize and bInterval fields in HighSpeed EP descriptors

See merge request espressif/esp-idf!27395
2023-12-13 17:28:45 +08:00
Konstantin Kondrashov
e2b537550d Merge branch 'feature/improve_cmake_msg' into 'master'
feat(tools): Improves a cmake message for updating git submodules

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

Closes IDFGH-11280

See merge request espressif/esp-idf!27240
2023-12-13 16:36:54 +08:00
Ivan Grokhotkov
358ed7fed9 fix(idf-build-apps): make ignore_build_warnings.txt usable locally 2023-12-13 15:05:25 +08:00
Alon Bar-Lev
af79fe0495 change(components/esp_http_server): add task_caps configuration
The HTTP server is not a critical component, it would be nice if we can
control the task caps by using configuration.

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

Closes IDFGH-11599

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

Closes IDFGH-11400

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

No API breakage.

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

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

Usage:

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

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

Closes IDFGH-10315 and IDFGH-10538

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

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

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

Signed-off-by: Omar Chebib <omar.chebib@espressif.com>
2023-12-12 19:54:17 +08:00
Frantisek Hrbata
c3afbebf23 fix: bump esp-idf-sbom to v0.13.0 in pre-commit
v0.13.0 contains fix for the submodule hash validation. Let's
bump its version in pre-commit, so the fix is used.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-12-12 12:26:34 +01:00
Jin Cheng
e1a5122dbc Merge branch 'fix/build_error_in_compiler_performance_mode' into 'master'
fix(bt/bluedroid): fixed build error when compiler in performace mode

Closes IDFGH-11637

See merge request espressif/esp-idf!27816
2023-12-12 18:56:42 +08:00
Roland Dobai
efaa0f0d1b Merge branch 'tools/remove_log_line_of_recommended_tool' into 'master'
fix(idf_tools): Do not display the log containing the info about the tool that is being used as recommended

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

See merge request espressif/esp-idf!27760
2023-12-12 16:17:42 +08:00
KonstantinKondrashov
8001fabfbe feat(tools): Improves a cmake message for updating git submodules
Closes https://github.com/espressif/esp-idf/issues/12776
2023-12-12 16:00:04 +08:00
liqigan
f188f857e2 docs(bt/bluedroid): Update migration docs for new version of API for Bluedroid host stack initialization 2023-12-12 15:36:49 +08:00
gongyantao
f303fa0174 fix(bt/bluedroid): fixed build error when compiler in performace mode
Closes https://github.com/espressif/esp-idf/issues/12751
2023-12-12 15:00:45 +08:00
morris
02cc74a676 Merge branch 'feature/dwgdma_driver' into 'master'
feat(dw_gdma): channel allocator driver

Closes IDF-7085 and IDF-7498

See merge request espressif/esp-idf!27421
2023-12-12 14:21:57 +08:00
Xu Si Yu
e88dc25226 feat(openthread): modification of uart and spi spinel based on openthread 41ef807 2023-12-12 14:12:16 +08:00
Aleksei Apaseev
8be8b34d23 fix(idf_tools): Do not print the log about the version of the tool 2023-12-12 11:54:30 +08:00
Mahavir Jain
0281aa844b Merge branch 'bugfix/change_block_num_to_burn_keys' into 'master'
fix(hal/testapps): fix block number to burn keys to avoid overlapping

See merge request espressif/esp-idf!25611
2023-12-12 11:49:35 +08:00
morris
bf00021b37 feat(dw_gdma): channel allocator driver 2023-12-12 03:35:05 +00:00
Xu Si Yu
b2a32c5b3f fix(coex): 802.15.4 coex break notification 2023-12-12 11:08:52 +08:00
Roland Dobai
558392b998 Merge branch 'feature/vulnerability_scan' into 'master'
feat: use esp-idf-sbom-action for vulnerability scan

Closes IDF-8805 and IDF-5187

See merge request espressif/esp-idf!27688
2023-12-11 21:57:05 +08:00
harshal.patil
fe293dfd83 feat(bootloader_support): Make esp_secure_boot_verify_sbv2_signature_block() function public
Closes https://github.com/espressif/esp-idf/issues/12717
2023-12-11 18:50:55 +05:30
Tomáš Rohlínek
c276c36dfe feat(storage/nvs_flash): add dependencies to nvs_flash test apps 2023-12-11 13:10:54 +01:00
zhangyanjiao
40d7cd8b68 feat(wifi): add wifi channel change event
Closes https://github.com/espressif/esp-idf/issues/12538
2023-12-11 19:07:11 +08:00
Roland Dobai
a4c80b5fce Merge branch 'bugfix/coredump_detect' into 'master'
tools: idf.py: fix detection of raw core dump file

Closes IDFGH-9491

See merge request espressif/esp-idf!23434
2023-12-11 17:49:22 +08:00
Cao Sen Miao
b77b17efd2 fix(bod): Fix BOD threshold value on ESP32H2 2023-12-11 16:41:52 +08:00
Armando (Dou Yiwen)
b914f25b53 Merge branch 'doc/revert_8_bit_ddr_emmc_support_doc' into 'master'
Revert "doc(sdmmc): update emmc states"

See merge request espressif/esp-idf!27815
2023-12-11 15:33:39 +08:00
Shang Zhou
09ea179864 Merge branch 'docs/sync_up_en_and_cn_nov' into 'master'
docs: Sync up CN and EN versions for files under api-guides and api-references (Nov)

Closes DOC-6664

See merge request espressif/esp-idf!27721
2023-12-11 14:53:06 +08:00
Shang Zhou
740981078f docs: Sync up CN and EN versions for files under api-guides and api-references (Nov) 2023-12-11 14:53:05 +08:00
Jakob Hasse
874d10ce11 refactor(esp_system): moved shared stack tests from newlib to here 2023-12-11 14:20:55 +08:00
Marius Vikhammer
79d04d4e14 Merge branch 'docs/update_sys_docs_p4' into 'master'
docs(esp32p4): update misc docs for esp32p4

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

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

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

Found during discussion in https://github.com/espressif/esp-idf/pull/12460
2023-12-11 10:14:57 +05:30
Armando
b3cc39cfd8 Revert "doc(sdmmc): update emmc states"
This reverts commit 77299842ed.
2023-12-11 11:47:00 +08:00
Aditya Patwardhan
7c738c0658 Merge branch 'fix/esp_https_server_breaking_change' into 'master'
fix(esp_https_server): Fix a breaking change

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

Closes BLERP-302

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

Closes DOC-6419

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

Closes PM-29

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

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

See merge request espressif/esp-idf!27412
2023-12-11 10:56:16 +08:00
Aditya Patwardhan
56879510a5 fix(esp_https_server): Fix a breaking change
HTTPD_SSL_CONFIG_DEFAULT used to be a MACRO and hence used to return
    a const pointer. With a recent change it started not returning a
    const variable. This change reverts the function to its MACRO form.
    Updated the https_server example to use static declration
2023-12-11 08:05:10 +05:30
morris
987174c203 feat(async_mcp): access DMA descriptor bypass cache 2023-12-10 15:19:27 +08:00
Kevin (Lao Kaiyao)
692c1fcc52 Merge branch 'refactor/remove_redundant_config_in_i2s_ll' into 'master'
refactor(dac): remove redundant ll config for dac mode

Closes IDFGH-11625

See merge request espressif/esp-idf!27732
2023-12-09 22:00:33 +08:00
laokaiyao
e88d528b81 refactor(dac): remove redundant ll config for dac mode
Closes https://github.com/espressif/esp-idf/issues/12741
2023-12-09 20:14:54 +08:00
Kevin (Lao Kaiyao)
e05bf6b223 Merge branch 'feature/support_g0_components_on_c5' into 'master'
feat(esp32c5): support esp32c5 g0 components (stage 4/8)

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

Closes IDFGH-10963

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

Closes IDF-8393

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

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

Closes WIFI-5992

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

Closes BLERP-329 and BLERP-330

See merge request espressif/esp-idf!27741
2023-12-08 19:06:55 +08:00
renpeiying
cf03d6341e docs: Provide Chinese translation for bootloader_image_format, log, random, and internal-unstable.rst 2023-12-08 17:01:36 +08:00
Roland Dobai
b486466339 Merge branch 'monitor_custom_reset' into 'master'
docs(tools/monitor): custom reset sequence from esptool

See merge request espressif/esp-idf!26834
2023-12-08 16:00:24 +08:00
laokaiyao
2b44d62e43 feat(esp32c5): support esp32c5 g0 components 2023-12-08 15:12:24 +08:00
gaoxu
dc36237915 fix(adc): fix adc continuous get less results beacuse do not reset apb clk(legacy) 2023-12-08 15:10:41 +08:00
Wu Zheng Hui
8eee6529dd Merge branch 'bugfix/fix_rtc_us_to_cycle_div_zero_in_deepsleep' into 'master'
fix(esp_hw_support/sleep): fix rtc_time_us_to_slowclk div zero in deepsleep process

Closes IDFGH-11574

See merge request espressif/esp-idf!27590
2023-12-08 13:57:01 +08:00
chenjianhua
7c56f21981 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(65db61f)
- Fixed remove and clear white list
2023-12-08 13:37:09 +08:00
Anton Maklakov
9f0da8b6ed Merge branch 'ci/upload_pipeline_env_fil_into_minio' into 'master'
ci: Upload a report about modified files and components to s3 bucket

See merge request espressif/esp-idf!27758
2023-12-08 12:35:00 +08:00
morris
5d5f3e7844 Merge branch 'feature/systimer_etm_esp32p4' into 'master'
feat(systimer): remaining work on esp32p4

Closes IDF-8797

See merge request espressif/esp-idf!27745
2023-12-08 11:39:50 +08:00
Aleksei Apaseev
239fb0fc3f Merge branch 'tools/use_recommended_tool_priority' into 'master'
fix (idf_tools): Opt for the recommended tool in tools.json rather than the supported one

See merge request espressif/esp-idf!27592
2023-12-08 11:10:06 +08:00
Aleksei Apaseev
e97826e877 ci: Upload report about modified files and components to s3 bucket 2023-12-08 10:49:17 +08:00
Aleksei Apaseev
0219e8e85d fix(idf_tools): Opt for the recommended tool in tools.json rather than the supported one 2023-12-08 10:14:19 +08:00
Igor Udot
f0607f6d3b Merge branch 'fix/unity_tester' into 'master'
refactor: changed logic of unity_tester

See merge request espressif/esp-idf!25767
2023-12-08 09:48:51 +08:00
Fu Hanxi
b5c0293541 Merge branch 'ci/run_pytest_build_system_win_only_with_label_or_schedule' into 'master'
ci: run pytest_build_system_win only with labels and schedule pipeline

See merge request espressif/esp-idf!27744
2023-12-07 22:56:15 +08:00
Peter Dragun
5085763984 fix(tools): idf.py: fix detection of raw core dump file
When idf.py coredump-debug is launched with '--core' argument, it
tries to determine the file format (raw, elf, b64). To detect the
'raw' core dump the code checked if the version word matched one of
the known values.
However, the version word also contains the chip ID in the high
half-word, so the check failed for anything other than the ESP32.
The detection of core file format has been moved to esp-coredump
package in version 1.9.0, including the fix for chip ID.

Reported in https://github.com/espressif/esp-idf/issues/10852
2023-12-07 13:48:04 +01:00
morris
e96491fb1f feat(systimer): support ETM on esp32p4 2023-12-07 18:46:24 +08:00
Fu Hanxi
d3858b493d ci: run pytest_build_system_win only with labels and schedule pipeline 2023-12-07 11:15:55 +01:00
Erhan Kurubas
892315292b Merge branch 'save_twdt_to_coredump' into 'master'
feat(coredump): save twdt panic output to coredump elf file

Closes IDF-908

See merge request espressif/esp-idf!27024
2023-12-07 17:47:58 +08:00
Ivan Grokhotkov
840b2d52f9 Merge branch 'feature/qemu-esp-develop-8.1.3-20231206' into 'master'
feat(tools): update qemu to esp-develop-8.1.3-20231206

See merge request espressif/esp-idf!27699
2023-12-07 17:39:36 +08:00
nilesh.kale
36ab1c681c fix(hal/testapps): fix block number to burn keys to avoid overlapping 2023-12-07 14:47:26 +05:30
daiziyan
17dfe49416 docs: provide CN trans for idf-monitor 2023-12-07 10:06:36 +01:00
Peter Dragun
0022803ed6 docs(tools/monitor): custom reset sequence from esptool 2023-12-07 10:06:24 +01:00
Frantisek Hrbata
5ec411679b feat: use esp-idf-sbom-action for vulnerability scan
This adds a github action, which performs continuous vulnerability
scanning using the esp-idf-sbom-action github action. The test
is scheduled everyday at midnight and it's also possible to start
it as dispatched workflow. This scans all possible manifest files
in repository. The references for scanning are defined in github's
VULNERABILITY_SCAN_REFS variable and a json list. For example
['master', 'release/v5.2', 'release/v5.1', 'release/v5.0', 'release/v4.4']

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-12-07 10:03:54 +01:00
Island
9bdcfa672f Merge branch 'bugfix/fix_ble_adv_scan_status' into 'master'
fix(bt/bluedroid): Fix ble adv and scan status when deinit bluedroid

Closes BLERP-324

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

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

See merge request espressif/esp-idf!27031
2023-12-07 15:52:34 +08:00
wuzhenghui
e1d24ebd7f fix(esp_hw_support/sleep): fix rtc_time_us_to_slowclk div zero in deepsleep process
Closes https://github.com/espressif/esp-idf/issues/12695
2023-12-07 07:50:32 +00:00
wuzhenghui
5280ef4924 fix(esp_hw_support): fix ble on esp32c6eco1 depends on wifipwr clock domain 2023-12-07 14:02:04 +08:00
alanmaxwell
571c99bda2 feat(wifi): support dump 802.11 ACK frame for CSI 2023-12-07 11:51:32 +08:00
zhanghaipeng
305bb1a146 fix(bt/bluedroid): Fix ble gattc deregister 2023-12-07 11:21:13 +08:00
Ivan Grokhotkov
918c0ce4ac feat(tools): update qemu to esp-develop-8.1.3-20231206
https://github.com/espressif/qemu/releases/tag/esp-develop-8.1.3-20231206
2023-12-07 10:54:29 +08:00
Roland Dobai
fb7ffb5112 Merge branch 'feat/manifest_check' into 'master'
feat: use esp-idf-sbom pre-commit plugin

Closes IDF-8794

See merge request espressif/esp-idf!27718
2023-12-07 02:41:47 +08:00
Sudeep Mohanty
356b77ce84 Merge branch 'contrib/github_pr_12461' into 'master'
Enables VERSION argument for project() macro in cmake

Closes IDFGH-11310

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

Closes BLERP-315

See merge request espressif/esp-idf!27556
2023-12-06 20:48:20 +08:00
Shu Chen
5f643c06e0 Merge branch 'bugfix/clean_thread_zigbee_related_yml' into 'master'
fix(thread/zigbee): Cleanup build-test-rules.yml

Closes IDF-5553

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

Closes WIFIBUG-261

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

See merge request espressif/esp-idf!26130
2023-12-06 18:59:10 +08:00
sonika.rathi
8e0ce2fda4 fix(sdmmc): remove the legacy test cases from 'components/sdmmc/test' 2023-12-06 11:14:20 +01:00
sonika.rathi
1b35373e01 fix(sdmmc): add pytest script to component test app 2023-12-06 11:14:20 +01:00
sonika.rathi
a7a0245d8e fix(sdmmc): Migrate erase/trim test cases from unit-test-app to component-test-app 2023-12-06 11:07:33 +01:00
morris
a7577f88bd feat(gdma): support ETM subsystem on esp32p4 2023-12-06 18:02:43 +08:00
Frantisek Hrbata
5df4decf07 feat: use esp-idf-sbom pre-commit plugin
Currently sbom manifest is checked only in .gitmodules and
this check is done in pre-commit and also in CI. Meaning it's running
three times(pre-commit before push if user has it enabled, in CI
as there is the pre-commit run again and again with test in CI). Since
esp-idf-sbom contains a full manifest validation support and pre-commit
plugin for it, let's use it. This removes all the current sbom testing
and replaces it with a signle pre-commit plugin which validates all
manifests files(sbom.yml, idf_component.yml, .gitmodules and also
referenced manifests) in repository. Note that this checks all
manifests, not only ones which were modified. The check is reasonably
fast though, so it should not cause any problem. The reason for
validating all manifest files is that we want to make sure that the sbom
information in .gitmodules is updated too and that the hash
recorded in .gitmodules is up-to-date. Meaning submodule update
would not trigger this plugin, because no manifest was changed.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-12-06 10:08:54 +01:00
Chen Jian Xing
f0353350d0 Merge branch 'docs/Separate_low-power_documents' into 'master'
docs:Separate low-power documents

Closes WIFI-6310

See merge request espressif/esp-idf!27273
2023-12-06 16:59:56 +08:00
Zhang Wen Xu
636092d2a4 Merge branch 'feature/add_config_to_set_using_custom_mac_as_base_mac' into 'master'
feat(mac): Add a configuration to set custom MAC as base MAC

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

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

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

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

See merge request espressif/esp-idf!27542
2023-12-06 15:31:49 +08:00
Tomas Sebestik
38256109d0 Merge branch 'remove/migrate-danger-github' into 'master'
ci(danger-github): replace local Danger code by org action

Closes RDT-601

See merge request espressif/esp-idf!27676
2023-12-06 15:26:05 +08:00
Roland Dobai
45430d2526 Merge branch 'contrib/github_pr_12637' into 'master'
Dockerfile with variable depth parameter (GitHub PR)

Closes IDFGH-11513

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

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

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

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

Closes BLERP-113 and BLERP-112

See merge request espressif/esp-idf!26348
2023-12-06 11:06:38 +08:00
Wu Meng Shi
a93783ae90 fix(ble_mesh): avoid ble_mesh packet collision by using random adv interval 2023-12-06 11:06:38 +08:00
Krzysztof Budzynski
58713b0b8a Apply 2 suggestion(s) to 2 file(s) 2023-12-06 10:57:35 +08:00
Darian
0960080991 Merge branch 'docs/xtensa_header_deprecation_migration_guide' into 'master'
change(xtensa): Add migration guide for depreacted include paths

See merge request espressif/esp-idf!27685
2023-12-06 10:56:38 +08:00
Jiang Jiang Jian
d64217006c Merge branch 'bugfix/IDFGH-11398' into 'master'
bugfix(ble_mesh): Fixed incorrect RPR Client unicast address was obtained(154b4fcc)

Closes IDFGH-11398

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

Closes IDFGH-11411

See merge request espressif/esp-idf!27286
2023-12-06 02:08:01 +08:00
laokaiyao
1c9ecfa159 feat(esp32c5): supplement of esp_rom for esp32c5 beta3 target 2023-12-05 22:01:15 +08:00
wanglei
5f2c48acd6 feat(esp32c5): add esp32c5 beta3 esp_rom support 2023-12-05 22:01:15 +08:00
daiziyan
e85feafa0f docs: add CN trans for idf-docker-image.rst 2023-12-05 14:52:14 +01:00
timoxd7
db1584a568 feat(docker): Add Dockerfile argument for variable clone depth
Closes https://github.com/espressif/esp-idf/pull/12637
2023-12-05 14:52:14 +01:00
Mahavir Jain
25c2cc5f03 Merge branch 'feature/esp32p4_enable_flash_encryption' into 'master'
Enable Flash Encryption for ESP32P4

Closes IDF-7545

See merge request espressif/esp-idf!26959
2023-12-05 21:42:18 +08:00
Roland Dobai
8e619642c9 Merge branch 'feat/esp_idf_size_ng_integration' into 'master'
feat(tools): esp_idf_size.ng integration

Closes IDF-8771

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

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

Closes IDFGH-10755

See merge request espressif/esp-idf!27218
2023-12-05 19:12:12 +08:00
Darian Leung
83e18bd3bd change(xtensa): Add migration guide for depreacted include paths 2023-12-05 19:02:09 +08:00
Mo Fei Fei
903d31ad12 Merge branch 'docs/update_cn_trans_nvs_encryption' into 'fix/nvs_encr_flash_enc_dependency'
Docs: Update CN translation for nvs_encryption.rst

See merge request espressif/esp-idf!27583
2023-12-05 18:43:23 +08:00
Mo Fei Fei
dce37a8acc Docs: Update CN translation for nvs_encryption.rst 2023-12-05 18:43:23 +08:00
kohait00
9beda4ce48 feat(tools/cmake): Added VERSION argument to the project() macro in cmake
This commit enables the standad VERSION argument for the project() macro
in ESP-IDF. The VERSION argument is compilant with the requirements of
cmake 3.16. This commit also adds new test cases for verifying the
validity of the version argument.

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

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

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

See merge request espressif/esp-idf!27657
2023-12-05 16:55:43 +08:00
Darshan Dobariya
c34cba9db1 fix(nimble): Fixed authcomplete failure caused by a mismatch in the c1 value 2023-12-05 14:18:42 +05:30
Marius Vikhammer
30870c819f Merge branch 'docs/fix_dash_encoding' into 'master'
docs(programming_guide): turned off smartquotes

See merge request espressif/esp-idf!27659
2023-12-05 16:47:45 +08:00
luomanruo
bf44a9e9c6 ble(fix): clear event queue when init event queue
ble: update log module on ESP32C2, ESP32H2 and ESP32C6
2023-12-05 16:12:09 +08:00
xueyunfei
02c1a1c6af fix(dhcp server):dhcp server can not restore address pool 2023-12-05 15:56:20 +08:00
zhanghaipeng
41facc2e08 fix(bt/bluedroid): Fix BLE robost cashing config 2023-12-05 15:44:15 +08:00
Aditya Patwardhan
a84234c23f feat(security): Enable Flash encryption for ESP32P4 2023-12-05 13:10:55 +05:30
Darian
e3191df37a Merge branch 'change/deprecate_legacy_xtensa_include_path' into 'master'
change(xtensa): Deprecate legacy include paths

Closes IDF-7230

See merge request espressif/esp-idf!26725
2023-12-05 15:05:29 +08:00
Ivan Grokhotkov
b20332535b Merge branch 'feature/idf_qemu_ext' into 'master'
feat(tools): add 'idf.py qemu' extension

Closes IDFGH-817

See merge request espressif/esp-idf!26034
2023-12-05 14:15:57 +08:00
Aditya Patwardhan
e09d50d244 feat(soc): Updated soc cap for flash encryption
1) In the ESP32-P4 SoC, we have an eFuse to disable the MSPI access
    when in download mode. This commit adds relevant soc cap for esp32p4
    chip.
    2) Added FE related soc caps
    3) Removed unwanted cap from soc_caps
    4) esp_hw_support: Enable flash encryption related ll APIs for esp32p4
2023-12-05 11:03:48 +05:30
Marius Vikhammer
9dc83148db Merge branch 'docs/pytest_single_test' into 'master'
docs(pytest): add note about filtering with test-case-name

See merge request espressif/esp-idf!27410
2023-12-05 12:34:28 +08:00
Marius Vikhammer
fda5484e55 Merge branch 'bugfix/import_lib_example_url' into 'master'
fix(build-system/example): Removed dead URL for downloading tinyxml2

See merge request espressif/esp-idf!27573
2023-12-05 12:31:30 +08:00
Marius Vikhammer
fd03f1da1f docs(programming_guide): turned off smartquotes
Sphinx would "smartly" format e.g. double dashes into typographically correct entities,
i.e. a long dash unicode character.

This doesnt always work well for our docs were sometimes a double dash could be a python
argument, which when copied would no longer work.
2023-12-05 12:19:15 +08:00
Island
345013fa46 Merge branch 'bugfix/fix_bleqabr23_808' into 'master'
Fixed assert when LLCP instant passed on ESP32-C3 and ESP32-S3(b8f0db9)

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

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

Closes WIFIBUG-252 and WIFIBUG-266

See merge request espressif/esp-idf!27233
2023-12-05 11:21:09 +08:00
muhaidong
f37448cddb fix(wifi): fix psram enabled but initialized fail issue
Closes https://github.com/espressif/esp-idf/issues/11971
2023-12-05 11:19:59 +08:00
Darian Leung
024eb7218d change(docs): Update multicore tags to SOC_HP_CPU_HAS_MULTIPLE_CORES
Previously, documentation sections that were only meant for multicore ESP
targets would use tags that depend on CONFIG_FREERTOS_UNICORE or
CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE. This is not ideal as project configuration
can be changed by the user.

This commit updates those tags to use SOC_HP_CPU_HAS_MULTIPLE_CORES which is
always defined in multicore targets regardless of project configuration.
2023-12-05 10:56:48 +08:00
Darian Leung
5697f260fe change(soc): Add SOC_HP_CPU_HAS_MULTIPLE_CORES
This commit adds a the SOC_HP_CPU_HAS_MULTIPLE_CORES convenience macro to
soc_caps.h. This is a convenience boolean cap to represent whether or not the
target has multiple cores, and is intended to be used when writing docs for
multiple targets.
2023-12-05 10:56:22 +08:00
zhanghaipeng
1eb0522774 fix(bt/bluedroid): Fix ble adv and scan status when deinit bluedroid 2023-12-05 10:38:01 +08:00
Zhang Xiao Yan
4cd0a6a4b1 Merge branch 'docs/remove_wifi_related_documentation_for_esp32h2' into 'master'
docs: remove WiFi related documentation for ESP32-H2

See merge request espressif/esp-idf!27026
2023-12-05 09:58:06 +08:00
Marius Vikhammer
9c5438b307 docs(pytest): add note about filtering with test-case-name 2023-12-05 09:54:41 +08:00
Martin Vychodil
b61ea3ba97 Merge branch 'fix/fatfsgen_construct' into 'master'
fix(tools): Fix fatfsgen construct dependency

Closes IDFCI-1891

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

Closes IDF-8793

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

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

Closes BLERP-289 and BLERP-295

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

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

Closes IDFGH-11403

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

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

Closes BLERP-317

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

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-12-04 08:16:48 +01:00
Armando
f470f66f75 change(flash): use xmc support for p4 fpga images 2023-12-04 14:52:54 +08:00
cjin
797edb54fa fix(pm): place extra link opt in iram 2023-12-04 14:46:42 +08:00
Marius Vikhammer
d9652880db fix(build-system/example): Updated dead URL for downloading tinyxml2
The import_lib example contained a fallback mirror for downloading tinyxml2 sources
but this link was dead. If this mirror was used it would cause the build to fail.
2023-12-04 14:28:52 +08:00
Darian
c4819658a2 Merge branch 'change/freertos_remove_xcoreid_for_single_core' into 'master'
change(freertos/idf): Remove xCoreID from TCB in single-core builds

Closes IDF-7894

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

Closes IDFGH-11581

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

Closes WIFIBUG-174 and WIFIBUG-234

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

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

Closes IDFCI-1864 and IDFGH-11521

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

See merge request espressif/esp-idf!27348
2023-12-03 21:58:54 +08:00
Ivan Grokhotkov
178b27ed80 ci(qemu): use qemu from tools.json, don't require a special image 2023-12-03 07:45:19 +01:00
Ivan Grokhotkov
71153c7dbb feat(tools): add 'idf.py qemu' extension
This extension allows running programs in QEMU similar to running
them on a real chip:

- 'idf.py qemu' — builds and runs the program in QEMU. User gets
  a QEMU instance launched, and can work with it as a normal QEMU
  instance.
- 'idf.py qemu monitor' — same, but QEMU is launched in the
  background, and idf_monitor runs in the foreground, showing QEMU
  output. Compared to only running 'idf.py qemu' this enables, for
  example, automatic backtrace decoding.
- 'idf.py qemu gdb' — launches QEMU in the background and opens an
  interactive GDB prompt, connecting it to QEMU.
- 'idf.py qemu --gdb monitor' and 'idf.py gdb' in another shell:
  launches QEMU in the background, keeps it suspended until GDB is
  connected, and opens idf_monitor. GDB can be used in another shell
  to debug the application.
2023-12-03 07:45:19 +01:00
Kevin (Lao Kaiyao)
03414a1550 Merge branch 'feature/add_esp32c5_beta3_soc_header_files_part3' into 'master'
feat(esp32c5): add struct name and reformat struct headers (stage 2/8, part3)

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

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

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

Closes IDF-8775

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

Closes IDFGH-11333

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

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

Closes IDF-7551

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

Closes BLERP-216

See merge request espressif/esp-idf!26923
2023-12-01 17:17:48 +08:00
Harshit Malpani
9e8761880b fix(esp-tls): Add headers in esp_tls_errors.h header file
Closes https://github.com/espressif/esp-idf/issues/12541
2023-12-01 14:15:43 +05:30
Roland Dobai
9c4b657ac3 Merge branch 'feature/add_windows_pytest' into 'master'
Tools: Add pytest build system on Windows runner

Closes IDF-7691, IDF-8214, and IDF-1193

See merge request espressif/esp-idf!26603
2023-12-01 16:40:13 +08:00
luoxu
c90fd0ebe2 bugfix(ble_mesh): Fixed incorrect RPR Client unicast address was obtained(154b4fcc) 2023-12-01 15:53:44 +08:00
David Čermák
096d1ce1bb Merge branch 'feat/http_client_session_ticket' into 'master'
feat(http_client): Restore TLS session and custom transport

See merge request espressif/esp-idf!26059
2023-12-01 15:11:20 +08:00
Roland Dobai
abf3e8e543 Merge branch 'feature/docker_git_safe_dirs' into 'master'
feat(docker): allow to add dirs into git's safe.directory

Closes CVE-2022 and IDFGH-11511

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

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

See merge request espressif/esp-idf!27366
2023-12-01 14:39:14 +08:00
Zhang Xiao Yan
2c5e876a31 Merge branch 'docs/move_output_log_to_inc_files' into 'master'
docs: move the output log of targets to .inc files

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

Closes BLERP-269 and BLERP-291

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

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

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

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

See merge request espressif/esp-idf!27423
2023-12-01 10:24:11 +08:00
wangtao@espressif.com
0d0de9da6b docs:Separate low-power documents 2023-12-01 10:13:19 +08:00
Marius Vikhammer
e680ecdbf6 Merge branch 'fix/err_to_name_component_only' into 'master'
fix(err_to_name): restrict gen_esp_err_to_name.py to only search in components/

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

Closes IDFCI-1860

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

Closes BTQABR2023-141

See merge request espressif/esp-idf!27532
2023-12-01 09:32:39 +08:00
Roland Dobai
48d732f49c Merge branch 'fix/use_pytest_instead_xmlrunner' into 'master'
fix(ci): Remove unittest-xml-reporting dependency from host tests

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

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

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

- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Replaced some calls with "esp_cpu_..." equivalents
- Add warning to compatibility header
2023-11-30 21:58:52 +08:00
Roland Dobai
bc1d74bb88 fix(ci): Remove unittest-xml-reporting dependency from host tests 2023-11-30 14:03:41 +01:00
Tomas Sebestik
6e38fea5e9 Merge branch 'ci/update-mixed-template' into 'master'
ci: update Mixed Template, Release notes header

See merge request espressif/esp-idf!27478
2023-11-30 20:24:31 +08:00
Jin Cheng
48d410e10d fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in l2cap 2023-11-30 19:47:57 +08:00
mofeifei
43bfffd85e docs: update cn trans idf-docker-image 2023-11-30 12:18:40 +01:00
Frantisek Hrbata
647c485a76 feat(docker): allow to add paths into git's safe.directory
With 8959555cee7e[1] ("setup_git_directory(): add an owner check for the top..")
git added an ownership check of the git directory and refuses to
run any git commands, even parsing the config file, if the git directory
is not owned by the current user. The "fatal: detected dubious ownership in repository"
is reported.

This fixes CVE-2022-24765[2], which allows to compromise user account. On a
multi-user system or e.g. on a shared file system, one user may create a "rogue"
git repository with e.g. core.fsmonitor set to an arbitrary command. Other user
may unwillingly execute this command by running e.g. git-diff or
git-status within the "rogue" git repository, which may be in one of the parent
directories. If e.g. PS1 is set to display information about a git
repository in CWD, as suggested in Git in Bash[3], the user do not need to run
any git command to trigger this, just entering some subdirectory under
this "rogue" git repository is enough, because the git command will be
started transparently through the script used in PS1. The core.fsmonitor
can be set to arbitrary command. It's purpose is to help git to identify changed files
and speed up the scanning for changed files.

rogue
├── .git     # owned by user1
└── dir1     # owned by user2
    ├── dir2 # owned by user2
    └── .git # owned by user2

user1 sets core.fsmonitor for git repository in rogue directory
$ git config --add core.fsmonitor "bash -c 'rm -rf \$HOME'"

user2 enters dir1 and runs e.g. git diff and triggers the core.fsmonitor command.

The ownership check may cause problems when running git commands in
ESP-IDF Docker container. For example user may run the container as
root, but the mounted project may be owned by a particular user.

In this case git will refuse to execute any git command within the
"/project" directory, because it's not owned by root. To overcome this,
git allows to set safe.directories, for which the ownership check is
skipped. The security check may be completely disabled by setting
safe.directories to "*". This solution was proposed in PR 12636[4], but
it would allow make it possible to exploit this vulnerability again.

This fix allows user to specify git's safe.directory in IDF_GIT_SAFE_DIR
environmental variable, which may be set during container startup.

The IDF_GIT_SAFE_DIR has same format as PATH and multiple directories can be
specified by using a ":" separator. To entirely disable this git security check
within the container, user may set IDF_GIT_SAFE_DIR='*'. This might be
heplfull in CI.

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

[1] - 8959555cee
[2] - https://nvd.nist.gov/vuln/detail/cve-2022-24765
[3] - https://git-scm.com/book/en/v2/Appendix-A%3A-Git-in-Other-Environments-Git-in-Bash
[4] - https://github.com/espressif/esp-idf/pull/12636

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-11-30 12:18:40 +01:00
Roland Dobai
4797d744fa Merge branch 'fix/coredump_port' into 'master'
fix(tools/coredump): do not detect port when core file is used

Closes IDFGH-11552

See merge request espressif/esp-idf!27441
2023-11-30 18:40:23 +08:00
aditi_lonkar
bdeec024e8 fix(esp_wifi):Fix WDT when esp_supp_dpp_start_listen called multiple times 2023-11-30 15:37:17 +05:30
Shu Chen
195d4013a2 Merge branch 'fix/lwip_na_packets_router_flag' into 'master'
feat(lwip): support NA router farwording flag set

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

See merge request espressif/esp-idf!27456
2023-11-30 17:12:12 +08:00
Liu Linyan
94d3f5037b fix(ble_mesh): Use submodule for mesh 1.1 lib files 2023-11-30 16:56:58 +08:00
Liu Linyan
2c579d03ca fix(ble_mesh): Remove the orginal mesh 1.1 lib files 2023-11-30 16:34:22 +08:00
Omar Chebib
dc8fdae31b docs(freertos): revert usage of hidden option CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE when :ref: is used 2023-11-30 16:33:28 +08:00
Frantisek Hrbata
18334588bc feat(tools): esp_idf_size.ng integration
This integrates esp_idf_size.ng, refactored esp-idf-size version, into
esp-idf and enables it by default. The esp_idf_size.ng may be enabled
by using the --ng option, but also via ESP_IDF_SIZE_NG env. variable,
which is used in this integration.

New -l/--legacy option is added, which enforces usage of the old version.
This option can be also set via "ESP_IDF_SIZE_LEGACY" env. variable.
This should allow to easily switch back to old version if there is any
problem.

The new version is used by default for all formats, except for the "json".

Examples:
$ idf.py size                           # uses refactored version
$ idf.py size --legacy                  # uses legacy version
$ idf.py size --l                       # uses legacy version
$ idf.py size --format json             # uses legacy version
$ idf.py size --format json2            # uses refactored version
$ export ESP_IDF_SIZE_LEGACY="1"        # use legacy version only from now on

ESP_IDF_SIZE_FORCE_TERMINAL, which forces terminal control codes(colors), is also set
when running from idf.py, so the colors are propagated even if stdout
for esp_idf_size.ng is not attached to tty.

The same changes are applied also to the idf_size.py wrapper.

There is an import check if esp_idf_size.ng is available. If not,
we switch into the legacy mode. This should cover situation when the
esp-idf has support for refactored version, but it's not installed.
This should also allow users to bind to a legacy version(<1.0.0) and the
idf.py size and idf_size.py should still work. This also allow us to
restring the version in constraints file if we need to switch back to
legacy version globally.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-11-30 09:26:51 +01:00
Sudeep Mohanty
35fc493dcc Merge branch 'bugfix/freertos_incorrect_placement_of_unblocked_task_during_tick_increment' into 'master'
fix(freertos/idf): Refactor suspend-resume tests

Closes IDF-8364

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

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

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

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

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

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

Closes BTQABR2023-141

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

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

Closes IDF-7534

See merge request espressif/esp-idf!26869
2023-11-30 09:35:49 +08:00
Marek Fiala
04ade501aa feat(tools): Disable failing build system tests on Windows runner 2023-11-29 23:10:38 +01:00
Marek Fiala
b535ec9a99 feat(tools): Fix some failing tests on Windows runner 2023-11-29 23:10:38 +01:00
Marek Fiala
0a3b57e48a feat(tools): Add pytest build system on Windows runner 2023-11-29 23:10:37 +01:00
Adam Múdry
a4ff2decdd Merge branch 'fix/esp_vfs_fat_sdcard_format_workbuf_leak' into 'master'
fix: esp_vfs_fat_sdcard_format workbuf memory leak

Closes IDF-8779

See merge request espressif/esp-idf!27490
2023-11-30 05:42:00 +08:00
Alexey Lapshin
3ac31855b2 Merge branch 'contrib/github_pr_12683' into 'master'
fix(tools): fix path delimiter in gdbinit for Windows

Closes IDFGH-11562

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

Closes IDF-8414

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

See merge request espressif/esp-idf!27299
2023-11-29 20:31:34 +08:00
Adam Múdry
29c30b961d fix: esp_vfs_fat_sdcard_format workbuf memory leak 2023-11-29 12:39:15 +01:00
Ivan Grokhotkov
b52182e14f ci(tcp_transport): upgrade to Catch2 as a component 2023-11-29 12:38:47 +01:00
Ivan Grokhotkov
ae3da4a383 ci(wear_levelling): upgrade to Catch2 as a component 2023-11-29 12:38:47 +01:00
Ivan Grokhotkov
33896fe67e ci(log): upgrade to Catch2 as a component 2023-11-29 12:38:47 +01:00
Ivan Grokhotkov
88e77ba1ed ci(nvs_flash): upgrade to Catch2 as a component, fix warnings 2023-11-29 12:38:47 +01:00
Ivan Grokhotkov
047e50615e ci(fatfs): upgrade to Catch2 as a component, enable CI build 2023-11-29 12:38:46 +01:00
Ivan Grokhotkov
8e81bbe014 ci(esp_rom): upgrade to Catch2 as a component, enable CI build 2023-11-29 12:38:46 +01:00
Ivan Grokhotkov
79a2c15477 ci(esp_event): upgrade host test to Catch2 as a component, fix build
- use espressif/catch2 component
- fix build issues after FreeRTOS upgrade
- enable test app build in CI
2023-11-29 12:38:46 +01:00
zhangyanjiao
b495f54329 fix(wifi): fix the crash issue when clear scan ap list 2023-11-29 19:23:35 +08:00
zhangyanjiao
0f18104d53 feat(wifi): add new api to get one scan ap record 2023-11-29 19:19:25 +08:00
GuyBrush
090bb85a12 fix(tools): fix path delimiter in gdbinit for Windows
Merges https://github.com/espressif/esp-idf/pull/12683

Signed-off-by: Alexey Lapshin <alexey.lapshin@espressif.com>
2023-11-29 13:54:48 +04:00
C.S.M
96f49c2603 Merge branch 'bugfix/bod_reset_c6_h2' into 'master'
fix(bod): Fix issue that RF cannot be enabled again after BOD triggered.

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

Closes IDF-8229

See merge request espressif/esp-idf!27436
2023-11-29 17:11:52 +08:00
Tomas Sebestik
e4f3ba1365 ci: update Mixed Template, Release notes header 2023-11-29 10:03:33 +01:00
Marius Vikhammer
99c88b9272 Merge branch 'feature/misc_core_build_tests_p4' into 'master'
ci(system): fixed and enabled misc system build tests

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

See merge request espressif/esp-idf!27431
2023-11-29 16:58:07 +08:00
Armando (Dou Yiwen)
9674c5d467 Merge branch 'doc/esp32p4_sdmmc' into 'master'
doc: esp32p4 sdmmc programming guide

Closes IDF-7732

See merge request espressif/esp-idf!27171
2023-11-29 16:55:08 +08:00
Jin Cheng
823e0711c9 fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free 2023-11-29 15:55:46 +08:00
Tomas Rezucha
d315b97948 Merge branch 'fix/usb_uvc_example' into 'master'
fix(usb/uvc): Add negotiation retry for some cameras

Closes IDF-8085

See merge request espressif/esp-idf!27309
2023-11-29 15:38:53 +08:00
Tomas Sebestik
0b3ec55183 Merge branch 'remove/migrate-danger-gitlab' into 'master'
Remove/migrate danger gitlab

Closes RDT-523

See merge request espressif/esp-idf!27379
2023-11-29 15:14:23 +08:00
Rahul Tank
427f734dca Merge branch 'bugfix/add_legacy_adv_clear_vsc' into 'master'
fix(nimble): Add support for VSC to clear legacy adv memory

Closes BLERP-160

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

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

See merge request espressif/esp-idf!27450
2023-11-29 12:15:51 +08:00
Armando
1400f3553d change(sdspi): disabled some tests (needs check/re-enable future) 2023-11-29 12:13:03 +08:00
Armando
368a11b618 refactor(sdmmc): remove sdmmc_console duplicate test cases 2023-11-29 12:13:03 +08:00
Armando
4aadacbcdc refactor(sdspi): added component pytest cases and enabled them on CI 2023-11-29 12:13:03 +08:00
Armando
9b0d75f2df refactor(sdmmc): added component pytest cases and enabled them on CI 2023-11-29 12:13:03 +08:00
Tomas Rezucha
62091b4fa0 fix(usb/uvc): Add negotiation retry for some cameras
Some cameras would refuse first stream format and would only accept
on second retry.
2023-11-29 11:34:47 +08:00
Lou Tian Hao
e4ba9ac3c4 Merge branch 'doc/change_deepsleep_example_readme' into 'master'
Doc/change deepsleep example readme

Closes IDFGH-11523

See merge request espressif/esp-idf!27413
2023-11-29 11:32:01 +08:00
Jiang Jiang Jian
234e5e8d09 Merge branch 'feat/max_ver_c3_199' into 'master'
feat(soc): Increase max supported version of C3 to 1.99

See merge request espressif/esp-idf!26821
2023-11-29 11:17:59 +08:00
Armando
f893750bb6 doc(sdmmc): doc(sdmmc): updated sdmmc programming guide for esp32p4 2023-11-29 11:13:14 +08:00
Armando
77299842ed doc(sdmmc): update emmc states 2023-11-29 11:13:09 +08:00
Marius Vikhammer
0c067fcb05 feat(ulp/lp_core): Added basic support for building and running a LP-Core app on ESP32P4 2023-11-29 10:50:40 +08:00
Aditya Patwardhan
77fbe13513 Merge branch 'bugfix/flash_encryption_build_failed' into 'master'
fix: fixed flash_encryption example build failure with certain config

Closes IDFGH-11492

See merge request espressif/esp-idf!27321
2023-11-29 10:10:40 +08:00
Ivan Grokhotkov
88fa79fcc7 feat(unity): upgrade to 2.6.0-RC1 2023-11-28 20:22:02 +01:00
Erhan Kurubas
4b0da52aa8 Merge branch 'save_isr_ctx_to_coredump' into 'master'
feat(coredump): save isr context to coredump elf file

Closes IDF-7790

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

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

Closes BT-3478

See merge request espressif/esp-idf!27301
2023-11-28 20:20:15 +08:00
Lou Tianhao
29488207ff docs(pm):add uart wakeup description when pd top 2023-11-28 19:31:33 +08:00
Linda
acf5cc636a docs: move the output log of targets to .inc files 2023-11-28 18:27:55 +08:00
Jeroen Domburg
7830b01d9f Merge branch 'bugfix/usb_ser_jtag_filled_ep_flush' into 'master'
Fix(driver): Add docs and driver fix for the case where a full EP does not cause the host to pickup the data

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

See merge request espressif/esp-idf!27402
2023-11-28 17:25:00 +08:00
Peter Dragun
59179ce54d fix(tools/coredump): do not detect port when core file is used
Closes https://github.com/espressif/esp-idf/issues/12673
2023-11-28 10:20:08 +01:00
Tomáš Rohlínek
526ce4f5cc feat(storage/fatfs): add sbom file for FatFs 2023-11-28 09:36:40 +01:00
laokaiyao
7fa0d61c35 refactor(build_test_rules): invert the logic to avoid involving preview target
Only set enable condition for the app will introduce the preview target in README.md
Replace with disable logic instead
2023-11-28 16:14:17 +08:00
laokaiyao
bb0879b3f8 feat(esp32c5): introduce target esp32c5 2023-11-28 16:14:17 +08:00
wanglei
076aefce74 feat(esp32c5): add esp32c5 target in kconfig and tools 2023-11-28 16:14:17 +08:00
fl0wl0w
d149c1b26f Use configuration option instead of in components not related to FreeRTOS
Mergeshttps://github.com/espressif/esp-idf/pull/12481
2023-11-28 07:49:20 +00:00
nilesh.kale
a0c37ce33c fix: fixed build issue in flash encryption example with certain config
Addresses a build failure that occurs when flash encryption is enabled with default configurations.

The build failure did not manifest in the CI environment because the configuration
CONFIG_SECURE_FLASH_REQUIRE_ALREADY_ENABLED is set in sdkconfig.ci.
This configuration is responsible for reducing the bootloader size.

Closes https://github.com/espressif/esp-idf/issues/12619
2023-11-28 12:41:35 +05:30
jgujarathi
bb4b9d0687 fix(wpa_supplicant): Fix a crash in esp_wifi_wps_disable
- Fixes a crash observed in esp_wifi_wps_disable when wps process
  is ongoing, caused due to concurrency issues in cancelling timers.
2023-11-28 11:55:35 +05:30
Marius Vikhammer
b96f93b879 ci(system): fixed and enabled misc system build tests 2023-11-28 14:00:16 +08:00
Shyamal Khachane
d7db8e08e5 fix(esp_wifi): Fix issues with NAN datapath
1. Avoid possible crash scenarios while forming datapath
2. Modify peer records structure thus fixing issues in datapath establishment
3. Fix timer out of bound issue causing "No timer handle" warning
4. Fix miscellaneous service discovery and datapath issues
2023-11-28 10:24:52 +05:30
Lou Tianhao
e54684754c docs(pm):add gpio wakeup description when pd top 2023-11-28 12:02:25 +08:00
Lou Tianhao
5793945499 docs(pm):change_deepsleep_example_readme 2023-11-28 12:02:25 +08:00
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
Fu Hanxi
09eec2ba47 Merge branch 'ci/fix_upload_failed_job_log_script' into 'master'
ci: fix upload failed job log script

See merge request espressif/esp-idf!27357
2023-11-27 18:32:45 +08:00
Roland Dobai
1b8445fe41 Merge branch 'fix/ci_tools_merge_junit' into 'master'
feat(ci): Merge tool test jobs and produce jUnit reports

Closes IDF-8215 and IDF-8216

See merge request espressif/esp-idf!27219
2023-11-27 18:08:20 +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
Wu Zheng Hui
24a000d2fa Merge branch 'bugfix/fix_uart_disabled_in_driver_cause_restart_stuck' into 'master'
fix(esp_system): fix uart clock disabled in driver cause esp_restart stuck

Closes IDF-8738

See merge request espressif/esp-idf!27409
2023-11-27 16:47:25 +08:00
Tomas Sebestik
742ec21371 ci(danger-gitlab): migrate code; Danger Gitlab from Shared-CI-Danger
- set only brew runners to run danger, tag "dangerjs"
2023-11-27 09:36:34 +01:00
Roland Dobai
cad04baba1 feat(ci): Merge tool test jobs and produce jUnit reports 2023-11-27 09:11:35 +01:00
Xu Si Yu
feb62db338 Merge branch 'bugfix/event_fd_for_spi_interface' into 'master'
fix(openthread): add eventfd nums for spi interface

See merge request espressif/esp-idf!27368
2023-11-27 15:22:04 +08:00
Tomáš Rohlínek
91e158aa0c fix(storage/fatfs): add missing locks in fatfs wrapper for vfs 2023-11-27 07:47:28 +01:00
Wan Lei
b058a7e277 Merge branch 'contrib/github_pr_12666' into 'master'
Update spi_master_example_main.c (GitHub PR)

Closes IDFGH-11545

See merge request espressif/esp-idf!27403
2023-11-27 12:48:37 +08: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
morris
f209113b06 Merge branch 'feat/introduce_esp_driver_rmt' into 'master'
feat(rmt): move the driver to a new component

Closes IDF-8381

See merge request espressif/esp-idf!27310
2023-11-27 10:26:44 +08:00
Rahul Tank
d2a52ae749 fix(nimble): Fix the parameters in duplicate exception list vsc command 2023-11-26 12:45:01 +05:30
Lu Xianfan
7317555d39 Update spi_master_example_main.c 2023-11-26 13:04:03 +08:00
Tomas Sebestik
394a6ec351 ci(pre-commit-hooks): update version conventional-precommit-linter 2023-11-25 08:58:54 +01:00
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
Chen Yu Dong
ab03c2ea13 Merge branch 'ci/fix_fetch_git_diff_on_schedules' into 'master'
ci: fix fetch git diff from pipeline schedules

See merge request espressif/esp-idf!27263
2023-11-24 21:15:41 +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
Jiang Jiang Jian
f4c7dfd391 Merge branch 'bugfix/nan_svc_cancel_crash' into 'master'
Fix crash while cancelling NAN service

Closes WIFI-5970, WIFIBUG-172, and XIAOMI-154

See merge request espressif/esp-idf!25588
2023-11-24 18:04:46 +08:00
xiaqilin
8178961704 fix(ieee802154): fix ieeee802154 sleep enable configuration dependency issue 2023-11-24 17:56:57 +08:00
Marius Vikhammer
87757f0a66 Merge branch 'contrib/github_pr_11524' into 'master'
Update related documents with new ESP32-WROOM-32E & ESP32-WROOM-32UE datasheet (GitHub PR)

Closes IDFGH-10262

See merge request espressif/esp-idf!27227
2023-11-24 14:17:48 +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
Xu Si Yu
28e9610e01 Merge branch 'bugfix/fix_wrong_path_of_ot_sleep_ci' into 'master'
fix(ci): fix wrong path of ot sleep case

See merge request espressif/esp-idf!27359
2023-11-24 10:31:08 +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
Tomas Rezucha
d015becbad Merge branch 'fix/usb_msc_test' into 'master'
fix(usb/test): Update MSC device test for new console

Closes IDFCI-1873

See merge request espressif/esp-idf!27358
2023-11-24 09:54:29 +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
Roland Dobai
f97b39b437 Merge branch 'fix/astyle_pyyaml_cython' into 'master'
fix(ci): bump astyle version to v1.0.5 in .pre-commit-config.yaml

Closes IDF-8608

See merge request espressif/esp-idf!27361
2023-11-23 22:10:04 +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
Xu Si Yu
45095994e6 fix(openthread): add eventfd nums for spi interface 2023-11-23 19:54:30 +08:00
Cao Sen Miao
2c131672db fix(spi_flash): Fix ESP32S2 multi-flash test 2023-11-23 19:49:59 +08:00
Island
a3bea27e68 Merge branch 'ci/fix_nimble_build_error' into 'master'
ci(nimble): removed ci configs which set esp32 only options

See merge request espressif/esp-idf!27349
2023-11-23 19:14:21 +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
Frantisek Hrbata
3588267e67 fix(ci): bump astyle version to v1.0.5 in .pre-commit-config.yaml
pyyaml have problem with newer cython(3.0), this was fixed in pyyaml
6.0.1, which requires cython<3.0. The pyyaml dependency in astyle
was fixed in v1.0.5, but the pre-commit config is still useing v1.0.2.
As a result the pre-commit hooks installation of astyle can fail
on pyyaml. Fix this by bumping the astyle version for pre-commit.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-11-23 11:18:01 +01: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
Xu Si Yu
86300959c5 fix(ci): fix wrong path of ot sleep case 2023-11-23 16:48:06 +08:00
Tomas Rezucha
e51a0cf2b4 fix(usb/test): Update MSC device test for new console 2023-11-23 08:50:45 +01:00
Fu Hanxi
4ef1a8cc3a ci: fix upload failed job log script 2023-11-23 08:03:42 +01: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
Marius Vikhammer
47690e2465 ci(nimble): removed ci configs which set esp32 only options 2023-11-23 12:03:13 +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
Shu Chen
db84b88d14 Merge branch 'fix/add_docs_for_coex' into 'master'
feat(docs) Add RF Coexist docs for H2

Closes IDF-8550

See merge request espressif/esp-idf!27150
2023-11-22 21:23:33 +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
David Čermák
17f6528718 Merge branch 'bugfix/lwip_dns_docs' into 'master'
fix(lwip): Document DNS limitation in lwIP

See merge request espressif/esp-idf!27099
2023-11-22 20:39:22 +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
zwx
da9972183c feat(docs): Add RF Coexist docs for H2 2023-11-22 16:54:55 +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
David Cermak
1f6a927e33 fix(lwip): Document DNS limitation in lwIP
* Add a note that DNS server config is global in lwIP
* Add a section about defining LWIP config macros from CMake
* Mention the DNS limitation in ESP-IDF additions to lwIP
* Update CN for lwIP DNS limitation

Co-Authored-By: Wang Ziyan <wangziyan@espressif.com>
2023-11-22 08:48:33 +01: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
Rahul Tank
229d275fb1 Merge branch 'bugfix/cleanup_nimble_sdkconfig' into 'master'
ci(nimble): Cleanup sdkconfig files for nimble examples

Closes IDF-8496

See merge request espressif/esp-idf!26932
2023-11-22 14:48:19 +08:00
Armando
b860930545 ci(sdio): updated sdio rules.yml 2023-11-22 14:23:14 +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
Mahavir Jain
fc22c61cdf Merge branch 'docs/update_copyrights_page' into 'master'
docs: add protobuf-c, cmock, unity components entry to copyrights page

See merge request espressif/esp-idf!27266
2023-11-21 15:11:30 +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
30f4a43556 ci(ble/bluedroid): Add notes in sdkconfig.defaults 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
Rahul Tank
843f48fb00 ci(nimble): Cleanup sdkconfig files 2023-11-21 11:52:11 +05:30
Wang Ziyan
baf1091868 Merge branch 'docs/update_cn_for_sdmmc_and_ulp-lp-core' into 'master'
docs: Update CN for sdmmc and ulp-lp-core docs

Closes DOC-6632

See merge request espressif/esp-idf!27198
2023-11-21 13:13:34 +08:00
Chen Yu Dong
d7345a89df Merge branch 'ci/fix_fetch_from_mirror_url_if_exists' into 'master'
ci: fix fetch_from_mirror_url_if_exists

See merge request espressif/esp-idf!27184
2023-11-21 12:03:52 +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
Wang Zi Yan
90afe1a32f docs: Update CN for sdmmc and ulp-lp-core docs 2023-11-21 10:34:54 +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
Marius Vikhammer
68574398d1 docs(hw_ref): updated with latest module datasheet link 2023-11-21 02:10:42 +00:00
Haruki Nakajima
74f95d7a69 Update get-started-devkitc.rst
Update related documents with new datasheet
2023-11-21 02:10:42 +00:00
Shu Chen
4cecb6ac19 Merge branch 'fix/ot_invalid_configs' into 'master'
fix(openthread): remove invalid configs from ot examples

Closes IDF-8492

See merge request espressif/esp-idf!27177
2023-11-21 10:04:24 +08:00
Wang Meng Yang
02e6dc7cd7 Merge branch 'fix/remove_deprecated_bt_example_sdkfonfigs' into 'master'
ci(bt/bluedroid): remove configs that are not in effect

Closes IDF-8498

See merge request espressif/esp-idf!26906
2023-11-21 10:03:00 +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
Chen Yudong
294222eabf ci: fix fetch git diff from pipeline schedules 2023-11-20 22:08:57 +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
Shu Chen
8a349a2618 fix(openthread): remove invalid configs from ot examples 2023-11-20 19:43:34 +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
Mahavir Jain
e9bdec4042 docs: add protobuf-c, cmock, unity components entry to copyrights page 2023-11-20 14:48:13 +05:30
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
Chen Yudong
d738185ff8 ci: fix fetch_from_mirror_url_if_exists 2023-11-20 16:00:01 +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
gongyantao
cbb3da69ae ci(bt/bluedroid): remove configs that are not in effect 2023-11-20 14:32:13 +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
aaa1ea8af1 docs(pm/ext1): support esp_sleep_enable_io_ext1_wakeup and esp_sleep_disable_io_ext1_wakeup 2023-11-17 16:23:56 +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
Michael (XIAO Xufeng)
ad1e48f932 Merge branch 'doc/light_sleep_example_pg' into 'master'
doc(sleep_mode): Added link to lightsleep example

See merge request espressif/esp-idf!27202
2023-11-17 15:37:28 +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
Wang Meng Yang
227f531b9d Merge branch 'bugfix/cleanup_ble_examples_sdkconfig' into 'master'
ci(ble/bluedroid):cleanup BLE examples sdkconfig

Closes IDF-8495

See merge request espressif/esp-idf!26931
2023-11-17 10:56:58 +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
Roland Dobai
82a110c7f3 Merge branch 'fix/monitor_print_filter' into 'master'
fix(tools/monitor): fix PRINT_FILTER env variable usage

Closes IDF-8224

See merge request espressif/esp-idf!26383
2023-11-16 21:52:05 +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
zhiweijian
e807347a46 ci(ble/bluedroid):cleanup BLE examples sdkconfig 2023-11-16 19:56:39 +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
Xiao Xufeng
a43b074456 doc(sleep_mode): Added link to lightsleep example 2023-11-16 18:01:30 +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
Liu Linyan
cb4e3e6286 Merge branch 'feature/remove_ble_mesh_coex_test_example' into 'master'
feat(ble mesh): Remove BLE Mesh coex_test example

Closes IDF-8490

See merge request espressif/esp-idf!27151
2023-11-16 17:06:49 +08:00
Shang Zhou
a0edece25a docs: Update CN translation for api-guides/tools/idf-monitor.rst 2023-11-16 09:20:48 +01:00
Peter Dragun
18ddb86c7f fix(tools/monitor): fix PRINT_FILTER env variable usage 2023-11-16 09:20:48 +01:00
Armando
54874d9473 change(codeowner): add storage to esp_driver_sdmmc 2023-11-16 15:37:32 +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
Frantisek Hrbata
ea84bd51c9 feat(ci): add test for custom cmake CMAKE_EXECUTABLE_SUFFIX
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-11-16 08:14:19 +01: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
Marius Vikhammer
c2e774fe3d Merge branch 'ci/deploy_docs_git_strategy' into 'master'
ci(docs): revert git strategy change for deploy docs

See merge request espressif/esp-idf!27183
2023-11-16 13:02:39 +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
Sudeep Mohanty
11097a4fc2 Merge branch 'bugfix/fix_unity_mem_leaks' into 'master'
fix(unity): Fixed memory leaks in unity tests

Closes IDFCI-1869

See merge request espressif/esp-idf!27164
2023-11-16 11:43:20 +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
Marius Vikhammer
42ba49390f ci(docs): revert git strategy change for deploy docs 2023-11-16 10:23:25 +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
Sudeep Mohanty
a583063664 fix(unity): Fixed memory leaks in unity tests
This commit fixes memory leaks in unity tests when the debug option
CONFIG_FREERTOS_USE_LIST_DATA_INTEGRITY_CHECK_BYTES is enabled. The
commit increases the threshold to 1200 bytes from 1024 bytes.
2023-11-15 09:06:06 +01: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
Fu Hanxi
ac0a1b4e8e Merge branch 'ci/git_strategy_optimization' into 'master'
ci: optimize git strategy

Closes IDFCI-1854

See merge request espressif/esp-idf!26797
2023-11-15 14:42:41 +08:00
Aditya Patwardhan
ae05f3f140 fix(mbedtls): Removed redundant menuconfig entry 2023-11-15 04:59:52 +00:00
Mahavir Jain
9acb6863c3 docs(ecdsa): add a note about TRNG dependency for ECDSA peripheral 2023-11-15 10:21:29 +05:30
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
wangjialiang
89e43ff595 feat(ble mesh): Remove BLE Mesh coex_test example 2023-11-15 12:02:58 +08:00
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
Mo Fei Fei
6ba047bc19 Merge branch 'docs/update_cn_trans_usb_host.rst' into 'master'
Docs: Update Chinese translation for usb_host.rst

Closes DOC-6624

See merge request espressif/esp-idf!27028
2023-11-15 11:50:12 +08:00
Mo Fei Fei
3491fa154a Docs: Update Chinese translation for usb_host.rst 2023-11-15 11:50:12 +08:00
Mahavir Jain
2a09627d03 Merge branch 'bugfix/secure_boot_v2_docs' into 'master'
fix(docs): correct the target specific macros for secure boot v2 guide

See merge request espressif/esp-idf!26993
2023-11-15 11:17:43 +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
Marius Vikhammer
5b189fe6c1 Merge branch 'docs/h2_programming_guide_cleanup' into 'master'
docs(esp32h2): updated misc docs with esp32h2 content

Closes IDF-6677 and IDF-6688

See merge request espressif/esp-idf!27111
2023-11-15 09:51:12 +08: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
Wang Ziyan
0334dc92ff Merge branch 'docs/update_cn_for_security_docs' into 'master'
docs: Update CN for security docs

Closes DOC-6633

See merge request espressif/esp-idf!26972
2023-11-14 23:03:12 +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
Fu Hanxi
a6ccc2e18e ci: optimize git strategy 2023-11-14 15:31:30 +01: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
Roland Dobai
dd1247f313 Merge branch 'fix/docs_tools' into 'master'
fix(tools): Remove idf.py dependencies from documentation

See merge request espressif/esp-idf!27101
2023-11-14 16:37:44 +08:00
Darian
159beab9d9 Merge branch 'contrib/github_pr_12551' into 'master'
Minor fix style-guide.rst (GitHub PR)

Closes IDFGH-11413

See merge request espressif/esp-idf!27113
2023-11-14 16:24:51 +08:00
Wang Zi Yan
32ce89f3cf docs: Update CN for security docs 2023-11-14 07:41:58 +00: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
Marius Vikhammer
730f2af489 docs(esp32h2): updated misc docs with esp32h2 content 2023-11-14 12:09:00 +08:00
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
Jakob Hasse
53e497a93a Merge branch 'doc/c_support_page' into 'master'
docs: Added C documentation page

Closes IDFGH-10790 and IDFGH-11283

See merge request espressif/esp-idf!26761
2023-11-14 10:44:40 +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
Roland Dobai
6f50b02a3a fix(tools): Remove idf.py dependencies from documentation
Those dependencies are always satisfied because:
- ESP-IDF supports Python 3.8+ at this moment,
- click version is checked and ensured by the install scripts.
2023-11-13 14:33:54 +01: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
Jakob Hasse
ed5a7dfa82 docs: Added C documentation page
Closes https://github.com/espressif/esp-idf/issues/12439
Closes https://github.com/espressif/esp-idf/issues/12001
2023-11-13 10:47:15 +08:00
Steven Burnett
0a79d13a2d Add option to configure FATFS_USE_LABEL in menuconfig 2023-11-11 23:00:08 +00:00
Sudeep Mohanty
526aa01154 Merge branch 'docs/remove_duplication_in_build_system_docs' into 'master'
fix(docs/build_system): Remove duplication about project_include.cmake usage

See merge request espressif/esp-idf!27084
2023-11-11 15:32:32 +08: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
Sudeep Mohanty
348206fc65 fix(docs/build_system): Remove duplication about project_include.cmake usage
This commit fixes a duplication regarding the usage of the
project_include.cmake file in the build_system.rst doc.
2023-11-10 16:12:59 +01:00
Alexey Lapshin
d501c67458 Merge branch 'feature/update-gdb-to-12.1_20231023' into 'master'
feat(tools): update gdb version to 12.1_20231023

Closes GCC-311 and GCC-334

See merge request espressif/esp-idf!26646
2023-11-10 22:51:17 +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
Mahavir Jain
b234844c65 Merge branch 'docs/use_tls_v1_2_and_v1_3_simultaneously' into 'master'
docs: Add documentation for using TLS v1.2 and v1.3 simultaneously

Closes IDF-8449

See merge request espressif/esp-idf!26791
2023-11-10 16:37:39 +08:00
Harshit Malpani
c67dac7225 docs: Add documentation for using TLS v1.2 and v1.3 simultaneously 2023-11-10 16:37:39 +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
Alexey Lapshin
fc7ac87b61 feat(tools): update gdb version to 12.1_20231023 2023-11-10 06:37:33 +00: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
Shang Zhou
818ba42a8b Merge branch 'docs/add_cn_trans_for_secure-boot-v1' into 'master'
docs: Provide CN translation for security/secure-boot-v1.rst

Closes DOC-6231 and DOC-6352

See merge request espressif/esp-idf!26882
2023-11-10 09:46:12 +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
Roland Dobai
d484dafb63 Merge branch 'fix/ci_autocomplete' into 'master'
Tools, CI: Improve autocomplete tests

Closes IDFCI-1603

See merge request espressif/esp-idf!26958
2023-11-09 20:49:36 +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
Shang Zhou
3cb8e18648 docs: Provide CN translation for security/secure-boot-v1.rst 2023-11-09 17:31:54 +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
Alex Offshore
82aa0f3bc3 Minor fix style-guide.rst 2023-11-09 11:56:25 +03: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
02f05f39bb doc(spi): update esp_driver_spi to migration guides 2023-11-09 14:50:05 +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
Roland Dobai
92e45c0798 ci(fix): Improve the stability of the autocomplete tests 2023-11-08 15:05:56 +01:00
Fu Hanxi
6ba8c75f1d Merge branch 'ci/build_log_artifacts' into 'master'
ci: added build log artifacts for linux

Closes IDFCI-1848

See merge request espressif/esp-idf!26948
2023-11-08 21:54:59 +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
Wan Lei
ab43ff7932 Merge branch 'fix/spi_eeprom_example_clean_iram_usage' into 'master'
fix(spi): clean eeprom example iram usage

See merge request espressif/esp-idf!26995
2023-11-08 15:28:15 +08:00
Michael (XIAO Xufeng)
c0dfe97fcc Merge branch 'doc/compatibility_s2_v100_decrease' into 'master'
doc(compatibility): decrease required version of EPS32-S2 v1.0

See merge request espressif/esp-idf!26516
2023-11-08 15:12:34 +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
wanlei
ee6dd6a4a9 fix(spi): clean eeprom example iram usage 2023-11-08 10:51:04 +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
C.S.M
5d02e71972 Merge branch 'docs/i2c_ng_docs' into 'master'
docs(I2C): Add new programming guide for new I2C driver

See merge request espressif/esp-idf!26752
2023-11-08 09:46:32 +08:00
Roland Dobai
c5e52f352e Merge branch 'feature/hint_libusb_open' into 'master'
feat(hints): Added hint for LIBUSB_ERROR_NOT_FOUND

Closes IDF-8451

See merge request espressif/esp-idf!26757
2023-11-07 22:28:15 +08:00
Mahavir Jain
6b823ddb2a fix(docs): correct the target specific macros for secure boot v2 guide
It appears that target specific or'ing is not supported through the
docs build. Actual text rendering on the docs site was still using
"default" field from the custom macro, rather than using target
specific.
2023-11-07 19:38:44 +05:30
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
Cao Sen Miao
a4e6a71dd5 docs(i2c): Add new programming guide for new I2C driver 2023-11-07 18:41:26 +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
Jiang Jiang Jian
d63f92eb3e Merge branch 'ci/add_label_trigger_for_integration_test' into 'master'
ci: add label rules for integration test

See merge request espressif/esp-idf!26922
2023-11-07 15:32:14 +08:00
Aleksei Apaseev
999f5acf6b Merge branch 'ci/add_artifacts_upload_to_after_script' into 'master'
ci: Move upload artifacts execution to the after script

See merge request espressif/esp-idf!26919
2023-11-07 13:31:19 +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
Marius Vikhammer
b90dfe0759 Merge branch 'ci/docs_no_download_artifacts' into 'master'
ci(docs): stop build docs jobs from downloading artifacts

See merge request espressif/esp-idf!26952
2023-11-07 10:46:55 +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
muhaidong
db5209bf54 fix(wifi): add esp_wifi and esp_coexist header files to Doxyfile 2023-11-06 21:54:25 +08:00
muhaidong
84a599d8d4 esp_supplicant: remove wpa supplicant ROM source code copyrights 2023-11-06 21:54:16 +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
Martin Vychodil
2beef95ff1 Merge branch 'feature/update_strorage_test_config' into 'master'
feat(storage): update config for app tests

Closes IDF-5552

See merge request espressif/esp-idf!26310
2023-11-06 19:42:04 +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
Aleksei Apaseev
b64da91823 ci: Move upload artifacts execution of build and target_test stages to the after script section 2023-11-06 18:24:10 +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
f2304a5f73 docs: adding migration guide about esp_driver_xyz components 2023-11-06 17:09:31 +08:00
morris
2ef14fe55e refactor(gptimer): refactor gptimer driver into a component 2023-11-06 17:09:31 +08:00
Marius Vikhammer
501dbcfacf ci(docs): stop build docs jobs from downloading artifacts 2023-11-06 16:59: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
Darian
455cc345f7 Merge branch 'contrib/github_pr_12523' into 'master'
fix: assert failed in example uart_async_rxtxtasks (GitHub PR)

Closes IDFGH-11380

See merge request espressif/esp-idf!26935
2023-11-06 15:24:17 +08:00
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
Tomáš Rohlínek
559fb2d2bf feat(storage): minimize platforms for tests 2023-11-06 07:41:36 +01:00
igor udot (horw)
2dcb6d1fbb ci: added build log artifacts for linux 2023-11-06 14:34:33 +08:00
harshal.patil
d3be7bda05 fix(mbedtls): move interrupt allocation during initialization phase 2023-11-06 11:20:53 +05:30
Marius Vikhammer
849c84f09c fix(err_to_name): restrict gen_esp_err_to_name.py to only search in components/ 2023-11-06 11:41:39 +08:00
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
Zhang Xiao Yan
9489e8a984 Merge branch 'docs/add_ethernet_update_to_migration_4.4_to_5.0' into 'master'
docs: add Ethernet driver update to migration from 4.4 to 5.0

See merge request espressif/esp-idf!26650
2023-11-06 10:53:22 +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
Rahul Tank
895ba56206 Merge branch 'bugfix/ble_gap_unpair_oldest_peer' into 'master'
fix(nimble): Fixed incorrect handling of bonded devices

See merge request espressif/esp-idf!26555
2023-11-04 14:05:01 +08:00
darshan
10f06abf32 fix(nimble): Fixed incorrect handling of bonded devices 2023-11-04 09:12:17 +05:30
Rahul Tank
3d946faf67 Merge branch 'bugfix/validate_random_address' into 'master'
fix(nimble): Added check to validate allowed random address

Closes BLERP-60 and BLEQABR23-610

See merge request espressif/esp-idf!25961
2023-11-04 11:34:04 +08:00
Rahul Tank
32e3ecb788 fix(nimble): Added check to validate allowed random address 2023-11-04 06:34:54 +05:30
Ngai-Fung Yip
b8a3141ef9 fix: assert failed in example uart_async_rxtxtasks 2023-11-04 08:48:57 +08:00
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
Chen Yudong
9b8d50a8f5 ci: add label rules for integration test
fix typo
2023-11-03 19:18:52 +08:00
morris
ed5deb00bb Merge branch 'contrib/github_pr_12514' into 'master'
Update ledc_basic_example_main.c (GitHub PR)

Closes IDFGH-11370

See merge request espressif/esp-idf!26896
2023-11-03 18:40:15 +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
Marius Vikhammer
b068812e88 Merge branch 'bugfix/https_server_ci_konfig' into 'master'
fix(ci): fixed misnamed kconfig option in https server ci config

See merge request espressif/esp-idf!26893
2023-11-03 15:36:38 +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
Marius Vikhammer
d3ca964e5f fix(ci): fixed misnamed kconfig option in https server ci config 2023-11-03 09:13:22 +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
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
morris
b2497d1ce6 Merge branch 'ci/update_constraint_file' into 'master'
ci: update constraint file to 5.3

See merge request espressif/esp-idf!26751
2023-11-02 23:07:12 +08:00
Jakub Kocka
579ecbddb8 feat(hints): Added hint for LIBUSB_ERROR_NOT_FOUND 2023-11-02 15:33:00 +01:00
Roland Dobai
06b6df33c2 Merge branch 'coredump-gdb-timeout' into 'master'
fix(coredump-info): set default gdb timeout as 3 seconds

See merge request espressif/esp-idf!26853
2023-11-02 21:02:27 +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
diplfranzhoepfinger
007c2b155e Update ledc_basic_example_main.c
the order of initializers should match the declaration, to be able to also use this code in C++
2023-11-02 11:13:20 +01: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
Shang Zhou
0e69fcb8ac Merge branch 'docs/add_cn_trans_for_ds' into 'master'
docs: Provide CN translation for api-reference/peripherals/ds.rst

Closes DOC-5859

See merge request espressif/esp-idf!26657
2023-11-02 17:42:17 +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
Roman Leonov
a001118837 Merge branch 'docs/usb_host_menuconfig' into 'master'
feat(docs): added USB Host Stack Configuration description

Closes IDF-8447

See merge request espressif/esp-idf!26573
2023-11-02 15:49:13 +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
Shang Zhou
2a62932ef1 Merge branch 'docs/fix_typo_according_to_feedback' into 'master'
docs: Fix typo in get-started/index.rst and thread-local-storage.rst based on customer feedback

Closes DOC-6534 and DOC-6578

See merge request espressif/esp-idf!26786
2023-11-02 14:10:34 +08:00
Shang Zhou
8b1a494cd3 docs: Fix typo in get-started/index.rst and thread-local-storage.rst based on customer feedback 2023-11-02 14:10:34 +08: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
Jakob Hasse
9aab41cde1 fix(esp_event): dedicated task test now waits for semaphore correctly 2023-11-02 11:49:45 +08:00
gaoxu
843e07b2d5 docs(adc): added adc calibration doc on h2 2023-11-02 11:33:06 +08:00
Wang Meng Yang
144ee32e58 Merge branch 'fix/exception_was_unhandled_for_bt_spp_vfs_acceptor' into 'master'
fix(bt/bluedroid): fix LoadProhibited error in spp vfs acceptor example

Closes BT-3472

See merge request espressif/esp-idf!26844
2023-11-02 11:11:57 +08:00
Jiang Jiang Jian
2e0afe5bf2 Merge branch 'bugfix/install_key_issue_ptk_renew' into 'master'
WiFi: Fix some wifi issues

Closes WIFIBUG-176 and WIFIBUG-225

See merge request espressif/esp-idf!26770
2023-11-02 11:11:38 +08:00
Jiang Jiang Jian
6e0a8434a7 Merge branch 'bt/add_host_only_mode' into 'master'
bt: Added BlueDroid-Only mode to use BlueDroid host only without Bluetooth Controller

See merge request espressif/esp-idf!25319
2023-11-02 10:58:32 +08:00
Wang Meng Yang
52085b0264 Merge branch 'feature/include_hf_and_ag_in_single_build' into 'master'
feat: Added support for build different roles in corresponding profile HID and HFP into a single binary

See merge request espressif/esp-idf!26360
2023-11-02 10:52:38 +08:00
Gao Xu
85484ffe8a Merge branch 'feature/add_adc_oneshot_control_driver_log_independently' into 'master'
ADC: add config for enable ADC driver debug log

Closes IDFGH-11248

See merge request espressif/esp-idf!26819
2023-11-02 10:44:23 +08:00
C.S.M
63ebb38039 Merge branch 'bugfix/32bit_addr_naming' into 'master'
bugfix(spi_flash): Fix wrong naming on 32bit address

See merge request espressif/esp-idf!26814
2023-11-02 10:28:03 +08:00
laokaiyao
4f5773181d fix(i2s): fix pdm rx high pass filter cut off coeff 2023-11-02 10:09:04 +08:00
Erhan Kurubas
659748748f fix(coredump-info): set default gdb timeout as 3 seconds 2023-11-01 19:41:56 +01:00
Roland Dobai
b0d5985a02 Merge branch 'bugfix/docker_safe_repo' into 'master'
fix(docker): set esp-idf repo as safe directory

Closes IDFGH-11223

See merge request espressif/esp-idf!26580
2023-11-01 23:21:50 +08:00
Martin Vychodil
010714d70b Merge branch 'fix/fatfs_missing_release' into 'master'
fix(storage/fatfs): add missing lock release introduced by IMMEDIATE_FSYNC

Closes IDF-8482

See merge request espressif/esp-idf!26749
2023-11-01 22:00:49 +08:00
Kapil Gupta
69704efd5d fix(wifi): Disallow DPP and WPS concurrency 2023-11-01 19:09:58 +05:30
Jiang Jiang Jian
44f0bb148a Merge branch 'bugfix/ble_update_lib_1027' into 'master'
update c6 h2 lib to 5bd7cb83, c2 to 1d31e175

Closes BLERP-193, BLERP-194, BLERP-188, BLERP-176, BLERP-195, BLERP-192, and BLERP-199

See merge request espressif/esp-idf!26708
2023-11-01 20:34:28 +08:00
Sudeep Mohanty
9e6e0a5677 Merge branch 'task/update_readme_for_ulp_riscv_examples' into 'master'
docs(ulp_riscv): Updated ulp_riscv example README files to update GPIO configuration

See merge request espressif/esp-idf!26782
2023-11-01 20:32:50 +08:00
Sudeep Mohanty
0a0c7ef40f fix(freertos/idf): Updated IDLE task names for each core to have the coreID as a suffix
This commit updates the IDLE task names for each core by concatenating
the respective coreIDs to the task names.

Closes https://github.com/espressif/esp-idf/issues/12204
2023-11-01 12:32:06 +00:00
Sudeep Mohanty
3fb23c85b6 Revert "fix(freertos/idf): Add workaround for same priority preemption in xTaskIncrementTick()"
This reverts commit 6c6a6ad44a.
2023-11-01 12:31:37 +00:00
Jiang Jiang Jian
ccc6a5713a Merge branch 'docs/update_nan_docs' into 'master'
Fix inconsistency in NAN documentation

Closes WIFI-6298

See merge request espressif/esp-idf!26817
2023-11-01 20:29:08 +08:00
gongyantao
ab55cd05c2 fix(bt/bluedroid): fix loadprohibited error in spp vfs acceptor example 2023-11-01 20:17:48 +08:00
Rahul Tank
8414400107 Merge branch 'bugfix/remove_iram_attr_from_ceva_files' into 'master'
fix(nimble): remove IRAM_ATTR from npl_os_freertos.c file

See merge request espressif/esp-idf!26726
2023-11-01 20:03:24 +08:00
Kapil Gupta
442f802102 fix(wpa_supplicant): Correct iv lenght passed in mbedtls_cipher_set_iv() 2023-11-01 17:31:02 +05:30
Roman Leonov
46cbbdd48c feat(docs): added USB Host Stack Configuration description 2023-11-01 12:47:27 +01:00
chenjianhua
448d168dfd update esp32 bt-lib (6458728)
- Modify mesh proxy solic uuid to 0x18590303
- Support get the range of TX power level
- Support clear legacy adv using vendor hci
2023-11-01 19:25:01 +08:00
Shu Chen
a66055ff59 Merge branch 'support/ot_deep_sleep_device' into 'master'
feat(openthread): Add deep sleep support for SED

See merge request espressif/esp-idf!26630
2023-11-01 19:09:45 +08:00
Island
ce7bb6b0e8 Merge branch 'feat/support_clear_legacy_adv' into 'master'
feat(bt/bluedroid): support clear legacy advertising

Closes BLERP-175

See merge request espressif/esp-idf!26645
2023-11-01 18:33:09 +08:00
Ondrej Buchta
37d6913e2f added spaces to lines 156-167 as the asterisk at 161 was apparently causing an issue 2023-11-01 17:11:55 +08:00
Darian
7baebd4ae3 Merge branch 'feature/add_run_time_counter_type_option' into 'master'
feat(freertos/idf): Add configRUN_TIME_COUNTER_TYPE option

Closes IDFGH-10757

See merge request espressif/esp-idf!26704
2023-11-01 17:07:11 +08:00
Jin Cheng
1f2a1564a2 feat(bt/bluedroid): Support to build HID Host and HID Device in single binary 2023-11-01 16:54:11 +08:00
Wang Mengyang
638d3af14a feat(bt/bluedroid): Support to build HFP Audio Gateway and Hands Free Unit in single binary 2023-11-01 16:54:08 +08:00
Guillaume Souchere
3ac6eeb7b6 change(docs): Remove heap_caps_check_integrity wrong behavior warning in ROM heap
A patch will fix the behavior of heap_caps_check_integrity in the ROM implementation
of the heap component so the warning is not longer needed.
2023-11-01 09:47:41 +01:00
Guillaume Souchere
93d4b0b38c fix(heap): Patch tlsf_check_pool in ROM heap
The integrity_walker now calls the integrity check hook to control
free AND used blocks of memory in the TLSF pool. This integrity walker
function is called from tlsf_check_pool.

This commit creates a patch of integrity_walker function to update the
outdated implementation in the ROM.
2023-11-01 09:47:41 +01:00
zwl
5b759934f3 fix(ble): fixed ble disconnection issue under temperature change 2023-11-01 16:25:11 +08:00
Kapil Gupta
4dd480ce83 fix(esp_wifi): Fix key install issue in PTK renew 2023-11-01 13:39:50 +05:30
Shyamal Khachane
77aee65708 docs(esp_wifi): Fix inconsistency in NAN documentation 2023-11-01 12:50:12 +05:30
gaoxu
c14d7fbb17 feat(adc): added adc enable debug log config 2023-11-01 15:06:20 +08:00
morris
67ba15fd76 Merge branch 'refactor/emac_rmii_clock_output' into 'master'
refactor(emac): use clock_output driver for configuring RMII reference clock

See merge request espressif/esp-idf!26692
2023-11-01 13:29:07 +08:00
Cao Sen Miao
fe007196f2 bugfix(spi_flash): Fix wrong naming on 32bit address 2023-11-01 12:42:22 +08:00
Shu Chen
036fdf25c4 Merge branch 'feature/add_ot_radio_stats_enable_config' into 'master'
feat(openthread): add config for radio statistic feature

See merge request espressif/esp-idf!26489
2023-11-01 12:33:38 +08:00
Jakob Hasse
596101c516 Merge branch 'bugfix/freertos_psram_stack' into 'master'
bugfix(freertos): Fixed task creation function for PSRAM stack

See merge request espressif/esp-idf!26693
2023-11-01 11:12:07 +08:00
Michael (XIAO Xufeng)
44734885df docs(compatibility): decrease required version of EPS32-S2 v1.0 2023-11-01 10:57:16 +08:00
Island
f1e8cfb546 Merge branch 'bugfix/fix_ble_remove_bond_status' into 'master'
Bugfix/fix ble remove bond status

Closes BLERP-202, BLERP-205, and BLERP-207

See merge request espressif/esp-idf!26750
2023-11-01 10:42:59 +08:00
Jiang Jiang Jian
15f62f87ed Merge branch 'bugfix/wpa3_softap_assoc_reject' into 'master'
fix(wifi): wpa3 softap fix deauth when assoc req recv before sae is finished

Closes WIFIBUG-95

See merge request espressif/esp-idf!25545
2023-11-01 10:37:12 +08:00
Marius Vikhammer
77bb19c49e ci(build): fixed/ignored warnings from unknown symbols in sdkconfig.defaults 2023-11-01 01:14:00 +00:00
David Čermák
ef8a4dc6ff Merge branch 'fix/netif_sntp_examples' into 'master'
fix(examples): Fix usage of SNTP netif API in examples

See merge request espressif/esp-idf!26717
2023-11-01 02:23:47 +08:00
Xiao Xufeng
24ef7f6034 ci(ram_load_app): enable target tests for all targets 2023-11-01 02:01:45 +08:00
Xiao Xufeng
cc28674686 refactor(bootloader_flash): make cache enable more obvious 2023-11-01 02:01:45 +08:00
Xiao Xufeng
28f19cf0e6 fix(ram_app): Fixed issue ram_app can't use the SPI Flash
1st bootloader won't help to initialize the MSPI & cache properly as it
usually do when loading from flash. And the ram app doesn't have valid
headers.

Since there is no enough space in 2nd bootloader, we replace the
`bootloader_init_spi_flash` in the ram_app (!pure_ram_app), with an
customized alternative of it for the ram_app.

This alternative helps to initialize the MSPI & cache properly, without
the help of 1st bootloader or image headers.
2023-11-01 02:01:45 +08:00
Cody P Schafer
9e1e245477 fix(heap): memalign respect malloc_alwaysinternal_limit
This changes `memalign` (and `posix_memalign`) so that it uses an
allocation method with the same selection criteria (checking
`malloc_alwaysinternal_limit` and picking one of:

- always MALLOC_CAP_INTERNAL
- MALLOC_CAP_INTERNAL first with fallback
- MALLOC_CAP_SPIRAM first with fallback

`malloc_alwaysinternal_limit` is in turn set by the options
`CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL` and
`CONFIG_SPRIAM_USE_CAPS_ALLOC`.

This notably affects folks using esp-rs to build rust code for the
esp-idf, as all allocations from rust use `memalign`.

Merges https://github.com/espressif/esp-idf/pull/12375
2023-11-01 01:58:27 +08:00
Wan Lei
10401d95d0 Merge branch 'feature/esp32p4_hp_spi_slave_support' into 'master'
Feature/esp32p4 hp spi slave support

Closes IDF-7503

See merge request espressif/esp-idf!25700
2023-10-31 23:31:24 +08:00
Frantisek Hrbata
1ec09cf7b6 fix(tools/docker): set esp-idf repo as safe directory
In our docker docs[1] we recommend to start docker as a non-root user. This has
a side effect, because the esp-idf repo in docker image is owned by
root. Git by default refuses even to parse a config file if the repo is
owned by other than current user. As a result the version detection in
cmake fails[2] and the app version is set to "HEAD-HASH-NOTFOUND".
This adds esp-idf repo to the system git config as a safe one.

[1] https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/
    tools/idf-docker-image.html#building-a-project-with-cmake
[2] https://github.com/espressif/esp-idf/issues/12389#issuecomment-1764268773

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

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-10-31 16:13:27 +01:00
David Čermák
283a3d64b9 Merge branch 'feat/common_connect_ppp' into 'master'
feat(examples): Add PPP to common connection component

See merge request espressif/esp-idf!26315
2023-10-31 18:59:38 +08:00
Fu Hanxi
a9079626bb Merge branch 'ci/upload_artifacts_of_target_stage' into 'master'
ci: Upload artifacts of target stage jobs to s3 bucket

Closes RDT-571

See merge request espressif/esp-idf!26722
2023-10-31 18:34:20 +08:00
Mahavir Jain
5b9bc432a1 Merge branch 'fix/gh_actions_checkout_version' into 'master'
fix(ci): Use latest stable actions/checkout@v3 instead of v2 for GitHub Actions

See merge request espressif/esp-idf!26745
2023-10-31 18:27:25 +08:00
Peter Marcisovsky
5c89fa3a4c Merge branch 'feature/usb_host_lib_example' into 'master'
feat(usb/host): Modifiy usb_host_lib example

Closes IDF-8411

See merge request espressif/esp-idf!26582
2023-10-31 18:17:32 +08:00
Sudeep Mohanty
c6c03d39f8 docs(ulp_riscv): Updated ulp_riscv example README files to update GPIO configuration
This commit updates the README files for the ULP RISC-V I2C and Touch
sensor examples to mention the GPIO configuration needed to run the
examples.
2023-10-31 10:04:08 +01:00
Armando (Dou Yiwen)
1df3736ec1 Merge branch 'feat/isp_af_ll' into 'master'
ISP: AF submodule low level APIs

See merge request espressif/esp-idf!26526
2023-10-31 17:02:46 +08:00
kohait00
7c8663ffa9 manager: fixing unwinding protocom endpoints, on prov_stop. This enables starting and stopping provisioning on a pre started http server 2023-10-31 13:59:29 +05:30
morris
dbc1c06841 Merge branch 'bugfix/rmt_stop_issue' into 'master'
fix(rmt): a disabled channel may pick up a pending transaction

See merge request espressif/esp-idf!26579
2023-10-31 16:24:58 +08:00
xueyunfei
ff1016c55f Fix(lwip):bugfix for add config for tcp ooseq bufs 2023-10-31 16:00:26 +08:00
Chen Jian Xing
c2cf88c783 Merge branch 'bugfix/fix_wifi_enabled_macro' into 'master'
fix(wifi): Fix bug using CONFIG_WIFI_ENABLED macro

Closes WIFIBUG-207 and WIFIBUG-123

See merge request espressif/esp-idf!26740
2023-10-31 15:52:29 +08:00
Darian Leung
b878125bae change(freertos): Update real_time_stats example to use configRUN_TIME_COUNTER_TYPE
This commit updates the real_time_stats example to use the configurable
configRUN_TIME_COUNTER_TYPE. The CONFIG_FREERTOS_RUN_TIME_COUNTER_TYPE_U64 is
enabled by the example by default to demonstrate its usage.

Note: Also cleaned up redundant configs in sdkconfig.ci
2023-10-31 15:44:37 +08:00
liuning
4a7a27c189 fix(rom): fix wifi rom ld 2023-10-31 15:41:09 +08:00
Darian Leung
b301f175c9 feat(freertos/idf): Add configRUN_TIME_COUNTER_TYPE option
This commit adds a Kconfig option for configRUN_TIME_COUNTER_TYPE

Closes https://github.com/espressif/esp-idf/issues/11973
2023-10-31 14:55:12 +08:00
Jiang Jiang Jian
fa853f8262 Merge branch 'bugfix/fix_c6_wrong_reg_offset' into 'master'
fix(coex): fix esp32c6 wrong reg offset

See merge request espressif/esp-idf!26664
2023-10-31 14:49:49 +08:00
Jiang Jiang Jian
f89a879e80 Merge branch 'bugfix/fix_compilation_issue' into 'master'
fix(wpa_supplicant): Fix compilation issue in EAP disabled

Closes IDFGH-11304

See merge request espressif/esp-idf!26659
2023-10-31 14:29:15 +08:00
morris
d78750306d refactor(emac): use clock_output driver for configuring RMII reference clock 2023-10-31 14:24:48 +08:00
Jiang Jiang Jian
5f518dbdde Merge branch 'bugfix/disable_fastpbkdf2_hardwaredisable' into 'master'
fix(wpa_supplicant): implement sha1_finish for fastpbkdf2

Closes WIFIBUG-208

See merge request espressif/esp-idf!26682
2023-10-31 14:18:15 +08:00
Shreyas Sheth
8b8d4a0ffc fix(wifi): wpa3 softap fix deauth when assoc req recv before sae is finished 2023-10-31 06:13:49 +00:00
Island
a436eaf045 Merge branch 'feat/support_ble_notify_reg_max' into 'master'
feat(bt/bluedroid): Support BLE gattc notify registration number

See merge request espressif/esp-idf!26641
2023-10-31 12:29:33 +08:00
gaoxu
0ea0b39725 feat(adc_cali): Add ADC calibration support for ESP32H2 2023-10-31 11:29:30 +08:00
Armando (Dou Yiwen)
100ba9f375 Merge branch 'doc/added_adc_calibration_efuse_error_info' into 'master'
doc(adc): added efuse related failure doc

Closes IDFGH-11205

See merge request espressif/esp-idf!26741
2023-10-31 11:11:32 +08:00
Radim Karniš
cd64c8d420 Merge branch 'docs/clang_tidy_compiler' into 'master'
docs(idf-clang-tidy): Mention the need for a clang based toolchain

Closes IDFGH-9907 and IDFGH-9913

See merge request espressif/esp-idf!26399
2023-10-31 10:32:20 +08:00
David Cermak
327629c527 feat(example): Use PPP config in one MQTT example
to be build in CI, but only running PPP on UART to avoid adding tinyusb
dependency.
2023-10-30 14:50:03 +01:00
David Cermak
1780bababd feat(examples): Add PPP to common connection component 2023-10-30 14:50:00 +01:00
Gao Xu
8b953557c1 Merge branch 'bugfix/fix_adc_read_zero_h2' into 'master'
ADC: fix adc raw data get 0 because of signal delay on ESP32H2

See merge request espressif/esp-idf!26572
2023-10-30 20:51:08 +08:00
Peter Marcisovsky
546b76befa feat(usb/host): Modifiy usb_host_lib example
The example keeps handling connections/disconnections indefinitely.
Added kconfig.projbuild for GPIO selection.
GPIO0 press does terdown/uninstall.
2023-10-30 13:40:44 +01:00
Fu Hanxi
5e1826678d Merge branch 'ci/improve_check_pylint' into 'master'
ci: improve check pylint get files command

See merge request espressif/esp-idf!26578
2023-10-30 19:29:44 +08:00
Fu Hanxi
14d8fc82fe ci: update constraint file to 5.3 2023-10-30 12:00:29 +01:00
Jakob Hasse
bd34fc41bb fix(freertos): Fixed prvTaskCreateDynamicPinnedToCoreWithCaps
* The function was based on an outdated IDF/FreeRTOS
  combination which didn't always require zero-ing
  the TCB. This has been changed in the current
  IDF/FreeRTOS combination, leading to crashes.
  Unconditionally zero-ing the TCB fixes this problem.
2023-10-30 18:09:17 +08:00
zwx
f63c05357b feat(openthread): Add deep sleep support for SED 2023-10-30 17:59:55 +08:00
zhanghaipeng
c1b39f7aa5 fix(bt/bluedroid): Fix BLE remove bond list status 2023-10-30 17:45:38 +08:00
Armando
16d8b7df41 feat(color): added helper to get color space and color pixel format 2023-10-30 17:32:47 +08:00
Armando
7efcf06c5d change(ll): update color space types, ll changes 2023-10-30 17:32:46 +08:00
Armando
97526e9288 feat(isp): isp af submodule low level driver 2023-10-30 17:32:46 +08:00
Linda
ddb82f7ac9 docs: add Ethernet driver update to migration from 4.4 to 5.0 2023-10-30 17:24:37 +08:00
Tomáš Rohlínek
3f4698ac47 fix(storage/fatfs): add missing lock release introduced by IMMEDIATE_FSYNC 2023-10-30 10:22:08 +01:00
Laukik Hase
6fc878f857 fix(ci): Use latest stable actions/checkout@v3 instead of v2 for GitHub Actions 2023-10-30 13:43:10 +05:30
alanmaxwell
120e53b34d fix(phy): Fix ESP32C6 rx pkts fail in light sleep mode 2023-10-30 14:26:25 +08:00
alanmaxwell
2eb1a7f933 fix(wifi): Fix bug using CONFIG_WIFI_ENABLED macro 2023-10-30 14:24:31 +08:00
Armando
95b0152637 doc(adc): added efuse related failure doc
Closes https://github.com/espressif/esp-idf/issues/12372
2023-10-30 14:20:24 +08:00
wanlei
7cd75c1075 feat(spi_slave): add p4 hp spi slave driver support 2023-10-30 12:51:56 +08:00
wuzhenghui
ad2629af54 ci(ulp_test): fix fake sleep of the maincore in ulp pytest cases 2023-10-30 11:18:01 +08:00
wuzhenghui
18f984fd9c fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable 2023-10-30 11:18:01 +08:00
radim.karnis
0349f471af docs(idf-clang-tidy): Mention the need for a clang based toolchain
Closes https://github.com/espressif/clang-tidy-runner/issues/32
2023-10-30 11:10:11 +08:00
Wan Lei
7c21207bd3 Merge branch 'feature/esp32p4_twai_support' into 'master'
feat(twai): support legacy twai(can) driver for esp32p4

Closes IDF-7470

See merge request espressif/esp-idf!26073
2023-10-30 10:57:03 +08:00
Jiang Jiang Jian
7ade26caf1 Merge branch 'bugfix/connect_issue_for_zero_rssi' into 'master'
fix(esp_wifi): Fix issue of station disconnecting immediately after scanning

Closes WIFIBUG-132 and IDFCI-1847

See merge request espressif/esp-idf!25915
2023-10-30 10:16:27 +08:00
Jin Cheng
b319143e3b feat(bt/bluedroid): Added bt_discovery based host only example 2023-10-30 00:52:26 +00:00
Jin Cheng
fc174f5811 feat(bt/bluedroid): Added mode to use BlueDroid host only without Bluetooth Controller 2023-10-30 00:52:26 +00:00
Mahavir Jain
64cb35deef docs(security): add section about managing the root certificates 2023-10-29 12:21:23 +05:30
Mahavir Jain
ac97c61d1a docs: add section about periodic sync of the certificate bundle 2023-10-29 12:21:22 +05:30
Mahavir Jain
5b047057ca feat(mbedtls): add new deprecated cert list and relevant config
Cert bundle is periodically updated with the upstream Mozilla's NSS
root cert store. Retracted certs are moved to deprecated list now and
an additional config allows to include them in the default bundle. New
config is kept default disabled but can be enabled if one would like
to ensure 100% compatibility w.r.t. cert bundle across IDF minor or
patch releases. In IDF major release the deprecated list shall be reset.
2023-10-29 12:21:22 +05:30
Espressif BOT
24446bfab1 change(esp_crt_bundle): Update esp_crt_bundle certificates 2023-10-29 12:21:21 +05:30
Aleksei Apaseev
3a998bd0ce ci: Upload artifacts of target stage jobs to s3 bucket 2023-10-29 12:44:11 +08:00
C.S.M
59d029bf66 Merge branch 'feat/i2c_rcc_support' into 'master'
refactor(i2c): Add reset and clock control to i2c ll layer

See merge request espressif/esp-idf!26684
2023-10-28 10:01:06 +08:00
Mahavir Jain
11c8501f32 Merge branch 'refactor/hal_mpu_test' into 'master'
refactor(tools/test_apps): Move HAL tests for MPU to the `panic` test-app

Closes IDF-5590

See merge request espressif/esp-idf!26422
2023-10-27 20:50:19 +08:00
Mahavir Jain
fc1080dc6a Merge branch 'bugfix/mbedtls_linux_entropy' into 'master'
fix(mbedtls): allow to use built in entropy implementation for linux target

See merge request espressif/esp-idf!26413
2023-10-27 20:14:57 +08:00
luomanruo
b281a72fa1 ble: update c2 lib to 6ed444f2 2023-10-27 20:11:47 +08:00
Ivan Grokhotkov
cbb6fa0507 Merge branch 'bugfix/esp32s3_usb_otg_console_without_efuse' into 'master'
fix(console): switch USB PHY to OTG when OTG is used for console

Closes IDFGH-11281

See merge request espressif/esp-idf!26653
2023-10-27 20:09:09 +08:00
Jiang Jiang Jian
2133e28cf2 Merge branch 'bugfix/esp32c6_phy_coex_sleep_issue' into 'master'
fix(esp_phy): update esp32c6 libphy for coex zb rx and sleep bug

See merge request espressif/esp-idf!26667
2023-10-27 19:48:40 +08:00
zhanghaipeng
f4305753c8 feat(bt/bluedroid): Display BLE permission check handle in error trace 2023-10-27 19:31:44 +08:00
zhanghaipeng
a051438322 fix(bt/bluedroid): Fix max BLE gattc notify number to improve compatibility 2023-10-27 19:31:44 +08:00
zhanghaipeng
6f400e1b5d feat(bt/bluedroid): Support BLE gattc notify registration number 2023-10-27 19:31:44 +08:00
Rahul Tank
a4e712f61a fix(nimble): remove IRAM_ATTR from npl_os_freertos.c file 2023-10-27 16:18:48 +05:30
C.S.M
4111b07076 Merge branch 'bugfix/flash_enc_plaintext' into 'master'
fix(flash_encryption): Fix the issue that XTS_AES Plain text memory size wrong

See merge request espressif/esp-idf!26640
2023-10-27 18:23:00 +08:00
Ondrej Kosta
fc59e9c160 Merge branch 'bugfix/make_eth_ci_nightrun' into 'master'
ci(esp_eth): make additional Ethernet chips test as nightly run

See merge request espressif/esp-idf!26695
2023-10-27 16:33:00 +08:00
Tomáš Rohlínek
8f3abfb60e feat(storage): add dependencies for tests 2023-10-27 10:07:40 +02:00
Tomáš Rohlínek
53f4f19cc1 feat(storage): update config for app tests 2023-10-27 10:07:31 +02:00
luomanruo
d42fbcf144 ble: update c2 rom.ld 2023-10-27 16:03:32 +08:00
cjin
43b53a1885 change(ble): added option for msys buffer source 2023-10-27 16:03:05 +08:00
David Cermak
a9846479ff fix(examples): Fix usage of SNTP netif API in examples 2023-10-27 09:28:20 +02:00
Zhang Hai Peng
9327274a7a Merge branch 'bugfix/fix_ble_hid' into 'master'
fix(bt/bluedroid): Fixed BLE hid example bugs

Closes BLERP-190

See merge request espressif/esp-idf!26613
2023-10-27 15:10:33 +08:00
Zhang Hai Peng
72fc360ad3 Merge branch 'fix/correct-typo-from-disbale-to-disable' into 'master'
fix: corrected typo from disbale to disable in numerous places

See merge request espressif/esp-idf!26644
2023-10-27 15:10:06 +08:00
luomanruo
d23e4d6f3e ble: update c6 h2 lib to 5bd7cb83, c2 lib to 1d31e175 2023-10-27 14:28:10 +08:00
morris
cfbf857924 Merge branch 'refactor/esp_driver_pcnt' into 'master'
refactor(pcnt): make pcnt driver as component

Closes IDF-8380

See merge request espressif/esp-idf!26476
2023-10-27 12:37:36 +08:00
Sarvesh Bodakhe
0a95914839 fix(esp_wifi): Fix issue of station disconnecting immediately when AP RSSI is zero 2023-10-27 09:35:20 +05:30
Ivan Grokhotkov
6f9d3bfc76 Merge branch 'update/version_5_3_0' into 'master'
Start of v5.3 development (v5.3-dev)

See merge request !26669
2023-10-27 06:02:37 +02:00
Cao Sen Miao
0bf1dce413 refactor(i2c): Add reset and clock control to i2c ll layer 2023-10-27 10:50:35 +08:00
morris
47a9396a8c Merge branch 'bugfix/i2c_ll_read_write_fifo_by_index' into 'master'
fix(i2c): read write FIFO memory by volatile

See merge request espressif/esp-idf!26658
2023-10-27 10:22:06 +08:00
Ivan Grokhotkov
8171b22c40 change(version): Update version to 5.3.0 2023-10-27 03:06:55 +02:00
Mahavir Jain
47678fc17b Merge branch 'fix/refactor_esp_tls_server' into 'master'
fix(esp_tls): Refactor esp-tls to remove ESP_TLS_SERVER config option

Closes IDFGH-10812

See merge request espressif/esp-idf!25773
2023-10-27 06:34:44 +08:00
Chen Yu Dong
c6b6a7829d Merge branch 'ci/remove_unused_integration_test_files' into 'master'
ci: remove unused integration test files

See merge request espressif/esp-idf!26655
2023-10-27 05:12:47 +08:00
chenjianhua
ada56ca062 Update bt lib for ESP32-C3 and ESP32-S3(f817304)
- Support get the range of TX power level
- Support clear legacy adv using vendor hci
2023-10-26 19:43:02 +08:00
Cao Sen Miao
420ac840ff fix(flash_encryption): Fix the issue that XTS_AES Plain text memory size wrong 2023-10-26 19:38:42 +08:00
Ondrej
58b6add55c ci(esp_eth): make additional Ethernet chips test as nightly run 2023-10-26 11:38:28 +00:00
zhanghaipeng
2e762ae3f7 fix(bt/bluedroid): Fix key size check in BLE smp 2023-10-26 19:21:21 +08:00
chenjianhua
7a1db4befb feat(bt/bluedroid): support clear legacy advertising 2023-10-26 19:14:54 +08:00
Xu Si Yu
030cac07df fix(coex): fix esp32c6 wrong reg offset 2023-10-26 17:59:09 +08:00
Mahavir Jain
804ed172dd fix(mbedtls): allow to use built in entropy implementation for linux target 2023-10-26 15:12:42 +05:30
Aditya Patwardhan
a0d73b5155 fix(esp_https_server): Convert HTTPD_SSL_CONFIG_DEFAULT MACRO to function
Previously with HTTPD_SSL_CONFIG_DEFAULT being a MACRO, the
    configuration options could not be applied to it. This was casuing
    error in multiple scenarios. For e.g., here user_cert_cb is a part
    of httpd_ssl_config_t which this macro defines. But the type of
    user_cert_cb (esp_tls_server_callback_t) is only available when it is enabled
    in esp-tls. The MACRO however cannot be modified to set the defaults
    based on configuration option. This fix solves the issue without
    breaking the compatibility
2023-10-26 09:30:13 +00:00
Aditya Patwardhan
d4544a0d5c fix(esp_https_server): Remove dependency on CONFIG_ESP_TLS_SERVER
Closes https://github.com/espressif/esp-idf/issues/12023
2023-10-26 09:30:13 +00:00
Aditya Patwardhan
5ce93aa257 fix(esp_tls): Refactor esp-tls to remove ESP_TLS_SERVER config option 2023-10-26 09:30:13 +00:00
wanlei
d9d6f5a17a feat(twai): support legacy twai(can) driver for esp32p4 2023-10-26 16:20:45 +08:00
Kapil Gupta
04d874d6a3 fix(wpa_supplicant): implement sha1_finish for fastpbkdf2 2023-10-26 13:27:39 +05:30
morris
418494800c fix(i2c): read write FIFO memory by volatile 2023-10-26 14:40:07 +08:00
zhanghaipeng
f7e174e948 fix(bt/bluedroid): Optimize compatibility with Android 10 and later devices 2023-10-26 14:14:15 +08:00
morris
15cefab479 fix(rmt): a disabled channel may pick up a pending transaction
because in the trans_done interrupt, the driver didn't check the channel FSM
2023-10-26 12:11:07 +08:00
xiaqilin
c8f4fa2866 fix(esp_phy): update esp32c6 libphy for coex zb rx and sleep bug 2023-10-25 16:10:27 +08:00
Chen Yudong
f1c6bc9e68 ci: remove unused integration test rules 2023-10-25 14:16:45 +08:00
Kapil Gupta
53939de34e fix(wpa_supplicant): Fix compilation issue in EAP disabled 2023-10-25 09:55:12 +05:30
Shang Zhou
57f5343462 docs: Provide CN translation for api-reference/peripherals/ds.rst 2023-10-25 10:25:36 +08:00
Chen Yudong
32fd50fa7f ci: remove unused integration test files 2023-10-24 21:30:58 +08:00
Ivan Grokhotkov
a8e175364a fix(console): switch USB PHY to OTG when OTG is used for console
On ESP32-S3 with the default efuse settings, USB PHY is connected to
the USB_SERIAL_JTAG peripheral. If USB OTG peripheral is used for the
console, we need to additionally switch the PHY to USB OTG, otherwise
we won't get any output.

Closes https://github.com/espressif/esp-idf/issues/12437
2023-10-24 13:29:15 +02:00
Li Shuai
fa489d3c20 change(Power Management): the xpd_xtal32k value depends on system slow clock source config option when pmu initialize 2023-10-24 17:11:53 +08:00
zhanghaipeng
b90dc6a515 feat(bt/bluedroid): Support hid device control point 2023-10-24 15:17:49 +08:00
zhanghaipeng
5727802497 fix(bt/bluedroid): Optimize compatibility with IOS and MACOS devices 2023-10-24 14:52:56 +08:00
DevinNorgarb
001b10ec45 fix: corrected typo from disbale to disable in numerous places 2023-10-24 14:10:39 +08:00
wuzhenghui
8bc69e0354 fix(esp_system): increase esp32h2 slow clock calibration timeout watchdog threshold 2023-10-23 21:24:56 +08:00
morris
98b5ea7bdf refactor(pcnt): make pcnt driver as component 2023-10-23 01:45:43 +00:00
Fu Hanxi
ba3d23342d ci: improve check pylint get files command 2023-10-19 11:53:18 +02:00
zwx
1d6f77136d feat(openthread): add config for radio statistic feature 2023-10-16 17:35:52 +08:00
Laukik Hase
3f67722274 refactor(tools/test_apps): Move HAL tests for MPU to the panic test-app 2023-10-13 10:16:57 +05:30
Leif Jakob
d0bcf76f30 fix receicing of DHCP vendor info 2023-07-07 17:01:17 +02:00
Grigory Kirillov
11d53820f2 Remove semicolons from ESP_IP4ADDR_INIT and ESP_IP6ADDR_INIT macros
There are structs like esp_netif_dns_info_t that have member for
generic ip for which the presence of semicolons is problematic, because
when trying to initialize an ip member with one of these macroses it
results in a syntax error since semicolon is used within curly braces.
2023-05-21 01:34:53 +03:00
10640 changed files with 1331199 additions and 955071 deletions

4
.codespellrc Normal file
View File

@@ -0,0 +1,4 @@
[codespell]
skip = build,*.yuv,components/fatfs/src/*,alice.txt,*.rgb,components/wpa_supplicant/*,components/esp_wifi/*,*.pem
ignore-words-list = ser,dout,rsource,fram,inout,shs,ans,aci,unstall,unstalling,hart,wheight,wel,ot,fane,assertIn,registr,oen,parms
write-changes = true

View File

@@ -1,5 +0,0 @@
# Transpiled JavaScript (if any)
dist
# Installed dependencies
node_modules

View File

@@ -1,47 +0,0 @@
# DangerJS pull request automatic review tool - GitHub
## Implementation
The main development is done in Espressif Gitlab project.
Espressif [GitHub project espressif/esp-idf](https://github.com/espressif/esp-idf) is only a public mirror.
Therefore, all changes and updates to DangerJS files (`.github/dangerjs`) must be made via MR in the **Gitlab** repository by Espressif engineer.
When adding a new Danger rule or updating existing one, might be a good idea to test it on the developer's fork of GitHub project. This way, the new feature can be tested using a GitHub action without concern of damaging Espressif's GitHub repository.
Danger for Espressif GitHub is implemented in TypeScript. This makes the code more readable and robust than plain JavaScript.
Compilation to JavaScript code (using `tsc`) is not necessary; Danger handles TypeScript natively.
A good practice is to store each Danger rule in a separate module, and then import these modules into the main Danger file `.github/dangerjs/dangerfile.ts` (see how this is done for currently present modules when adding a new one).
If the Danger module (new check/rule) uses an external NPM module (e.g. `axios`), be sure to add this dependency to `.github/dangerjs/package.json` and also update `.github/dangerjs/package-lock.json`.
In the GitHub action, `danger` is not installed globally (nor are its dependencies) and the `npx` call is used to start the `danger` checks in CI.
## Adding new Danger rule
For local development you can use following strategy
#### Install dependencies
```sh
cd .github/dangerjs
npm install
```
(If the IDE still shows compiler/typing errors, reload the IDE window.)
#### Add new code as needed or make updates
#### Test locally
Danger rules can be tested locally (without running the GitHub action pipeline).
To do this, you have to first export the ENV variables used by Danger in the local terminal:
```sh
export GITHUB_TOKEN='**************************************'
```
Then you can call Danger by:
```sh
cd .github/dangerjs
danger pr https://github.com/espressif/esp-idf/pull/<number_of_pull_request>
```
The result will be displayed in your terminal.

View File

@@ -1,48 +0,0 @@
import { DangerResults } from "danger";
declare const results: DangerResults;
declare const message: (message: string, results?: DangerResults) => void;
declare const markdown: (message: string, results?: DangerResults) => void;
// Import modules with danger rules
// (Modules with checks are stored in ".github/dangerjs/<module_name>.ts". To import them, use path relative to "dangerfile.ts")
import prCommitsTooManyCommits from "./prCommitsTooManyCommits";
import prDescription from "./prDescription";
import prTargetBranch from "./prTargetBranch";
import prInfoContributor from "./prInfoContributor";
import prCommitMessage from "./prCommitMessage";
async function runDangerRules(): Promise<void> {
// Message to contributor about review and merge process
const prInfoContributorMessage: string = await prInfoContributor();
markdown(prInfoContributorMessage);
// Run danger checks
prCommitsTooManyCommits();
prDescription();
prTargetBranch();
prCommitMessage();
// Add success log if no issues
const dangerFails: number = results.fails.length;
const dangerWarns: number = results.warnings.length;
const dangerInfos: number = results.messages.length;
if (!dangerFails && !dangerWarns && !dangerInfos) {
return message("Good Job! All checks are passing!");
}
// Add retry link
addRetryLink();
}
runDangerRules();
function addRetryLink(): void {
const serverUrl: string | undefined = process.env.GITHUB_SERVER_URL;
const repoName: string | undefined = process.env.GITHUB_REPOSITORY;
const runId: string | undefined = process.env.GITHUB_RUN_ID;
const retryLinkUrl: string = `${serverUrl}/${repoName}/actions/runs/${runId}`;
const retryLink: string = `<sub>:repeat: You can re-run automatic PR checks by retrying the <a href="${retryLinkUrl}">DangerJS action</a></sub>`;
markdown(retryLink);
}

1999
.github/dangerjs/package-lock.json generated vendored

File diff suppressed because it is too large Load Diff

View File

@@ -1,18 +0,0 @@
{
"name": "dangerjs-github",
"description": "GitHub PR reviewing with DangerJS",
"main": "dangerfile.ts",
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"axios": "^1.3.3",
"danger": "^11.2.3",
"request": "^2.88.2",
"sync-request": "^6.1.0",
"typescript": "^5.0.3"
},
"devDependencies": {
"@types/node": "^18.15.11"
}
}

View File

@@ -1,67 +0,0 @@
import { DangerDSLType, DangerResults } from "danger";
declare const danger: DangerDSLType;
declare const warn: (message: string, results?: DangerResults) => void;
interface Commit {
message: string;
}
/**
* Check if commit messages are sufficiently descriptive (not too short).
*
* Search for commit messages that appear to be automatically generated or temporary messages and report them.
*
* @dangerjs WARN
*/
export default function (): void {
const prCommits: Commit[] = danger.git.commits;
const detectRegexes: RegExp[] = [
/^Merge pull request #\d+ from .*/i, // Automatically generated message by GitHub
/^Merged .+:.+ into .+/i, // Automatically generated message by GitHub
/^Automatic merge by GitHub Action/i, // Automatically generated message by GitHub
/^Merge branch '.*' of .+ into .+/i, // Automatically generated message by GitHub
/^Create\s[a-zA-Z0-9_.-]+(\.[a-zA-Z0-9]{1,4})?(?=\s|$)/, // Automatically generated message by GitHub using UI
/^Delete\s[a-zA-Z0-9_.-]+(\.[a-zA-Z0-9]{1,4})?(?=\s|$)/, // Automatically generated message by GitHub using UI
/^Update\s[a-zA-Z0-9_.-]+(\.[a-zA-Z0-9]{1,4})?(?=\s|$)/, // Automatically generated message by GitHub using UI
/^Initial commit/i, // Automatically generated message by GitHub
/^WIP.*/i, // Message starts with prefix "WIP"
/^Cleaned.*/i, // Message starts "Cleaned", , probably temporary
/^Test:.*/i, // Message starts with "test" prefix, probably temporary
/clean ?up/i, // Message contains "clean up", probably temporary
/^[^A-Za-z0-9\s].*/, // Message starts with special characters
];
let partMessages: string[] = [];
for (const commit of prCommits) {
const commitMessage: string = commit.message;
const commitMessageTitle: string = commit.message.split("\n")[0];
// Check if the commit message matches any regex from "detectRegexes"
if (detectRegexes.some((regex) => commitMessage.match(regex))) {
partMessages.push(
`- the commit message \`${commitMessageTitle}\` appears to be a temporary or automatically generated message`
);
continue;
}
// Check if the commit message is not too short
const shortCommitMessageThreshold: number = 20; // commit message is considered too short below this number of characters
if (commitMessage.length < shortCommitMessageThreshold) {
partMessages.push(
`- the commit message \`${commitMessageTitle}\` may not be sufficiently descriptive`
);
}
}
// Create report
if (partMessages.length) {
partMessages.sort();
let dangerMessage = `\nSome issues found for the commit messages in this MR:\n${partMessages.join(
"\n"
)}
\nPlease consider updating these commit messages.`;
warn(dangerMessage);
}
}

View File

@@ -1,19 +0,0 @@
import { DangerDSLType, DangerResults } from "danger";
declare const danger: DangerDSLType;
declare const message: (message: string, results?: DangerResults) => void;
/**
* Check if pull request has not an excessive numbers of commits (if squashed)
*
* @dangerjs INFO
*/
export default function (): void {
const tooManyCommitThreshold: number = 2; // above this number of commits, squash commits is suggested
const prCommits: number = danger.github.commits.length;
if (prCommits > tooManyCommitThreshold) {
return message(
`You might consider squashing your ${prCommits} commits (simplifying branch history).`
);
}
}

View File

@@ -1,19 +0,0 @@
import { DangerDSLType, DangerResults } from "danger";
declare const danger: DangerDSLType;
declare const warn: (message: string, results?: DangerResults) => void;
/**
* Check if pull request has has a sufficiently accurate description
*
* @dangerjs WARN
*/
export default function (): void {
const prDescription: string = danger.github.pr.body;
const shortPrDescriptionThreshold: number = 100; // Description is considered too short below this number of characters
if (prDescription.length < shortPrDescriptionThreshold) {
return warn(
"The PR description looks very brief, please check if more details can be added."
);
}
}

View File

@@ -1,58 +0,0 @@
import { DangerDSLType } from "danger";
declare const danger: DangerDSLType;
interface Contributor {
login?: string;
}
const authorLogin = danger.github.pr.user.login;
const messageKnownContributor: string = `
***
👋 **Hi ${authorLogin}**, thank you for your another contribution to \`espressif/esp-idf\` project!
If the change is approved and passes the tests in our internal git repository, it will appear in this public Github repository on the next sync.
***
`;
const messageFirstContributor: string = `
***
👋 **Welcome ${authorLogin}**, thank you for your first contribution to \`espressif/esp-idf\` project!
📘 Please check [Contributions Guide](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/contribute/index.html#contributions-guide) for the contribution checklist, information regarding code and documentation style, testing and other topics.
🖊️ Please also make sure you have **read and signed** the [Contributor License Agreement for espressif/esp-idf project](https://cla-assistant.io/espressif/esp-idf).
#### Pull request review and merge process you can expect
Espressif develops the ESP-IDF project in an internal repository (Gitlab). We do welcome contributions in the form of bug reports, feature requests and pull requests via this public GitHub repository.
1. An internal issue has been created for the PR, we assign it to the relevant engineer
2. They review the PR and either approve it or ask you for changes or clarifications
3. Once the Github PR is approved, we synchronize it into our internal git repository
4. In the internal git repository we do the final review, collect approvals from core owners and make sure all the automated tests are passing
- At this point we may do some adjustments to the proposed change, or extend it by adding tests or documentation.
5. If the change is approved and passes the tests it is merged into the \`master\` branch
6. On next sync from the internal git repository merged change will appear in this public Github repository
***
`;
/**
* Check whether the author of the pull request is known or a first-time contributor, and add a message to the PR with information about the review and merge process.
*/
export default async function (): Promise<string> {
const contributors = await danger.github.api.repos.listContributors({
owner: danger.github.thisPR.owner,
repo: danger.github.thisPR.repo,
});
const contributorsData: Contributor[] = contributors.data;
const knownContributors: (string | undefined)[] = contributorsData.map(
(contributor: Contributor) => contributor.login
);
if (knownContributors.includes(authorLogin)) {
return messageKnownContributor;
} else {
return messageFirstContributor;
}
}

View File

@@ -1,19 +0,0 @@
import { DangerDSLType, DangerResults } from "danger";
declare const danger: DangerDSLType;
declare const fail: (message: string, results?: DangerResults) => void;
/**
* Check if the target branch is "master"
*
* @dangerjs FAIL
*/
export default function (): void {
const prTargetBranch: string = danger.github?.pr?.base?.ref;
if (prTargetBranch !== "master") {
return fail(`
The target branch for this pull request should be \`master\`.\n
If you would like to add this feature to the release branch, please state this in the PR description and we will consider backporting it.
`);
}
}

View File

@@ -1,17 +0,0 @@
{
"compilerOptions": {
"module": "commonjs",
"moduleResolution": "node",
"esModuleInterop": true,
"target": "es6",
"noImplicitAny": true,
"noUnusedParameters": true,
"strictNullChecks": true,
"sourceMap": true,
"removeComments": true,
"outDir": "./dist"
},
"include": [
"./*.ts"
]
}

View File

@@ -1,15 +0,0 @@
version: 2
updates:
- package-ecosystem: "all"
directory: "/"
schedule:
interval: "weekly"
ignore:
- directory: ".gitlab/dangerjs"
patterns:
- "package-lock.json"
- directory: ".github/dangerjs"
patterns:
- "package-lock.json"
# Disable "version updates" (keep only "security updates")
open-pull-requests-limit: 0

View File

@@ -9,28 +9,19 @@ permissions:
contents: write
jobs:
danger-check:
pull-request-style-linter:
runs-on: ubuntu-latest
defaults:
run:
working-directory: .github/dangerjs
steps:
- name: Check out PR head
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup NodeJS environment
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
cache-dependency-path: .github/dangerjs/package-lock.json
- name: Install DangerJS dependencies
run: npm install
- name: Run DangerJS
run: npx danger ci --failOnErrors -v
- name: DangerJS pull request linter
uses: espressif/shared-github-dangerjs@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
instructions-gitlab-mirror: 'true'
instructions-contributions-file: 'CONTRIBUTING.md'
instructions-cla-link: 'https://cla-assistant.io/espressif/esp-idf'

View File

@@ -12,7 +12,7 @@ jobs:
name: Sync Issue Comments to Jira
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Sync issue comments to JIRA
uses: espressif/github-actions/sync_issues_to_jira@master
env:

View File

@@ -12,7 +12,7 @@ jobs:
name: Sync issues to Jira
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Sync GitHub issues to Jira project
uses: espressif/github-actions/sync_issues_to_jira@master
env:

View File

@@ -15,7 +15,7 @@ jobs:
name: Sync PRs to Jira
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Sync PRs to Jira project
uses: espressif/github-actions/sync_issues_to_jira@master
with:

View File

@@ -11,7 +11,7 @@ jobs:
(github.event.label.name == 'PR-Sync-Rebase') ||
(github.event.label.name == 'PR-Sync-Update')
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Sync approved PRs to internal codebase
uses: espressif/github-actions/github_pr_to_internal_pr@master
env:

View File

@@ -14,7 +14,7 @@ jobs:
SKIP: "cleanup-ignore-lists" # Comma-separated string of ignored pre-commit check IDs
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Fetch head and base refs
# This is necessary for pre-commit to check the changes in the PR branch
run: |
@@ -40,3 +40,5 @@ jobs:
echo ""
exit 1
fi
# Run pre-commit for PowerShell scripts check
pre-commit run --hook-stage manual check-powershell-scripts --from-ref base_ref --to-ref pr_ref --show-diff-on-failure

View File

@@ -0,0 +1,34 @@
name: Vulnerability scan
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
vulnerability-scan:
strategy:
# We don't want to run all jobs in parallel, because this would
# overload NVD and we would get 503
max-parallel: 1
matrix:
# References/branches which should be scanned for vulnerabilities are
# defined in the VULNERABILITY_SCAN_REFS variable as json list.
# For example: ['master', 'release/v5.2', 'release/v5.1', 'release/v5.0', 'release/v4.4']
ref: ${{ fromJSON(vars.VULNERABILITY_SCAN_REFS) }}
name: Vulnerability scan
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
ref: ${{ matrix.ref }}
- name: Vulnerability scan
env:
SBOM_MATTERMOST_WEBHOOK: ${{ secrets.SBOM_MATTERMOST_WEBHOOK }}
NVDAPIKEY: ${{ secrets.NVDAPIKEY }}
uses: espressif/esp-idf-sbom-action@master
with:
ref: ${{ matrix.ref }}

44
.gitignore vendored
View File

@@ -24,18 +24,6 @@ GPATH
# cache dir
.cache/
# Components Unit Test Apps files
components/**/build/
components/**/build_*_*/
components/**/sdkconfig
components/**/sdkconfig.old
# Example project files
examples/**/build/
examples/**/build_esp*_*/
examples/**/sdkconfig
examples/**/sdkconfig.old
# Doc build artifacts
docs/_build/
docs/doxygen_sqlite3.db
@@ -44,16 +32,23 @@ docs/doxygen_sqlite3.db
docs/_static/DejaVuSans.ttf
docs/_static/NotoSansSC-Regular.otf
# Components Unit Test Apps files
components/**/build/
components/**/build_*_*/
components/**/sdkconfig
components/**/sdkconfig.old
# Example project files
examples/**/build/
examples/**/build_*_*/
examples/**/sdkconfig
examples/**/sdkconfig.old
# Unit test app files
tools/unit-test-app/sdkconfig
tools/unit-test-app/sdkconfig.old
tools/unit-test-app/build
tools/unit-test-app/build_*_*/
tools/unit-test-app/output
tools/unit-test-app/test_configs
# Unit Test CMake compile log folder
log_ut_cmake
tools/unit-test-app/sdkconfig
tools/unit-test-app/sdkconfig.old
# test application build files
tools/test_apps/**/build/
@@ -61,7 +56,8 @@ tools/test_apps/**/build_*_*/
tools/test_apps/**/sdkconfig
tools/test_apps/**/sdkconfig.old
TEST_LOGS
TEST_LOGS/
build_summary_*.xml
# gcov coverage reports
*.gcda
@@ -100,9 +96,13 @@ dependencies.lock
managed_components
# pytest log
pytest-embedded/
# legacy one
pytest_embedded_log/
list_job_*.txt
size_info.txt
list_job*.txt
size_info*.txt
XUNIT_RESULT*.xml
.manifest_sha
# clang config (for LSP)
.clangd

View File

@@ -18,14 +18,18 @@ workflow:
# Place the default settings in `.gitlab/ci/common.yml` instead
include:
- '.gitlab/ci/danger.yml'
- '.gitlab/ci/common.yml'
- '.gitlab/ci/rules.yml'
- '.gitlab/ci/upload_cache.yml'
- '.gitlab/ci/docs.yml'
- '.gitlab/ci/static-code-analysis.yml'
- '.gitlab/ci/pre_commit.yml'
- '.gitlab/ci/pre_check.yml'
- '.gitlab/ci/build.yml'
- '.gitlab/ci/integration_test.yml'
- '.gitlab/ci/host-test.yml'
- '.gitlab/ci/target-test.yml'
- '.gitlab/ci/deploy.yml'
- '.gitlab/ci/post_deploy.yml'
- '.gitlab/ci/retry_failed_jobs.yml'
- '.gitlab/ci/test-win.yml'

View File

@@ -1,7 +1,7 @@
.build_template:
stage: build
extends:
- .after_script:build:ccache
- .after_script:build:ccache-show-stats:upload-failed-job-logs
image: $ESP_ENV_IMAGE
tags:
- build
@@ -12,11 +12,11 @@
IDF_CCACHE_ENABLE: "1"
dependencies: []
.build_cmake_template:
.build_cmake_clang_template:
extends:
- .build_template
- .before_script:build
- .after_script:build:ccache
- .after_script:build:ccache-show-stats
dependencies: # set dependencies to null to avoid missing artifacts issue
needs:
- job: fast_template_app
@@ -32,31 +32,13 @@
# keep the size info to help track the binary size
- size_info.txt
- "**/build*/size.json"
expire_in: 1 week
when: always
expire_in: 4 days
script:
# CI specific options start from "--parallel-count xxx". could ignore when running locally
- run_cmd python tools/ci/ci_build_apps.py $TEST_DIR -v
-t $IDF_TARGET
--copy-sdkconfig
--parallel-count ${CI_NODE_TOTAL:-1}
--parallel-index ${CI_NODE_INDEX:-1}
--extra-preserve-dirs
examples/bluetooth/esp_ble_mesh/ble_mesh_console
examples/bluetooth/hci/controller_hci_uart_esp32
examples/wifi/iperf
--modified-components ${MODIFIED_COMPONENTS}
--modified-files ${MODIFIED_FILES}
# for detailed documents, please refer to .gitlab/ci/README.md#uploaddownload-artifacts-to-internal-minio-server
- python tools/ci/artifacts_handler.py upload
.build_cmake_clang_template:
extends:
- .build_cmake_template
variables:
IDF_TOOLCHAIN: clang
TEST_BUILD_OPTS_EXTRA: ""
TEST_DIR: tools/test_apps/system/cxx_pthread_bluetooth
TEST_DIR: tools/test_apps/system/clang_build_test
PYTEST_IGNORE_COLLECT_IMPORT_ERROR: "1"
script:
# CI specific options start from "--parallel-count xxx". could ignore when running locally
- run_cmd python tools/ci/ci_build_apps.py $TEST_DIR -v
@@ -64,281 +46,14 @@
--copy-sdkconfig
--parallel-count ${CI_NODE_TOTAL:-1}
--parallel-index ${CI_NODE_INDEX:-1}
--modified-components ${MODIFIED_COMPONENTS}
--modified-files ${MODIFIED_FILES}
--modified-components ${MR_MODIFIED_COMPONENTS}
--modified-files ${MR_MODIFIED_FILES}
$TEST_BUILD_OPTS_EXTRA
- python tools/ci/artifacts_handler.py upload
.build_pytest_template:
extends:
- .build_cmake_template
script:
# CI specific options start from "--parallel-count xxx". could ignore when running locally
- run_cmd python tools/ci/ci_build_apps.py $TEST_DIR -v
-t $IDF_TARGET
-m \"not host_test\"
--pytest-apps
--parallel-count ${CI_NODE_TOTAL:-1}
--parallel-index ${CI_NODE_INDEX:-1}
--collect-app-info "list_job_${CI_JOB_NAME_SLUG}.txt"
--modified-components ${MODIFIED_COMPONENTS}
--modified-files ${MODIFIED_FILES}
- python tools/ci/artifacts_handler.py upload
.build_pytest_no_jtag_template:
extends:
- .build_cmake_template
script:
# CI specific options start from "--parallel-count xxx". could ignore when running locally
- run_cmd python tools/ci/ci_build_apps.py $TEST_DIR -v
-t $IDF_TARGET
-m \"not host_test and not jtag\"
--pytest-apps
--parallel-count ${CI_NODE_TOTAL:-1}
--parallel-index ${CI_NODE_INDEX:-1}
--collect-app-info "list_job_${CI_JOB_NAME_SLUG}.txt"
--modified-components ${MODIFIED_COMPONENTS}
--modified-files ${MODIFIED_FILES}
- python tools/ci/artifacts_handler.py upload
.build_pytest_jtag_template:
extends:
- .build_cmake_template
script:
# CI specific options start from "--parallel-count xxx". could ignore when running locally
- run_cmd python tools/ci/ci_build_apps.py $TEST_DIR -v
-t $IDF_TARGET
-m \"not host_test and jtag\"
--pytest-apps
--parallel-count ${CI_NODE_TOTAL:-1}
--parallel-index ${CI_NODE_INDEX:-1}
--collect-app-info "list_job_${CI_JOB_NAME_SLUG}.txt"
--modified-components ${MODIFIED_COMPONENTS}
--modified-files ${MODIFIED_FILES}
- python tools/ci/artifacts_handler.py upload
build_pytest_examples_esp32:
extends:
- .build_pytest_no_jtag_template
- .rules:build:example_test-esp32
parallel: 6
variables:
IDF_TARGET: esp32
TEST_DIR: examples
build_pytest_examples_esp32s2:
extends:
- .build_pytest_no_jtag_template
- .rules:build:example_test-esp32s2
parallel: 3
variables:
IDF_TARGET: esp32s2
TEST_DIR: examples
build_pytest_examples_esp32s3:
extends:
- .build_pytest_no_jtag_template
- .rules:build:example_test-esp32s3
parallel: 4
variables:
IDF_TARGET: esp32s3
TEST_DIR: examples
build_pytest_examples_esp32c3:
extends:
- .build_pytest_no_jtag_template
- .rules:build:example_test-esp32c3
parallel: 4
variables:
IDF_TARGET: esp32c3
TEST_DIR: examples
build_pytest_examples_esp32c2:
extends:
- .build_pytest_no_jtag_template
- .rules:build:example_test-esp32c2
parallel: 2
variables:
IDF_TARGET: esp32c2
TEST_DIR: examples
build_pytest_examples_esp32c6:
extends:
- .build_pytest_no_jtag_template
- .rules:build:example_test-esp32c6
parallel: 2
variables:
IDF_TARGET: esp32c6
TEST_DIR: examples
build_pytest_examples_esp32h2:
extends:
- .build_pytest_no_jtag_template
- .rules:build:example_test-esp32h2
parallel: 2
variables:
IDF_TARGET: esp32h2
TEST_DIR: examples
build_pytest_examples_jtag: # for all targets
extends:
- .build_pytest_jtag_template
- .rules:build:example_test
variables:
IDF_TARGET: all
TEST_DIR: examples
build_pytest_components_esp32:
extends:
- .build_pytest_template
- .rules:build:component_ut-esp32
parallel: 5
variables:
IDF_TARGET: esp32
TEST_DIR: components
build_pytest_components_esp32s2:
extends:
- .build_pytest_template
- .rules:build:component_ut-esp32s2
parallel: 4
variables:
IDF_TARGET: esp32s2
TEST_DIR: components
build_pytest_components_esp32s3:
extends:
- .build_pytest_template
- .rules:build:component_ut-esp32s3
parallel: 4
variables:
IDF_TARGET: esp32s3
TEST_DIR: components
build_pytest_components_esp32c3:
extends:
- .build_pytest_template
- .rules:build:component_ut-esp32c3
parallel: 4
variables:
IDF_TARGET: esp32c3
TEST_DIR: components
build_pytest_components_esp32c2:
extends:
- .build_pytest_template
- .rules:build:component_ut-esp32c2
parallel: 3
variables:
IDF_TARGET: esp32c2
TEST_DIR: components
build_pytest_components_esp32c6:
extends:
- .build_pytest_template
- .rules:build:component_ut-esp32c6
parallel: 3
variables:
IDF_TARGET: esp32c6
TEST_DIR: components
build_pytest_components_esp32h2:
extends:
- .build_pytest_template
- .rules:build:component_ut-esp32h2
parallel: 4
variables:
IDF_TARGET: esp32h2
TEST_DIR: components
build_only_components_apps:
extends:
- .build_cmake_template
- .rules:build:component_ut
parallel: 5
script:
- set_component_ut_vars
# CI specific options start from "--parallel-count xxx". could ignore when running locally
- run_cmd python tools/ci/ci_build_apps.py $COMPONENT_UT_DIRS -v
-t all
--parallel-count ${CI_NODE_TOTAL:-1}
--parallel-index ${CI_NODE_INDEX:-1}
--modified-components ${MODIFIED_COMPONENTS}
--modified-files ${MODIFIED_FILES}
- python tools/ci/artifacts_handler.py upload
build_pytest_test_apps_esp32:
extends:
- .build_pytest_template
- .rules:build:custom_test-esp32
variables:
IDF_TARGET: esp32
TEST_DIR: tools/test_apps
build_pytest_test_apps_esp32s2:
extends:
- .build_pytest_template
- .rules:build:custom_test-esp32s2
variables:
IDF_TARGET: esp32s2
TEST_DIR: tools/test_apps
build_pytest_test_apps_esp32s3:
extends:
- .build_pytest_template
- .rules:build:custom_test-esp32s3
parallel: 2
variables:
IDF_TARGET: esp32s3
TEST_DIR: tools/test_apps
build_pytest_test_apps_esp32c3:
extends:
- .build_pytest_template
- .rules:build:custom_test-esp32c3
variables:
IDF_TARGET: esp32c3
TEST_DIR: tools/test_apps
build_pytest_test_apps_esp32c2:
extends:
- .build_pytest_template
- .rules:build:custom_test-esp32c2
variables:
IDF_TARGET: esp32c2
TEST_DIR: tools/test_apps
build_pytest_test_apps_esp32c6:
extends:
- .build_pytest_template
- .rules:build:custom_test-esp32c6
variables:
IDF_TARGET: esp32c6
TEST_DIR: tools/test_apps
build_pytest_test_apps_esp32h2:
extends:
- .build_pytest_template
- .rules:build:custom_test-esp32h2
variables:
IDF_TARGET: esp32h2
TEST_DIR: tools/test_apps
build_only_tools_test_apps:
extends:
- .build_cmake_template
- .rules:build:custom_test
parallel: 9
script:
# CI specific options start from "--parallel-count xxx". could ignore when running locally
- run_cmd python tools/ci/ci_build_apps.py tools/test_apps -v
-t all
--parallel-count ${CI_NODE_TOTAL:-1}
--parallel-index ${CI_NODE_INDEX:-1}
--modified-components ${MODIFIED_COMPONENTS}
--modified-files ${MODIFIED_FILES}
- python tools/ci/artifacts_handler.py upload
######################
# build_template_app #
######################
.build_template_app_template:
extends:
- .build_template
@@ -350,12 +65,12 @@ build_only_tools_test_apps:
BUILD_LOG_CMAKE: "${LOG_PATH}/cmake_@t_@w.txt"
BUILD_COMMAND_ARGS: ""
artifacts:
when: always
paths:
- log_template_app/*
- size_info.txt
- build_template_app/**/size.json
expire_in: 1 week
when: always
script:
# Set the variable for 'esp-idf-template' testing
- ESP_IDF_TEMPLATE_GIT=${ESP_IDF_TEMPLATE_GIT:-"https://github.com/espressif/esp-idf-template.git"}
@@ -374,100 +89,48 @@ fast_template_app:
- .build_template_app_template
- .rules:build:target_test
stage: pre_check
tags: [fast_run, shiny]
variables:
BUILD_COMMAND_ARGS: "-p"
#------------------------------------------------------------------------------
build_examples_cmake_esp32:
#######################
# gnu_static_analyzer #
#######################
gcc_static_analyzer:
extends:
- .build_cmake_template
- .rules:build:example_test-esp32
parallel: 8
- .build_template_app_template
- .rules:build:target_test
stage: pre_check
tags: [build, shiny]
variables:
IDF_TARGET: esp32
TEST_DIR: examples
build_examples_cmake_esp32s2:
extends:
- .build_cmake_template
- .rules:build:example_test-esp32s2
parallel: 7
variables:
IDF_TARGET: esp32s2
TEST_DIR: examples
build_examples_cmake_esp32s3:
extends:
- .build_cmake_template
- .rules:build:example_test-esp32s3
parallel: 11
variables:
IDF_TARGET: esp32s3
TEST_DIR: examples
build_examples_cmake_esp32c2:
extends:
- .build_cmake_template
- .rules:build:example_test-esp32c2
parallel: 7
variables:
IDF_TARGET: esp32c2
TEST_DIR: examples
build_examples_cmake_esp32c3:
extends:
- .build_cmake_template
- .rules:build:example_test-esp32c3
parallel: 9
variables:
IDF_TARGET: esp32c3
TEST_DIR: examples
build_examples_cmake_esp32c6:
extends:
- .build_cmake_template
- .rules:build:example_test-esp32c6
parallel: 11
variables:
IDF_TARGET: esp32c6
TEST_DIR: examples
build_examples_cmake_esp32h2:
extends:
- .build_cmake_template
- .rules:build:example_test-esp32h2
parallel: 9
variables:
IDF_TARGET: esp32h2
TEST_DIR: examples
build_examples_cmake_esp32p4:
extends:
- .build_cmake_template
- .rules:build:example_test-esp32p4
parallel: 4
variables:
IDF_TARGET: esp32p4
TEST_DIR: examples
CI_CCACHE_DISABLE: 1
ANALYZING_APP: "examples/get-started/hello_world"
script:
- echo "CONFIG_COMPILER_STATIC_ANALYZER=y" >> ${ANALYZING_APP}/sdkconfig.defaults
- python -m idf_build_apps build -v -p ${ANALYZING_APP} -t all
########################################
# Clang Build Apps Without Tests Cases #
########################################
build_clang_test_apps_esp32:
extends:
- .build_cmake_clang_template
- .rules:build:custom_test-esp32
- .rules:build
variables:
IDF_TARGET: esp32
build_clang_test_apps_esp32s2:
extends:
- .build_cmake_clang_template
- .rules:build:custom_test-esp32s2
- .rules:build
variables:
IDF_TARGET: esp32s2
build_clang_test_apps_esp32s3:
extends:
- .build_cmake_clang_template
- .rules:build:custom_test-esp32s3
- .rules:build
variables:
IDF_TARGET: esp32s3
@@ -475,81 +138,106 @@ build_clang_test_apps_esp32s3:
extends:
- .build_cmake_clang_template
variables:
# For RISCV clang generates '.linker-options' sections of type 'llvm_linker_options' in asm files.
# See (https://llvm.org/docs/Extensions.html#linker-options-section-linker-options).
# Binutils gas ignores them with warning.
# TODO: LLVM-112, Use integrated assembler.
TEST_BUILD_OPTS_EXTRA: "--ignore-warning-str 'Warning: unrecognized section type'"
# https://reviews.llvm.org/D90108.
# GNU 'as' lets .weak override .globl since binutils-gdb
# https://github.com/bminor/binutils-gdb/commit/5ca547dc2399a0a5d9f20626d4bf5547c3ccfddd (1996)
# while MC lets the last directive win (PR38921).
# For RISCV chips we use integrated assembler by default, so suppress this warning to pass CI pipeline.
TEST_BUILD_OPTS_EXTRA: "--ignore-warning-str 'changed binding to STB_WEAK'"
build_clang_test_apps_esp32c3:
extends:
- .build_clang_test_apps_riscv
- .rules:build:custom_test-esp32c3
- .rules:build
variables:
IDF_TARGET: esp32c3
build_clang_test_apps_esp32c2:
extends:
- .build_clang_test_apps_riscv
- .rules:build:custom_test-esp32c2
- .rules:build
variables:
IDF_TARGET: esp32c2
build_clang_test_apps_esp32c6:
extends:
- .build_clang_test_apps_riscv
- .rules:build:custom_test-esp32c6
# TODO: c6 builds fail in master due to missing headers
allow_failure: true
- .rules:build
variables:
IDF_TARGET: esp32c6
build_clang_test_apps_esp32c5:
extends:
- .build_clang_test_apps_riscv
- .rules:build
variables:
IDF_TARGET: esp32c5
build_clang_test_apps_esp32h2:
extends:
- .build_clang_test_apps_riscv
- .rules:build
variables:
IDF_TARGET: esp32h2
build_clang_test_apps_esp32p4:
extends:
- .build_clang_test_apps_riscv
- .rules:build
variables:
IDF_TARGET: esp32p4
######################
# Build System Tests #
######################
.test_build_system_template:
stage: host_test
extends:
- .build_template
- .rules:build:check
dependencies: # set dependencies to null to avoid missing artifacts issue
needs:
- job: fast_template_app
artifacts: false
optional: true
artifacts:
reports:
junit: XUNIT_RESULT.xml
paths:
- XUNIT_RESULT.xml
- test_build_system
expire_in: 1 week
when: always
script:
- ${IDF_PATH}/tools/ci/test_configure_ci_environment.sh
- cd ${IDF_PATH}/tools/test_build_system
- python ${IDF_PATH}/tools/ci/get_known_failure_cases_file.py
- pytest --parallel-count ${CI_NODE_TOTAL:-1} --parallel-index ${CI_NODE_INDEX:-1}
--work-dir ${CI_PROJECT_DIR}/test_build_system --junitxml=${CI_PROJECT_DIR}/XUNIT_RESULT.xml
- pytest
--cleanup-idf-copy
--parallel-count ${CI_NODE_TOTAL:-1}
--parallel-index ${CI_NODE_INDEX:-1}
--work-dir ${CI_PROJECT_DIR}/test_build_system
--junitxml ${CI_PROJECT_DIR}/XUNIT_RESULT.xml
--ignore-result-files ${KNOWN_FAILURE_CASES_FILE_NAME}
pytest_build_system:
extends: .test_build_system_template
parallel: 3
artifacts:
paths:
- XUNIT_RESULT.xml
- test_build_system
when: always
expire_in: 2 days
reports:
junit: XUNIT_RESULT.xml
pytest_build_system_macos:
extends:
- .test_build_system_template
- .before_script:build:macos
- .after_script:build:macos:upload-failed-job-logs:ccache-show-stats
- .rules:build:macos
tags:
- macos_shell
parallel: 3
artifacts:
paths:
- XUNIT_RESULT.xml
- test_build_system
when: always
expire_in: 2 days
reports:
junit: XUNIT_RESULT.xml
variables:
PYENV_VERSION: "3.8"
# CCACHE_DIR: "/cache/idf_ccache". On macOS, you cannot write to this folder due to insufficient permissions.
CCACHE_DIR: "" # ccache will use "$HOME/Library/Caches/ccache".
CCACHE_MAXSIZE: "5G" # To preserve the limited Macbook storage. CCACHE automatically prunes old caches to fit the set limit.
build_docker:
extends:
- .before_script:minimal
@@ -580,6 +268,57 @@ build_template_app:
- .build_template_app_template
- .rules:build
stage: host_test
dependencies: # set dependencies to null to avoid missing artifacts issue
needs:
- job: fast_template_app
artifacts: false
####################
# Dynamic Pipeline #
####################
generate_build_child_pipeline:
extends:
- .build_template
tags: [fast_run, shiny]
dependencies: # set dependencies to null to avoid missing artifacts issue
needs:
- pipeline_variables
- job: baseline_manifest_sha
optional: true
artifacts:
paths:
- build_child_pipeline.yml
- test_related_apps.txt
- non_test_related_apps.txt
expire_in: 1 week
when: always
variables:
PYTEST_IGNORE_COLLECT_IMPORT_ERROR: "1"
script:
# requires basic pytest dependencies
- run_cmd bash install.sh --enable-pytest
- run_cmd python tools/ci/dynamic_pipelines/scripts/generate_build_child_pipeline.py
build_child_pipeline:
stage: build
needs:
- job: fast_template_app
optional: true
artifacts: false
- pipeline_variables
- generate_build_child_pipeline
variables:
IS_MR_PIPELINE: $IS_MR_PIPELINE
MR_MODIFIED_COMPONENTS: $MR_MODIFIED_COMPONENTS
MR_MODIFIED_FILES: $MR_MODIFIED_FILES
PARENT_PIPELINE_ID: $CI_PIPELINE_ID
BUILD_AND_TEST_ALL_APPS: $BUILD_AND_TEST_ALL_APPS
REPORT_EXIT_CODE: $REPORT_EXIT_CODE
# https://gitlab.com/gitlab-org/gitlab/-/issues/214340
inherit:
variables: false
trigger:
include:
- artifact: build_child_pipeline.yml
job: generate_build_child_pipeline
strategy: depend

View File

@@ -6,12 +6,13 @@ stages:
- pre_check
- build
- assign_test
- build_doc
- target_test
- host_test
- build_doc
- test_deploy
- deploy
- post_deploy
- retry_failed_jobs
variables:
# System environment
@@ -39,7 +40,7 @@ variables:
GIT_FETCH_EXTRA_FLAGS: "--no-recurse-submodules --prune --prune-tags"
# we're using .cache folder for caches
GIT_CLEAN_FLAGS: -ffdx -e .cache/
LATEST_GIT_TAG: v5.2.1
LATEST_GIT_TAG: v5.4.2
SUBMODULE_FETCH_TOOL: "tools/ci/ci_fetch_submodule.py"
# by default we will fetch all submodules
@@ -52,20 +53,14 @@ variables:
IDF_PATH: "$CI_PROJECT_DIR"
V: "0"
CHECKOUT_REF_SCRIPT: "$CI_PROJECT_DIR/tools/ci/checkout_project_ref.py"
PYTHON_VER: 3.8.17
# Docker images
ESP_ENV_IMAGE: "${CI_DOCKER_REGISTRY}/esp-env-v5.2:2"
ESP_IDF_DOC_ENV_IMAGE: "${CI_DOCKER_REGISTRY}/esp-idf-doc-env-v5.2:2-1"
QEMU_IMAGE: "${CI_DOCKER_REGISTRY}/qemu-v5.2:2-20230522"
TARGET_TEST_ENV_IMAGE: "${CI_DOCKER_REGISTRY}/target-test-env-v5.2:2"
ESP_ENV_IMAGE: "${CI_DOCKER_REGISTRY}/esp-env-v5.4:2"
ESP_IDF_DOC_ENV_IMAGE: "${CI_DOCKER_REGISTRY}/esp-idf-doc-env-v5.4:2-1"
TARGET_TEST_ENV_IMAGE: "${CI_DOCKER_REGISTRY}/target-test-env-v5.4:2"
SONARQUBE_SCANNER_IMAGE: "${CI_DOCKER_REGISTRY}/sonarqube-scanner:5"
PRE_COMMIT_IMAGE: "${CI_DOCKER_REGISTRY}/esp-idf-pre-commit:1"
# target test repo parameters
TEST_ENV_CONFIG_REPO: "https://gitlab-ci-token:${BOT_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/qa/ci-test-runner-configs.git"
# cache python dependencies
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
@@ -75,7 +70,7 @@ variables:
CI_PYTHON_CONSTRAINT_BRANCH: ""
# Update the filename for a specific ESP-IDF release. It is used only with CI_PYTHON_CONSTRAINT_BRANCH.
CI_PYTHON_CONSTRAINT_FILE: "espidf.constraints.v5.2.txt"
CI_PYTHON_CONSTRAINT_FILE: "espidf.constraints.v5.4.txt"
# Set this variable to repository name of a Python tool you wish to install and test in the context of ESP-IDF CI.
# Keep the variable empty when not used.
@@ -86,16 +81,33 @@ variables:
# This is used only if CI_PYTHON_TOOL_REPO is not empty.
CI_PYTHON_TOOL_BRANCH: ""
# Set this variable to Clang toolchain distro URL to be used.
# NOTE: We have separate toolchains for Xtensa and RISCV, therefore jobs for one arch will fail.
# This is OK as far as we use CI_CLANG_DISTRO_URL for pre-release tests purposes only.
# Keep the variable empty when not used.
CI_CLANG_DISTRO_URL: ""
# Set this variable to specify the file name for the known failure cases.
KNOWN_FAILURE_CASES_FILE_NAME: "5.2.txt"
KNOWN_FAILURE_CASES_FILE_NAME: "5.4.txt"
IDF_CI_BUILD: 1
# ccache settings
# some settings need to set in .gitlab-ci.yml as it takes effect while start-up the job
# https://ccache.dev/manual/latest.html#_configuring_ccache
# host mapping volume to share ccache between runner concurrent jobs
CCACHE_DIR: "/cache/idf_ccache"
CCACHE_MAXSIZE: "50G"
FF_USE_NEW_BASH_EVAL_STRATEGY: "true"
################################################
# `before_script` and `after_script` Templates #
################################################
.common_before_scripts: &common-before_scripts |
source tools/ci/utils.sh
is_based_on_commits $REQUIRED_ANCESTOR_COMMITS
if [[ -n "$IDF_DONT_USE_MIRRORS" ]]; then
@@ -129,35 +141,48 @@ variables:
export IDF_MIRROR_PREFIX_MAP=
fi
# install latest python packages
# target test jobs
if [[ "${CI_JOB_STAGE}" == "target_test" ]]; then
run_cmd bash install.sh --enable-ci --enable-pytest
elif [[ "${CI_JOB_STAGE}" == "build_doc" ]]; then
run_cmd bash install.sh --enable-ci --enable-docs
elif [[ "${CI_JOB_STAGE}" == "build" ]]; then
run_cmd bash install.sh --enable-ci --enable-pytest
else
if ! echo "${CI_JOB_NAME}" | egrep ".*pytest.*"; then
if [[ "${CI_JOB_STAGE}" != "target_test" ]]; then
section_start "running_install_sh" "Running install.sh"
if [[ "${CI_JOB_STAGE}" == "build_doc" ]]; then
run_cmd bash install.sh --enable-ci --enable-docs
elif [[ "${CI_JOB_STAGE}" == "build" ]]; then
run_cmd bash install.sh --enable-ci
else
run_cmd bash install.sh --enable-ci --enable-pytest
if ! echo "${CI_JOB_NAME}" | egrep ".*pytest.*"; then
run_cmd bash install.sh --enable-ci
else
run_cmd bash install.sh --enable-ci --enable-pytest --enable-test-specific
fi
fi
section_end "running_install_sh"
else
section_start "install_python_env" "Install Python environment"
run_cmd python tools/idf_tools.py install-python-env --features ci,pytest,test-specific
section_end "install_python_env"
fi
# Install esp-clang if necessary
if [[ "$IDF_TOOLCHAIN" == "clang" ]]; then
if [[ ! -z "$INSTALL_EXTRA_TOOLS" ]]; then
section_start "installing_optional_tools" "Install optional tools ${INSTALL_EXTRA_TOOLS}"
$IDF_PATH/tools/idf_tools.py --non-interactive install $INSTALL_EXTRA_TOOLS
section_end "installing_optional_tools"
fi
# Install esp-clang if necessary (esp-clang is separately installed)
if [[ "$IDF_TOOLCHAIN" == "clang" && -z "$CI_CLANG_DISTRO_URL" ]]; then
$IDF_PATH/tools/idf_tools.py --non-interactive install esp-clang
fi
# Since the version 3.21 CMake passes source files and include dirs to ninja using absolute paths.
# Needed for pytest junit reports.
$IDF_PATH/tools/idf_tools.py --non-interactive install cmake
if [[ "${CI_JOB_STAGE}" == "target_test" ]]; then
section_start "IDF_SKIP_TOOLS_CHECK" "Skip required tools check"
export IDF_SKIP_TOOLS_CHECK=1
section_end "IDF_SKIP_TOOLS_CHECK"
fi
section_start "source_export" "Source export.sh"
source ./export.sh
section_end "source_export"
# Custom clang
if [[ ! -z "$CI_CLANG_DISTRO_URL" ]]; then
# Custom clang toolchain
if [[ "$IDF_TOOLCHAIN" == "clang" && ! -z "$CI_CLANG_DISTRO_URL" ]]; then
echo "Using custom clang from ${CI_CLANG_DISTRO_URL}"
wget $CI_CLANG_DISTRO_URL
ARCH_NAME=$(basename $CI_CLANG_DISTRO_URL)
@@ -166,13 +191,21 @@ variables:
fi
# Custom OpenOCD
if [[ ! -z "$OOCD_DISTRO_URL" && "$CI_JOB_STAGE" == "target_test" ]]; then
echo "Using custom OpenOCD from ${OOCD_DISTRO_URL}"
wget $OOCD_DISTRO_URL
ARCH_NAME=$(basename $OOCD_DISTRO_URL)
tar -x -f $ARCH_NAME
export OPENOCD_SCRIPTS=$PWD/openocd-esp32/share/openocd/scripts
export PATH=$PWD/openocd-esp32/bin:$PATH
if [[ "$CI_JOB_STAGE" == "target_test" ]]; then
machine="$(uname -m)"
if [[ "$machine" == "armv7l" ]] ; then
OOCD_DISTRO_URL="$OOCD_DISTRO_URL_ARMHF"
elif [[ "$machine" == "aarch64" ]] ; then
OOCD_DISTRO_URL="$OOCD_DISTRO_URL_ARM64"
fi
if [[ ! -z "$OOCD_DISTRO_URL" ]]; then
echo "Using custom OpenOCD from ${OOCD_DISTRO_URL}"
wget $OOCD_DISTRO_URL
ARCH_NAME=$(basename $OOCD_DISTRO_URL)
tar -x -f $ARCH_NAME
export OPENOCD_SCRIPTS=$PWD/openocd-esp32/share/openocd/scripts
export PATH=$PWD/openocd-esp32/bin:$PATH
fi
fi
if [[ -n "$CI_PYTHON_TOOL_REPO" ]]; then
@@ -181,9 +214,11 @@ variables:
rm -rf ${CI_PYTHON_TOOL_REPO}
fi
info "setup tools and python venv done"
.show_ccache_statistics: &show_ccache_statistics |
# Show ccache statistics if enabled globally
test "$CI_CCACHE_STATS" == 1 && test -n "$(which ccache)" && ccache --show-stats || true
test "$CI_CCACHE_STATS" == 1 && test -n "$(which ccache)" && ccache --show-stats -vv || true
.upload_failed_job_log_artifacts: &upload_failed_job_log_artifacts |
if [ $CI_JOB_STATUS = "failed" ]; then
@@ -196,13 +231,29 @@ variables:
.before_script:build:macos:
before_script:
# macos is running shell executor, which means it would use
# the system installed /usr/local/bin/python3 by default.
# Ensure pyenv and PYENV_VERSION installed
- eval "$(pyenv init -)"
- *common-before_scripts
# On macOS, these tools need to be installed
- export IDF_TOOLS_PATH="${HOME}/.espressif_runner_${CI_RUNNER_ID}_${CI_CONCURRENT_ID}"
- $IDF_PATH/tools/idf_tools.py --non-interactive install cmake ninja
# remove idf-env.json, since it may contains enabled "features"
- rm -f $IDF_TOOLS_PATH/idf-env.json
# This adds tools (compilers) and the version-specific Python environment to PATH
- *setup_tools_and_idf_python_venv
- fetch_submodules
variables:
INSTALL_EXTRA_TOOLS: cmake ninja
.after_script:build:macos:upload-failed-job-logs:ccache-show-stats:
after_script:
# macos is running shell executor, which means it would use
# the system installed /usr/local/bin/python3 by default.
# Ensure pyenv and PYENV_VERSION installed
- eval "$(pyenv init -)"
- *upload_failed_job_log_artifacts
- *show_ccache_statistics
.before_script:build:
before_script:
@@ -213,7 +264,11 @@ variables:
- export EXTRA_CFLAGS=${PEDANTIC_CFLAGS}
- export EXTRA_CXXFLAGS=${PEDANTIC_CXXFLAGS}
.after_script:build:ccache:
.after_script:build:ccache-show-stats:
after_script:
- *show_ccache_statistics
.after_script:build:ccache-show-stats:upload-failed-job-logs:
after_script:
- *show_ccache_statistics
- *upload_failed_job_log_artifacts
@@ -252,8 +307,8 @@ variables:
git remote add origin "${CI_REPOSITORY_URL}"
fi
.git_checkout_fetch_head: &git_checkout_fetch_head |
git checkout FETCH_HEAD
.git_checkout_ci_commit_sha: &git_checkout_ci_commit_sha |
git checkout $CI_COMMIT_SHA
git clean ${GIT_CLEAN_FLAGS}
# git diff requires two commits, with different CI env var
@@ -277,6 +332,7 @@ variables:
git fetch origin $CI_MERGE_REQUEST_DIFF_BASE_SHA --depth=1 ${GIT_FETCH_EXTRA_FLAGS}
git fetch origin $CI_MERGE_REQUEST_SOURCE_BRANCH_SHA --depth=1 ${GIT_FETCH_EXTRA_FLAGS}
export GIT_DIFF_OUTPUT=$(git diff --name-only $CI_MERGE_REQUEST_DIFF_BASE_SHA $CI_MERGE_REQUEST_SOURCE_BRANCH_SHA)
git fetch origin $CI_COMMIT_SHA --depth=1 ${GIT_FETCH_EXTRA_FLAGS}
# merge request pipelines, when the mr got conflicts
elif [[ -n $CI_MERGE_REQUEST_DIFF_BASE_SHA ]]; then
git fetch origin $CI_MERGE_REQUEST_DIFF_BASE_SHA --depth=1 ${GIT_FETCH_EXTRA_FLAGS}
@@ -292,7 +348,7 @@ variables:
git fetch origin $CI_COMMIT_SHA --depth=2 ${GIT_FETCH_EXTRA_FLAGS}
export GIT_DIFF_OUTPUT=$(git diff --name-only $CI_COMMIT_SHA~1 $CI_COMMIT_SHA)
fi
- *git_checkout_fetch_head
- *git_checkout_ci_commit_sha
- *common-before_scripts
- *setup_tools_and_idf_python_venv
- add_gitlab_ssh_keys
@@ -306,7 +362,7 @@ variables:
- *git_init
- *git_fetch_from_mirror_url_if_exists
- git fetch origin "${CI_COMMIT_SHA}" --depth=1 ${GIT_FETCH_EXTRA_FLAGS}
- *git_checkout_fetch_head
- *git_checkout_ci_commit_sha
- *common-before_scripts
- *setup_tools_and_idf_python_venv
- add_gitlab_ssh_keys
@@ -319,11 +375,15 @@ default:
cache:
# pull only for most of the use cases since it's cache dir.
# Only set "push" policy for "upload_cache" stage jobs
- key: pip-cache
- key: pip-cache-${LATEST_GIT_TAG}
fallback_keys:
- pip-cache
paths:
- .cache/pip
policy: pull
- key: submodule-cache
- key: submodule-cache-${LATEST_GIT_TAG}
fallback_keys:
- submodule-cache
paths:
- .cache/submodule_archives
policy: pull
@@ -332,6 +392,12 @@ default:
- *setup_tools_and_idf_python_venv
- add_gitlab_ssh_keys
- fetch_submodules
# gitlab bug, setting them here doesn't work
# - expire_in: https://gitlab.com/gitlab-org/gitlab/-/issues/404563
# - when: https://gitlab.com/gitlab-org/gitlab/-/issues/440672
# artifacts:
# expire_in: 1 week
# when: always
retry:
max: 2
when:

17
.gitlab/ci/danger.yml Normal file
View File

@@ -0,0 +1,17 @@
# External DangerJS
include:
- project: espressif/shared-ci-dangerjs
ref: master
file: danger.yaml
run-danger-mr-linter:
stage: pre_check
variables:
GIT_STRATEGY: none # no repo checkout
ENABLE_CHECK_AREA_LABELS: 'true'
ENABLE_CHECK_DOCS_TRANSLATION: 'true'
ENABLE_CHECK_UPDATED_CHANGELOG: 'false'
before_script: []
cache: []
tags:
- dangerjs

View File

@@ -7,10 +7,12 @@
#
# This file should ONLY be used during bringup. Should be reset to empty after the bringup process
extra_default_build_targets:
- esp32p4
bypass_check_test_targets:
- esp32p4
- esp32c5
- esp32c61
#
# These lines would
# - enable the README.md check for esp32c6. Don't forget to add the build jobs in .gitlab/ci/build.yml

View File

@@ -5,6 +5,7 @@
- esp32c3
- esp32c2
- esp32c6
- esp32c5
- esp32h2
- esp32p4
@@ -65,104 +66,6 @@
included_in:
- build:check
# ---------------
# Build Test Jobs
# ---------------
"build:{0}-{1}":
matrix:
- *target_test
- *all_targets
labels:
- build
patterns:
- build_components
- build_system
- build_target_test
- downloadable-tools
included_in:
- "build:{0}"
- build:target_test
####################
# Target Test Jobs #
####################
"test:{0}-{1}":
matrix:
- *target_test
- *all_targets
labels: # For each rule, use labels <test_type> and <test_type>-<target>
- "{0}"
- "{0}_{1}"
- target_test
patterns: # For each rule, use patterns <test_type> and build-<test_type>
- "{0}"
- "build-{0}"
included_in: # Parent rules
- "build:{0}"
- "build:{0}-{1}"
- build:target_test
# -------------
# Special Cases
# -------------
# To reduce the specific runners' usage.
# Do not create these jobs by default patterns on development branches
# Can be triggered by labels or related changes
"test:{0}-{1}-{2}":
matrix:
- *target_test
- *all_targets
- - wifi # pytest*wifi*
- ethernet # pytest*ethernet*
- sdio # pytest*sdio*
- usb # USB Device & Host tests
- adc # pytest*adc*
- i154
- flash_multi
- ecdsa
- nvs_encr_hmac
patterns:
- "{0}-{1}-{2}"
- "{0}-{2}"
- "target_test-{2}"
labels:
- "{0}_{1}"
- "{0}"
- target_test
included_in:
- "build:{0}-{1}"
- "build:{0}"
- build:target_test
# For example_test*flash_encryption_wifi_high_traffic jobs
# set `INCLUDE_NIGHTLY_RUN` variable when triggered on development branches
"test:example_test-{0}-include_nightly_run-rule":
matrix:
- - esp32
- esp32c3
specific_rules:
- "if-example_test-ota-include_nightly_run-rule"
included_in:
- "build:example_test-{0}"
- "build:example_test"
- build:target_test
# For i154 runners
"test:example_test-i154":
patterns:
- "example_test-i154"
- "target_test-i154"
labels:
- target_test
- example_test
included_in:
- "build:example_test-esp32s3"
- "build:example_test-esp32c6"
- "build:example_test-esp32h2"
- "build:example_test"
- build:target_test
"test:host_test":
labels:
- host_test
@@ -181,3 +84,9 @@
"labels:nvs_coverage": # host_test
labels:
- nvs_coverage
"labels:windows_pytest_build_system":
labels:
- windows
specific_rules:
- if-schedule-test-build-system-windows

View File

@@ -37,25 +37,16 @@
.if-dev-push: &if-dev-push
if: '$CI_COMMIT_REF_NAME != "master" && $CI_COMMIT_BRANCH !~ /^release\/v/ && $CI_COMMIT_TAG !~ /^v\d+\.\d+(\.\d+)?($|-)/ && $CI_COMMIT_TAG !~ /^qa-test/ && ($CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "merge_request_event")'
.if-schedule: &if-schedule
if: '$CI_PIPELINE_SOURCE == "schedule"'
.doc-rules:build:docs-full:
rules:
- <<: *if-qa-test-tag
when: never
- <<: *if-schedule
- <<: *if-protected
- <<: *if-label-build_docs
- <<: *if-label-docs_full
- <<: *if-dev-push
changes: *patterns-docs-full
.doc-rules:build:docs-full-prod:
rules:
- <<: *if-qa-test-tag
when: never
- <<: *if-protected-no_label
.doc-rules:build:docs-partial:
rules:
- <<: *if-qa-test-tag
@@ -92,6 +83,10 @@ check_docs_lang_sync:
stage: build_doc
tags:
- build_docs
needs:
- job: fast_template_app
artifacts: false
optional: true
script:
- if [ -n "${BREATHE_ALT_INSTALL_URL}" ]; then pip uninstall -y breathe && pip install -U ${BREATHE_ALT_INSTALL_URL}; fi
- cd docs
@@ -99,7 +94,7 @@ check_docs_lang_sync:
parallel:
matrix:
- DOCLANG: ["en", "zh_CN"]
DOCTGT: ["esp32", "esp32s2", "esp32s3", "esp32c3", "esp32c2", "esp32c6", "esp32h2", "esp32p4"]
DOCTGT: ["esp32", "esp32s2", "esp32s3", "esp32c3", "esp32c2", "esp32c6", "esp32c61", "esp32c5","esp32h2", "esp32p4"]
check_docs_gh_links:
image: $ESP_IDF_DOC_ENV_IMAGE
@@ -116,24 +111,6 @@ build_docs_html_full:
extends:
- .build_docs_template
- .doc-rules:build:docs-full
needs:
- job: fast_template_app
artifacts: false
optional: true
artifacts:
when: always
paths:
- docs/_build/*/*/*.txt
- docs/_build/*/*/html/*
expire_in: 4 days
variables:
DOC_BUILDERS: "html"
build_docs_html_full_prod:
extends:
- .build_docs_template
- .doc-rules:build:docs-full-prod
dependencies: [] # Stop build_docs jobs from downloading all previous job's artifacts
artifacts:
when: always
paths:
@@ -147,10 +124,6 @@ build_docs_html_partial:
extends:
- .build_docs_template
- .doc-rules:build:docs-partial
needs:
- job: fast_template_app
artifacts: false
optional: true
artifacts:
when: always
paths:
@@ -166,35 +139,6 @@ build_docs_html_partial:
- DOCLANG: "zh_CN"
DOCTGT: "esp32p4"
build_docs_pdf:
extends:
- .build_docs_template
- .doc-rules:build:docs-full
needs:
- job: fast_template_app
artifacts: false
optional: true
artifacts:
when: always
paths:
- docs/_build/*/*/latex/*
expire_in: 4 days
variables:
DOC_BUILDERS: "latex"
build_docs_pdf_prod:
extends:
- .build_docs_template
- .doc-rules:build:docs-full-prod
dependencies: [] # Stop build_docs jobs from downloading all previous job's artifacts
artifacts:
when: always
paths:
- docs/_build/*/*/latex/*
expire_in: 4 days
variables:
DOC_BUILDERS: "latex"
.deploy_docs_template:
image: $ESP_IDF_DOC_ENV_IMAGE
variables:
@@ -223,8 +167,6 @@ deploy_docs_preview:
optional: true
- job: build_docs_html_full
optional: true
- job: build_docs_pdf
optional: true
variables:
TYPE: "preview"
# older branches use DOCS_DEPLOY_KEY, DOCS_SERVER, DOCS_SERVER_USER, DOCS_PATH for preview server so we keep these names for 'preview'
@@ -239,12 +181,12 @@ deploy_docs_production:
# The DOCS_PROD_* variables used by this job are "Protected" so these branches must all be marked "Protected" in Gitlab settings
extends:
- .deploy_docs_template
- .doc-rules:build:docs-full-prod
rules:
- <<: *if-protected-no_label
stage: post_deploy
dependencies: # set dependencies to null to avoid missing artifacts issue
needs: # ensure runs after push_to_github succeeded
- build_docs_html_full_prod
- build_docs_pdf_prod
- build_docs_html_full
- job: push_to_github
artifacts: false
variables:
@@ -259,7 +201,8 @@ deploy_docs_production:
check_doc_links:
extends:
- .build_docs_template
- .doc-rules:build:docs-full-prod
rules:
- <<: *if-protected-no_label
stage: post_deploy
needs:
- job: deploy_docs_production

View File

@@ -14,12 +14,25 @@
optional: true
artifacts: false
- pipeline_variables
artifacts:
expire_in: 1 week
when: always
test_nvs_on_host:
extends: .host_test_template
check_public_headers:
extends:
- .host_test_template
- .rules:build:check
script:
- cd components/nvs_flash/test_nvs_host
- make test
- IDF_TARGET=esp32 python tools/ci/check_public_headers.py --jobs 4 --prefix xtensa-esp32-elf-
- IDF_TARGET=esp32s2 python tools/ci/check_public_headers.py --jobs 4 --prefix xtensa-esp32s2-elf-
- IDF_TARGET=esp32s3 python tools/ci/check_public_headers.py --jobs 4 --prefix xtensa-esp32s3-elf-
- IDF_TARGET=esp32c3 python tools/ci/check_public_headers.py --jobs 4 --prefix riscv32-esp-elf-
- IDF_TARGET=esp32c2 python tools/ci/check_public_headers.py --jobs 4 --prefix riscv32-esp-elf-
- IDF_TARGET=esp32c6 python tools/ci/check_public_headers.py --jobs 4 --prefix riscv32-esp-elf-
- IDF_TARGET=esp32c5 python tools/ci/check_public_headers.py --jobs 4 --prefix riscv32-esp-elf-
- IDF_TARGET=esp32h2 python tools/ci/check_public_headers.py --jobs 4 --prefix riscv32-esp-elf-
- IDF_TARGET=esp32p4 python tools/ci/check_public_headers.py --jobs 4 --prefix riscv32-esp-elf-
- IDF_TARGET=esp32c61 python tools/ci/check_public_headers.py --jobs 4 --prefix riscv32-esp-elf-
test_nvs_coverage:
extends:
@@ -27,11 +40,10 @@ test_nvs_coverage:
- .rules:labels:nvs_coverage
artifacts:
paths:
- components/nvs_flash/test_nvs_host/coverage_report
expire_in: 1 week
- components/nvs_flash/host_test/nvs_host_test/coverage_report
script:
- cd components/nvs_flash/test_nvs_host
- make coverage_report
- cd components/nvs_flash/host_test/nvs_host_test
- idf.py build coverage
# the 'long' host tests take approx 11 hours on our current runners. Adding some margin here for possible CPU contention
timeout: 18 hours
@@ -50,23 +62,6 @@ test_ldgen_on_host:
variables:
LC_ALL: C.UTF-8
test_reproducible_build:
extends: .host_test_template
script:
- ./tools/ci/test_reproducible_build.sh
artifacts:
when: on_failure
paths:
- "**/sdkconfig"
- "**/build*/*.bin"
- "**/build*/*.elf"
- "**/build*/*.map"
- "**/build*/flasher_args.json"
- "**/build*/*.bin"
- "**/build*/bootloader/*.bin"
- "**/build*/partition_table/*.bin"
expire_in: 1 week
test_spiffs_on_host:
extends: .host_test_template
script:
@@ -99,18 +94,9 @@ test_gdbstub_on_host:
- cd components/esp_gdbstub/test_gdbstub_host
- make test
test_idf_py:
extends: .host_test_template
variables:
LC_ALL: C.UTF-8
script:
- cd ${IDF_PATH}/tools/test_idf_py
- ./test_idf_py.py
- ./test_hints.py
# Test for create virtualenv. It must be invoked from Python, not from virtualenv.
# Use docker image system python without any extra dependencies
test_idf_tools:
test_cli_installer:
extends:
- .host_test_template
- .before_script:minimal
@@ -119,17 +105,19 @@ test_idf_tools:
paths:
- tools/tools.new.json
- tools/test_idf_tools/test_python_env_logs.txt
expire_in: 1 week
image:
name: $ESP_ENV_IMAGE
entrypoint: [""] # use system python3. no extra pip package installed
script:
# Tools must be downloaded for testing
- python3 ${IDF_PATH}/tools/idf_tools.py download required qemu-riscv32 qemu-xtensa
# We could use "idf_tools.py download all", but we don't want to install clang because of its huge size
- python3 ${IDF_PATH}/tools/idf_tools.py download required qemu-riscv32 qemu-xtensa cmake
- cd ${IDF_PATH}/tools/test_idf_tools
- python3 -m pip install jsonschema
- python3 ./test_idf_tools.py -v
- python3 ./test_idf_tools_python_env.py
# It runs at the end because it modifies dependencies
- IDF_TEST_MAY_BREAK_DEPENDENCIES=1 python3 ./test_idf_tools.py -v TestSystemDependencies.test_commands_when_nodeps
.test_efuse_table_on_host_template:
extends: .host_test_template
@@ -139,7 +127,6 @@ test_idf_tools:
when: on_failure
paths:
- components/efuse/${IDF_TARGET}/esp_efuse_table.c
expire_in: 1 week
script:
- cd ${IDF_PATH}/components/efuse/
- ./efuse_table_gen.py -t "${IDF_TARGET}" ${IDF_PATH}/components/efuse/${IDF_TARGET}/esp_efuse_table.csv
@@ -182,7 +169,6 @@ test_logtrace_proc:
paths:
- tools/esp_app_trace/test/logtrace/output
- tools/esp_app_trace/test/logtrace/.coverage
expire_in: 1 week
script:
- cd ${IDF_PATH}/tools/esp_app_trace/test/logtrace
- ./test.sh
@@ -194,42 +180,43 @@ test_sysviewtrace_proc:
paths:
- tools/esp_app_trace/test/sysview/output
- tools/esp_app_trace/test/sysview/.coverage
expire_in: 1 week
script:
- cd ${IDF_PATH}/tools/esp_app_trace/test/sysview
- ./test.sh
test_mkdfu:
extends: .host_test_template
variables:
LC_ALL: C.UTF-8
script:
- cd ${IDF_PATH}/tools/test_mkdfu
- ./test_mkdfu.py
test_autocomplete:
test_tools:
extends:
- .host_test_template
artifacts:
when: on_failure
paths:
- ${IDF_PATH}/*.out
expire_in: 1 week
script:
- ${IDF_PATH}/tools/ci/test_autocomplete.py
test_detect_python:
extends:
- .host_test_template
- ${IDF_PATH}/XUNIT_*.xml
reports:
junit: ${IDF_PATH}/XUNIT_*.xml
variables:
LC_ALL: C.UTF-8
INSTALL_EXTRA_TOOLS: "qemu-xtensa qemu-riscv32" # for test_idf_qemu.py
script:
- stat=0
- cd ${IDF_PATH}/tools/ci/test_autocomplete
- pytest --noconftest test_autocomplete.py --junitxml=${IDF_PATH}/XUNIT_AUTOCOMP.xml || stat=1
- cd ${IDF_PATH}/tools/test_idf_py
- pytest --noconftest test_idf_py.py --junitxml=${IDF_PATH}/XUNIT_IDF_PY.xml || stat=1
- pytest --noconftest test_hints.py --junitxml=${IDF_PATH}/XUNIT_HINTS.xml || stat=1
- pytest --noconftest test_idf_qemu.py --junitxml=${IDF_PATH}/XUNIT_IDF_PY_QEMU.xml || stat=1
- cd ${IDF_PATH}/tools/test_mkdfu
- pytest --noconftest test_mkdfu.py --junitxml=${IDF_PATH}/XUNIT_MKDFU.xml || stat=1
- cd ${IDF_PATH}/tools/test_idf_size
- pytest --noconftest test_idf_size.py --junitxml=${IDF_PATH}/XUNIT_IDF_SIZE.xml || stat=1
- cd ${IDF_PATH}
- shellcheck -s sh tools/detect_python.sh
- shellcheck -s bash tools/detect_python.sh
- shellcheck -s dash tools/detect_python.sh
- shellcheck -s sh tools/detect_python.sh || stat=1
- shellcheck -s bash tools/detect_python.sh || stat=1
- shellcheck -s dash tools/detect_python.sh || stat=1
- "bash -c '. tools/detect_python.sh && echo Our Python: ${ESP_PYTHON?Python is not set}'"
- "dash -c '. tools/detect_python.sh && echo Our Python: ${ESP_PYTHON?Python is not set}'"
- "zsh -c '. tools/detect_python.sh && echo Our Python: ${ESP_PYTHON?Python is not set}'"
- "fish -c 'source tools/detect_python.fish && echo Our Python: $ESP_PYTHON'"
- exit "$stat"
test_split_path_by_spaces:
extends: .host_test_template
@@ -246,6 +233,7 @@ test_mqtt_on_host:
test_transport_on_host:
extends: .host_test_template
allow_failure: true # IDFCI-2781 [v5.5, v5.4] test_transport_on_host fails on ubuntu 24.04
script:
- cd ${IDF_PATH}/components/tcp_transport/host_test
- idf.py build
@@ -286,61 +274,156 @@ test_pytest_qemu:
extends:
- .host_test_template
- .before_script:build
image: $QEMU_IMAGE
artifacts:
when: always
paths:
- XUNIT_RESULT.xml
- pytest_embedded_log/
- pytest-embedded/
- "**/build*/*.bin"
reports:
junit: XUNIT_RESULT.xml
expire_in: 1 week
allow_failure: true # IDFCI-1752
parallel:
matrix:
- IDF_TARGET: [esp32, esp32c3]
- IDF_TARGET: "esp32"
INSTALL_EXTRA_TOOLS: "qemu-xtensa"
- IDF_TARGET: "esp32c3"
INSTALL_EXTRA_TOOLS: "qemu-riscv32"
script:
- run_cmd python tools/ci/ci_build_apps.py . -vv
- run_cmd python tools/ci/ci_build_apps.py . -v
--target $IDF_TARGET
--pytest-apps
-m qemu
--collect-app-info "list_job_${CI_JOB_NAME_SLUG}.txt"
--modified-components ${MODIFIED_COMPONENTS}
--modified-files ${MODIFIED_FILES}
--modified-components ${MR_MODIFIED_COMPONENTS}
--modified-files ${MR_MODIFIED_FILES}
- python tools/ci/get_known_failure_cases_file.py
- run_cmd pytest
--target $IDF_TARGET
--log-cli-level DEBUG
-m qemu
--embedded-services idf,qemu
--junitxml=XUNIT_RESULT.xml
--ignore-result-files ${KNOWN_FAILURE_CASES_FILE_NAME}
--app-info-filepattern \"list_job_*.txt\"
--qemu-extra-args \"-global driver=timer.$IDF_TARGET.timg,property=wdt_disable,value=true\"
test_pytest_linux:
extends:
- .host_test_template
- .before_script:build
artifacts:
when: always
paths:
- XUNIT_RESULT.xml
- pytest_embedded_log/
- pytest-embedded/
- "**/build*/build_log.txt"
reports:
junit: XUNIT_RESULT.xml
expire_in: 1 week
script:
- run_cmd python tools/ci/ci_build_apps.py components examples tools/test_apps -vv
- run_cmd python tools/ci/ci_build_apps.py components examples tools/test_apps -v
--target linux
--pytest-apps
-m host_test
--collect-app-info "list_job_${CI_JOB_NAME_SLUG}.txt"
--modified-components ${MODIFIED_COMPONENTS}
--modified-files ${MODIFIED_FILES}
--modified-components ${MR_MODIFIED_COMPONENTS}
--modified-files ${MR_MODIFIED_FILES}
- python tools/ci/get_known_failure_cases_file.py
- run_cmd pytest
--target linux
-m host_test
--embedded-services idf
--junitxml=XUNIT_RESULT.xml
--ignore-result-files ${KNOWN_FAILURE_CASES_FILE_NAME}
--app-info-filepattern \"list_job_*.txt\"
test_pytest_macos:
extends:
- .host_test_template
- .before_script:build:macos
tags:
- macos_shell
artifacts:
paths:
- XUNIT_RESULT.xml
- pytest-embedded/
- "**/build*/build_log.txt"
reports:
junit: XUNIT_RESULT.xml
variables:
PYTEST_IGNORE_COLLECT_IMPORT_ERROR: "1"
script:
- run_cmd python tools/ci/ci_build_apps.py components examples tools/test_apps -v
--target linux
--pytest-apps
-m \"host_test and macos_shell\"
--collect-app-info "list_job_${CI_JOB_NAME_SLUG}.txt"
--modified-components ${MR_MODIFIED_COMPONENTS}
--modified-files ${MR_MODIFIED_FILES}
- python tools/ci/get_known_failure_cases_file.py
- run_cmd pytest
--target linux
-m \"host_test and macos_shell\"
--junitxml=XUNIT_RESULT.xml
--ignore-result-files ${KNOWN_FAILURE_CASES_FILE_NAME}
--app-info-filepattern \"list_job_*.txt\"
test_idf_pytest_plugin:
extends:
- .host_test_template
- .rules:patterns:idf-pytest-plugin
variables:
SUBMODULES_TO_FETCH: "none"
artifacts:
reports:
junit: XUNIT_RESULT.xml
script:
- cd ${IDF_PATH}/tools/ci/dynamic_pipelines/tests/test_report_generator
- python -m unittest test_report_generator.py
- cd ${IDF_PATH}/tools/ci/idf_pytest
- pytest --junitxml=${CI_PROJECT_DIR}/XUNIT_RESULT.xml
test_idf_build_apps_load_soc_caps:
extends: .host_test_template
script:
- python tools/ci/check_soc_headers_load_in_idf_build_apps.py
test_nvs_gen_check:
extends: .host_test_template
artifacts:
paths:
- XUNIT_RESULT.xml
- components/nvs_flash/nvs_partition_tool
reports:
junit: XUNIT_RESULT.xml
variables:
LC_ALL: C.UTF-8
script:
- cd ${IDF_PATH}/components/nvs_flash/nvs_partition_tool
- pytest --noconftest test_nvs_gen_check.py --junitxml=XUNIT_RESULT.xml
test_esp_rom:
extends: .host_test_template
artifacts:
paths:
- XUNIT_RESULT.xml
reports:
junit: XUNIT_RESULT.xml
script:
- cd ${IDF_PATH}/components/esp_rom/
- pytest --noconftest test_esp_rom.py --junitxml=XUNIT_RESULT.xml
make_sure_soc_caps_compatible_in_idf_build_apps:
extends:
- .host_test_template
- .rules:dev-push
artifacts:
paths:
- new.json
- base.json
when: always
when: manual
script:
- python tools/ci/idf_build_apps_dump_soc_caps.py new.json
- git fetch --depth=1 origin $CI_MERGE_REQUEST_DIFF_BASE_SHA
- git checkout -f $CI_MERGE_REQUEST_DIFF_BASE_SHA
- git checkout $CI_COMMIT_SHA -- tools/ci/idf_build_apps_dump_soc_caps.py
- python tools/ci/idf_build_apps_dump_soc_caps.py base.json
- diff new.json base.json

View File

@@ -34,8 +34,7 @@ gen_integration_pipeline:
image: ${CI_INTEGRATION_ASSIGN_ENV}
stage: assign_test
cache: []
tags:
- assign_test
tags: [fast_run, shiny]
variables:
SUBMODULES_TO_FETCH: "none"
GIT_LFS_SKIP_SMUDGE: 1
@@ -47,6 +46,7 @@ gen_integration_pipeline:
paths:
- idf-integration-ci/child_pipeline/
expire_in: 2 weeks
when: always
script:
- add_gitlab_ssh_keys
- retry_failed git clone ${CI_GEN_INTEGRATION_PIPELINE_REPO} idf-integration-ci

View File

@@ -0,0 +1,13 @@
generate_failed_jobs_report:
stage: post_deploy
tags: [build, shiny]
image: $ESP_ENV_IMAGE
when: always
dependencies: [] # Do not download artifacts from the previous stages
artifacts:
expire_in: 1 week
when: always
paths:
- job_report.html
script:
- python tools/ci/dynamic_pipelines/scripts/generate_report.py --report-type job

View File

@@ -3,46 +3,7 @@
image: $ESP_ENV_IMAGE
tags:
- host_test
dependencies: []
check_pre_commit:
extends:
- .pre_check_template
- .before_script:minimal
image: $PRE_COMMIT_IMAGE
needs:
- pipeline_variables
script:
- fetch_submodules
- pre-commit run --files $MODIFIED_FILES
- pre-commit run --hook-stage post-commit validate-sbom-manifest
check_MR_style_dangerjs:
extends:
- .pre_check_template
image: node:18.15.0-alpine3.16
variables:
DANGER_GITLAB_API_TOKEN: ${ESPCI_TOKEN}
DANGER_GITLAB_HOST: ${GITLAB_HTTP_SERVER}
DANGER_GITLAB_API_BASE_URL: ${GITLAB_HTTP_SERVER}/api/v4
DANGER_JIRA_USER: ${DANGER_JIRA_USER}
DANGER_JIRA_PASSWORD: ${DANGER_JIRA_PASSWORD}
cache:
# pull only for most of the use cases since it's cache dir.
# Only set "push" policy for "upload_cache" stage jobs
key:
files:
- .gitlab/dangerjs/package-lock.json
paths:
- .gitlab/dangerjs/node_modules/
policy: pull
before_script:
- cd .gitlab/dangerjs
- npm install --no-progress --no-update-notifier # Install danger dependencies
script:
- npx danger ci --failOnErrors -v
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
dependencies: # set dependencies to null to avoid missing artifacts issue
check_version:
# Don't run this for feature/bugfix branches, so that it is possible to modify
@@ -64,7 +25,8 @@ check_version:
check_api_usage:
extends: .pre_check_template
script:
- tools/ci/check_examples_rom_header.sh
- python -m pip install ast-grep-cli # use ast-grep to describe customized lint rules
- ast-grep scan
- tools/ci/check_api_violation.sh
- tools/ci/check_examples_extra_component_dirs.sh
@@ -82,6 +44,9 @@ check_blobs:
- IDF_TARGET=esp32c2 $IDF_PATH/components/esp_wifi/test_md5/test_md5.sh
- IDF_TARGET=esp32c3 $IDF_PATH/components/esp_wifi/test_md5/test_md5.sh
- IDF_TARGET=esp32c6 $IDF_PATH/components/esp_wifi/test_md5/test_md5.sh
- IDF_TARGET=esp32c5 $IDF_PATH/components/esp_wifi/test_md5/test_md5.sh
- IDF_TARGET=esp32c61 $IDF_PATH/components/esp_wifi/test_md5/test_md5.sh
- IDF_TARGET=esp32_host $IDF_PATH/components/esp_wifi/test_md5/test_md5.sh
# Check if Coexistence library header files match between IDF and the version used when compiling the libraries
- IDF_TARGET=esp32 $IDF_PATH/components/esp_coex/test_md5/test_md5.sh
- IDF_TARGET=esp32s2 $IDF_PATH/components/esp_coex/test_md5/test_md5.sh
@@ -90,23 +55,11 @@ check_blobs:
- IDF_TARGET=esp32c3 $IDF_PATH/components/esp_coex/test_md5/test_md5.sh
- IDF_TARGET=esp32c6 $IDF_PATH/components/esp_coex/test_md5/test_md5.sh
- IDF_TARGET=esp32h2 $IDF_PATH/components/esp_coex/test_md5/test_md5.sh
- IDF_TARGET=esp32c5 $IDF_PATH/components/esp_coex/test_md5/test_md5.sh
- IDF_TARGET=esp32c61 $IDF_PATH/components/esp_coex/test_md5/test_md5.sh
# Check if Wi-Fi, PHY, BT blobs contain references to specific symbols
- bash $IDF_PATH/tools/ci/check_blobs.sh
check_public_headers:
extends:
- .pre_check_template
- .rules:build:check
script:
- IDF_TARGET=esp32 python tools/ci/check_public_headers.py --jobs 4 --prefix xtensa-esp32-elf-
- IDF_TARGET=esp32s2 python tools/ci/check_public_headers.py --jobs 4 --prefix xtensa-esp32s2-elf-
- IDF_TARGET=esp32s3 python tools/ci/check_public_headers.py --jobs 4 --prefix xtensa-esp32s3-elf-
- IDF_TARGET=esp32c3 python tools/ci/check_public_headers.py --jobs 4 --prefix riscv32-esp-elf-
- IDF_TARGET=esp32c2 python tools/ci/check_public_headers.py --jobs 4 --prefix riscv32-esp-elf-
- IDF_TARGET=esp32c6 python tools/ci/check_public_headers.py --jobs 4 --prefix riscv32-esp-elf-
- IDF_TARGET=esp32h2 python tools/ci/check_public_headers.py --jobs 4 --prefix riscv32-esp-elf-
- IDF_TARGET=esp32p4 python tools/ci/check_public_headers.py --jobs 4 --prefix riscv32-esp-elf-
check_chip_support_components:
extends:
- .pre_check_template
@@ -119,7 +72,7 @@ check_chip_support_components:
expire_in: 1 week
script:
- python tools/ci/check_soc_headers_leak.py
- find ${IDF_PATH}/components/soc/*/include/soc/ -name "*_struct.h" -print0 | xargs -0 -n1 ./tools/ci/check_soc_struct_headers.py
- find ${IDF_PATH}/components/soc/**/include/soc/ -name "*_struct.h" -print0 | xargs -0 -n1 ./tools/ci/check_soc_struct_headers.py
- tools/ci/check_esp_memory_utils_headers.sh
check_esp_err_to_name:
@@ -160,18 +113,14 @@ check_version_tag:
script:
- (git cat-file -t $CI_COMMIT_REF_NAME | grep tag) || (echo "ESP-IDF versions must be annotated tags." && exit 1)
check_artifacts_expire_time:
extends: .pre_check_template
script:
# check if we have set expire time for all artifacts
- python tools/ci/check_artifacts_expire_time.py
check_test_scripts_build_test_rules:
extends:
- .pre_check_template
- .before_script:build
variables:
PYTEST_IGNORE_COLLECT_IMPORT_ERROR: "1"
script:
# required pytest related packages
# requires basic pytest dependencies
- run_cmd bash install.sh --enable-pytest
- python tools/ci/check_build_test_rules.py check-test-scripts examples/ tools/test_apps components
@@ -188,19 +137,87 @@ pipeline_variables:
extends:
- .pre_check_template
- .before_script:fetch:git_diff
tags:
- build
tags: [fast_run, shiny]
script:
# MODIFIED_FILES is a list of files that changed, could be used everywhere
- MODIFIED_FILES=$(echo "$GIT_DIFF_OUTPUT" | xargs)
- echo "MODIFIED_FILES=$MODIFIED_FILES" >> pipeline.env
- echo "MODIFIED_COMPONENTS=$(run_cmd python tools/ci/ci_get_mr_info.py components --modified-files $MODIFIED_FILES | xargs)" >> pipeline.env
- echo "REPORT_EXIT_CODE=0" >> pipeline.env
# MR_MODIFIED_FILES and MR_MODIFIED_COMPONENTS are semicolon separated lists that is used in MR only
# for non MR pipeline, these are empty lists
- |
if [ $IS_MR_PIPELINE == "0" ]; then
echo "MR_MODIFIED_FILES=\"\"" >> pipeline.env
echo "MR_MODIFIED_COMPONENTS=\"\"" >> pipeline.env
else
MR_MODIFIED_FILES=$(echo "$GIT_DIFF_OUTPUT" | tr '\n' ';')
echo "MR_MODIFIED_FILES=\"$MR_MODIFIED_FILES\"" >> pipeline.env
MR_MODIFIED_COMPONENTS=$(run_cmd python tools/ci/ci_get_mr_info.py components --modified-files $MODIFIED_FILES | tr '\n' ';')
echo "MR_MODIFIED_COMPONENTS=\"$MR_MODIFIED_COMPONENTS\"" >> pipeline.env
fi
- |
if echo "$CI_MERGE_REQUEST_LABELS" | egrep "(^|,)BUILD_AND_TEST_ALL_APPS(,|$)"; then
echo "BUILD_AND_TEST_ALL_APPS=1" >> pipeline.env
fi
# run full pipeline if testing constraint branch
- |
if [ -n "$CI_PYTHON_CONSTRAINT_BRANCH" ]; then
echo "BUILD_AND_TEST_ALL_APPS=1" >> pipeline.env
fi
- echo "OOCD_DISTRO_URL_ARMHF=$OOCD_DISTRO_URL_ARMHF" >> pipeline.env
- echo "OOCD_DISTRO_URL_ARM64=$OOCD_DISTRO_URL_ARM64" >> pipeline.env
- python tools/ci/ci_process_description.py
- cat pipeline.env
- python tools/ci/artifacts_handler.py upload --type modified_files_and_components_report
artifacts:
reports:
dotenv: pipeline.env
expire_in: 4 days
paths:
- pipeline.env
expire_in: 1 week
when: always
baseline_manifest_sha:
extends:
- .pre_check_template
- .rules:dev-push
tags: [fast_run, shiny]
script:
- |
# merged results pipelines, by default
# diff between target-branch-head and merged-result-head
if [ -n "$CI_MERGE_REQUEST_TARGET_BRANCH_SHA" ]; then
git fetch origin $CI_MERGE_REQUEST_TARGET_BRANCH_SHA --depth=1
git checkout FETCH_HEAD
idf-build-apps dump-manifest-sha \
--manifest-files $(find . -name ".build-test-rules.yml" | xargs) \
--output .manifest_sha
# merge request pipelines, when the mr got conflicts
# diff between diff-base-sha and merge-request-head
elif [ -n "$CI_MERGE_REQUEST_DIFF_BASE_SHA" ]; then
git fetch origin $CI_MERGE_REQUEST_DIFF_BASE_SHA --depth=1
git checkout FETCH_HEAD
idf-build-apps dump-manifest-sha \
--manifest-files $(find . -name ".build-test-rules.yml" | xargs) \
--output .manifest_sha
# other pipelines, like the protected branches pipelines
# not triggered in this job
fi
artifacts:
paths:
- .manifest_sha
expire_in: 1 week
when: always
redundant_pass_job:
stage: pre_check
tags: [shiny, fast_run]
image: $ESP_ENV_IMAGE
dependencies: null
before_script: []
cache: []
extends: []
script:
- echo "This job is redundant to ensure the 'retry_failed_jobs' job can exist and not be skipped"
when: always

80
.gitlab/ci/pre_commit.yml Normal file
View File

@@ -0,0 +1,80 @@
.check_pre_commit_template:
extends:
- .before_script:minimal
stage: pre_check
image: $PRE_COMMIT_IMAGE
tags: [cache, shiny]
needs:
- pipeline_variables
variables:
# cache pre_commit
PRE_COMMIT_HOME: "$CI_PROJECT_DIR/.cache/pre-commit"
script:
- fetch_submodules
- pre-commit run --files $MODIFIED_FILES
- pre-commit run --hook-stage post-commit validate-sbom-manifest
check_pre_commit_upload_cache:
extends:
- .check_pre_commit_template
rules:
- if: '($CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_BRANCH =~ /^release\/v/) && $CI_PIPELINE_SOURCE == "push"'
cache:
- key: pre_commit-cache-${LATEST_GIT_TAG}
paths:
- .cache/pre-commit
policy: pull-push
- key: submodule-cache-${LATEST_GIT_TAG}
paths:
- .cache/submodule_archives
policy: pull
check_pre_commit:
extends:
- .check_pre_commit_template
rules:
- if: '($CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_BRANCH =~ /^release\/v/) && $CI_PIPELINE_SOURCE == "push"'
when: never
- when: on_success
cache:
- key: pre_commit-cache-${LATEST_GIT_TAG}
paths:
- .cache/pre-commit
policy: pull
- key: submodule-cache-${LATEST_GIT_TAG}
paths:
- .cache/submodule_archives
policy: pull
check_powershell:
extends:
- .before_script:minimal
stage: pre_check
image: docker:latest
services:
- docker:dind
tags:
- dind
- amd64
needs:
- pipeline_variables
variables:
# cache pre_commit
PRE_COMMIT_HOME: "$CI_PROJECT_DIR/.cache/pre-commit"
rules:
- changes:
- "*.ps1"
script:
- apk add python3
- apk add py3-pip
- pip install pre-commit --break-system-packages
- pre-commit run --hook-stage manual check-powershell-scripts --files $MODIFIED_FILES
cache:
- key: pre_commit-cache-${LATEST_GIT_TAG}
paths:
- .cache/pre-commit
policy: pull
- key: submodule-cache-${LATEST_GIT_TAG}
paths:
- .cache/submodule_archives
policy: pull

View File

@@ -0,0 +1,15 @@
retry_failed_jobs:
stage: retry_failed_jobs
tags: [shiny, fast_run]
allow_failure: true
image: $ESP_ENV_IMAGE
dependencies: null
before_script: []
cache: []
extends: []
script:
- echo "Retrieving and retrying all failed jobs for the pipeline..."
- python tools/ci/python_packages/gitlab_api.py retry_failed_jobs $CI_MERGE_REQUEST_PROJECT_ID --pipeline_id $CI_PIPELINE_ID
when: manual
needs:
- redundant_pass_job

File diff suppressed because it is too large Load Diff

View File

@@ -6,8 +6,8 @@ clang_tidy_check:
artifacts:
paths:
- clang_tidy_reports/
expire_in: 1 week
when: always
expire_in: 1 day
variables:
IDF_TOOLCHAIN: clang
script:
@@ -23,10 +23,12 @@ check_pylint:
needs:
- pipeline_variables
artifacts:
when: always
reports:
codequality: pylint.json
paths:
- pylint.json
expire_in: 1 week
when: always
script:
- |
if [ -n "$CI_MERGE_REQUEST_IID" ]; then
@@ -36,82 +38,84 @@ check_pylint:
fi
- if [ -z "$files" ]; then echo "No python files found"; exit 0; fi
- run_cmd pylint --exit-zero --load-plugins=pylint_gitlab --output-format=gitlab-codeclimate:pylint.json $files
# build stage
# Sonarqube related jobs put here for this reason:
# Here we have two jobs. code_quality_check and code_quality_report.
#
# code_quality_check will analyze the code changes between your MR and
# code repo stored in sonarqube server. The analysis result is only shown in
# the comments under this MR and won't be transferred to the server.
## build stage
## Sonarqube related jobs put here for this reason:
## Here we have two jobs. code_quality_check and code_quality_report.
##
## code_quality_check will analyze the code changes between your MR and
## code repo stored in sonarqube server. The analysis result is only shown in
## the comments under this MR and won't be transferred to the server.
##
## code_quality_report will analyze and transfer both of the newly added code
## and the analysis result to the server.
##
## Put in the front to ensure that the newly merged code can be stored in
## sonarqube server ASAP, in order to avoid reporting unrelated code issues
#.sonar_scan_template:
# stage: build
# extends: .pre_check_template
# # full clone since this image does not support fetch --shallow-since-cutoff
# # shiny runners are used for full clone
# tags: [build, shiny]
# image: $SONARQUBE_SCANNER_IMAGE
# before_script:
# - source tools/ci/utils.sh
# - export PYTHONPATH="$CI_PROJECT_DIR/tools:$CI_PROJECT_DIR/tools/ci/python_packages:$PYTHONPATH"
# - fetch_submodules
# # Exclude the submodules, all paths ends with /**
# - submodules=$(get_all_submodules)
# # get all exclude paths specified in tools/ci/sonar_exclude_list.txt | ignore lines start with # | xargs | replace all <space> to <comma>
# - custom_excludes=$(cat $CI_PROJECT_DIR/tools/ci/sonar_exclude_list.txt | grep -v '^#' | xargs | sed -e 's/ /,/g')
# # Exclude the report dir as well
# - export EXCLUSIONS="$custom_excludes,$submodules"
# - export SONAR_SCANNER_OPTS="-Xmx2048m"
# variables:
# GIT_DEPTH: 0
# REPORT_PATTERN: clang_tidy_reports/**/*.txt
# artifacts:
# paths:
# - $REPORT_PATTERN
# expire_in: 1 week
# when: always
# dependencies: # Here is not a hard dependency relationship, could be skipped when only python files changed. so we do not use "needs" here.
# - clang_tidy_check
#
# code_quality_report will analyze and transfer both of the newly added code
# and the analysis result to the server.
#code_quality_check:
# extends:
# - .sonar_scan_template
# - .rules:patterns:static-code-analysis-preview
# allow_failure: true # it's using exit code to indicate the code analysis result,
# # we don't want to block ci when critical issues founded
# script:
# - export CI_MERGE_REQUEST_COMMITS=$(python ${CI_PROJECT_DIR}/tools/ci/ci_get_mr_info.py commits --src-branch ${CI_COMMIT_REF_NAME} | tr '\n' ',')
# # test if this branch have merge request, if not, exit 0
# - test -n "$CI_MERGE_REQUEST_IID" || exit 0
# - test -n "$CI_MERGE_REQUEST_COMMITS" || exit 0
# - sonar-scanner
# -Dsonar.analysis.mode=preview
# -Dsonar.branch.name=$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
# -Dsonar.cxx.clangtidy.reportPath=$REPORT_PATTERN
# -Dsonar.exclusions=$EXCLUSIONS
# -Dsonar.gitlab.ci_merge_request_iid=$CI_MERGE_REQUEST_IID
# -Dsonar.gitlab.commit_sha=$CI_MERGE_REQUEST_COMMITS
# -Dsonar.gitlab.merge_request_discussion=true
# -Dsonar.gitlab.ref_name=$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
# -Dsonar.host.url=$SONAR_HOST_URL
# -Dsonar.login=$SONAR_LOGIN
#
# Put in the front to ensure that the newly merged code can be stored in
# sonarqube server ASAP, in order to avoid reporting unrelated code issues
.sonar_scan_template:
stage: build
extends: .pre_check_template
image:
name: $SONARQUBE_SCANNER_IMAGE
before_script:
- source tools/ci/utils.sh
- export PYTHONPATH="$CI_PROJECT_DIR/tools:$CI_PROJECT_DIR/tools/ci/python_packages:$PYTHONPATH"
- fetch_submodules
# Exclude the submodules, all paths ends with /**
- submodules=$(get_all_submodules)
# get all exclude paths specified in tools/ci/sonar_exclude_list.txt | ignore lines start with # | xargs | replace all <space> to <comma>
- custom_excludes=$(cat $CI_PROJECT_DIR/tools/ci/sonar_exclude_list.txt | grep -v '^#' | xargs | sed -e 's/ /,/g')
# Exclude the report dir as well
- export EXCLUSIONS="$custom_excludes,$submodules"
- export SONAR_SCANNER_OPTS="-Xmx2048m"
variables:
GIT_DEPTH: 0
REPORT_PATTERN: clang_tidy_reports/*.txt
artifacts:
when: always
paths:
- $REPORT_PATTERN
expire_in: 1 week
dependencies: # Here is not a hard dependency relationship, could be skipped when only python files changed. so we do not use "needs" here.
- clang_tidy_check
code_quality_check:
extends:
- .sonar_scan_template
- .rules:patterns:static-code-analysis-preview
allow_failure: true # since now it's using exit code to indicate the code analysis result,
# we don't want to block ci when critical issues founded
script:
- export CI_MERGE_REQUEST_COMMITS=$(python ${CI_PROJECT_DIR}/tools/ci/ci_get_mr_info.py commits --src-branch ${CI_COMMIT_REF_NAME} | tr '\n' ',')
# test if this branch have merge request, if not, exit 0
- test -n "$CI_MERGE_REQUEST_IID" || exit 0
- test -n "$CI_MERGE_REQUEST_COMMITS" || exit 0
- sonar-scanner
-Dsonar.analysis.mode=preview
-Dsonar.branch.name=$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
-Dsonar.cxx.clangtidy.reportPath=$REPORT_PATTERN
-Dsonar.exclusions=$EXCLUSIONS
-Dsonar.gitlab.ci_merge_request_iid=$CI_MERGE_REQUEST_IID
-Dsonar.gitlab.commit_sha=$CI_MERGE_REQUEST_COMMITS
-Dsonar.gitlab.merge_request_discussion=true
-Dsonar.gitlab.ref_name=$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
-Dsonar.host.url=$SONAR_HOST_URL
-Dsonar.login=$SONAR_LOGIN
code_quality_report:
extends:
- .sonar_scan_template
- .rules:protected
allow_failure: true # since now it's using exit code to indicate the code analysis result,
# we don't want to block ci when critical issues founded
script:
- sonar-scanner
-Dsonar.branch.name=$CI_COMMIT_REF_NAME
-Dsonar.cxx.clangtidy.reportPath=$REPORT_PATTERN
-Dsonar.exclusions=$EXCLUSIONS
-Dsonar.gitlab.commit_sha=$PIPELINE_COMMIT_SHA
-Dsonar.gitlab.ref_name=$CI_COMMIT_REF_NAME
-Dsonar.host.url=$SONAR_HOST_URL
-Dsonar.login=$SONAR_LOGIN
#code_quality_report:
# extends:
# - .sonar_scan_template
# - .rules:protected
# allow_failure: true # it's using exit code to indicate the code analysis result,
# # we don't want to block ci when critical issues founded
# script:
# - sonar-scanner
# -Dsonar.branch.name=$CI_COMMIT_REF_NAME
# -Dsonar.cxx.clangtidy.reportPath=$REPORT_PATTERN
# -Dsonar.exclusions=$EXCLUSIONS
# -Dsonar.gitlab.commit_sha=$PIPELINE_COMMIT_SHA
# -Dsonar.gitlab.ref_name=$CI_COMMIT_REF_NAME
# -Dsonar.host.url=$SONAR_HOST_URL
# -Dsonar.login=$SONAR_LOGIN

File diff suppressed because it is too large Load Diff

96
.gitlab/ci/test-win.yml Normal file
View File

@@ -0,0 +1,96 @@
# Host tests
.host_test_win_template:
extends: .rules:test:host_test
stage: host_test
image: $ESP_ENV_IMAGE
tags:
- windows-build
dependencies: # set dependencies to null to avoid missing artifacts issue
# run host_test jobs immediately, only after upload cache
needs:
- job: upload-pip-cache
optional: true
artifacts: false
- job: upload-submodules-cache
optional: true
artifacts: false
before_script: []
after_script: []
test_cli_installer_win:
extends:
- .host_test_win_template
- .rules:labels:windows_pytest_build_system
artifacts:
when: on_failure
paths:
- tools/tools.new.json
- tools/test_idf_tools/test_python_env_logs.txt
expire_in: 1 week
variables:
IDF_PATH: "$CI_PROJECT_DIR"
script:
# Tools must be downloaded for testing
- python ${IDF_PATH}\tools\idf_tools.py download required qemu-riscv32 qemu-xtensa cmake
- cd ${IDF_PATH}\tools\test_idf_tools
- python -m pip install jsonschema
- python .\test_idf_tools.py
- python .\test_idf_tools_python_env.py
test_tools_win:
extends:
- .host_test_win_template
- .rules:labels:windows_pytest_build_system
artifacts:
paths:
- ${IDF_PATH}/*.out
- ${IDF_PATH}/XUNIT_*.xml
reports:
junit: ${IDF_PATH}/XUNIT_*.xml
expire_in: 1 week
when: always
variables:
LC_ALL: C.UTF-8
PYTHONPATH: "$PYTHONPATH;$IDF_PATH\\tools;$IDF_PATH\\tools\\esp_app_trace;$IDF_PATH\\components\\partition_table;$IDF_PATH\\tools\\ci\\python_packages"
script:
- python -m pip install jsonschema
- .\install.ps1 --enable-ci --enable-pytest
- .\export.ps1
- python "${SUBMODULE_FETCH_TOOL}" -s "all"
- cd ${IDF_PATH}/tools/test_idf_py
- pytest --noconftest test_idf_py.py --junitxml=${IDF_PATH}/XUNIT_IDF_PY.xml
- pytest --noconftest test_hints.py --junitxml=${IDF_PATH}/XUNIT_HINTS.xml
# Build tests
.test_build_system_template_win:
stage: host_test
variables:
# Enable ccache for all build jobs. See configure_ci_environment.sh for more ccache related settings.
IDF_CCACHE_ENABLE: "1"
PYTHONPATH: "$PYTHONPATH;$IDF_PATH\\tools;$IDF_PATH\\tools\\esp_app_trace;$IDF_PATH\\components\\partition_table;$IDF_PATH\\tools\\ci\\python_packages"
before_script: []
after_script: []
timeout: 4 hours
script:
- .\install.ps1 --enable-ci --enable-pytest
- . .\export.ps1
- python "${SUBMODULE_FETCH_TOOL}" -s "all"
- cd ${IDF_PATH}\tools\test_build_system
- pytest --parallel-count ${CI_NODE_TOTAL} --parallel-index ${CI_NODE_INDEX} --junitxml=${CI_PROJECT_DIR}\XUNIT_RESULT.xml
pytest_build_system_win:
extends:
- .test_build_system_template_win
- .rules:labels:windows_pytest_build_system
parallel: 2
needs: []
tags:
- windows-build
artifacts:
paths:
- XUNIT_RESULT.xml
- test_build_system
expire_in: 2 days
reports:
junit: XUNIT_RESULT.xml
when: always

View File

@@ -10,12 +10,12 @@ upload-pip-cache:
extends:
- .upload_cache_template
- .before_script:minimal
- .rules:patterns:python-cache
- .rules:upload-python-cache
tags:
- $GEO
- cache
cache:
key: pip-cache
key: pip-cache-${LATEST_GIT_TAG}
paths:
- .cache/pip
policy: push
@@ -30,12 +30,12 @@ upload-submodules-cache:
extends:
- .upload_cache_template
- .before_script:minimal
- .rules:patterns:submodule
- .rules:upload-submodule-cache
tags:
- $GEO
- cache
cache:
key: submodule-cache
key: submodule-cache-${LATEST_GIT_TAG}
paths:
- .cache/submodule_archives
policy: push
@@ -48,27 +48,3 @@ upload-submodules-cache:
parallel:
matrix:
- GEO: [ 'shiny', 'brew' ]
upload-danger-npm-cache:
stage: upload_cache
image: node:18.15.0-alpine3.16
extends:
- .rules:patterns:dangerjs
tags:
- $GEO
- cache
cache:
key:
files:
- .gitlab/dangerjs/package-lock.json
paths:
- .gitlab/dangerjs/node_modules/
policy: push
before_script:
- echo "Skip before scripts ...."
script:
- cd .gitlab/dangerjs
- npm install --no-progress --no-update-notifier
parallel:
matrix:
- GEO: [ 'shiny', 'brew' ]

View File

@@ -1,172 +0,0 @@
const {
minimumSummaryChars,
maximumSummaryChars,
maximumBodyLineChars,
allowedTypes,
} = require("./mrCommitsConstants.js");
const { gptStandardModelTokens } = require("./mrCommitsConstants.js");
const { ChatPromptTemplate } = require("langchain/prompts");
const { SystemMessagePromptTemplate } = require("langchain/prompts");
const { LLMChain } = require("langchain/chains");
const { ChatOpenAI } = require("langchain/chat_models/openai");
const openAiTokenCount = require("openai-gpt-token-counter");
module.exports = async function () {
let outputDangerMessage = `\n\nPerhaps you could use an AI-generated suggestion for your commit message. Here is one `;
let mrDiff = await getMrGitDiff(danger.git.modified_files);
const mrCommitMessages = getCommitMessages(danger.gitlab.commits);
const inputPrompt = getInputPrompt();
const inputLlmTokens = getInputLlmTokens(
inputPrompt,
mrDiff,
mrCommitMessages
);
console.log(`Input tokens for LLM: ${inputLlmTokens}`);
if (inputLlmTokens >= gptStandardModelTokens) {
mrDiff = ""; // If the input mrDiff is larger than 16k model, don't use mrDiff, use only current commit messages
outputDangerMessage += `(based only on your current commit messages, git-diff of this MR is too big (${inputLlmTokens} tokens) for the AI models):\n\n`;
} else {
outputDangerMessage += `(based on your MR git-diff and your current commit messages):\n\n`;
}
// Generate AI commit message
let generatedCommitMessage = "";
try {
const rawCommitMessage = await createAiGitMessage(
inputPrompt,
mrDiff,
mrCommitMessages
);
generatedCommitMessage = postProcessCommitMessage(rawCommitMessage);
} catch (error) {
console.error("Error in generating AI commit message: ", error);
outputDangerMessage +=
"\nCould not generate commit message due to an error.\n";
}
// Append closing statements ("Closes https://github.com/espressif/esp-idf/issues/XXX") to the generated commit message
let closingStatements = extractClosingStatements(mrCommitMessages);
if (closingStatements.length > 0) {
generatedCommitMessage += "\n\n" + closingStatements;
}
// Add the generated git message, format to the markdown code block
outputDangerMessage += `\n\`\`\`\n${generatedCommitMessage}\n\`\`\`\n`;
outputDangerMessage +=
"\n**NOTE: AI-generated suggestions may not always be correct, please review the suggestion before using it.**"; // Add disclaimer
return outputDangerMessage;
};
async function getMrGitDiff(mrModifiedFiles) {
const fileDiffs = await Promise.all(
mrModifiedFiles.map((file) => danger.git.diffForFile(file))
);
return fileDiffs.map((fileDiff) => fileDiff.diff.trim()).join(" ");
}
function getCommitMessages(mrCommits) {
return mrCommits.map((commit) => commit.message);
}
function getInputPrompt() {
return `You are a helpful assistant that creates suggestions for single git commit message, that user can use to describe all the changes in their merge request.
Use git diff: {mrDiff} and users current commit messages: {mrCommitMessages} to get the changes made in the commit.
Output should be git commit message following the conventional commit format.
Output only git commit message in desired format, without comments and other text.
Do not include the closing statements ("Closes https://....") in the output.
Here are the strict rules you must follow:
- Avoid mentioning any JIRA tickets (e.g., "Closes JIRA-123").
- Be specific. Don't use vague terms (e.g., "some checks", "add new ones", "few changes").
- The commit message structure should be: <type><(scope/component)>: <summary>
- Types allowed: ${allowedTypes.join(", ")}
- If 'scope/component' is used, it must start with a lowercase letter.
- The 'summary' must NOT end with a period.
- The 'summary' must be between ${minimumSummaryChars} and ${maximumSummaryChars} characters long.
If a 'body' of commit message is used:
- Each line must be no longer than ${maximumBodyLineChars} characters.
- It must be separated from the 'summary' by a blank line.
Examples of correct commit messages:
- With scope and body:
fix(freertos): Fix startup timeout issue
This is a text of commit message body...
- adds support for wifi6
- adds validations for logging script
- Without scope and body:
ci: added target test job for ESP32-Wifi6`;
}
function getInputLlmTokens(inputPrompt, mrDiff, mrCommitMessages) {
const mrCommitMessagesTokens = openAiTokenCount(mrCommitMessages.join(" "));
const gitDiffTokens = openAiTokenCount(mrDiff);
const promptTokens = openAiTokenCount(inputPrompt);
return mrCommitMessagesTokens + gitDiffTokens + promptTokens;
}
async function createAiGitMessage(inputPrompt, mrDiff, mrCommitMessages) {
const chat = new ChatOpenAI({ engine: "gpt-3.5-turbo", temperature: 0 });
const chatPrompt = ChatPromptTemplate.fromPromptMessages([
SystemMessagePromptTemplate.fromTemplate(inputPrompt),
]);
const chain = new LLMChain({ prompt: chatPrompt, llm: chat });
const response = await chain.call({
mrDiff: mrDiff,
mrCommitMessages: mrCommitMessages,
});
return response.text;
}
function postProcessCommitMessage(rawCommitMessage) {
// Split the result into lines
let lines = rawCommitMessage.split("\n");
// Format each line
for (let i = 0; i < lines.length; i++) {
let line = lines[i].trim();
// If the line is longer than maximumBodyLineChars, split it into multiple lines
if (line.length > maximumBodyLineChars) {
let newLines = [];
while (line.length > maximumBodyLineChars) {
let lastSpaceIndex = line.lastIndexOf(
" ",
maximumBodyLineChars
);
newLines.push(line.substring(0, lastSpaceIndex));
line = line.substring(lastSpaceIndex + 1);
}
newLines.push(line);
lines[i] = newLines.join("\n");
}
}
// Join the lines back into a single string with a newline between each one
return lines.join("\n");
}
function extractClosingStatements(mrCommitMessages) {
let closingStatements = [];
mrCommitMessages.forEach((message) => {
const lines = message.split("\n");
lines.forEach((line) => {
if (line.startsWith("Closes")) {
closingStatements.push(line);
}
});
});
return closingStatements.join("\n");
}

View File

@@ -1,56 +0,0 @@
let outputStatuses = [];
/**
* Logs the status of a rule with padded formatting and stores it in the `outputStatuses` array.
* If the rule already exists in the array, its status is updated.
* @param message The name of the rule
* @param status The output (exit) status of the rule
*/
function recordRuleExitStatus(message, status) {
// Check if the rule already exists in the array
const existingRecord = outputStatuses.find(
(rule) => rule.message === message
);
if (existingRecord) {
// Update the status of the existing rule
existingRecord.status = status;
} else {
// If the rule doesn't exist, add it to the array
outputStatuses.push({ message, status });
}
}
/**
* Displays all the rule output statuses stored in the `outputStatuses` array.
* Filters out any empty lines, sorts them alphabetically, and prints the statuses
* with a header and separator.
* These statuses are later displayed in CI job tracelog.
*/
function displayAllOutputStatuses() {
const lineLength = 100;
const sortedStatuses = outputStatuses.sort((a, b) =>
a.message.localeCompare(b.message)
);
const formattedLines = sortedStatuses.map((statusObj) => {
const paddingLength =
lineLength - statusObj.message.length - statusObj.status.length;
const paddedMessage = statusObj.message.padEnd(
statusObj.message.length + paddingLength,
"."
);
return `${paddedMessage} ${statusObj.status}`;
});
console.log(
"DangerJS checks (rules) output states:\n" + "=".repeat(lineLength + 2)
);
console.log(formattedLines.join("\n"));
console.log("=".repeat(lineLength + 2));
}
module.exports = {
displayAllOutputStatuses,
recordRuleExitStatus,
};

View File

@@ -1,51 +0,0 @@
const { displayAllOutputStatuses } = require("./configParameters.js");
/*
* Modules with checks are stored in ".gitlab/dangerjs/<module_name>". To import them, use path relative to "dangerfile.js"
*/
async function runChecks() {
// Checks for merge request title
require("./mrTitleNoDraftOrWip.js")();
// Checks for merge request description
require("./mrDescriptionLongEnough.js")();
require("./mrDescriptionReleaseNotes.js")();
await require("./mrDescriptionJiraLinks.js")();
// Checks for documentation
await require("./mrDocsTranslation.js")();
// Checks for MR commits
require("./mrCommitsTooManyCommits.js")();
await require("./mrCommitsCommitMessage.js")();
require("./mrCommitsEmail.js")();
// Checks for MR code
require("./mrSizeTooLarge.js")();
// Checks for MR area labels
await require("./mrAreaLabels.js")();
// Checks for Source branch name
require("./mrSourceBranchName.js")();
// Show DangerJS individual checks statuses - visible in CI job tracelog
displayAllOutputStatuses();
// Add success log if no issues
if (
results.fails.length === 0 &&
results.warnings.length === 0 &&
results.messages.length === 0
) {
return message("🎉 Good Job! All checks are passing!");
}
}
runChecks();
// Add retry link
const retryLink = `${process.env.DANGER_GITLAB_HOST}/${process.env.CI_PROJECT_PATH}/-/jobs/${process.env.CI_JOB_ID}`;
markdown(
`***\n#### :repeat: You can enforce automatic MR checks by retrying the [DangerJS job](${retryLink})\n***`
);

View File

@@ -1,27 +0,0 @@
const { recordRuleExitStatus } = require("./configParameters.js");
/**
* Check if MR has area labels (light blue labels)
*
* @dangerjs WARN
*/
module.exports = async function () {
const ruleName = "Merge request area labels";
const projectId = 103; // ESP-IDF
const areaLabelColor = /^#d2ebfa$/i; // match color code (case-insensitive)
const projectLabels = await danger.gitlab.api.Labels.all(projectId); // Get all project labels
const areaLabels = projectLabels
.filter((label) => areaLabelColor.test(label.color))
.map((label) => label.name); // Filter only area labels
const mrLabels = danger.gitlab.mr.labels; // Get MR labels
if (!mrLabels.some((label) => areaLabels.includes(label))) {
recordRuleExitStatus(ruleName, "Failed");
return warn(
`Please add some [area labels](${process.env.DANGER_GITLAB_HOST}/espressif/esp-idf/-/labels) to this MR.`
);
}
// At this point, the rule has passed
recordRuleExitStatus(ruleName, "Passed");
};

View File

@@ -1,165 +0,0 @@
const {
minimumSummaryChars,
maximumSummaryChars,
maximumBodyLineChars,
allowedTypes,
} = require("./mrCommitsConstants.js");
const { recordRuleExitStatus } = require("./configParameters.js");
/**
* Check that commit messages are based on the Espressif ESP-IDF project's rules for git commit messages.
*
* @dangerjs WARN
*/
module.exports = async function () {
const ruleName = "Commit messages style";
const mrCommits = danger.gitlab.commits;
const lint = require("@commitlint/lint").default;
const lintingRules = {
// rule definition: [(0-1 = off/on), (always/never = must be/mustn't be), (value)]
"body-max-line-length": [1, "always", maximumBodyLineChars], // Max length of the body line
"footer-leading-blank": [1, "always"], // Always have a blank line before the footer section
"footer-max-line-length": [1, "always", maximumBodyLineChars], // Max length of the footer line
"subject-max-length": [1, "always", maximumSummaryChars], // Max length of the "Summary"
"subject-min-length": [1, "always", minimumSummaryChars], // Min length of the "Summary"
"scope-case": [1, "always", "lower-case"], // "scope/component" must start with lower-case
"subject-full-stop": [1, "never", "."], // "Summary" must not end with a full stop (period)
"subject-empty": [1, "never"], // "Summary" is mandatory
"type-case": [1, "always", "lower-case"], // "type/action" must start with lower-case
"type-empty": [1, "never"], // "type/action" is mandatory
"type-enum": [1, "always", allowedTypes], // "type/action" must be one of the allowed types
"body-leading-blank": [1, "always"], // Always have a blank line before the body section
};
// Switcher for AI suggestions (for poor messages)
let generateAISuggestion = false;
// Search for the messages in each commit
let issuesAllCommitMessages = [];
for (const commit of mrCommits) {
const commitMessage = commit.message;
const commitMessageTitle = commit.title;
let issuesSingleCommitMessage = [];
let reportSingleCommitMessage = "";
// Check if the commit message contains any Jira ticket references
const jiraTicketRegex = /[A-Z0-9]+-[0-9]+/g;
const jiraTicketMatches = commitMessage.match(jiraTicketRegex);
if (jiraTicketMatches) {
const jiraTicketNames = jiraTicketMatches.join(", ");
issuesSingleCommitMessage.push(
`- probably contains Jira ticket reference (\`${jiraTicketNames}\`). Please remove Jira tickets from commit messages.`
);
}
// Lint commit messages with @commitlint (Conventional Commits style)
const result = await lint(commit.message, lintingRules);
for (const warning of result.warnings) {
// Custom messages for each rule with terminology used by Espressif conventional commits guide
switch (warning.name) {
case "subject-max-length":
issuesSingleCommitMessage.push(
`- *summary* appears to be too long`
);
break;
case "type-empty":
issuesSingleCommitMessage.push(
`- *type/action* looks empty`
);
break;
case "type-case":
issuesSingleCommitMessage.push(
`- *type/action* should start with a lowercase letter`
);
break;
case "scope-empty":
issuesSingleCommitMessage.push(
`- *scope/component* looks empty`
);
break;
case "scope-case":
issuesSingleCommitMessage.push(
`- *scope/component* should be lowercase without whitespace, allowed special characters are \`_\` \`/\` \`.\` \`,\` \`*\` \`-\` \`.\``
);
break;
case "subject-empty":
issuesSingleCommitMessage.push(`- *summary* looks empty`);
generateAISuggestion = true;
break;
case "subject-min-length":
issuesSingleCommitMessage.push(
`- *summary* looks too short`
);
generateAISuggestion = true;
break;
case "subject-case":
issuesSingleCommitMessage.push(
`- *summary* should start with a capital letter`
);
break;
case "subject-full-stop":
issuesSingleCommitMessage.push(
`- *summary* should not end with a period (full stop)`
);
break;
case "type-enum":
issuesSingleCommitMessage.push(
`- *type/action* should be one of [${allowedTypes
.map((type) => `\`${type}\``)
.join(", ")}]`
);
break;
default:
issuesSingleCommitMessage.push(`- ${warning.message}`);
}
}
if (issuesSingleCommitMessage.length) {
reportSingleCommitMessage = `- the commit message \`"${commitMessageTitle}"\`:\n${issuesSingleCommitMessage
.map((message) => ` ${message}`) // Indent each issue by 2 spaces
.join("\n")}`;
issuesAllCommitMessages.push(reportSingleCommitMessage);
}
}
// Create report
if (issuesAllCommitMessages.length) {
issuesAllCommitMessages.sort();
const basicTips = [
`- correct format of commit message should be: \`<type/action>(<scope/component>): <summary>\`, for example \`fix(esp32): Fixed startup timeout issue\``,
`- allowed types are: \`${allowedTypes}\``,
`- sufficiently descriptive message summary should be between ${minimumSummaryChars} to ${maximumSummaryChars} characters and start with upper case letter`,
`- avoid Jira references in commit messages (unavailable/irrelevant for our customers)`,
`- follow this [commit messages guide](${process.env.DANGER_GITLAB_HOST}/espressif/esp-idf/-/wikis/dev-proc/Commit-messages)`,
];
let dangerMessage = `\n**Some issues found for the commit messages in this MR:**\n${issuesAllCommitMessages.join(
"\n"
)}
\n***
\n**Please consider updating these commit messages** - here are some basic tips:\n${basicTips.join(
"\n"
)}
\n \`TIP:\` You can install commit-msg pre-commit hook (\`pre-commit install -t pre-commit -t commit-msg\`) to run this check when committing.
\n***
`;
if (generateAISuggestion) {
// Create AI generated suggestion for git commit message based of gitDiff and current commit messages
const AImessageSuggestion =
await require("./aiGenerateGitMessage.js")();
dangerMessage += AImessageSuggestion;
}
recordRuleExitStatus(ruleName, "Failed");
return warn(dangerMessage);
}
// At this point, the rule has passed
recordRuleExitStatus(ruleName, "Passed");
};

View File

@@ -1,16 +0,0 @@
module.exports = {
gptStandardModelTokens: 4096,
minimumSummaryChars: 20,
maximumSummaryChars: 72,
maximumBodyLineChars: 100,
allowedTypes: [
"change",
"ci",
"docs",
"feat",
"fix",
"refactor",
"remove",
"revert",
],
};

View File

@@ -1,23 +0,0 @@
const { recordRuleExitStatus } = require("./configParameters.js");
/**
* Check if the author is accidentally making a commit using a personal email
*
* @dangerjs INFO
*/
module.exports = function () {
const ruleName = 'Commits from outside Espressif';
const mrCommitAuthorEmails = danger.gitlab.commits.map(commit => commit.author_email);
const mrCommitCommitterEmails = danger.gitlab.commits.map(commit => commit.committer_email);
const emailPattern = /.*@espressif\.com/;
const filteredEmails = [...mrCommitAuthorEmails, ...mrCommitCommitterEmails].filter((email) => !emailPattern.test(email));
if (filteredEmails.length) {
recordRuleExitStatus(ruleName, "Failed");
return message(
`Some of the commits were authored or committed by developers outside Espressif: ${filteredEmails.join(', ')}. Please check if this is expected.`
);
}
// At this point, the rule has passed
recordRuleExitStatus(ruleName, 'Passed');
};

View File

@@ -1,22 +0,0 @@
const { recordRuleExitStatus } = require("./configParameters.js");
/**
* Check if MR has not an excessive numbers of commits (if squashed)
*
* @dangerjs INFO
*/
module.exports = function () {
const ruleName = 'Number of commits in merge request';
const tooManyCommitThreshold = 2; // above this number of commits, squash commits is suggested
const mrCommits = danger.gitlab.commits;
if (mrCommits.length > tooManyCommitThreshold) {
recordRuleExitStatus(ruleName, "Passed (with suggestions)");
return message(
`You might consider squashing your ${mrCommits.length} commits (simplifying branch history).`
);
}
// At this point, the rule has passed
recordRuleExitStatus(ruleName, 'Passed');
};

View File

@@ -1,238 +0,0 @@
const { recordRuleExitStatus } = require("./configParameters.js");
/** Check that there are valid JIRA links in MR description.
*
* This check extracts the "Related" section from the MR description and
* searches for JIRA ticket references in the format "Closes [JIRA ticket key]".
*
* It then extracts the closing GitHub links from the corresponding JIRA tickets and
* checks if the linked GitHub issues are still in open state.
*
* Finally, it checks if the required GitHub closing links are present in the MR's commit messages.
*
*/
module.exports = async function () {
const ruleName = 'Jira ticket references';
const axios = require("axios");
const mrDescription = danger.gitlab.mr.description;
const mrCommitMessages = danger.gitlab.commits.map(
(commit) => commit.message
);
const jiraTicketRegex = /[A-Z0-9]+-[0-9]+/;
let partMessages = []; // Create a blank field for future records of individual issues
// Parse section "Related" from MR Description
const sectionRelated = extractSectionRelated(mrDescription);
if (
!sectionRelated.header || // No section Related in MR description or ...
!jiraTicketRegex.test(sectionRelated.content) // no Jira links in section Related
) {
recordRuleExitStatus(ruleName, 'Passed (with suggestions)');
return message(
"Please consider adding references to JIRA issues in the `Related` section of the MR description."
);
}
// Get closing (only) JIRA tickets
const jiraTickets = findClosingJiraTickets(sectionRelated.content);
for (const ticket of jiraTickets) {
ticket.jiraUIUrl = `https://jira.espressif.com:8443/browse/${ticket.ticketName}`;
if (!ticket.correctFormat) {
partMessages.push(
`- closing ticket \`${ticket.record}\` seems to be in the wrong format (or inaccessible to Jira DangerBot).. The correct format is for example \`- Closes JIRA-123\`.`
);
}
// Get closing GitHub issue links from JIRA tickets
const closingGithubLink = await getGitHubClosingLink(ticket.ticketName);
if (closingGithubLink) {
ticket.closingGithubLink = closingGithubLink;
} else if (closingGithubLink === null) {
partMessages.push(
`- the Jira issue number [\`${ticket.ticketName}\`](${ticket.jiraUIUrl}) seems to be invalid (please check if the ticket number is correct)`
);
continue; // Handle unreachable JIRA tickets; skip the following checks
} else {
continue; // Jira ticket have no GitHub closing link; skip the following checks
}
// Get still open GitHub issues
const githubIssueStatusOpen = await isGithubIssueOpen(
ticket.closingGithubLink
);
ticket.isOpen = githubIssueStatusOpen;
if (githubIssueStatusOpen === null) {
// Handle unreachable GitHub issues
partMessages.push(
`- the GitHub issue [\`${ticket.closingGithubLink}\`](${ticket.closingGithubLink}) does not seem to exist on GitHub (referenced from JIRA ticket [\`${ticket.ticketName}\`](${ticket.jiraUIUrl}) )`
);
continue; // skip the following checks
}
// Search in commit message if there are all GitHub closing links (from Related section) for still open GH issues
if (ticket.isOpen) {
if (
!mrCommitMessages.some((item) =>
item.includes(`Closes ${ticket.closingGithubLink}`)
)
) {
partMessages.push(
`- please add \`Closes ${ticket.closingGithubLink}\` to the commit message`
);
}
}
}
// Create report / DangerJS check feedback if issues with Jira links found
if (partMessages.length) {
createReport();
}
// At this point, the rule has passed
recordRuleExitStatus(ruleName, 'Passed');
// ---------------------------------------------------------------
/**
* This function takes in a string mrDescription which contains a Markdown-formatted text
* related to a Merge Request (MR) in a GitLab repository. It searches for a section titled "Related"
* and extracts the content of that section. If the section is not found, it returns an object
* indicating that the header and content are null. If the section is found but empty, it returns
* an object indicating that the header is present but the content is null. If the section is found
* with content, it returns an object indicating that the header is present and the content of the
* "Related" section.
*
* @param {string} mrDescription - The Markdown-formatted text related to the Merge Request.
* @returns {{
* header: string | boolean | null,
* content: string | null
* }} - An object containing the header and content of the "Related" section, if present.
*/
function extractSectionRelated(mrDescription) {
const regexSectionRelated = /## Related([\s\S]*?)(?=## |$)/;
const sectionRelated = mrDescription.match(regexSectionRelated);
if (!sectionRelated) {
return { header: null, content: null }; // Section "Related" is missing
}
const content = sectionRelated[1].replace(/(\r\n|\n|\r)/gm, ""); // Remove empty lines
if (!content.length) {
return { header: true, content: null }; // Section "Related" is present, but empty
}
return { header: true, content: sectionRelated[1] }; // Found section "Related" with content
}
/**
* Finds all JIRA tickets that are being closed in the given sectionRelatedcontent.
* The function searches for lines that start with - Closes and have the format Closes [uppercase letters]-[numbers].
* @param {string} sectionRelatedcontent - A string that contains lines with mentions of JIRA tickets
* @returns {Array} An array of objects with ticketName property that has the correct format
*/
function findClosingJiraTickets(sectionRelatedcontent) {
let closingTickets = [];
const lines = sectionRelatedcontent.split("\n");
for (const line of lines) {
if (!line.startsWith("- Closes")) {
continue; // Not closing-type ticket, skip
}
const correctJiraClosingLinkFormat = new RegExp(
`^- Closes ${jiraTicketRegex.source}$`
);
const matchedJiraTicket = line.match(jiraTicketRegex);
if (matchedJiraTicket) {
if (!correctJiraClosingLinkFormat.test(line)) {
closingTickets.push({
record: line,
ticketName: matchedJiraTicket[0],
correctFormat: false,
});
} else {
closingTickets.push({
record: line,
ticketName: matchedJiraTicket[0],
correctFormat: true,
});
}
}
}
return closingTickets;
}
/**
* This function takes a JIRA issue key and retrieves the description from JIRA's API.
* It then searches the description for a GitHub closing link in the format "Closes https://github.com/owner/repo/issues/123".
* If a GitHub closing link is found, it is returned. If no GitHub closing link is found, it returns null.
* @param {string} jiraIssueKey - The key of the JIRA issue to search for the GitHub closing link.
* @returns {Promise<string|null>} - A promise that resolves to a string containing the GitHub closing link if found,
* or null if not found.
*/
async function getGitHubClosingLink(jiraIssueKey) {
let jiraDescription = "";
// Get JIRA ticket description content
try {
const response = await axios({
url: `https://jira.espressif.com:8443/rest/api/latest/issue/${jiraIssueKey}`,
auth: {
username: process.env.DANGER_JIRA_USER,
password: process.env.DANGER_JIRA_PASSWORD,
},
});
jiraDescription = response.data.fields.description
? response.data.fields.description
: ""; // if the Jira ticket has an unfilled Description, the ".description" property is missing in API response - in that case set "jiraDescription" to an empty string
} catch (error) {
return null;
}
// Find GitHub closing link in description
const regexClosingGhLink =
/Closes\s+(https:\/\/github.com\/\S+\/\S+\/issues\/\d+)/;
const closingGithubLink = jiraDescription.match(regexClosingGhLink);
if (closingGithubLink) {
return closingGithubLink[1];
} else {
return false; // Jira issue has no GitHub closing link in description
}
}
/**
* Check if a GitHub issue linked in a merge request is still open.
*
* @param {string} link - The link to the GitHub issue.
* @returns {Promise<boolean>} A promise that resolves to a boolean indicating if the issue is open.
* @throws {Error} If the link is invalid or if there was an error fetching the issue.
*/
async function isGithubIssueOpen(link) {
const parsedUrl = new URL(link);
const [owner, repo] = parsedUrl.pathname.split("/").slice(1, 3);
const issueNumber = parsedUrl.pathname.split("/").slice(-1)[0];
try {
const response = await axios.get(
`https://api.github.com/repos/${owner}/${repo}/issues/${issueNumber}`
);
return response.data.state === "open"; // return True if GitHub issue is open
} catch (error) {
return null; // GET request to issue fails
}
}
function createReport() {
partMessages.sort();
let dangerMessage = `Some issues found for the related JIRA tickets in this MR:\n${partMessages.join(
"\n"
)}`;
recordRuleExitStatus(ruleName, "Failed");
return warn(dangerMessage);
}
};

View File

@@ -1,24 +0,0 @@
const { recordRuleExitStatus } = require("./configParameters.js");
/**
* Check if MR Description has accurate description".
*
* @dangerjs WARN
*/
module.exports = function () {
const ruleName = "Merge request sufficient description";
const mrDescription = danger.gitlab.mr.description;
const descriptionChunk = mrDescription.match(/^([^#]*)/)[1].trim(); // Extract all text before the first section header (i.e., the text before the "## Release notes")
const shortMrDescriptionThreshold = 50; // Description is considered too short below this number of characters
if (descriptionChunk.length < shortMrDescriptionThreshold) {
recordRuleExitStatus(ruleName, "Failed");
return warn(
"The MR description looks very brief, please check if more details can be added."
);
}
// At this point, the rule has passed
recordRuleExitStatus(ruleName, "Passed");
};

View File

@@ -1,103 +0,0 @@
const { recordRuleExitStatus } = require("./configParameters.js");
/**
* Check if MR Description contains mandatory section "Release notes"
*
* Extracts the content of the "Release notes" section from the GitLab merge request description.
*
* @dangerjs WARN (if section missing, is empty or wrong markdown format)
*/
module.exports = function () {
const ruleName = 'Merge request Release Notes section';
const mrDescription = danger.gitlab.mr.description;
const wiki_link = `${process.env.DANGER_GITLAB_HOST}/espressif/esp-idf/-/wikis/rfc/How-to-write-release-notes-properly`;
const regexSectionReleaseNotes = /## Release notes([\s\S]*?)(?=## |$)/;
const regexValidEntry = /^\s*[-*+]\s+.+/;
const regexNoReleaseNotes = /no release note/i;
const sectionReleaseNotes = mrDescription.match(regexSectionReleaseNotes);
if (!sectionReleaseNotes) {
recordRuleExitStatus(ruleName, "Failed");
return warn(`The \`Release Notes\` section seems to be missing. Please check if the section header in MR description is present and in the correct markdown format ("## Release Notes").\n\nSee [Release Notes Format Rules](${wiki_link}).`);
}
const releaseNotesLines = sectionReleaseNotes[1].replace(/<!--[\s\S]*?-->/g, '')
const lines = releaseNotesLines.split("\n").filter(s => s.trim().length > 0);
let valid_entries_found = 0;
let no_release_notes_found = false;
let violations = [];
lines.forEach((line) => {
if (line.match(regexValidEntry)) {
valid_entries_found++;
const error_msg = check_entry(line);
if (error_msg) {
violations.push(error_msg);
}
} else if (line.match(regexNoReleaseNotes)) {
no_release_notes_found = true;
}
});
let error_output = [];
if (violations.length > 0) {
error_output = [...error_output, 'Invalid release note entries:', violations.join('\n')];
}
if (no_release_notes_found) {
if (valid_entries_found > 0) {
error_output.push('`No release notes` comment shows up when there is valid entry. Remove bullets before comments in release notes section.');
}
} else {
if (!valid_entries_found) {
error_output.push('The `Release Notes` section seems to have no valid entries. Add bullets before valid entries, or add `No release notes` comment to suppress this error if you mean to have no release notes.');
}
}
if (error_output.length > 0) {
// Paragraphs joined by double `\n`s.
error_output = [...error_output, `See [Release Notes Format Guide](${wiki_link}).`].join('\n\n');
recordRuleExitStatus(ruleName, "Failed");
return warn(error_output);
}
// At this point, the rule has passed
recordRuleExitStatus(ruleName, 'Passed');
};
function check_entry(entry) {
const entry_str = `- \`${entry}\``;
const indent = " ";
if (entry.match(/no\s+release\s+note/i)) {
return [entry_str, `${indent}- \`No release notes\` comment shouldn't start with bullet.`].join('\n');
}
// Remove a leading escaping backslash of the special characters, https://www.markdownguide.org/basic-syntax/#characters-you-can-escape
const escapeCharRegex = /\\([\\`*_{}[\]<>()+#-.!|])/g;
entry = entry.replace(escapeCharRegex, '$1');
const regex = /^(\s*)[-*+]\s+\[([^\]]+)\]\s+(.*)$/;
const match = regex.exec(entry);
if (!match) {
return [entry_str, `${indent}- Please specify the [area] to which the change belongs (see guide). If this line is just a comment, remove the bullet.`].join('\n');
}
// area is in match[2]
const description = match[3].trim();
let violations = [];
if (match[1]) {
violations.push(`${indent}- Release note entry should start from the beginning of line. (Nested release note not allowed.)`);
}
if (!/^[A-Z0-9]/.test(description)) {
violations.push(`${indent}- Release note statement should start with a capital letter or digit.`);
}
if (violations.length > 0) {
return [entry_str, ...violations].join('\n');
}
return null;
}

View File

@@ -1,280 +0,0 @@
const { recordRuleExitStatus } = require("./configParameters.js");
/**
* Check the documentation files in this MR.
*
* Generate an object with all docs/ files found in this MR with paths to their EN/CN versions.
*
* For common files (both language versions exist in this MR), compare the lines of both files.
* Ignore if the CN file is only a single line file with an "include" reference to the EN version.
*
* For files that only have a CN version in this MR, add a message to the message that an EN file also needs to be created.
*
* For a file that only has an EN version in this MR, try loading its CN version from the target Gitlab branch.
* If its CN version doesn't exist in the repository or it does exist,
* but its contents are larger than just an "include" link to the EN version (it's a full-size file),
* add a message to the report
*
* Create a compiled report with the docs/ files issues found and set its severity (WARN/INFO).
* Severity is based on the presence of "needs translation: ??" labels in this MR
*
* @dangerjs WARN (if docs translation issues in the MR)
* @dangerjs INFO (if docs translation issues in the MR and the user has already added translation labels).
* Adding translation labels "needs translation: XX" automatically notifies the Documentation team
*
* @dangerjs WARN (if there are no docs issues in MR, but translation labels have been added anyway)
*
*/
module.exports = async function () {
const ruleName = 'Documentation translation';
let partMessages = []; // Create a blank field for future records of individual issues
const pathProject = "espressif/esp-idf";
const regexIncludeLink = /\.\.\sinclude::\s((\.\.\/)+)en\//;
const allMrFiles = [
...danger.git.modified_files,
...danger.git.created_files,
...danger.git.deleted_files,
];
const docsFilesMR = parseMrDocsFiles(allMrFiles); // Create single object of all doc files in MR with names, paths and groups
// Both versions (EN and CN) of document found changed in this MR
for (const file of docsFilesMR.bothFilesInMr) {
file.contentEn = await getContentFileInMR(file.fileEnPath); // Get content of English file
file.linesEn = file.contentEn.split("\n").length; // Get number of lines of English file
file.contentCn = await getContentFileInMR(file.fileCnPath); // Get content of Chinese file
file.linesCn = file.contentCn.split("\n").length; // Get number of lines of English file
// Compare number of lines in both versions
if (file.linesEn !== file.linesCn) {
// Check if CN file is only link to EN file
if (!regexIncludeLink.test(file.contentCn)) {
// if not just a link ...
partMessages.push(
`- please synchronize the EN and CN version of \`${file.fileName}\`. [\`${file.fileEnPath}\`](${file.fileUrlRepoEN}) has ${file.linesEn} lines; [\`${file.fileCnPath}\`](${file.fileUrlRepoCN}) has ${file.linesCn} lines.`
);
}
}
}
// Only Chinese version of document found changed in this MR
for (const file of docsFilesMR.onlyCnFilesInMr) {
partMessages.push(
`- file \`${file.fileEnPath}\` doesn't exist in this MR or in the GitLab repo. Please add \`${file.fileEnPath}\` into this MR.`
);
}
// Only English version of document found in this MR
for (const file of docsFilesMR.onlyEnFilesInMr) {
const targetBranch = danger.gitlab.mr.target_branch;
file.contentCn = await getContentFileInGitlab(
file.fileCnPath,
targetBranch
); // Try to fetch CN file from target branch of Gitlab repository and store content
if (file.contentCn) {
// File found on target branch in Gitlab repository
if (!regexIncludeLink.test(file.contentCn)) {
// File on Gitlab master is NOT just an ..include:: link to ENG version
file.fileUrlRepoMasterCN = `${process.env.DANGER_GITLAB_HOST}/${pathProject}/-/blob/${targetBranch}/${file.fileCnPath}`;
partMessages.push(
`- file \`${file.fileCnPath}\` was not updated in this MR, but found unchanged full document (not just link to EN) in target branch of Gitlab repository [\`${file.fileCnPath}\`](${file.fileUrlRepoMasterCN}). Please update \`${file.fileCnPath}\` into this MR.`
);
}
} else {
// File failed to fetch, probably does not exist in the target branch
partMessages.push(
`- file \`${file.fileCnPath}\` probably doesn't exist in this MR or in the GitLab repo. Please add \`${file.fileCnPath}\` into this MR.`
);
}
}
// Create a report with found issues with documents in MR
createReport();
// At this point, the rule has passed
recordRuleExitStatus(ruleName, 'Passed');
/**
* Generates an object that represents the relationships between files in two different languages found in this MR.
*
* @param {string[]} docsFilesEN - An array of file paths for documents in English.
* @param {string[]} docsFilesCN - An array of file paths for documents in Chinese.
* @returns {Object} An object with the following properties:
* - bothFilesInMr: An array of objects that represent files that found in MR in both languages. Each object has the following properties:
* - fileName: The name of the file.
* - fileEnPath: The path to the file in English.
* - fileCnPath: The path to the file in Chinese.
* - fileUrlRepoEN: The URL link to MR branch path to the file in English.
* - fileUrlRepoCN: The URL link to MR branch path to the file in Chinese.
* - onlyCnFilesInMr: An array of objects that represent files that only found in MR in English. Each object has the following properties:
* - fileName: The name of the file.
* - fileEnPath: The path to the file in English.
* - fileCnPath: The FUTURE path to the file in Chinese.
* - fileUrlRepoEN: The URL link to MR branch path to the file in English.
* - fileUrlRepoCN: The URL link to MR branch path to the file in Chinese.
* - onlyEnFilesInMr: An array of objects that represent files that only found in MR in Chinese. Each object has the following properties:
* - fileName: The name of the file.
* - fileEnPath: The FUTURE path to the file in English.
* - fileCnPath: The path to the file in Chinese.
* - fileUrlRepoEN: The URL link to MR branch path to the file in English.
* - fileUrlRepoCN: The URL link to MR branch path to the file in Chinese.
*/
function parseMrDocsFiles(allMrFiles) {
const path = require("path");
const mrBranch = danger.gitlab.mr.source_branch;
const docsEnFilesMrPath = allMrFiles.filter((file) =>
file.startsWith("docs/en")
); // Filter all English doc files in MR
const docsCnFilesMrPath = allMrFiles.filter((file) =>
file.startsWith("docs/zh_CN")
); // Filter all Chinese doc files in MR
const docsEnFileNames = docsEnFilesMrPath.map((filePath) =>
path.basename(filePath)
); // Get (base) file names for English docs
const docsCnFileNames = docsCnFilesMrPath.map((filePath) =>
path.basename(filePath)
); // Get (base) file names for Chinese docs
const bothFileNames = docsEnFileNames.filter((fileName) =>
docsCnFileNames.includes(fileName)
); // Get file names that are common to both English and Chinese docs
const onlyEnFileNames = docsEnFileNames.filter(
(fileName) => !docsCnFileNames.includes(fileName)
); // Get file names that are only present in English version
const onlyCnFileNames = docsCnFileNames.filter(
(fileName) => !docsEnFileNames.includes(fileName)
); // Get file names that are only present in Chinese version
return {
bothFilesInMr: bothFileNames.map((fileName) => {
const fileEnPath =
docsEnFilesMrPath[docsEnFileNames.indexOf(fileName)];
const fileCnPath =
docsCnFilesMrPath[docsCnFileNames.indexOf(fileName)];
return {
fileName,
fileEnPath,
fileCnPath,
fileUrlRepoEN: `${process.env.DANGER_GITLAB_HOST}/${pathProject}/-/blob/${mrBranch}/${fileEnPath}`,
fileUrlRepoCN: `${process.env.DANGER_GITLAB_HOST}/${pathProject}/-/blob/${mrBranch}/${fileCnPath}`,
};
}),
onlyEnFilesInMr: onlyEnFileNames.map((fileName) => {
const fileEnPath =
docsEnFilesMrPath[docsEnFileNames.indexOf(fileName)];
const fileCnPath = fileEnPath.replace("en", "zh_CN"); // Generate future CN file path
return {
fileName,
fileEnPath,
fileCnPath,
fileUrlRepoEN: `${process.env.DANGER_GITLAB_HOST}/${pathProject}/-/blob/${mrBranch}/${fileEnPath}`,
fileUrlRepoCN: `${process.env.DANGER_GITLAB_HOST}/${pathProject}/-/blob/${mrBranch}/${fileCnPath}`,
};
}),
onlyCnFilesInMr: onlyCnFileNames.map((fileName) => {
const fileCnPath =
docsCnFilesMrPath[docsCnFileNames.indexOf(fileName)];
const fileEnPath = fileCnPath.replace("zh_CN", "en"); // Generate future EN file path
return {
fileName,
fileEnPath,
fileCnPath,
fileUrlRepoEN: `${process.env.DANGER_GITLAB_HOST}/${pathProject}/-/blob/${mrBranch}/${fileEnPath}`,
fileUrlRepoCN: `${process.env.DANGER_GITLAB_HOST}/${pathProject}/-/blob/${mrBranch}/${fileCnPath}`,
};
}),
};
}
/**
* Retrieves the contents of a file from GitLab using the GitLab API.
*
* @param {string} filePath - The path of the file to retrieve.
* @param {string} branch - The branch where the file is located.
* @returns {string|null} - The contents of the file, with any trailing new lines trimmed, or null if the file cannot be retrieved.
*/
async function getContentFileInGitlab(filePath, branch) {
const axios = require("axios");
const encFilePath = encodeURIComponent(filePath);
const encBranch = encodeURIComponent(branch);
const urlApi = `${process.env.DANGER_GITLAB_API_BASE_URL}/projects/${danger.gitlab.mr.project_id}/repository/files/${encFilePath}/raw?ref=${encBranch}`;
try {
const response = await axios.get(urlApi, {
headers: {
"Private-Token": process.env.DANGER_GITLAB_API_TOKEN,
},
});
return response.data.trim(); // Trim trailing new line
} catch (error) {
return null;
}
}
/**
* Retrieves the contents of a file in a DangerJS merge request object.
*
* @param {string} filePath - The path of the file to retrieve.
* @returns {string|null} - The contents of the file, with any trailing new lines trimmed, or null if the file cannot be retrieved.
*/
async function getContentFileInMR(filePath) {
try {
const content = await danger.git.diffForFile(filePath);
const fileContentAfter = content.after.trim(); // Trim trailing new lines
return fileContentAfter;
} catch (error) {
console.error(`Error while getting file content MR: ${error}`);
return null;
}
}
/**
* Creates a compiled report for found documentation issues in the current MR and alerts the Documentation team if there are any "needs translation" labels present.
*
* Report if documentation labels have been added by mistake.
*/
function createReport() {
const mrLabels = danger.gitlab.mr.labels; // Get MR labels
const regexTranslationLabel = /needs translation:/i;
const translationLabelsPresent = mrLabels.some((label) =>
regexTranslationLabel.test(label)
); // Check if any of MR labels are "needs translation: XX"
// No docs issues found in MR, but translation labels have been added anyway
if (!partMessages.length && translationLabelsPresent) {
recordRuleExitStatus(ruleName, "Failed");
return warn(
`Please remove the \`needs translation: XX\` labels. For documents that need to translate from scratch, Doc team will translate them in the future. For the current stage, we only focus on updating exiting EN and CN translation to make them in sync.`
);
}
// Docs issues found in this MR
partMessages.sort();
let dangerMessage = `Some of the documentation files in this MR seem to have translations issues:\n${partMessages.join(
"\n"
)}\n`;
if (partMessages.length) {
if (!translationLabelsPresent) {
dangerMessage += `
\nWhen synchronizing the EN and CN versions, please follow the [Documentation Code](https://docs.espressif.com/projects/esp-idf/zh_CN/latest/esp32/contribute/documenting-code.html#standardize-document-format). The total number of lines of EN and CN should be same.\n
\nIf you have difficulty in providing translation, you can contact Documentation team by adding <kbd>needs translation: CN</kbd> or <kbd>needs translation: EN</kbd> labels into this MR and retrying Danger CI job. The documentation team will be automatically notified and will help you with the translations before the merge.\n`;
recordRuleExitStatus(ruleName, "Failed");
return warn(dangerMessage); // no "needs translation: XX" labels in MR; report issues as warn
} else {
dangerMessage += `\nTranslation labels <kbd>needs translation: CN</kbd> or <kbd>needs translation: EN</kbd> were added - this will automatically notify the Documentation team to help you with translation issues.`;
recordRuleExitStatus(ruleName, 'Passed (with suggestions)');
return message(dangerMessage); // "needs translation: XX" labels were found in MR and Docs team was notified; report issues as info
}
}
}
};

View File

@@ -1,22 +0,0 @@
const { recordRuleExitStatus } = require("./configParameters.js");
/**
* Check if MR is too large (more than 1000 lines of changes)
*
* @dangerjs INFO
*/
module.exports = async function () {
const ruleName = "Merge request size (number of changed lines)";
const bigMrLinesOfCodeThreshold = 1000;
const totalLines = await danger.git.linesOfCode();
if (totalLines > bigMrLinesOfCodeThreshold) {
recordRuleExitStatus(ruleName, "Passed (with suggestions)");
return message(
`This MR seems to be quite large (total lines of code: ${totalLines}), you might consider splitting it into smaller MRs`
);
}
// At this point, the rule has passed
recordRuleExitStatus(ruleName, "Passed");
};

View File

@@ -1,31 +0,0 @@
const { recordRuleExitStatus } = require("./configParameters.js");
/**
* Throw Danger WARN if branch name contains more than one slash or uppercase letters
*
* @dangerjs INFO
*/
module.exports = function () {
const ruleName = "Source branch name";
const sourceBranch = danger.gitlab.mr.source_branch;
// Check if the source branch name contains more than one slash
const slashCount = (sourceBranch.match(/\//g) || []).length;
if (slashCount > 1) {
recordRuleExitStatus(ruleName, "Failed");
return warn(
`The source branch name \`${sourceBranch}\` contains more than one slash. This can cause troubles with git sync. Please rename the branch.`
);
}
// Check if the source branch name contains any uppercase letters
if (sourceBranch !== sourceBranch.toLowerCase()) {
recordRuleExitStatus(ruleName, "Failed");
return warn(
`The source branch name \`${sourceBranch}\` contains uppercase letters. This can cause troubles on case-insensitive file systems (macOS). Please use only lowercase letters.`
);
}
// At this point, the rule has passed
recordRuleExitStatus(ruleName, "Passed");
};

View File

@@ -1,31 +0,0 @@
const { recordRuleExitStatus } = require("./configParameters.js");
/**
* Check if MR Title contains prefix "WIP: ...".
*
* @dangerjs WARN
*/
module.exports = function () {
const ruleName = 'Merge request not in Draft or WIP state';
const mrTitle = danger.gitlab.mr.title;
const regexes = [
{ prefix: "WIP", regex: /^WIP:/i },
{ prefix: "W.I.P", regex: /^W\.I\.P/i },
{ prefix: "[WIP]", regex: /^\[WIP/i },
{ prefix: "[W.I.P]", regex: /^\[W\.I\.P/i },
{ prefix: "(WIP)", regex: /^\(WIP/i },
{ prefix: "(W.I.P)", regex: /^\(W\.I\.P/i },
];
for (const item of regexes) {
if (item.regex.test(mrTitle)) {
recordRuleExitStatus(ruleName, "Failed");
return warn(
`Please remove the \`${item.prefix}\` prefix from the MR name before merging this MR.`
);
}
}
// At this point, the rule has passed
recordRuleExitStatus(ruleName, "Passed");
};

File diff suppressed because it is too large Load Diff

View File

@@ -1,12 +0,0 @@
{
"name": "dangerjs-esp-idf",
"description": "Merge request automatic linter",
"main": "dangerfile.js",
"dependencies": {
"danger": "^11.2.3",
"axios": "^1.3.3",
"langchain": "^0.0.53",
"openai-gpt-token-counter": "^1.0.3",
"@commitlint/lint": "^13.1.0"
}
}

View File

@@ -13,3 +13,17 @@
<!-- Either state release notes or write "No release notes" -->
<!-- ## Breaking change notes --><!-- Optional -->
<!-- ## Dynamic Pipeline Configuration
```yaml
Test Case Filters:
# Only run tests that match the given substring expression (modified files/components will be ignored):
# Please use a list of strings.
# This will run the test cases filtered like `pytest -k "(<list_item_1>) or (<list_item_2>) or ...`
# The fast pipeline will fail at the final stage.
# For example:
- test_sdm and not sdmmc
- test_hello_world
# This example will include all tests containing 'test_hello_world' in the name,
# and include all tests containing 'test_sdm' but not 'sdmmc' in the name.
``` --><!-- Optional -->

View File

@@ -10,8 +10,7 @@ _This entire section can be deleted if all items are checked._
* [ ] All related links, including JIRA, backport, submodule MR, are mentioned in the `Related` subsection.
* [ ] Any GitHub issues are linked inside the git commit message and corresponding release notes
* [ ] Add label for the area this MR is part of
* [ ] For documentation updates, check if label `Docs` and `needs translation:CN` or `needs translation:EN` have been added when the other language version still needs the update. Skip adding the label if the document is not yet translated.
* [ ] Check if documents requiring translation fall under get-started section. If yes, add the labels mentioned above. Then the documentation team will assign a translator for you. Please inform the translator to prepare translation once your MR is ready to merge. The translation should be included in your MR to get it merged. For more information, see documentation workflow in Wiki.
* [ ] For documentation updates, check if label `needs translation:CN` or `needs translation:EN` have been added when the other language version still needs the update. Don't add such labels if the document updated has never been translated before and requires translation from scratch.
* [ ] Any necessary "needs backport" labels are added
* [ ] Check if this is a breaking change. If it is, add notes to the `Breaking change notes` subsection below
* [ ] Release note entry if this is a new public feature, or a fix for an issue introduced in the previous release.
@@ -42,7 +41,7 @@ _For other small/non-public changes, which are not expected to be in the release
_Don't touch the subsection titles below, they will be parsed by scripts._
## Release notes (Mandatory)
## Release notes <!-- Mandatory -->
_Changes made in this MR that should go into the **Release Notes** should be listed here. Please use **past tense** and *specify the area (see maintainers page of IDF internal wiki)*. If there is a subscope, include it and separate with slash (`/`). Minor changes can go to the descriptions above without a release notes entry._

15
.gitmodules vendored
View File

@@ -49,12 +49,15 @@
[submodule "components/json/cJSON"]
path = components/json/cJSON
url = ../../DaveGamble/cJSON.git
sbom-version = 1.7.17
sbom-version = 1.7.18
sbom-cpe = cpe:2.3:a:cjson_project:cjson:{}:*:*:*:*:*:*:*
sbom-supplier = Person: Dave Gamble
sbom-url = https://github.com/DaveGamble/cJSON
sbom-description = Ultralightweight JSON parser in ANSI C
sbom-hash = 87d8f0961a01bf09bef98ff89bae9fdec42181ee
sbom-hash = 8f2beb57ddad1f94bed899790b00f46df893ccac
sbom-cve-exclude-list = CVE-2024-31755 Resolved in v1.7.18
sbom-cve-exclude-list = CVE-2023-26819 Resolved in commit a328d65ad490b64da8c87523cbbfe16050ba5bf6
sbom-cve-exclude-list = CVE-2023-53154 Resolved in v1.7.18
[submodule "components/mbedtls/mbedtls"]
path = components/mbedtls/mbedtls
@@ -81,11 +84,11 @@
[submodule "components/unity/unity"]
path = components/unity/unity
url = ../../ThrowTheSwitch/Unity.git
sbom-version = v2.4.3-51-g7d2bf62b7e6a
sbom-version = v2.6.0-RC1
sbom-supplier = Organization: ThrowTheSwitch community <http://www.throwtheswitch.org>
sbom-url = https://github.com/ThrowTheSwitch/Unity
sbom-description = Simple Unit Testing for C
sbom-hash = 7d2bf62b7e6afaf38153041a9d53c21aeeca9a25
sbom-hash = bf560290f6020737eafaa8b5cbd2177c3956c03f
[submodule "components/bt/host/nimble/nimble"]
path = components/bt/host/nimble/nimble
@@ -132,6 +135,10 @@
path = components/bt/controller/lib_esp32c6/esp32c6-bt-lib
url = ../../espressif/esp32c6-bt-lib.git
[submodule "components/bt/controller/lib_esp32c5/esp32c5-bt-lib"]
path = components/bt/controller/lib_esp32c5/esp32c5-bt-lib
url = ../../espressif/esp32c5-bt-lib.git
[submodule "components/heap/tlsf"]
path = components/heap/tlsf
url = ../../espressif/tlsf.git

View File

@@ -22,7 +22,9 @@ repos:
.*_pb2.py|
.*.pb-c.h|
.*.pb-c.c|
.*.yuv
.*.yuv|
.*.rgb|
docs/sphinx-known-warnings\.txt
)$
- id: end-of-file-fixer
exclude: *whitespace_excludes
@@ -51,6 +53,11 @@ repos:
(?x)^(
.*_pb2.py
)$
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
- id: codespell
exclude: ^docs/sphinx-known-warnings\.txt$
- repo: local
hooks:
- id: check-executables
@@ -65,18 +72,6 @@ repos:
language: python
pass_filenames: false
always_run: true
- id: check-kconfigs
name: Validate Kconfig files
entry: tools/ci/check_kconfigs.py
language: python
additional_dependencies:
- esp-idf-kconfig>=1.4.2,<2.0.0
files: '^Kconfig$|Kconfig.*$'
- id: check-deprecated-kconfigs-options
name: Check if any Kconfig Options Deprecated
entry: tools/ci/check_deprecated_kconfigs.py
language: python
files: 'sdkconfig\.ci$|sdkconfig\.rename$|sdkconfig.*$'
- id: cmake-lint
name: Check CMake Files Format
entry: cmakelint --linelength=120 --spaces=4 --filter=-whitespace/indent
@@ -92,30 +87,24 @@ repos:
always_run: true
files: '\.gitlab/CODEOWNERS'
pass_filenames: false
- id: check-rules-yml
name: Check rules.yml all rules have at lease one job applied, all rules needed exist
entry: tools/ci/check_rules_yml.py
language: python
files: '\.gitlab/ci/.+\.yml|\.gitlab-ci.yml|\.gitmodules'
pass_filenames: false
additional_dependencies:
- PyYAML == 5.3.1
- id: check-generated-rules
name: Check rules are generated (based on .gitlab/ci/dependencies/dependencies.yml)
entry: tools/ci/generate_rules.py
language: python
files: '\.gitlab/ci/dependencies/.+|\.gitlab/ci/.*\.yml'
files: '\.gitlab/ci/dependencies/.+|\.gitlab/ci/.*\.yml|.gitlab-ci.yml'
pass_filenames: false
require_serial: true
additional_dependencies:
- PyYAML == 5.3.1
- id: mypy-check
name: Check type annotations in python files
entry: tools/ci/check_type_comments.py
additional_dependencies:
- 'mypy==0.940'
- 'mypy-extensions==0.4.3'
- 'types-setuptools==57.4.14'
- 'types-PyYAML==0.1.9'
- 'mypy'
- 'mypy-extensions'
- 'types-setuptools'
- 'types-PyYAML'
- 'types-requests'
exclude: >
(?x)^(
.*_pb2.py
@@ -162,14 +151,20 @@ repos:
require_serial: true
additional_dependencies:
- PyYAML == 5.3.1
- idf_build_apps~=1.0
- id: sort-build-test-rules-ymls
name: sort .build-test-rules.yml files
entry: tools/ci/check_build_test_rules.py sort-yaml
- idf-build-apps~=2.5
- id: sort-yaml-files
name: sort yaml files
entry: tools/ci/sort_yaml.py
language: python
files: '\.build-test-rules\.yml'
files: '\.build-test-rules\.yml$|known_generate_test_child_pipeline_warnings\.yml$'
additional_dependencies:
- ruamel.yaml
- id: sort-yaml-test
name: sort yaml test
entry: python -m unittest tools/ci/sort_yaml.py
language: python
files: 'tools/ci/sort_yaml\.py$'
additional_dependencies:
- PyYAML == 5.3.1
- ruamel.yaml
- id: check-build-test-rules-path-exists
name: check path in .build-test-rules.yml exists
@@ -186,6 +181,14 @@ repos:
language: python
always_run: true
require_serial: true
- id: gitlab-yaml-linter
name: Check gitlab yaml files
entry: tools/ci/gitlab_yaml_linter.py
language: python
files: '\.gitlab-ci\.yml|\.gitlab/ci/.+\.yml|\.gitmodules'
pass_filenames: false
additional_dependencies:
- PyYAML == 5.3.1
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
@@ -197,7 +200,7 @@ repos:
- id: check-copyright
args: ['--ignore', 'tools/ci/check_copyright_ignore.txt', '--config', 'tools/ci/check_copyright_config.yaml']
- repo: https://github.com/espressif/conventional-precommit-linter
rev: v1.2.1
rev: v1.7.0
hooks:
- id: conventional-precommit-linter
stages: [commit-msg]
@@ -218,8 +221,24 @@ repos:
name: shellcheck dash (export.sh)
args: ['--shell', 'dash', '-x']
files: 'export.sh'
- repo: https://github.com/espressif/esp-pwsh-check
rev: v1.0.1
hooks:
- id: check-powershell-scripts
stages: [manual]
- repo: https://github.com/espressif/esp-idf-sbom.git
rev: v0.13.0
hooks:
- id: validate-sbom-manifest
stages: [post-commit]
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: v0.9.1
hooks:
- id: 'sphinx-lint'
name: Lint rST files in docs folder using Sphinx Lint
files: ^(docs/en|docs/zh_CN)/.*\.(rst|inc)$
- repo: https://github.com/espressif/esp-idf-kconfig.git
rev: v2.5.0
hooks:
- id: check-kconfig-files
- id: check-deprecated-kconfig-options

View File

@@ -15,7 +15,7 @@ python:
install:
- requirements: docs/requirements.txt
# We need to list all the submodules included in documenation build by DOxygen
# We need to list all the submodules included in documenation build by Doxygen
submodules:
include:
- components/mqtt/esp-mqtt

View File

@@ -16,7 +16,11 @@ endif()
if(NOT BOOTLOADER_BUILD)
if(CONFIG_COMPILER_OPTIMIZATION_SIZE)
list(APPEND compile_options "-Os")
if(CMAKE_C_COMPILER_ID MATCHES "Clang")
list(APPEND compile_options "-Oz")
else()
list(APPEND compile_options "-Os")
endif()
if(CMAKE_C_COMPILER_ID MATCHES "GNU")
list(APPEND compile_options "-freorder-blocks")
endif()
@@ -34,7 +38,11 @@ if(NOT BOOTLOADER_BUILD)
else() # BOOTLOADER_BUILD
if(CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE)
list(APPEND compile_options "-Os")
if(CMAKE_C_COMPILER_ID MATCHES "Clang")
list(APPEND compile_options "-Oz")
else()
list(APPEND compile_options "-Os")
endif()
if(CMAKE_C_COMPILER_ID MATCHES "GNU")
list(APPEND compile_options "-freorder-blocks")
endif()
@@ -96,7 +104,7 @@ if(CMAKE_C_COMPILER_ID MATCHES "Clang")
list(APPEND compile_options "-Wno-pointer-bool-conversion")
# mbedTLS md5.c triggers this warning in md5_test_buf (false positive)
list(APPEND compile_options "-Wno-string-concatenation")
# multiple cases of implict convertions between unrelated enum types
# multiple cases of implicit conversions between unrelated enum types
list(APPEND compile_options "-Wno-enum-conversion")
# When IRAM_ATTR is specified both in function declaration and definition,
# it produces different section names, since section names include __COUNTER__.
@@ -121,8 +129,10 @@ if(CMAKE_C_COMPILER_ID MATCHES "Clang")
list(APPEND compile_options "-Wno-c2x-extensions")
# warning on xMPU_SETTINGS for esp32s2 has size 0 for C and 1 for C++
list(APPEND compile_options "-Wno-extern-c-compat")
# warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1
list(APPEND compile_options "-Wno-single-bit-bitfield-constant-conversion")
if(NOT (CONFIG_IDF_TARGET_LINUX AND CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin"))
# warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1
list(APPEND compile_options "-Wno-single-bit-bitfield-constant-conversion")
endif()
endif()
# More warnings may exist in unit tests and example projects.
@@ -134,6 +144,10 @@ if(CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE)
list(APPEND compile_definitions "-DNDEBUG")
endif()
if(CONFIG_COMPILER_NO_MERGE_CONSTANTS)
list(APPEND compile_options "-fno-merge-constants")
endif()
if(CONFIG_COMPILER_STACK_CHECK_MODE_NORM)
list(APPEND compile_options "-fstack-protector")
elseif(CONFIG_COMPILER_STACK_CHECK_MODE_STRONG)
@@ -146,46 +160,8 @@ if(CONFIG_COMPILER_DUMP_RTL_FILES)
list(APPEND compile_options "-fdump-rtl-expand")
endif()
if(NOT ${CMAKE_C_COMPILER_VERSION} VERSION_LESS 8.0.0)
if(CONFIG_COMPILER_HIDE_PATHS_MACROS)
list(APPEND compile_options "-fmacro-prefix-map=${CMAKE_SOURCE_DIR}=.")
list(APPEND compile_options "-fmacro-prefix-map=${IDF_PATH}=/IDF")
endif()
if(CONFIG_APP_REPRODUCIBLE_BUILD)
idf_build_set_property(DEBUG_PREFIX_MAP_GDBINIT "${BUILD_DIR}/prefix_map_gdbinit")
list(APPEND compile_options "-fdebug-prefix-map=${IDF_PATH}=/IDF")
list(APPEND compile_options "-fdebug-prefix-map=${PROJECT_DIR}=/IDF_PROJECT")
list(APPEND compile_options "-fdebug-prefix-map=${BUILD_DIR}=/IDF_BUILD")
# component dirs
idf_build_get_property(python PYTHON)
idf_build_get_property(idf_path IDF_PATH)
idf_build_get_property(component_dirs BUILD_COMPONENT_DIRS)
execute_process(
COMMAND ${python}
"${idf_path}/tools/generate_debug_prefix_map.py"
"${BUILD_DIR}"
"${component_dirs}"
OUTPUT_VARIABLE result
RESULT_VARIABLE ret
)
if(NOT ret EQUAL 0)
message(FATAL_ERROR "This is a bug. Please report to https://github.com/espressif/esp-idf/issues")
endif()
spaces2list(result)
list(LENGTH component_dirs length)
math(EXPR max_index "${length} - 1")
foreach(index RANGE ${max_index})
list(GET component_dirs ${index} folder)
list(GET result ${index} after)
list(APPEND compile_options "-fdebug-prefix-map=${folder}=${after}")
endforeach()
endif()
endif()
__generate_prefix_map(prefix_map_compile_options)
list(APPEND compile_options ${prefix_map_compile_options})
if(CONFIG_COMPILER_DISABLE_GCC12_WARNINGS)
list(APPEND compile_options "-Wno-address"
@@ -199,10 +175,22 @@ if(CONFIG_COMPILER_DISABLE_GCC13_WARNINGS)
"-Wno-dangling-reference")
endif()
if(CONFIG_COMPILER_DISABLE_GCC14_WARNINGS)
list(APPEND compile_options "-Wno-calloc-transposed-args")
endif()
if(CONFIG_COMPILER_DISABLE_DEFAULT_ERRORS)
if(NOT CMAKE_C_COMPILER_ID MATCHES "Clang")
idf_build_replace_option_from_property(COMPILE_OPTIONS "-Werror" "-Werror=all")
endif()
endif()
# GCC-specific options
if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
list(APPEND compile_options "-fstrict-volatile-bitfields"
)
list(APPEND compile_options "-fstrict-volatile-bitfields")
if(CONFIG_COMPILER_STATIC_ANALYZER)
list(APPEND compile_options "-fanalyzer")
endif()
endif()
if(CONFIG_ESP_SYSTEM_USE_EH_FRAME)
@@ -213,17 +201,44 @@ endif()
list(APPEND link_options "-fno-lto")
if(CONFIG_IDF_TARGET_LINUX AND CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin")
# Not all versions of the MacOS linker support the -warn_commons flag.
# ld version 1053.12 (and above) have been tested to support it.
# Hence, we extract the version string from the linker output
# before including the flag.
# Get the ld version, capturing both stdout and stderr
execute_process(
COMMAND ${CMAKE_LINKER} -v
OUTPUT_VARIABLE LD_VERSION_OUTPUT
ERROR_VARIABLE LD_VERSION_ERROR
OUTPUT_STRIP_TRAILING_WHITESPACE
ERROR_STRIP_TRAILING_WHITESPACE
)
# Combine stdout and stderr
set(LD_VERSION_OUTPUT "${LD_VERSION_OUTPUT}\n${LD_VERSION_ERROR}")
# Extract the version string
string(REGEX MATCH "PROJECT:(ld|dyld)-([0-9]+)\\.([0-9]+)" LD_VERSION_MATCH "${LD_VERSION_OUTPUT}")
set(LD_VERSION_MAJOR_MINOR "${CMAKE_MATCH_2}.${CMAKE_MATCH_3}")
message(STATUS "Linker Version: ${LD_VERSION_MAJOR_MINOR}")
# Compare the version with 1053.12
if(LD_VERSION_MAJOR_MINOR VERSION_GREATER_EQUAL "1053.12")
list(APPEND link_options "-Wl,-warn_commons")
endif()
list(APPEND link_options "-Wl,-dead_strip")
list(APPEND link_options "-Wl,-warn_commons")
else()
list(APPEND link_options "-Wl,--gc-sections")
list(APPEND link_options "-Wl,--warn-common")
endif()
# SMP FreeRTOS user provided minimal idle hook. This allows the user to provide
# their own copy of vApplicationMinimalIdleHook()
if(CONFIG_FREERTOS_USE_MINIMAL_IDLE_HOOK)
list(APPEND link_options "-Wl,--wrap=vApplicationMinimalIdleHook")
# their own copy of vApplicationPassiveIdleHook()
if(CONFIG_FREERTOS_USE_PASSIVE_IDLE_HOOK)
list(APPEND link_options "-Wl,--wrap=vApplicationPassiveIdleHook")
endif()
# Placing jump tables in flash would cause issues with code that required
@@ -236,22 +251,15 @@ if(CMAKE_C_COMPILER_ID MATCHES "GNU")
endif()
if(CMAKE_C_COMPILER_ID MATCHES "Clang")
list(APPEND compile_options "-fno-use-cxa-atexit")
list(APPEND compile_options "-fno-use-cxa-atexit") # TODO IDF-10934
else()
list(APPEND cxx_compile_options "-fuse-cxa-atexit")
endif()
if(COMPILER_RT_LIB_NAME)
list(APPEND link_options "-rtlib=${CONFIG_COMPILER_RT_LIB_NAME}")
endif()
# For the transition period from 32-bit time_t to 64-bit time_t,
# auto-detect the size of this type and set corresponding variable.
include(CheckTypeSize)
check_type_size("time_t" TIME_T_SIZE)
if(TIME_T_SIZE)
idf_build_set_property(TIME_T_SIZE ${TIME_T_SIZE})
else()
message(FATAL_ERROR "Failed to determine sizeof(time_t)")
endif()
idf_build_set_property(COMPILE_OPTIONS "${compile_options}" APPEND)
idf_build_set_property(C_COMPILE_OPTIONS "${c_compile_options}" APPEND)

View File

@@ -52,47 +52,62 @@ Supported since ESP-IDF v4.2.
| Release branch | Recommended | Required |
|------------------------|-------------|----------|
| release/v4.2 | v4.2.3 | v4.2.3 |
| release/v4.3 | v4.3.3 | v4.3.3 |
| release/v4.4 | v4.4.6 | v4.4.1 |
| release/v5.0 | v5.0.4 | v5.0 |
| release/v5.1 | v5.1.2 | v5.1 |
| release/v5.2 and above | v5.2 | v5.2 |
| release/v4.2 | v4.2.3+ | v4.2 |
| release/v4.3 | v4.3.3+ | v4.3 |
| release/v4.4 | v4.4.6+ | v4.4 |
| release/v5.0 | v5.0.4+ | v5.0 |
| release/v5.1 | v5.1.2+ | v5.1 |
| release/v5.2 and above | v5.2+ | v5.2 |
### ESP32-C3
#### v0.2, v0.3
#### v0.2 - v0.4
Supported since ESP-IDF v4.3.
#### v0.4
#### v1.1
To be added.
| Release branch | Recommended | Required |
|------------------------|-------------|----------|
| release/v4.2 | EOL | EOL |
| release/v4.3 | v4.3.7+ | v4.3.7 |
| release/v4.4 | v4.4.7+ | v4.4.7 |
| release/v5.0 | v5.0.5+ | v5.0.5 |
| release/v5.1 | v5.1.3+ | v5.1.3 |
| release/v5.2 and above | v5.2+ | v5.2 |
### ESP32-S3
#### v0.1
#### v0.1, v0.2
Supported since ESP-IDF v4.4.
#### v0.2
To be added.
### ESP32-C2 & ESP8684
#### v1.0
#### v1.0, v1.1
Supported since ESP-IDF v5.0.
#### v1.1
To be added.
#### v1.2
To be added.
| Release branch | Recommended | Required |
|------------------------|-------------|----------|
| release/v5.0 | v5.0.7+ | v5.0 |
| release/v5.1 | v5.1.4+ | v5.1 |
| release/v5.2 | v5.2.2+ | v5.2 |
| release/v5.3 and above | v5.3+ | v5.3 |
### ESP32-C6
#### v0.0, v0.1
Supported since ESP-IDF v5.1.
### ESP32-H2
#### v0.1, v0.2
Supported since ESP-IDF v5.1.
## What If the ESP-IDF Version Is Lower than the `Required` Version?

View File

@@ -50,48 +50,64 @@
#### v1.0
| 发布分支 | 推荐版本 | 需求版本 |
| 发布分支 | 推荐版本 | 需求版本 |
|------------------------|-------------|----------|
| release/v4.2 | v4.2.3 | v4.2.3 |
| release/v4.3 | v4.3.3 | v4.3.3 |
| release/v4.4 | v4.4.6 | v4.4.1 |
| release/v5.0 | v5.0.4 | v5.0 |
| release/v5.1 | v5.1.2 | v5.1 |
| release/v5.2 及以上 | v5.2 | v5.2 |
| release/v4.2 | v4.2.3+ | v4.2 |
| release/v4.3 | v4.3.3+ | v4.3 |
| release/v4.4 | v4.4.6+ | v4.4 |
| release/v5.0 | v5.0.4+ | v5.0 |
| release/v5.1 | v5.1.2+ | v5.1 |
| release/v5.2 及以上 | v5.2+ | v5.2 |
### ESP32-C3
#### v0.2 v0.3
#### v0.2 - v0.4
从 ESP-IDF v4.3 开始支持。
#### v0.4
#### v1.1
待更新。
| 发布分支 | 推荐版本 | 需求版本 |
|------------------------|-------------|----------|
| release/v4.2 | EOL | EOL |
| release/v4.3 | v4.3.7+ | v4.3.7 |
| release/v4.4 | v4.4.7+ | v4.4.7 |
| release/v5.0 | v5.0.5+ | v5.0.5 |
| release/v5.1 | v5.1.3+ | v5.1.3 |
| release/v5.2 及以上 | v5.2+ | v5.2 |
### ESP32-S3
#### v0.1
#### v0.1, v0.2
从 ESP-IDF v4.4 开始支持。
#### v0.2
待更新。
### ESP32-C2 & ESP8684
#### v1.0
#### v1.0, v1.1
从 ESP-IDF v5.0 开始支持。
#### v1.1
待更新。
#### v1.2
待更新。
| 发布分支 | 推荐版本 | 需求版本 |
|------------------------|-------------|----------|
| release/v5.0 | v5.0.7+ | v5.0 |
| release/v5.1 | v5.1.4+ | v5.1 |
| release/v5.2 | v5.2.2+ | v5.1 |
| release/v5.3 及以上 | v5.3+ | v5.3 |
### ESP32-C6
#### v0.0, v0.1
从 ESP-IDF v5.1 开始支持。
### ESP32-H2
#### v0.1, v0.2
从 ESP-IDF v5.1 开始支持。
## 如果 ESP-IDF 版本低于 `需求版本` 会出现什么情况?

106
Kconfig
View File

@@ -22,7 +22,6 @@ mainmenu "Espressif IoT Development Framework Configuration"
config IDF_ENV_BRINGUP
bool
default "y" if IDF_TARGET_ESP32P4
help
- This option is ONLY used when doing new chip bringup.
- This option will only enable necessary hw / sw settings for running
@@ -49,6 +48,10 @@ mainmenu "Espressif IoT Development Framework Configuration"
bool
default "y" if IDF_TOOLCHAIN="clang"
config IDF_TOOLCHAIN_GCC
bool
default "y" if IDF_TOOLCHAIN="gcc"
config IDF_TARGET_ARCH_RISCV
bool
default "n"
@@ -76,10 +79,6 @@ mainmenu "Espressif IoT Development Framework Configuration"
string
default "$IDF_INIT_VERSION"
config IDF_TARGET_LINUX
bool
default "y" if IDF_TARGET="linux"
config IDF_TARGET_ESP32
bool
default "y" if IDF_TARGET="esp32"
@@ -114,6 +113,12 @@ mainmenu "Espressif IoT Development Framework Configuration"
select FREERTOS_UNICORE
select IDF_TARGET_ARCH_RISCV
config IDF_TARGET_ESP32C5
bool
default "y" if IDF_TARGET="esp32c5"
select FREERTOS_UNICORE
select IDF_TARGET_ARCH_RISCV
config IDF_TARGET_ESP32P4
bool
default "y" if IDF_TARGET="esp32p4"
@@ -125,6 +130,12 @@ mainmenu "Espressif IoT Development Framework Configuration"
select FREERTOS_UNICORE
select IDF_TARGET_ARCH_RISCV
config IDF_TARGET_ESP32C61
bool
default "y" if IDF_TARGET="esp32c61"
select FREERTOS_UNICORE
select IDF_TARGET_ARCH_RISCV
config IDF_TARGET_LINUX
bool
default "y" if IDF_TARGET="linux"
@@ -139,6 +150,8 @@ mainmenu "Espressif IoT Development Framework Configuration"
default 0x000D if IDF_TARGET_ESP32C6
default 0x0010 if IDF_TARGET_ESP32H2
default 0x0012 if IDF_TARGET_ESP32P4
default 0x0017 if IDF_TARGET_ESP32C5
default 0x0014 if IDF_TARGET_ESP32C61
default 0xFFFF
@@ -310,8 +323,8 @@ mainmenu "Espressif IoT Development Framework Configuration"
help
This option sets compiler optimization level (gcc -O argument) for the app.
- The "Debug" setting will add the -0g flag to CFLAGS.
- The "Size" setting will add the -0s flag to CFLAGS.
- The "Debug" setting will add the -Og flag to CFLAGS.
- The "Size" setting will add the -Os flag to CFLAGS (-Oz with Clang).
- The "Performance" setting will add the -O2 flag to CFLAGS.
- The "None" setting will add the -O0 flag to CFLAGS.
@@ -332,7 +345,7 @@ mainmenu "Espressif IoT Development Framework Configuration"
config COMPILER_OPTIMIZATION_DEBUG
bool "Debug (-Og)"
config COMPILER_OPTIMIZATION_SIZE
bool "Optimize for size (-Os)"
bool "Optimize for size (-Os with GCC, -Oz with Clang)"
config COMPILER_OPTIMIZATION_PERF
bool "Optimize for performance (-O2)"
config COMPILER_OPTIMIZATION_NONE
@@ -375,6 +388,21 @@ mainmenu "Espressif IoT Development Framework Configuration"
endchoice # assertions
config COMPILER_ASSERT_NDEBUG_EVALUATE
bool "Enable the evaluation of the expression inside assert(X) when NDEBUG is set"
default y
help
When NDEBUG is set, assert(X) will not cause code to trigger an assertion.
With this option set, assert(X) will still evaluate the expression X, though
the result will never cause an assertion. This means that if X is a function
then the function will be called.
This is not according to the standard, which states that the assert(X) should
be replaced with ((void)0) if NDEBUG is defined.
In ESP-IDF v6.0 the default behavior will change to "no" to be in line with the
standard.
choice COMPILER_FLOAT_LIB_FROM
prompt "Compiler float lib source"
default COMPILER_FLOAT_LIB_FROM_RVFPLIB if ESP_ROM_HAS_RVFPLIB
@@ -496,6 +524,15 @@ mainmenu "Espressif IoT Development Framework Configuration"
help
Stack smashing protection.
config COMPILER_NO_MERGE_CONSTANTS
bool "Disable merging const sections"
depends on IDF_TOOLCHAIN_GCC
help
Disable merging identical constants (string/floating-point) across compilation units.
This helps in better size analysis of the application binary as the rodata section
distribution is more uniform across libraries. On downside, it may increase
the binary size and hence should be used during development phase only.
config COMPILER_WARN_WRITE_STRINGS
bool "Enable -Wwrite-strings warning flag"
default "n"
@@ -522,6 +559,20 @@ mainmenu "Espressif IoT Development Framework Configuration"
This option can be enabled for RISC-V targets only.
config COMPILER_DISABLE_DEFAULT_ERRORS
bool "Disable errors for default warnings"
default "y"
help
Enable this option if you do not want default warnings to be considered as errors,
especially when updating IDF.
This is a temporary flag that could help to allow upgrade while having
some time to address the warnings raised by those default warnings.
Alternatives are:
1) fix code (preferred),
2) remove specific warnings,
3) do not consider specific warnings as error.
config COMPILER_DISABLE_GCC12_WARNINGS
bool "Disable new warnings introduced in GCC 12"
default "n"
@@ -536,6 +587,13 @@ mainmenu "Espressif IoT Development Framework Configuration"
Enable this option if use GCC 13 or newer, and want to disable warnings which don't appear with
GCC 12.
config COMPILER_DISABLE_GCC14_WARNINGS
bool "Disable new warnings introduced in GCC 14"
default "n"
help
Enable this option if use GCC 14 or newer, and want to disable warnings which don't appear with
GCC 13.
config COMPILER_DUMP_RTL_FILES
bool "Dump RTL files during compilation"
help
@@ -570,6 +628,34 @@ mainmenu "Espressif IoT Development Framework Configuration"
default "gcc" if COMPILER_RT_LIB_GCCLIB
default "" if COMPILER_RT_LIB_HOST
choice COMPILER_ORPHAN_SECTIONS
prompt "Orphan sections handling"
default COMPILER_ORPHAN_SECTIONS_WARNING
depends on !IDF_TARGET_LINUX
help
If the linker finds orphan sections, it attempts to place orphan sections after sections of the same
attribute such as code vs data, loadable vs non-loadable, etc.
That means that orphan sections could placed between sections defined in IDF linker scripts.
This could lead to corruption of the binary image. Configure the linker action here.
config COMPILER_ORPHAN_SECTIONS_WARNING
bool "Place with warning"
help
Places orphan sections with a warning message.
config COMPILER_ORPHAN_SECTIONS_PLACE
bool "Place silently"
help
Places orphan sections without a warning/error message.
endchoice
config COMPILER_STATIC_ANALYZER
bool "Enable compiler static analyzer"
default "n"
depends on IDF_TOOLCHAIN_GCC
help
Enable compiler static analyzer. This may produce false-positive results and increases compile time.
endmenu # Compiler Options
menu "Component config"
@@ -590,4 +676,6 @@ mainmenu "Espressif IoT Development Framework Configuration"
- CONFIG_ESPTOOLPY_FLASHFREQ_120M && CONFIG_ESPTOOLPY_FLASH_SAMPLE_MODE_DTR
- CONFIG_SPIRAM_SPEED_120M && CONFIG_SPIRAM_MODE_OCT
- CONFIG_BOOTLOADER_CACHE_32BIT_ADDR_QUAD_FLASH
- CONFIG_MBEDTLS_USE_CRYPTO_ROM_IMPL
- CONFIG_ESP_WIFI_EAP_TLS1_3
- CONFIG_ESP_WIFI_ENABLE_ROAMING_APP
- CONFIG_USB_HOST_EXT_PORT_RESET_ATTEMPTS

View File

@@ -15,16 +15,18 @@ ESP-IDF is the development framework for Espressif SoCs supported on Windows, Li
The following table shows ESP-IDF support of Espressif SoCs where ![alt text][preview] and ![alt text][supported] denote preview status and support, respectively. The preview support is usually limited in time and intended for beta versions of chips. Please use an ESP-IDF release where the desired SoC is already supported.
|Chip | v4.3 | v4.4 | v5.0 | v5.1 | v5.2 | |
|:----------- | :---------------------:| :---------------------:| :---------------------:| :--------------------: | :--------------------: | :----------------------------------------------------------|
|ESP32 | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | |
|ESP32-S2 | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | |
|ESP32-C3 | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | |
|ESP32-S3 | | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | [Announcement](https://www.espressif.com/en/news/ESP32_S3) |
|ESP32-C2 | | | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | [Announcement](https://www.espressif.com/en/news/ESP32-C2) |
|ESP32-C6 | | | | ![alt text][supported] | ![alt text][supported] | [Announcement](https://www.espressif.com/en/news/ESP32_C6) |
|ESP32-H2 | | | | ![alt text][supported] | ![alt text][supported] | [Announcement](https://www.espressif.com/en/news/ESP32_H2) |
|ESP32-P4 | | | | | ![alt text][preview] | [Announcement](https://www.espressif.com/en/news/ESP32-P4) |
|Chip | v5.0 | v5.1 | v5.2 | v5.3 | v5.4 | |
|:----------- | :---------------------:| :--------------------: | :--------------------: | :--------------------: | :--------------------: |:------------------------------------------------------------------- |
|ESP32 | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | |
|ESP32-S2 | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | |
|ESP32-C3 | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | |
|ESP32-S3 | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] |[Announcement](https://www.espressif.com/en/news/ESP32_S3) |
|ESP32-C2 | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] |[Announcement](https://www.espressif.com/en/news/ESP32-C2) |
|ESP32-C6 | | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] |[Announcement](https://www.espressif.com/en/news/ESP32_C6) |
|ESP32-H2 | | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] |[Announcement](https://www.espressif.com/en/news/ESP32_H2) |
|ESP32-P4 | | | | ![alt text][supported] | ![alt text][supported] |[Announcement](https://www.espressif.com/en/news/ESP32-P4) |
|ESP32-C5 | | | | | ![alt text][preview] |[Announcement](https://www.espressif.com/en/news/ESP32-C5) |
|ESP32-C61 | | | | | ![alt text][preview] |[Announcement](https://www.espressif.com/en/products/socs/esp32-c61) |
[supported]: https://img.shields.io/badge/-supported-green "supported"
[preview]: https://img.shields.io/badge/-preview-orange "preview"

View File

@@ -15,16 +15,18 @@ ESP-IDF 是乐鑫官方推出的物联网开发框架,支持 Windows、Linux
下表总结了乐鑫芯片在 ESP-IDF 各版本中的支持状态,其中 ![alt text][supported] 代表已支持,![alt text][preview] 代表目前处于预览支持状态。预览支持状态通常有时间限制,而且仅适用于测试版芯片。请确保使用与芯片相匹配的 ESP-IDF 版本。
|芯片 | v4.3 | v4.4 | v5.0 | v5.1 | v5.2 | |
|:----------- | :---------------------:| :---------------------:| :---------------------:| :--------------------: | :--------------------: | :-------------------------------------------------------------- |
|ESP32 | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | |
|ESP32-S2 | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | |
|ESP32-C3 | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | |
|ESP32-S3 | | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | [芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32_S3) |
|ESP32-C2 | | | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | [芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32-C2) |
|ESP32-C6 | | | | ![alt text][supported] | ![alt text][supported] | [芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32_C6) |
|ESP32-H2 | | | | ![alt text][supported] | ![alt text][supported] | [芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32_H2) |
|ESP32-P4 | | | | | ![alt text][preview] | [芯片发布公告](https://www.espressif.com/en/news/ESP32-P4) |
|芯片 | v5.0 | v5.1 | v5.2 | v5.3 | v5.4 | |
|:----------- | :---------------------:| :--------------------: | :--------------------: | :--------------------: | :--------------------: | :------------------------------------------------------------------------ |
|ESP32 | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | |
|ESP32-S2 | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | |
|ESP32-C3 | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | |
|ESP32-S3 | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | [芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32_S3) |
|ESP32-C2 | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | [芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32-C2) |
|ESP32-C6 | | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | [芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32_C6) |
|ESP32-H2 | | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | [芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32_H2) |
|ESP32-P4 | | | | ![alt text][supported] | ![alt text][supported] | [芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32-P4) |
|ESP32-C5 | | | | | ![alt text][preview] | [芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32-C5) |
|ESP32-C61 | | | | | ![alt text][preview] | [芯片发布公告](https://www.espressif.com/zh-hans/products/socs/esp32-c61) |
[supported]: https://img.shields.io/badge/-%E6%94%AF%E6%8C%81-green "supported"
[preview]: https://img.shields.io/badge/-%E9%A2%84%E8%A7%88-orange "preview"
@@ -121,7 +123,7 @@ ESP-IDF 中的子模块采用相对路径([详见 .gitmodules 文件](.gitmodu
* 最新版的文档https://docs.espressif.com/projects/esp-idf/ ,该文档是由本仓库 [docs 目录](docs) 构建得到。
* [初学者指南:主要概念和资源](https://www.bilibili.com/video/BV1114y1r7du/)
* [初学者指南:主要概念和资源](https://www.bilibili.com/video/BV1114y1r7du/)
* 可以前往 [esp32.com 论坛](https://esp32.com/) 提问,挖掘社区资源。

123
ROADMAP.md Normal file
View File

@@ -0,0 +1,123 @@
# ESP-IDF Project Roadmap2024
This document outlines the goals of ESP-IDF project and is shared for the convenience of our customers. It is important to clarify that this document is not a binding commitment to our customers. Instead, its primary purpose is to offer a clear roadmap and direction for the project's development. By openly sharing this information, we aim to enhance our customers' understanding, promote transparency and ensure alignment with the overarching objectives of the ESP-IDF project.
## Project Overview
### Project Goals
In both minor and major releases, we integrate new chip support to enhance our product range. By expanding the chip matrix, we broaden the scope of our offerings, catering to a wider audience with diverse needs. This proactive approach ensures that our products remain at the forefront of technological advancements, consistently meeting and exceeding customer expectations.
Furthermore, we prioritize bugfix releases for active branches, focusing on improving the stability and performance of products already in production. By addressing bugs promptly, we aim to enhance the overall user experience and provide tangible benefits to customers relying on our solutions. This proactive maintenance strategy reflects our commitment to delivering reliable, high-quality products to our valued customer base.
Below are the main objectives that ESP-IDF project/teams would like to implement in 2024.
- New Chip Support
- Add support for ESP32-P4
- Add support for ESP32-C5
- Add support for ESP32-C61
- More Minor Releases
- Release IDF v5.3 in 2024
- Release IDF v5.4 at the start of 2025
- More Bugfix Releases
- Release v4.4.8 for IDF v4.4 before ESP-IDF v4.4 goes End of Life in July 2024
- Do more bugfix releases for IDF v5.1 before release/5.1 enters maintenance period in June 2024
- Do more bug fixes releases for release/5.2 and release/5.3, and push the two releases to be more stable and production-ready
- Updates of Libraries
- Update GDB to 14.2
- Update LLVM to 18.1.2
- Update MbedTLS to 3.6 (LTS)
- Update LWIP to 2.2.0
- Change minimal Python requirement to 3.9
Please note that support status of previous silicones could be found on [ESP-IDF Release and SoC Compatibility](https://github.com/espressif/esp-idf#esp-idf-release-and-soc-compatibility).
### Roadmap Details
The ESP-IDF project prioritizes consistent maintenance and updates to ensure our customers remain at the forefront of technological advancements. Our commitment to ongoing development ensures that customers continuously benefit from the latest innovations in the field.
Moreover, we are dedicated to empowering our customers to leverage newly implemented features and enhanced functionalities through iterative improvements. Our steadfast commitment to pushing boundaries ensures that clients not only keep pace with evolving technology but also extract optimal value from the cutting-edge capabilities of our products.
Below are the main roadmap details for functional areas inside ESP-IDF.
- New Chip Support
- Add full support for ESP32-P4 in ESP-IDF v5.3, refer to [ESP32-P4 Support Status](https://github.com/espressif/esp-idf/issues/12996)
- Add preview support for ESP32-C5 in ESP-IDF v5.3 and full support for ESP32-C5 in ESP-IDF v5.4, refer to [ESP32-C5 Support Status](https://github.com/espressif/esp-idf/issues/14021)
- Add preview support for the early samples of ESP32-C61 in ESP-IDF v5.4 and full support for mass production version in ESP-IDF v5.4.x. Refer to [ESP32-C61 Support Status](https://developer.espressif.com/pages/chip-support-status/esp32c61/#esp-idf)
- Bugfix releases
- Do bugfix release IDF v4.4.8 and stop maintaining ESP-IDF v4.4 in July 2024
- Release bugfix IDF v5.0.6 and IDF v5.0.7 in 2024 (maintenance period)
- Release bugfix IDF v5.1.3 and IDF v5.1.4 in H1 of 2024, and release IDF v5.1.5 in H2 of 2024
- Push release/5.1 to maintenance period from June 2024
- Do more bug fixes releases for release/5.2 (IDF v5.2.1, IDF v5.2.2, IDF v5.2.3) and release/5.3 (IDF v5.3.1, IDF v5.3.2), and push releases to be more stable and more production-ready
## ESP-IDF Planning information
For the full list of ESP-IDF releases, please visit https://github.com/espressif/esp-idf/releases
### ESP-IDF Major Releases
No Major Releases planned
### ESP-IDF Minor Releases
#### Quarter One
- v5.2-RC1, estimate release date: 2024/02/02
- v5.2 final release, estimate release date: 2024/02/08
#### Quarter Two
- v5.3-beta1, estimate release date:: 2024/05/13
- v5.3-beta2, estimate release date:: 2024/05/31
- v5.3-RC1, estimate release date:: 2024/07/08
#### Quarter Three
- v5.3-RC2, estimate release date:: 2024/07/26
- v5.3 final release, estimate release date:: 2024/08/02
#### Quarter Four
- v5.4-beta1, estimate release date:: 2024/11/08
- v5.4-beta2, estimate release date:: 2024/11/29
- v5.4-RC1, estimate release date:: 2025/01/09
- v5.4-RC2, estimate release date:: 2025/01/29
- v5.4 final release, estimate release date: 2025/02/05
### ESP-IDF Bugfix Releases
#### Quarter One
- v5.1.3, estimate release date: 2024/02/08
- v5.0.6, estimate release date: 2024/02/18
- v4.4.7, estimate release date:: 2024/03/19
- v5.2.1, estimate release date:: 2024/03/31
#### Quarter Two
- v5.1.4, estimate release date:: 2024/05/06
- v5.2.2, estimate release date:: 2024/06/17
- v4.4.8, estimate release date:: 2024/07/19
#### Quarter Three
- v5.0.7, estimate release date: 2024/08/22
- v5.3.1, estimate release date: 2024/09/16
- v5.2.3, estimate release date: 2024/10/10
#### Quarter Four
- v5.1.5, estimate release date: 2024/11/04 (Maintenance period since June 2024)
- v5.3.2, estimate release date: 2024/12/31
- v5.2.4, estimate release date: 2025/02/20 (Service period ends Feb. 2025)

123
ROADMAP_CN.md Normal file
View File

@@ -0,0 +1,123 @@
# ESP-IDF 项目路线图 2024 (v1.0)
本文档概述了 ESP-IDF 项目的年度计划,方便客户据此规划自己的项目周期。需要说明的是该文档并不是我们对客户的约束性承诺。相反,其主要目的是为客户提供 ESP-IDF 项目开发的路线图和方向。通过公开这些信息,我们希望增进客户对 ESP-IDF 项目的理解,提高透明度,并确保与 ESP-IDF 项目的总体目标保持一致。
## 项目总览
### 项目目标
在 ESP-IDF 的主要版本和次要版本中,我们一般会增加对新芯片的支持,以扩展我们的产品线。通过扩展芯片矩阵,拓宽我们的产品范围,并满足广泛受众的各种需求。这样便能保证我们的产品始终处于技术进步的前沿,不断满足客户的需求并超越客户的期望。
此外ESP-IDF 各活跃分支的 Bugfix 版本发布也是我们项目的重中之重,着力提升已量产产品的稳定性和性能。通过及时解决问题,我们期待提升用户的整体体验,切实惠及使用乐鑫解决方案的客户。通过积极维护 ESP-IDF 的各活跃分支,我们践行了对宝贵的客户群提供可靠、高质量产品的承诺。
以下是 ESP-IDF 项目在 2024 年计划实现的主要目标。
* 新芯片支持
* 增加对 ESP32-P4 芯片的支持
* 增加对 ESP32-C5 芯片的支持
* 增加对 ESP32-C61 芯片的支持
* 发布更多的次要版本
* 在 2024 年发布 IDF v5.3
* 在 2025 年初发布 IDF v5.4
* 发布更多 Bugfix 版本
* 在 2024 年 7 月底 IDF v4.4 停止维护之前,发布 IDF v4.4.8
* 在 2024 年 6 月底release/5.1 分支进入维护周期之前,发布更多 Bugfix 版本
* release/5.2 分支和 release/5.3 分支发布更多 Bugfix 版本,使这两个分支更加稳定和产品化
* 上游库与工具链的更新
* 将 GDB 升级至 14.2
* 将 LLVM 升级至 18.1.2
* 更新 MbedTLS 至 3.6LTS
* 更新 LWIP 至 2.2.0
* 将最低 Python 要求更改为 3.9
请注意,获取之前芯片的支持状态,请参阅 [ESP-IDF 发布和 SoC 兼容性](https://github.com/espressif/esp-idf/blob/master/README_CN.md#esp-idf-与乐鑫芯片)。
### 路线图细节
ESP-IDF 项目重视持续维护和更新,确保我们的客户始终处于技术进步的前沿。我们承诺持续进行开发,并将该领域的最新创新成果呈现给客户。
此外,我们也在给客户赋能,客户通过迭代改进便能接触到新开发的功能和更高的性能。我们在突破技术界限方面的坚定承诺,使客户不仅能接触到最新的技术,还能从我们产品的尖端功能中获取最大价值。
以下是 ESP-IDF 路线图的主要信息。
* 新芯片支持
* 在 ESP-IDF v5.3 中为 ESP32-P4 提供完整支持,参考 [ESP32-P4 支持状态](https://github.com/espressif/esp-idf/issues/12996)
* 在 ESP-IDF v5.3 中为 ESP32-C5 提供预览支持,并在 ESP-IDF v5.4 中为 ESP32-C5 提供完整支持,参考 [ESP32-C5 支持状态](https://github.com/espressif/esp-idf/issues/14021)
* 在 ESP-IDF v5.4 中增加对 ESP32-C61 早期样品的预览支持,并在 IDF v5.4.x 中增加对 ESP32-C61 量产版本的完整支持,参考 [ESP32-C61 支持状态](https://developer.espressif.com/pages/chip-support-status/esp32c61/#esp-idf)
* Bugfix 版本发布
* 发布 Bugfix 版本 IDF v4.4.8,并在 2024 年 7 月底停止维护 ESP-IDF v4.4
* 2024 年release/5.0 分支已处于维护周期,发布 IDF v5.0.6 和 IDF v5.0.7
* 2024 年上半年发布 Bugfix 版本 IDF v5.1.3 和 IDF v5.1.4,并在 2024 年下半年发布 IDF v5.1.5
* 自 2024 年 6 月起release/5.1 分支进入到维护周期
* release/5.2 分支发布更多 Bugfix 版本,包括 IDF v5.2.1、IDF v5.2.2、IDF v5.2.3release/5.3 分支发布更多 Bugfix 版本,包括 IDF v5.3.1、IDF v5.3.2。通过发布这些 Bugfix 版本,使 release/5.2 分支和 release/5.3 分支更加稳定和产品化。
## ESP-IDF 发布计划
获取 ESP-IDF 的完整发布列表,请访问 https://github.com/espressif/esp-idf/releases
### ESP-IDF 主要版本发布
2024 年,无主要版本发布计划
### ESP-IDF 次要版本发布
#### 第一季度
* v5.2-RC1预计发布日期2024/02/02
* v5.2 正式发布预计发布日期2024/02/08
#### 第二季度
* v5.3-beta1预计发布日期2024/05/13
* v5.3-beta2预计发布日期2024/05/31
* v5.3-RC1预计发布日期2024/07/08
#### 第三季度
* v5.3-RC2预计发布日期2024/07/26
* v5.3 正式发布预计发布日期2024/08/02
#### 第四季度
* v5.4-beta1预计发布日期2024/11/08
* v5.4-beta2预计发布日期2024/11/29
* v5.4-RC1预计发布日期2025/01/09
* v5.4-RC2预计发布日期2025/01/29
* v5.4 正式发布预计发布日期2025/02/05
### ESP-IDF Bugfix 版本发布
#### 第一季度
* v5.1.3预计发布日期2024/02/08
* v5.0.6预计发布日期2024/02/18
* v4.4.7预计发布日期2024/03/19
* v5.2.1预计发布日期2024/03/31
#### 第二季度
* v5.1.4预计发布日期2024/05/06
* v5.2.2预计发布日期2024/06/17
* v4.4.8预计发布日期2024/07/19
#### 第三季度
* v5.0.7预计发布日期2024/08/22
* v5.3.1预计发布日期2024/09/16
* v5.2.3预计发布日期2024/10/10
#### 第四季度
* v5.1.5预计发布日期2024/11/04自 2024 年 6 月进入维护周期)
* v5.3.2预计发布日期2024/12/31
* v5.2.4预计发布日期2025/02/20服务周期截止至 2025 年 2 月)

View File

@@ -9,6 +9,11 @@ set(srcs
"app_trace_util.c"
"host_file_io.c")
if(CONFIG_ESP_DEBUG_STUBS_ENABLE)
list(APPEND srcs
"debug_stubs.c")
endif()
if(CONFIG_APPTRACE_GCOV_ENABLE)
if("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
list(APPEND srcs
@@ -63,8 +68,7 @@ endif()
idf_component_register(SRCS "${srcs}"
INCLUDE_DIRS "${include_dirs}"
PRIV_INCLUDE_DIRS "${priv_include_dirs}"
# Requires "driver" for GPTimer in "SEGGER_SYSVIEW_Config_FreeRTOS.c"
PRIV_REQUIRES soc driver
PRIV_REQUIRES esp_driver_gptimer esp_driver_gpio esp_driver_uart
REQUIRES esp_timer
LDFRAGMENTS linker.lf)

View File

@@ -14,6 +14,7 @@ menu "Application Level Tracing"
config APPTRACE_DEST_NONE
bool "None"
endchoice
config APPTRACE_DEST_UART
@@ -60,7 +61,7 @@ menu "Application Level Tracing"
endchoice
config APPTRACE_UART_TX_GPIO
int "UART TX on GPIO#"
int "UART TX on GPIO<num>"
depends on APPTRACE_DEST_UART_NOUSB
range 0 46
default 12 if IDF_TARGET_ESP32
@@ -70,7 +71,7 @@ menu "Application Level Tracing"
This GPIO is used for UART TX pin.
config APPTRACE_UART_RX_GPIO
int "UART RX on GPIO#"
int "UART RX on GPIO<num>"
depends on APPTRACE_DEST_UART_NOUSB
range 0 46
default 13 if IDF_TARGET_ESP32
@@ -213,7 +214,7 @@ menu "Application Level Tracing"
depends on APPTRACE_SV_ENABLE
default APPTRACE_SV_DEST_JTAG
help
SystemView witt transfer data trough defined interface.
SystemView will transfer data through the defined interface.
config APPTRACE_SV_DEST_JTAG
bool "Data destination JTAG"
@@ -231,7 +232,7 @@ menu "Application Level Tracing"
choice APPTRACE_SV_CPU
prompt "CPU to trace"
depends on APPTRACE_SV_DEST_UART && !FREERTOS_UNICORE
depends on APPTRACE_SV_DEST_UART && !ESP_SYSTEM_SINGLE_CORE_MODE
default APPTRACE_SV_DEST_CPU_0
help
Define the CPU to trace by SystemView.
@@ -252,8 +253,8 @@ menu "Application Level Tracing"
choice APPTRACE_SV_TS_SOURCE
prompt "Timer to use as timestamp source"
depends on APPTRACE_SV_ENABLE
default APPTRACE_SV_TS_SOURCE_CCOUNT if FREERTOS_UNICORE && !PM_ENABLE && !IDF_TARGET_ESP32C3
default APPTRACE_SV_TS_SOURCE_GPTIMER if !FREERTOS_UNICORE && !PM_ENABLE && !IDF_TARGET_ESP32C3
default APPTRACE_SV_TS_SOURCE_CCOUNT if ESP_SYSTEM_SINGLE_CORE_MODE && !PM_ENABLE && !IDF_TARGET_ESP32C3
default APPTRACE_SV_TS_SOURCE_GPTIMER if !ESP_SYSTEM_SINGLE_CORE_MODE && !PM_ENABLE && !IDF_TARGET_ESP32C3
default APPTRACE_SV_TS_SOURCE_ESP_TIMER if PM_ENABLE || IDF_TARGET_ESP32C3
help
SystemView needs to use a hardware timer as the source of timestamps
@@ -261,7 +262,7 @@ menu "Application Level Tracing"
config APPTRACE_SV_TS_SOURCE_CCOUNT
bool "CPU cycle counter (CCOUNT)"
depends on FREERTOS_UNICORE && !PM_ENABLE && !IDF_TARGET_ESP32C3
depends on ESP_SYSTEM_SINGLE_CORE_MODE && !PM_ENABLE && !IDF_TARGET_ESP32C3
config APPTRACE_SV_TS_SOURCE_GPTIMER
bool "General Purpose Timer (Timer Group)"

View File

@@ -1,7 +1,7 @@
/*
* SPDX-FileCopyrightText: 2017-2021 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2017-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/
#include <string.h>
@@ -26,8 +26,6 @@
#define ESP_APPTRACE_MAX_VPRINTF_ARGS 256
#define ESP_APPTRACE_HOST_BUF_SIZE 256
#define ESP_APPTRACE_PRINT_LOCK 0
const static char *TAG = "esp_apptrace";
/** tracing module internal data */
@@ -77,7 +75,7 @@ esp_err_t esp_apptrace_init(void)
return ESP_OK;
}
ESP_SYSTEM_INIT_FN(esp_apptrace_init, ESP_SYSTEM_INIT_ALL_CORES, 115)
ESP_SYSTEM_INIT_FN(esp_apptrace_init, SECONDARY, ESP_SYSTEM_INIT_ALL_CORES, 115)
{
return esp_apptrace_init();
}
@@ -90,7 +88,7 @@ void esp_apptrace_down_buffer_config(uint8_t *buf, uint32_t size)
return;
}
// currently down buffer is supported for JTAG interface only
// TODO: one more argument should be added to this function to specify HW inteface: JTAG, UART0 etc
// TODO: one more argument should be added to this function to specify HW interface: JTAG, UART0 etc
ch = &s_trace_channels[ESP_APPTRACE_DEST_JTAG];
if (ch->hw != NULL) {
if (ch->hw->down_buffer_config != NULL) {
@@ -196,7 +194,7 @@ esp_err_t esp_apptrace_read(esp_apptrace_dest_t dest, void *buf, uint32_t *size,
*size = 0;
uint8_t *ptr = ch->hw->get_down_buffer(ch->hw_data, &act_sz, &tmo);
if (ptr && act_sz > 0) {
ESP_APPTRACE_LOGD("Read %d bytes from host", act_sz);
ESP_APPTRACE_LOGD("Read %" PRIu32 " bytes from host", act_sz);
memcpy(buf, ptr, act_sz);
res = ch->hw->put_down_buffer(ch->hw_data, ptr, &tmo);
*size = act_sz;
@@ -329,7 +327,7 @@ int esp_apptrace_vprintf_to(esp_apptrace_dest_t dest, uint32_t user_tmo, const c
}
esp_apptrace_tmo_init(&tmo, user_tmo);
ESP_APPTRACE_LOGD("fmt %x", fmt);
ESP_APPTRACE_LOGD("fmt %p", fmt);
while ((p = (uint8_t *)strchr((char *)p, '%')) && nargs < ESP_APPTRACE_MAX_VPRINTF_ARGS) {
p++;
if (*p != '%' && *p != 0) {
@@ -355,7 +353,7 @@ int esp_apptrace_vprintf_to(esp_apptrace_dest_t dest, uint32_t user_tmo, const c
uint32_t arg = va_arg(ap, uint32_t);
*(uint32_t *)pout = arg;
pout += sizeof(uint32_t);
ESP_APPTRACE_LOGD("arg %x", arg);
ESP_APPTRACE_LOGD("arg %" PRIx32, arg);
}
int ret = ch->hw->put_up_buffer(ch->hw_data, p, &tmo);

View File

@@ -1,7 +1,7 @@
/*
* SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2021-2025 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/
#include <sys/param.h>
@@ -100,7 +100,7 @@ static esp_err_t esp_apptrace_membufs_swap(esp_apptrace_membufs_proto_data_t *pr
if (proto->hw->host_data_pending() && hdr->block_sz > 0) {
// TODO: add support for multiple blocks from host, currently there is no need for that
uint8_t *p = proto->blocks[new_block_num].start + proto->blocks[new_block_num].sz;
ESP_APPTRACE_LOGD("Recvd %d bytes from host (@ 0x%x) [%x %x %x %x %x %x %x %x .. %x %x %x %x %x %x %x %x]",
ESP_APPTRACE_LOGD("Recvd %" PRIu16 " bytes from host (@ %p) [%x %x %x %x %x %x %x %x .. %x %x %x %x %x %x %x %x]",
hdr->block_sz, proto->blocks[new_block_num].start,
*(proto->blocks[new_block_num].start+0), *(proto->blocks[new_block_num].start+1),
*(proto->blocks[new_block_num].start+2), *(proto->blocks[new_block_num].start+3),
@@ -109,7 +109,7 @@ static esp_err_t esp_apptrace_membufs_swap(esp_apptrace_membufs_proto_data_t *pr
*(p-8), *(p-7), *(p-6), *(p-5), *(p-4), *(p-3), *(p-2), *(p-1));
uint32_t sz = esp_apptrace_membufs_down_buffer_write_nolock(proto, (uint8_t *)(hdr+1), hdr->block_sz);
if (sz != hdr->block_sz) {
ESP_APPTRACE_LOGE("Failed to write %d bytes to down buffer (%d %d)!", hdr->block_sz - sz, hdr->block_sz, sz);
ESP_APPTRACE_LOGE("Failed to write %" PRIu32 " bytes to down buffer (%" PRIu16 " %" PRIu32 ")!", hdr->block_sz - sz, hdr->block_sz, sz);
}
hdr->block_sz = 0;
}
@@ -148,6 +148,18 @@ static esp_err_t esp_apptrace_membufs_swap_waitus(esp_apptrace_membufs_proto_dat
if (res != ESP_OK) {
break;
}
#if CONFIG_IDF_TARGET_ESP32S3
/*
* ESP32S3 has a serious data corruption issue with the transferred data to host.
* This delay helps reduce the failure rate by temporarily reducing heavy memory writes
* from RTOS-level tracing and giving OpenOCD more time to read trace memory before
* the current thread continues execution. While this doesn't completely prevent
* memory access from other threads/cores/ISRs, it has shown to significantly improve
* reliability when combined with CRC checks in OpenOCD. In practice, this reduces the
* number of retries needed to read an entire block without corruption.
*/
esp_rom_delay_us(100);
#endif
}
return res;
}
@@ -196,7 +208,7 @@ static uint32_t esp_apptrace_membufs_down_buffer_write_nolock(esp_apptrace_membu
uint32_t total_sz = 0;
while (total_sz < size) {
ESP_APPTRACE_LOGD("esp_apptrace_trax_down_buffer_write_nolock WRS %d-%d-%d %d", proto->rb_down.wr, proto->rb_down.rd,
ESP_APPTRACE_LOGD("esp_apptrace_trax_down_buffer_write_nolock WRS %" PRIu32 "-%" PRIu32 "-%" PRIu32 " %" PRIu32, proto->rb_down.wr, proto->rb_down.rd,
proto->rb_down.cur_size, size);
uint32_t wr_sz = esp_apptrace_rb_write_size_get(&proto->rb_down);
if (wr_sz == 0) {
@@ -206,15 +218,15 @@ static uint32_t esp_apptrace_membufs_down_buffer_write_nolock(esp_apptrace_membu
if (wr_sz > size - total_sz) {
wr_sz = size - total_sz;
}
ESP_APPTRACE_LOGD("esp_apptrace_trax_down_buffer_write_nolock wr %d", wr_sz);
ESP_APPTRACE_LOGD("esp_apptrace_trax_down_buffer_write_nolock wr %" PRIu32, wr_sz);
uint8_t *ptr = esp_apptrace_rb_produce(&proto->rb_down, wr_sz);
if (!ptr) {
assert(false && "Failed to produce bytes to down buffer!");
}
ESP_APPTRACE_LOGD("esp_apptrace_trax_down_buffer_write_nolock wr %d to 0x%x from 0x%x", wr_sz, ptr, data + total_sz + wr_sz);
ESP_APPTRACE_LOGD("esp_apptrace_trax_down_buffer_write_nolock wr %" PRIu32 " to %p from %p", wr_sz, ptr, data + total_sz + wr_sz);
memcpy(ptr, data + total_sz, wr_sz);
total_sz += wr_sz;
ESP_APPTRACE_LOGD("esp_apptrace_trax_down_buffer_write_nolock wr %d/%d", wr_sz, total_sz);
ESP_APPTRACE_LOGD("esp_apptrace_trax_down_buffer_write_nolock wr %" PRIu32 "/%" PRIu32 "", wr_sz, total_sz);
}
return total_sz;
}
@@ -278,7 +290,7 @@ uint8_t *esp_apptrace_membufs_up_buffer_get(esp_apptrace_membufs_proto_data_t *p
uint8_t *buf_ptr = NULL;
if (size > ESP_APPTRACE_USR_DATA_LEN_MAX(proto)) {
ESP_APPTRACE_LOGE("Too large user data size %d!", size);
ESP_APPTRACE_LOGE("Too large user data size %" PRIu32 "!", size);
return NULL;
}
@@ -308,21 +320,21 @@ uint8_t *esp_apptrace_membufs_up_buffer_get(esp_apptrace_membufs_proto_data_t *p
#endif
if (ESP_APPTRACE_INBLOCK_MARKER(proto) + ESP_APPTRACE_USR_BLOCK_RAW_SZ(size) > ESP_APPTRACE_INBLOCK(proto)->sz) {
#if CONFIG_APPTRACE_PENDING_DATA_SIZE_MAX > 0
ESP_APPTRACE_LOGD("Block full. Get %d bytes from PEND buffer", size);
ESP_APPTRACE_LOGD("Block full. Get %" PRIu32 " bytes from PEND buffer", size);
buf_ptr = esp_apptrace_rb_produce(&proto->rb_pend, ESP_APPTRACE_USR_BLOCK_RAW_SZ(size));
#endif
if (buf_ptr == NULL) {
int pended_buf;
ESP_APPTRACE_LOGD(" full. Get %d bytes from pend buffer", size);
ESP_APPTRACE_LOGD(" full. Get %" PRIu32 " bytes from pend buffer", size);
buf_ptr = esp_apptrace_membufs_wait4buf(proto, ESP_APPTRACE_USR_BLOCK_RAW_SZ(size), tmo, &pended_buf);
if (buf_ptr && !pended_buf) {
ESP_APPTRACE_LOGD("Got %d bytes from block", size);
ESP_APPTRACE_LOGD("Got %" PRIu32 " bytes from block", size);
// update cur block marker
ESP_APPTRACE_INBLOCK_MARKER_UPD(proto, ESP_APPTRACE_USR_BLOCK_RAW_SZ(size));
}
}
} else {
ESP_APPTRACE_LOGD("Get %d bytes from buffer", size);
ESP_APPTRACE_LOGD("Get %" PRIu32 " bytes from buffer", size);
// fit to curr nlock
buf_ptr = ESP_APPTRACE_INBLOCK(proto)->start + ESP_APPTRACE_INBLOCK_MARKER(proto);
// update cur block marker
@@ -339,7 +351,7 @@ uint8_t *esp_apptrace_membufs_up_buffer_get(esp_apptrace_membufs_proto_data_t *p
esp_err_t esp_apptrace_membufs_up_buffer_put(esp_apptrace_membufs_proto_data_t *proto, uint8_t *ptr, esp_apptrace_tmo_t *tmo)
{
esp_apptrace_membufs_pkt_end(ptr);
// TODO: mark block as busy in order not to re-use it for other tracing calls until it is completely written
// TODO: mark block as busy in order not to reuse it for other tracing calls until it is completely written
// TODO: avoid potential situation when all memory is consumed by low prio tasks which can not complete writing due to
// higher prio tasks and the latter can not allocate buffers at all
// this is abnormal situation can be detected on host which will receive only uncompleted buffers
@@ -352,12 +364,12 @@ esp_err_t esp_apptrace_membufs_flush_nolock(esp_apptrace_membufs_proto_data_t *p
int res = ESP_OK;
if (ESP_APPTRACE_INBLOCK_MARKER(proto) < min_sz) {
ESP_APPTRACE_LOGI("Ignore flush request for min %d bytes. Bytes in block: %d.", min_sz, ESP_APPTRACE_INBLOCK_MARKER(proto));
ESP_APPTRACE_LOGI("Ignore flush request for min %" PRIu32 " bytes. Bytes in block: %" PRIu32, min_sz, ESP_APPTRACE_INBLOCK_MARKER(proto));
return ESP_OK;
}
// switch block while size of data (including that in pending buffer) is more than min size
while (ESP_APPTRACE_INBLOCK_MARKER(proto) > min_sz) {
ESP_APPTRACE_LOGD("Try to flush %d bytes. Wait until block switch for %lld us", ESP_APPTRACE_INBLOCK_MARKER(proto), tmo->tmo);
ESP_APPTRACE_LOGD("Try to flush %" PRIu32 " bytes. Wait until block switch for %" PRIi64 " us", ESP_APPTRACE_INBLOCK_MARKER(proto), tmo->tmo);
res = esp_apptrace_membufs_swap_waitus(proto, tmo);
if (res != ESP_OK) {
if (tmo->tmo != ESP_APPTRACE_TMO_INFINITE)

View File

@@ -1,7 +1,7 @@
/*
* SPDX-FileCopyrightText: 2017-2021 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2017-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/
//
#include "freertos/FreeRTOS.h"
@@ -9,12 +9,14 @@
#include "esp_app_trace_util.h"
#include "sdkconfig.h"
#define ESP_APPTRACE_PRINT_LOCK 0
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////// Locks /////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#if ESP_APPTRACE_PRINT_LOCK
static esp_apptrace_lock_t s_log_lock = {.irq_stat = 0, .portmux = portMUX_INITIALIZER_UNLOCKED};
static esp_apptrace_lock_t s_log_lock = { .mux = portMUX_INITIALIZER_UNLOCKED };
#endif
int esp_apptrace_log_lock(void)
@@ -31,7 +33,7 @@ int esp_apptrace_log_lock(void)
void esp_apptrace_log_unlock(void)
{
#if ESP_APPTRACE_PRINT_LOCK
#if ESP_APPTRACE_PRINT_LOCK
esp_apptrace_lock_give(&s_log_lock);
#endif
}
@@ -87,7 +89,7 @@ esp_err_t esp_apptrace_lock_give(esp_apptrace_lock_t *lock)
uint8_t *esp_apptrace_rb_produce(esp_apptrace_rb_t *rb, uint32_t size)
{
uint8_t *ptr = rb->data + rb->wr;
// check for avalable space
// check for available space
if (rb->rd <= rb->wr) {
// |?R......W??|
if (rb->wr + size >= rb->size) {

View File

@@ -8,7 +8,8 @@
// Currently one stub is used for GCOV functionality
//
#include "esp_private/dbg_stubs.h"
#include "esp_private/startup_internal.h"
#include "dbg_stubs.h"
#include "esp_attr.h"
/*
@@ -27,7 +28,7 @@ const static char *TAG = "esp_dbg_stubs";
#define ESP_DBG_STUBS_CODE_BUF_SIZE 32
#define ESP_DBG_STUBS_STACK_MIN_SIZE 2048
#define DBG_STUB_TRAMP_ATTR IRAM_ATTR
#define DBG_STUB_TRAMP_ATTR IRAM_ATTR
static struct {
uint32_t tramp_addr;
@@ -46,7 +47,7 @@ extern void esp_dbg_stubs_ll_init(void *stub_table_addr);
static void * esp_dbg_stubs_data_alloc(uint32_t size)
{
ESP_LOGV(TAG, "%s %"PRIu32, __func__, size);
void *p = malloc(size);
void *p = malloc(size);
ESP_LOGV(TAG, "%s EXIT %p", __func__, p);
return p;
}
@@ -92,3 +93,9 @@ esp_err_t esp_dbg_stub_entry_get(esp_dbg_stub_id_t id, uint32_t *entry)
return ESP_OK;
}
ESP_SYSTEM_INIT_FN(init_dbg_stubs, SECONDARY, BIT(0), 140)
{
esp_dbg_stubs_init();
return ESP_OK;
}

View File

@@ -14,15 +14,10 @@
#include "soc/timer_periph.h"
#include "esp_app_trace.h"
#include "esp_freertos_hooks.h"
#include "esp_private/dbg_stubs.h"
#include "esp_ipc.h"
#include "dbg_stubs.h"
#include "esp_private/esp_ipc.h"
#include "esp_attr.h"
#include "hal/wdt_hal.h"
#if CONFIG_IDF_TARGET_ESP32
#include "esp32/rom/libc_stubs.h"
#elif CONFIG_IDF_TARGET_ESP32S2
#include "esp32s2/rom/libc_stubs.h"
#endif
#if CONFIG_APPTRACE_GCOV_ENABLE
@@ -84,9 +79,8 @@ void gcov_create_task(void *arg)
static IRAM_ATTR
void gcov_create_task_tick_hook(void)
{
extern esp_err_t esp_ipc_start_gcov_from_isr(uint32_t cpu_id, esp_ipc_func_t func, void* arg);
if (s_create_gcov_task) {
if (esp_ipc_start_gcov_from_isr(xPortGetCoreID(), &gcov_create_task, NULL) == ESP_OK) {
if (esp_ipc_call_nonblocking(xPortGetCoreID(), &gcov_create_task, NULL) == ESP_OK) {
s_create_gcov_task = false;
}
}

View File

@@ -122,7 +122,7 @@ static esp_err_t esp_apptrace_file_rsp_recv(esp_apptrace_dest_t dest, uint8_t *b
ESP_EARLY_LOGE(TAG, "Failed to read (%d)!", ret);
return ret;
}
ESP_EARLY_LOGV(TAG, "%s read %d bytes", __FUNCTION__, rd_size);
ESP_EARLY_LOGV(TAG, "%s read %" PRIu32 " bytes", __FUNCTION__, rd_size);
tot_rd += rd_size;
}

View File

@@ -15,7 +15,7 @@ entries:
SEGGER_SYSVIEW_FreeRTOS (noflash)
[mapping:app_trace_driver]
archive: libdriver.a
archive: libesp_driver_gptimer.a
entries:
if APPTRACE_SV_TS_SOURCE_GPTIMER = y:
gptimer (noflash)

View File

@@ -1,9 +1,10 @@
/*
* SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2021-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/
#include "sdkconfig.h"
#include "esp_cpu.h"
#include "esp_log.h"
#include "esp_app_trace_membufs_proto.h"
@@ -56,7 +57,13 @@ static bool esp_apptrace_riscv_host_data_pending(void);
const static char *TAG = "esp_apptrace";
static esp_apptrace_riscv_ctrl_block_t s_tracing_ctrl[portNUM_PROCESSORS];
#if SOC_CACHE_INTERNAL_MEM_VIA_L1CACHE
#define APPTRACE_DRAM_ATTR TCM_DRAM_ATTR
#else
#define APPTRACE_DRAM_ATTR
#endif
static APPTRACE_DRAM_ATTR esp_apptrace_riscv_ctrl_block_t s_tracing_ctrl[CONFIG_FREERTOS_NUMBER_OF_CORES];
esp_apptrace_hw_t *esp_apptrace_jtag_hw_get(void **data)
{
@@ -91,7 +98,7 @@ esp_apptrace_hw_t *esp_apptrace_jtag_hw_get(void **data)
}
/* Advertises apptrace control block address to host.
This function can be overriden with custom implementation,
This function can be overridden with custom implementation,
e.g. OpenOCD flasher stub use own implementation of it. */
__attribute__((weak)) int esp_apptrace_advertise_ctrl_block(void *ctrl_block_addr)
{
@@ -102,7 +109,7 @@ __attribute__((weak)) int esp_apptrace_advertise_ctrl_block(void *ctrl_block_add
}
/* Returns up buffers config.
This function can be overriden with custom implementation,
This function can be overridden with custom implementation,
e.g. OpenOCD flasher stub use own implementation of it. */
__attribute__((weak)) void esp_apptrace_get_up_buffers(esp_apptrace_mem_block_t mem_blocks_cfg[2])
{
@@ -158,13 +165,13 @@ static esp_err_t esp_apptrace_riscv_init(esp_apptrace_riscv_data_t *hw_data)
ESP_APPTRACE_LOGI("Apptrace initialized on CPU%d. Tracing control block @ %p.", core_id, &s_tracing_ctrl[core_id]);
s_tracing_ctrl[core_id].mem_blocks = hw_data->membufs.blocks;
for (int i = 0; i < 2; i++) {
ESP_APPTRACE_LOGD("Mem buf[%d] %d bytes @ %p (%p/%p)", i,
ESP_APPTRACE_LOGD("Mem buf[%d] %" PRIu32 " bytes @ %p (%p/%p)", i,
s_tracing_ctrl[core_id].mem_blocks[i].sz, s_tracing_ctrl[core_id].mem_blocks[i].start,
&(s_tracing_ctrl[core_id].mem_blocks[i].start), &(s_tracing_ctrl[core_id].mem_blocks[i].sz));
}
// notify host about control block address
int res = esp_apptrace_advertise_ctrl_block(&s_tracing_ctrl[core_id]);
assert(res == 0 && "Falied to send config to host!");
assert(res == 0 && "Failed to send config to host!");
return ESP_OK;
}
@@ -324,7 +331,7 @@ static esp_err_t esp_apptrace_riscv_buffer_swap_start(uint32_t curr_block_id)
uint32_t acked_block = ESP_APPTRACE_RISCV_BLOCK_ID_GET(ctrl_reg);
uint32_t host_to_read = ESP_APPTRACE_RISCV_BLOCK_LEN_GET(ctrl_reg);
if (host_to_read != 0 || acked_block != (curr_block_id & ESP_APPTRACE_RISCV_BLOCK_ID_MSK)) {
ESP_APPTRACE_LOGD("[%d]: Can not switch %x %d %x %x/%lx", esp_cpu_get_core_id(), ctrl_reg, host_to_read, acked_block,
ESP_APPTRACE_LOGD("[%d]: Can not switch %" PRIx32 " %" PRIu32 " %" PRIx32 " %" PRIx32 "/%" PRIx32, esp_cpu_get_core_id(), ctrl_reg, host_to_read, acked_block,
curr_block_id & ESP_APPTRACE_RISCV_BLOCK_ID_MSK, curr_block_id);
res = ESP_ERR_NO_MEM;
goto _on_err;

View File

@@ -1,7 +1,7 @@
/*
* SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
* SPDX-License-Identifier: Apache-2.0 OR MIT
*/
//
@@ -12,7 +12,7 @@
// ======================
// Xtensa has useful feature: TRAX debug module. It allows recording program execution flow at run-time without disturbing CPU.
// Exectution flow data are written to configurable Trace RAM block. Besides accessing Trace RAM itself TRAX module also allows to read/write
// Execution flow data are written to configurable Trace RAM block. Besides accessing Trace RAM itself TRAX module also allows to read/write
// trace memory via its registers by means of JTAG, APB or ERI transactions.
// ESP32 has two Xtensa cores with separate TRAX modules on them and provides two special memory regions to be used as trace memory.
// Chip allows muxing access to those trace memory blocks in such a way that while one block is accessed by CPUs another one can be accessed by host
@@ -47,7 +47,7 @@
// 2. TRAX Registers layout
// ========================
// This module uses two TRAX HW registers to communicate with host SW (OpenOCD).
// This module uses two TRAX HW registers and one Performance Monitor register to communicate with host SW (OpenOCD).
// - Control register uses TRAX_DELAYCNT as storage. Only lower 24 bits of TRAX_DELAYCNT are writable. Control register has the following bitfields:
// | 31..XXXXXX..24 | 23 .(host_connect). 23| 22..(block_id)..15 | 14..(block_len)..0 |
// 14..0 bits - actual length of user data in trace memory block. Target updates it every time it fills memory block and exposes it to host.
@@ -55,9 +55,15 @@
// 21..15 bits - trace memory block transfer ID. Block counter. It can overflow. Updated by target, host should not modify it. Actually can be 2 bits;
// 22 bit - 'host data present' flag. If set to one there is data from host, otherwise - no host data;
// 23 bit - 'host connected' flag. If zero then host is not connected and tracing module works in post-mortem mode, otherwise in streaming mode;
// - Status register uses TRAX_TRIGGERPC as storage. If this register is not zero then current CPU is changing TRAX registers and
// this register holds address of the instruction which application will execute when it finishes with those registers modifications.
// See 'Targets Connection' setion for details.
// - Status register uses TRAX_TRIGGERPC as storage. If this register is not zero then current CPU is changing TRAX registers and
// this register holds address of the instruction which application will execute when it finishes with those registers modifications.
// See 'Targets Connection' section for details.
// - CRC16 register uses ERI_PERFMON_PM1 as storage. This register is used to store CRC16 checksum of the exposed trace memory block.
// The register has the following format:
// | 31..16 (CRC indicator) | 15..0 (CRC16 value) |
// CRC indicator (0xA55A) is used to distinguish valid CRC values from other data that might be in the register.
// CRC16 is calculated over the entire exposed block and is updated every time a block is exposed to the host.
// This allows the host to verify data integrity of the received trace data.
// 3. Modes of operation
// =====================
@@ -127,7 +133,7 @@
// Access to internal module's data is synchronized with custom mutex. Mutex is a wrapper for portMUX_TYPE and uses almost the same sync mechanism as in
// vPortCPUAcquireMutex/vPortCPUReleaseMutex. The mechanism uses S32C1I Xtensa instruction to implement exclusive access to module's data from tasks and
// ISRs running on both cores. Also custom mutex allows specifying timeout for locking operation. Locking routine checks underlaying mutex in cycle until
// ISRs running on both cores. Also custom mutex allows specifying timeout for locking operation. Locking routine checks underlying mutex in cycle until
// it gets its ownership or timeout expires. The differences of application tracing module's mutex implementation from vPortCPUAcquireMutex/vPortCPUReleaseMutex are:
// - Support for timeouts.
// - Local IRQs for CPU which owns the mutex are disabled till the call to unlocking routine. This is made to avoid possible task's prio inversion.
@@ -142,9 +148,9 @@
// Timeout mechanism is based on xthal_get_ccount() routine and supports timeout values in microseconds.
// There are two situations when task/ISR can be delayed by tracing API call. Timeout mechanism takes into account both conditions:
// - Trace data are locked by another task/ISR. When wating on trace data lock.
// - Trace data are locked by another task/ISR. When waiting on trace data lock.
// - Current TRAX memory input block is full when working in streaming mode (host is connected). When waiting for host to complete previous block reading.
// When wating for any of above conditions xthal_get_ccount() is called periodically to calculate time elapsed from trace API routine entry. When elapsed
// When waiting for any of above conditions xthal_get_ccount() is called periodically to calculate time elapsed from trace API routine entry. When elapsed
// time exceeds specified timeout value operation is canceled and ESP_ERR_TIMEOUT code is returned.
#include "sdkconfig.h"
#include "soc/soc.h"
@@ -159,11 +165,15 @@
#include "esp_log.h"
#include "esp_app_trace_membufs_proto.h"
#include "esp_app_trace_port.h"
#include "esp_rom_crc.h"
// TRAX is disabled, so we use its registers for our own purposes
// | 31..XXXXXX..24 | 23 .(host_connect). 23 | 22 .(host_data). 22| 21..(block_id)..15 | 14..(block_len)..0 |
#define ESP_APPTRACE_TRAX_CTRL_REG ERI_TRAX_DELAYCNT
#define ESP_APPTRACE_TRAX_STAT_REG ERI_TRAX_TRIGGERPC
#define ESP_APPTRACE_TRAX_CRC16_REG ERI_PERFMON_PM1
#define ESP_APPTRACE_CRC_INDICATOR (0xA55AU << 16)
#define ESP_APPTRACE_TRAX_BLOCK_LEN_MSK 0x7FFFUL
#define ESP_APPTRACE_TRAX_BLOCK_LEN(_l_) ((_l_) & ESP_APPTRACE_TRAX_BLOCK_LEN_MSK)
@@ -288,7 +298,7 @@ static inline void esp_apptrace_trax_select_memory_block(int block_num)
: TRACEMEM_CORE0_MUX_BLK_BITS(TRACEMEM_MUX_BLK1_NUM);
block_bits |= block_num ? TRACEMEM_CORE1_MUX_BLK_BITS(TRACEMEM_MUX_BLK0_NUM)
: TRACEMEM_CORE1_MUX_BLK_BITS(TRACEMEM_MUX_BLK1_NUM);
ESP_EARLY_LOGV(TAG, "Select block %d @ %p (bits 0x%x)", block_num, s_trax_blocks[block_num], block_bits);
ESP_EARLY_LOGV(TAG, "Select block %d @ %p (bits 0x%" PRIx32 ")", block_num, s_trax_blocks[block_num], block_bits);
DPORT_WRITE_PERI_REG(SENSITIVE_INTERNAL_SRAM_USAGE_2_REG, block_bits);
#endif
}
@@ -298,7 +308,7 @@ static inline void esp_apptrace_trax_memory_enable(void)
#if CONFIG_IDF_TARGET_ESP32
/* Enable trace memory on PRO CPU */
DPORT_WRITE_PERI_REG(DPORT_PRO_TRACEMEM_ENA_REG, DPORT_PRO_TRACEMEM_ENA_M);
#if CONFIG_FREERTOS_UNICORE == 0
#if CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE == 0
/* Enable trace memory on APP CPU */
DPORT_WRITE_PERI_REG(DPORT_APP_TRACEMEM_ENA_REG, DPORT_APP_TRACEMEM_ENA_M);
#endif
@@ -498,7 +508,8 @@ static esp_err_t esp_apptrace_trax_buffer_swap_start(uint32_t curr_block_id)
uint32_t acked_block = ESP_APPTRACE_TRAX_BLOCK_ID_GET(ctrl_reg);
uint32_t host_to_read = ESP_APPTRACE_TRAX_BLOCK_LEN_GET(ctrl_reg);
if (host_to_read != 0 || acked_block != (curr_block_id & ESP_APPTRACE_TRAX_BLOCK_ID_MSK)) {
ESP_APPTRACE_LOGD("HC[%d]: Can not switch %x %d %x %x/%lx", esp_cpu_get_core_id(), ctrl_reg, host_to_read, acked_block,
ESP_APPTRACE_LOGD("HC[%d]: Can not switch %" PRIx32 " %" PRIu32 " %" PRIx32 " %" PRIx32 "/%" PRIx32,
esp_cpu_get_core_id(), ctrl_reg, host_to_read, acked_block,
curr_block_id & ESP_APPTRACE_TRAX_BLOCK_ID_MSK, curr_block_id);
res = ESP_ERR_NO_MEM;
goto _on_err;
@@ -514,6 +525,14 @@ static esp_err_t esp_apptrace_trax_buffer_swap_end(uint32_t new_block_id, uint32
{
uint32_t ctrl_reg = eri_read(ESP_APPTRACE_TRAX_CTRL_REG);
uint32_t host_connected = ESP_APPTRACE_TRAX_HOST_CONNECT & ctrl_reg;
/* calculate CRC16 of the already switched block */
if (prev_block_len > 0) {
const uint8_t *prev_block_start = s_trax_blocks[!((new_block_id % 2))];
uint16_t crc16 = esp_rom_crc16_le(0, prev_block_start, prev_block_len);
eri_write(ESP_APPTRACE_TRAX_CRC16_REG, crc16 | ESP_APPTRACE_CRC_INDICATOR);
ESP_APPTRACE_LOGD("CRC16:%x %d @%x", crc16, prev_block_len, prev_block_start);
}
eri_write(ESP_APPTRACE_TRAX_CTRL_REG, ESP_APPTRACE_TRAX_BLOCK_ID(new_block_id) |
host_connected | ESP_APPTRACE_TRAX_BLOCK_LEN(prev_block_len));
esp_apptrace_trax_buffer_swap_unlock();

View File

@@ -0,0 +1,69 @@
/*
* SPDX-FileCopyrightText: 2017-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ESP_DBG_STUBS_H_
#define ESP_DBG_STUBS_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "esp_err.h"
/**
* Debug stubs entries IDs
*/
typedef enum {
ESP_DBG_STUB_MAGIC_NUM,
ESP_DBG_STUB_TABLE_SIZE,
ESP_DBG_STUB_CONTROL_DATA, ///< stubs descriptor entry
ESP_DBG_STUB_ENTRY_FIRST,
ESP_DBG_STUB_ENTRY_GCOV ///< GCOV entry
= ESP_DBG_STUB_ENTRY_FIRST,
ESP_DBG_STUB_ENTRY_CAPABILITIES,
ESP_DBG_STUB_ENTRY_MAX
} esp_dbg_stub_id_t;
#define ESP_DBG_STUB_MAGIC_NUM_VAL 0xFEEDBEEF
#define ESP_DBG_STUB_CAP_GCOV_TASK (1 << 0)
/**
* @brief Initializes debug stubs.
*
* @note Must be called after esp_apptrace_init() if app tracing is enabled.
*/
void esp_dbg_stubs_init(void);
/**
* @brief Initializes application tracing module.
*
* @note Should be called before any esp_apptrace_xxx call.
*
* @param id Stub ID.
* @param entry Stub entry. Usually it is stub entry function address,
* but can be any value meaningfull for OpenOCD command/code
* such as capabilities
* @return ESP_OK on success, otherwise see esp_err_t
*/
esp_err_t esp_dbg_stub_entry_set(esp_dbg_stub_id_t id, uint32_t entry);
/**
* @brief Retrives the corresponding stub entry
*
* @param id Stub ID.
* @param entry Stub entry. Usually it is stub entry function address,
* but can be any value meaningfull for OpenOCD command/code
* such as capabilities
*
* @return ESP_OK on success, otherwise see esp_err_t
*/
esp_err_t esp_dbg_stub_entry_get(esp_dbg_stub_id_t id, uint32_t *entry);
#ifdef __cplusplus
}
#endif
#endif // ESP_DBG_STUBS_H_

View File

@@ -5,21 +5,25 @@ function(idf_create_coverage_report report_dir)
set(gcov_tool ${_CMAKE_TOOLCHAIN_PREFIX}gcov)
idf_build_get_property(project_name PROJECT_NAME)
file(TO_NATIVE_PATH "${report_dir}" _report_dir)
file(TO_NATIVE_PATH "${project_dir}" _project_dir)
file(TO_NATIVE_PATH "${report_dir}/html/index.html" _index_path)
add_custom_target(pre-cov-report
COMMENT "Generating coverage report in: ${report_dir}"
COMMENT "Generating coverage report in: ${_report_dir}"
COMMAND ${CMAKE_COMMAND} -E echo "Using gcov: ${gcov_tool}"
COMMAND ${CMAKE_COMMAND} -E make_directory ${report_dir}/html
COMMAND ${CMAKE_COMMAND} -E make_directory ${_report_dir}/html
)
add_custom_target(lcov-report
COMMENT "WARNING: lcov-report is deprecated. Please use gcovr-report instead."
COMMAND lcov --gcov-tool ${gcov_tool} -c -d ${CMAKE_CURRENT_BINARY_DIR} -o ${report_dir}/${project_name}.info
COMMAND genhtml -o ${report_dir}/html ${report_dir}/${project_name}.info
COMMAND lcov --gcov-tool ${gcov_tool} -c -d ${CMAKE_CURRENT_BINARY_DIR} -o ${_report_dir}/${project_name}.info
COMMAND genhtml -o ${_report_dir}/html ${_report_dir}/${project_name}.info
DEPENDS pre-cov-report
)
add_custom_target(gcovr-report
COMMAND gcovr -r ${project_dir} --gcov-executable ${gcov_tool} -s --html-details ${report_dir}/html/index.html
COMMAND gcovr -r ${_project_dir} --gcov-executable ${gcov_tool} -s --html-details ${_index_path}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
DEPENDS pre-cov-report
)
@@ -29,7 +33,9 @@ endfunction()
#
# Clean coverage report.
function(idf_clean_coverage_report report_dir)
file(TO_CMAKE_PATH "${report_dir}" _report_dir)
add_custom_target(cov-data-clean
COMMENT "Clean coverage report in: ${report_dir}"
COMMAND ${CMAKE_COMMAND} -E remove_directory ${report_dir})
COMMENT "Clean coverage report in: ${_report_dir}"
COMMAND ${CMAKE_COMMAND} -E remove_directory ${_report_dir})
endfunction()

View File

@@ -0,0 +1,6 @@
name: 'SystemView'
version: '3.42'
cpe: cpe:2.3:a:segger:systemview:{}:*:*:*:*:*:*:*
supplier: 'Organization: Espressif Systems (Shanghai) CO LTD'
originator: 'Organization: SEGGER Microcontroller GmbH'
description: Real-time recording and visualization tool for embedded systems.

View File

@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: BSD-1-Clause
*
* SPDX-FileContributor: 2017-2022 Espressif Systems (Shanghai) CO LTD
* SPDX-FileContributor: 2017-2024 Espressif Systems (Shanghai) CO LTD
*/
/*********************************************************************
* SEGGER Microcontroller GmbH *
@@ -58,6 +58,7 @@ File : SEGGER_SYSVIEW_Config_FreeRTOS.c
Purpose : Sample setup configuration of SystemView with FreeRTOS.
Revision: $Rev: 7745 $
*/
#include <string.h>
#include "sdkconfig.h"
#include "freertos/FreeRTOS.h"
#include "SEGGER_SYSVIEW.h"
@@ -156,15 +157,16 @@ static esp_apptrace_lock_t s_sys_view_lock = {.mux = portMUX_INITIALIZER_UNLOCKE
* Sends SystemView description strings.
*/
static void _cbSendSystemDesc(void) {
char irq_str[32];
char irq_str[32] = "I#";
SEGGER_SYSVIEW_SendSysDesc("N="SYSVIEW_APP_NAME",D="SYSVIEW_DEVICE_NAME",C="SYSVIEW_CORE_NAME",O=FreeRTOS");
snprintf(irq_str, sizeof(irq_str), "I#%d=SysTick", SYSTICK_INTR_ID);
strcat(itoa(SYSTICK_INTR_ID, irq_str + 2, 10), "=SysTick");
SEGGER_SYSVIEW_SendSysDesc(irq_str);
size_t isr_count = sizeof(esp_isr_names)/sizeof(esp_isr_names[0]);
for (size_t i = 0; i < isr_count; ++i) {
if (esp_isr_names[i] == NULL || (ETS_INTERNAL_INTR_SOURCE_OFF + i) == SYSTICK_INTR_ID)
continue;
snprintf(irq_str, sizeof(irq_str), "I#%d=%s", ETS_INTERNAL_INTR_SOURCE_OFF + i, esp_isr_names[i]);
strcat(itoa(ETS_INTERNAL_INTR_SOURCE_OFF + i, irq_str + 2, 10), "=");
strncat(irq_str, esp_isr_names[i], sizeof(irq_str) - strlen(irq_str) - 1);
SEGGER_SYSVIEW_SendSysDesc(irq_str);
}
}

View File

@@ -108,7 +108,7 @@ static void _cbSendTaskList(void) {
* Called from SystemView when asked by the host, returns the
* current system time in micro seconds.
*/
static U64 _cbGetTime(void) {
__attribute__((unused)) static U64 _cbGetTime(void) {
U64 Time;
Time = xTaskGetTickCountFromISR();
@@ -260,7 +260,10 @@ void SYSVIEW_SendTaskInfo(U32 TaskID, const char* sName, unsigned Prio, U32 Stac
*/
// Callbacks provided to SYSTEMVIEW by FreeRTOS
const SEGGER_SYSVIEW_OS_API SYSVIEW_X_OS_TraceAPI = {
_cbGetTime,
/* Callback _cbGetTime locks xKernelLock inside xTaskGetTickCountFromISR, this can cause deadlock on multi-core.
To prevent deadlock, always lock xKernelLock before s_sys_view_lock. Omitting the callback here results in sending
SYSVIEW_EVTID_SYSTIME_CYCLES events instead of SYSVIEW_EVTID_SYSTIME_US */
NULL,
_cbSendTaskList,
};

View File

@@ -35,7 +35,7 @@ static uint8_t s_down_buf[SYSVIEW_DOWN_BUF_SIZE];
#if CONFIG_APPTRACE_SV_DEST_UART
#define ESP_APPTRACE_DEST_SYSVIEW ESP_APPTRACE_DEST_UART
#if CONFIG_APPTRACE_SV_DEST_CPU_0 || CONFIG_FREERTOS_UNICORE
#if CONFIG_APPTRACE_SV_DEST_CPU_0 || CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE
#define APPTRACE_SV_DEST_CPU 0
#else
#define APPTRACE_SV_DEST_CPU 1
@@ -296,7 +296,7 @@ int SEGGER_RTT_ConfigDownBuffer(unsigned BufferIndex, const char* sName, void* p
* linked whenever SystemView is used.
*/
ESP_SYSTEM_INIT_FN(sysview_init, BIT(0), 120)
ESP_SYSTEM_INIT_FN(sysview_init, SECONDARY, BIT(0), 120)
{
SEGGER_SYSVIEW_Conf();
return ESP_OK;

View File

@@ -21,7 +21,7 @@ const static char *TAG = "sysview_heap_trace";
#endif
static SEGGER_SYSVIEW_MODULE s_esp_sysview_heap_module = {
.sModule = "ESP32 SystemView Heap Tracing Module",
.sModule = "M=ESP32 SystemView Heap Tracing Module",
.NumEvents = 2,
};

View File

@@ -7,3 +7,7 @@ components/app_trace/test_apps:
- soc
- driver
- esp_hw_support
disable:
- if: IDF_TARGET in ["esp32c5", "esp32c61"]
temporary: true
reason: not support yet # TODO: [ESP32C5] IDF-8705, [ESP32C61] IDF-9306

View File

@@ -1,4 +1,4 @@
idf_component_register(SRCS "test_app_trace_main.c" "test_trace.c"
INCLUDE_DIRS "."
PRIV_REQUIRES app_trace unity driver
PRIV_REQUIRES app_trace unity esp_driver_gptimer
WHOLE_ARCHIVE)

View File

@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2021-2023 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2021-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -135,9 +135,9 @@ static bool esp_apptrace_test_timer_isr_crash(gptimer_handle_t timer, const gpti
memset(tim_arg->data.buf + 2 * sizeof(uint32_t), tim_arg->data.wr_cnt & tim_arg->data.mask, tim_arg->data.buf_sz - 2 * sizeof(uint32_t));
int res = ESP_APPTRACE_TEST_WRITE_FROM_ISR(tim_arg->data.buf, tim_arg->data.buf_sz);
if (res != ESP_OK) {
esp_rom_printf("tim-%x: Failed to write trace %d %x!\n", tim_arg->gptimer, res, tim_arg->data.wr_cnt & tim_arg->data.mask);
esp_rom_printf("tim-%p: Failed to write trace %d %" PRIx32 "!\n", tim_arg->gptimer, res, tim_arg->data.wr_cnt & tim_arg->data.mask);
} else {
esp_rom_printf("tim-%x: Written chunk%d %d bytes, %x\n",
esp_rom_printf("tim-%p: Written chunk%" PRIu32 " %" PRIu32 " bytes, %" PRIx32 "\n",
timer, tim_arg->data.wr_cnt, tim_arg->data.buf_sz, tim_arg->data.wr_cnt & tim_arg->data.mask);
tim_arg->data.wr_cnt++;
}
@@ -153,7 +153,7 @@ static void esp_apptrace_dummy_task(void *p)
esp_apptrace_test_task_arg_t *arg = (esp_apptrace_test_task_arg_t *) p;
TickType_t tmo_ticks = arg->data.period / (1000 * portTICK_PERIOD_MS);
ESP_APPTRACE_TEST_LOGI("%x: run dummy task (period %u us, %u timers)", xTaskGetCurrentTaskHandle(), arg->data.period, arg->timers_num);
ESP_APPTRACE_TEST_LOGI("%p: run dummy task (period %" PRIu32 " us, %" PRIu32 " timers)", xTaskGetCurrentTaskHandle(), arg->data.period, arg->timers_num);
for (int i = 0; i < arg->timers_num; i++) {
gptimer_config_t timer_config = {
@@ -163,7 +163,7 @@ static void esp_apptrace_dummy_task(void *p)
};
TEST_ESP_OK(gptimer_new_timer(&timer_config, &arg->timers[i].gptimer));
*(uint32_t *)arg->timers[i].data.buf = (uint32_t)arg->timers[i].gptimer | (1 << 31);
ESP_APPTRACE_TEST_LOGI("%x: start timer %x period %u us", xTaskGetCurrentTaskHandle(), arg->timers[i].gptimer, arg->timers[i].data.period);
ESP_APPTRACE_TEST_LOGI("%p: start timer %p period %" PRIu32 " us", xTaskGetCurrentTaskHandle(), arg->timers[i].gptimer, arg->timers[i].data.period);
gptimer_alarm_config_t alarm_config = {
.reload_count = 0,
.alarm_count = arg->timers[i].data.period,
@@ -180,7 +180,7 @@ static void esp_apptrace_dummy_task(void *p)
int i = 0;
while (!arg->stop) {
ESP_APPTRACE_TEST_LOGD("%x: dummy task work %d.%d", xTaskGetCurrentTaskHandle(), esp_cpu_get_core_id(), i++);
ESP_APPTRACE_TEST_LOGD("%p: dummy task work %d.%d", xTaskGetCurrentTaskHandle(), esp_cpu_get_core_id(), i++);
if (tmo_ticks) {
vTaskDelay(tmo_ticks);
}
@@ -202,7 +202,7 @@ static void esp_apptrace_test_task(void *p)
int res;
TickType_t tmo_ticks = arg->data.period / (1000 * portTICK_PERIOD_MS);
ESP_APPTRACE_TEST_LOGI("%x: run (period %u us, stamp mask %x, %u timers)", xTaskGetCurrentTaskHandle(), arg->data.period, arg->data.mask, arg->timers_num);
ESP_APPTRACE_TEST_LOGI("%p: run (period %" PRIu32 " us, stamp mask %" PRIx8 ", %" PRIu32 " timers)", xTaskGetCurrentTaskHandle(), arg->data.period, arg->data.mask, arg->timers_num);
for (int i = 0; i < arg->timers_num; i++) {
gptimer_config_t timer_config = {
@@ -212,7 +212,7 @@ static void esp_apptrace_test_task(void *p)
};
TEST_ESP_OK(gptimer_new_timer(&timer_config, &arg->timers[i].gptimer));
*(uint32_t *)arg->timers[i].data.buf = ((uint32_t)arg->timers[i].gptimer) | (1 << 31) | (esp_cpu_get_core_id() ? 0x1 : 0);
ESP_APPTRACE_TEST_LOGI("%x: start timer %x period %u us", xTaskGetCurrentTaskHandle(), arg->timers[i].gptimer, arg->timers[i].data.period);
ESP_APPTRACE_TEST_LOGI("%p: start timer %p period %" PRIu32 " us", xTaskGetCurrentTaskHandle(), arg->timers[i].gptimer, arg->timers[i].data.period);
gptimer_alarm_config_t alarm_config = {
.reload_count = 0,
.alarm_count = arg->timers[i].data.period,
@@ -242,14 +242,14 @@ static void esp_apptrace_test_task(void *p)
}
if (res) {
if (1) { //arg->data.wr_err++ < ESP_APPTRACE_TEST_PRN_WRERR_MAX) {
ESP_APPTRACE_TEST_LOGE("%x: Failed to write trace %d %x!", xTaskGetCurrentTaskHandle(), res, arg->data.wr_cnt & arg->data.mask);
ESP_APPTRACE_TEST_LOGE("%p: Failed to write trace %d %" PRIx32 "!", xTaskGetCurrentTaskHandle(), res, arg->data.wr_cnt & arg->data.mask);
if (arg->data.wr_err == ESP_APPTRACE_TEST_PRN_WRERR_MAX) {
ESP_APPTRACE_TEST_LOGE("\n");
}
}
} else {
if (0) {
ESP_APPTRACE_TEST_LOGD("%x:%x: Written chunk%d %d bytes, %x", xTaskGetCurrentTaskHandle(), *ts, arg->data.wr_cnt, arg->data.buf_sz, arg->data.wr_cnt & arg->data.mask);
ESP_APPTRACE_TEST_LOGD("%p:%" PRIx32 ": Written chunk%" PRIu32 " %" PRIu32 " bytes, %" PRIx32, xTaskGetCurrentTaskHandle(), *ts, arg->data.wr_cnt, arg->data.buf_sz, arg->data.wr_cnt & arg->data.mask);
}
arg->data.wr_err = 0;
}
@@ -273,7 +273,7 @@ static void esp_apptrace_test_task_crash(void *p)
{
esp_apptrace_test_task_arg_t *arg = (esp_apptrace_test_task_arg_t *) p;
ESP_APPTRACE_TEST_LOGE("%x: run (period %u us, stamp mask %x, %u timers)", xTaskGetCurrentTaskHandle(), arg->data.period, arg->data.mask, arg->timers_num);
ESP_APPTRACE_TEST_LOGE("%p: run (period %" PRIu32 " us, stamp mask %" PRIx8 ", %" PRIu32 " timers)", xTaskGetCurrentTaskHandle(), arg->data.period, arg->data.mask, arg->timers_num);
arg->data.wr_cnt = 0;
*(uint32_t *)arg->data.buf = (uint32_t)xTaskGetCurrentTaskHandle();
@@ -283,9 +283,9 @@ static void esp_apptrace_test_task_crash(void *p)
memset(arg->data.buf + sizeof(uint32_t), arg->data.wr_cnt & arg->data.mask, arg->data.buf_sz - sizeof(uint32_t));
int res = ESP_APPTRACE_TEST_WRITE(arg->data.buf, arg->data.buf_sz);
if (res) {
ESP_APPTRACE_TEST_LOGE("%x: Failed to write trace %d %x!", xTaskGetCurrentTaskHandle(), res, arg->data.wr_cnt & arg->data.mask);
ESP_APPTRACE_TEST_LOGE("%p: Failed to write trace %d %" PRIx32 "!", xTaskGetCurrentTaskHandle(), res, arg->data.wr_cnt & arg->data.mask);
} else {
ESP_APPTRACE_TEST_LOGD("%x: Written chunk%d %d bytes, %x", xTaskGetCurrentTaskHandle(), arg->data.wr_cnt, arg->data.buf_sz, arg->data.wr_cnt & arg->data.mask);
ESP_APPTRACE_TEST_LOGD("%p: Written chunk%" PRIu32 " %" PRIu32 " bytes, %" PRIx32, xTaskGetCurrentTaskHandle(), arg->data.wr_cnt, arg->data.buf_sz, arg->data.wr_cnt & arg->data.mask);
}
arg->data.wr_cnt++;
}
@@ -315,7 +315,7 @@ static void esp_apptrace_test_ts_init(void)
.resolution_hz = 10000000,
};
TEST_ESP_OK(gptimer_new_timer(&timer_config, &ts_gptimer));
ESP_APPTRACE_TEST_LOGI("Use timer %x for TS", ts_gptimer);
ESP_APPTRACE_TEST_LOGI("Use timer %p for TS", ts_gptimer);
TEST_ESP_OK(gptimer_enable(ts_gptimer));
TEST_ESP_OK(gptimer_start(ts_gptimer));
}
@@ -368,7 +368,7 @@ static void esp_apptrace_test(esp_apptrace_test_cfg_t *test_cfg)
TaskHandle_t thnd;
sprintf(name, "apptrace_test%d", i);
xTaskCreatePinnedToCore(test_cfg->tasks[i].task_func, name, 2048, &test_cfg->tasks[i], test_cfg->tasks[i].prio, &thnd, test_cfg->tasks[i].core);
ESP_APPTRACE_TEST_LOGI("Created task %x", thnd);
ESP_APPTRACE_TEST_LOGI("Created task %p", thnd);
}
xTaskCreatePinnedToCore(esp_apptrace_dummy_task, "dummy0", 2048, &dummy_task_arg, dummy_task_arg.prio, NULL, 0);
#if CONFIG_FREERTOS_UNICORE == 0
@@ -641,7 +641,7 @@ static void esp_logtrace_task(void *p)
{
esp_logtrace_task_t *arg = (esp_logtrace_task_t *) p;
ESP_APPTRACE_TEST_LOGI("%x: run log test task", xTaskGetCurrentTaskHandle());
ESP_APPTRACE_TEST_LOGI("%p: run log test task", xTaskGetCurrentTaskHandle());
int i = 0;
while (1) {
@@ -662,7 +662,7 @@ static void esp_logtrace_task(void *p)
ESP_APPTRACE_TEST_LOGE("Failed to flush printf buf (%d)!", ret);
}
ESP_APPTRACE_TEST_LOGI("%x: finished", xTaskGetCurrentTaskHandle());
ESP_APPTRACE_TEST_LOGI("%p: finished", xTaskGetCurrentTaskHandle());
xSemaphoreGive(arg->done);
vTaskDelay(1);
@@ -681,13 +681,13 @@ TEST_CASE("Log trace test (2 tasks)", "[trace][ignore]")
};
xTaskCreatePinnedToCore(esp_logtrace_task, "logtrace0", 2048, &arg1, 3, &thnd, 0);
ESP_APPTRACE_TEST_LOGI("Created task %x", thnd);
ESP_APPTRACE_TEST_LOGI("Created task %p", thnd);
#if CONFIG_FREERTOS_UNICORE == 0
xTaskCreatePinnedToCore(esp_logtrace_task, "logtrace1", 2048, &arg2, 3, &thnd, 1);
#else
xTaskCreatePinnedToCore(esp_logtrace_task, "logtrace1", 2048, &arg2, 3, &thnd, 0);
#endif
ESP_APPTRACE_TEST_LOGI("Created task %x", thnd);
ESP_APPTRACE_TEST_LOGI("Created task %p", thnd);
xSemaphoreTake(arg1.done, portMAX_DELAY);
vSemaphoreDelete(arg1.done);
@@ -760,7 +760,7 @@ static void esp_sysviewtrace_test_task(void *p)
xSemaphoreGive(*arg->sync);
}
}
ESP_APPTRACE_TEST_LOGI("%x: finished", xTaskGetCurrentTaskHandle());
ESP_APPTRACE_TEST_LOGI("%p: finished", xTaskGetCurrentTaskHandle());
xSemaphoreGive(arg->done);
vTaskDelay(1);
@@ -809,13 +809,13 @@ TEST_CASE("SysView trace test 1", "[trace][ignore]")
TEST_ESP_OK(gptimer_new_timer(&timer_config, &tim_arg2.gptimer));
xTaskCreatePinnedToCore(esp_sysviewtrace_test_task, "svtrace0", 2048, &arg1, 3, &thnd, 0);
ESP_APPTRACE_TEST_LOGI("Created task %x", thnd);
ESP_APPTRACE_TEST_LOGI("Created task %p", thnd);
#if CONFIG_FREERTOS_UNICORE == 0
xTaskCreatePinnedToCore(esp_sysviewtrace_test_task, "svtrace1", 2048, &arg2, 5, &thnd, 1);
#else
xTaskCreatePinnedToCore(esp_sysviewtrace_test_task, "svtrace1", 2048, &arg2, 5, &thnd, 0);
#endif
ESP_APPTRACE_TEST_LOGI("Created task %x", thnd);
ESP_APPTRACE_TEST_LOGI("Created task %p", thnd);
xSemaphoreTake(arg1.done, portMAX_DELAY);
vSemaphoreDelete(arg1.done);

View File

@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2015-2023 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -17,6 +17,7 @@
#include "esp_image_format.h"
#include "esp_secure_boot.h"
#include "esp_flash_encrypt.h"
#include "spi_flash_mmap.h"
#include "sdkconfig.h"
#include "esp_ota_ops.h"
@@ -31,24 +32,6 @@
#include "esp_bootloader_desc.h"
#include "esp_flash.h"
#if CONFIG_IDF_TARGET_ESP32
#include "esp32/rom/secure_boot.h"
#elif CONFIG_IDF_TARGET_ESP32S2
#include "esp32s2/rom/secure_boot.h"
#elif CONFIG_IDF_TARGET_ESP32C3
#include "esp32c3/rom/secure_boot.h"
#elif CONFIG_IDF_TARGET_ESP32S3
#include "esp32s3/rom/secure_boot.h"
#elif CONFIG_IDF_TARGET_ESP32C2
#include "esp32c2/rom/secure_boot.h"
#elif CONFIG_IDF_TARGET_ESP32C6
#include "esp32c6/rom/secure_boot.h"
#elif CONFIG_IDF_TARGET_ESP32H2
#include "esp32h2/rom/secure_boot.h"
#elif CONFIG_IDF_TARGET_ESP32P4
#include "esp32p4/rom/secure_boot.h"
#endif
#define SUB_TYPE_ID(i) (i & 0x0F)
/* Partial_data is word aligned so no reallocation is necessary for encrypted flash write */
@@ -58,6 +41,7 @@ typedef struct ota_ops_entry_ {
bool need_erase;
uint32_t wrote_size;
uint8_t partial_bytes;
bool ota_resumption;
WORD_ALIGNED_ATTR uint8_t partial_data[16];
LIST_ENTRY(ota_ops_entry_) entries;
} ota_ops_entry_t;
@@ -97,7 +81,7 @@ static const esp_partition_t *read_otadata(esp_ota_select_entry_t *two_otadata)
return NULL;
} else {
memcpy(&two_otadata[0], result, sizeof(esp_ota_select_entry_t));
memcpy(&two_otadata[1], result + SPI_FLASH_SEC_SIZE, sizeof(esp_ota_select_entry_t));
memcpy(&two_otadata[1], result + otadata_partition->erase_size, sizeof(esp_ota_select_entry_t));
esp_partition_munmap(ota_data_map);
}
return otadata_partition;
@@ -128,6 +112,22 @@ static esp_ota_img_states_t set_new_state_otadata(void)
#endif
}
static ota_ops_entry_t* esp_ota_init_entry(const esp_partition_t *partition)
{
ota_ops_entry_t *new_entry = (ota_ops_entry_t *) calloc(1, sizeof(ota_ops_entry_t));
if (new_entry == NULL) {
return NULL;
}
LIST_INSERT_HEAD(&s_ota_ops_entries_head, new_entry, entries);
new_entry->part = partition;
new_entry->handle = ++s_ota_ops_last_handle;
return new_entry;
}
esp_err_t esp_ota_begin(const esp_partition_t *partition, size_t image_size, esp_ota_handle_t *out_handle)
{
ota_ops_entry_t *new_entry;
@@ -161,12 +161,19 @@ esp_err_t esp_ota_begin(const esp_partition_t *partition, size_t image_size, esp
}
#endif
new_entry = esp_ota_init_entry(partition);
if (new_entry == NULL) {
return ESP_ERR_NO_MEM;
}
new_entry->need_erase = (image_size == OTA_WITH_SEQUENTIAL_WRITES);
*out_handle = new_entry->handle;
if (image_size != OTA_WITH_SEQUENTIAL_WRITES) {
// If input image size is 0 or OTA_SIZE_UNKNOWN, erase entire partition
if ((image_size == 0) || (image_size == OTA_SIZE_UNKNOWN)) {
ret = esp_partition_erase_range(partition, 0, partition->size);
} else {
const int aligned_erase_size = (image_size + SPI_FLASH_SEC_SIZE - 1) & ~(SPI_FLASH_SEC_SIZE - 1);
const int aligned_erase_size = (image_size + partition->erase_size - 1) & ~(partition->erase_size - 1);
ret = esp_partition_erase_range(partition, 0, aligned_erase_size);
}
if (ret != ESP_OK) {
@@ -174,16 +181,44 @@ esp_err_t esp_ota_begin(const esp_partition_t *partition, size_t image_size, esp
}
}
new_entry = (ota_ops_entry_t *) calloc(sizeof(ota_ops_entry_t), 1);
return ESP_OK;
}
esp_err_t esp_ota_resume(const esp_partition_t *partition, const size_t erase_size, const size_t image_offset, esp_ota_handle_t *out_handle)
{
ota_ops_entry_t *new_entry;
if ((partition == NULL) || (out_handle == NULL)) {
return ESP_ERR_INVALID_ARG;
}
if (image_offset > partition->size) {
return ESP_ERR_INVALID_ARG;
}
partition = esp_partition_verify(partition);
if (partition == NULL) {
return ESP_ERR_NOT_FOUND;
}
// The staging partition cannot be of type Factory, but the final partition can be.
if (!is_ota_partition(partition)) {
return ESP_ERR_INVALID_ARG;
}
const esp_partition_t* running_partition = esp_ota_get_running_partition();
if (partition == running_partition) {
return ESP_ERR_OTA_PARTITION_CONFLICT;
}
new_entry = esp_ota_init_entry(partition);
if (new_entry == NULL) {
return ESP_ERR_NO_MEM;
}
LIST_INSERT_HEAD(&s_ota_ops_entries_head, new_entry, entries);
new_entry->part = partition;
new_entry->handle = ++s_ota_ops_last_handle;
new_entry->need_erase = (image_size == OTA_WITH_SEQUENTIAL_WRITES);
new_entry->ota_resumption = true;
new_entry->wrote_size = image_offset;
new_entry->need_erase = (erase_size == OTA_WITH_SEQUENTIAL_WRITES);
*out_handle = new_entry->handle;
return ESP_OK;
}
@@ -209,14 +244,14 @@ esp_err_t esp_ota_write(esp_ota_handle_t handle, const void *data, size_t size)
if (it->handle == handle) {
if (it->need_erase) {
// must erase the partition before writing to it
uint32_t first_sector = it->wrote_size / SPI_FLASH_SEC_SIZE; // first affected sector
uint32_t last_sector = (it->wrote_size + size - 1) / SPI_FLASH_SEC_SIZE; // last affected sector
uint32_t first_sector = it->wrote_size / it->part->erase_size; // first affected sector
uint32_t last_sector = (it->wrote_size + size - 1) / it->part->erase_size; // last affected sector
ret = ESP_OK;
if ((it->wrote_size % SPI_FLASH_SEC_SIZE) == 0) {
ret = esp_partition_erase_range(it->part, it->wrote_size, ((last_sector - first_sector) + 1) * SPI_FLASH_SEC_SIZE);
if ((it->wrote_size % it->part->erase_size) == 0) {
ret = esp_partition_erase_range(it->part, it->wrote_size, ((last_sector - first_sector) + 1) * it->part->erase_size);
} else if (first_sector != last_sector) {
ret = esp_partition_erase_range(it->part, (first_sector + 1) * SPI_FLASH_SEC_SIZE, (last_sector - first_sector) * SPI_FLASH_SEC_SIZE);
ret = esp_partition_erase_range(it->part, (first_sector + 1) * it->part->erase_size, (last_sector - first_sector) * it->part->erase_size);
}
if (ret != ESP_OK) {
return ret;
@@ -386,11 +421,11 @@ static esp_err_t rewrite_ota_seq(esp_ota_select_entry_t *two_otadata, uint32_t s
two_otadata[sec_id].ota_seq = seq;
two_otadata[sec_id].crc = bootloader_common_ota_select_crc(&two_otadata[sec_id]);
esp_err_t ret = esp_partition_erase_range(ota_data_partition, sec_id * SPI_FLASH_SEC_SIZE, SPI_FLASH_SEC_SIZE);
esp_err_t ret = esp_partition_erase_range(ota_data_partition, sec_id * ota_data_partition->erase_size, ota_data_partition->erase_size);
if (ret != ESP_OK) {
return ret;
} else {
return esp_partition_write(ota_data_partition, SPI_FLASH_SEC_SIZE * sec_id, &two_otadata[sec_id], sizeof(esp_ota_select_entry_t));
return esp_partition_write(ota_data_partition, ota_data_partition->erase_size * sec_id, &two_otadata[sec_id], sizeof(esp_ota_select_entry_t));
}
}
@@ -923,7 +958,7 @@ esp_err_t esp_ota_erase_last_boot_app_partition(void)
}
int sec_id = inactive_otadata;
err = esp_partition_erase_range(ota_data_partition, sec_id * SPI_FLASH_SEC_SIZE, SPI_FLASH_SEC_SIZE);
err = esp_partition_erase_range(ota_data_partition, sec_id * ota_data_partition->erase_size, ota_data_partition->erase_size);
if (err != ESP_OK) {
return err;
}

View File

@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2015-2023 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -99,6 +99,32 @@ int esp_ota_get_app_elf_sha256(char* dst, size_t size) __attribute__((deprecated
*/
esp_err_t esp_ota_begin(const esp_partition_t* partition, size_t image_size, esp_ota_handle_t* out_handle);
/**
* @brief Resume an interrupted OTA update by continuing to write to the specified partition.
*
* This function is used when an OTA update was previously started and needs to be resumed after an interruption.
* It continues the OTA process from the specified offset within the partition.
*
* Unlike esp_ota_begin(), this function does not erase the partition which receives the OTA update, but rather expects that part of the image
* has already been written correctly, and it resumes writing from the given offset.
*
* @param partition Pointer to info for the partition which is receiving the OTA update. Required.
* @param erase_size Specifies how much flash memory to erase before resuming OTA, depending on whether a sequential write or a bulk erase is being used.
* @param image_offset Offset from where to resume the OTA process. Should be set to the number of bytes already written.
* @param out_handle On success, returns a handle that should be used for subsequent esp_ota_write() and esp_ota_end() calls.
*
* @return
* - ESP_OK: OTA operation resumed successfully.
* - ESP_ERR_INVALID_ARG: partition, out_handle were NULL or image_offset arguments is negative, or partition doesn't point to an OTA app partition.
* - ESP_ERR_NO_MEM: Cannot allocate memory for OTA operation.
* - ESP_ERR_OTA_PARTITION_CONFLICT: Partition holds the currently running firmware, cannot update in place.
* - ESP_ERR_NOT_FOUND: Partition argument not found in partition table.
* - ESP_ERR_OTA_SELECT_INFO_INVALID: The OTA data partition contains invalid data.
* - ESP_ERR_INVALID_SIZE: Partition doesn't fit in configured flash size.
* - ESP_ERR_FLASH_OP_TIMEOUT or ESP_ERR_FLASH_OP_FAIL: Flash write failed.
*/
esp_err_t esp_ota_resume(const esp_partition_t *partition, const size_t erase_size, const size_t image_offset, esp_ota_handle_t *out_handle);
/**
* @brief Write OTA update data to partition
*
@@ -116,6 +142,8 @@ esp_err_t esp_ota_begin(const esp_partition_t* partition, size_t image_size, esp
* - ESP_ERR_OTA_VALIDATE_FAILED: First byte of image contains invalid app image magic byte.
* - ESP_ERR_FLASH_OP_TIMEOUT or ESP_ERR_FLASH_OP_FAIL: Flash write failed.
* - ESP_ERR_OTA_SELECT_INFO_INVALID: OTA data partition has invalid contents
* - ESP_ERR_INVALID_SIZE: if write would go out of bounds of the partition
* - or one of error codes from lower-level flash driver.
*/
esp_err_t esp_ota_write(esp_ota_handle_t handle, const void* data, size_t size);

View File

@@ -1,7 +0,0 @@
# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
components/app_update/test_apps:
disable:
- if: IDF_TARGET in ["esp32c6", "esp32h2", "esp32p4"]
temporary: true
reason: target esp32c6, esp32h2, esp32p4 is not supported yet # TODO: IDF-8068

View File

@@ -1,2 +0,0 @@
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- |

View File

@@ -1,4 +0,0 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES cmock test_utils app_update bootloader_support nvs_flash driver spi_flash
WHOLE_ARCHIVE)

View File

@@ -1,32 +0,0 @@
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: Unlicense OR CC0-1.0
import re
import pytest
from pytest_embedded import Dut
DEFAULT_TIMEOUT = 20
TEST_SUBMENU_PATTERN_PYTEST = re.compile(rb'\s+\((\d+)\)\s+"([^"]+)"\r?\n')
def run_multiple_stages(dut: Dut, test_case_num: int, stages: int) -> None:
for stage in range(1, stages + 1):
dut.write(str(test_case_num))
dut.expect(TEST_SUBMENU_PATTERN_PYTEST, timeout=DEFAULT_TIMEOUT)
dut.write(str(stage))
if stage != stages:
dut.expect_exact('Press ENTER to see the list of tests.')
@pytest.mark.supported_targets
@pytest.mark.temp_skip_ci(targets=['esp32c6', 'esp32h2'], reason='c6/h2 support TBD')
@pytest.mark.generic
def test_app_update(dut: Dut) -> None:
extra_data = dut.parse_test_menu()
for test_case in extra_data:
if test_case.type != 'multi_stage':
dut.write(str(test_case.index))
else:
run_multiple_stages(dut, test_case.index, len(test_case.subcases))
dut.expect_unity_test_output(timeout=90)
dut.expect_exact("Enter next test, or 'enter' to see menu")

View File

@@ -1,18 +0,0 @@
# General options for additional checks
CONFIG_HEAP_POISONING_COMPREHENSIVE=y
CONFIG_COMPILER_WARN_WRITE_STRINGS=y
CONFIG_BOOTLOADER_LOG_LEVEL_WARN=y
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y
CONFIG_COMPILER_STACK_CHECK_MODE_STRONG=y
CONFIG_COMPILER_STACK_CHECK=y
CONFIG_ESP_TASK_WDT=n
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partition_table_unit_test_two_ota.csv"
CONFIG_PARTITION_TABLE_FILENAME="partition_table_unit_test_two_ota.csv"
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_OFFSET=0x18000
CONFIG_BOOTLOADER_HOLD_TIME_GPIO=2
CONFIG_BOOTLOADER_OTA_DATA_ERASE=y

View File

@@ -1,7 +0,0 @@
CONFIG_IDF_TARGET="esp32"
CONFIG_BOOTLOADER_FACTORY_RESET=y
CONFIG_BOOTLOADER_APP_TEST=y
CONFIG_BOOTLOADER_DATA_FACTORY_RESET=""
CONFIG_BOOTLOADER_NUM_PIN_APP_TEST=32
CONFIG_BOOTLOADER_NUM_PIN_FACTORY_RESET=4
CONFIG_BOOTLOADER_HOLD_TIME_GPIO=2

View File

@@ -1,5 +0,0 @@
CONFIG_IDF_TARGET="esp32c2"
CONFIG_ESPTOOLPY_FLASHSIZE_2MB=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partition_table_unit_test_two_ota_2m.csv"
CONFIG_PARTITION_TABLE_FILENAME="partition_table_unit_test_two_ota_2m.csv"
CONFIG_BOOTLOADER_NUM_PIN_APP_TEST=18

View File

@@ -1,2 +0,0 @@
CONFIG_IDF_TARGET="esp32c3"
CONFIG_BOOTLOADER_NUM_PIN_APP_TEST=18

Some files were not shown because too many files have changed in this diff Show More