Commit Graph

20698 Commits

Author SHA1 Message Date
morris
ff20794ea4 Merge branch 'bugfix/vfs_uart_outof_bounds_read' into 'master'
vfs_uart: fix out-of-bounds read

See merge request espressif/esp-idf!24290
2023-06-20 10:35:39 +08:00
Rahul Tank
db5a2638dd Merge branch 'bugfix/expose_clear_all_wl_api' into 'master'
Nimble: Expose API to clear all addresses in whitelist out of stack

See merge request espressif/esp-idf!24084
2023-06-19 23:18:13 +08:00
KonstantinKondrashov
42fa005bf7 freertos: Fix Systick stuck when systimer was not reset
Relates to OTA update for C3 chips from IDF version 4.3 to v5.0 and above
2023-06-19 21:57:02 +08:00
Wu Zheng Hui
1be9eee3ca Merge branch 'bugfix/fix_esp32s3_psram_access_failed_in_dfs_master' into 'master'
esp_pm: fix esp32s3 psram access failed when dfs is enabled

Closes IDF-7400 and IDF-4120

See merge request espressif/esp-idf!24144
2023-06-19 17:58:03 +08:00
morris
213564efe1 Merge branch 'feature/rgb_lcd_restart_on_invalid_bb_eof_times' into 'master'
rgb_lcd: Restart the LCD when detecting a wrong order of bounce buffer switching

Closes IDF-7185

See merge request espressif/esp-idf!23980
2023-06-19 15:46:59 +08:00
Wu Zheng Hui
8f75882475 Merge branch 'feature/add_modem_module_rst_api' into 'master'
modem_clock: add modem module mac reset api

Closes IDF-5713

See merge request espressif/esp-idf!24044
2023-06-19 14:46:31 +08:00
Wang Meng Yang
0a8610ab7b Merge branch 'bugfix/hfp_packet_type_err' into 'master'
Revised (e)SCO configuration parameter sets

Closes FCS-1239

See merge request espressif/esp-idf!24166
2023-06-19 13:40:21 +08:00
morris
35d0835508 rgb_lcd: restart when dma eof interrupt is delayed 2023-06-19 13:22:46 +08:00
morris
771883395b esp_lcd: trim the build of test apps 2023-06-19 13:05:49 +08:00
wuzhenghui
913a0adcfa esp_wifi: implement wifi_reset_mac_wrapper 2023-06-19 12:53:09 +08:00
wuzhenghui
4196eddff1 esp_hw_support: add modem module mac reset api 2023-06-19 12:53:09 +08:00
Wan Lei
a0dc515143 Merge branch 'refactor/cache_utils_refactor_to_cache_hal' into 'master'
cache: refactor cache_utils to use cache_hal instade

Closes IDF-7172 and IDF-7385

See merge request espressif/esp-idf!23317
2023-06-19 11:54:12 +08:00
Island
81e418b1f2 Merge branch 'ble_dev/support_ble_light_sleep_using_extra_link' into 'master'
ESP32C6: Add BLE light sleep support using extra link

Closes IDF-6528

See merge request espressif/esp-idf!23720
2023-06-19 11:47:58 +08:00
morris
a4c19ceea0 touch_element: fix unintended integer division 2023-06-19 11:04:53 +08:00
morris
8885d20482 usbh: fix invalid assert on desc_status 2023-06-19 10:59:46 +08:00
morris
1272703bdf vfs_uart: fix out-of-bounds read
when open uart device "/2" on chips only have 2 UART peripherals
2023-06-19 10:59:46 +08:00
Krzysztof Budzynski
8d64cbc422 Merge branch 'docs/update_comment_of_idle_core_mask' into 'master'
docs: update comment of member idle_core_mask

See merge request espressif/esp-idf!24043
2023-06-19 10:46:10 +08:00
wuzhenghui
9074bee47c ci: add access psram with DFS unity test 2023-06-19 10:15:08 +08:00
wuzhenghui
c39bfd01a5 bugfix: use avaliable gpio for esp32s3 pm_trace 2023-06-19 10:15:08 +08:00
wuzhenghui
8334403f3c bugfix: fix esp32s3 psram access failed when dfs is enabled 2023-06-19 10:15:04 +08:00
Song Ruo Jing
03d4fa2869 Merge branch 'feature/support_lp_uart_for_uart_driver' into 'master'
uart: Support LP_UART port with UART driver for esp32c6

Closes IDF-7061 and IDF-7374

See merge request espressif/esp-idf!22914
2023-06-16 20:45:43 +08:00
Jin Cheng
4b46ecf6f2 Revised (e)SCO configuration parameter sets 2023-06-16 18:05:41 +08:00
Zhang Wen Xu
acbdbbb23b Merge branch 'bugfix/fix_dead_lock_for_ot' into 'master'
Openthread: fix dead lock related to ot and lwip

See merge request espressif/esp-idf!24232
2023-06-16 17:27:14 +08:00
Shyamal Khachane
84222e62a7 esp_wifi: Fix connection failure to hidden AP in APSTA mode for ESP32C6 2023-06-16 13:38:51 +05:30
cjin
d2d65a72a0 btbb: support register retention in esp32c6 2023-06-16 15:37:03 +08:00
cjin
f3457133f6 ble:added esp32c6 light sleep support 2023-06-16 15:37:03 +08:00
Song Ruo Jing
921713fff4 uart: Support LP_UART port with UART driver on esp32c6 2023-06-16 07:31:40 +00:00
Jiang Jiang Jian
b77540c285 Merge branch 'bugfix/malloc_free_removal' into 'master'
esp_wifi: Remove direct calls of malloc() and free()

See merge request espressif/esp-idf!23287
2023-06-16 15:21:46 +08:00
gongyantao
028f7779f5 resolve the conflicts 2023-06-16 15:20:25 +08:00
Jiang Jiang Jian
912de2a8f7 Merge branch 'ble_dev/esp32c6_eco1_changes' into 'master'
ble:add version num support for esp32c6 chip

Closes EBLE50Y23-76 and BLERD2QA23-65

See merge request espressif/esp-idf!23472
2023-06-16 15:20:06 +08:00
Jiang Jiang Jian
6fa901f377 Merge branch 'bugfix/fix_Cache_Count_Flash_bug' into 'master'
esp_rom: Patch some cache apis

Closes IDF-4387

See merge request espressif/esp-idf!24237
2023-06-16 14:04:00 +08:00
Wang Lei
dec402ac84 esp_rom: Patch some cache apis 2023-06-16 14:04:00 +08:00
Jiang Jiang Jian
3a45d4e949 Merge branch 'bugfix/update_esp_rom_layout' into 'master'
esp_rom: fix rom layout issues

See merge request espressif/esp-idf!23888
2023-06-16 13:55:08 +08:00
muhaidong
f5e0d5f908 lower the dhcp discover and request retry backoff time 2023-06-16 10:49:28 +08:00
Konstantin Kondrashov
c350c3c504 Merge branch 'feature/cleanup_wrong_log_use' into 'master'
all: Removes unnecessary newline character in logs

