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
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
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
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
David Čermák
0d12732b4c
Merge branch 'bugfix/dhcp_opts_vsi_vci' into 'master'
...
lwip: Fix receiving of DHCP vendor info (GitHub PR)
Closes IDFGH-10591
See merge request espressif/esp-idf!25043
2023-11-14 22:36:10 +08:00
Sudeep Mohanty
bf237a2bd4
Merge branch 'feature/freertos_expose_list_integrity_check_option' into 'master'
...
feat(freertos): Exposed Kconfig option for configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES
Closes IDF-8366
See merge request espressif/esp-idf!26960
2023-11-14 21:27:19 +08:00
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
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
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
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
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