Commit Graph

20328 Commits

Author SHA1 Message Date
wuzhenghui
8a1e63c8ad feature: support xtal_xpd pmu parameters 2023-06-08 17:23:52 +08:00
Mahavir Jain
1696be719c
crypto: add support for DPA protection configuration in C6/H2
- Technical details covered in section "15.3.2 Anti-DPA Attack Security
Control" chapter of the ESP32-C6 TRM
- Default configuration sets the security level low for the DPA
protection
- This change applies to all the crypto peripherals where the clock
frequency is dynamically adjusted to create randomness in the power
consumption trajectory
- This configuration helps to make the SCA attacks difficult on the
crypto peripherals
2023-06-08 11:09:23 +05:30
Armando (Dou Yiwen)
cd7ef82ab2 Merge branch 'feature/use_circular_dma_desc_link_in_adc_continuous_mode' into 'master'
adc: pr 11500, use circular dma descriptors in adc continuous mode

Closes IDFGH-10235

See merge request espressif/esp-idf!24048
2023-06-08 11:51:08 +08:00
Jiang Guang Ming
943fe875eb Merge branch 'feature/support_esp_flash_rom_impl_test_on_c6_h2' into 'master'
spi_flash: support esp_flash rom impl test on c6 and h2

See merge request espressif/esp-idf!24037
2023-06-08 09:28:55 +08:00
Xiao Xufeng
91fc40cfd9 esp32: stop using deprecated name PICOD2 to avoid confusion 2023-06-08 02:09:12 +08:00
zhangwenxu
65f7e1ec13 openthread: add source address selection hook 2023-06-07 12:12:31 +00:00
zhangwenxu
5708743c5a lwip: add a hook for ip6 source address selection 2023-06-07 12:12:31 +00:00
Jiang Jiang Jian
9da31ea373 Merge branch 'bugfix/fix_bleqabr23_250' into 'master'
Fixed crash when controller initialization fails due to insufficient memory

See merge request espressif/esp-idf!24085
2023-06-07 20:00:24 +08:00
Rahul Tank
6ace246ba2 Merge branch 'bugfix/sync_reporting_files' into 'master'
NimBLE : Sync common porting and nimble submodule files

See merge request espressif/esp-idf!23655
2023-06-07 18:53:34 +08:00
Kevin (Lao Kaiyao)
628f0e4018 Merge branch 'feature/gdma_support_rx_done_callback' into 'master'
gdma: support on_recv_done callback

Closes IDF-7408

See merge request espressif/esp-idf!23966
2023-06-07 17:32:58 +08:00
Roshan Bangar
27dc6d95f6 NimBLE : Sync porting files 2023-06-07 13:03:53 +05:30
Shu Chen
c0e9f4b965 Merge branch 'bugfix/modification_when_stop_tx_rx_ack' into 'master'
IEEE802154: modification of the action when stop tx/rx ack

See merge request espressif/esp-idf!24019
2023-06-07 14:40:01 +08:00
laokaiyao
71ef56f988
gdma: support on_recv_done callback 2023-06-07 11:38:32 +08:00
morris
5cd6189677 Merge branch 'bugfix/coverity_scan_fix_driver' into 'master'
ADC: Fixed potential multiply overflow in the calibration code

See merge request espressif/esp-idf!24073
2023-06-07 11:36:20 +08:00
Marius Vikhammer
ccda256058 Merge branch 'docs/ulp_lp_core' into 'master'
ulp: add lp core docs

Closes IDF-5816

See merge request espressif/esp-idf!24013
2023-06-07 10:43:23 +08:00
chenjianhua
cf5895d07e Update bt lib for ESP32-C3 and ESP32-S3
- Fixed crash when controller initialization fails due to insufficient memory
2023-06-06 21:16:47 +08:00
Shu Chen
8672467d36 openthread: introduce the auto start API 2023-06-06 20:03:57 +08:00
Shu Chen
523e2593ef Merge branch 'bugfix/remove_assert_when_seckey_parsing_failed' into 'master'
openthread: fix assert when parsing security key failed

Closes TZ-131