Closes IDFGH-10197

See merge request espressif/esp-idf!24131
2023-06-15 21:49:49 +08:00
chenjianhua
4681c59eeb Update bt-lib for esp32
- Fixed memory leak when setting adv data
2023-06-15 21:10:07 +08:00
Sudeep Mohanty
98bc3d7e01 Merge branch 'contrib/github_pr_11652' into 'master'
Fix ULP FSM register macros with addr[9:0] > 0xFF (GitHub PR)

Closes IDFGH-10397

See merge request espressif/esp-idf!24251
2023-06-15 19:58:19 +08:00
Zhang Wen Xu
bcb17412f5 Merge branch 'feature/lwip_add_ip6_src_addr_select_hook' into 'master'
lwip: add a hook for ip6 source address selection

See merge request espressif/esp-idf!23672
2023-06-15 16:07:29 +08:00
Wan Lei
dccc31e9e4 Merge branch 'refactor/remove_apb_ctrl_reg' into 'master'
sysreg: deprecate apb_ctrl related reg

Closes DOC-5139

See merge request espressif/esp-idf!24135
2023-06-15 14:57:32 +08:00
morris
2a760522fa Merge branch 'feature/add_option_to_put_LEDC_into_IRAM' into 'master'
ledc:add option to put LEDC function into IRAM

Closes IDFGH-10293

See merge request espressif/esp-idf!24207
2023-06-15 13:36:06 +08:00
wanlei
0f7e39d15a cache: refactor cache_utils into cache_hal instade 2023-06-15 11:50:42 +08:00
Shu Chen
7676a1c8fe Merge branch 'add_nvs_flash' into 'master'
openthread: change partition table to nvs flash

See merge request espressif/esp-idf!23845
2023-06-15 09:37:48 +08:00
Jiang Jiang Jian
53b94698b5 Merge branch 'bugfix/fix_esp32s2_tsenor' into 'master'
esp_phy: fix esp32s2 tempture sensor issue

See merge request espressif/esp-idf!24225
2023-06-15 01:07:48 +08:00
Jakob Hasse
006e675656 Merge branch 'bugfix/extern_c_decl' into 'master'
esp_hw_support: Added extern "C" declaration

Closes IDF-2860

See merge request espressif/esp-idf!24217
2023-06-14 23:23:37 +08:00
alanmaxwell
7fc25023d3 esp_phy: fix esp32s2 tsensor issue 2023-06-14 21:32:34 +08:00
Zim Kalinowski
f59394f36b Merge branch 'bugfix/efuse-improve-qemu-test' into 'master'
efuse: simplify qemu test script

See merge request espressif/esp-idf!24206
2023-06-14 18:30:41 +08:00
Chen Jichang
5150c578fd ledc:add option to put LEDC function into IRAM
The caches are disabled when reading/writing/erasing flash.
All CPUs should always execute code and access data from internal RAM.
Add an IRAM option to enhance the performance of LEDC.

Closes https://github.com/espressif/esp-idf/issues/11554
2023-06-14 18:12:01 +08:00
Armando (Dou Yiwen)
07bad52ea8 Merge branch 'docs/added_component_decription_in_component_readme' into 'master'
esp_mm: added esp_mm, esp_psram component description

See merge request espressif/esp-idf!22530
2023-06-14 16:39:39 +08:00
zhangwenxu
4b86ee16fa openthread: change partition table to nvs flash 2023-06-14 16:34:54 +08:00
Sudeep Mohanty
424a72cba6 lp-core: Added support for abort() function on the LP core
This commit adds support for the abort() function on the LP core.
2023-06-14 10:24:35 +02:00
Armando (Dou Yiwen)
17a5d16256 Merge branch 'bugfix/fix_legacy_adc_continuous_driver_dma_descriptor_not_internal_issue' into 'master'
adc: fixed legacy adc continuous driver dma descriptor not in internal ram issue

See merge request espressif/esp-idf!24213
2023-06-14 15:24:03 +08:00
Michael (XIAO Xufeng)
702e97e9be Merge branch 'feat/kconfig_c3_v1.0_dev' into 'master'
esp32c3: add development option for v1.0 chips

See merge request espressif/esp-idf!24205
2023-06-14 15:03:50 +08:00
Kapil Gupta
32479c960b esp_wifi: Remove direct call of malloc() and free() 2023-06-14 11:50:58 +05:30
Chen Jian Hua
b9e89da5f7 Merge branch 'bugfix/fix_bleqabr23_226' into 'master'
Fixed disconnection delay on peripheral when slave latency not zero on ESP32

See merge request espressif/esp-idf!24168
2023-06-14 14:15:23 +08:00
Armando
3660505c00 added esp_mm, esp_psram component description 2023-06-14 06:04:14 +00:00
zhangwenxu
275dff60b5 Openthread: fix dead lock related to ot and lwip 2023-06-14 13:48:14 +08:00
Zim Kalinowski
b2dae9c262 efuse: simplify qemu test script 2023-06-14 07:29:35 +02:00
Zim Kalinowski
de87e67516 Merge branch 'bugfix/pthread-improve-qemu-test' into 'master'
pthread: updated qemu test scripts

Closes IDFCI-1559 and IDFCI-1701

See merge request espressif/esp-idf!24159
2023-06-14 13:23:50 +08:00
Wang Meng Yang
2e9669a814 Merge branch 'bugfix/fix_idfgh_10092' into 'master'
Esp_hid: fixed ble hid battery level setting

See merge request espressif/esp-idf!23789
2023-06-14 12:27:54 +08:00
Wang Meng Yang
126b98d889 Merge branch 'bugfix/fix_idfgh_10045' into 'master'
Bluedroid: fixed compile warning when optimize for performance

See merge request espressif/esp-idf!24161
2023-06-14 12:22:06 +08:00
Wang Meng Yang
40d1d7f43b Merge branch 'bugfix/fix_bleqabr23_213' into 'master'
Bluedroid: fixed default extended connection params

See merge request espressif/esp-idf!24025
2023-06-14 12:21:51 +08:00
morris
ba9de259e1 Merge branch 'bugfix/mcpwm_legacy_typo' into 'master'
mcpwm: fix typo in backward compatible macro name

See merge request espressif/esp-idf!24180
2023-06-14 11:37:48 +08:00
wanlei
c5c793109f cache: fix cache suspended/resumed twice on S3 2023-06-14 10:55:07 +08:00
Armando (Dou Yiwen)
17d6768e65 Merge branch 'feature/add_target_esp32p4' into 'master'
esp32p4: introduce the target

