Commit Graph

26443 Commits

Author SHA1 Message Date
Marius Vikhammer
609b44dc5d Merge branch 'fix/rtc_pmp_alignment_c5' into 'master'
fix(pmp): fixed alignment of PMP addr for RTC mem on C5

Closes IDF-10336

See merge request espressif/esp-idf!31900
2024-07-05 07:59:46 +08:00
Roman Leonov
11e780ca20 Merge branch 'fix/usb_host_addr_map_and_hub_uid' into 'master'
fix(usb_host): Increased address map for clients and changed the uid member type

See merge request espressif/esp-idf!31887
2024-07-05 00:47:36 +08:00
Island
759a847ba8 Merge branch 'docs/optimized_ble_controller_api_references_esp32' into 'master'
docs(ble): Revised the esp32 controller API explanations

See merge request espressif/esp-idf!31529
2024-07-04 20:54:26 +08:00
Erhan Kurubas
ee01c2c524 fix(coredump): fix array out of the bounds error
Closes https://github.com/espressif/esp-idf/issues/14117
2024-07-04 14:44:19 +02:00
C.S.M
9de3e737cf feat(spiram): Add spiram support on esp32c5 2024-07-04 19:29:04 +08:00
nilesh.kale
b839bf95aa feat: Uncomment UART bootloader cache code in FE for ESP32C5 2024-07-04 16:27:32 +05:30
aditi_lonkar
4125c56007 fix(wifi):Fix for setting wps status fail when connection fails 2024-07-04 16:01:41 +05:30
zwl
bafb4d323e fix(ble): fixed some ble issues on ESP32C5 2024-07-04 18:29:12 +08:00
zwl
747d338cfe fix(ble): fixed some ble controller issues on ESP32C6 and ESP32H2 2024-07-04 18:29:12 +08:00
zwl
114dc82ad2 fix(ble): fixed some ble controller issues on ESP32-C2 2024-07-04 18:29:12 +08:00
Chen Jichang
70835b307b ci(mcpwm): re-enable mcpwm test on c5 2024-07-04 17:40:48 +08:00
Jakob Hasse
7ccddb8cc2 Merge branch 'fix/c6_bootloader_rng_enable' into 'master'
fix(bootloader_support): Fixed pattern in RNG enable function to avoid output on IO0

Closes IDF-10011

See merge request espressif/esp-idf!31697
2024-07-04 17:26:32 +08:00
David Cermak
17a635b23b fix(esp_netif): Add unit test of getter/setter API for DNS servers 2024-07-04 10:37:57 +02:00
David Cermak
6acdb384f6 fix(esp_netif): Restore DNS servers per netif when setting it default
Introducing config option `CONFIG_ESP_NETIF_SET_DNS_PER_DEFAULT_NETIF`
to overcome LWIP limitation of using global DNS server info.
This config option enables LWIP callbacks to collect per netif DNS
server info and then restores global DNS servers of whichever network
interface is selected as default.

LWIP submodule update: git log --oneline aa4f6e78..3a3d1fb3
- dns: Allow storing dnsserver per netif (espressif/esp-lwip@3a3d1fb3)
2024-07-04 10:37:22 +02:00
Marius Vikhammer
41d39a419f fix(pmp): fixed alignment of PMP addr for RTC mem on C5
Also refactored it for C6/H2/C61 to keep the approach consistent between targets
2024-07-04 16:24:46 +08:00
nilesh.kale
a87636cca7 feat: enable ecc support in esp32c61
This commit enable ecc peripheral support in ESP32C61
It also corrects power up sequence for ecc peripheral.
2024-07-04 13:37:16 +05:30
Liu Xiao Yu
f889ba1b2f Merge branch 'change/rm_rom_hdr_exceptions' into 'master'
change(esp_rom): RM esp_rom header files from check_public_headers_exceptions.txt

Closes IDF-5747

See merge request espressif/esp-idf!31868
2024-07-04 15:03:13 +08:00
David Čermák
ce4313a569 Merge branch 'fix/netif_ppp_ip6_autoconfig' into 'master'
fix(esp_netif): Fix missing IPv6 autoconfig for PPP netifs

Closes IDFGH-12730

See merge request espressif/esp-idf!31330
2024-07-04 14:14:52 +08:00
luoxu
62e8043ab3 fix(ble_mesh): ensure the operation of adv busy is thread-safe 2024-07-04 12:12:26 +08:00
luoxu
63120f0208 feat(ble_mesh): add cas operation for bt_mesh_atomic_val_t 2024-07-04 12:12:26 +08:00
Jiang Jiang Jian
7696f0f9b2 Merge branch 'bugfix/fix_esp32_host_lack_of_lmac_api_issue' into 'master'
fix(wifi): fix esp32 host lack of lmac api issue

See merge request espressif/esp-idf!31892
2024-07-04 11:35:53 +08:00
C.S.M
c59403147c Merge branch 'bugfix/usj_fifo_8_32_read' into 'master'
fix(usb_serial_jtag): Fix issue that use u32_reg read/write cannot be used to modify fifo regs

See merge request espressif/esp-idf!31879
2024-07-04 11:02:33 +08:00
Jakob Hasse
bb39360a6d fix(bootloader_support): Fixed pattern in RNG enable function on C6 to avoid output on IO0 2024-07-03 16:55:33 +02:00
muhaidong
24ea779fda fix(wifi): fix esp32 host lack of lmac api issue 2024-07-03 19:59:32 +08:00
Yuhan Wei
406f341eb1 docs(ble): Added typeof for BLE sleep clock accuracy enum 2024-07-03 18:53:07 +08:00
morris
36ee689125 Merge branch 'ci/re-enable_spi_lcd_test_on_p4' into 'master'
Ci(spi_lcd): re-enable spi lcd test on p4

Closes IDF-8975

See merge request espressif/esp-idf!31824
2024-07-03 18:32:21 +08:00
Espressif BOT
62a22f4c89
change(mbedtls/crt_bundle): Update esp_crt_bundle certificates 2024-07-03 16:01:50 +05:30
wuzhenghui
aa1ff4e167
fix(esp_system): fix stuck in bootloader_random_enable after lightsleep 2024-07-03 18:03:06 +08:00
Rahul Tank
065c0319dd Merge branch 'bugfix/ble_gap_pairing_complete' into 'master'
fix(nimble): Fix the sequence of pairing complete event

See merge request espressif/esp-idf!31630
2024-07-03 17:04:32 +08:00
Roman Leonov
eceb27a835 fix(usb_host): Changed addr_map to 4x array of uint32 2024-07-03 11:01:17 +02:00
liqigan
d0878af614 fix(bt/controller): Fixed not report HCI_Disconnection_Complete event 2024-07-03 16:52:18 +08:00
Roman Leonov
1526b80e08 fix(hub): Changed type of next_uid member (uint8_t -> unsigned int) 2024-07-03 10:43:08 +02:00
Rahul Tank
1d2e714a31 Merge branch 'bugfix/low_buf_count_print' into 'master'
fix(nimble): Added debug print to check for skipped adv report

Closes BLERP-836

See merge request espressif/esp-idf!31804
2024-07-03 16:42:44 +08:00
Yuhan Wei
257926cae9 docs(ble): Added a name for BLE sleep clock accuracy enum 2024-07-03 15:19:51 +08:00
Yuhan Wei
b96e9cd5b5 docs(ble): Removed periods for incomplete sentences 2024-07-03 15:19:51 +08:00
Wang Ning
85e172f0b9 Apply 8 suggestion(s) to 1 file(s)
Co-authored-by: Wang Ning <wangning@espressif.com>
2024-07-03 15:19:51 +08:00
Yuhan Wei
f33de4dece docs(ble): Add the parameter name data in esp_vhci_host_send_packet 2024-07-03 15:19:51 +08:00
Wang Ning
181d1de219 Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Wang Ning <wangning@espressif.com>
2024-07-03 15:19:51 +08:00
Yuhan Wei
78b59e6b6b docs(ble): Add the explanations to controller parameters configurable in menuconfig 2024-07-03 15:19:51 +08:00
Wang Ning
01c45476fb Apply 35 suggestion(s) to 1 file(s)
Co-authored-by: Wang Ning <wangning@espressif.com>
2024-07-03 15:19:51 +08:00
Yuhan Wei
d8428420cf docs(ble): Removed note in esp_bt_controller_config_t 2024-07-03 15:19:51 +08:00
Yuhan Wei
4706c474dc docs(ble): Replaced BT with Bluetooth 2024-07-03 15:19:51 +08:00
Yuhan Wei
b305571a12 docs(ble): Removed unnecessary explanations 2024-07-03 15:19:51 +08:00
Yuhan Wei
371f080046 docs(ble): Added corresponding values to the controller mode 2024-07-03 15:19:51 +08:00
Yuhan Wei
f9b1789ae8 docs(ble): Fixed the explanation of TX power type 2024-07-03 15:19:51 +08:00
Yuhan Wei
2e814bdd2b docs(ble): Revised the esp32 controller API explanations 2024-07-03 15:19:51 +08:00
C.S.M
8b2350ce1c fix(usb_serial_jtag): Fix issue that use u32_reg read/write cannot be used to modify fifo regs 2024-07-03 15:15:46 +08:00
zwx
64aa5db0cd fix(esp_netif): netif should return only valid addr 2024-07-03 15:07:18 +08:00
Tomas Rezucha
15c4d0e076 Merge branch 'fix/usb_isoc_error_status' into 'master'
fix(usb/host): Decode error flags in ISOC transfers

Closes IDF-7976

See merge request espressif/esp-idf!31873
2024-07-03 15:02:14 +08:00
Zhang Shu Xian
85bba8996b Merge branch 'docs/update_cn_trans_for_4_files' into 'master'
docs: Update CN trans for 4 files

Closes DOC-8020

See merge request espressif/esp-idf!31436
2024-07-03 14:55:03 +08:00
Mahavir Jain
a34fa9dc90 Merge branch 'feature/key_manager_hal_tests' into 'master'
Feature: Add crypto test app for Key Manager

See merge request espressif/esp-idf!29833
2024-07-03 14:02:33 +08:00
nilesh.kale
469942225b fix(hal): updated naming style for power up and down api for mpi peripheral
This commit updated APIs' naming style to ensure consistency throughout
all other peripherals.
2024-07-03 10:49:20 +05:30
nilesh.kale
96d011cdfc fix(hal): updated ecdsa reset api to execute correctly
This commit updated API to ensure ECDSA peripheral resets
and waits until the state returns to idle.
2024-07-03 10:48:36 +05:30
Mahavir Jain
b40c18be89
fix(mbedtls): correct help text for few config options
Closes https://github.com/espressif/esp-idf/issues/14126
2024-07-03 09:51:28 +05:30
Kevin (Lao Kaiyao)
638f5042d1 Merge branch 'ci/enable_c5_target_test' into 'master'
ci(esp32c5): enable c5 target test

See merge request espressif/esp-idf!31776
2024-07-03 12:01:24 +08:00
Chen Ji Chang
af9d107f24 Merge branch 'feat/add_cs_timing_parameters_in_spi_lcd' into 'master'
feat(spi_lcd): add spi cs timing parameters

Closes IDFGH-12003

See merge request espressif/esp-idf!31836
2024-07-03 11:35:00 +08:00
Chen Jichang
f0e8b606b7 fix(spi_master): change MOSI pin default idle level to low 2024-07-03 11:12:44 +08:00
Chen Jichang
cb771eaf1b ci(spi_lcd): re-enable spi_lcd test on p4 2024-07-03 11:12:44 +08:00
Xiaoyu Liu
bdfdca24f3 change(esp_rom): RM esp_rom header files from check_public_headers_exceptions.txt
replace endian with stdint
2024-07-03 11:05:15 +08:00
Zhang Shuxian
08eecfee22 docs: Implement comments 2024-07-03 10:23:23 +08:00
Tomas Rezucha
04be071dc6 fix(usb/host): Decode error flags in ISOC transfers 2024-07-02 15:08:30 +02:00
Jiang Guang Ming
6cfd5967e0 Merge branch 'fix/esp_rom_cmakelists_cleanup' into 'master'
fix(esp_rom): cleanup esp_rom CMakeList.txt

See merge request espressif/esp-idf!31756
2024-07-02 17:16:25 +08:00
Wan Lei
1bf898611f Merge branch 'contrib/github_pr_13856' into 'master'
fix(spi_master): spi_bus_free() fail but destruct common context (GitHub PR)

Closes IDFGH-12895

See merge request espressif/esp-idf!31084
2024-07-02 17:12:31 +08:00
Jiang Jiang Jian
b793ffe71d Merge branch 'bugfix/wrong_ic_parameters_in_connect' into 'master'
fix(wifi): Fix issue of supplicant using wrong parameters to configure bss while connecting

Closes WIFIBUG-455

See merge request espressif/esp-idf!31049
2024-07-02 17:09:07 +08:00
laokaiyao
cb22b8aaf7 ci(esp32c5): enable c5 target test 2024-07-02 16:45:49 +08:00
Gao Xu
e843a38014 Merge branch 'feature/esp32c5_mp_rtcio_support' into 'master'
feat(rtcio): support RTCIO on ESP32C5 MP

Closes IDF-8719

See merge request espressif/esp-idf!31371
2024-07-02 15:30:42 +08:00
Marius Vikhammer
15b05d59c3 Merge branch 'contrib/github_pr_14084' into 'master'
remove TLS pointer/deletion callback from correct thread (GitHub PR)

Closes IDFGH-13144

See merge request espressif/esp-idf!31766
2024-07-02 13:31:52 +08:00
Chen Jichang
8d0990806c feat(spi_lcd): add spi cs timing parameters
Some lcd hardware drivers need different CS setup time. Add pretrans
and posttrans parameters to control the CS time.

Closes https://github.com/espressif/esp-idf/issues/13071
2024-07-02 10:55:34 +08:00
Sarvesh Bodakhe
ac508b5778 fix(wifi): Fix issue of supplicant using wrong parameters to configure bss
- Ensure that wpa_supplicant's state machine registers the requirement for rsnxe
  before deciding to add rsnxe to a assoc request.

Co-authored-by: jgujarathi <jash.gujarathi@espressif.com>
2024-07-01 15:32:45 +05:30
Mahavir Jain
56a84c2a7a Merge branch 'feature/enabling_config_for_dpa_protection' into 'master'
feat: enable DPA protection for c5

See merge request espressif/esp-idf!31758
2024-07-01 17:15:16 +08:00
Jakob Hasse
c5e6e9d29e Merge branch 'refactor/linux_remove_unused_watchpoint_config' into 'master'
refactor(linux): remove explicit watchpoint configs

Closes IDF-9951

See merge request espressif/esp-idf!31805
2024-07-01 16:55:01 +08:00
Liu Xiao Yu
eefe001877 Merge branch 'change/adjust_esp_rom_header_layout_v2' into 'master'
change(esp_rom): optimize header files layout in components/esp_rom

See merge request espressif/esp-idf!31590
2024-07-01 16:24:56 +08:00
Guillaume Souchere
9bae186123 Merge branch 'fix/usb-serial-jtag-hangs-on-init' into 'master'
fix(console): USB Serial JTAG freezes when input received before the driver is installed

Closes IDFGH-12989

See merge request espressif/esp-idf!31553
2024-07-01 15:24:26 +08:00
Abhinav Kudnar
62ef4515c7 fix(nimble): Fix the sequence of pairing complete event 2024-07-01 12:43:37 +05:30
Marius Vikhammer
101161980f Merge branch 'bugfix/fix_c5_rom_caps' into 'master'
fix(heap): add heap related rom caps for C5

See merge request espressif/esp-idf!31809
2024-07-01 14:10:25 +08:00
Mahavir Jain
850dbe8542 Merge branch 'bugfix/chip_support_cleanup' into 'master'
minor cleanups related to HAL and security docs for C2/C6

See merge request espressif/esp-idf!31803
2024-07-01 13:13:34 +08:00
morris
3cdbe8cef8 Merge branch 'test/pcnt_step_notify' into 'master'
feat(pcnt): support for pcnt step_notify

Closes IDF-7984, IDFGH-8104, and IDFGH-10943

See merge request espressif/esp-idf!31466
2024-07-01 10:44:19 +08:00
Marius Vikhammer
342c9ef2bd fix(heap): add heap related rom caps for C5 2024-07-01 09:37:17 +08:00
Michael (XIAO Xufeng)
fded5b0ce3 fix(sdmmc_io): fixed fixed_addr mode will still increase addr when splitting 2024-06-29 02:30:20 +08:00
Jakob Hasse
7377b103b7 refactor(linux): remove explicit watchpoint configs
* These where necessary before to avoid enabling the
  watchpoint feature on Linux. Due to a recent change,
  these configurations became obsolete.
2024-06-28 18:01:37 +02:00
gaoxu
0d35631ec1 feat(rtcio): support RTCIO on ESP32C5 2024-06-28 22:01:55 +08:00
Rodrigo Silva
48295d31ca change: bump max sockets in lwip Kconfig
Tested under ESP32S3, running 50 tasks, each with a client, and a server
listening to one client, totalizing 150 sockets/files open, forwarding
data from PPP to Ethernet and vice versa.
Reasoning for 255 total sockets/files is VFS local_fd_t being a uint8_t.
Since FD_SETSIZE is defined at tool level, a CMakeLists user definition
is needed in cases above 64 (the default value).

Merges https://github.com/espressif/esp-idf/pull/13866
2024-06-28 21:19:47 +08:00
Aditya Patwardhan
79b21fb624
feat(hal): Add crypto tests for key manager
Added test to verify exporting of ECDSA public key
    Added test to verify XTS_AES in random mode
    Added pytest test case for testing ECDH0 mode for XTS_128 and XTS_256 key
    Add test for ECDSA key in ECDH0 mode
    Update the key manager hal based tests
    Update key manager tests to add ECDH0 workflow
2024-06-28 18:41:01 +05:30
Aditya Patwardhan
e5fcc2d315
fix(hal): Fixed crypto test app
Previously the crypto test app was not verifying
    that the no of failures is 0.
    Added the check to verify that
