42331 Commits

Author SHA1 Message Date
morris
809507903f Merge branch 'feat/support_bitscrambler_esp32c5' into 'master'
feat(bitscrambler): add driver support on esp32c5

Closes IDF-8711

See merge request espressif/esp-idf!36383
2025-01-24 10:04:48 +08:00
Chen Ji Chang
bdb1511441 Merge branch 'fix/fix_parlio_tx_rempty_interrupt' into 'master'
fix(parlio_tx): fix rempty interrupt during resetting fifo

See merge request espressif/esp-idf!36111
2025-01-24 09:00:59 +08:00
Nilesh Kale
74d9e08d63 Merge branch 'feature/enable_rsa_support_for_esp32h21' into 'master'
feat: enabled rsa support for esp32h21

Closes IDF-11498

See merge request espressif/esp-idf!36309
2025-01-23 21:41:08 +08:00
Shu Chen
c2e906129c Merge branch 'feat/add_callback_for_esp_ot_radio_spinel_init' into 'master'
feat(openthread): add an API to set rcp version string

See merge request espressif/esp-idf!36506
2025-01-23 21:08:26 +08:00
Xu Si Yu
a7a3037e8c feat(openthread): add an API to set rcp version string 2025-01-23 21:08:26 +08:00
Harshal Patil
9cabe79385 Merge branch 'fix/incorrect_reserved_bits_calculation_in_xts_pseudo_round_conf' into 'master'
fix(soc): Fix incorrect reserved bits calculation in xts_pseudo_round_conf

See merge request espressif/esp-idf!36473
2025-01-23 18:49:03 +08:00
Roland Dobai
969ea94ae5 Merge branch 'docs/minor_coredump_docs_fixes' into 'master'
docs(coredump): Add minor documentation improvements for coredump

Closes DOC-10116

See merge request espressif/esp-idf!36517
2025-01-23 18:10:26 +08:00
Chen Jichang
4b3a2b2f8b fix(parlio): fix rempty interrupt during resetting fifo
Move the fifo reset to after disabling the tx core clock.
And add external non-free running clock src test.
2025-01-23 17:54:00 +08:00
morris
21a8c222e1 feat(bitscrambler): add driver support on esp32c5 2025-01-23 17:50:10 +08:00
nilesh.kale
a241768916 feat: enabled rsa support for esp32h21 2025-01-23 17:49:46 +08:00
Mahavir Jain
706b5e44d3 Merge branch 'fix/enable_pseudo_round_func_in_flash_enc_release_mode' into 'master'
fix(bootloader_support): Enable pseudo round function hen flash encryption release mode is enabled for H2-ECO5

See merge request espressif/esp-idf!36523
2025-01-23 17:16:32 +08:00
Jiang Jiang Jian
893e3269d0 Merge branch 'bugfix/remove_unused_sco_state' into 'master'
Bugfix/remove unused sco state

See merge request espressif/esp-idf!36285
2025-01-23 16:40:42 +08:00
Jiang Jiang Jian
895bb2afdc Merge branch 'change/default_value_for_esp_coex_vsc_in_bluedroid' into 'master'
change(bt): Set default value for BT_BLUEDROID_ESP_COEX_VSC conditionally

Closes BT-3947

See merge request espressif/esp-idf!36368
2025-01-23 16:40:05 +08:00
Jiang Jiang Jian
265e73de2d Merge branch 'ci/add_test_disable_softap' into 'master'
ci: add test to check wifi bin size when disable softap

See merge request espressif/esp-idf!36518
2025-01-23 15:03:04 +08:00
C.S.M
0cc16717b6 Merge branch 'fix/build_when_rom_patch_disable' into 'master'
fix(spi_flash): Fix build fail when rom_patch config disabled

Closes IDFGH-14455

See merge request espressif/esp-idf!36521
2025-01-23 14:53:12 +08:00
Marius Vikhammer
1d0fa29970 Merge branch 'feat/h21_interrupts' into 'master'
feat(intr): clean up and support interrupts on H21

Closes IDF-11535 and IDF-11537

See merge request espressif/esp-idf!36503
2025-01-23 12:13:34 +08:00
Zhang Hai Peng
1f84180a1b Merge branch 'bugfix/fix_ble_aa_check' into 'master'
fix(ble): Update bt lib for ESP32(194dd63)

Closes BLERP-1505 and BLERP-1506

See merge request espressif/esp-idf!36536
2025-01-23 10:31:58 +08:00
David Čermák
5685633f2d Merge branch 'fix/ping_data_race' into 'master'
fix(lwip): Fix potential data-race in ping tcpip callback