See merge request espressif/esp-idf!24155
2023-06-14 10:16:44 +08:00
Jakob Hasse
e87ac7255c esp_hw_support: Added extern "C" declaration 2023-06-13 13:44:21 +02:00
Zim Kalinowski
3e48e008e2 pthread: updated qemu test scripts 2023-06-13 13:05:15 +02:00
Armando
9c71c9ae74 adc: fixed legacy adc continuous driver dma descriptor not in internal ram issue 2023-06-13 18:56:26 +08:00
morris
5a9bfc1032 Merge branch 'bugfix/rgb_pixel_copy_bpp8' into 'master'
rgb_lcd: Support LCD rotation for LCD whose pixel size is one byte

Closes IDF-5738 and IDFGH-10322

See merge request espressif/esp-idf!24056
2023-06-13 18:17:31 +08:00
Michael (XIAO Xufeng)
1490424ab6 esp32c3: add development support option for v1.0 chips 2023-06-13 17:39:13 +08:00
morris
f38945ea18 Merge branch 'feature/trim_the_build_of_test_apps_of_esp_adc' into 'master'
Trim the build components

Closes IDF-7459

See merge request espressif/esp-idf!24143
2023-06-13 17:36:09 +08:00
Konstantin Kondrashov
ac188ad074 Merge branch 'bugfix/mac_ext_order_for_c6_h2' into 'master'
esp_hw_support: Change the byte order of MAC for IEEE802154 (C6 and H2 chips)

Closes IDF-6809

See merge request espressif/esp-idf!23988
2023-06-13 16:08:13 +08:00
Marius Vikhammer
86c5b437b5 Merge branch 'ci/trim_test_apps' into 'master'
core-system: limit build components for core-system test apps

Closes IDF-7092

See merge request espressif/esp-idf!24167
2023-06-13 15:31:00 +08:00
Armando
101e6a18eb esp32p4: introduce the target
Add esp32p4 target to tools and Kconfig
Create directories and files that are essential for `idf.py --preview set-target esp32p4`
2023-06-13 15:16:11 +08:00
Chen Jichang
6c9cf5c352 driver:Trim the build components
Trim the build components to decrease the load of Gitlab server.
2023-06-13 14:24:44 +08:00
morris
c0b43be3bb mcpwm: fix typo in backward compatible macro name 2023-06-13 03:28:02 +00:00
Marius Vikhammer
6d11c37ff1 core-system: trim build components for core-system test apps 2023-06-13 09:14:42 +08:00
David Čermák
fd8ed0df36 Merge branch 'bugfix/lwip_dhcps_hook_types' into 'master'
lwip: Fix incorrect invocation of the hook `LWIP_HOOK_DHCPS_POST_APPEND_OPTS`

Closes IDFGH-10099 and IDFGH-10098

See merge request espressif/esp-idf!23793
2023-06-12 20:18:58 +08:00
Jiang Jiang Jian
6d60dd9c0b Merge branch 'bugfix/fix_phy_set_tsens_power_twice_issue' into 'master'
phy: fix phy pwdet and tsens power cannot be set twice issue

Closes IDFGH-10369

See merge request espressif/esp-idf!24153
2023-06-12 19:26:37 +08:00
Jiang Jiang Jian
8daed29921 Merge branch 'feat/improve_wifi_rx_in_high_interference' into 'master'
esp_phy: improve Wi-Fi rx 11b pkts for AC-DC power supply modules

Closes WIFI-5960

See merge request espressif/esp-idf!24100
2023-06-12 18:27:12 +08:00
Armando (Dou Yiwen)
f9cd9e3e32 Merge branch 'feature/add_log_when_mspi_timing_tuning_is_enabled' into 'master'
mspi: added timing tuning start, and success log

See merge request espressif/esp-idf!24052
2023-06-12 18:22:13 +08:00
aditi_lonkar
d34a63d1aa Fix for sending deauth before Eap-Failure in WPS 2023-06-12 15:08:42 +05:30
boarchuz
07332abbaa fix ULP FSM reg ops with addr > 0xFF 2023-06-12 18:59:25 +10:00
morris
575ad2bd6f Merge branch 'bugfix/adc_outof_bound_read' into 'master'
adc: fix out of bound read

See merge request espressif/esp-idf!24134
2023-06-12 14:13:57 +08:00
Linda
ab14c1dd80 docs: update comment of member idle_core_mask 2023-06-12 14:09:02 +08:00
chenjianhua
909ec6673e Update bt-lib for esp32
1 Fixed disconnection delay on peripheral when slave latency is not zero
2 Fixed LLCP info init for central and peripheral
3 Fixed sent cmd status evt twice when process disconnect cmd
2023-06-12 12:12:14 +08:00
chenjianxing
97cfa54e77 esp_phy: update esp32c2 phy lib to fix some issues
1. improve Wi-Fi rx 11b pkts for AC-DC power supply modules.
2. fix Wi-Fi disconnect in low temperature.
3. fix RTC_SW_CPU_RST occur in Wi-Fi start and stop process.
2023-06-12 11:45:48 +08:00
Armando
b5142b248d mspi: added timing tuning start, and success log 2023-06-12 11:44:24 +08:00
Wu Zheng Hui
2b6551f84d Merge branch 'bugfix/support_esp326_xtal_xpd' into 'master'
esp32c6: support xtal xpd

Closes IDF-7318

See merge request espressif/esp-idf!22932
2023-06-12 11:28:59 +08:00
Jiang Jiang Jian
984340f187 Merge branch 'bugfix/disable_txop_temp_fix_tx_buffer_recycle_issue' into 'master'
esp_wifi: fix tx buffer recycle issue

Closes WIFI-5609, WIFI-4803, WIFI-4927, and IDF-7342

See merge request espressif/esp-idf!23937
2023-06-12 11:11:45 +08:00
chenjianhua
0634bb904e bluedroid: fixed compile warning when optimize for performance 2023-06-11 16:06:07 +08:00
morris
4865a07e3b adc: fix out of bound read
when SOC_ADC_PERIPH_NUM==1, the adc_unit should only be assigned with 0
2023-06-10 16:21:12 +08:00
morris
88600bd91b driver: minor code clean up to pass coverity scan test 2023-06-10 16:21:12 +08:00
muhaidong
a1a69b044e esp_wifi: fix some txop issues 2023-06-09 22:37:15 +08:00
Armando
21ce7c16a0 phy: fix phy pwdet and tsens power cannot be set twice issue
Closes https://github.com/espressif/esp-idf/issues/11627
2023-06-09 20:29:14 +08:00
Jiang Jiang Jian
213504238f Merge branch 'bugfix/fix_wps_with_sae_enabled_ap' into 'master'
esp_wifi: Fix WPS issue for WPA3+WPA2 mode

Closes WIFI-6038

See merge request espressif/esp-idf!24049
2023-06-09 18:48:21 +08:00
wanlei
3ed82deedf sysreg: deprecate apb_ctrl related reg, suggest syscon 2023-06-09 17:34:10 +08:00
xiaqilin
4d4f68623e ieee802154: fix multipan api error and update coex_arb_delay reg 2023-06-09 17:14:56 +08:00
Chen Jichang
6abdc9b76e esp_adc:Trim the build components
If we don't trim the build components, the build system will import all
components which will increase the load of Gitlab server.