2024-06-28 18:41:01 +05:30
Rahul Tank
3cfc7b1ec9 fix(nimble): Added debug print to check for skipped adv report 2024-06-28 18:35:12 +05:30
Rahul Tank
b1c8757b9f Merge branch 'bugfix/set_correct_cb_arg' into 'master'
fix(nimble): Pass the correct cb arg during reconnection attempt

Closes IDFCI-2207

See merge request espressif/esp-idf!31629
2024-06-28 20:52:41 +08:00
David Čermák
06c685fc96 Merge branch 'fix/lwip_eth_deps' into 'master'
fix(lwip): Cleanup lwip -> Ethernet dependencies

See merge request espressif/esp-idf!31649
2024-06-28 19:08:47 +08:00
Marius Vikhammer
5d292f73d0 Merge branch 'ci/enable_misc_c5_build_tests' into 'master'
test(misc): enable misc tests that have been missed during bringup

Closes IDF-8972

See merge request espressif/esp-idf!31785
2024-06-28 18:28:50 +08:00
Mahavir Jain
513c202db9
fix(hal): remove AES LL layer for ESP32-C2 (not supported) 2024-06-28 15:56:05 +05:30
morris
f03763577a Merge branch 'bugfix/rmt_memory_power_up' into 'master'
fix(rmt): power up memory block

Closes IDF-8726

See merge request espressif/esp-idf!31650
2024-06-28 17:52:01 +08:00
morris
136a07d457 Merge branch 'fix/workaround_rmt_static_analyzer_issue' into 'master'
fix(rmt): fix gcc static analyzer warnings

Closes IDF-10235

See merge request espressif/esp-idf!31725
2024-06-28 15:40:56 +08:00
nilesh.kale
1eaa8288a2 feat: enable DPA protection for c5
This commit enabled DPA protection for ESP32C5.
This reflect updating documentation for C5.
2024-06-28 11:38:51 +05:30
Marius Vikhammer
fd18bb608b test(misc): enable misc tests that have been missed during bringup 2024-06-28 13:24:28 +08:00
Chen Jichang
03e936041d refactor(pcnt): refactor the default isr 2024-06-28 12:12:50 +08:00
morris
722ce211af
fix(rmt): power up memory block 2024-06-28 10:58:04 +08:00
Marius Vikhammer
2ba6f989b7 fix(wdt): bringup WDTs for CP MP 2024-06-28 09:51:57 +08:00
Wu Zheng Hui
9e16b45dac Merge branch 'fix/wait_efuse_idle_after_wake' into 'master'
fix(esp_hw_support): wait eFuse controller idle after sleep wakeup

Closes IDFCI-2227, IDFCI-2228, IDFCI-2229, and IDFCI-2230

See merge request espressif/esp-idf!31754
2024-06-27 20:30:28 +08:00
Aditya Patwardhan
a57aa71190
feat(security): Add security_features_app example to demonstrate security features 2024-06-27 16:56:55 +05:30
Aditya Patwardhan
9e3424709a
fix(bootloader_support): Allow SOFT_DIS_JTAG in verify_release_mode 2024-06-27 15:09:50 +05:30
David Čermák
92b42310b1 Merge branch 'fix/mesh_netif_without_dhcps' into 'master'
fix(wifi): Make DHCP server API calls only if available

Closes IDFGH-13061

See merge request espressif/esp-idf!31669
2024-06-27 17:37:46 +08:00
wuzhenghui
2b70104761
fix(esp_hw_support): wait eFuse controller idle after sleep wakeup 2024-06-27 17:36:21 +08:00
Martin Vychodil
5acaa74ec9 Merge branch 'docs/fix_ulp_doxygen_comment' into 'master'
docs(ulp): fix doxygen comment formatting

See merge request espressif/esp-idf!31765
2024-06-27 17:23:52 +08:00
Island
8106cfcf07 Merge branch 'bugfix/fixed_hci_uart_error_on_esp32c6_esp32h2' into 'master'
feat(bluetooth/controller): Fixed the issue of unresponsiveness when using hci...

Closes BLERP-828

See merge request espressif/esp-idf!31744
2024-06-27 17:19:23 +08:00
Marius Vikhammer
4c62b82180 docs(ulp): fix doxygen comment formatting 2024-06-27 16:17:05 +08:00
Sudeep Mohanty
f8a7af8f84 Merge branch 'feat/lp_core_lp_spi_support' into 'master'
feat(lp-spi): Added support for LP SPI to the LP core

Closes IDF-7538 and IDF-10210

See merge request espressif/esp-idf!31492
2024-06-27 14:20:29 +08:00
Jiang Guang Ming
1f2100fc4d fix(esp_rom): cleanup esp_rom CMakeList.txt 2024-06-27 11:45:23 +08:00
C.S.M
40089b23df Merge branch 'feat/i2c_port_handle_func' into 'master'
feat(i2c_master): Add an api for retrieveing handle via port

Closes IDFGH-13021

See merge request espressif/esp-idf!31588
2024-06-27 11:25:18 +08:00
Xiaoyu Liu
2cb9419b14 change(esp_rom): optimize target-specific header files layout in components/esp_rom 2024-06-27 11:24:45 +08:00
Myk Melez
c1e58e7d2d fix(pthread): Remove TLS pointer/deletion callback from correct thread
Originally, pthread_internal_local_storage_destructor_callback was only called from pthread_exit
on the thread whose TLS is being destroyed.

In b3755b751e, pthread_internal_local_storage_destructor_callback
started being called from pthread_join and pthread_detach on a different thread (whichever one
called one of those functions).

But pthread_internal_local_storage_destructor_callback is still calling
vTaskSetThreadLocalStoragePointer and vTaskSetThreadLocalStoragePointerAndDelCallback with a NULL
xTaskToSet argument, which causes those functions to set the TLS pointer and deletion callback
for the current thread, not the thread whose TLS is being destroyed.

This commit makes pthread_internal_local_storage_destructor_callback call
vTaskSetThreadLocalStoragePointer and vTaskSetThreadLocalStoragePointerAndDelCallback
with the handle of the thread whose TLS is being destroyed.
2024-06-26 16:31:48 -07:00
Aditya Patwardhan
ca4d5afc59 Merge branch 'fix/disable_ecdsa_key_manager_for_p4' into 'master'
fix(soc): Disable key manager and ECDSA peripheral support for esp32p4

See merge request espressif/esp-idf!31662
2024-06-26 22:01:34 +08:00
Armando (Dou Yiwen)
80f3e79b07 Merge branch 'feat/mmu_support_c5' into 'master'
mmu: remove SOC_MMU_PAGE_SIZE_CONFIGURABLE on c5 mp

See merge request espressif/esp-idf!31749
2024-06-26 21:10:48 +08:00
Armando (Dou Yiwen)
7755ce186e Merge branch 'bugfix/fix_none_iram_code_before_xip_psram' into 'master'
rtc: fixed non-iram rtc code in early stage on p4 leading xip_psram stuck

See merge request espressif/esp-idf!31742
2024-06-26 20:47:10 +08:00
Kevin (Lao Kaiyao)
be3e159cec Merge branch 'bugfix/update_rom_layout_for_c5' into 'master'
fix(rom): update rom layout for c5

See merge request espressif/esp-idf!31731
2024-06-26 20:38:36 +08:00
C.S.M
1709095c5b Merge branch 'bugfix/usb_serial_jtag_simplify' into 'master'
usb-serial-jtag driver simplification

See merge request espressif/esp-idf!31477
2024-06-26 20:19:02 +08:00
Jiang Jiang Jian
f68e5c4f70 Merge branch 'bugfix/fix_idfgh_12600' into 'master'
fix(coex): fix ESP32 Wi-Fi cant tx after sw_reset with BLE scan

Closes IDFGH-12600

See merge request espressif/esp-idf!31726
2024-06-26 19:43:58 +08:00
Sudeep Mohanty
70a0b4a1bf test: Added LP core unit tests for LP SPI
This commit adds tests for LP SPI master and LP SPI slave devices.
2024-06-26 13:43:55 +02:00
Sudeep Mohanty
6e85d744a8 feat(lp-spi): Added support for LP SPI driver to the LP Core on esp32p4
This commit adds LP SPI master and LP SPI slave support for the LP Core
on the esp32p4.
2024-06-26 13:43:55 +02:00
Kevin (Lao Kaiyao)
ef63ae2cfc Merge branch 'bugfix/rename_some_touch_regs2' into 'master'
refactor(lp_ana_periph): sync the reg names to TRM (part2)

See merge request espressif/esp-idf!31694
2024-06-26 19:34:17 +08:00
Song Ruo Jing
e5dbbf467c Merge branch 'feature/esp32c5_clock_support' into 'master'
feat(clk): Add basic clock support for esp32c5 mp

Closes IDF-8642 and IDF-9009

See merge request espressif/esp-idf!31514
2024-06-26 19:27:51 +08:00
Mahavir Jain
6669caf4cf Merge branch 'feature/esp32c5_memory_protection' into 'master'
Support memory protection using PMA and PMP for ESP32-C5

Closes IDF-8833

See merge request espressif/esp-idf!31245
2024-06-26 19:18:39 +08:00
Armando
d6e9618263 change(mmu): remove SOC_MMU_PAGE_SIZE_CONFIGURABLE 2024-06-26 17:35:26 +08:00
Armando
5fe080ea5a fix(rtc): fixed non-iram rtc code in early stage on p4 leading xip_psram stuck 2024-06-26 17:30:59 +08:00
zwl
b7b32952ff feat(bluetooth/controller): Fixed the issue of unresponsiveness when using hci uart mode on ESP32-C5 2024-06-26 17:19:33 +08:00
zwl
2bd3eaf288 feat(bluetooth/controller): Fixed the issue of unresponsiveness when using hci uart mode on ESP32-C6 and ESP32-H2 2024-06-26 17:19:00 +08:00
Jeroen Domburg
7982ece4af refactor(usb-serial-jtag): usb-serial-jtag driver simplification to fix rom print coexistence 2024-06-26 15:47:25 +08:00
Song Ruo Jing
40f3bc2e57 feat(clk): Add basic clock support for esp32c5 mp
- Support SOC ROOT clock source switch
- Support CPU frequency change
- Support RTC SLOW clock source switch
- Support RTC SLOW clock + RC FAST calibration
- Remove FPGA build
2024-06-26 14:26:34 +08:00
Jiang Guang Ming
38560ac0e7 fix(esp_rom): support flash mmap with ROM APIs on c5 2024-06-26 13:07:45 +08:00
Jiang Guang Ming
9ee667eb15 fix(soc): add the missing mmu.h header file on c5 2024-06-26 13:04:22 +08:00
Guillaume Souchere
87b1e45564 fix(console): USB Serial JTAG freezes when input received before init
When data was sent through USB Serial JTAG before the
driver was installed, the bus was malfunctioning. This
was because the interrupt bit for data reception was cleared
regardless of whether data was received or not. Consequently,
usb_serial_jtag_isr_handler_default was not triggered and the
data was never read causing the bus to malfunction.

This commit is modifying usb_serial_jtag_driver_install to
prevent clearing USB_SERIAL_JTAG_INTR_SERIAL_OUT_RECV_PKT and
USB_SERIAL_JTAG_INTR_SERIAL_IN_EMPTY thus allowing the callback
usb_serial_jtag_isr_handler_default to trigger for possible data
exchanged prior to the call to usb_serial_jtag_driver_install.

This commit also modified the while logic in linenoiseProbe to
discard any data that doesn't match the expected chaaracter sequences
to prevent random input from interfering with evaluating whether the
terminal supports escape sequences or not.

See https://github.com/espressif/esp-idf/issues/13940
2024-06-26 06:32:13 +02:00
Cao Sen Miao
b19f9242d7 fix(usb_otg): Fix bug that usb_otg console cannot work on esp32s3 2024-06-26 11:20:19 +08:00
Roman Leonov
d4f0b77d29 Merge branch 'feature/usb_host_ext_hub_driver' into 'master'
feat(ext_hub): Added External Hub Driver

Closes IDF-9697, IDF-9205, IDF-10073, and IDF-10100

See merge request espressif/esp-idf!30391
2024-06-26 04:37:22 +08:00
Jakob Hasse
eb0e894d94 refactor(nvs_flash): Use gcovr instead of lcov for host-based page test 2024-06-25 19:21:54 +02:00
Konstantin Kondrashov
e7070e777a Merge branch 'feature/bootloader_skip_validate_in_deep_sleep_for_c2' into 'master'
feat(bootloader): BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP for C2 (without RTC_MEM)

Closes IDF-9129

See merge request espressif/esp-idf!31241
2024-06-25 21:22:58 +08:00
laokaiyao
e845c15b47 fix(rom): update rom layout for c5 2024-06-25 17:51:24 +08:00
Roman Leonov
548b03c69f feat(ext_hub): Added External Hub driver 2024-06-25 11:28:03 +02:00
chenjianhua
97057eeaf2 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(66b5cc0)
- Fixed vendor hci get controller status command
- Prevent BLE interrupt from being preempted
2024-06-25 17:00:50 +08:00
liuning
0dcbbb8eb9 fix(coex): fix ESP32 Wi-Fi cant tx after sw_reset with BLE scan
Closes https://github.com/espressif/esp-idf/issues/13598
2024-06-25 15:42:47 +08:00
morris
dcfcf83109 fix(rmt): fix gcc static analyzer warnings 2024-06-25 14:54:00 +08:00
harshal.patil
bd4e48d0d9
feat(cpu): Configure panic exception generation using asm illegal instruction 2024-06-25 11:55:24 +05:30
harshal.patil
84afc6a955
feat(esp_hw_support): Support memory protection using PMA and PMP for ESP32-C5 2024-06-25 11:55:15 +05:30
harshal.patil
980ac9bcf5
fix(soc): Fix ESP32-C5's rom mask high and subsystem high memory addresses 2024-06-25 11:39:22 +05:30
Jiang Jiang Jian
b5762b732b Merge branch 'feat/optimize_bt_porting_layer_0619' into 'master'
Feat/optimize bt porting layer 0619

See merge request espressif/esp-idf!31653
2024-06-25 13:57:40 +08:00
Marius Vikhammer
7ba8f6bc51 Merge branch 'feature/lp_timer_c5_mp' into 'master'
feat(lp-timer): support lp timer for C5

Closes IDF-8636

See merge request espressif/esp-idf!31631
2024-06-25 12:35:30 +08:00
Rahul Tank
986f6246fd fix(nimble): Pass the correct cb arg during reconnection attempt 2024-06-25 08:25:09 +05:30
chenjianxing
4dfeb9c26c fix(phy): add phy calibration data check when mode is not none calibration 2024-06-25 10:53:25 +08:00
Jiang Jiang Jian
6e59ca58e6 Merge branch 'bugfix/frequency_switching_issue_in_esp32h2_c6_coex' into 'master'
fix(esp_phy): fix the frequency switching issue in esp32h2/esp32c6 ble/ieee802154 coex

See merge request espressif/esp-idf!30895
2024-06-25 09:21:08 +08:00
Konstantin Kondrashov
ee605e35b4 feat(bootloader): BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP for C2 (without RTC_MEM) 2024-06-25 02:09:59 +08:00
Sudeep Mohanty
e9a2f3b098 Merge branch 'fix/ulp_riscv_i2c_multi_byte' into 'master'
fix(ulp-risc-v): Fixed RTC I2C multi-byte read/write issue for ULP RISC-V

Closes IDFGH-11056

See merge request espressif/esp-idf!31666
2024-06-24 23:09:56 +08:00
Mahavir Jain
5920651ea7 Merge branch 'change/add_error_logs_for_incorrect_secure_boot_key' into 'master'
change: Add error logs for secure boot scheme and key mismatch

See merge request espressif/esp-idf!31199
2024-06-24 20:28:22 +08:00
xiaqilin
474bac76b3 fix(esp_phy): fix the frequency switching issue in esp32h2/esp32c6 ble/ieee802154 coex 2024-06-24 18:00:50 +08:00
C.S.M
992d8bc5f2 feat(i2c_master): Add an api for retrieveing handle via port,
Closes https://github.com/espressif/esp-idf/issues/13968
2024-06-24 16:06:34 +08:00
Chen Jichang
d81546628a feat(pcnt): add support for step notify
PCNT can add watch of value increment that we call step notify.
This commit add a step notify driver and a test for the driver.

Closes https://github.com/espressif/esp-idf/issues/9604
Closes https://github.com/espressif/esp-idf/issues/12136
2024-06-24 15:50:47 +08:00
laokaiyao
7ac331fea7 refactor(lp_ana_periph): sync the reg names to TRM (part2) 2024-06-24 15:30:55 +08:00
C.S.M
c77ea73ca9 Merge branch 'fix/i2c_semaphore_release' into 'master'
fix(i2c): Fix i2c not release semaphore in command send loop

Closes IDFGH-13014

See merge request espressif/esp-idf!31572
2024-06-24 15:27:32 +08:00
Sudeep Mohanty
c3888541f1 fix(ulp-risc-v): Fixed RTC I2C multi-byte read/write issue for ULP RISC-V
This commit fixes an issue where multi-byte reads and writes over the
RTC I2C peripheral got stuck on the esp32s2 and esp32s3.

Closes https://github.com/espressif/esp-idf/issues/12235
2024-06-24 09:17:59 +02:00
Konstantin Kondrashov
1bab9da223 Merge branch 'feature/esp_rom_vprintf_supports_precision_attr' into 'master'
feat(esp_rom): Support precision attribute for esp_rom_vprintf

See merge request espressif/esp-idf!31373
2024-06-24 15:03:45 +08:00
Wang Meng Yang
74d3c00fdb Merge branch 'fix/add_integrity_check_when_select_temporary_key' into 'master'
fix(bt): add integrity check when temporary link key selected

Closes BTQABR2023-315

See merge request espressif/esp-idf!31532
2024-06-24 14:58:19 +08:00
Liu Xiao Yu
69d849cbd6 Merge branch 'feature/console_unregister_cmd' into 'master'
feat(console): Add an API function to de-register the specified console command

Closes IDF-9996