See merge request espressif/esp-idf!24062
2023-06-06 19:32:07 +08:00
Xu Si Yu
6b6984b4a8 ot br lib: update br lib to fix issues found in certification 2023-06-06 19:12:29 +08:00
Xu Si Yu
c1581eb6b8 openthread: forbid otPlatUdp to connect to address 0.0.0.0 and port 0 2023-06-06 19:11:32 +08:00
Xu Si Yu
3f52b00948 openthread cli: set dua feature optional 2023-06-06 19:11:32 +08:00
Xu Si Yu
1241bfc73d openthread rcp: set link metrics feature optional 2023-06-06 19:11:32 +08:00
Marius Vikhammer
d19600e0a7 ulp/lp-core: added docs describing the lp core 2023-06-06 17:42:03 +08:00
Mahavir Jain
743df412df Merge branch 'bugfix/aes_dma_align_issue' into 'master'
aes: fix DMA descriptor calculation for the alignment case

Closes IDFGH-10033

See merge request espressif/esp-idf!23963
2023-06-06 16:54:47 +08:00
morris
630b1b079e drivers: fix issue reported by coverity 2023-06-06 14:16:09 +08:00
morris
d1934d8c45 adc: fixed the issue that multiply overflow before type expand 2023-06-06 14:16:09 +08:00
Mahavir Jain
c606127315 Merge branch 'fix/xts_aes_register_prefix_discrepancy_c6_h2' into 'master'
fix: xts aes register prefix discrepancy for ESP32H2 and ESP32C6

Closes DOC-5171 and DOC-5179

See merge request espressif/esp-idf!23944
2023-06-06 12:40:57 +08:00
Xu Si Yu
135a123e77 IEEE802154: modification of the action when stop tx/rx ack 2023-06-06 11:31:54 +08:00
Marius Vikhammer
adef00f363 Merge branch 'bugfix/comp_opt_level_debug_rename' into 'master'
core-system: changed CONFIG_COMPILER_OPTIMIZATION_DEFAULT to CONFIG_COMPILER_OPTIMIZATION_DEBUG

Closes IDFGH-6776

See merge request espressif/esp-idf!24033
2023-06-06 10:31:01 +08:00
Marius Vikhammer
f54503d822 Merge branch 'bugfix/ulp_fsm_ci' into 'master'
ulp-system/ulp-fsm: clean up test cases

Closes IDFCI-1665

See merge request espressif/esp-idf!24015
2023-06-06 10:29:31 +08:00
Jiang Jiang Jian
4237885947 Merge branch 'bufix/update_esp_phy_h_comments' into 'master'
esp_phy:update comments in esp_phy_init.h

See merge request espressif/esp-idf!23224
2023-06-06 10:20:59 +08:00
zhangwenxu
91e7c1620e openthread: fix assert when parsing security key failed 2023-06-05 22:03:26 +08:00
Harshal Patil
972e17410a Merge branch 'fix/crypto_test_app_minor_fixes' into 'master'
hal: minor fixes needed in the crypto hal test app

See merge request espressif/esp-idf!23949
2023-06-05 20:04:08 +08:00
morris
cda847b3a7 rgb_lcd: support pixel copy for 8bpp
Closes https://github.com/espressif/esp-idf/issues/11581
2023-06-05 15:34:40 +08:00
Armando
97c30c7da6 adc: port gh pr to current adc continuous mode driver
DMA EOF may happens per multiple dma descriptors, instead of only one.

Closes https://github.com/espressif/esp-idf/pull/11500
2023-06-05 14:25:53 +08:00
Kapil Gupta
026f9b31fa esp_wifi: Fix WPS issue for WPA3+WPA2 mode 2023-06-05 10:50:53 +05:30
Niklas Gürtler
2a8b9fb636 Fix #10804 by running continuous ADC DMA in endless loop instead of restarting after each run (descriptor chain) to avoid losing samples. Use descriptor error callback for GDMA to check for DMA buffer overrun.
Signed-off-by: Armando <douyiwen@espressif.com>
2023-06-05 12:24:14 +08:00
Jiang Jiang Jian
37d11ea04d Merge branch 'bugfix/fix_bleqabr23_222' into 'master'
Revert "bluedroid: report disconnect event after BLE link closed"

See merge request espressif/esp-idf!24035
2023-06-03 08:42:08 +08:00
xuxiao
722c60c14b esp_wifi: itwt add setup timeout timer to track response frame 2023-06-02 21:10:32 +08:00
wuzhenghui
713da85988 bugfix: fix sleep failed caused by uart clk lost 2023-06-02 20:52:25 +08:00
Jiang Guang Ming
d476c4338e spi_flash: support esp_flash rom impl test on c6 and h2 2023-06-02 16:56:46 +08:00
chenjianhua
e039b788df Revert "bluedroid: report disconnect event after BLE link closed"
This reverts commit c8a380500a.
2023-06-02 16:28:29 +08:00
Zhang Xiao Yan
9421cca938 Merge branch 'docs/fix_typo_in_components_esp_common_include_esp_err' into 'master'
docs: fix typo in components/esp_common/include/esp_err.h