Closes IDF-7459
2023-06-09 16:46:40 +08:00
Sudeep Mohanty
ba2daf3c9e ulp-riscv-touch: Added support for the touch sensor on ULP RISC-V
This commit adds a driver for reading the touch sensor from the ULP
RISC-V core during sleep. The commit also adds an example to demonstrate
this feature.

Closes https://github.com/espressif/esp-idf/issues/10480
2023-06-09 08:41:34 +02:00
Shu Chen
e291137ce9 Merge branch 'feature/support_border_router' into 'master'
OpenThread: fix issues found in certification

See merge request espressif/esp-idf!23913
2023-06-09 10:20:46 +08:00
Alexey Gerenkov
d4e1935ba8 Merge branch 'feature/compiler_rt_support' into 'master'
build: Adds support for compiler-rt in Clang toolchain

See merge request espressif/esp-idf!21213
2023-06-09 04:41:34 +08:00
KonstantinKondrashov
e72061695e all: Removes unnecessary newline character in logs
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
Konstantin Kondrashov
f875978fb3 Merge branch 'bugfix/incorrect_time_after_ota' into 'master'
esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around

Closes IDFGH-7930

See merge request espressif/esp-idf!23030
2023-06-09 00:30:52 +08:00
KonstantinKondrashov
f7dfd1f48e mac_addr(C6 and H2): Fix byte order of MAC_EXT and change format of IEEE802154 MAC
The changes only related to C6 and H2 chips where CONFIG_SOC_IEEE802154_SUPPORTED=y.
For this case these APIs return 8 bytes
    esp_efuse_mac_get_default() -> 8 bytes
    esp_efuse_mac_get_custom() -> 8 bytes
    esp_read_mac(..., ESP_MAC_IEEE802154) -> 8 bytes
The rest cases len is 6 bytes
2023-06-08 23:11:32 +08:00
Mahavir Jain
c20f640d51 Merge branch 'feature/anti_dpa_configuration_c6_h2' into 'master'
esp32c6/esp32h2: crypto: add support for DPA protection configuration

Closes IDF-6973

See merge request espressif/esp-idf!23921
2023-06-08 22:49:21 +08:00
KonstantinKondrashov
cb6e2133f0 esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around
The commit fixes the case:
If variables in RTC RAM have been moved around by the linker,
they will be filled with garbage data. Any reset other than OTA would work fine
because the variables would still be initialized from the initial bootup.

So now system time will be valid even after OTA.

Closes https://github.com/espressif/esp-idf/issues/9448
2023-06-08 21:59:21 +08:00
Alexey Gerenkov
c9b7748789 efuse: Use 'hal_memcpy' instead of 'memcpy' in ESP32-H2 driver 2023-06-08 16:49:42 +03:00
Alexey Gerenkov
82c1d6e371 gcov: Do not link with libgcov when Clang is used 2023-06-08 16:49:42 +03:00
Alexey Gerenkov
e9345bcced build: Adds support for Clangs's toolchain compiler-rt 2023-06-08 16:49:37 +03:00
Michael (XIAO Xufeng)
54712f9d9d Merge branch 'bugfix/esp32_package_name' into 'master'
esp32: stop using deprecated name PICOD2 to avoid confusion

See merge request espressif/esp-idf!24109
2023-06-08 21:06:37 +08:00
Shu Chen
72972db88f Merge branch 'feature/add_ot_auto_start' into 'master'
openthread: introduce the auto start API

See merge request espressif/esp-idf!24078
2023-06-08 18:50:32 +08:00
wuzhenghui
71563e0995 sleep: Fix domain power down status cannot get updated accordingly with the allowance of retention in runtime 2023-06-08 17:26:18 +08:00
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
morris
9c39996c51 gdma: update soc reg.h for esp32c3 to be consistent with TRM
in the TRM the DMA module is callbed GDMA, but the reg.h in the esp-idf is still calling it DMA
2023-06-08 13:23:38 +08:00
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
6f021ba5f3 Nimble: Expose API to clear all addresses in whitelist out of stack 2023-06-07 16:29:22 +05:30
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
Shreyas Sheth
078629d61b esp_wifi: Bugfix concurrency observed while doing eloop register 2023-06-06 12:43:12 +05:30
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
c212c2b61c core-systems/heap: fixed wrong error message from assert in heap trace 2023-06-06 11:08:50 +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
zhiweijian
ddb8368aad Fixed bluedroid host build warning when log is disabled 2023-05-31 17:00:09 +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
Song Ruo Jing
c8cf7c5824 gpio_ext: rename register prefix to be GPIO_EXT_xxx 2023-05-31 12:55:22 +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
185d7a7bd4 heap: fixed unused variable warning 2023-05-30 11:40:17 +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
Chip Weinberger
fc1e8b0365 [Heap Trace Standalone] do not allocate memory until init is called 2023-05-29 00:00:15 -07: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
Mahavir Jain
8c1369f3aa Merge branch 'test/combined_ecc_mpi_hmac_ds_hal_verification_app' into 'master'
Create a combined security peripherals hal verification appliaction

See merge request espressif/esp-idf!23718
2023-05-23 11:27:53 +08:00
Island
72bf74f904 Merge branch 'feature/update_ble_doc_for_esp32c6_esp32h2' into 'master'
ble docs: Update ble doc for esp32c6 and esp32h2

Closes IDF-5926 and IDF-6686

See merge request espressif/esp-idf!23796
2023-05-22 18:50:55 +08:00
harshal.patil
21c6d5392f hal: add ecdsa peripheral verification tests 2023-05-22 15:19:34 +05:30
harshal.patil
7330851db0 hal: add digital signature peripheral verification tests
- also renamed the security test app to crypto test app
2023-05-22 15:19:34 +05:30
harshal.patil
9b27fa73a7 hal: add hmac peripheral verification tests 2023-05-22 15:19:34 +05:30
harshal.patil
da2c29751e hal: combine ecc hal test app into security peripherals test app 2023-05-22 15:19:34 +05:30
harshal.patil
56ac7eee3b ecc: added SOC_ECC_SUPPORT_POINT_VERIFY_QUIRK soc caps for esp32c2
as the ESP32C2 ECC peripheral has a bug in ECC point verification,
if value of K is zero the verification fails
2023-05-22 15:19:34 +05:30
harshal.patil
647c2dabfe hal: combine security peripherals test applications 2023-05-22 15:19:34 +05:30
Alexey Lapshin
a77f723962 Merge branch 'feature/riscv-gdbstub-runtime' into 'master'
esp_gdbstub: implement runtime gdbstub for riscv

Closes IDF-5621