See merge request espressif/esp-idf!31258
2024-06-24 14:44:18 +08:00
Mahavir Jain
1ec218260f Merge branch 'bugfix/c5_mpi_ecc_power_mode' into 'master'
fix(hal): correct mpi/ecc peripheral power up sequence for ESP32-C5

See merge request espressif/esp-idf!31621
2024-06-24 13:47:07 +08:00
Wu Zheng Hui
2d36e81ccd Merge branch 'fix/remove_esp32c6_h2_solved_todos' into 'master'
change(esp_hw_support): remove esp32c6 & esp32h2 solved todos

Closes IDF-5781 and IDF-6254

See merge request espressif/esp-idf!31401
2024-06-24 13:35:04 +08:00
Aditya Patwardhan
3e97a9f866
fix(soc): Disable key manager and ECDSA peripheral support for esp32p4
The support is disabled only for ECO1 and below
2024-06-24 10:26:51 +05:30
gongyantao
772b4dc26a fix(bt): add integrity check when temporary link key selected 2024-06-24 12:05:49 +08:00
Wu Zheng Hui
e254647b0a Merge branch 'feature/support_esp32p4_dcdc_always_on' into 'master'
feat(esp_hw_support): support esp32p4 dcdc always on during lightsleep

Closes PM-104 and PM-131

See merge request espressif/esp-idf!30449
2024-06-24 11:46:34 +08:00
Wu Zheng Hui
54c4984256 Merge branch 'fix/trigger_system_reset_in_brownout_isr' into 'master'
change(esp_system): trigger digital system reset in brownout isr

See merge request espressif/esp-idf!30512
2024-06-24 11:15:54 +08:00
Wu Zheng Hui
ee372c4842 Merge branch 'feat/esp32p4eco_sleep_feature_update' into 'master'
feat(esp_hw_support): esp32p4eco1 sleep feature update

Closes IDF-9564

See merge request espressif/esp-idf!30899
2024-06-24 11:15:47 +08:00
Zhang Wen Xu
9e5e1f085d Merge branch 'bugfix/openthread_uart_vfs_register' into 'master'
fix(openthread): register uart vfs devices when they are not registered

See merge request espressif/esp-idf!31524
2024-06-24 11:03:57 +08:00
morris
cd9d0365e1 Merge branch 'fix/lcd_build_error_in_cpp' into 'master'
fix(lcd): build errors with deprecated lcd types in cpp

Closes IDFGH-13083 and IDFGH-13090

See merge request espressif/esp-idf!31639
2024-06-24 10:17:40 +08:00
Jiang Jiang Jian
e14eadf952 Merge branch 'bugfix/wifi-6570' into 'master'
fix the issue of wifipwr losing its clock during sleep on the esp32c6 eco1

Closes WIFI-6570

See merge request espressif/esp-idf!31586
2024-06-24 09:57:52 +08:00
morris
466f54e375
fix(i2c_lcd): using function overloading to keep esp_lcd_new_panel_io_i2c
becuase _Generic is not available in C++

Closes https://github.com/espressif/esp-idf/issues/14037
2024-06-23 21:57:36 +08:00
morris
478a8b5dd6
fix(lcd): build errors with deprecated lcd types in cpp
Closes https://github.com/espressif/esp-idf/issues/14029
2024-06-23 21:54:26 +08:00
David Cermak
c6c980b893 fix(wifi): Call DHCP server API only if DHCPS enabled
Closes https://github.com/espressif/esp-idf/issues/14006
2024-06-21 18:10:36 +02:00
wuzhenghui
1679b509be
feat(esp_hw_support): support DCDC always on 2024-06-21 16:55:49 +08:00
wuzhenghui
35180988b5
feat(esp_pm): add DCDC always on config 2024-06-21 16:55:49 +08:00
Harshit Malpani
ff16ce4314
change: Add error logs for secure boot scheme and key mismatch 2024-06-21 13:56:22 +05:30
cjin
b4ded34fd8 fix(ble): added c6 config check for ble light sleep 2024-06-21 14:58:39 +08:00
zwl
842e3b13a2 feat(bluetooth/controller): adjust bt/porting code structure and delete redundant code 2024-06-21 14:58:35 +08:00
David Čermák
d9bae333ca Merge branch 'fix/lwip_cleanup_freertos_port' into 'master'
fix(lwip): Cleanup freertos port to use more readable checks

Closes IDF-9939

See merge request espressif/esp-idf!30760
2024-06-21 13:42:21 +08:00
Mahavir Jain
e1499ddde3
fix(hal): correct the power up sequence for MPI/ECC peripherals in ESP32-C5 2024-06-21 09:42:57 +08:00
David Cermak
72c389f771 fix(lwip): Cleanup lwip -> ethernet dependencies 2024-06-20 17:00:19 +02:00
Tomas Rezucha
67c10eafaa Merge branch 'feature/usb_host_multi_configuration' into 'master'
USB Host multiconfiguration support pt1 (getting the configuration descriptor)

Closes IDFGH-11532 and IDF-8732

See merge request espressif/esp-idf!26760
2024-06-20 20:29:12 +08:00
C.S.M
8e1698aa05 fix(i2c): Fix i2c not release semaphore in command send loop 2024-06-20 19:22:49 +08:00
Kevin (Lao Kaiyao)
e301e4ee34 Merge branch 'feature/support_parlio_on_c5' into 'master'
feat(parlio): support parlio on c5

Closes IDF-8685 and IDF-8686

See merge request espressif/esp-idf!31604
2024-06-20 19:16:12 +08:00
C.S.M
38db7e60e7 Merge branch 'feat/usb_serial_jtag_c5' into 'master'
feat(usb_serial_jtag): Add usb serial jtag support on esp32c5

Closes IDF-8721 and IDF-10257

See merge request espressif/esp-idf!31544
2024-06-20 18:49:16 +08:00
Nachiket Kukade
918b5a0823 Merge branch 'bugfix/wpa3_sta_mem_leak' into 'master'
Fix memory leak in wpa3 station mode

See merge request espressif/esp-idf!31419
2024-06-20 17:33:06 +08:00
C.S.M
d53add5d84 fix(usb_serial_jtag): fix regs are not handled properly for half-word instructions 2024-06-20 16:58:15 +08:00
C.S.M
5bd39b54d3 feat(usb_serial_jtag): Add usb serial jtag support on esp32c5 2024-06-20 16:55:55 +08:00
Marius Vikhammer
24e9736532 feat(lp-timer): support lp timer for C5 2024-06-20 16:13:49 +08:00
laokaiyao
b51fc7c390 ci(parlio_rx): enable target test for h2 and p4 2024-06-20 16:02:21 +08:00
David Cermak
70645836fc fix(lwip): Cleanup freertos port to use more readable checks
It also removes incorrect comment that's not valid any more (leftover from 6933c103e5)
It also removes ESP_THREAD_SAFE macro and sys_mbox_set_owner() which were not used
It also fixes CID 460613: Uninitialized pointer read in api_lib.c, netconn_gethostbyname_addrtype
Updated lwip submodule: git log --oneline 4297782b..aa4f6e78
* api_msg: Fix unused local variable if LWIP_NETCONN_SEM_PER_THREAD=1 (espressif/esp-lwip@aa4f6e78)
2024-06-20 08:57:25 +02:00
Sudeep Mohanty
d0eed3a65e Merge branch 'fix/lp_i2c_reg_redefinition_on_esp32c5' into 'master'
fix(lp-i2c): Fixed register definition namespace for LP I2C registers on esp32c5

See merge request espressif/esp-idf!31599
2024-06-20 14:40:53 +08:00
morris
2e2a621dca Merge branch 'test/emac_regsiter_rw' into 'master'
test(emac): register are not read/write by half-word

Closes IDF-10258

See merge request espressif/esp-idf!31619
2024-06-20 14:30:13 +08:00
laokaiyao
1818bbaa79 remove(parlio): remove parlio caps in c61 2024-06-20 14:28:37 +08:00
laokaiyao
f301db44b8 feat(parlio): support parlio on C5 2024-06-20 14:28:37 +08:00
morris
55d2c23e0b Merge branch 'fix/lcd_regsiter_rw_check' into 'master'
fix(lcd): workaround register check failure

Closes IDF-10244

See merge request espressif/esp-idf!31615
2024-06-20 14:26:47 +08:00
Shyamal Khachane
0fac1ebe40 fix(esp_wifi): Fix a memory leak that occurs when the SAE connection is interrupted
1. Free temporary data used by SAE before memsetting the same
2. Drop any received auth responses that use a different algorithm than the one currently in use
2024-06-20 11:45:16 +05:30
Mahavir Jain
f0781c4641 Merge branch 'contrib/github_pr_13945' into 'master'
fix(esp_http_client): Do not allocate client->if_name twice in esp_http_client_init. (GitHub PR)

Closes IDFGH-12994

See merge request espressif/esp-idf!31497
2024-06-20 09:20:39 +08:00
morris
96e1fe5029
test(emac): register are not read/write by half-word 2024-06-19 22:39:50 +08:00
Jiang Jiang Jian
c9a504cdcb Merge branch 'bugfix/hardware_mgmt_decryption_regression' into 'master'
fix(wifi): Disable IC_PMF variable properly when station disconnects and always clear keys in tx_cb

Closes WIFI-6544

See merge request espressif/esp-idf!30695
2024-06-19 21:01:18 +08:00
Alexey Lapshin
b0ba5689f1 Merge branch 'feature/gcc-fanalyzer' into 'master'
feat(ci): add gnu static analyzer job

See merge request espressif/esp-idf!30902
2024-06-19 19:31:53 +08:00
Lou Tian Hao
ec9c9413bc Merge branch 'feature/esp32c5mp_light_sleep_support_stage_1' into 'master'
feat(esp_hw_support): esp32c5mp sleep support (Stage 1: support modem clock)

See merge request espressif/esp-idf!31028
2024-06-19 19:09:43 +08:00
morris
a8f2a94fe8
fix(lcd): workaround register check failure 2024-06-19 19:00:11 +08:00
Rahul Tank
0cfefb8a42 Merge branch 'bugfix/free_memory_before_reattempt' into 'master'
fix(nimble): Clear resource before re-starting advertising

Closes BT-3776

See merge request espressif/esp-idf!31548
2024-06-19 18:40:22 +08:00
David Čermák
1fd6a83f62 Merge branch 'fix/netif_napt_fix' into 'master'
fix(esp_netif): Don't warn about disabling napt if wasn't enabled

See merge request espressif/esp-idf!31076
2024-06-19 17:36:22 +08:00
Sudeep Mohanty
86f86aa269 fix(lp-i2c): Fixed register definition namespace for LP I2C registers on esp32c5
This commit adds the `LP_I2C_` namespace to the register definitions for
the LP I2C registers on the esp32c5. Currently, the definitions lead to
a clash with the HP I2C register definitions leading to compilation
warnings.
2024-06-19 10:38:52 +02:00
Island
83cda5cfb9 Merge branch 'feat/add_definition_of_auth_fail_reason' into 'master'
feat(bt/bluedroid): Add definition for the reason of BLE authentication failure

See merge request espressif/esp-idf!31302
2024-06-19 16:07:25 +08:00
Peter Marcisovsky
6cabb68d12 feat(usb/host): multiconfiguration support
- usb host reads device's configuration on request
    - a control transfer is sent
    - memory is allocated for a new descriptor
    - user must manually free the memory
2024-06-19 09:40:57 +02:00
Island
557aae0166 Merge branch 'feat/put_bt_interface_code_to_rom' into 'master'
Feat/put bt interface code to rom

Closes BLERP-791 and BLERP-804

See merge request espressif/esp-idf!31547
2024-06-19 14:59:08 +08:00
Sudeep Mohanty
e5d9d1dd60 Merge branch 'contrib/github_pr_14010' into 'master'
fix(ulp): Write pin's output mode to the correct register (GitHub PR)

Closes IDFGH-13065

See merge request espressif/esp-idf!31581
2024-06-19 14:57:40 +08:00
Michael (XIAO Xufeng)
e57c686136 Merge branch 'refactor/rtc_init_before_mspi_tuning' into 'master'
fix(startup): move rtc initialization before MSPI timing tuning to improve stability

See merge request espressif/esp-idf!31200
2024-06-19 14:53:00 +08:00
fbp2m
adb307da29
fix: fixed allocating if_name in client context multiple times
Do not allocate client->if_name twice in esp_http_client_init().

Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/13945
2024-06-19 11:39:56 +05:30
morris
f791c6e232 Merge branch 'bugfix/huk_ll_enable_interrupt' into 'master'
fix(huk): switch case fall through unexpected

See merge request espressif/esp-idf!31584
2024-06-19 12:02:17 +08:00
wuzhenghui
1ac05e89b0
fix(esp_hw_support): disable mpll clock after L1 dcache writeback 2024-06-19 11:43:58 +08:00
Lou Tianhao
1b65a70928 change(esp_hw_support): bypass esp_sleep_pd_config 2024-06-19 11:19:42 +08:00
Lou Tianhao
8c52c983b4 feat(esp_hw_support): support modem clock for esp32c5mp 2024-06-19 11:19:37 +08:00
Marius Vikhammer
a60d19949d Merge branch 'feature/c5_mp_lp_core' into 'master'
feat(lp-core): bringup lp-core for C5 MP

See merge request espressif/esp-idf!31563
2024-06-19 11:14:25 +08:00
Li Shuai
731534e8c7 fix(wifi): fix the issue of wifipwr losing its clock during sleep on the esp32c6 eco1 2024-06-19 10:49:31 +08:00
Kevin (Lao Kaiyao)
1db237e120 Merge branch 'bugfix/sych_the_change_of_during_c5beta3_removal' into 'master'
fix(esp32c5): sych the changes during c5beta3 removal

Closes IDFCI-2204

See merge request espressif/esp-idf!31573
2024-06-19 10:20:11 +08:00
Marius Vikhammer
aae3aa5e5f feat(lp-core): bringup lp-core for C5 MP
LP-Core is now able to boot and run on C5 MP chip.
2024-06-19 09:18:47 +08:00
morris
98070179b5
fix(huk): switch case fall through unexpected 2024-06-18 23:13:00 +08:00
Konstantin Kondrashov
687832ae94 Merge branch 'feature/parttool_adds_ignore_readonly_flag' into 'master'
feat(partition_table): Adds --ignore-readonly flag

Closes IDFGH-13017

See merge request espressif/esp-idf!31500
2024-06-18 21:12:15 +08:00
Kevin (Lao Kaiyao)
31364b0f9f Merge branch 'bugfix/rename_some_touch_regs' into 'master'
refactor(lp_ana_periph): sync the reg names to TRM

See merge request espressif/esp-idf!31474
2024-06-18 20:47:45 +08:00
morris
78b6f28529 Merge branch 'refactor/adc_dma_memory_allocation' into 'master'
ADC & AES: use heap component API to allocate cached aligned DMA buffer

See merge request espressif/esp-idf!31533
2024-06-18 20:41:40 +08:00
morris
ba364d486f Merge branch 'feat/ci_check_ll_rw_register_half_word' into 'master'
feat(ci): check if the LL function read write the register by half-world

See merge request espressif/esp-idf!31501
2024-06-18 20:38:15 +08:00
LonerDan
37fad48e1f fix(ulp-risc-v): Set RTC GPIO output mode in the correct register for ULP RISC-V
According to the ESP32-S2/S3 TRM, the output pin's mode is set in the RTC_GPIO_PINn_REG
by programming the RTC_GPIO_PINn_PAD_DRIVER bit. The current ULP RISC-V RTCIO driver
however, incorrectly programs the RTC_IO_TOUCH_PADn_REG register field RTC_IO_TOUCH_PADn_DRV.
This commit fixes the bug.
2024-06-18 14:33:13 +02:00
chenjianhua
5aae8dc53c feat(bt/bluedroid): Add definition for the reason of BLE authentication failure 2024-06-18 20:11:39 +08:00
laokaiyao
3701760e03 fix(soc): sych the changes that missed during c5 beta3 removal 2024-06-18 19:07:22 +08:00
Konstantin Kondrashov
5750f2cd29 feat(partition_table): Adds --ignore-readonly flag
Closes https://github.com/espressif/esp-idf/issues/13964
2024-06-18 13:11:56 +03:00
Song Ruo Jing
794160fb48 Merge branch 'test/enable_build_test_ledc_esp32c5' into 'master'
test(ledc): enable build test on esp32c5

Closes IDFCI-2204

See merge request espressif/esp-idf!31574
2024-06-18 17:28:27 +08:00
morris
049bdd9e37 Merge branch 'refactor/gptimer_sleep_retention' into 'master'
Fix gptimer auto reload configuration being overwritten by regdma

See merge request espressif/esp-idf!31314
2024-06-18 17:09:44 +08:00
morris
3a7ee67694
test(ledc): enable build test on esp32c5 2024-06-18 17:06:36 +08:00
Sarvesh Bodakhe
205fa4fa6e fix(wifi): Fix station PMF issue
Fix issue of station PMF not getting reset when disconnecing from PMF connection
2024-06-18 13:32:07 +05:30
morris
580810d2d5 Merge branch 'feat/i2c_c5mp' into 'master'
feat(i2c): Add i2c support on esp32c5 mp

Closes IDF-8694 and IDF-8696

