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
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
Kapil Gupta
464fd689a1
fix(esp_wifi): Send unicast probe requests if bssid is known during scan
2024-04-02 11:23:32 +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
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
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
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
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
Kapil Gupta
431a2a7d1c
fix(esp_wifi): Address review comments
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
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
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
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
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
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
alanmaxwell
ffd0c8ecef
fix(soc): update gpio_sig_map.h for esp32c5 beta3
2024-04-01 15:07:38 +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
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
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
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
a26ab5118c
test(isp): added isp csi share test
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
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
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
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
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
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
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
Konstantin Kondrashov
02d7120d02
feat(esp_hw_support): Adds MAC support for esp32p4
2024-03-29 01:44:39 +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
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
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
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
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
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
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
c0289ee6eb
fix(drivers): fix typos found by codespell
...
codespell components/esp_driver*
2024-03-28 10:01:27 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
morris
4c2569e2fc
change(sdmmc): update ldo acquire driver to new API
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
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
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
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
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
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
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
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
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
f4ff026e3e
change(mipi_dsi): allow cache sync with unaligned size
2024-03-21 18:19:58 +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
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
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
Xu Si Yu
fd78d418dd
feat(openthread): add max csmabackoffs for transmission
2024-03-20 18:00:33 +08: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
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
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
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
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
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
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
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
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
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
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
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