See merge request espressif/esp-idf!23110
2023-05-22 17:20:17 +08:00
KonstantinKondrashov
aef81cceee efuse(H2): Adds RF Calibration Information 2023-05-22 08:40:26 +00:00
Wan Lei
b4e601989b Merge branch 'contrib/github_pr_11405' into 'master'
Fix initialization macros for twai_timing_config_t not setting .clk_src and .brp (GitHub PR)

Closes IDFGH-10134

See merge request espressif/esp-idf!23771
2023-05-22 15:16:52 +08:00
Jiang Guang Ming
11062e45fb Merge branch 'feature/spi_flash_remove_unnecessary_header_includes' into 'master'
spi_flash: remove unnecessary header includes in test_app

See merge request espressif/esp-idf!23844
2023-05-22 14:50:50 +08:00
Armando (Dou Yiwen)
a938fe0beb Merge branch 'bugfix/fix_adc_continuous_driver_conv_frame_issue' into 'master'
adc: fixed adc continuous driver conv frame issue

Closes IDFGH-10109

See merge request espressif/esp-idf!23772
2023-05-22 14:44:28 +08:00
zhangwenxu
1a0d86e77c openthread: add kconfig for enabling mac filter 2023-05-22 14:09:50 +08:00
Rahul Tank
ed30c4a106 Nimble: Removed the extra status field in the enh read transmit power level 2023-05-22 10:17:01 +05:30
Armando
bd6cd85b8e adc: added big conv_frame test 2023-05-22 10:55:28 +08:00
Armando
73791ff4e0 adc: fix adc continuous driver conv_frame_size not bigger than 4092 issue
Closes https://github.com/espressif/esp-idf/issues/11385
2023-05-22 10:55:28 +08:00
Mahavir Jain
2fc770a1a3 Merge branch 'contrib/github_pr_11190' into 'master'
[HTTPD] support for multiple simultaneous requests (try 3)  (GitHub PR)

Closes IDFGH-9868 and IDFGH-9204

See merge request espressif/esp-idf!23281
2023-05-22 02:10:52 +08:00
Sudeep Mohanty
efe919275e Merge branch 'feature/add_support_for_lp_i2c' into 'master'
lp-i2c: Added support for LP I2C peripheral to LP core

Closes IDF-6833

See merge request espressif/esp-idf!22846
2023-05-19 23:35:11 +08:00
Jackson Ming Hu
896a07e5d6 w5500: rework version check to avoid a false alarm on fault detection
See: https://github.com/espressif/esp-idf/issues/11331
2023-05-19 15:33:22 +02:00
Jiang Jiang Jian
2a56f66e25 Merge branch 'feature/nan_ifx_support_for_api' into 'master'
Add NAN ifx support for API's

Closes WIFI-5719 and WIFI-5830

See merge request espressif/esp-idf!23512
2023-05-19 20:22:04 +08:00
Alexey Lapshin
af1334782c esp_gdbstub: fix bp and wp numbers 2023-05-19 20:15:58 +08:00
Alexey Lapshin
71cd5cb2a1 esp_gdbstub: fix build for USB serial/jtag protocol 2023-05-19 20:15:58 +08:00
Alexey Lapshin
6a54c25823 esp_gdbstub: add tests for riscv jump instructions decoding 2023-05-19 20:15:58 +08:00
Alexey Lapshin
9322c2b82d esp_gdbstup: implement runtime gdbstub for riscv 2023-05-19 20:15:58 +08:00
Alexey Lapshin
36588c4b35 riscv: remove outdated macros 2023-05-19 20:15:58 +08:00
Alexey Lapshin
a89b799642 riscv: fix trigger add from trap handlers 2023-05-19 20:15:58 +08:00
Alexey Lapshin
d41d12fe7a riscv: fix & refactor triggers add/delete 2023-05-19 20:15:58 +08:00
Wu Zheng Hui
9894697037 Merge branch 'bugfix/close_phy_tsens_before_sleep' into 'master'
sleep: fix deepsleep current leakage caused by phy_tsens

Closes WIFI-5608

See merge request espressif/esp-idf!23823
2023-05-19 19:17:22 +08:00
Adam Múdry
e5d0e3c676 Merge branch 'bugfix/sdmmc_driver_vtaskdelay_slowdown' into 'master'
sdmmc: incrementally increase delay of vTaskDelay

Closes IDF-7361

See merge request espressif/esp-idf!23765
2023-05-19 18:22:51 +08:00
Rahul Tank
59b7a4989f Merge branch 'bugfix/host_flw_ctrl' into 'master'
NimBLE: Fixed mismatch of number of completed packtes in host flow control

Closes BLEQABR23-113

See merge request espressif/esp-idf!23432
2023-05-19 17:33:39 +08:00
Harshit Malpani
af06168328 Merge branch 'contrib/pr_11147' into 'master'
Fix to allow streaming of PUT data in the HTTP_EVENT_HEADERS_SENT callback (GitHub PR)

Closes IDFGH-9813

See merge request espressif/esp-idf!23794
2023-05-19 17:14:43 +08:00
Jiang Jiang Jian
cd53393e0b Merge branch 'bugfix/mbo_ie_absent_prob_req' into 'master'
wpa_supplicant : Add MBO IE in probe request and fix issues with parsing GCMP ciphers in scan results.

See merge request espressif/esp-idf!23390
2023-05-19 16:58:12 +08:00
Jiang Jiang Jian
d888f54c1f Merge branch 'bugfix/fix_lp_bod_if_bt_i154_init_phy_before_wifi' into 'master'
fix(phy): fix lp_bod reset if bt/i154 init phy before wifi

See merge request espressif/esp-idf!23829
2023-05-19 16:24:47 +08:00
zhangwenxu
57925730b8 openthread: fix frame counter when re-transmition 2023-05-19 13:36:12 +08:00
Zim Kalinowski
0e5098e4a6 Merge branch 'feature/esp_log_master_option' into 'master'
log: Add master log option

Closes IDFGH-9721

See merge request espressif/esp-idf!23538
2023-05-19 13:29:40 +08:00
Sudeep Mohanty
ec742abb25 lp-i2c: Added support for LP I2C peripheral to LP core
This commit adds support for the LP I2C peripheral driver to be used by
the LP core. An example is also added to demonstrate the usage of the LP
I2C peripheral from the LP core.
2023-05-19 07:27:51 +02:00
C.S.M
224430f6b4 Merge branch 'bugfix/tempsensor_wifi_conflict' into 'master'
temperature_sensor: Fix issue that have conflict with phy

Closes IDF-5227, IDF-5992, IDF-5504, and IDF-6113

See merge request espressif/esp-idf!20210
2023-05-19 12:46:55 +08:00
Shyamal Khachane
063460a0d3 1. Support NAN ifx for API's esp_wifi_internal_set_fix_rate and esp_wifi_set_protocol
2. Remove user configurable flag fsd_reqd from NAN publish config
3. Fix issue wherein NDL of previously cancelled service is obtained in peer record of new service with no NDL
2023-05-19 10:07:57 +05:30
Chip Weinberger
3824eba04d
feat(httpd): add support for asynchronous request handling
This commit adds support for handling multiple requests simultaneously by introducing two new functions: `httpd_req_async_handler_begin()` and `httpd_req_async_handler_complete()`. These functions allow creating an asynchronous copy of a request that can be used on a separate thread and marking the asynchronous request as completed, respectively.

