Jakob Hasse
d7ce04a5cd
esp_hw_support: decrease RNG read frequency on C6 and H2
...
* The RNG reading frequency of 200 KHz has been too high for
C6 and H2 since on these chips the RNG output is combined
with the RTC slow clock which is only 150KHz. Reduced the max
reading frequency via esp_random() from 200KHz to 62.5KHz,
which show best results in tests.
Also updated the bootloader_fill_random() max frequency to the
same value to be in line, even though it was just 83KHz.
2023-05-30 19:16:53 +08:00
Darian
94ebc9ba4e
Merge branch 'refactor/usb_host_usbh_interface' into 'master'
...
USB Host: Refactor USBH interface
See merge request espressif/esp-idf!23330
2023-05-30 01:34:16 +08:00
Li Shuai
e505e19798
Merge branch 'bugfix/fix_rc_fast_calibration' into 'master'
...
rtc_clk: fix esp32c6/esp32h2 eco chip `RC_FAST` bad calibration value
Closes WIFI-5938
See merge request espressif/esp-idf!23927
2023-05-29 19:57:46 +08:00
Ondrej Kosta
e270c8ac72
Merge branch 'bugfix/tx_only_link_up' into 'master'
...
Ethernet minor fixes
See merge request espressif/esp-idf!23882
2023-05-29 19:00:10 +08:00
Darian Leung
cbed197e10
usb_host: Run formatting script
2023-05-29 17:30:41 +08:00
Darian Leung
1ffbbf5aef
usb_host: Fix spelling errors
2023-05-29 17:30:41 +08:00
Darian Leung
bab1c61a4c
usb_host: Refactor USBH and USB Host Library calls to HCD
...
This commit refactors the USBH and the USB Host Library in the following ways:
- USBH now presents an abstraction of an endpoint (via usbh_ep_handle_t)
- Added separate functions to enqueue/dequeue URBs to a particular endpoint
- USB Host Library no longer calls HCD API directly. Calls USBH endpoint API
instead.
- Renamed "notif_cb" to "proc_req_cb" (Processing Request Callback)
- This is to avoid confusion with FreerTOS task notifications and Host
Library client event notifications.
- The processing functions of each layer (i.e., "xxx_process()") request
calls via the "proc_req_cb"
- The main handling function (i.e., usb_host_lib_handle_events()) is
responsible for calling the required "xxx_process()" of each layer
2023-05-29 17:30:41 +08:00
morris
099234347c
Merge branch 'contrib/github_pr_11499' into 'master'
...
Implement descriptor error callback for GDMA (GitHub PR)
Closes IDFGH-10236
See merge request espressif/esp-idf!23934
2023-05-29 14:39:32 +08:00
Aditya Patwardhan
903af13e84
Merge branch 'feat/config_to_flash_bootloader_when_sbv2_is_enabled' into 'master'
...
add config to flash bootloader by the command `idf.py flash` when secure boot v2 is enabled
See merge request espressif/esp-idf!23848
2023-05-26 18:13:05 +08:00
Rahul Tank
0b5ab48437
Merge branch 'bugfix/fix_config_option' into 'master'
...
Nimble: Fixed setting macro values based on selected configuration
See merge request espressif/esp-idf!23857
2023-05-26 16:18:36 +08:00
Niklas Gürtler
be8a0d08f2
gdma: implement descriptor error callback
...
Merges https://github.com/espressif/esp-idf/pull/11499
2023-05-26 13:24:34 +08:00
Michael (XIAO Xufeng)
8c2b709817
Merge branch 'bugfix/fix_ocode_check_on_c6' into 'master'
...
adc_cali: fix the condition of ocode calibration
See merge request espressif/esp-idf!23916
2023-05-26 11:35:51 +08:00
Martin Vychodil
c212305646
Merge branch 'bugfix/usb_serial_jtag_select_poll_crash' into 'master'
...
vfs: select sanity NULL check
See merge request espressif/esp-idf!23875
2023-05-26 00:59:42 +08:00
laokaiyao
de8ae73de3
adc_cali: fix the condition of ocode calibration
2023-05-25 21:49:40 +08:00
Michael (XIAO Xufeng)
041ce02a14
Merge branch 'bugfix/add_warning_for_rc_fast_calibration_h2' into 'master'
...
clk: Add warning log if RC_FAST clock calibration is needed on esp32h2
See merge request espressif/esp-idf!23743
2023-05-25 21:39:02 +08:00
wuzhenghui
3ae1f0ea5d
bugfix: fix rc_fast bad calibration value
2023-05-25 21:21:14 +08:00
Rahul Tank
9901bdf3da
Nimble: Fixed setting macro values based on selected configuration
2023-05-25 17:12:57 +05:30
Mahavir Jain
e2fe2bf152
Merge branch 'fix/xts_aes_register_prefix_discrepency' into 'master'
...
fix: xts aes register prefix discrepancy
Closes DOC-5136 and DOC-5140
See merge request espressif/esp-idf!23900
2023-05-25 16:40:13 +08:00
David Čermák
914652c804
Merge branch 'bugfix/sntp_cpp_compat' into 'master'
...
esp_netif: Fix invalid conversion from int to enumeration in c++ build (GitHub PR)
Closes IDFGH-10115
See merge request espressif/esp-idf!23867
2023-05-25 15:28:06 +08:00
Rahul Tank
1937282e95
Merge branch 'bugfix/memory_cleanup_optimization' into 'master'
...
Nimble: Fixes for memory leak / optimization
See merge request espressif/esp-idf!23759
2023-05-25 14:47:27 +08:00
Zim Kalinowski
451a0f1d33
Merge branch 'feature/adds_new_efuses_for_h2' into 'master'
...
efuse(H2): Adds RF Calibration Information
Closes IDF-7382
See merge request espressif/esp-idf!23827
2023-05-25 14:36:50 +08:00
harshal.patil
ed4ceea43d
esp32c2: xts-aes register prefix discrepency
2023-05-25 11:27:18 +05:30
harshal.patil
0058fb3a05
esp32c3: xts-aes register prefix discrepency
2023-05-25 11:27:10 +05:30
Shu Chen
712d747a79
Merge branch 'bugfix/fix_matter_commissioning_ble_disconnect_issue' into 'master'
...
esp_phy: updating H2 lib phy to adapt the voltage changes
See merge request espressif/esp-idf!23822
2023-05-25 12:31:27 +08:00
Wan Lei
47fe2b9521
Merge branch 'feature/adc_digi_monitor_support' into 'master'
...
adc digi monitor support
Closes IDF-2530
See merge request espressif/esp-idf!22839
2023-05-25 12:06:01 +08:00
Zim Kalinowski
a4bb596d63
Merge branch 'feature/esp_ipc_isr_fix' into 'master'
...
esp_system: Fix a race-condition in esp_ipc_isr (in QEMU env)
Closes IDFGH-10179
See merge request espressif/esp-idf!23866
2023-05-24 23:17:37 +08:00
Paul Guyot
ceb121fd57
esp_system: Fix a race-condition in esp_ipc_isr (in QEMU env)
...
The race condition is very unlikely on real hardware but can be observed with
qemu under heavy load.
Also add missing `memw` instructions which are generated by the C compiler but
absent in the assembly code.
Signed-off-by: Paul Guyot <pguyot@kallisys.net >
Signed-off-by: KonstantinKondrashov <konstantin@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/11447
Closes https://github.com/espressif/esp-idf/issues/11433
2023-05-24 19:08:29 +08:00
wanlei
e42501d20f
adc: add programing guide for digi monitor
2023-05-24 18:09:06 +08:00
wanlei
e6e641475b
adc: add digi monitor test case
2023-05-24 17:46:52 +08:00
wanlei
87848110c1
adc: new feature adc digital monitor supported
2023-05-24 17:46:52 +08:00
Shu Chen
243b286ddc
Merge branch 'support/add_kconfig_for_mac_filter' into 'master'
...
openthread: add kconfig for mac filter
See merge request espressif/esp-idf!23849
2023-05-24 14:42:47 +08:00
harshal.patil
873901e7aa
bootloader: add a config to enable flashing of bootloader using
...
the command `idf.py flash` when secure boot v2 is enabled.
2023-05-24 11:50:14 +05:30
zhangwenxu
38dc88dd29
esp_phy: updating H2 lib phy to adapt the voltage changes
2023-05-24 14:11:48 +08:00
Mahavir Jain
ff024dcb88
Merge branch 'feature/wifi_prov_event_security_session' into 'master'
...
wifi_prov: Exposed events for secure session establishment and credential mismatch
Closes IDF-7358
See merge request espressif/esp-idf!23821
2023-05-24 12:02:52 +08:00
Kevin (Lao Kaiyao)
7a462d8a86
Merge branch 'feature/support_adc_calibration_on_c6' into 'master'
...
adc_cali: supported adc calibration on esp32c6
Closes IDF-5312 and IDF-6566
See merge request espressif/esp-idf!23499
2023-05-24 11:31:12 +08:00
Shu Chen
38b495205a
Merge branch 'fix/openthread_frame_counter_when_retx' into 'master'
...
openthread: fix frame counter when re-transmition
See merge request espressif/esp-idf!23851
2023-05-24 10:51:06 +08:00
Adam Múdry
58e69f2fcb
vfs: select sanity NULL check
...
https://github.com/espressif/esp-idf/issues/9964
2023-05-23 18:02:24 +02:00
Mahavir Jain
d00e7b5af8
Merge branch 'feature/nvs_encryption_using_hmac_v2' into 'master'
...
nvs_flash: Add support for HMAC-based encryption key derivation scheme
Closes IDF-6727
See merge request espressif/esp-idf!23079
2023-05-23 23:57:26 +08:00
laokaiyao
3e26e7630e
adc_oneshot: move power acquire back to adc_oneshot_new_unit
...
Revert and fix of d197c59eaa in !23575
2023-05-23 22:44:32 +08:00
laokaiyao
ffb40a89d9
adc_cali: supported channel compensation of adc calibration on esp32c6
2023-05-23 22:44:25 +08:00
Mahavir Jain
86b2ca3d04
Merge branch 'feature/c6_bootloader_rng' into 'master'
...
Feature/c6 bootloader rng
See merge request espressif/esp-idf!22773
2023-05-23 22:41:51 +08:00
KonstantinKondrashov
3550a2d185
efuse(c6): Adds adc calib efuses
2023-05-23 20:34:29 +08:00
laokaiyao
caa044c289
adc_cali: supported adc calibration on esp32c6
2023-05-23 20:34:29 +08:00
Zim Kalinowski
d41ddfcf8a
Merge branch 'bugfix/fix-esp-even-compile-error' into 'master'
...
esp_event: fix build error related to format
Closes IDFGH-10157
See merge request espressif/esp-idf!23833
2023-05-23 19:53:37 +08:00
Wang Fang
307cdd6697
Merge branch 'docs/update_the_description_for_clock_speed_hz' into 'master'
...
docs: update the description for check_speed_hz
Closes DOC-5197
See merge request espressif/esp-idf!23879
2023-05-23 18:30:09 +08:00
Jakob Hasse
d3f77ec352
esp_hw_support/bootloader: made ESP32-C6 and ESP32-H2 RNG available
2023-05-23 18:14:51 +08:00
Laukik Hase
72f703ccd4
nvs_flash: Extended test-app and host tests for the HMAC-based NVS encr-keys protection scheme
2023-05-23 13:55:59 +05:30
Laukik Hase
a06118012e
docs: Update nvs_flash docs for the HMAC-based NVS encr-keys protection scheme
...
- Also updated the `nvs_partition_generator` and `mass_mfg` tools
documentation
2023-05-23 13:55:57 +05:30
Laukik Hase
9ac87fcc8b
nvs_partition_gen/mass_mfg: Support for HMAC-based scheme for generating NVS encr-keys
2023-05-23 13:55:55 +05:30
Laukik Hase
8efe2f86e9
nvs_flash: Added helper component nvs_sec_provider
...
- For processing NVS encryption-related security configuration
2023-05-23 13:55:53 +05:30