See merge request espressif/esp-idf!31554
2024-06-18 15:51:33 +08:00
zwl
23ff4fc0c4 feat(bluetooth/controller): update controller api name on ESP32-C5 2024-06-18 15:40:53 +08:00
zwl
5611224141 feat(bluetooth/controller): update controller api name on ESP32-C2 2024-06-18 15:40:53 +08:00
zwl
d6240706ea feat(bluetooth/controller): update controller api name on ESP32-C6 and ESP32-H2 2024-06-18 15:40:53 +08:00
morris
4f03604b2e fix(hal): functions that may generate invalid load/store byte/half-word instructions
because the APB regsiters can't behave correctly on these instructions
2024-06-18 14:58:41 +08:00
morris
dd46392a66 feat(ci): check LL functions not read write register by half word 2024-06-18 14:58:41 +08:00
laokaiyao
5b01a3ccd3 refactor(touch): refactor the filter configuration 2024-06-18 14:36:09 +08:00
laokaiyao
39ade8fd8a refactor(lp_ana_periph): sync the reg names to TRM 2024-06-18 14:36:09 +08:00
Alexey Lapshin
ed6e497c6f feat(build): add COMPILER_STATIC_ANALYZER option 2024-06-18 14:25:37 +08:00
Alexey Lapshin
e1b9985bd0 fix(usb): fix warnings found by GNU static analyzer 2024-06-18 14:25:37 +08:00
Alexey Lapshin
75277a9419 fix(esp_driver_parlio): fix warnings found by GNU static analyzer 2024-06-18 14:25:37 +08:00
Alexey Lapshin
f328e06ed4 fix(wpa_supplicant): fix warnings found by GNU static analyzer 2024-06-18 14:25:37 +08:00
Alexey Lapshin
edbf6130db fix(vfs): fix warnings found by GNU static analyzer 2024-06-18 14:25:37 +08:00
Alexey Lapshin
0815f6ab8c fix(sdmmc): fix warnings found by GNU static analyzer 2024-06-18 14:25:37 +08:00
Alexey Lapshin
fcd2aee74d fix(heap): fix warnings found by GNU static analyzer 2024-06-18 14:25:37 +08:00
Alexey Lapshin
505647292d fix(esp_mm): fix warnings found by GNU static analyzer 2024-06-18 14:25:37 +08:00
Alexey Lapshin
b85736f6a6 fix(esp_hw_support): fix warnings found by GNU static analyzer 2024-06-18 14:25:37 +08:00
Alexey Lapshin
0087196f3c fix(esp_driver_usb_serial_jtag): fix warnings found by GNU static analyzer 2024-06-18 14:25:37 +08:00
Fu Hanxi
adf6fc1e5b
ci: disable failing esp32c5 builds 2024-06-18 08:11:44 +02:00
C.S.M
b0f2205f70 feat(i2c): Add i2c support on esp32c5 mp 2024-06-18 10:37:36 +08:00
Rahul Tank
df54b0ff12 fix(nimble): Clear resource before re-starting advertising 2024-06-18 10:33:10 +08:00
morris
3ef9426e2a
refactor(gptimer): sleep retention code clean up 2024-06-18 09:59:12 +08:00
morris
22a85517ff
fix(gptimer): fix the regdma overwrite the reload configuration 2024-06-18 09:59:12 +08:00
morris
0365cb0bc7
change(wdt): create wdt_periph.c in soc component 2024-06-18 09:59:06 +08:00
Xiao Xufeng
5b71b949be fix(startup): move rtc initialization before MSPI timing tuning to improve stability 2024-06-18 01:16:24 +08:00
Kevin (Lao Kaiyao)
0479494e7a Merge branch 'remove/remove_c5_beta3_support' into 'master'
remove(c5beta3): remove esp32c5 beta3 support

Closes IDF-9197

See merge request espressif/esp-idf!31412
2024-06-18 00:18:00 +08:00
Jakob Hasse
94bec782a1 Merge branch 'fix/correct_esp_xt_wdt_configuration' into 'master'
fix(esp_system): properly exclude XTAL32K WDT from other chips

Closes IDFGH-13005

See merge request espressif/esp-idf!31468
2024-06-17 19:26:19 +08:00
laokaiyao
d753d01383 fix(gpio): upgrade the gpio func select api for legacy pcnt & ledc 2024-06-17 15:15:08 +08:00
Euripedes Rocha
1cd8682047 change(mqtt): Update esp_mqtt submodule
git log --oneline aa6f889fb4f6f743b3a550aa587713aabbdca1fc..cac1552e62b0474c162547b7cce345d7cd1aecfe

Detailed description of the changes:
* fix: clang analyzer unknown pragma warning
  - See merge request espressif/esp-mqtt!215
  - See commit https://github.com/espressif/esp-mqtt/commit/6bb5a5b
* fix: gcc analyzer unknown pragma warning
  - See merge request espressif/esp-mqtt!214
  - See commit https://github.com/espressif/esp-mqtt/commit/b527203
* feat: Moves deletion of expired messages to run at all states
  - Closes IDFGH-12831
  - Closes https://github.com/espressif/esp-mqtt/issues/278
  - See commit https://github.com/espressif/esp-mqtt/commit/32dada4
* fix: Handling of state in the outbox for enqueued QoS 0 messages
  - Closes IDFGH-12829
  - Closes https://github.com/espressif/esp-mqtt/issues/276
  - See commit https://github.com/espressif/esp-mqtt/commit/739cb2d
* fix: Instalation of gcovr in host tests was broken
  - See merge request espressif/esp-mqtt!211
  - See commit https://github.com/espressif/esp-mqtt/commit/6643c49
* Allow to publish using only topic alias on MQTT5
  - Closes IDFGH-12735
  - Fix: Allow to publish using only topic alias on MQTT5 (espressif/esp-mqtt@0071aca)
* refactor: replaced heap mock with Linux-compatible heap component
  - See merge request espressif/esp-mqtt!208
  - See commit https://github.com/espressif/esp-mqtt/commit/8b0b43e
* fix: gcc -fanalyzer warnings
  - See merge request espressif/esp-mqtt!209
  - See commit https://github.com/espressif/esp-mqtt/commit/8bc3bff
* fix: Use catch from component manager
  - See merge request espressif/esp-mqtt!210
  - See commit https://github.com/espressif/esp-mqtt/commit/53e0cc7
* fix: Fix host test for github ci.
  - Closes IDF-8883
  - See commit https://github.com/espressif/esp-mqtt/commit/b43d93c
2024-06-17 13:06:35 +08:00
laokaiyao
c731b099ee remove(c5beta3): remove c5 beta3 doxy files 2024-06-17 12:02:15 +08:00
laokaiyao
21f870ecd5 remove(c5beta3): remove c5 beta3 system files 2024-06-17 12:02:15 +08:00
laokaiyao
1d894680a8 remove(c5beta3): remove c5 beta3 rom files 2024-06-17 12:02:15 +08:00
laokaiyao
717a2ccf15 remove(c5beta3): remove c5 beta3 soc files 2024-06-17 12:01:57 +08:00
morris
65710f70e3
change(aes): refactor DMA buffer allocation 2024-06-17 11:28:07 +08:00
laokaiyao
9e66f1ecc0 feat(isp_awb): support to change config after initialized 2024-06-17 11:19:59 +08:00
morris
ea9630d977 change(adc): refactor DMA memory allocation 2024-06-17 11:12:06 +08:00
Song Ruo Jing
b4b1906d2c Merge branch 'feature/esp32c5_regi2c_support' into 'master'
feat(regi2c): support REGI2C for ESP32C5 MP

Closes IDF-8824

See merge request espressif/esp-idf!31411
2024-06-17 11:10:26 +08:00
Denis Feklushkin
2976a5450a fix(fatfs): _FFCONF_DEFINED added to ffconf.h 2024-06-16 16:13:26 +03:00
Fu Zhibo
157efcfdbc feat: support regi2c for esp32c5 2024-06-14 21:02:51 +08:00
Ivan Grokhotkov
f95caa751b Merge branch 'feature/update-qemu-to-esp_develop_9.0.0_20240606' into 'master'
feat(tools): update qemu version to esp_develop_9.0.0_20240606

See merge request espressif/esp-idf!31375
2024-06-14 20:41:52 +08:00
Song Ruo Jing
330c57cb45 feat(modem): add modem register header files for ESP32C5 MP 2024-06-14 20:26:58 +08:00
Kevin (Lao Kaiyao)
ec99ccf204 Merge branch 'bugfix/fix_touch_sensor_coverity_issue' into 'master'
fix(touch): fix driver coverity issue

Closes IDF-10195 and IDF-10196

See merge request espressif/esp-idf!31520
2024-06-14 19:06:27 +08:00
WanqQixiang
349d6e1f35 fix(openthread): register uart vfs devices when they are not registered 2024-06-14 19:02:06 +08:00
Rahul Tank
3f5bf2f372 Merge branch 'contrib/github_pr_13951' into 'master'
Fix stack overflow bug for `examples/bluetooth/esp_hid_device` when using esp32s3 with nimble (GitHub PR)

Closes IDFGH-13001

See merge request espressif/esp-idf!31508
2024-06-14 18:52:44 +08:00
laokaiyao
e7e76f6c0c fix(touch): fix driver coverity issue 2024-06-14 17:28:57 +08:00
Marius Vikhammer
e496f2668c Revert "fix(intr): fixed intr threshhold min level on C5"
This reverts commit 61f1975882.
2024-06-14 12:18:59 +08:00
Marius Vikhammer
56753c1dad Revert "fix(rom): fixed esprv_int_set_threshold on C5/C61"
This reverts commit 113c8de0fc.
2024-06-14 12:03:51 +08:00
Kevin (Lao Kaiyao)
20c2b24c97 Merge branch 'bugfix/fix_isp_awb_continuous_mode' into 'master'
fix(isp_awb): fixed continuous mode only triggered once

See merge request espressif/esp-idf!31478
2024-06-14 10:05:52 +08:00
Jiang Jiang Jian
e75d879e22 Merge branch 'bugfix/esp_rom_clic_thresh_bug' into 'master'
fix(rom): fixed esprv_int_set_threshold on C5/C61

See merge request espressif/esp-idf!31488
2024-06-14 09:08:43 +08:00
Jakob Hasse
22561ee408 fix(esp_system): properly exclude XTAL32K WDT from other chips
Closes https://github.com/espressif/esp-idf/issues/13955
2024-06-13 19:00:16 +02:00
Tomas Rezucha
e5bc2549ca Merge branch 'fix/usb_host_enum_urb_rounded_for_string_desc' into 'master'
fix(enum): Returned usb_round_up_to_mps for control request of string descriptors

See merge request espressif/esp-idf!31487
2024-06-13 23:50:13 +08:00
Jiang Jiang Jian
3f827ba010 Merge branch 'bugfix/wifi-5610' into 'master'
fix the issue of tbtt interrupt miss caused by beacon monitor

Closes WIFI-5610

See merge request espressif/esp-idf!31051
2024-06-13 20:08:05 +08:00
Jiang Jiang Jian
aab63bed24 Merge branch 'bugfix/esp32c6_update_ld' into 'master'
fix(wifi):esp32c6 update ld

Closes WIFIBUG-539, WIFIBUG-556, and WIFIBUG-601

See merge request espressif/esp-idf!30918
2024-06-13 18:04:23 +08:00
Marius Vikhammer
113c8de0fc fix(rom): fixed esprv_int_set_threshold on C5/C61 2024-06-13 17:53:03 +08:00
Jiang Jiang Jian
eba93f00f4 Merge branch 'bugfix/fixed_dport_access_issue' into 'master'
fix(bt/controller): Fixed assert issue caused by DPORT access

See merge request espressif/esp-idf!31469
2024-06-13 15:58:00 +08:00
Roman Leonov
f5c1039de3 fix(enum): Returned usb_round_up_to_mps for control request of string descriptors 2024-06-13 09:23:34 +02:00
Jiang Jiang Jian
2152f07bc3 Merge branch 'bugfix/fix_no_mem_coex_issue' into 'master'
fix(nimble): Added change to handle extra memory for ext adv reattempt

See merge request espressif/esp-idf!31443
2024-06-13 14:31:34 +08:00
laokaiyao
ae9f64aa5b fix(isp_awb): fixed continuous mode only triggered once 2024-06-13 14:00:15 +08:00
Marius Vikhammer
b520b3d88a Merge branch 'feature/c61_cpu_intr_support' into 'master'
feat(intr): basic interrupt/freertos support for C61

Closes IDF-9280, IDF-9261, and IDF-9262

See merge request espressif/esp-idf!31450
2024-06-13 13:02:14 +08:00
Armando
ca60b88ea0 feat(psram): support APS3204L 2024-06-13 11:54:38 +08:00
linruihao
49c19fd857 fix(bt/controller): Fixed assert issue caused by DPORT access 2024-06-13 11:43:45 +08:00
yinqingzhao
d6a14c2641 fix(wifi):esp32c6 update ld 2024-06-13 11:25:55 +08:00
Island
0ebc44e2db Merge branch 'bugfix/fix_ble_evt_time' into 'master'
fix(ble/controller): Update esp32 bt-lib (1e63e23)

Closes BLERP-760, BLERP-759, BLERP-793, BLERP-794, IDFGH-12768, and BLERP-803

See merge request espressif/esp-idf!30878
2024-06-13 11:09:03 +08:00
Island
27f06bef11 Merge branch 'bugfix/fix_ble_set_adv_param_check' into 'master'
Bugfix/fix ble set adv param check

Closes BLERP-739

See merge request espressif/esp-idf!30745
2024-06-13 11:04:09 +08:00
Island
54da44509c Merge branch 'bugfix/fix_ble_security_param' into 'master'
fix(ble/bluedroid): Fixed issue with resetting BLE security parameters during initialization

Closes IDFGH-12909

See merge request espressif/esp-idf!31304
2024-06-13 11:03:22 +08:00
Kevin (Lao Kaiyao)
c23165bb34 Merge branch 'feature/touch_driver_ng_on_p4' into 'master'
feat(touch_sensor): touch driver ng on p4

Closes IDF-7477

See merge request espressif/esp-idf!25941
2024-06-13 02:32:53 +08:00
Li Shuai
063af3a7a1 fix(esp_wifi): fix the issue of tbtt interrupt miss caused by beacon monitor 2024-06-12 22:17:58 +08:00
Aditya Patwardhan
ab90aec8f2 Merge branch 'fix/incorrect_pma_config_esp32p4' into 'master'
fix(esp_hw_support): Fix incorrect PMA configuration for ESP32-P4

See merge request espressif/esp-idf!31400
2024-06-12 20:01:09 +08:00
Sudeep Mohanty
0494dc45d1 Merge branch 'contrib/github_pr_13926' into 'master'
feat(ulp): Generate compile_commands.json for ULP targets (GitHub PR)

Closes IDFGH-12974 and IDFGH-10664

See merge request espressif/esp-idf!31461
2024-06-12 19:44:52 +08:00
zhanghaipeng
21bfbaca61 fix(ble/controller): Update esp32 bt-lib (1e63e23)
- Optimized GATT write and notify throughput on ESP32
- Fixed BLE connect timeout after using DTM on ESP32
- Added ke memory debug tools on ESP32
- Fixed memory leak issue when BLE SCAN and other event coexist on ESP32
2024-06-12 19:34:41 +08:00
Jiang Jiang Jian
a5c0fcea8e Merge branch 'bugfix/wps_mode_change' into 'master'
fix(esp_wifi): Fix for issue in changing opmode when wps is enabled

Closes WIFIBUG-478

See merge request espressif/esp-idf!30111
2024-06-12 18:48:19 +08:00
Rahul Tank
23d88abbfb fix(nimble): Added change to handle extra memory for ext adv reattempt 2024-06-12 15:10:49 +05:30
Ivan Grokhotkov
aad9ab02e8
feat(esp_eth): enable openeth in QEMU for ESP32-S3 2024-06-12 10:50:13 +02:00
andylinpersonal
700f9b7e90 feat(ulp): Generate compile_commands.json for ulp targets
This commit adds the generation of the compile_command.json file for ULP
and LP core apps.

Merges https://github.com/espressif/esp-idf/pull/13926
2024-06-12 10:17:16 +02:00
laokaiyao
d263ab3145 docs(touch): add doc for cap touch sens driver 2024-06-12 15:44:25 +08:00
Martin Vychodil
c4ffee4b81 Merge branch 'feat/sdio_validate_hs_mode' into 'master'
feat(sdmmc): add high speed mode switch validation check for SDIO

See merge request espressif/esp-idf!30743
2024-06-12 15:38:44 +08:00
Roman Leonov
0a78f7207b Merge branch 'feature/usb_host_hub_uid_prereq' into 'master'
feat(hub): Added device tree nodes list and uid calculation logic

See merge request espressif/esp-idf!31043
2024-06-12 15:30:27 +08:00
aditi_lonkar
c890c85d3d fix(esp_wifi): Fix for issue in changing opmode when wps is enabled 2024-06-12 12:34:52 +05:30
Island
8057d80f25 Merge branch 'bugfix/fix_some_ble_bugs_240531' into 'master'
Fixed some BLE bugs 240531 on ESP32C3 (0738a61)

See merge request espressif/esp-idf!31260
2024-06-12 14:13:43 +08:00
Armando (Dou Yiwen)
cd1ec8426c Merge branch 'doc/isp_bf_dvp_programming_guide' into 'master'
isp: bf dvp programming guide

Closes IDF-10091 and IDF-10092

See merge request espressif/esp-idf!31361
2024-06-12 14:13:11 +08:00
morris
15cebb6be7 Merge branch 'feat/rmt_sleep_retention_esp32p4' into 'master'
feat(rmt): support sleep retention on esp32p4

Closes IDF-9936

See merge request espressif/esp-idf!31390
2024-06-12 13:47:55 +08:00
Armando
615f486791 fix(esp_system): fixed not necessary public require to bootloader_support 2024-06-12 12:13:06 +08:00
Armando
7861856db0 doc(isp): isp bf programming guide 2024-06-12 12:13:06 +08:00
laokaiyao
b09a7a922d ci(touch): add test cases for cap touch sens driver 2024-06-12 12:09:17 +08:00
laokaiyao
865e3ee2de feat(touch_sens): touch sensor driver-ng on P4 2024-06-12 12:09:17 +08:00
Jiang Jiang Jian
11bbd9b76d Merge branch 'fix/fix_sta_scan_when_connected_cause_bcn_timeout_loop' into 'master'
fix(wifi): fix sta scan when connected cause bcn timeout loop issue

Closes WIFBUG-606

See merge request espressif/esp-idf!31438
2024-06-12 12:05:35 +08:00
Gao Xu
3ec99db2d5 Merge branch 'feat/esp32c5_mp_uart_support' into 'master'
feat(uart): support HP/LP uart on ESP32C5 MP

Closes IDF-8722

See merge request espressif/esp-idf!31024
2024-06-12 11:00:51 +08:00
Armando (Dou Yiwen)
3af0335b3f Merge branch 'feature/p4_lcdcam_dvp_cam_driver' into 'master'
feat(cam): add esp32-p4 lcd_cam dvp driver

