Commit Graph

26044 Commits

Author SHA1 Message Date
Yuhan Wei
075bb4831d docs(ble): Added more explanations for memory release related API 2024-07-10 09:31:44 +08:00
Erhan Kurubas
9746eff3c2 Merge branch 'fix_coredump_build_error' into 'master'
fix(coredump): fix array out of the bounds error

Closes IDFGH-13178

See merge request espressif/esp-idf!31874
2024-07-10 02:24:38 +08:00
Tomas Rezucha
43c06a5d11 fix(usb/host): Fix occasional ISOC scheduler skipping transfers 2024-07-09 16:59:27 +02:00
zwl
9610e3999e feat(bluetooth/controller): update nimble host to adapt hci layer 2024-07-09 20:43:48 +08:00
zwl
e94e7b7ab2 feat(bluetooth/controller): add default cts and rts macro definition 2024-07-09 20:43:48 +08:00
zwl
113c8923da feat(bluetooth/controller): adopting new HCI layer code on ESP32-C5 2024-07-09 20:43:48 +08:00
zwl
e154fa0af2 feat(bluetooth/controller): adopting new HCI layer code and support UHCI function on ESP32-C6 and ESP32-H2 2024-07-09 20:43:48 +08:00
zwl
8504040869 feat(bluetooth/controller): adopting new HCI layer code on ESP32-C2 2024-07-09 20:43:48 +08:00
zwl
6c097b5812 feat(bluetooth/controller): optimize bt hci layer code 2024-07-09 20:43:47 +08:00
Jiang Jiang Jian
16e586e516 Merge branch 'bugfix/11r_disable_sdkconfig' into 'master'
fix(wifi): Ignore 11R AP when disabled in sdkconfig

Closes WIFIBUG-623

See merge request espressif/esp-idf!31617
2024-07-09 19:56:32 +08:00
Song Ruo Jing
64c06cb327 fix(ppa): fix insufficient writeback/invalidate data length 2024-07-09 16:06:42 +08:00
Liu Xiao Yu
ea5a48836d Merge branch 'change/bu_lp_console_c5' into 'master'
change(lp_uart): Enable low-power UART functionality of ULP core on ESP32C5

Closes IDF-8633

See merge request espressif/esp-idf!31922
2024-07-09 15:54:00 +08:00
Island
048f297a44 Merge branch 'bugfix/split_hci_log_in_nimble' into 'master'
fix(bt/nimble): split hci log in nimble

Closes IDFCI-2192, BLERP-849, and BLERP-852

See merge request espressif/esp-idf!31936
2024-07-09 15:28:46 +08:00
Island
25f071342b Merge branch 'feat/add_ble50_instant' into 'master'
Add support for BLE 5.0 instances in related events

Closes BLERP-802

See merge request espressif/esp-idf!31385
2024-07-09 15:04:50 +08:00
Shreyas Sheth
304cd7538b fix(wifi): Ignore 11R, ENT AP when disabled in sdkconfig 2024-07-09 12:11:20 +05:30
Harshal Patil
2d9c7793b9 Merge branch 'update/update_certs_bundle' into 'master'
Update esp_crt_bundle certificates

See merge request espressif/esp-idf!31875
2024-07-09 14:14:59 +08:00
Xiao Xufeng
792b3079b9 feat(esp32p4): make revision v0.1 the default version 2024-07-09 11:30:32 +08:00
Zhang Wen Xu
3c9cd354ec Merge branch 'bugfix/esp_netif_get_ip6addr_should_be_valid' into 'master'
fix(esp_netif): netif should return only valid addr

See merge request espressif/esp-idf!31880
2024-07-09 11:17:44 +08:00
C.S.M
d02758f56b feat(spi_flash): Increase flash frequency from 40M to 80M 2024-07-09 10:49:57 +08:00
morris
c965c92c44 Merge branch 'fix/rmt_legacy_driver_esp32c5' into 'master'
fix(rmt): turn on memory block when enable the module

Closes IDF-10330

See merge request espressif/esp-idf!31960
2024-07-09 10:36:46 +08:00
morris
7dc6a2f562 Merge branch 'refactor/pcnt_isr_handling' into 'master'
refactor(pcnt): ISR handling