See merge request espressif/esp-idf!36532
2025-01-22 23:06:48 +08:00
David Cermak
b46b3d1c1d fix(lwip): Fix potential data-race in ping tcpip callback
Need to use tcpip_api_call() instead of tcpip_callback(), since the
former waits for the tcpip task to complete and thus prevents potential
data races with subsequent TCP/IP tasks.
2025-01-22 21:13:57 +08:00
Roland Dobai
c640466e32 docs(coredump): Add minor documentation improvements for coredump 2025-01-22 13:44:56 +01:00
Ondrej Kosta
d30e4d9960 Merge branch 'feat/eth_gpio' into 'master'
feat(esp_eth): new gpio init strategy

Closes IDF-11128

See merge request espressif/esp-idf!35827
2025-01-22 20:20:07 +08:00
Wang Tao
9ede4c277b Merge branch 'fix/fix_max_idle_priod_issue' into 'master'
fix(wifi): fix max idle period 1 issue

Closes WIFIBUG-1022

See merge request espressif/esp-idf!36484
2025-01-22 18:20:12 +08:00
Wang Meng Yang
ef74032118 Merge branch 'feat/esp32_set_get_bt_lpclk_src' into 'master'
feat(ble): Added API to get/set low power clock source

Closes BTQABR2023-370

See merge request espressif/esp-idf!34373
2025-01-22 14:59:12 +08:00
Island
b7f3f677c3 Merge branch 'bugfix/fix_blufi_crash' into 'master'
fix(blufi): Fixed crash issue during memcpy in example

Closes BLERP-1401, BLERP-1402, and BLERP-1403

See merge request espressif/esp-idf!35105
2025-01-22 14:57:50 +08:00
Zhang Wen Xu
3c74432f7e Merge branch 'feature/support_hw_reset_when_handling_rcp_failure' into 'master'
feat(openthread): support hardware reset RCP while processing RCP failure

See merge request espressif/esp-idf!36270
2025-01-22 14:46:29 +08:00
zhanghaipeng
abc18e93eb fix(blufi): Fixed some security issue in blufi example 2025-01-22 14:35:23 +08:00
zhanghaipeng
b4e3c5c1e2 fix(ble): Update bt lib for ESP32(194dd63)
- Fix the issue where disconnection events were not reported as a slave.
- Enhance Access Address validation in compatibility mode.
2025-01-22 13:05:44 +08:00
C.S.M
073bc00739 fix(spi_flash): Fix build fail when rom_patch config disabled,
Closes https://github.com/espressif/esp-idf/issues/15229
2025-01-22 12:01:41 +08:00
C.S.M
e73d78ba10 Merge branch 'enhance/i2c_del_device_bus' into 'master'
fix(i2c_master): Enhance i2c delete device and bus logic

Closes IDFGH-14387

See merge request espressif/esp-idf!36527
2025-01-22 11:50:07 +08:00
morris
b6c94a19d6 Merge branch 'contrib/github_pr_15225' into 'master'
change(rmt): change rx buffer prints from error to debug (GitHub PR)

Closes IDFGH-14449

See merge request espressif/esp-idf!36460
2025-01-22 10:39:17 +08:00
Fu Hanxi
c443f4d018 Merge branch 'dev/update-pre-commit-version' into 'master'
dev: update pre-commit hook idf-build-apps version

Closes RDT-1103

See merge request espressif/esp-idf!36538
2025-01-22 09:48:10 +08:00
wangtao@espressif.com
bba4231384 fix(wifi): fix max idle period 1 issue 2025-01-21 21:14:19 +08:00
Roland Dobai
814c5f1cb1 Merge branch 'fix/ldgen_interm_no_secs' into 'master'
fix(ldgen): don't emit intermediate placements without sections

Closes IDF-11972

See merge request espressif/esp-idf!36432
2025-01-21 20:54:27 +08:00
Frantisek Hrbata
a08995b302 fix(ldgen): don't emit intermediate placements without sections
When a symbol needs to be placed to a different target than the one
designated for the object file, the object file is expanded, which
includes the following steps:

1. Creating a new placement for the symbol's input section with the
   specified target.
2. Excluding the object placement from the orignal target.
3. Creating a new intermediate placement for the object for the original
   target, where its input sections are expanded, excluding the input
   section for the symbol.

Let's illustrate the object expansion process with the following example:

[sections:rodata]
entries:
    .rodata+
    .sdata2+
    .srodata+

[scheme:default]
entries:
    text -> flash_text
    rodata -> flash_rodata

[scheme:noflash]
entries:
    text -> iram0_text
    rodata -> dram0_data

[mapping:soc_pm]
archive: libsoc.a
entries:
    gpio_periph: GPIO_HOLD_MASK (noflash)