Closes IDF-10029

See merge request espressif/esp-idf!31085
2024-06-12 10:44:44 +08:00
morris
31fd72538f feat(rmt): support sleep retention on esp32p4 2024-06-12 10:44:20 +08:00
Marius Vikhammer
34cc6c0464 Merge branch 'bugfix/clic_intr_thresh' into 'master'
fix(intr): fixed intr threshhold min level on C5

See merge request espressif/esp-idf!31269
2024-06-12 10:40:46 +08:00
Marius Vikhammer
eb24a57728 feat(intr): basic interrupt/freertos support for C61 2024-06-12 09:25:47 +08:00
Song Ruo Jing
3d7cce3d6a Merge branch 'feature/esp32c5_xtal_support' into 'master'
feat(clk): support ESP32C5 XTAL 40M/48M selection

Closes IDF-8943

See merge request espressif/esp-idf!31409
2024-06-12 00:18:50 +08:00
David Čermák
64fb5a2849 Merge branch 'feat/netif_errcode_wifitxfail_2' into 'master'
change(esp_netif): Add Non-Fatal errtype to indicate lower layer medium failure

See merge request espressif/esp-idf!29835
2024-06-11 22:02:49 +08:00
Mohammad-Mohsen Aseman-Manzar
51fb928d4b
Fix stack overflow bug for examples/bluetooth/esp_hid_device when using esp32s3 with nimble
Related to 60354c39a9
2024-06-11 16:13:34 +03:30
gaoxu
ed6ca697cf feat(uart): support HP/LP uart on ESP32C5 MP 2024-06-11 19:34:03 +08:00
Kapil Gupta
63386f34bf Merge branch 'bugfix/wpa3_init_crash' into 'master'
fix(wpa_supplicant): Fix wpa3 AP crash because of dangling pointer

Closes WIFIBUG-540

See merge request espressif/esp-idf!31358
2024-06-11 18:06:30 +08:00
Song Ruo Jing
ac6101bf4e feat(clk): support ESP32C5 XTAL 40M/48M selection 2024-06-11 17:42:43 +08:00
wangtao@espressif.com
644944f30a fix(wifi): fix sta scan when connected cause bcn timeout loop issue 2024-06-11 16:25:51 +08:00
Jiang Jiang Jian
721b4c89c9 Merge branch 'bugfix/fix_configure_gcmp_failure_issue' into 'master'
fix(wifi): fix configure gcmp failure issue

Closes WIFIBUG-618

See merge request espressif/esp-idf!31312
2024-06-11 16:10:34 +08:00
Yogesh Mantri
586207207f change(esp_netif): Add Non-Fatal errtype to indicate lower layer medium failure
UDP application sends packet using esp_netif, underlying transport such
as Wi-Fi may drop the packet due to higher load. New error code
represent transient, non-fatal packet drop error. udp application may
use such errtype, for example to rate limit.
2024-06-11 09:20:49 +02:00
Roman Leonov
b688ee2cba feat(hub): Added device tree nodes list and uid calculation 2024-06-11 09:20:42 +02:00
Dong Heng
a347fa175f feat(cam): add esp32-p4 lcd_cam dvp driver 2024-06-11 10:59:27 +08:00
wuzhenghui
083ef29dcd
change(esp_hw_support): remove esp32c6 & esp32h2 solved todos 2024-06-11 10:20:23 +08:00
Roman Leonov
d214c482f6 fix(enum): Added STALL handling on descriptor fetching 2024-06-10 19:45:15 +02:00
Roman Leonov
db1f13d259 fix(enum): Removed unused value 2024-06-10 19:45:15 +02:00
David Cermak
d3567b080f fix(esp_netif): Don't warn about disabling napt if wasn't enabled 2024-06-10 13:34:06 +02:00
harshal.patil
a8f509f481
fix(esp_hw_support): Fix incorrect PMA configuration for ESP32-P4
- As the PMA entry that made some memory regions cacheable was
assigned the highest priority, some intermediate inaccessible
memory regions bypassed protection.

- Added tests for the same

- Verified that even after changing the priority of the PMA entry,
a write operation at SOC_IRAM_LOW + 0x40 (a random RAM cached address)
still needs the same number (29) of CPU cycles.
2024-06-10 11:55:58 +05:30
Anton Maklakov
21258ad833 Merge branch 'fix/lwip-gnu-analyzer-warnings' into 'master'
fix(lwip): fix gcc -fanalyzer warnings

See merge request espressif/esp-idf!31395
2024-06-09 13:40:39 +08:00
Kevin (Lao Kaiyao)
d92b8c37ce Merge branch 'feature/support_isp_ccm' into 'master'
feat(isp_ccm): support isp color correction matrix

Closes IDF-10080

See merge request espressif/esp-idf!31244
2024-06-07 16:36:58 +08:00
Alexey Lapshin
23b726acbd fix(lwip): fix gcc -fanalyzer warnings 2024-06-07 15:00:44 +07:00
morris
d4c7537ec6 Merge branch 'refator/re-enable_test_on_p4' into 'master'
fix(gptimer): re-enable legacy_test on p4

Closes IDF-8962

See merge request espressif/esp-idf!31372
2024-06-07 15:23:09 +08:00
Aditya Patwardhan
874388c628 Merge branch 'feature/enable_flash_encryption_for_c5' into 'master'
feat: enable flash encryption support for c5

Closes IDF-8622 and IDF-9480

See merge request espressif/esp-idf!29578
2024-06-07 14:30:39 +08:00
Wu Zheng Hui
8cd9e78944 Merge branch 'bugfix/fix_lp_timer_half_world_access' into 'master'
fix(hal): fix LP timer LL half word access

Closes PM-148

See merge request espressif/esp-idf!31370
2024-06-07 14:12:30 +08:00
muhaidong
812faf4f7d fix(wifi): fix configure gcmp failure issue 2024-06-07 14:04:23 +08:00
Chen Jichang
12d2eff381 fix(gptimer): re-enable test on P4
Remove timer_get_counter_time_sec in the ISR. Keep ISR as fast as
possible and not allow FPU usage.
2024-06-07 11:12:45 +08:00
laokaiyao
251fb331d2 feat(isp_ccm): support isp color correction matrix 2024-06-07 10:54:56 +08:00
C.S.M
6c4534b6f4 Merge branch 'bugfix/disable_fib_bod' into 'master'
fix(bod): Disable fib in bootloader so that interrupt can be triggered properly

See merge request espressif/esp-idf!31238
2024-06-07 10:32:41 +08:00
Konstantin Kondrashov
391aabf73f Merge branch 'feature/linux_esp_err_support' into 'master'
feat(esp_common): Support ESP_ERROR_CHECK_ macros on Linux

Closes IDFGH-12933

See merge request espressif/esp-idf!31320
2024-06-06 22:17:28 +08:00
wuzhenghui
657d0cadb7
fix(hal): fix PMU LL half word and byte access 2024-06-06 21:03:31 +08:00
Konstantin Kondrashov
fc5ce967a6 feat(esp_rom): Support precision attr for esp_rom_vprintf 2024-06-06 15:37:21 +03:00
Song Ruo Jing
745ca1a4eb Merge branch 'feature/ppa_add_test_cases' into 'master'
feat(ppa): add test cases to test PPA data correctness

See merge request espressif/esp-idf!31331
2024-06-06 20:29:56 +08:00
wuzhenghui
65bfc12f20
fix(hal): fix LP timer LL half word access 2024-06-06 20:07:53 +08:00
Radek Tandler
c21b5bbbf2 Merge branch 'feature/storage_nvs_psram' into 'master'
nvs_flash: Enable heap allocation in SPIRAM

See merge request espressif/esp-idf!27181
2024-06-06 19:51:12 +08:00
Ondrej Kosta
e9adde3485 Merge branch 'bugfix/yeat_another_memory_leak' into 'master'
fix(esp_eth): Fixed another memory leak ESP MAC

Closes IDF-10079

See merge request espressif/esp-idf!31336
2024-06-06 18:48:09 +08:00
Song Ruo Jing
fb7afe607e feat(ppa): add test cases to test PPA data correctness 2024-06-06 18:10:53 +08:00
Ivan Grokhotkov
ac2092c362 Merge branch 'bugfix/sdmmc_psram_esp32s3' into 'master'
fix(sdmmc): fix invalid data when reading/writing PSRAM buffers

Closes IDF-10081

See merge request espressif/esp-idf!31346
2024-06-06 16:43:33 +08:00
C.S.M
7909291922 fix(bod): Disable fib in bootloader so that interrupt can be triggered properly 2024-06-06 15:22:53 +08:00
Wu Zheng Hui
3ba7d63305 Merge branch 'fix/support_union_lp_io_clk_control' into 'master'
fix(esp_driver_gpio): manage lp_io module clock by driver

Closes IDFGH-12693

See merge request espressif/esp-idf!30961
2024-06-06 14:29:18 +08:00
radek.tandler
ffaf1d2968 feat(nvs_flash): Added Kconfig option contolling NVS heap allocation source
NVS configuration is extended with Kconfig option controlling RAM area for
NVS heap allocation. Either Internal RAM or SPIRAM can be chosen.
Tests were extended to check memory consumption from Internal and SPIRAM pool with respect
to the Kconfig option chosen.
Documentation was extended with notes related to NVS behavior in various situations.
2024-06-06 08:25:51 +02:00
Shreyas Sheth
e331dff337 fix(wpa_supplicant): Fix wpa3 AP crash because of dangling pointer 2024-06-06 11:29:05 +05:30
Rahul Tank
2dec6e1c3e Merge branch 'bugfix/ble_gap_unpair_error_code' into 'master'
fix(nimble): Added return code in ble_gap_unpair error logs

See merge request espressif/esp-idf!31289
2024-06-06 12:39:16 +08:00
Xu Si Yu
cc97991ff8 Merge branch 'feat/update_otbr_lib' into 'master'
feat(openthread): update BR lib

See merge request espressif/esp-idf!31296
2024-06-06 12:26:33 +08:00
zhangyanjiao
fa4d07b7d7 fix(wifi): do not send null data when scan start/done for mesh
Closes https://github.com/espressif/esp-idf/issues/13786
2024-06-06 10:40:36 +08:00
Bogdan Kolendovskyy
75222cc6b7 Merge branch 'feature/emac_insufficient_tx_buffer_debug_log' into 'master'
feat(esp_eth): Do not produce error when insufficient TX buffer size happens

See merge request espressif/esp-idf!31175
2024-06-05 19:29:06 +08:00
Ivan Grokhotkov
6ed7e93676
fix(sdmmc): fix invalid data when reading/writing PSRAM buffers
Previous commit has enabled buffers in PSRAM for ESP32-P4. But this
also caused a regression for ESP32-S3, where PSRAM is not DMA capable.
This commit re-introduces the check for esp_ptr_external_ram in case
SOC_SDMMC_PSRAM_DMA_CAPABLE is not set.
2024-06-05 13:12:03 +02:00
wuzhenghui
cca222948a
fix(esp_driver_gpio): manage lp_io module clock by driver
Closes https://github.com/espressif/esp-idf/issues/13683
2024-06-05 17:56:37 +08:00
Ondrej Kosta
f9071cfce1 fix(esp_eth): Fixed another memory leak ESP MAC 2024-06-05 11:30:04 +02:00
Gao Xu
78c40fd19a Merge branch 'esp32p4/add_adc_support' into 'master'
feat(adc): support ADC oneshot/continuous mode on ESP32P4

Closes IDF-6496 and IDF-6497

See merge request espressif/esp-idf!28281
2024-06-05 16:31:59 +08:00
David Čermák
4e5c837b5d Merge branch 'fix/netif_ppp_server_negotiate_own_addr' into 'master'
fix(esp_netif): Fix PPP server to negotiate its own address is configured

Closes IDFGH-12759

See merge request espressif/esp-idf!30810
2024-06-05 15:54:02 +08:00
David Cermak
3a63cb80bb fix(esp_netif): Fix missing IPv6 autoconfig for PPP netifs
Closes https://github.com/espressif/esp-idf/issues/13713
2024-06-05 08:28:18 +02:00
Armando (Dou Yiwen)
4220c184c9 Merge branch 'change/change_isp_new_processer_pipeline_items' into 'master'
isp: don't init unnecessary isp pipeline items when doing isp_new_processor

See merge request espressif/esp-idf!31327
2024-06-05 14:26:48 +08:00
Konstantin Kondrashov
023d112cbf feat(esp_common): Support ESP_ERROR_CHECK_ macros on Linux
Closes https://github.com/espressif/esp-idf/issues/13893
2024-06-05 09:00:51 +03:00
Konstantin Kondrashov
788455f3a8 Merge branch 'feature/bootloader_add_extern_c' into 'master'
fix(bootloader_support): Add missing c linkage to some headers

Closes IDFGH-12930

See merge request espressif/esp-idf!31300
2024-06-05 13:54:35 +08:00
Abhinav Kudnar
cefcba9910 fix(nimble): Added return code in ble_gap_unpair error logs 2024-06-05 09:32:49 +05:30
Rahul Tank
2bc29a788a Merge branch 'bugfix/explict_free_adv_data' into 'master'
fix(nimble): Explicitly NULL assign adv data

Closes BLERP-795

See merge request espressif/esp-idf!31286
2024-06-05 11:41:15 +08:00
zhanghaipeng
42ca04b586 fix(ble/bluedroid): Fixed issue with resetting BLE security parameters during initialization 2024-06-05 11:40:58 +08:00
Armando
b4ddeeeeb9 change(isp): don't init unnecessary isp pipeline items when doing isp_new_processor 2024-06-05 11:10:24 +08:00
Armando (Dou Yiwen)
efe63f8950 Merge branch 'bugfix/fix_some_isp_issues' into 'master'
isp: fix some isp issues

See merge request espressif/esp-idf!31298
2024-06-05 10:16:59 +08:00
Shu Chen
d3192b610b Merge branch 'fix/ieee802154_can_not_sleep_when_only_pm_enable' into 'master'
fix(802.15.4): fixed ieee802154 will sleep when only pm enabled

Closes TCI-1620

See merge request espressif/esp-idf!31288
2024-06-05 10:01:06 +08:00
Shu Chen
d051410609 Merge branch 'bugfix/remove_task_for_ot_tasklet' into 'master'
fix(openthread): remove the empty task for openthread tasklets

Closes TZ-902

See merge request espressif/esp-idf!31176
2024-06-05 09:47:51 +08:00
morris
a7e7fe2ee8 Merge branch 'refactor/async_memcpy_allocate_dma_memory' into 'master'
refactor(async_memcpy): clean up memory allocation code

See merge request espressif/esp-idf!31197
2024-06-04 21:09:48 +08:00
morris
d922bf5c02 Merge branch 'refactor/emac_alloc_dma_buffer' into 'master'
refactor(emac): use heap component API to allocate cached aligned DMA buffer

See merge request espressif/esp-idf!31254
2024-06-04 21:04:51 +08:00
linruihao
1214a9684a fix(bt): Overwrite a function in esp32c3 eco7 rom 2024-06-04 19:25:19 +08:00
Marius Vikhammer
21c111465a Merge branch 'docs/c61_support' into 'master'
docs(c61): add docs build for C61

Closes IDF-9287

See merge request espressif/esp-idf!31182
2024-06-04 18:13:38 +08:00
Bogdan Kolendovskyy
514d8cb51d feat(esp_eth): Do not produce error when insufficient TX buffer size happens 2024-06-04 12:06:59 +02:00
andylinpersonal
100f23a1c1 fix(bootloader_support): Add missing c linkage to some headers
Merges https://github.com/espressif/esp-idf/pull/13890
2024-06-04 12:39:39 +03:00
nilesh.kale
d1fa51e3c9 feat: enable flash encryption support for c5
This commit provide support for flash encryption feature in ESP32C5
2024-06-04 14:10:21 +05:30
Armando
ab2e430d2c fix(isp): reverted only raw8 input limits 2024-06-04 15:09:04 +08:00
Armando
ba79a66502 change(isp): change isp_af_window_t to isp_window_t 2024-06-04 15:09:04 +08:00
zwx
6a11208c47 feat(openthread): update BR lib 2024-06-04 12:18:13 +08:00
Mahavir Jain
4ad401f872 Merge branch 'bugfix/update_ecdsa_api_for_c5' into 'master'
fix(hal): update ECDSA API to set register values correctly for ESP32C5

See merge request espressif/esp-idf!31219
2024-06-04 12:14:01 +08:00
Shu Chen
6d3cbbfadd Merge branch 'feature/silent_ieee802154_buffer_full' into 'master'
feat(802154): silent the ieee802154 logs

See merge request espressif/esp-idf!31090
2024-06-04 10:47:52 +08:00
Michael (XIAO Xufeng)
9468bc3784 Merge branch 'fix/check_ring_buffer_before_fill' into 'master'
fix(uart): remove unnecessary wait when sending message to ring buffer

See merge request espressif/esp-idf!30839
2024-06-04 10:47:00 +08:00
Kevin (Lao Kaiyao)
ad57a47d21 Merge branch 'feature/support_isp_awb' into 'master'
feat(isp): Support ISP Auto White Balance (AWB)

Closes IDF-9593

See merge request espressif/esp-idf!30137
2024-06-04 10:37:16 +08:00
Island
82af82501c Merge branch 'bugfix/esp32c2_fixed_some_ble_issues_master' into 'master'
Bugfix/esp32c2 fixed some ble issues master

Closes BLERP-768, BLERP-789, BLERP-765, BLERP-766, BLERP-769, and BLERP-655

See merge request espressif/esp-idf!31215
2024-06-04 10:21:55 +08:00
laokaiyao
846287bc40 docs(isp_awb): add isp awb programming guide 2024-06-03 23:41:48 +08:00
laokaiyao
28a1091643 feat(isp_awb): support isp auto white balance 2024-06-03 23:41:48 +08:00
laokaiyao
1933973f99 feat(hal_utils): added float to fixed point function 2024-06-03 23:41:48 +08:00
morris
8760e6d2a7 Merge branch 'refactor/i2s_dma_buffer_allocation' into 'master'
refactor(i2s): clean up DMA buffer allocation