Closes IDF-10329

See merge request espressif/esp-idf!31911
2024-07-09 10:12:18 +08:00
Sonika Rathi
b9965fee2d Merge branch 'fix/esp_partition_write_datatype_overflow' into 'master'
fix(esp_partition): fix data type overflow sanity check

See merge request espressif/esp-idf!31348
2024-07-09 02:09:06 +08:00
Suren Gabrielyan
d5ae47e524 feat(ws_transport): Added host test for websocket transport 2024-07-08 19:00:03 +04:00
Suren Gabrielyan
1c2befc3b3 Merge branch 'fix/ws_transport' into 'master'
Make ws transport creation independent of foundation initialization

See merge request espressif/esp-idf!31774
2024-07-08 22:50:47 +08:00
sonika.rathi
a81f5768c6 fix(esp_partition): fix data type overflow sanity check 2024-07-08 22:19:19 +08:00
wanlei
f3968eb8fb fix(esp_driver_spi): enable single board test for esp32p4 2024-07-08 20:32:04 +08:00
Jiang Jiang Jian
85c4c96e72 Merge branch 'bugfix/fix_mesh_xon_request_timeout_issue' into 'master'
fix(wifi/mesh): fix the issue that xon request timeout constantly when root reboot

Closes IDFGH-12977

See merge request espressif/esp-idf!31760
2024-07-08 20:27:59 +08:00
Song Ruo Jing
f24d529c70 fix(uart): fix uart_config_t structure size difference in C and C++ 2024-07-08 20:17:27 +08:00
Suren Gabrielyan
09c8b1f618 fix(ws_transport): decouple WebSocket transport from foundation initialization 2024-07-08 14:59:15 +04:00
David Čermák
6a75241bf1 Merge branch 'feat/esp_netif_dns_switch' into 'master'
fix(esp_netif): Restore DNS servers when choosing the default netif

Closes IDFGH-4440

See merge request espressif/esp-idf!30996
2024-07-08 16:41:16 +08:00
Xiaoyu Liu
66f7731bd8 change(lp_uart): Enable SOC_ULP_LP_UART_SUPPORTED on ESP32C5 2024-07-08 16:10:39 +08:00
morris
610ef9c040 fix(rmt): turn on memory block when enable the module 2024-07-08 15:46:49 +08:00
Song Ruo Jing
4e5b8f9b38 Merge branch 'bugfix/ledc_mem_pd' into 'master'
fix(ledc): clear ledc_mem_force_pd when LEDC peripheral is in use C5

Closes IDF-10250, IDF-9100, IDF-8969, and IDF-10333

See merge request espressif/esp-idf!31850
2024-07-08 15:20:56 +08:00
Gao Xu
90d9dd1c52 Merge branch 'bugfix/fix_usb_dp_pullup_disable' into 'master'
GPIO: correct pio_ll_pullup_dis when USB DP

See merge request espressif/esp-idf!31937
2024-07-08 15:08:37 +08:00
Sachin Billore
f92afd85cd feat: add APM support for ESP32C5 2024-07-08 12:37:56 +05:30
morris
6d223f1921 refactor(pcnt): ISR handling 2024-07-08 14:52:14 +08:00
Jiang Jiang Jian
c6e8c7c02e Merge branch 'fix/fix_stuck_in_bootloader_random_enable' into 'master'
fix(esp_system): fix stuck in bootloader_random_enable after lightsleep

Closes PM-164

See merge request espressif/esp-idf!31889
2024-07-08 14:06:42 +08:00
Jiang Jiang Jian
7cf952e928 Merge branch 'fix/fix_p4_mpll_disable_order' into 'master'
fix(esp_hw_support): disable P4 mpll clock after L1 dcache writeback

Closes PM-138

See merge request espressif/esp-idf!31587
2024-07-08 14:06:07 +08:00
Island
2fe83732fd Merge branch 'fix/blemesh24_61' into 'master'
fix/blemesh24_61

Closes BLERP-790

See merge request espressif/esp-idf!31139
2024-07-08 14:05:11 +08:00
zhangyanjiao
3ade23ce22 fix(wifi/mesh): fix the issue that xon request timeout constantly when root reboot
Closes https://github.com/espressif/esp-idf/issues/13212
2024-07-08 14:01:31 +08:00
Jiang Jiang Jian
140905730e Merge branch 'bugfix/fix_esco_conflict_with_sniff' into 'master'
fix(bt/controller): Fixed some controller bugs