gpio_periph section headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0
  [ 1] .text             PROGBITS        00000000 000034 000000 00  AX  0   0  2
  [ 2] .data             PROGBITS        00000000 000034 000000 00  WA  0   0  1
  [ 3] .bss              NOBITS          00000000 000034 000000 00  WA  0   0  1
  [ 4] .rodata.GPIO_HOLD_MASK PROGBITS        00000000 000034 000058 00   A  0   0  4
  [ 5] .rodata.GPIO_PIN_MUX_REG PROGBITS        00000000 00008c 000058 00   A  0   0  4
  [ 6] .debug_info       PROGBITS        00000000 0000e4 0000d8 00      0   0  1
  [ 7] .rela.debug_info  RELA            00000000 0009d4 000108 0c   I 16   6  4
  [ 8] .debug_abbrev     PROGBITS        00000000 0001bc 000070 00      0   0  1
  [ 9] .debug_aranges    PROGBITS        00000000 00022c 000018 00      0   0  1
  [10] .rela.debug_aranges RELA            00000000 000adc 00000c 0c   I 16   9  4
  [11] .debug_line       PROGBITS        00000000 000244 0001ab 00      0   0  1
  [12] .debug_str        PROGBITS        00000000 0003ef 00022d 01  MS  0   0  1
  [13] .comment          PROGBITS        00000000 00061c 000030 01  MS  0   0  1
  [14] .note.GNU-stack   PROGBITS        00000000 00064c 000000 00      0   0  1
  [15] .riscv.attributes RISCV_ATTRIBUTES 00000000 00064c 000044 00      0   0  1
  [16] .symtab           SYMTAB          00000000 000690 000260 10     17  36  4
  [17] .strtab           STRTAB          00000000 0008f0 0000e1 00      0   0  1
  [18] .shstrtab         STRTAB          00000000 000ae8 0000d1 00      0   0  1

1. Creating a new placement
.dram0.data :
{
    *libsoc.a:gpio_periph.*(.rodata.GPIO_HOLD_MASK .sdata2.GPIO_HOLD_MASK .srodata.GPIO_HOLD_MASK)
}

2. Excluding the object placement
.flash.rodata :
{
    *(EXCLUDE_FILE(*libsoc.a:gpio_periph.*) .rodata.* ...)
}

3. Creating a new intermediate placement
.flash.rodata :
{
    *libsoc.a:gpio_periph.*(.rodata.GPIO_PIN_MUX_REG)
}

Now, let's do the same, but also move GPIO_PIN_MUX_REG to noflash with an updated mapping.

[mapping:soc_pm]
archive: libsoc.a
entries:
    gpio_periph: GPIO_HOLD_MASK (noflash)
    gpio_periph: GPIO_PIN_MUX_REG (noflash)

1. Creating a new placement
.dram0.data :
{
    *libsoc.a:gpio_periph.*(.rodata.GPIO_HOLD_MASK .sdata2.GPIO_HOLD_MASK .srodata.GPIO_HOLD_MASK)
    *libsoc.a:gpio_periph.*(.rodata.GPIO_PIN_MUX_REG .sdata2.GPIO_PIN_MUX_REG
                            .srodata.GPIO_PIN_MUX_REG)
}

2. Excluding the object placement
.flash.rodata :
{
    *(EXCLUDE_FILE(*libsoc.a:gpio_periph.*) .rodata.* ...)
}

3. Creating a new intermediate placement
.flash.rodata :
{
    *libsoc.a:gpio_periph.*
}

The *libsoc.a:gpio_periph.* entity in step 3 no longer has input
sections, as there are no remaining .rodata input sections in the object
file. The linker behavior for this mapping is to include all object
input sections that have not yet been placed as described in
https://sourceware.org/binutils/docs/ld.html#Input-Section-Basics
"If you use a file name without a list of sections, then all sections in
the input file will be included in the output section. This is not
commonly done, but it may by useful on occasion."

The map file for such mapping now contains following input sections

 .flash.rodata   0x3c0a0120    0x19b34
     *libsoc.a:gpio_periph.*()
     .debug_info    0x3c0b95bf       0xd8 esp-idf/soc/libsoc.a(gpio_periph.c.obj)
     .debug_abbrev  0x3c0b9697       0x70 esp-idf/soc/libsoc.a(gpio_periph.c.obj)
     .debug_aranges
                    0x3c0b9707       0x18 esp-idf/soc/libsoc.a(gpio_periph.c.obj)
     .debug_line    0x3c0b971f      0x1ab esp-idf/soc/libsoc.a(gpio_periph.c.obj)
     .debug_str     0x3c0b98ca      0x21a esp-idf/soc/libsoc.a(gpio_periph.c.obj)
                                    0x22d (size before relaxing)
     .comment       0x3c0b9ae4       0x30 esp-idf/soc/libsoc.a(gpio_periph.c.obj)
     .note.GNU-stack
                    0x3c0b9ae4        0x0 esp-idf/soc/libsoc.a(gpio_periph.c.obj)
     .riscv.attributes
                    0x3c0b9ae4       0x44 esp-idf/soc/libsoc.a(gpio_periph.c.obj)