Closes IDF-9636

See merge request espressif/esp-idf!31282
2024-06-03 21:26:04 +08:00
Rahul Tank
bd3fddc6b3 fix(nimble): Explicitly NULL assign adv data 2024-06-03 18:08:20 +05:30
zwx
10f0077baf feat(802154): log buffer full message in debug mode only 2024-06-03 20:22:06 +08:00
Song Ruo Jing
2d8c719fbb Merge branch 'feature/support_uart_sleep_retention' into 'master'
feat(uart): support uart module sleep retention

Closes IDF-8457

See merge request espressif/esp-idf!26729
2024-06-03 20:05:54 +08:00
Roman Leonov
8d3f4cad1e Merge branch 'refactor/usb_host_enum_as_driver' into 'master'
refactor(hub): ENUM Driver

Closes IDF-9523

See merge request espressif/esp-idf!29892
2024-06-03 19:59:50 +08:00
zwx
38754c6224 fix(802.15.4): fixed ieee802154 will sleep when only pm enabled 2024-06-03 19:53:08 +08:00
Armando (Dou Yiwen)
137a9a0479 Merge branch 'bugfix/fix_wrong_soc_af_window_macro_usage' into 'master'
isp: fixed wrong isp af window soc macro usage

See merge request espressif/esp-idf!31273
2024-06-03 18:55:32 +08:00
Wang Meng Yang
bf821f347d Merge branch 'fix/assert_in_bt_controller' into 'master'
fix(bt): fix the assert triggered during APB TX

Closes BTQABR2023-301

See merge request espressif/esp-idf!31069
2024-06-03 17:41:15 +08:00
gaoxu
795f3fe377 feat(adc): support ADC continuous mode on ESP32P4 2024-06-03 16:50:39 +08:00
Kevin (Lao Kaiyao)
d8b7eb20d7 Merge branch 'fix/peripheral_driver_kconfig_inconsistence' into 'master'
fix(kconfig): fixed peripheral driver kconfig inconsistencies

See merge request espressif/esp-idf!31243
2024-06-03 16:44:32 +08:00
Roman Leonov
39f91a3d5a refactor(enum): Curved out Enumeration process from Hub Driver 2024-06-03 10:27:37 +02:00
Aditya Patwardhan
2f77896198 Merge branch 'contrib/github_pr_13618' into 'master'
fix(esp-tls): make the wolfSSL backend send entire client certificate… (GitHub PR)

Closes IDFGH-12621

See merge request espressif/esp-idf!31055
2024-06-03 16:21:30 +08:00
Darian
cfb8af0cd0 Merge branch 'feature/freertos_smp_update_to_v11_1_0' into 'master'
FreerTOS: Update Amazon SMP FreeRTOS files to V11.1.0

See merge request espressif/esp-idf!31255
2024-06-03 16:17:01 +08:00
morris
2b1466b070 refactor(i2s): clean up DMA buffer allocation 2024-06-03 16:13:13 +08:00
Jiang Jiang Jian
0e39655d70 Merge branch 'bugfix/fix_disable_gcmp_choose_pairwise_cipher_wrong_issue' into 'master'
fix(wifi): fixed disable gcmp choose pairwise cipher wrong issue

Closes WIFIBUG-603 and WIFIBUG-403

See merge request espressif/esp-idf!31229
2024-06-03 15:41:03 +08:00
Aditya Patwardhan
f412149dc9 Merge branch 'feat/enable_secure_boot_for_c5' into 'master'
feat: enable secure boot for c5

Closes IDF-8623 and IDF-9478

See merge request espressif/esp-idf!29774
2024-06-03 15:35:51 +08:00
gongyantao
e80feeab1a fix(bt): fix some issues in bt controller
1: fix return incorrect link key with hci command rd_stored_link_key
2: fix the assert triggered during APB TX
2024-06-03 15:21:38 +08:00
muhaidong
ab12901f44 fix(wifi): fixed disable gcmp choose pairwise cipher wrong issue 2024-06-03 14:52:51 +08:00
Armando
8021d8fcc8 fix(isp): fixed wrong isp af window soc macro usage 2024-06-03 12:51:59 +08:00
Song Ruo Jing
dca7c286d0 feat(uart): support uart module sleep retention on c6/h2/p4 2024-06-03 12:40:43 +08:00
Marius Vikhammer
13e5b6f335 Merge branch 'feature/lp_core_pcnt' into 'master'
feat(ulp): add pulse counter example for lp core

Closes IDF-9137

See merge request espressif/esp-idf!31163
2024-06-03 12:33:50 +08:00
Marius Vikhammer
d42d77b55d Merge branch 'docs/fix_broken_links' into 'master'
docs(links): fix broken links found in CI

See merge request espressif/esp-idf!30977
2024-06-03 12:05:19 +08:00
Jiang Jiang Jian
b3f2f9c12b Merge branch 'bugfix/fix_data_len_not_correct_in_he_actions' into 'master'
fix(wifi):fix data len not correct in he actions

See merge request espressif/esp-idf!31124
2024-06-03 12:04:50 +08:00
Marius Vikhammer
61f1975882 fix(intr): fixed intr threshhold min level on C5 2024-06-03 11:54:48 +08:00
laokaiyao
db77f66721 fix(kconfig): fixed peripheral driver kconfig inconsistencies 2024-06-03 11:51:00 +08:00
Jiang Jiang Jian
2324dbdcae Merge branch 'bugfix/fix_dhcp_pool_issue_on_dhcp_server' into 'master'
fix(lwip): fixed the dhcp pool error on dhcp server

Closes IDF-9977

See merge request espressif/esp-idf!30987
2024-06-03 11:18:01 +08:00
chenjianhua
f4edc80019 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(0738a61)
- Fixed BT BB interrupt allocation
- Refactor the prefix of assert print
- Fixed HCI LE set privacy mode command handle
2024-06-03 11:15:56 +08:00
Jiang Jiang Jian
7ac98d33e3 Merge branch 'bugfix/annotation_a_rom_function' into 'master'
fix(wifi): annotate a rom function

See merge request espressif/esp-idf!31142
2024-06-03 10:56:56 +08:00
Xiaoyu Liu
9a5ca8fac6 feat(console): Add an API function to de-register the specified console command 2024-06-03 10:48:22 +08:00
Marius Vikhammer
2eb4cd3d84 docs(c61): add docs build for C61 2024-06-03 10:24:27 +08:00
Darian Leung
5d75bfdb3c
feat(freertos/smp): Update SMP FreeRTOS files to V11.1.0
This commit updates the source files of Amazon SMP FreeRTOS to upstream
V11.1.0 (https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/V11.1.0).

This version contains some new features and bugfixes. See upstream V11.1.0
release notes for more details.

Note: ESP-IDF specific changes to the source file have been preserved
2024-06-03 03:13:58 +08:00
morris
e5b7987e21 refactor(emac): use heap component API to allocate cached aligned DMA buffer 2024-06-02 22:19:46 +08:00
Rahul Tank
c7bbfaee25 Merge branch 'bugfix/copy_ext_adv_data_reattempt' into 'master'
fix(nimble): Use appendfrom to duplicate adv data

See merge request espressif/esp-idf!31224
2024-06-01 18:56:22 +08:00
Armando (Dou Yiwen)
b28599aa9a Merge branch 'feat/isp_dvp_driver' into 'master'
isp: dvp driver

Closes IDF-6501

See merge request espressif/esp-idf!28610
2024-06-01 02:52:59 +08:00
Darian
6601b7d92f Merge branch 'fix/usb_tests_rmv_str_desc_checks' into 'master'
fix(usb): Remove product and serial string descriptor checks from unit tests

Closes IDFCI-1783 and IDFCI-1766

See merge request espressif/esp-idf!31201
2024-06-01 01:46:30 +08:00
Wan Lei
55d4de5129 Merge branch 'fix/spi_hd_seg_fix_iwdt_timeout' into 'master'
fix(spi_slave_hd): fix seg mode potential iwdt timeout when multi task call

Closes IDF-9671

See merge request espressif/esp-idf!30224
2024-05-31 20:36:34 +08:00
C.S.M
c285c7a090 Merge branch 'bugfix/distin_err_type' into 'master'
bugfix(jpeg): Fix that jpeg driver does not distinguish err handle mode

See merge request espressif/esp-idf!31180
2024-05-31 19:08:01 +08:00
Armando
e08469517c test(isp_dvp): added isp_dvp test 2024-05-31 18:47:27 +08:00
Armando
6930bfdef6 fix(csi): fixed csi wrong state machine settings 2024-05-31 18:47:27 +08:00
Armando
70d2ed5ee8 feat(isp): added isp dvp driver 2024-05-31 18:47:27 +08:00
Roland Dobai
7b7f73ba2a Merge branch 'feat/add_espsecure_subcommands' into 'master'
feat: Add espsecure subcommands into idf.py

See merge request espressif/esp-idf!29424
2024-05-31 18:29:55 +08:00
yinqingzhao
18f694b4fa fix(wifi):fix data len not correct in he actions 2024-05-31 18:20:31 +08:00
Wang Meng Yang
809f1e347b Merge branch 'bugfix/l2cap_use_wrong_handle' into 'master'
fix(bt/bluedroid):  Fixed the issue of using the wrong handle to handle the BTA_JV_L2CAP_READ_EVT event

Closes IDFGH-12886

See merge request espressif/esp-idf!31098
2024-05-31 17:47:05 +08:00
Konstantin Kondrashov
53c0886469 Merge branch 'feature/esp_rom_vprintf' into 'master'
feat(esp_rom): Adds esp_rom_vprintf with the same capabilities as esp_rom_print

See merge request espressif/esp-idf!31030
2024-05-31 17:42:56 +08:00
Island
f69f8a376e Merge branch 'bugfix/bleqabr24-549' into 'master'
fix(ble_mesh): fix issues in mesh deinit

Closes BLERP-720

See merge request espressif/esp-idf!30539
2024-05-31 15:18:22 +08:00
sonika.rathi
1af74c8a4a feat(sdmmc): add high speed mode switch validation check for SDIO 2024-05-31 09:14:36 +02:00
wuzhenghui
cced83e790
fix(esp_hw_support): reset smp core state if the sleep request is rejected by hardware 2024-05-31 14:51:18 +08:00
wuzhenghui
7a9fb14f90
feat(esp_hw_support): bypass rst_reason override for esp32p4eco1 2024-05-31 14:51:15 +08:00
wuzhenghui
edbd2266a4
feat(esp_hw_support): support LP_Peripheral & CNNT power domain auto powerdown on esp32p4eco1 2024-05-31 14:51:10 +08:00
Jiang Jiang Jian
e382f401f8 Merge branch 'bugfix/add_deprecated_warning_for_wpa3_ext' into 'master'
fix(wifi): Add back `WIFI_AUTH_WPA3_EXT_PSK` and `WIFI_AUTH_WPA3_EXT_PSK_MIXED_MODE` for v5.x (instead of removing them)

See merge request espressif/esp-idf!31164
2024-05-31 14:27:55 +08:00
Rahul Tank
82bb1a79e4 fix(nimble): Use appendfrom to duplicate adv data 2024-05-31 11:55:13 +05:30
zwl
5cd85b832c ble: fixed ble some issues on esp32c6 and esp32h2 2024-05-31 14:03:29 +08:00
zwl
a3e6a6b43d ble: fixed ble some issues on esp32c2 2024-05-31 14:03:29 +08:00
nilesh.kale
7c8a43ffc2 fix(hal): update ECDSA API to set register values correctly for ESP32C5
This commit updates the ECDSA API to enable and clear interrupts by
setting the respective registers correctly for the ESP32C5.
2024-05-31 11:33:18 +05:30
C.S.M
a20d865bf5 bugfix(jpeg): Fix that jpeg driver does not distinguish err handle mode 2024-05-31 14:03:09 +08:00
morris
7425154472 Merge branch 'change/dw_gdma_memory_allocation' into 'master'
change(dw_gdma): clean up memory allocation for link list items

Closes IDF-9861

See merge request espressif/esp-idf!31167
2024-05-31 12:55:08 +08:00
Ivan Grokhotkov
1c2b273e31 Merge branch 'fix/component_enotsup' into 'master'
fix: correctly resolve component requirements

Closes IDFGH-12425

See merge request espressif/esp-idf!30112
2024-05-31 12:43:17 +08:00
Mahavir Jain
ea726f3f98 Merge branch 'feature/enable_ecdsa_support_for_c5' into 'master'
feat: enabled ecdsa support for c5

Closes IDF-8618

See merge request espressif/esp-idf!29945
2024-05-31 12:28:36 +08:00
luoxu
cee98dae25 fix(ble_mesh): fix issues in mesh deinit 2024-05-31 11:10:30 +08:00
Frantisek Hrbata
fbe8bf89ee fix: properly resolve component dependencies
There is currently a bug in the __build_resolve_and_add_req function in
tools/cmake/build.cmake where the check for registered component
requirements is incorrectly applied to the component itself rather than
its dependencies. This issue likely originated from a typo, using
component_target instead of _component_target. To prevent further
confusion, _component_target has been renamed to _req_target.

Fixing this revealed multiple incorrect dependencies for the Linux
target, which have now been resolved by explicitly specifying the
dependencies for the Linux target.

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

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-05-30 22:01:55 +08:00
Sarvesh Bodakhe
4cde0246a6 fix(wifi): Add back WIFI_AUTH_WPA3_EXT_PSK and WIFI_AUTH_WPA3_EXT_PSK_MIXED_MODE
Add back above authmodes instead of removing and merging them with WIFI_AUTH_WPA3_PSK
in minor releases during v5.x.

These authmodes will be removed from v6.0
2024-05-30 19:16:45 +05:30
Frank Mertens
7a1239457e change(esp-tls): make wolfSSL backend send SNI and enable OCSP
Almost all sites these days are virtually hosted and hence
SNI (server name indicator TLS extension) should be enabled by
default.

In addition this change enables OCSP (online server status protocol)
support for esp-tls clients using the wolfSSL backend.
The 3 code lines enable OCSP stabling v1.
By default this feature is disabled.
(I will send another PR on esp-wolfssl repository to allow to
enable it easily.)
2024-05-30 21:02:12 +08:00
Frank Mertens
7e1e3df43c fix(esp-tls): make the wolfSSL backend send entire client certificate chains
This change makes the wolfSSL backend sent the complete TLS client certificate
chain. This align the wolfSSL backend with the behavior of the mbedTLS backend.
Some servers need the intermediate certificates to verify a client certificate.
If the provided PEM file contains only a single certificate this change has no effect
and the behavior will be as before.
This impacts higher level APIs to function as someone would expect.
E.g.: esp_websocket_client_config_t.client_cert: when passing here a pem
file containing 2 certificates (the CA's and the client's) it would be
expected that both are transmitted during TLS handshake.
2024-05-30 21:02:12 +08:00
Darian Leung
4954884527
fix(usb): Make string descriptor checks in unit tests optional
Checking for an exact match for product or serial and string descriptors can
lead to test failures if the USB devices connected to the runner is changed. This
commit adds some kconfig options to make the string descriptor checks optional,
with the product and serial string checks being disabled by default.
2024-05-30 19:25:18 +08:00
Xu Si Yu
494e0ab170 fix(openthread): remove the empty task for openthread tasklets 2024-05-30 19:09:46 +08:00
morris
5eaec29c02 feat(i80_lcd): add help function to allocate draw buffer with proper alignment 2024-05-30 18:33:31 +08:00
morris
c4b2bd89da change(esp_lcd): split header files by different IO interface 2024-05-30 18:33:31 +08:00
Konstantin Kondrashov
a3be04a087 feat(esp_rom): Adds esp_rom_vprintf with the same capabilities as esp_rom_print 2024-05-30 13:30:12 +03:00
morris
3e3f82a3fd refactor(async_memcpy): clean up memory allocation code 2024-05-30 18:26:34 +08:00
Rahul Tank
fdbe535434 Merge branch 'bugfix/free_reattempt_adv_data' into 'master'
fix(nimble): Added change to free memory in case of failure

See merge request espressif/esp-idf!31099
2024-05-30 17:19:40 +08:00
Marius Vikhammer
7495f3bf28 feat(ulp): add pulse counter example for lp core 2024-05-30 14:30:00 +08:00
Marius Vikhammer
bfe974a9a2 docs(links): fix broken links found in CI 2024-05-30 14:21:00 +08:00
nilesh.kale
f5dd1074b6 feat: enable secure boot for c5
This MR added suppport for secure boot in ESP32-C5.
2024-05-30 11:43:17 +05:30
Mahavir Jain
019165b950 Merge branch 'feature/esp32p4_apm_api' into 'master'
feat: add esp32p4 APM HAL/LL API

Closes IDF-9651

See merge request espressif/esp-idf!30251
2024-05-30 14:08:45 +08:00
Harshit Malpani
245ec91456 Merge branch 'contrib/github_pr_13746' into 'master'
feat(http_server): add 413 Payload Too Large response (GitHub PR)

Closes IDFGH-12767

See merge request espressif/esp-idf!31058
2024-05-30 14:02:57 +08:00
Sachin Billore
31d86175da feat: add esp32p4 APM HAL/LL API 2024-05-29 21:37:49 +05:30
morris
0453e8608b Merge branch 'bugfix/esp32h2_iomux_retention' into 'master'
fix(gpio): fix IO 21-27 IOMUX registers not being backed up on ESP32H2

See merge request espressif/esp-idf!31168
2024-05-29 21:31:36 +08:00
Harshit Malpani
8adcd2b460
fix: Fix spelling mistakes in esp_err_to_name.c 2024-05-29 18:30:01 +05:30
Harshit Malpani
61a3466941
fix: Fix spelling mistakes in esp_http_server.h 2024-05-29 18:30:00 +05:30
Maciej Małecki
e40b1402e4
feat(http_server): add 413 Payload Too Large response
While not useful for the HTTP parser itself, this is very useful for
memory-limited consumers of the HTTP server API.

Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
2024-05-29 18:30:00 +05:30
Martin Vychodil
3b771d7af2 Merge branch 'fix/disable_erase_check_for_spiffs_on_linux' into 'master'
fix(storage/esp_partition): add option to control erase check during write for linux target