See merge request espressif/esp-idf!23573
2023-06-02 15:56:54 +08:00
Martin Vychodil
ae8b14ead6 Merge branch 'bugfix/sdmmc_test_board_pwr_ctrl' into 'master'
sdmmc: implement card power control for esp32c3 sdmmc breakout board

See merge request espressif/esp-idf!23932
2023-06-02 15:19:59 +08:00
Marius Vikhammer
bd4c0fca3c core-system: changed CONFIG_COMPILER_OPTIMIZATION_DEFAULT to CONFIG_COMPILER_OPTIMIZATION_DEBUG
DEBUG is more descriptive and is consistent with the name used in the bootloader:
CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_DEBUG

Closes https://github.com/espressif/esp-idf/issues/8404
2023-06-02 15:16:50 +08:00
Jiang Jiang Jian
f6452f0819 Merge branch 'bugfix/wpsreg_ap_assoc_respone' into 'master'
esp_wifi: Bugfix wpsreg AP not responding to assoc req

See merge request espressif/esp-idf!23863
2023-06-02 13:27:05 +08:00
Marius Vikhammer
856d371196 Merge branch 'contrib/github_pr_11508' into 'master'
[Heap Trace Standalone] increase Kconfig max stack depth (GitHub PR)

Closes IDFGH-10245

See merge request espressif/esp-idf!23982
2023-06-02 10:48:52 +08:00
Shreyas Sheth
28e046d200 esp_wifi: Bugfix wpsreg AP not responding to assoc req
Fixed regression caused by 2b8e40e7
2023-06-02 02:07:55 +00:00
Jiang Jiang Jian
8eb5a77866 Merge branch 'mesh/bugfix_fix_layer2_node_scan_issue_when_fixed_root' into 'master'
wifi_mesh: fix the layer2 node scan issue when fixed root

Closes IDFGH-10036 and WIFI-5949

See merge request espressif/esp-idf!23856
2023-06-01 19:23:27 +08:00
chenjianhua
5ee2ad7552 bluedroid: fixed default extended connection params 2023-06-01 17:37:49 +08:00
Ivan Grokhotkov
c94853786f
sdmmc: implement card power control for esp32c3 sdmmc breakout board 2023-06-01 11:01:19 +02:00
Armando (Dou Yiwen)
103332274e Merge branch 'feature/adc_continuous_new_data_replace_old_data' into 'master'
adc: added a flag to replace internal pool data with newest data, when pool is full

Closes IDF-7395

See merge request espressif/esp-idf!23744
2023-06-01 14:26:39 +08:00
Wu Zheng Hui
9340696cb7 Merge branch 'bugfix/fix_wakeup_failed_if_powerdown_flash_in_lightsleep' into 'master'
Power Management: fixed flash funcs called in sleep wakeup process

See merge request espressif/esp-idf!23906
2023-06-01 14:10:15 +08:00
harshal.patil
7d4e69d5fa hal: minor fixes needed in the crypto hal test app 2023-06-01 11:37:36 +05:30
Marius Vikhammer
a1dff18a0e ulp-system/ulp-fsm: clean up test cases 2023-06-01 11:34:22 +08:00
Linda
7bf3105105 docs: fix typo in components/esp_common/include/esp_err.h 2023-06-01 10:17:19 +08:00
Marius Vikhammer
9f31c65458 Merge branch 'feature/c6_ulp_gpio' into 'master'
ulp: added gpio API for lp core

Closes IDF-6834

See merge request espressif/esp-idf!23766
2023-06-01 09:50:33 +08:00
Alexey Gerenkov
8846674e54 tools: Upgrade Clang toolchain to 'esp-16.0.0-20230516' 2023-05-31 22:07:15 +03:00
wuzhenghui
2981d38000 bugfix: fix some flash funcs called in sleep wakeup process 2023-05-31 17:56:46 +08:00
morris
9f4a296274 Merge branch 'bugfix/spi_master_assert_failure' into 'master'
spi_master: fix the assertion on a NULL desired_dev

Closes IDFGH-10273