Additionally, a new flag `for_async_req` has been added to the `httpd_sess_t` struct to indicate if a socket is being used for an asynchronous request and should not be purged from the LRU cache.

An example have been added to demonstrate the usage of these new functions.

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

Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
2023-05-19 10:05:42 +05:30
jiangguangming
8c075ea61f spi_flash: remove unnecessary header includes in test_app 2023-05-19 11:28:50 +08:00
Jiang Jiang Jian
0501f87f33 Merge branch 'feature/use_api_to_enable_modem_on_esp32h2' into 'master'
ble: use modem_clock api to set clocks on ESP32-H2

See merge request espressif/esp-idf!23805
2023-05-19 11:01:15 +08:00
Shen Weilong
2900ed4858 ble docs: Update the ble docs for esp32c6 and esp32h2 2023-05-19 11:01:11 +08:00
Mahavir Jain
1747f2e0d1 Merge branch 'contrib/github_pr_11402' into 'master'
esp_ds: ignore releasing mutex if not called from same task (GitHub PR)

Closes IDFGH-10131

See merge request espressif/esp-idf!23763
2023-05-19 10:59:33 +08:00
liuning
5bfb5baecf fix(phy): fix lp_bod reset if bt/i154 init phy before wifi 2023-05-18 20:58:44 +08:00
Island
4f9f50cb4a Merge branch 'feature/esp32c2_enable_rf_temp_compensation' into 'master'
Feature/esp32c2 enable rf temp compensation

See merge request espressif/esp-idf!23728
2023-05-18 20:34:06 +08:00
Jeff H
628b633e50 log: Add master log option
Closes https://github.com/espressif/esp-idf/issues/11049
Closes https://github.com/espressif/esp-idf/pull/11057

Signed-off-by: KonstantinKondrashov <konstantin@espressif.com>

Result from an example in 11057:
When this option is not enabled:
1000 iterations took 10914 microseconds (10.9 microseconds per invocation)
1000 iterations took 10909 microseconds (10.9 microseconds per invocation)

When this option is enabled:
1000 iterations took 10960 microseconds (10.9 microseconds per invocation)
1000 iterations took 107 microseconds (0.1 microseconds per invocation)
2023-05-18 18:35:19 +08:00
wuzhenghui
f8b72615e5 bugfix: close phy_tsens before deepsleep 2023-05-18 16:38:48 +08:00
Konstantin Kondrashov
1d25057a24 Merge branch 'feature/iram_optimization_app_elf_sha256_2' into 'master'
esp_app_format: IRAM space optimization

Closes IDF-7131

See merge request espressif/esp-idf!23572
2023-05-18 15:29:31 +08:00
isha.pardikar@espressif.com
aceaa87ea0 NimBLE: Fixed mismatch of number of completed packtes in host flow control 2023-05-18 12:56:47 +05:30
Wu Zheng Hui
fa6a743f67 Merge branch 'bugfix/move_adc_onshot_power_management_to_shot_read_func' into 'master'
bugfix: Switch the adc power mode when in use to save power

Closes IDFGH-9205

See merge request espressif/esp-idf!23575
2023-05-18 15:05:32 +08:00
Cao Sen Miao
faa10947a8 temperature_sensor: Apply new-shared interface in temperature sensor driver 2023-05-18 15:00:36 +08:00
David Čermák
f21505da46 Merge branch 'bugfix/linux_freertos_select_wrap' into 'master'
freertos/linux: Fix use after scope exit in select() wrap

See merge request espressif/esp-idf!23755
2023-05-18 13:16:47 +08:00
C.S.M
a754efc548 Merge branch 'flash/add_new_module_sony' into 'master'
spi_flash: Add GD25LQ255E flash support (sony one 📷)

Closes IDF-7378

See merge request espressif/esp-idf!23723
2023-05-18 11:48:19 +08:00
Adam Múdry
f13c9f746f sdmmc: incrementally increase delay of vTaskDelay
Prevents unnecessary slowdown in polling functions
2023-05-18 05:33:25 +02:00
Zhang Wen Xu
8c5a395483 Merge branch 'bugfix/fix_typo_set_channel' into 'master'
ieee802154: fix a typo in set_channel API

See merge request espressif/esp-idf!23760
2023-05-18 10:36:47 +08:00
wuzhenghui
d197c59eaa bugfix: move adc_oneshot_power_acquire/release to adc_oneshot_read
Closes https://github.com/espressif/esp-idf/issues/10595
Closes https://github.com/espressif/esp-idf/issues/11386
2023-05-18 10:29:50 +08:00
KonstantinKondrashov
b605404b06 esp_app_format: IRAM space optimization 2023-05-17 23:40:59 +08:00
Shen Weilong
c7f357523a ble: use modem_clock api to set clock on ESP32-C6 2023-05-17 20:02:21 +08:00
Cao Sen Miao
1ec55b7d1a spi_flash: Add GD25LQ255E flash support 2023-05-17 18:28:57 +08:00
Cao Sen Miao
e304db558b temperature_sensor: Add new interface and reference counts so that phy and driver can use together 2023-05-17 17:40:59 +08:00
Kenneth Furge
90be9cc3e8
Set state to HTTP_STATE_REQ_COMPLETE_HEADER prior to calling the
HTTP_EVENT_HEADERS_SENT callback to allow streaming of PUT data
in the callback.
2023-05-17 14:06:51 +05:30
Lu Ai Jun
d7a141f3ea Merge branch 'bugfix/update_test_dl_esp_cert' into 'master'
tests: update Root certificate for the test endpoints

Closes IDFCI-1710

See merge request espressif/esp-idf!23770
2023-05-17 14:18:44 +08:00
Shu Chen
dc848707db ieee802154: fix a typo in set_channel API 2023-05-17 14:11:34 +08:00
chenjianhua
9c8958d73b esp_hid: fixed ble hid battery level setting 2023-05-17 12:18:56 +08:00
Jiang Jiang Jian
5838c2ec66 Merge branch 'bugfix/fix_iphone_disconnects_immediately_after_connecting_when_BLE_wifi_coexist' into 'master'
Fix the  iPhone disconnects immediately after connecting when BLE and wifi coexist

See merge request espressif/esp-idf!23656
2023-05-17 11:28:23 +08:00
cjin
41ea20908b BLE: update ble lib
Added version support for esp32c6 eco1
2023-05-16 19:18:53 +08:00
cjin
1952a26d5e ble:add version num support for esp32c6 chip 2023-05-16 19:18:53 +08:00
Mahavir Jain
2688dfe982
tests: update Root certificate for the test endpoints
Use Root certificate (`DigiCert Global Root G2`) for the
`dl.espressif.com` and `espressif.com` test endpoints.

