Tomasz Kramkowski
af7b6b71ea
fix(rom): Fix s2 and s3 Cache_Count_Flash_Pages rom function wrapper
...
The rom function on the s2 and s3 only counts one page for any pages
which are mapped to page 0 of flash as the Cache_Flash_To_SPIRAM_Copy
function attempts to map all flash page 0 mapped pages to one PSRAM
page.
As this function can be called for multiple regions, it needs to track
if a page mapped to page 0 has previously been accounted for by a
previous call. It does this using the page0_mapped in-out parameter.
This logic contains an error:
```
if (*page0_mapped == 0) {
// BUG: If page0_count is 0, 1 is still added
count = valid_flash_count + 1 - page0_count;
} else {
count = valid_flash_count - page0_count;
}
*page0_mapped += page0_count;
return count;
```
The current Cache_Count_Flash_Pages wrapper in the idf attempts to
compensate for this bug by checking if the page0_mapped parameter was
changed by a call to the function and reducing the count if it has not.
This, however, will incorrectly over-compensate in situations where the
initial value of page0_mapped was not zero as the code above only
miscounts when it was zero.
This patch addresses the issue in this wrapper function by correctly
compensating for the bug only in cases where the final page0_mapped
value is 0.
2025-02-20 15:04:10 +08:00
Wu Zheng Hui
79ee0927d1
Merge branch 'fix/fix_s2_s3_rtc_iomux_clock_management' into 'master'
...
fix(esp_hw_support): fix esp32s2/esp32s3 RTC IOMUX clock management
Closes PM-341, IDFGH-8992, and IDFGH-11560
See merge request espressif/esp-idf!36831
2025-02-20 13:52:45 +08:00
morris
4e073fe166
Merge branch 'refactor/change_blink_gpio_on_esp32s3' into 'master'
...
change(blink): default gpio changed for esp32s3 devkitc v1.1
See merge request espressif/esp-idf!37080
2025-02-20 11:02:20 +08:00
morris
45b1141f8f
change(blink): default gpio changed for esp32s3 devkitc v1.1
...
https://docs.espressif.com/projects/esp-dev-kits/en/latest/esp32s3/esp32-s3-devkitc-1/user_guide.html
Also related to: https://github.com/espressif/esp-idf/issues/8547
2025-02-20 10:15:48 +08:00
Aleksei Apaseev
8355b832d3
Merge branch 'ci/add-python-func-and-fix-c-testcase-path-in-junit-report' into 'master'
...
ci: add python_func attribute and fix C testcase path resolution in JUnit reports
Closes RDT-1013, IDFCI-1990, IDFCI-1964, and IDFCI-1429
See merge request espressif/esp-idf!35058
2025-02-20 10:09:52 +08:00
Roman Leonov
c004b93669
Merge branch 'feature/usb_host_usbh_uid_presence_in_list' into 'master'
...
feature(usbh): Added uid presence check in USBH device object list
Closes IDF-10022
See merge request espressif/esp-idf!36705
2025-02-19 23:46:43 +08:00
Island
6b1d8dbbfb
Merge branch 'change/ble_update_lib_20250217' into 'master'
...
change(ble): [AUTO_MR] 20250217 - Update ESP BLE Controller Lib
Closes BLERP-1562
See merge request espressif/esp-idf!37025
2025-02-19 19:53:24 +08:00
Roman Leonov
46952c601d
feat(usb_host): Added uid presence check in USBH device object list
2025-02-19 10:23:44 +01:00
Island
8ad16fd58d
Merge branch 'feat/support_ble_vendor_hci_event_report' into 'master'
...
feat(bt/bluedroid): Support BLE vendor hci event reporting
Closes BLERP-1542
See merge request espressif/esp-idf!36800
2025-02-19 17:18:24 +08:00
Sudeep Mohanty
e01877ff2e
Merge branch 'bug/xtensa_cpu1_sys_lockup' into 'master'
...
fix(panic_handler): Updated panic handler to use RTC WDT
Closes IDFGH-14379, IDFGH-14221, IDFGH-8665, and DOC-10263
See merge request espressif/esp-idf!36652
2025-02-19 17:11:10 +08:00
Chen Ji Chang
36335e38b6
Merge branch 'feat/h4_introduce_step2_2' into 'master'
...
feat(esp32h4): add soc register header files (stage 3/8, part 2/3)
See merge request espressif/esp-idf!37030
2025-02-19 16:27:31 +08:00
wuzhenghui
51205a8fd8
fix(esp_hw_support): fix esp32s2/esp32s3 RTC IOMUX clock management
2025-02-19 16:02:25 +08:00
Guillaume Souchere
7e93f4b5ed
Merge branch 'fix/memory-utils-ptr-executable' into 'master'
...
fix(memory-utils): Missing case in esp_ptr_executable logic
Closes IDF-12458
See merge request espressif/esp-idf!36904
2025-02-19 15:27:11 +08:00
C.S.M
738ce191cd
Merge branch 'refactor/remove_redundent_suspend_check' into 'master'
...
refactor(spi_flash): remove redundent flash suspend check
See merge request espressif/esp-idf!37083
2025-02-19 15:16:03 +08:00
Wei Yu Han
96af7b4a11
Merge branch 'docs/update_ble_feature_support_status' into 'master'
...
Docs: update ble feature support status
See merge request espressif/esp-idf!36452
2025-02-19 14:37:50 +08:00
Tomas Sebestik
463af2a065
Merge branch 'ci/update-mr-template-assignee' into 'master'
...
ci(mr-templates): update MR templates to auto-assign the MR author
See merge request espressif/esp-idf!37075
2025-02-19 14:29:48 +08:00
Jiang Jiang Jian
d5f2447b88
Merge branch 'feature/c3_libphy_20250120' into 'master'
...
feat(phy): update esp32c3 libphy for rxdc cal opt
Closes ESPCS-987, ESPCS-988, and WIFIBUG-1005
See merge request espressif/esp-idf!36505
2025-02-19 13:44:01 +08:00
Michael (XIAO Xufeng)
c71d74e2f8
Merge branch 'feat/upload_status_to_s3' into 'master'
...
ci(all): upload support status when pushed go github
See merge request espressif/esp-idf!37064
2025-02-19 13:35:16 +08:00
Xiao Xufeng
bc1965a109
ci(all): upload support status when pushed go github
2025-02-19 13:23:28 +08:00
cjin
3df8f30816
change(ble): update esp32c6 lib to 7ead2d29
2025-02-19 12:07:26 +08:00
cjin
5c3829cebc
change(ble): update esp32c5 lib to 7ead2d29
2025-02-19 12:07:26 +08:00
cjin
93fd1d91cb
change(ble): update esp32h2 lib to 7ead2d29
2025-02-19 12:07:26 +08:00
zwl
01f9245da1
feat(ble): implement ble capture info user handler on ESP32-C5
2025-02-19 12:07:26 +08:00
zwl
180e67b547
feat(ble): implement ble capture info user handler on ESP32-C6 and ESP32-H2
2025-02-19 12:07:26 +08:00
Shen Weilong
c2449607dc
change(ble): Supported cuttable architecture for ble
2025-02-19 12:07:16 +08:00
Shen Weilong
472320a7a3
change(ble): [AUTO_MR] Update lib_esp32c6 to 996fb939
2025-02-19 11:49:22 +08:00
Shen Weilong
f167fa8a6c
change(ble): [AUTO_MR] Update lib_esp32c5 to 996fb939
2025-02-19 11:49:22 +08:00
Shen Weilong
34ae5db60d
change(ble): [AUTO_MR] Update lib_esp32h2 to 996fb939
2025-02-19 11:49:22 +08:00
C.S.M
328665135c
Merge branch 'fix/i2c_scl_freq_s2' into 'master'
...
fix(i2c): Fix scl frequency is wrong on esp32s2 in legacy i2c driver
Closes IDFGH-13739 and IDFGH-14539
See merge request espressif/esp-idf!37066
2025-02-19 11:36:27 +08:00
C.S.M
e111d92af6
refactor(spi_flash): remove redundent flash suspend check
2025-02-19 11:35:09 +08:00
morris
deb703cc68
Merge branch 'bugfix/dma_alignment_for_encryption_memory' into 'master'
...
fix(gdma): relax alignment constraint for internal memory
Closes IDFGH-14453
See merge request espressif/esp-idf!37055
2025-02-19 11:09:06 +08:00
Island
2c0381d23b
Merge branch 'feat/improve_bt_log_spi_output_interface' into 'master'
...
Feat/improve bt log spi output interface
See merge request espressif/esp-idf!36912
2025-02-19 10:55:25 +08:00
Jiang Jiang Jian
7a5684d478
Merge branch 'bugfix/espnow_send_issue' into 'master'
...
fix(esp_wifi): Fix for issue in esp_now_send when wifi tx callback registered
See merge request espressif/esp-idf!36631
2025-02-19 09:56:25 +08:00
Omar Chebib
7559275fef
Merge branch 'bugfix/freertos_wcaps_coproc' into 'master'
...
fix(freertos): fix a bug in `prvTaskDeleteWithCaps` related to coprocessors
Closes IDF-12202
See merge request espressif/esp-idf!36890
2025-02-19 09:39:05 +08:00
Tomas Sebestik
2f59c59350
ci(mr-templates): update MR templates to auto-assign the MR author
2025-02-18 15:54:01 +01:00
Sudeep Mohanty
b562afa08e
fix(panic_handler): Updated panic handler to use RTC WDT
...
This commit updates the following:
- Updates the panic handler to use only the RTC WDT to reset the system.
- Refactors some of the panic handler code.
- Updates Bluetooth files where in they now feed the WDTs instead of
reconfiguring them.
- Removes some unnecessary configuration of WDTs from various files.
- Added a unit test to verify that the system does not lock up when the
panic handler is stuck.
- Updates the memprot unit tests to work with the refactored panic
handler.
Closes https://github.com/espressif/esp-idf/issues/15166
Closes https://github.com/espressif/esp-idf/issues/15018
Closes https://github.com/espressif/esp-idf/issues/10110
2025-02-18 15:40:54 +01:00
Ondrej Kosta
b5aef58afe
Merge branch 'bugfix/ci_eth_ip' into 'master'
...
iperf fix on SH runners
Closes IDFCI-2718
See merge request espressif/esp-idf!36661
2025-02-18 19:51:54 +08:00
Ivan Grokhotkov
83eaa261af
Merge branch 'bugfix/sdmmc_reset_pins_slot_width_v2' into 'master'
...
fix(sdmmc): fix missed deinitialization of CD and WP pins
See merge request espressif/esp-idf!37033
2025-02-18 19:22:25 +08:00
Chen Ji Chang
3ad70e9998
Merge branch 'feat/h4_introduce_step2_1' into 'master'
...
feat(esp32h4): add soc register header files (stage 3/8, part 1/3)
See merge request espressif/esp-idf!36982
2025-02-18 19:10:54 +08:00
C.S.M
dcfbac8c94
fix(i2c): Fix scl frequency is wrong on esp32s2 in legacy i2c driver,
...
Closes https://github.com/espressif/esp-idf/issues/15301 ,
Closes https://github.com/espressif/esp-idf/issues/14603
2025-02-18 17:34:35 +08:00
Aditi
5b7cee8631
fix(esp_wifi): Fix for issue in esp_now_send when wifi tx callback registered
2025-02-18 14:36:19 +05:30
Abhik Roy
04133e0225
Merge branch 'contrib/github_pr_15057' into 'master'
...
feat(dhcps): Support for multiple DNS servers (GitHub PR)
Closes IDFGH-14266
See merge request espressif/esp-idf!36256
2025-02-18 17:06:09 +08:00
Chen Jichang
d68fcf1d7b
feat(esp32h4): add soc register header files (stage2_2)
...
generated soc headers from csv and ro_csv folder(part2)
2025-02-18 16:42:22 +08:00
weiyuhan
6a584e9698
Updated BLE feature status
2025-02-18 16:23:35 +08:00
muhaidong
004ff87ea4
feat(phy): update libphy for RXDC cal opt, no antenna current opt, add cca api
2025-02-18 16:03:48 +08:00
Jeroen Domburg
5d63f251f9
Merge branch 'feature/bitscrambler_add_c5_insn' into 'master'
...
BitScrambler: Add support for addcti instruction as found in ESP32-C5
See merge request espressif/esp-idf!36906
2025-02-18 14:39:42 +08:00
Zhou Xiao
e41f619566
feat(ble): support ble log spi out for ESP32-C3 and ESP32-S3
2025-02-18 14:23:17 +08:00
Zhou Xiao
e2fbec5d2e
feat(ble): support ble log spi out for ESP32
2025-02-18 14:23:05 +08:00
Zhou Xiao
608ecf63e2
change(ble): update ble log spi out config for ESP32-H2
2025-02-18 14:22:47 +08:00
Zhou Xiao
e61089e7e0
change(ble): update ble log spi out config for ESP32-C6
2025-02-18 14:22:30 +08:00