Closes IDFGH-11172

See merge request espressif/esp-idf!31864
2024-07-08 13:45:47 +08:00
David Čermák
5c6272c6ac Merge branch 'feat/lwip_more_sockets' into 'master'
change(lwip): bump max sockets in lwip Kconfig (GItHubPR)

Closes IDFGH-12906

See merge request espressif/esp-idf!31155
2024-07-08 13:39:13 +08:00
Wang Meng Yang
f5e9ccbce1 Merge branch 'bugfix/fix_acl_disconnect_resched' into 'master'
fix(bt/controller): Fixed not report HCI_Disconnection_Complete event

Closes CBI-688

See merge request espressif/esp-idf!31855
2024-07-08 12:25:50 +08:00
Marius Vikhammer
d1132ddfa2 Merge branch 'feature/lp_core_etm' into 'master'
feat(lp-core): added support for using ETM events as wake-up source

Closes IDF-10201 and IDF-6360

See merge request espressif/esp-idf!31810
2024-07-08 12:23:03 +08:00
zhanghaipeng
1325c835fe feat(ble/bluedroid): Support BLE50 instance in related event 2024-07-08 11:05:15 +08:00
Marius Vikhammer
de2a66ebe0 feat(lp-core): added support for using ETM events as wake-up source 2024-07-08 11:04:34 +08:00
zhiweijian
b925142b16 fix(bt/nimble): split hci log in nimble 2024-07-08 10:05:02 +08:00
gaoxu
21dd9d12fa fix(gpio): correct usb dp gpio pullup disable function 2024-07-05 20:45:57 +08:00
Rahul Tank
fad07af40a Revert "fix(nimble): Added debug print to check for skipped adv report"
This reverts commit 48e54f2d958aafae96cee52ef34a560382e06b60.
2024-07-05 15:56:09 +05:30
Song Ruo Jing
51a7f7895c feat(ledc): add esp_gpio_reserve to ledc driver 2024-07-05 15:11:57 +08:00
Song Ruo Jing
4cd74f51db fix(ledc): clear ledc_mem_force_pd when LEDC peripheral is in use
And enable target test for C5 and P4
2024-07-05 15:11:57 +08:00
linruihao
6613a38040 fix(bt/controller): Fixed some controller bugs
- Fixed fail to establish eSCO when connected to two devices
- Changed some error log level to Debug if the error have a workaround

Closes https://github.com/espressif/esp-idf/issues/12340
2024-07-05 14:59:43 +08:00
Dong Heng
f20c9bbbbb feat(dvp): DVP cam supports more color format and don't initialize xclock pin 2024-07-05 14:43:05 +08:00
Mahavir Jain
f978dd0af9 Merge branch 'bugfix/update_naming_style_for_mpi_power_related_api' into 'master'
fix(hal): updated naming style for power up and down api for mpi peripheral

See merge request espressif/esp-idf!31693
2024-07-05 14:29:58 +08:00
C.S.M
fabf68803d Merge branch 'feature/bringup_psram_c5' into 'master'
feat(spiram): psram support on esp32c5

Closes IDF-8690

See merge request espressif/esp-idf!31393
2024-07-05 12:53:22 +08:00
Michael (XIAO Xufeng)
d5a1e226d2 Merge branch 'bugfix/sdmmc_io_fixed_addr_splitting' into 'master'
fix(sdmmc_io): fixed fixed_addr mode will still increase addr when splitting

See merge request espressif/esp-idf!31806
2024-07-05 11:05:38 +08:00
Island
2d80380413 Merge branch 'bugfix/fixed_ble_issues_on_esp32c2_esp32c6' into 'master'
Bugfix/fixed ble issues on esp32c2 esp32c6

Closes BLERP-834, BLERP-833, BLERP-815, BLERP-835, BLERP-830, BLERP-831, BLERP-820, BLERP-806, BLERP-816, BLERP-822, and BLERP-845

See merge request espressif/esp-idf!31858
2024-07-05 10:39:21 +08:00
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
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
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