See merge request espressif/esp-idf!23974
2023-05-31 17:46:04 +08:00
Jiang Jiang Jian
d89919999e Merge branch 'bugfix/fix_hang_during_sleep_process' into 'master'
bugfix: fix hang on pd_top sleep process

Closes AEG-582

See merge request espressif/esp-idf!23634
2023-05-31 17:23:08 +08:00
Jiang Jiang Jian
f5d5196a8f Merge branch 'bugfix/esp32c2_slave_report_address_error' into 'master'
Bugfix/esp32c2 slave report address error

See merge request espressif/esp-idf!23914
2023-05-31 17:20:15 +08:00
Mahavir Jain
f7a01d8f90
aes: fix DMA descriptor calculation for the alignment case
The number of the DMA descriptors allocated for certain length (e.g.,
8176) were not sufficient (off by 1 error). This used to result in the
dynamic memory corruption as the region was modified beyond the
allocated range.

This change fixes the DMA descriptor calculation part and allocates
sufficient DMA descriptors based on the data length alignment considerations.

Test has also been added to cover the specific scenario in the CI.

Closes https://github.com/espressif/esp-idf/issues/11310
2023-05-31 14:19:58 +05:30
Mahavir Jain
aed0e3604b Merge branch 'bugfix/c6_h2_decrease_rng_frequency' into 'master'
esp_hw_support: decrease RNG read frequency for C6 and H2

See merge request espressif/esp-idf!23977
2023-05-31 16:30:37 +08:00
Chip Weinberger
23cba5fe00 [Heap Trace Standalone] increase Kconfig max stack size 2023-05-31 12:41:16 +08:00
Armando
56c66953da adc: added flush pool test 2023-05-31 10:55:02 +08:00
Armando
c68e4bbb6f adc: added a flag to replace internal pool data with newest data, when pool is full 2023-05-31 10:55:01 +08:00
morris
bdd0d1ddc8 Merge branch 'feature/test_rmt_bytes_encoder' into 'master'
rmt: explained why encoder may results in more data being transmitted

Closes IDFGH-10201

See merge request espressif/esp-idf!23880
2023-05-31 10:20:13 +08:00
Mahavir Jain
0431e08883 Merge branch 'bugfix/add_esp32h2_chip_id' into 'master'
Add ESP32-H2 chip id in `esp_chip_id_t` enum in esp_app_format.h header file

See merge request espressif/esp-idf!23984
2023-05-30 23:58:41 +08:00
Roland Dobai
0be3bbc2d1 Merge branch 'bug/strip_dump_machine' into 'master'
tools: strip trailing whitespaces/newline from dump_machine

See merge request espressif/esp-idf!23987
2023-05-30 23:18:26 +08:00
Martin Vychodil
729d63114c Merge branch 'ci/pytest_sdcard_format_timeout_increase' into 'master'
CI: fix sdcard fatfs test_apps format timeout

Closes IDFCI-1723

See merge request espressif/esp-idf!23904
2023-05-30 20:51:57 +08:00
Frantisek Hrbata
b3998f0f0c tools: strip trailing whitespaces/newline from dump_machine
In components/xtensa/project_include.cmake ${CMAKE_C_COMPILER} -dumpmachine
is called, but the output has newline.

Before
---8<--
-- Compiler supported targets: xtensa-esp32s3-elf

-- App "blink" version: 1.2.3
---8<--

After
---8<--
-- Compiler supported targets: xtensa-esp32s3-elf
-- App "blink" version: 1.2.3
---8<--

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-05-30 13:35:10 +02:00
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
morris
c5f195c400 spi_master: fix the assertion on a NULL desired_dev
Closes https://github.com/espressif/esp-idf/issues/11536
2023-05-30 10:53:32 +00:00
Harshit Malpani
44e88792de
Add ESP32-H2 chip id in esp_chip_id_t enum in esp_app_format.h header file 2023-05-30 15:19:21 +05:30
Roland Dobai
1f06806271 Merge branch 'bugfix/efuse_summary' into 'master'
system-hardware/efuse: fixed efuse summary description containing ; breaking efuse-summary

See merge request espressif/esp-idf!23975
2023-05-30 17:14:22 +08:00
Marius Vikhammer
8e8f6177c9 Merge branch 'bugfix/linux_heap_realloc' into 'master'
core-system/linux-target: fixed heap_caps_realloc not correctly allocating the...

Closes IDFGH-10261

