Laukik Hase
366e4ee944
refactor(esp_hw_support): Remove redundant PMP entry for ROM region
...
- The ROM text and data sections share the address range
(see SOC_I/DROM_MASK_LOW - SOC_I/DROM_MASK_HIGH).
- Initially, we had two PMP entries for this address range - one marking the
region as RX and the other as R.
- However, the latter entry is redundant as the former locks the PMP settings.
- We can divide the ROM region into text and data sections later when we
define boundaries marking these regions from the ROM.
2024-02-28 10:54:38 +05:30
Laukik Hase
ff839be31d
fix(esp_hw_support): Fix the I/DCACHE region PMP protection
2024-02-28 10:54:37 +05:30
Song Ruo Jing
dce27c3b09
change(clk_tree): add LP_DYN_FAST_CLK to soc_module_clk_t
2024-02-07 14:37:48 +08:00
wuzhenghui
0c2f811ca8
feat(esp_hw_support): support gdma register context sleep retention
2024-02-02 11:21:40 +08:00
Michael (XIAO Xufeng)
6dbb3059f9
Merge branch 'h2_auto_dbias_master_hsq' into 'master'
...
ESP32H2: Active & sleep dbias get from efuse to fix the voltage
See merge request espressif/esp-idf!27483
2024-01-29 10:16:15 +08:00
Song Ruo Jing
cf93777077
refactor(rtc): move soc/rtc.h from soc to esp_hw_support component
...
Deprecated rtc_xtal_freq_t, replaced with soc_xtal_freq_t defined in
clk_tree_defs.h in soc component.
2024-01-25 19:15:33 +08:00
hongshuqing
0b79d9bf4c
feat(pmu): set fix voltage to different mode for esp32h2
...
h2 remove include
2024-01-24 13:11:41 +08:00
Mahavir Jain
e3d4b901f9
Merge branch 'bugfix/compilation_failed_in_bootloader_with_sb_fe_verbose' into 'master'
...
fix(bootloader): Fix compilation issue in bootloader build during verbose+sb+fe
Closes IDF-6373
See merge request espressif/esp-idf!26339
2024-01-23 13:29:02 +08:00
Mahavir Jain
9ecd2fd7e3
fix(soc): change debug addr range to CPU subsystem range
...
For C6/H2/P4/C5, there is no SoC specific debug range. Instead the same
address range is part of CPU Subsystem range which contains debug mode
specific code and interrupt config registers (CLINT, PLIC etc.).
For now the PMP entry is provided with RWX permission for both machine
and user mode but we can save this entry and allow the access to only
machine mode for this range.
For P4/C5 case, this PMP entry can have RW permission as the debug mode
specific code is not present in this memory range.
2024-01-22 13:34:32 +08:00
nilesh.kale
59c5b5fe6b
fix(bootloader): Fix compilation issue in bootloader build during verbose+sb+fe
2024-01-18 12:15:15 +05:30
Cao Sen Miao
6768805d20
fix(uart,usj...): Fix wrong serial number that has been parsed to rom functions,
...
Closes https://github.com/espressif/esp-idf/issues/12958
2024-01-18 10:51:51 +08:00
Lou Tian Hao
b74cc4637b
Merge branch 'feature/support_hw_trigger_regdma_when_pu_top' into 'master'
...
fix(pm): trigger regdma retention by PMU when TOP is not power down on esp32H2
Closes PM-47 and PM-65
See merge request espressif/esp-idf!28046
2024-01-08 10:44:06 +08:00
Lou Tianhao
aed3127d19
feat(pm): support PMU trigger regdma when PU TOP
2024-01-05 16:17:32 +08:00
Xiao Xufeng
c204f418ef
fix(rtc): fixed bbpll not calibrated from bootloader issue
2024-01-04 03:23:20 +08:00
chaijie@espressif.com
8775b99d93
fix(bbpll): fix bbpll calibration may stop early bug(ESP32C2/S3/C6/H2)
2024-01-04 03:23:20 +08:00
Song Ruo Jing
7f2b85b82b
feat(clk): add basic clock support for esp32p4
...
- Support CPU frequency 360MHz
- Support SOC ROOT clock source switch
- Support LP SLOW clock source switch
- Support clock calibration
2023-12-29 00:37:26 +08:00
wuzhenghui
7de2728733
fix(esp_hw_support/sleep): wait flash ready after non-pd_top lightsleep for esp32c6
2023-12-14 08:57:06 +00:00
Marius Vikhammer
ac3915f092
docs(esp32p4): update misc docs for esp32p4
2023-12-09 09:09:55 +08:00
wuzhenghui
e1d24ebd7f
fix(esp_hw_support/sleep): fix rtc_time_us_to_slowclk div zero in deepsleep process
...
Closes https://github.com/espressif/esp-idf/issues/12695
2023-12-07 07:50:32 +00:00
Jakob Hasse
637d4c4381
fix(esp_hw_support): Removed unused include directories from cmake
...
* Closes https://github.com/espressif/esp-idf/issues/12700
2023-12-01 11:33:12 +08:00
Li Shuai
fa489d3c20
change(Power Management): the xpd_xtal32k value depends on system slow clock source config option when pmu initialize
2023-10-24 17:11:53 +08:00
zlq
9c2d470465
feat(bootloader): adjust dbias of bootloader, change clock of H2 to 64
...
MHz
2023-10-12 14:51:54 +08:00
Xiao Xufeng
28ba080c5e
Revert "feat(volt): chip auto adjust volt for esp32c6 & esp32h2"
...
This reverts commit b221f87e00
.
2023-10-12 14:51:54 +08:00
Lou Tian Hao
adae54faca
Merge branch 'bringup/support_callback_mechanism_in_lightsleep_flow' into 'master'
...
Power Management: support_callback_mechanism_in_lightsleep_flow
Closes WIFI-5936
See merge request espressif/esp-idf!24597
2023-10-08 20:16:01 +08:00
gaoxu
8efe950077
fix(adc): power settings not taking into effect on H2
2023-09-28 17:41:42 +00:00
zlq
b221f87e00
feat(volt): chip auto adjust volt for esp32c6 & esp32h2
2023-09-28 05:55:42 +00:00
Kevin (Lao Kaiyao)
9a239b8367
Merge branch 'feature/support_analog_comparator_on_p4' into 'master'
...
feat(ana_cmpr): supported analog comparator on esp32p4
Closes IDF-7479
See merge request espressif/esp-idf!24873
2023-09-27 04:24:09 +08:00
Jiang Jiang Jian
2ec907e621
Merge branch 'bugfix/fix_sleep_risk_vol_param' into 'master'
...
bugfix(sleep): fix risk sleep vol param for esp32c6 & esp32h2
See merge request espressif/esp-idf!25993
2023-09-26 14:06:56 +08:00
laokaiyao
ff7a11e539
feat(ana_cmpr): supported etm in analog comparator example
2023-09-25 19:57:34 +08:00
chaijie@espressif.com
76aca4cc8a
fix(sleep): fix inproper sleep vol param for esp32c6 & esp32h2
2023-09-25 16:37:35 +08:00
Lou Tianhao
450e685cb7
feat(PowerManagement/lightsleep): Support ESP_SLEEP_EVENT_CALLBACKS
2023-09-25 15:39:18 +08:00
harshal.patil
6a7caa7b8e
feat(esp_hw_support): Added locking mechanism for the ECDSA and ECC peripheral
2023-09-20 16:05:50 +05:30
morris
035c7c145c
feat(clk_cali): always enable timer group0 for clock calibration
...
Calibration registers are located in the timer group0,
this commit is going to always enable it when the calibration is used by app
2023-08-22 17:05:35 +08:00
wuzhenghui
c34cdd05e9
fix(esp_hw_support): manage i2c_ana_mst clock witch modem clock driver
2023-08-04 10:39:43 +08:00
Lou Tianhao
7bd92287c4
change(pm/deepsleep): Update deep_sleep pmu analog parameter for esp32h2
2023-07-20 11:43:57 +08:00
Lou Tianhao
dcacd8cdf8
feat(pm/deepsleep): Support deep_sleep example and deep_sleep_wake_stub example for esp32h2
2023-07-20 11:43:57 +08:00
Mahavir Jain
6431091ce6
fix(esp32h2): correct typo in chip revision prompt
2023-07-18 20:46:45 +05:30
wuzhenghui
14ea226351
fix(rtc_clk): fix i2c master clock missing in bbpll configure
2023-07-13 14:07:35 +08:00
Li Shuai
f4c3b07436
fix(rtc_clk): fix the issue of missing configuration for calibration cycles of the internal 32 kHz RC
2023-07-04 11:23:07 +08:00
Lou Tianhao
6ee0f89676
Power Management: fix hp xtal wait bug for esp32h2 and esp32c6
2023-06-26 21:05:17 +08:00
Lou Tianhao
a329b15e7e
Power Management: support pu xtal in light sleep for esp32h2
2023-06-26 21:05:16 +08:00
Lou Tianhao
ca55b91242
Power Management: update pmu init and sleep parameter
2023-06-26 21:05:16 +08:00
Lou Tianhao
46cf3ecdc2
Power Management: support PAU REGDMA feature for esp32h2
2023-06-26 20:58:59 +08:00
Lou Tianhao
63d32ab620
Power Management: support DFS and PMU feature for esp32h2
2023-06-26 20:57:55 +08:00
wuzhenghui
3ae1f0ea5d
bugfix: fix rc_fast bad calibration value
2023-05-25 21:21:14 +08:00
zlq
ff88f42819
H2:fix tsensor issue @low temp
2023-05-09 19:40:53 +08:00
Wu Zheng Hui
35bb946653
Merge branch 'bugfix/update_esp32c6eco1_sleep_fosc_cal_cycles' into 'master'
...
bugfix: update esp32c6eco1 / esp32h2eco2 fosc calibration cycles during sleep and support calibrate OSC clock every N times lightsleep
Closes IDF-7287
See merge request espressif/esp-idf!23489
2023-05-09 18:44:20 +08:00
wuzhenghui
dd4d1bbe90
bugfix: fix esp32c6eco1 fosc calibration cycles during sleep
2023-05-04 11:46:21 +08:00
hongshuqing
430776fc46
fix wrong hp ldo for h2
2023-04-27 17:29:10 +08:00
hongshuqing
cbc5a38e26
support h2 eco2 fosc calibration
2023-04-26 15:31:18 +08:00