Commit Graph

20328 Commits

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