This fixes the test failure introduced due to renewal of
the intermediate certificate.
2023-05-16 15:56:29 +05:30
Rahul Tank
134d87848b Merge branch 'bugfix/add_debug_print_for_event' into 'master'
Nimble: Add debug code to print HCI events information

See merge request espressif/esp-idf!23712
2023-05-16 17:43:53 +08:00
Zhang Xiao Yan
81558fb77d Merge branch 'docs/update_algorithm_and_key_from_aes-xts_to_xts-aes' into 'master'
docs: update the algorithm and key name from AES-XTS to XTS-AES

See merge request espressif/esp-idf!23742
2023-05-16 17:39:58 +08:00
zwl
69571dfebf ble:fixed build error when disable smp 2023-05-16 16:07:01 +08:00
zwl
9b50d4e2ef ble:esp32c2 add rf temperature compensation 2023-05-16 16:07:01 +08:00
Armando (Dou Yiwen)
e3fea3ad71 Merge branch 'feature/support_32MB_psram_s3' into 'master'
psram: supported 32MB psram on esp32s3

Closes IDF-7365

See merge request espressif/esp-idf!23753
2023-05-16 16:03:17 +08:00
Jiang Jiang Jian
31f34b95cf Merge branch 'bugfix/nvs_softap_pmk' into 'master'
esp_wifi: fix softap nvs <ssid,password,pmk> not match issue

Closes FCS-1196

See merge request espressif/esp-idf!23619
2023-05-16 15:59:43 +08:00
Zim Kalinowski
bdeeae7a52 Merge branch 'bugfix/remove-bootloader-random-line' into 'master'
bootloader: bootloader_random line

Closes IDF-4498

See merge request espressif/esp-idf!23325
2023-05-16 15:25:04 +08:00
Zim Kalinowski
dc7ff8676c Merge branch 'feature/libunwind_backtracing' into 'master'
System: implement libunwind library for RISC-V backtracing

Closes IDFGH-6189

See merge request espressif/esp-idf!18147
2023-05-16 14:19:16 +08:00
C.S.M
50b4d5c6be Merge branch 'ci/move_timer_into_unity' into 'master'
spi_flash: migrate spi_flash UT to pytest component test app

Closes IDF-6730

See merge request espressif/esp-idf!19709
2023-05-16 14:09:25 +08:00
Song Ruo Jing
a9c78245a0 clk: Add warning log if RC_FAST clock calibration is needed on esp32h2 2023-05-16 03:52:11 +00:00
Justin Ong
a18d7e24d6 Fix initialization macros for twai_timing_config_t not setting .clk_src and .brp 2023-05-16 10:34:24 +08:00
Marius Vikhammer
0036e555e9 Merge branch 'contrib/github_pr_11388' into 'master'
Update esp_cpu.h to include esp_attr.h (GitHub PR)

Closes IDFGH-10113

See merge request espressif/esp-idf!23711
2023-05-16 09:20:07 +08:00
Zim Kalinowski
e9405e42ab bootloader: bootloader_random line 2023-05-15 22:06:47 +02:00
Christoph Baechler
704dfc9185 esp_ds: ignore releasing mutex if not called from same task 2023-05-15 15:02:38 +02:00
Linda
65ee4992ce docs: update the algorithm and key name from AES-XTS to XTS-AES 2023-05-15 17:54:50 +08:00
Zim Kalinowski
bd1ac6a566 Merge branch 'feature/adds_esp_bootloader_desc_t' into 'master'
esp_bootloader_format: Adds bootloader description structure to read bootloader version from app

Closes IDFGH-7206 and IDFGH-7573

See merge request espressif/esp-idf!21592
2023-05-15 17:54:43 +08:00
Martin Vychodil
61e694d2f3 Merge branch 'fix/cd_input_sd_mode_fails' into 'master'
CI: sdcard tests fail fix

Closes IDFCI-1700

See merge request espressif/esp-idf!23505
2023-05-15 17:37:29 +08:00
David Cermak
a41d360842 freertos/linux: Fix use after scope exit in select() wrap 2023-05-15 10:28:54 +02:00
Armando
e495d41de8 psram: supported 32MB psram on ESP32S3 2023-05-15 15:36:43 +08:00
Cao Sen Miao
36aace3f47 spi_flash: Move most tests in unit-test to pytest 2023-05-15 14:58:51 +08:00
Cao Sen Miao
0f83970368 ci: Delete ccomp_timer in IDF(witch has been moved to component manager) 2023-05-15 14:58:51 +08:00
Alexey Lapshin
2327c5cd00 Merge branch 'feature/remove_coredump_tests' into 'master'
coredump: remove tests (moved to esp-coredump repo)

See merge request espressif/esp-idf!22858
2023-05-15 12:31:42 +08:00
Omar Chebib
eeaa40f71d System: implement libunwind library for RISC-V backtracing
Closes https://github.com/espressif/esp-idf/issues/7866

A minimal x86 implementation has also been added, it is used to perform a host test.
2023-05-15 11:19:03 +08:00
Shu Chen
bb12cdaa08 Merge branch 'openthread/default_dnsserver_address' into 'master'
openthread: Add menuconfig to set the default dns server address

See merge request espressif/esp-idf!23581
2023-05-15 10:33:14 +08:00
Marius Vikhammer
a0be5e9ebf Merge branch 'bugfix/c2_wdt_reset_reason' into 'master'
wdt: fix IWDT reset reason for esp32c2

Closes IDF-3843 and IDF-5059

See merge request espressif/esp-idf!23722
2023-05-15 10:17:47 +08:00
Jiang Jiang Jian
8fe688c4f8 Merge branch 'bugfix/fix_multicast_example_map_wrong_address_issue' into 'master'
netdb:fix multicast address map wrong dns address issue

Closes IDFGH-8200

See merge request espressif/esp-idf!23565
2023-05-12 22:32:39 +08:00
Marius Vikhammer
2272509978 ci: re-enable reset reason tests for all targets except H2. 2023-05-12 19:00:27 +08:00
Marius Vikhammer
9eadb6b12a esp-system: fixed int WDT reset reason being reported as task WDT on C2 2023-05-12 18:32:24 +08:00
Armando (Dou Yiwen)
ca2624e0eb Merge branch 'feature/sdmmc_host_timing_tuning' into 'master'
sdmmc: supported host timing tuning on esp32s3

Closes IDF-7240 and IDF-7250

See merge request espressif/esp-idf!23257
2023-05-12 18:00:41 +08:00
Rahul Tank
713e4391f8 Nimble: Add debug code to print HCI events information 2023-05-12 15:17:53 +05:30
Ondrej Kosta
a76eab4d39 Merge branch 'bugfix/emac_structs_cpp_build' into 'master'
fixed emac soc structs names to be able to build under C++