Closes IDF-9201

See merge request espressif/esp-idf!29294
2024-05-29 20:35:31 +08:00
Wang Meng Yang
651e6a7b32 Merge branch 'bugfix/fix_rsw_collision' into 'master'
fix(bt/controller): Fixed role switch LMP collision bug

Closes BTQABR2023-283

See merge request espressif/esp-idf!30581
2024-05-29 19:38:19 +08:00
Tomas Rohlinek
2ccc9bcef9 Merge branch 'fix/unopened_stdout_console' into 'master'
fix(newlib/stdio): incorrect stdout redirect with /dev/console

Closes IDFGH-12416

See merge request espressif/esp-idf!30324
2024-05-29 18:40:09 +08:00
Song Ruo Jing
612e970900 fix(gpio): fix IO 21-27 IOMUX registers not being backed up on ESP32H2 2024-05-29 18:31:24 +08:00
David Cermak
99b0a765a8 fix(esp_netif): Fix PPP server to negotiate its own address is configured
Closes https://github.com/espressif/esp-protocols/issues/565
2024-05-29 18:03:04 +08:00
morris
68cb0d442f change(dw_gdma): clean up memory allocation for link list items 2024-05-29 18:00:00 +08:00
Rahul Tank
e9a857f2cc fix(nimble): Added change to free memory in case of failure 2024-05-29 14:55:43 +05:30
Rahul Tank
1572df3bb8 Merge branch 'bugfix/revert_eatt_nimble' into 'master'
feat(nimble): Revert support for Enhanced ATT

See merge request espressif/esp-idf!31161
2024-05-29 17:16:07 +08:00
Adam Múdry
ac8c27f222 Merge branch 'fix/typo_in_sdmmc_init_sd_ssr_function' into 'master'
fix: Typo in sdmmc_init_sd_ssr log string

See merge request espressif/esp-idf!31148
2024-05-29 17:09:22 +08:00
Tomáš Rohlínek
c44da2f222
feat(storage/spiffs): add host test for disabled erase check 2024-05-29 11:00:25 +02:00
Tomáš Rohlínek
97af825b14
feat(storage/vfs): make automatic nullfs initialization optional 2024-05-29 10:39:55 +02:00
liqigan
49ba7d7afd fix(bt/controller): Fixed role switch LMP collision bug 2024-05-29 15:53:19 +08:00
Rahul Tank
90960d58c6 feat(nimble): Revert support for Enhanced ATT "
This reverts commit f265e50ca0.
2024-05-29 12:39:25 +05:30
Song Ruo Jing
426e0e0395 Merge branch 'bugfix/ppa_buffer_writeback_invalidate' into 'master'
fix(ppa): fix mismatching writeback and invalidate data size on the same buffer

Closes IDF-10028

See merge request espressif/esp-idf!31134
2024-05-29 14:27:34 +08:00
Kevin (Lao Kaiyao)
0a59ae0bae Merge branch 'fix/i2s_exhaust_test_case_failure' into 'master'
fix(ci): fixed the i2s exhaust test case failure

Closes IDFCI-2176

See merge request espressif/esp-idf!31153
2024-05-29 14:26:00 +08:00
Marius Vikhammer
f157b76fff Merge branch 'feature/lp_core_panic' into 'master'
feat(ulp): add panic handler for C6/P4 LP core

See merge request espressif/esp-idf!30544
2024-05-29 14:04:20 +08:00
Rahul Tank
b5f9bd31cb Merge branch 'feature/ble_resolve_adv_data' into 'master'
feat(nimble): Added API to get resolve ADV data

See merge request espressif/esp-idf!30898
2024-05-29 13:36:31 +08:00
laokaiyao
6094d06374 fix(ci): fixed the i2s exhaust test case failure 2024-05-29 13:22:20 +08:00
Mahavir Jain
a3aa48e384 Merge branch 'feature/enable_hmac_and_ds_support_for_c5' into 'master'
feat: enabled hmac and ds peripheral support for c5

Closes IDF-8619, IDF-8616, IDF-9479, and IDF-9481

See merge request espressif/esp-idf!29287
2024-05-29 12:50:25 +08:00
morris
6e8e7cf667 Merge branch 'bugfix/mipi_dsi_rgb666_color_pixel' into 'master'
fix(dsi): fixed wrong RGB666 pixel size

See merge request espressif/esp-idf!31087
2024-05-29 11:47:52 +08:00
Armando (Dou Yiwen)
bb63b91539 Merge branch 'fix/fix_wrong_logw_in_btld' into 'master'
fix(btld): fixed wrong esp_early_loge in bootloader_utility.c

See merge request espressif/esp-idf!31151
2024-05-29 11:09:25 +08:00
muhaidong
b4ede21ddf fix(wifi): annotate a rom function 2024-05-29 10:54:20 +08:00
morris
a7ffe77de0 Merge branch 'feature/mcpwm_support_c5' into 'master'
feat(mcpwm): add driver support on esp32c5

Closes IDF-8709 and IDF-9101

See merge request espressif/esp-idf!29876
2024-05-29 10:27:35 +08:00
Wu Zheng Hui
bfc1ecdb4b Merge branch 'feat/support_tg_retention' into 'master'
change(esp_hw_support): do TG WDT/Timer retention by needs

Closes IDF-8463, PM-110, and IDFGH-12238

See merge request espressif/esp-idf!28154
2024-05-29 10:19:19 +08:00
Armando
d806dbe70c fix(btld): fixed wrong esp_early_loge in bootloader_utility.c 2024-05-29 10:00:41 +08:00
Adam Múdry
a97aaf19d8 fix: Typo in sdmmc_init_sd_ssr log string 2024-05-28 21:21:34 +02:00
morris
1861dc12a0 change(dsi): use DW_GDMA as the flow controller
previously the DSI_Bridge was set as the flow controller
2024-05-28 22:36:03 +08:00
morris
75b221436c fix(dsi): fixed wrong RGB666 pixel size 2024-05-28 22:36:03 +08:00
nilesh.kale
00fa28259b feat: enabled ecdsa support for c5
This commit adds support for ECDSA for ESP32-C5
2024-05-28 17:33:05 +05:30
C.S.M
2466add620 Merge branch 'bugfix/jpeg_error_handle' into 'master'
fix(jpeg): Modify jpeg deocde/encode error handling logic

See merge request espressif/esp-idf!31117
2024-05-28 18:13:26 +08:00
Song Ruo Jing
b7e595d211 fix(ppa): fix mismatching writeback and invalidate data size on the same buffer 2024-05-28 16:59:13 +08:00
C.S.M
e4deaf08a7 Merge branch 'feat/flash_32bit_support_p4' into 'master'
feature(spi_flash): Add 32bit address support for esp32p4 eco1

Closes IDF-9597 and IDF-7518

See merge request espressif/esp-idf!30940
2024-05-28 16:28:58 +08:00
C.S.M
c620a2fa39 fix(jpeg): Modify jpeg deocde/encode error handling logic, fix if one picture wrong, all picture wrong issue 2024-05-28 16:24:40 +08:00
Tomáš Rohlínek
f753434640
fix(storage/esp_partition): add option to control erase check during write for linux target 2024-05-28 10:05:58 +02:00
Liu Xiao Yu
6e20be1d95 Merge branch 'feat/intelligent_console_help' into 'master'
feat(system/console): add help command verbose level option

Closes IDFGH-7603

See merge request espressif/esp-idf!30929
2024-05-28 15:38:59 +08:00
wuzhenghui
97ecad2a98
fix(esp_hw_support): set pau entry backup configuration with link update 2024-05-28 15:19:27 +08:00
wuzhenghui
ffd08ac41b
change(esp_hw_support): use union retention link priority definiation 2024-05-28 15:19:27 +08:00
wuzhenghui
8e123d5390
feat(esp_hw_support): optimize retention link info dump 2024-05-28 15:19:26 +08:00
Li Shuai
52f8a26af5
fix(esp_hw_support): use iterator for regdma_link_stats to save stack consume
Closes https://github.com/espressif/esp-idf/issues/13288
2024-05-28 15:19:26 +08:00
wuzhenghui
070cf9d5e2
fix(ci): use esp_rom_crc32_le in sleep retention frame check 2024-05-28 15:19:26 +08:00
wuzhenghui
138224ae1b
ci(esp_driver_gptimer): add gptimer pd_top sleep retention test case 2024-05-28 15:19:25 +08:00
wuzhenghui
6a272c7712
ci(esp_system): add task watchdog pd_top sleep retention test case 2024-05-28 15:19:25 +08:00
wuzhenghui
8518bf2ea7
change(esp_driver_gptimer): do gptimer timer target retention by needs 2024-05-28 15:19:24 +08:00
wuzhenghui
a68668c392
change(esp_hw_support): do timergroup watchdogs retention by needs 2024-05-28 15:17:19 +08:00
Mathy Vanvoorden
d35239dd28 fix(esp_driver_spi): Make spi_bus_free() exit early on issues
If for example there are still devices configured on the bus
spi_bus_free() will report that with ESP_ERR_INVALID_STATE, but not
before it frees all other things like IO and DMA. This means that
after the function exits any other task that is still running and
using those devices will all of a sudden stop working (and probably
crash the device).

This commit prevents that situation by making the function return
early so it can be called again safely later when all devices have
been removed.

Closes https://github.com/espressif/esp-idf/pull/13856
2024-05-28 14:58:10 +08:00
Jiang Jiang Jian
3ec68b9094 Merge branch 'bugfix/pm-108' into 'master'
fix the issue of tg0 watchdog reset caused by wifi module retention

Closes PM-108

See merge request espressif/esp-idf!31010
2024-05-28 14:50:17 +08:00
Marius Vikhammer
de77d04358 feat(ulp): add lp core panic handler 2024-05-28 14:42:59 +08:00
Xu Si Yu
95035c53df fix(uart): remove unnecessary wait when sending message to ring buffer 2024-05-28 14:37:11 +08:00
Tomáš Rohlínek
a30d27e01e
feat(storage/vfs): add nullfs test cases for vfs 2024-05-28 08:06:33 +02:00
Tomáš Rohlínek
2b75ed37b9
fix(storage/vfs): always register /dev/null on startup 2024-05-28 07:55:37 +02:00
Tomáš Rohlínek
a615f487dd
feat(storage/vfs): add /dev/null for unwanted output redirection 2024-05-28 07:54:35 +02:00
C.S.M
9ac85e1d7b Merge branch 'bugfix/i2c_lcd_pointer_risk' into 'master'
bugfix(i2c_lcd): Fix risk that pointerto local outside scope

Closes IDF-9992

See merge request espressif/esp-idf!31112
2024-05-28 13:33:54 +08:00
nilesh.kale
46c0902fd6 feat: enabled hmac and ds peripheral support for c5
This commit add support for HMAC and DS peripheral support for ESP32-C5.
2024-05-28 10:44:54 +05:30
Jiang Jiang Jian
8c072af93a Merge branch 'fix/fix_send_mgmt_eb_start_err_when_eapol_process' into 'master'
fix(wifi): fix send mgmt err when eapol process

Closes WIFIBUG-562

See merge request espressif/esp-idf!31078
2024-05-28 11:31:03 +08:00
C.S.M
381cf16405 bugfix(i2c_lcd): Fix risk that pointerto local outside scope 2024-05-28 10:55:37 +08:00
Ivan Grokhotkov
06cc3419d8 Merge branch 'ci/add_sdmmc_test_p4' into 'master'
ci(sdmmc): enable tests for ESP32-P4

Closes IDF-8970

See merge request espressif/esp-idf!31077
2024-05-28 00:16:04 +08:00
Abhik Roy
738042f9f9 Merge branch 'lwip/multi_dns_ip_support' into 'master'
feat(lwip): Added multiple dns ip support

Closes IDF-8345 and IDF-9699

See merge request espressif/esp-idf!30326
2024-05-27 23:09:18 +08:00
Erhan Kurubas
002faf3b0a ci(panic): extend extram_stack tests 2024-05-27 14:51:30 +02:00
Erhan Kurubas
1dd4b95349 fix(coredump): properly save task's stack when stack is located in PSRAM 2024-05-27 13:55:14 +02:00
C.S.M
f66fe7cc7a feat(spi_flash): Support auto suspend on esp32p4 2024-05-27 19:42:47 +08:00
C.S.M
374c89097f feat(spi_flash): Adjust flash clock to real 80M clock, and support 32bit address on eco1 2024-05-27 19:42:47 +08:00
xiongweichao
a3d3b74e35 fix(bt/bluedroid): Fixed deadlock caused by not unlocking 2024-05-27 19:36:17 +08:00
xiongweichao
0b0d316d4c fix(bt/bluedroid): Fixed L2CAP using wrong handle
- Fixed the issue of using the wrong handle to handle the BTA_JV_L2CAP_READ_EVT event.
- Closes https://github.com/espressif/esp-idf/issues/13847
2024-05-27 19:34:46 +08:00
Abhinav Kudnar
4eb0fef079 feat(nimble): Added API to get resolve ADV data 2024-05-27 16:48:35 +05:30
wangtao@espressif.com
c3af7c5cd5 fix(wifi): fix send mgmt err when eapol process 2024-05-27 19:09:25 +08:00
Aditya Patwardhan
8541242860 Merge branch 'feature/enable_aes_sha_support_for_c5_mp' into 'master'
feat: enabled aes and sha support for esp32c5 mp version

Closes IDF-8627 and IDF-8624

See merge request espressif/esp-idf!30741
2024-05-27 18:56:56 +08:00
Abhik Roy
7b25f38fd4 feat(lwip): Added multiple dns ip support 2024-05-27 20:56:01 +10:00
Wan Lei
0fc3f68ff4 Merge branch 'feature/esp32c5_ledc_support' into 'master'
feat(ledc): support ledc on esp32c5

Closes IDF-8684

See merge request espressif/esp-idf!30836
2024-05-27 17:43:12 +08:00
Tomáš Rohlínek
0b4fff69c5
fix(newlib/stdio): remove incorrect check in /dev/console init
Closes https://github.com/espressif/esp-idf/issues/13439
2024-05-27 10:43:13 +02:00
Martin Vychodil
7278d06c4f Merge branch 'fix/vfs_console_fstat_infinite_recursion' into 'master'
fix(storage/vfs_console): remove possible infinite recursion

Closes IDF-10025

See merge request espressif/esp-idf!31072
2024-05-27 16:29:58 +08:00
morris
e659675965 Merge branch 'feat/gdma_set_burst_size' into 'master'
feat(gdma): return alignment constraints required by the GDMA channel

Closes IDF-9848

See merge request espressif/esp-idf!30748
2024-05-27 15:33:57 +08:00
Jeroen Domburg
332bb9b2ba Merge branch 'feature/make_heap_alloc_caps_align_memory2' into 'master'
Align memory requested from heap component to hw requirements

See merge request espressif/esp-idf!30371
2024-05-27 15:12:31 +08:00
Island
43af0fbe1d Merge branch 'bugfix/fix_blecrt_147' into 'master'
fix(bt/bluedroid): Fixed BLE security vulnerability when using fixed IRK

See merge request espressif/esp-idf!30825
2024-05-27 14:56:21 +08:00
zhangyanjiao
eaef3a2683 fix(lwip): fixed the dhcp pool error on dhcp server 2024-05-27 14:51:00 +08:00
Sudeep Mohanty
3fd3c37507 Merge branch 'fix/fix_flaky_lp_uart_tests' into 'master'
Fixed unstable LP UART tests and added new tests

Closes IDFCI-2137

See merge request espressif/esp-idf!30524
2024-05-27 14:39:14 +08:00
Tomáš Rohlínek
0ed8ebddb6 fix(storage/vfs_console): remove possible infinite recursion 2024-05-27 14:11:49 +08:00
Mahavir Jain
eca073df3c Merge branch 'bugfix/ecc_coverity_warning' into 'master'
fix(ecc_alt): adjust null pointer check to fix coverity warning

Closes IDF-9872

See merge request espressif/esp-idf!30946
2024-05-27 13:43:00 +08:00
nilesh.kale
a76e84a1e1 feat: enabled aes and sha support for esp32c5 mp version
This commit enabled AES and SHA support for esp32c5.
2024-05-27 11:03:02 +05:30
Harshal Patil
8657860580 Merge branch 'fix/mbedtls_port_coverity_fixes' into 'master'
fix(mbedtls/port): Fix some divide-by-zero and deadcode coverity checks

Closes IDF-9851 and IDF-9846

See merge request espressif/esp-idf!30954
2024-05-27 12:55:38 +08:00
Jeroen Domburg
a1ba660b4a change(system): heap_caps_alloc returns aligned memory if caps indicate a need for it
The implicit promise of heap_alloc_caps() and friends is that the memory it
returns is fit for the purpose as requested in the caps field. Before
this commit, that did not happen; e.g. DMA-capable memory wass returned
from a correct region, but not aligned/sized to something the DMA subsystem
can handle.

This commit adds an API to the esp_mm component that is then used by the
heap component to adjust allocation alignment, caps and size dependent on
the hardware requirement of the requested allocation caps.
2024-05-27 12:41:18 +08:00
Mahavir Jain
fef7444962 Merge branch 'fix/cleanup_unaccessible_sha3_regs' into 'master'
fix(soc): Cleanup inaccessible SHA_3 registers from the header files

See merge request espressif/esp-idf!30958
2024-05-27 12:23:47 +08:00
igor.udot
33fa42ca74 feat(ledc): support ledc on esp32c5 2024-05-27 11:26:11 +08:00
Xiaoyu Liu
18f6be771d feat(system/console): add help command verbose level option
Support users to demonstrate command info in different verbose levels.

Closes https://github.com/espressif/esp-idf/issues/9158
2024-05-27 10:47:40 +08:00
laokaiyao
42cee2b94a fix(i2s): reserve some invalid registers on S2 2024-05-27 10:46:48 +08:00
laokaiyao
d2468b8d0e fix(i2s): add the missed port2 for p4 2024-05-27 10:46:48 +08:00
laokaiyao
3728dac3df fix(i2s): add check to gdma callback register 2024-05-27 10:46:48 +08:00
Zhi Wei Jian
ea2f512cb5 Merge branch 'feat/add_hci_log_record_for_nimble' into 'master'
Feat/add hci log record for nimble

