Commit Graph

1388 Commits

Author SHA1 Message Date
Jiang Jiang Jian
32186214f3 Merge branch 'feat/esp_idf_feat_gpioworkaround_v5.2' into 'release/v5.2'
feat(esp_hw_support): add gpio reset workaround except esp32 & esp32s2 (v5.2)

See merge request espressif/esp-idf!43466
2025-11-28 14:03:28 +08:00
hebinglin
ff93dc5f5c fix(esp_hw_support): fix flash cs unhold during sleep when pd top in esp32h2 2025-11-20 19:38:07 +08:00
hebinglin
5427f72901 feat(esp_hw_support): add gpio reset workaround in esp32h21 & esp32h4 2025-11-18 14:24:46 +08:00
cjin
58edfc179b fix: change the api to enable rc32k on ESP32-H2 2025-10-13 14:08:33 +08:00
Jiang Jiang Jian
dbbeb658ca Merge branch 'bugfix/esp_idf_esp32_reject_sleep_v5.2' into 'release/v5.2'
fix(esp_hw_support): fix the configuration of reject sources for release/v5.2

See merge request espressif/esp-idf!42009
2025-10-09 10:50:23 +08:00
hebinglin
3ead5dc2ba fix(esp_hw_support): fix the configuration of reject sources for release/v5.2 2025-09-18 17:12:56 +08:00
Aditya Patwardhan
b23428cfce fix(esp_hw_support): Fixed entropy mixing of RTC timer with RNG
Previously the RTC timer entropy was being mixed with the RNG timer
    in a wrong way. Which led to the overwriting of the LSB with rtc
    timer value.
    This change fixes that behaviour
2025-09-11 12:06:25 +05:30
Li Shuai
855492fa2e change(hal): add hal interface to configure pau regdma wait timeout parameter 2025-08-28 19:09:08 +08:00
wuzhenghui
a0cec6a7ef feat(esp_hw_support): add new API to get all wakeup sources 2025-08-26 21:54:42 +08:00
Jiang Jiang Jian
ad3067d536 Merge branch 'change/remove_assert_in_esp_sleep_pd_config_v5.2' into 'release/v5.2'
change(esp_hw_support): warning in esp_sleep_pd_config instead of assert (v5.2)

See merge request espressif/esp-idf!41120
2025-08-21 15:35:22 +08:00
wuzhenghui
421bbc2cba change(esp_hw_support): warning in esp_sleep_pd_config instead of assert
Closes https://github.com/espressif/esp-idf/issues/16872#event-18649904083
2025-08-08 14:35:35 +08:00
wuzhenghui
ee7ba66736 change(esp_hw_support): always do hardware clock enable in modem module enabling 2025-08-08 12:02:42 +08:00
wuzhenghui
c6d13ec757 fix(esp_hw_support): fix MODEM_ADC_COMMON_FE destroyed by modem powerdown lightsleep 2025-08-08 12:02:33 +08:00
Mahavir Jain
ad73b587d5 Merge branch 'feature/enable_support_for_deterministic_mode_and_ecdsa_192_v5.2' into 'release/v5.2'
Feature/enable support for ecdsa 192 v5.3 (v5.2)

See merge request espressif/esp-idf!40611
2025-08-01 08:43:29 +05:30
Jiang Jiang Jian
b96058c973 Merge branch 'fix/xtensa_nmi_v5.2' into 'release/v5.2'
fix(esp_hw_support): make the NMI interrupts available for the main application (backport v5.2)

See merge request espressif/esp-idf!34387
2025-07-31 21:06:27 +08:00
Jiang Jiang Jian
ec84f6c69d Merge branch 'bugfix/esp32s2_memprot_clear_v5.2' into 'release/v5.2'
fix(esp_hw_support): clear the memory protection interrupt status on boot (backport v5.2)

See merge request espressif/esp-idf!38054
2025-07-28 14:07:33 +08:00
nilesh.kale
623bf9b602 feat: enabled ECDSA-P192 support for ESP32H2 2025-07-22 11:26:25 +05:30
Li Shuai
be797e7613 fix(esp_hw_support): fix modem wakeup req always high caused by pmu min slp cycle update 2025-07-16 21:06:40 +08:00
Li Shuai
fe939208c3 change(esp_hw_support): add interface to calculate slow clock period by clock frequency 2025-07-16 21:05:11 +08:00
wuzhenghui
12d9f6af97 fix(esp_hw_support): fix esp32 APP_CPU accessing RTCFAST memory in sleep code 2025-07-14 14:09:16 +08:00
Jiang Jiang Jian
5bfec6a7be Merge branch 'fix/update_dfs_compensate_table_v5.2' into 'release/v5.2'
fix(esp_hw_support): update esp32 dfs table to make the timing drift always negative (v5.2)

See merge request espressif/esp-idf!39900
2025-07-11 13:55:08 +08:00
Omar Chebib
b6c2d6821e fix(esp_hw_support): make the NMI interrupts available for the main application
Closes https://github.com/espressif/esp-idf/issues/13629

NMI interrupt level has been freed for all the Xtensa targets, making it possible
for the main application to use it. An example has been added to show how to
proceed.
2025-07-03 09:42:04 +08:00
wuzhenghui
cf477b94ce feat(esp_hw_support): enable wakeup tests for more chips 2025-07-02 17:54:38 +08:00
wuzhenghui
6f8408e7c0 change(esp_timer): make esp_timer timming drift always be negative 2025-06-16 17:31:53 +08:00
Jiang Jiang Jian
9a4bdcf37b Merge branch 'fix/fix_usj_pad_leakage_v5.2' into 'release/v5.2'
fix(esp_hw_support): always disable USJ pad in sleep to supress leakage (v5.2)