Closes IDFGH-10003

See merge request espressif/esp-idf!23658
2023-05-12 16:38:12 +08:00
movsb
2ff12460dd fix(c++): invalid conversion from int to enumeration 2023-05-12 15:08:53 +08:00
Rahul Tank
f4f8d4eaa2 Merge branch 'bugfix/fix_compilation_error_optimization' into 'master'
Nimble: Fix compilation issues seen while enabling -O2 optimization

Closes IDFGH-10023

See merge request espressif/esp-idf!23590
2023-05-12 15:05:22 +08:00
Roshan Bangar
03cad657f3 Merge branch 'bugfix/macro_changes_in_nimble-1.5' into 'master'
NimBLE : Update macro name changes in nimble-1.5

See merge request espressif/esp-idf!23682
2023-05-12 15:01:26 +08:00
C.S.M
12190809f9 Merge branch 'feature/flash_suspend_support' into 'master'
spi_flash: One more step for supporting flash suspend. 1. Support more esp chips 2. Improve real-time performance 3. Make timing more stable

See merge request espressif/esp-idf!22755
2023-05-12 14:16:11 +08:00
morris
a7d79456e2 Merge branch 'bugfix/mcpwm_bldc_example' into 'master'
mcpwm: test generator force level with dead time module

See merge request espressif/esp-idf!23649
2023-05-12 12:11:17 +08:00
Michael (XIAO Xufeng)
e20a57d42e Merge branch 'Bugfix/fix_tsen_issue' into 'master'
Temperature sensor: fix return value issue @low temp on H2

See merge request espressif/esp-idf!23648
2023-05-12 11:55:47 +08:00
xueyunfei
b1a07a0a8c netdb:fixed bug for getaddrinfo returns null when IPV4 mapped address
Closes https://github.com/espressif/esp-idf/issues/9693
2023-05-12 03:07:14 +00:00
Jakob Hasse
c291b6a58c Merge branch 'bugfix/use_safe_noreturn_attr' into 'master'
compiler: replaced noreturn by __noreturn__ in header files

Closes IDFGH-10064

See merge request espressif/esp-idf!23688
2023-05-12 10:48:00 +08:00
Magnus Sörensen
004d55a5ed
Update esp_cpu.h
If esp_attr.h is not included then there are no definitions for the symbol 'FORCE_INLINE_ATTR'.
2023-05-11 21:23:57 +02:00
Armando
01a3d79b6f sdmmc: support tuning input delay on esp32s3 2023-05-11 12:25:22 +00:00
Armando
e7fcfa43e9 sdmmc: use clk_tree api inside 2023-05-11 12:25:22 +00:00
Cao Sen Miao
5bd535e9e0 spi_flash: Add strict test for flash suspend 2023-05-11 20:12:41 +08:00
Cao Sen Miao
ed96dadd06 spi_flash: 2nd stage for supporting flash suspend. (1). Support more esp chips (2). Improve real-time performance (3). Making timing more stable (4) Add documents 2023-05-11 20:10:30 +08:00
chenjianxing
786b1642e6 esp_wifi: fix softap nvs <ssid,password,pmk> not match issue
Closes FCS-1196
2023-05-11 17:11:39 +08:00
Darian
6281606986 Merge branch 'feature/freertos_add_v10.5.1_files' into 'master'
FreeRTOS: Add v10.5.1 upstream files

See merge request espressif/esp-idf!23502
2023-05-11 16:14:50 +08:00
Jakob Hasse
c8791f30c0 compiler: replaced noreturn by __noreturn__ in header files
* noreturn may be replaced by third-party macros,
  rendering it ineffective

* Closes https://github.com/espressif/esp-idf/issues/11339
2023-05-11 16:07:45 +08:00
Ondrej Kosta
621d5ef724 fixed emac soc structs names to be able to build under C++
Closes https://github.com/espressif/esp-idf/pull/11283
2023-05-11 08:50:49 +02:00
Alexey Lapshin
0b078f5cd3 coredump: remove tests (moved to esp-coredump repo) 2023-05-11 12:13:52 +08:00
Armando (Dou Yiwen)
476e50b026 Merge branch 'bugfix/fix_mspi_octal_psram_timing_tuning_point_fallback_id' into 'master'
mspi: modified 80mhz octal psram timing tuning point fallback id on s3

See merge request espressif/esp-idf!23627
2023-05-11 11:11:51 +08:00
Marius Vikhammer
d40145d2ff Merge branch 'bugfix/newlib_test_misc_fix' into 'master'
ci: misc fixes for newlib test app

Closes IDF-6962 and IDF-6964

See merge request espressif/esp-idf!23640
2023-05-11 09:20:29 +08:00
Adam Múdry
fa16ed3898 CI: sdcard tests fail fix 2023-05-10 16:48:03 +02:00
KonstantinKondrashov
69838403f9 esp_bootloader_format: Adds bootloader description structure to read bootloader version from app
Closes https://github.com/espressif/esp-idf/issues/8800
Closes https://github.com/espressif/esp-idf/issues/9132
2023-05-10 21:39:52 +08:00
Zhi Wei Jian
c0ab96b65d Merge branch 'bugfix/fix_some_bluedroid_bugs' into 'master'
Fixed some bluedroid bugs

See merge request espressif/esp-idf!23616
2023-05-10 20:44:15 +08:00
zhiweijian
d565a7825d Fix the bug that the iPhone disconnects immediately after connecting when BLE and wifi coexist 2023-05-10 20:15:10 +08:00
Alexey Lapshin
e634137a03 Merge branch 'feature/libstd++-use-posix-pthread' into 'master'
tools: enable libstd++ to use idf posix-semaphores

Closes GCC-305 and IDFGH-9209

See merge request espressif/esp-idf!23588
2023-05-10 20:06:16 +08:00
wuyuanyi135
97c44ee95d
Fix incorrect invocation of the hook LWIP_HOOK_DHCPS_POST_APPEND_OPTS
Fix https://github.com/espressif/esp-idf/issues/11373
2023-05-10 19:52:40 +08:00
morris
5680d28b0e mcpwm: fix bldc example force output level inverted
set_force_level can only set the generator level before the deadtime module.
if the deadtime module enables the inverter, then the real output level is inverted accordingly
2023-05-10 19:17:21 +08:00
morris
6a7f730c77 Merge branch 'feature/efuse_settings' into 'master'
hal: Explicit setting of efuse time settings

See merge request espressif/esp-idf!23533
2023-05-10 19:11:01 +08:00
Roshan Bangar
f0fa24c176 NimBLE : Update macro name changes in nimble-1.5 2023-05-10 16:02:07 +05:30
Darian Leung
d044e63b39 freertos(IDF): Update kernel version tag of V10.5.1 source files
This commit updates the kernel version tags of all V10.5.1 source files to
indicate that the source files are modified.
2023-05-10 16:58:57 +08:00