Commit Graph

20374 Commits

Author SHA1 Message Date
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
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
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
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