See merge request espressif/esp-idf!39108
2025-05-26 19:57:15 +08:00
Jiang Jiang Jian
6dc1044aec Merge branch 'fix/fix_esp_timer_accuracy_when_do_dfs_v5.2' into 'release/v5.2'
fix(esp_hw_support): improve esp timer accuracy on DFS for esp32 & esp32s2 (v5.2)

See merge request espressif/esp-idf!39342
2025-05-26 19:55:04 +08:00
wuzhenghui
a2e212fb9f feat(esp_hw_support): compensate the error introduced to LACT during APB frequency switching 2025-05-22 14:58:43 +08:00
wuzhenghui
d54c710921 fix(esp_hw_support): update systimer step immediately when XTAL changes on esp32s2 2025-05-22 14:58:42 +08:00
wuzhenghui
52296887bf fix(esp_hw_support): update LACT clock prescale immediately when APB changes on esp32 2025-05-22 14:58:39 +08:00
Song Ruo Jing
cb75dc3735 fix(sleep): uart suspend/flush should also check if port is enabled on esp32 2025-05-20 15:48:48 +08:00
Omar Chebib
bdfa4505ef fix(esp_hw_support): clear the memory protection interrupt status on boot
Fixes https://github.com/espressif/esp-idf/issues/15359
2025-05-15 15:48:30 +08:00
wuzhenghui
188a443184 fix(esp_hw_support): always disable USJ pad in sleep to supress leakage 2025-05-13 20:16:35 +08:00
Xiao Xufeng
606e2cfebf feat(soc): add config option for c6 v0.2 2025-05-07 16:47:47 +08:00
wuzhenghui
a7e91d59d1 feat(esp_hw_support): count pau backup time into sleep rejection judgment 2025-04-28 11:44:37 +08:00
wuzhenghui
18506d945f feat(esp_hw_support): remeasure sleep_time_overhead_out if min_freq_mhz changed 2025-04-28 11:44:30 +08:00
wuzhenghui
f1ff4d890e fix(esp_hw_support): fix usj pad config bad retention
Closes https://github.com/espressif/esp-idf/issues/15797
2025-04-25 15:56:34 +08:00
morris
34a92965d0 Merge branch 'fix/fix_mmu_map_concurrent_issue_v5.2' into 'release/v5.2'
mmu: fix mmu map concurrent issue (v5.2)

See merge request espressif/esp-idf!38408
2025-04-17 21:29:25 +08:00
Jiang Jiang Jian
5dd79575a4 Merge branch 'fix/fix_uart_console_broken_after_sleep_v5.2' into 'release/v5.2'
fix(esp_hw_support): fixed gpio sleep switching filling junk data to the console UART FIFO (v5.2)

See merge request espressif/esp-idf!38447
2025-04-17 17:18:37 +08:00
Jiang Jiang Jian
adfc9aa6a8 Merge branch 'change/allow_keep_sar_poweron_in_light_sleep_v5.2' into 'release/v5.2'
change(esp_hw_support): allow sar power keep on during lightsleep (v5.2)

See merge request espressif/esp-idf!38456
2025-04-17 17:15:23 +08:00
wuzhenghui
5d7d37def6 change(esp_hw_support): allow sar power keep on during lightsleep
Closes https://github.com/espressif/esp-idf/issues/12426
2025-04-16 16:11:01 +08:00
wuzhenghui
f86ea55bd3 fix(esp_hw_support): fixed gpio sleep switching filling junk data to the console UART FIFO 2025-04-16 15:27:00 +08:00
wuzhenghui
b4c907e36d fix(esp_hw_support): fix current leakage if ext32k slow clock source not exists 2025-04-16 15:02:35 +08:00
armando
028e597113 fix(mmu): fixed esp_mmu_map concurrent issue and add related docs 2025-04-15 14:24:56 +08:00
morris
2bb1dfbf7a Merge branch 'refactor/improve_p4_psram_timing_tuning_point_selection_v5.2' into 'release/v5.2'
mspi: improve p4 psram timing tuning point selection (v5.2)

See merge request espressif/esp-idf!38188
2025-04-14 11:10:14 +08:00
armando
cd014f506f refactor(mspi): improved timing tuning max consecutive success points calculation 2025-04-07 10:15:24 +08:00
wuzhenghui
992d0db153 fix(esp_hw_support): fix min sleep time calculation missmatch in powerdown flash decision 2025-04-03 11:46:37 +08:00
Mahavir Jain
0aad54e2c1 Merge branch 'fix/heap_caps_free-rtc-diiram-check' into 'release/v5.2'
fix(heap): Wrong address calculation in heap_caps_free

See merge request espressif/esp-idf!37553
2025-03-17 14:29:50 +08:00
Guillaume Souchere
102d290eb9 fix(heap): Wrong address calculation in heap_caps_free
Make sure that DRAM != IRAM before getting the DRAM address
from a IRAM allocation.
2025-03-13 10:30:42 +01:00
Song Ruo Jing
488200ffbd fix(gpio): fix coverity in io_mux.c 2025-03-07 21:47:07 +08:00
Jiang Jiang Jian
d2f17920c9 Merge branch 'esp32/run_panic_debug_v5.2' into 'release/v5.2'
fix(esp32): Fixed qa program may fail issue when cpu 240m (v5.2)

See merge request espressif/esp-idf!37234
2025-03-07 10:51:40 +08:00