See merge request espressif/esp-idf!23952
2023-05-30 13:27:11 +08:00
Marius Vikhammer
93ba9d1cfe system-hardware/efuse: fixed efuse summary description containing ; breaking efuse-summary
If the efuse description from esptool contained semi-colons it would be interpretted as
a list delimiter in CMake. Summary is now passed as in quotes to escape this behavior.
2023-05-30 10:55:27 +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
zwl
bcfb71f602 esp_phy:Update phy lib for ESP32-C2 2023-05-29 21:02:23 +08:00
zwl
a9d25460a7 ble:fixed the issue that slave reports the wrong address for master when address resolution disable 2023-05-29 20:59:13 +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
wuzhenghui
4236644071 feature: skip console uart flush and sleep when estimated uart flush time exceeds the sleep duration to avoid rtos tick jump failed 2023-05-29 16:35:03 +08:00
wuzhenghui
388746ca31 Kconfig: add more help info for pm related options help 2023-05-29 16:35:03 +08:00
wuzhenghui
5c74093300 bugfix: treat too short sleep duration as sleep reject by software 2023-05-29 16:35:03 +08:00
wuzhenghui
756b5f628d bugfix: fix pmp retention and add pma retention 2023-05-29 16:35:03 +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
Marius Vikhammer
dacc51dd2b ulp/lp-core: added gpio API for lp core as well as an example showcasing it. 2023-05-29 11:13:47 +08:00
Marius Vikhammer
5b77f77e53 core-system/linux-target: fixed heap_caps_realloc not correctly allocating the requested number of bytes
Closes https://github.com/espressif/esp-idf/issues/11523
2023-05-29 10:09:54 +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
harshal.patil
60ccb8f439 esp32c6: xts-aes register preefix discrepency 2023-05-26 15:33:21 +05:30
harshal.patil
bc825431e8 esp32h2: xts-aes register prefix discrepency 2023-05-26 15:33:15 +05:30
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
morris
1703a0a5e9 doc: explain why RMT encoder may result in more data transmitting
Closes https://github.com/espressif/esp-idf/issues/11468
2023-05-26 13:37:11 +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
zhangyanjiao
ce4b54361e esp_wifi:
1. mesh: layer2 node will scan all channels when fixed root leave
2. show warning info when setting max connection num for softAP
2023-05-26 11:33:33 +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
Adam Múdry
976644acf6 CI: fix sdcard fatfs test_apps format timeout 2023-05-25 08:52:59 +00:00
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
jiangguangming
0d0fa7bda2 esp_rom: fix rom layout issues 2023-05-23 17:04:10 +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
Laukik Hase
c1bed366ba
nvs_flash: Add support for HMAC-based NVS encryption keys protection scheme
- This features allows the NVS encryption keys to be derived and protected using
  the HMAC peripheral. Since the encryption keys are derived at runtime, they
  are not stored anywhere in the flash and hence this feature does not require
  a separate `nvs_keys` partition.
2023-05-23 13:55:52 +05:30
Zim Kalinowski
ef960d53fe esp_event: fix build error related to format
Closes https://github.com/espressif/esp-idf/issues/11428

See merge request !23833
2023-05-23 09:09:45 +02:00
Laukik Hase
596b83fe15
wifi_prov: Fix build issue when building only for sec1 or sec2 2023-05-23 12:00:45 +05:30
Laukik Hase
f695c1a788
wifi_prov: Exposed events for secure session establishment 2023-05-23 12:00:40 +05:30
Rahul Tank
72968880ec Nimble: Fixes for memory leak / optimization 2023-05-23 11:56:23 +05:30
Ondrej Kosta
5ebe6b51d8 esp_eth: fixed esp_eth_transmit_vargs to transmit only when link is up
esp_eth test: clear unicast Rx event before wait
2023-05-23 08:23:34 +02:00
Rahul Tank
658ce48ca9 Merge branch 'bugfix/fix_pcl_enh_rsp' into 'master'
Nimble: Removed the extra status field in the enh read transmit power level

Closes BLEQABR23-196

See merge request espressif/esp-idf!23864
2023-05-23 14:21:26 +08:00
Ondrej Kosta
5da56ea361 Merge branch 'contrib/github_pr_11337' into 'master'
w5500: mac: poll VERSIONR to ensure the chip is initialised (GitHub PR)

Closes IDFGH-10061

See merge request espressif/esp-idf!23792
2023-05-23 13:23:51 +08:00
Wang Fang
b4a9078f98 docs: update the description for check_speed_hz 2023-05-23 11:44:47 +08:00