See merge request espressif/esp-idf!30924
2024-05-27 09:33:14 +08:00
morris
de5fb9f070 feat(mcpwm): driver support on esp32-c5 2024-05-26 22:55:03 +08:00
morris
80f5444f86 feat(mcpwm): check if the gpio used by generator is reserved by others 2024-05-26 22:28:11 +08:00
Sudeep Mohanty
003f3bb5dc Merge branch 'task/macos_hello_world_ci_test' into 'master'
feat(ci): Fixed linux build on MacOS + Added host_test for the hello_world linux app for MacOS runners

Closes IDF-9208

See merge request espressif/esp-idf!30800
2024-05-25 02:14:15 +08:00
Konstantin Kondrashov
13cfcc463f Merge branch 'feature/flockfile' into 'master'
feat(newlib): Adds flockfile/funlockfile for safe multi-line printing

Closes IDF-2078

See merge request espressif/esp-idf!31009
2024-05-24 23:08:32 +08:00
morris
69ef3b6a34 change(rgb_lcd): set DMA transfer burst size 2024-05-24 22:43:55 +08:00
morris
75b5f02490 change(i80_lcd): set DMA transfer burst size 2024-05-24 22:43:55 +08:00
morris
dc060460ea change(async_memcpy): set DMA transfer burst size 2024-05-24 22:43:55 +08:00
morris
dc6989796a feat(gdma): set burst size and return alignment constraint
burst size can affect the buffer alignment
2024-05-24 22:43:55 +08:00
Sudeep Mohanty
e5fb198adc fix(linux): Fixed linux target build failure in esp_app_format for MacOS
This commit fixes a build failure in the esp_app_format component
for the linux target when built on a MacOS machine.
2024-05-24 16:29:43 +02:00
Sudeep Mohanty
ac64aa0c60 fix(linux): Miscellaneous fixes for linux build on MacOS
This commit fixes some compilation errors for the linux build on MacOS.
2024-05-24 16:23:54 +02:00
Darian
19c784efef Merge branch 'refactor/usb_mock_classes' into 'master'
refactor(usb): Split test device descriptors from mock classes

See merge request espressif/esp-idf!30685
2024-05-24 22:22:18 +08:00
Wan Lei
e1ed893550 Merge branch 'fix/spi_flash_replace_gpio_hal' into 'master'
fix(spi_flash): replace gpio_hal_iomux_func_sel

See merge request espressif/esp-idf!29478
2024-05-24 22:15:34 +08:00
Ivan Grokhotkov
5b1fd0efe9
ci(sdmmc): enable tests for ESP32-P4 2024-05-24 15:05:35 +02:00
Michael (XIAO Xufeng)
3e877842cd Merge branch 'feat/sdmmc_spi_no_crc' into 'master'
feat(sdmmc_io): support sending CMD53 with fixed address, bypass sdspi crc check

Closes IDF-9387

See merge request espressif/esp-idf!30643
2024-05-24 20:27:28 +08:00
Song Ruo Jing
2621d67da2 Merge branch 'feature/esp32p4_ppa_driver_support' into 'master'
feat(ppa): add PPA driver support for ESP32P4

Closes IDF-6878

See merge request espressif/esp-idf!29301
2024-05-24 19:22:58 +08:00
Konstantin Kondrashov
b0457ee0ac feat(newlib): Adds flockfile/funlockfile for safe multi-line printing
for printf, vprintf, etc.

Closes https://github.com/espressif/esp-idf/issues/2565
2024-05-24 14:16:16 +03:00
Jiang Guang Ming
5e283e03b8 feat(newlib): add test case for printf float 2024-05-24 17:44:59 +08:00
Darian Leung
6a3bb3294d
refactor(usb): Split test device descriptors from mock class files
Previously, descriptors of the test devices were stored direclty in the mock
device files (e.g., "mock_[hid|msc].[h|c]"). This commit splits out the device
descriptors to separate files (e.g., "dev_[hid|msc].c") along with getter
functions.

Users that want to run the tests locally on a different device simply need to
update the "dev_[hid|msc].c" file for their device.
2024-05-24 17:43:40 +08:00
Jiang Guang Ming
e829cee2fd fix(esp_rom): add new rom caps ESP_ROM_HAS_NEWLIB_NANO_PRINTF_FLOAT_BUG 2024-05-24 17:40:34 +08:00
Armando (Dou Yiwen)
c9167ef782 Merge branch 'feat/isp_bf_feature' into 'master'
feat(isp): added isp bf driver

Closes IDF-9999

See merge request espressif/esp-idf!30968
2024-05-24 16:43:55 +08:00
morris
404ffa299b Merge branch 'feat/rmt_support_esp32c5mp' into 'master'
feat(rmt): add driver support on esp32c5

Closes IDF-8726

See merge request espressif/esp-idf!30879
2024-05-24 16:30:48 +08:00
Konstantin Kondrashov
2edf936984 Merge branch 'feature/coverity_fix_esp_timer_impl_early_init' into 'master'
fix(esp_timer): Fix Coverity issue - logically dead code in esp_timer_impl_early_init

Closes IDF-10005

See merge request espressif/esp-idf!31019
2024-05-24 15:12:51 +08:00
Wang Qixiang
a2be60a697 Merge branch 'bugfix/mldv6_report_memory_leak' into 'master'
fix(esp_netif): Fix mldv6 report memory leak in esp_netif

Closes IDF-9990

See merge request espressif/esp-idf!30916
2024-05-24 15:06:13 +08:00
zhiweijian
9946315a5f feat(bt/nimble): support hci log for nimble 2024-05-24 14:51:06 +08:00
Song Ruo Jing
ea7d496e58 feat(ppa): add PPA driver support for ESP32P4
Remove L4/L8, YUV422 in PPA driver
Clean up
2024-05-24 14:23:54 +08:00
Song Ruo Jing
d956ba2a6c feat(ppa): add PPA driver support for ESP32P4
Add burst_length option to client
Change uint32_t to color_pixel_rgb888_data_t
Descriptor always malloc with MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT
Add dscr-port mode block size configuration as a separate API in 2D-DMA driver
Do writeback only on an extended window, instead of entire picture
2024-05-24 14:23:14 +08:00
Island
657b35cfea Merge branch 'fix/ble_mesh_gatts_bugfix' into 'master'
fix(ble_mesh): Create service after service register success

Closes BLERP-758

See merge request espressif/esp-idf!30877
2024-05-24 14:09:31 +08:00
Island
039c6d7380 Merge branch 'fix/fix/ble_mesh_sar_bugfix' into 'master'
BLE Mesh SAR bugfix

Closes BLERP-761 and BLERP-762

See merge request espressif/esp-idf!30880
2024-05-24 14:09:14 +08:00
Armando
6e3efc7b9f feat(isp): added isp bf driver 2024-05-24 10:25:42 +08:00
Adam Múdry
050db26419 Merge branch 'fix/coverity_use_after_free_partition.c' into 'master'
fix(partition): Simplify macro loop in esp_partition_unload_all, should fix Coverity problem

Closes IDF-9837

See merge request espressif/esp-idf!30853
2024-05-23 23:08:11 +08:00
Sonika Rathi
83d58f9b59 Merge branch 'fix/coverity_vfs_fat_mem_overlapping' into 'master'
fix(fatfs): fix memory overlapping issue in vfs_fat.c

See merge request espressif/esp-idf!31026
2024-05-23 22:13:25 +08:00
Rahul Tank
946d25a884 Merge branch 'bugfix/restart_advertising_if_slave_23e' into 'master'
fix(nimble): start advertising if disconnect due to 0x3E in slave

Closes BLERP-618 and BLERP-757

See merge request espressif/esp-idf!30707
2024-05-23 20:17:37 +08:00
Shu Chen
17c9650885 Merge branch 'fix/release_ot_lock_before_call_tcpip_callback' into 'master'
feat(openthread): update openthread br lib

See merge request espressif/esp-idf!30546
2024-05-23 20:08:02 +08:00
Darian Leung
94e3b83bc0
refactor(usb): Rename mock class files
- Rename "test_usb_mock_..." class files to "mock_..."
- Fixed some codespell issues
- Fixed comment spacing
2024-05-23 17:47:24 +08:00
Xu Si Yu
ae2b0f8ee1 feat(openthread): update openthread br lib 2024-05-23 17:39:14 +08:00
Jakob Hasse
6d5d4f8fc1 Merge branch 'feature/esp_app_desc_linux' into 'master'
feat(linux): esp_app_format now works on Linux

See merge request espressif/esp-idf!30781
2024-05-23 17:27:09 +08:00
chenjianhua
7e975ee805 fix(bt/bluedroid): Fixed BLE security vulnerability when using fixed IRK 2024-05-23 17:26:07 +08:00
Song Ruo Jing
8464fac845 feat(ppa): add PPA driver support for ESP32P4
Remove the check for in_accepting_trans_state
Add color_pixel_xxxx_data_t structures to color_types.h
Fix PM lock protection (Tested, now works well)
* CPU_MAX, PM lock and semaphore order
* Remove ppa_driver PM lock
Modify concurrency (queue, trans recycle, semaphore, ...)
Add programming guide
Add test apps
2024-05-23 16:40:56 +08:00
Song Ruo Jing
916c0ef8d1 feat(ppa): add PPA driver support for ESP32P4
Fix pm_lock assert and assign to NULL
Alpha value union
Tested with CONFIG_PM_ENABLE
2024-05-23 16:40:56 +08:00
Song Ruo Jing
01bc7dcc56 feat(ppa): add PPA driver support for ESP32P4
Separate callback registration to individual API
Fix YUV420 output
Separate source files into operations
2024-05-23 16:40:56 +08:00
Song Ruo Jing
fd1a718f62 feat(ppa): add PPA driver support for ESP32P4
Modified API operation configuration structure
Rename invoker to client
Support YUV420 color mode for SRM
Move PPA srm/blending engine reset ahead of any 2D-DMA channel configurations
2024-05-23 16:40:56 +08:00
Song Ruo Jing
346bc077c5 feat(ppa): add PPA driver support for ESP32P4
Added doxygen
Refactored driver to malloc trans_elm memory when registering the client
Cleaned up driver
Added API check
One client now only responsible for one operation
2024-05-23 16:40:56 +08:00
Song Ruo Jing
95ee1595f9 feat(ppa): add PPA driver support for ESP32P4
Add out_buffer_size field to all oper_config_t
Add strict check for out buffer addr and size alignment
2024-05-23 16:40:55 +08:00
Song Ruo Jing
963c893cc7 feat(ppa): add PPA driver support for ESP32P4
Fix bugs found in AE lvgl demo examples

Add color keying feature to blending
2024-05-23 16:40:55 +08:00
Song Ruo Jing
a86e03cba3 feat(ppa): add PPA driver support for ESP32P4
Renamed SR to SRM
2024-05-23 16:40:55 +08:00
Song Ruo Jing
368ef8b472 feat(ppa): add PPA driver support for ESP32P4
Improved/Refactored on the APIs
2024-05-23 16:40:55 +08:00
Song Ruo Jing
776c3ef392 feat(ppa): add PPA driver support for ESP32P4
Add fill operation
Split ppa_do_operation, pre-process some trans config
2024-05-23 16:40:55 +08:00
Song Ruo Jing
fd19979d88 feat(ppa): add PPA driver support for ESP32P4
cleaned up a bit, unify to some static functions
2024-05-23 16:40:55 +08:00
Song Ruo Jing
715004f07e feat(ppa): add PPA driver support for ESP32P4
Add invoker concept
Add blend operation
2024-05-23 16:40:55 +08:00
Song Ruo Jing
36732fbcb4 feat(ppa): add PPA driver support for ESP32P4 2024-05-23 16:40:55 +08:00
wanlei
8762c4d1df fix(spi_flash): replace gpio_hal_iomux_func_sel 2024-05-23 16:29:22 +08:00
luoxu
26a693eed7 fix(ble_mesh): change tx/rx lock to recursive mutex to avoid dead lock 2024-05-23 15:12:03 +08:00
luoxu
6ca1651d14 fix(ble_mesh): reference net_buf on correct positions 2024-05-23 15:12:03 +08:00
Mahavir Jain
bc2ae212cf fix(ecc_alt): adjust null pointer check to fix coverity warning 2024-05-23 13:01:32 +08:00
harshal.patil
7c7c33ecbd
fix(mbedtls/port): Fix some divide-by-zero and deadcode coverity checks 2024-05-23 09:45:44 +05:30
luoxu
2567b7175d fix(ble_mesh): Create service after service register success 2024-05-23 12:13:45 +08:00
morris
bfc29da19a feat(rmt): add driver support on esp32c5
MP version
2024-05-23 11:23:14 +08:00
morris
cb2898d033 change(rmt): rename sleep back to sleep retention 2024-05-23 11:02:07 +08:00
morris
098abb5993 Merge branch 'feat/pcnt_support_esp32c5' into 'master'
feat(pcnt): add driver support on esp32c5

Closes IDF-8683

See merge request espressif/esp-idf!30854
2024-05-23 09:53:08 +08:00
Wan Lei
8778917cb0 Merge branch 'feat/c5mp_i2s_support' into 'master'
feat(i2s): c5mp i2s support

Closes IDF-8713 and IDF-8714

See merge request espressif/esp-idf!30828
2024-05-22 23:30:18 +08:00
Armando (Dou Yiwen)
92f9301ceb Merge branch 'feat/esp32p4_xip_psram' into 'master'
psram: support xip_psram on esp32p4

Closes IDF-7556

See merge request espressif/esp-idf!26903
2024-05-22 21:18:19 +08:00
Li Shuai
b959a3e3c7 fix(wifi): fixed the issue of tg0 watchdog reset caused by wifi module retention 2024-05-22 20:21:57 +08:00
Ondrej Kosta
2daf4e4fc5 fix(esp_eth): fixing memory leak and invalid bit shift 2024-05-22 20:21:57 +08:00
Konstantin Kondrashov
51040d3e68 Merge branch 'bugfix/log_level_get' into 'master'
fix(log): Fix log_level_get, add item to cache after checking linked list

Closes IDFCI-2165 and IDFCI-2166

See merge request espressif/esp-idf!30993
2024-05-22 19:15:38 +08:00
sonika.rathi
8e3e642db4 fix(fatfs): fix memory overlapping issue in vfs_fat.c 2024-05-22 13:06:59 +02:00
Guillaume Souchere
f7d2423826 Merge branch 'feat/update-memory-layout-c5-mp' into 'master'
feat(heap): support heap and update memory layout on esp32c5-mp target

Closes IDF-9641 and IDF-9358

See merge request espressif/esp-idf!30640
2024-05-22 19:00:21 +08:00
Island
42f42f73b6 Merge branch 'feat/add_api_to_set_privacy_mode' into 'master'
feat(bt/bluedroid): support BLE set privacy mode

Closes BLERP-745

See merge request espressif/esp-idf!30801
2024-05-22 17:57:04 +08:00
Island
a3cb889ba3 Merge branch 'bugfix/fix_bci_416' into 'master'
Fixed BLE interrupt allocation using esp API on ESP32C3

See merge request espressif/esp-idf!30652
2024-05-22 17:57:01 +08:00
wanlei
fb8376cb8c feat(i2s): c5mp i2s support 2024-05-22 17:29:48 +08:00
Adam Múdry
c2ac9bad62 fix(partition): Simplify macro loop in esp_partition_unload_all 2024-05-22 10:54:14 +02:00
Wan Lei
207966d64c Merge branch 'feat/c5mp_gpspi_support' into 'master'
feat(spi): c5mp gpspi support

See merge request espressif/esp-idf!30960
2024-05-22 16:36:16 +08:00
Konstantin Kondrashov
a800fcb47e fix(esp_timer): Fix Coverity issue - logically dead code in esp_timer_impl_early_init 2024-05-22 11:20:08 +03:00
Armando
d988b824d8 change(image): move image_process driver from bootloader_support to esp_system 2024-05-22 15:56:07 +08:00
Armando
10d3912c70 feat(xip_psram): support xip psram feature on esp32p4 2024-05-22 15:56:07 +08:00
gaoxu
db6e53fd44 feat(soc): rename lp_adc and ahb_dma reg base on p4 2024-05-22 15:23:58 +08:00
gaoxu
6d82c324bb feat(adc): move adc periph enable/reset functions to ll layer 2024-05-22 15:23:58 +08:00
gaoxu
c1edeca849 fix(dma): feat(adc): support ADC oneshot mod on ESP32P4 2024-05-22 15:23:58 +08:00
Rahul Tank
3df54c5178 fix(nimble): start advertising if disconnect due to 0x3E in slave 2024-05-22 12:53:29 +05:30
Guillaume Souchere
4b9b8be42b Merge branch 'feat/heap-trace-stop-recording-allocs-but-not-free' into 'master'
feat(heap-trace): Add a pause state to the heap tracing

Closes IDFGH-12836

See merge request espressif/esp-idf!30962
2024-05-22 15:03:48 +08:00
Armando
862aca1fcc change(mmu): fix spell issue 2024-05-22 14:13:29 +08:00
Armando
3e477681ac change(cpu_start): added note about internal ram only stage 2024-05-22 14:13:29 +08:00
Armando
72cb920799 bugfix(cpu_start): check c3 efuse error log on ram app condition
Prior to this commit, esp_efuse_check_errors() is only called when it's
2nd stage btld app.

This commit moves this error check so under all conditions (including
ram app, pure ram app) will check this efuse error
2024-05-22 14:13:29 +08:00
Armando
24895ac93c refactor(cpu_start): move uni/multi core log later 2024-05-22 14:13:29 +08:00
Ondrej Kosta
35e6adf89b Merge branch 'bugfix/emac_coverity' into 'master'
fix(esp_eth): fixing memory leak and invalid bit shift

Closes IDF-9970 and IDF-9969

See merge request espressif/esp-idf!30844
2024-05-22 13:55:21 +08:00