Jiang Jiang Jian
5c235ffa36
Merge branch 'fix/heap-allocate-in-rtc-iram_v5.2' into 'release/v5.2'
...
fix(heap): MALLOC_CAP_EXEC does not allocate in RTC IRAM (backport v5.2)
See merge request espressif/esp-idf!35621
2025-01-16 20:53:40 +08:00
Guillaume Souchere
7fac9e4f7a
fix(esp_hw_support): Unused variables in memory_utils functions
2025-01-13 11:11:40 +01:00
Song Ruo Jing
2e41f0b875
fix(clk): postpone CPU PLL off time in sleep
...
For PMU supported chips, powering down CPU PLL in sleep will be done by PMU, not sleep code
2025-01-13 17:33:23 +08:00
Guillaume Souchere
4eee2b0849
fix(heap): MALLOC_CAP_EXEC does not allocate in RTC IRAM
...
This commit fixes the issue when trying to allocate memory
with the MALLOC_CAP_EXEC in RTC memory. Prior to the fix,
the heap allocator was returning an address in RTC DRAM.
To fix this issue:
- modified memory_layout.c of the concerned targets to fill the iram_address
field in the rtc entry of the soc_memory_region array properly.
- modified heap component related functions to return IRAM address when
an allocation in RTC memory with MALLOC_CAP_EXEC is requested.
Closes https://github.com/espressif/esp-idf/issues/14835
2024-12-30 09:06:54 +01:00
Song Ruo Jing
54ca0cf944
fix(clk): rtc_clk_cpu_freq_set_xtal will always disable CPU's PLL
...
Align C6/H2 rtc_clk_cpu_freq_set_xtal behavior to other chips
2024-12-24 22:29:14 +08:00
Li Shuai
a87c6408ec
fix(esp_hw_support): fix the issue of regdma wait node to immediately return to done
2024-12-03 10:35:43 +08:00
Jiang Jiang Jian
34625d3711
Merge branch 'fix/fix_top_domain_pd_v5.2' into 'release/v5.2'
...
fix(esp_pm): move clock module out of TOP_DOMAIN_PERIPHERALS_BM (v5.2)
See merge request espressif/esp-idf!34882
2024-11-20 19:54:15 +08:00
wuzhenghui
6e1c4f8971
fix(esp_system): deselect all modem modules clk source selection before clk init
2024-11-15 13:46:28 +08:00
wuzhenghui
de107cf4f2
fix(esp_pm): move clock module out of TOP_DOMAIN_PERIPHERALS_BM
2024-11-13 16:44:45 +08:00
Jiang Jiang Jian
b22f4cb3d1
Merge branch 'fix/spinlock-var-not-used-warning_v5.2' into 'release/v5.2'
...
fix(system): fixed warnings related to ununsed var in spinlock.h (backport v5.2)
See merge request espressif/esp-idf!33485
2024-10-17 10:48:29 +08:00
Jiang Jiang Jian
35d88960c0
Merge branch 'bugfix/riscv_task_wdt_cleanup_v5.2' into 'release/v5.2'
...
fix(wdt): changed register dump on task WDT to be more descriptive (v5.2)
See merge request espressif/esp-idf!33106
2024-10-17 10:44:23 +08:00
Andste82
bd62dfb21f
fix(spinlock): comparison of integer expressions of different signedness
2024-09-14 10:36:23 +03:00
Marius Vikhammer
a6cce532f5
fix(wdt): changed register dump on non panic task WDT to be more descriptive
...
Closes https://github.com/espressif/esp-idf/issues/14400
2024-09-14 10:11:10 +08:00
Guillaume Souchere
c341065ce4
fix(system): fixed warnings related to ununsed var in spinlock.h
2024-09-12 08:45:42 +02:00
wuzhenghui
69baf86cf4
change(esp_hw_support): collect retention link priority definition
2024-08-26 11:40:07 +08:00
Xiao Xufeng
1a111187fa
fix(startup): move rtc initialization before MSPI timing tuning to improve stability
2024-08-15 20:55:11 +08:00
Song Ruo Jing
707aebc607
feat(uart): support uart module sleep retention on c6/h2
2024-06-18 15:04:20 +08:00
Marius Vikhammer
bce25322d7
Merge branch 'docs/fix_doxygen_1_9_8_failure_v5.2' into 'release/v5.2'
...
docs(doxygen): fix misc issues with new version of doxygen (v5.2)
See merge request espressif/esp-idf!31187
2024-06-04 16:50:42 +08:00
Marius Vikhammer
bbe00b9ee3
docs(doxygen): fix misc issues with new version of doxygen
2024-05-30 13:42:18 +08:00
Omar Chebib
742b3a1814
fix(esp_hw_support): clear reserved interrupts that are not applicable for each target
2024-05-30 12:12:44 +08:00
Omar Chebib
35dd4e1557
refactor(esp_hw_support): changed reserved interrupt functions to be now defined per SoC
2024-05-30 11:49:13 +08:00
Li Shuai
f20186fe02
fix: modify some typos to ensure CI pipeline run pass
2024-04-22 12:49:34 +08:00
Li Shuai
8f9090b351
change(esp_hw_support): add adc retention module and it is dependencies on the clock modem
2024-04-22 12:49:34 +08:00
Li Shuai
0e28063291
change(esp_hw_support): dump sleep retention context to io stream
2024-04-22 12:49:34 +08:00
Li Shuai
9a51752d4d
change(esp_hw_support): modify system and modem clock to support modem domain power down
2024-04-19 14:08:15 +08:00
Li Shuai
e7d6748aec
change(esp_hw_support): some system peripherals to use a retention module number
2024-04-18 19:26:30 +08:00
Li Shuai
a2cbe3f0a3
feat(esp_hw_support): implement of sleep retention module initialize and dependency management
2024-04-18 19:26:30 +08:00
Li Shuai
f66e3f031d
change(esp_hw_support): modify the style of module argument from bitmap to number
2024-04-18 19:26:28 +08:00
Li Shuai
f5c8cc2bef
change(esp_hw_support): rename interface name of get modules bitmap to get created modules
2024-04-18 11:41:17 +08:00
Lou Tianhao
640ce31dae
change(pm): add ext1 new api
2024-04-15 20:16:49 +08:00
wuzhenghui
a9ff81a603
fix(esp_hw_support): move deepsleep phy callback before PLL disable
2024-04-07 20:36:51 +08:00
Cao Sen Miao
b69ac0fb27
fix(tsens,adc): Fix issue that disable adc will make temperature sensor crash,
...
Closes https://github.com/espressif/esp-idf/issues/12921
2024-02-21 11:58:26 +08:00
wuzhenghui
2cd8335818
feat(esp_hw_support): support gdma register context sleep retention
2024-02-18 15:57:15 +08:00
Xiao Xufeng
ea45c22a5c
fix(rtc): fixed bbpll not calibrated from bootloader issue
2024-01-05 10:24:49 +08:00
wuzhenghui
83b6c79f93
fix(esp_hw_support/sleep): wait flash ready after non-pd_top lightsleep for esp32c6
2023-12-27 15:34:55 +08:00
Lou Tianhao
7b5799830c
change(pm): change macro SOC_PM_RETENTION_HAS_REGDMA_POWER_BUG
2023-12-19 11:52:25 +08:00
wuzhenghui
debcb50fd2
fix(esp_hw_support): re-initialize icg map in modem_clock_module_enable
2023-12-08 14:18:45 +08:00
Darian Leung
c2e134b775
change(xtensa): Deprecate ".../xtensa_api.h" include path
...
This commit deprecates the "freertos/xtensa_api.h" and "xtensa/xtensa_api.h"
include paths. Users should use "xtensa_api.h" instead.
- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Replaced some calls with "esp_cpu_..." equivalents
- Add warning to compatibility header
2023-12-05 18:04:52 +08:00
xiaqilin
6ffc6a40a7
fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue
...
* switch root clk src to PLL for modem reg opt and added callback
* register power_down/power_up callback in ieee802154 driver for esp32c6
* remove software regdma opt in bt
2023-11-22 11:58:02 +08:00
Jiang Jiang Jian
35013d90a3
Merge branch 'bugfix/fix_onebyte_watchpoint_setting_v5.2' into 'release/v5.2'
...
fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting (v5.2)
See merge request espressif/esp-idf!27214
2023-11-17 13:49:30 +08:00
Jiang Jiang Jian
9d694e40ed
Merge branch 'bugfix/clear_ulp_wake_intr_in_wake_source_enable_v5.2' into 'release/v5.2'
...
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable (backport v5.2)
See merge request espressif/esp-idf!27187
2023-11-17 11:04:23 +08:00
wuzhenghui
600986cf49
fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting
2023-11-16 20:23:57 +08:00
wuzhenghui
b7f1aa5292
fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad
2023-11-16 17:18:43 +08:00
wuzhenghui
adc8351458
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable
2023-11-16 11:47:20 +08:00
Lou Tianhao
13a405a32b
change(pm): Change sleep callback implement
2023-10-23 08:13:47 +00:00
wuzhenghui
7195bf19df
feat(esp_hw_support): support one-to-many signal-gpio mapping output
2023-10-20 14:55:06 +08:00
wuzhenghui
6a436286dc
feat(esp_hw_support): add api to gpio driver to support output internal clock on GPIO
2023-10-20 14:35:26 +08:00
Armando (Dou Yiwen)
471f1f61ae
Merge branch 'feature/support_sdmmc_ver2_on_p4' into 'master'
...
sdmmc: esp32p4 support
Closes IDF-6502
See merge request espressif/esp-idf!25405
2023-10-19 22:00:40 +08:00
Jiang Jiang Jian
a94bb6201b
Merge branch 'bugfix/deep_sleep_force_to_sleep' into 'master'
...
fix(esp_hw_support): Return deep sleep APIs to the original behavior
Closes IDFGH-11192, PM-11, and IDF-7600
See merge request espressif/esp-idf!26341
2023-10-19 14:27:02 +08:00
Armando
7879b29b0c
feat(dma): added a helper api to check buffer is dma aligned
2023-10-18 11:57:55 +00:00