This is incorrect, and such intermediate placement should not be
generated. This type of placement can be recognized because it is not
explicitly defined in the mapping and lacks input sections. We can
identify this in the significant function and prevent issuing commands
for such placement.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-01-21 20:37:58 +08:00
zwx
b6ffcf88d0 feat(openthread): support hardware reset RCP while processing RCP failure 2025-01-21 19:54:02 +08:00
Fu Hanxi
a22fd222b3
dev: update pre-commit hook idf-build-apps version 2025-01-21 12:50:21 +01:00
Aleksei Apaseev
bef7edb940 Merge branch 'ci/enhace-dynamic-pipeline-with-bin-size-diff' into 'master'
ci: enhance dynamic pipeline with bin size diff

Closes IDFCI-2213 and IDF-7232

See merge request espressif/esp-idf!35356
2025-01-21 19:31:25 +08:00
xiongweichao
aa674c4eab feat(bt): Added API to get/set low power clock source 2025-01-21 17:50:17 +08:00
Wang Meng Yang
b42505165f Merge branch 'feat/add_vsc_to_support_test' into 'master'
feat(bt): add vendor hci command and event to support test

See merge request espressif/esp-idf!36515
2025-01-21 17:18:14 +08:00
Kevin (Lao Kaiyao)
370e79e15e Merge branch 'feature/clean_up_some_tasks_in_epic' into 'master'
driver: clean up some tasks in epic

Closes IDF-11118, IDF-12003, IDF-10243, IDF-10245, IDF-10246, IDF-10248, IDF-10249, IDF-10252, IDF-10253, IDF-10255, and IDF-10259

See merge request espressif/esp-idf!36377
2025-01-21 16:07:13 +08:00
C.S.M
847780da3e fix(i2c_master): Enhance i2c delete device and bus logic,
Closes https://github.com/espressif/esp-idf/issues/15171
2025-01-21 15:56:25 +08:00
Jiang Jiang Jian
767545693a Merge branch 'bugfix/esp32c5_eco1_wifi_ps' into 'master'
fix some wifi power save issues and optimize phy sleep for esp32c5 eco1 and beta5

Closes PM-306, PM-319, PM-320, PM-296, PM-308, PM-311, PM-310, PM-309, PM-295, PM-274, PM-271, IDFCI-2604, and IDFCI-2605

See merge request espressif/esp-idf!35093
2025-01-21 15:46:04 +08:00
Chen Yudong
19f019df0e ci: add test to check wifi bin size when disable softap 2025-01-21 15:32:22 +08:00
harshal.patil
f6be421a48
fix(bootloader_support): Enable pseudo round function in flash enc release mode for H2-ECO5 2025-01-21 12:21:42 +05:30
Mahavir Jain
d75ca966c3 Merge branch 'fix/revert_and_update_depricated_marked_private_api' into 'master'
fix(esp_http_client): Revert Deprecated Tag on Previously Marked Private API

See merge request espressif/esp-idf!36451
2025-01-21 14:02:19 +08:00
Aditya Patwardhan
bc63628fe6 Merge branch 'contrib/github_pr_15059' into 'master'
feat(https): Get TLS errors from http client (GitHub PR)

Closes IDFGH-14265

See merge request espressif/esp-idf!35833
2025-01-21 14:01:12 +08:00
nilesh.kale
783ff22ebf fix(esp_http_client): update code format for API
This commit update code format as per IDF standard for API
esp_http_client_get_and_clear_last_tls_error().
2025-01-21 10:24:33 +05:30
Lorenzo Consolaro
30c2907962 feat(https): Get TLS errors from http client
update PR

update mr

Update components/esp_http_client/esp_http_client.c

Co-authored-by: Nilesh Kale <nilesh.kale@espressif.com>
2025-01-21 10:22:27 +05:30
Shu Chen
d93e84b65d Merge branch 'fix/ci_restart_avahi_daemon' into 'master'
fix(ci): restart avahi-daemon

See merge request espressif/esp-idf!36278
2025-01-21 12:35:58 +08:00
zwx
508cb1f97d fix(ci): restart avahi-daemon in otbr service discovery test case 2025-01-21 11:23:34 +08:00