C.S.M
4860379677
refactor(hw_support): Use esp_os_enter_critical instead of portENTER_CRITICAL_SAFE in esp_hw_support
2025-06-18 11:23:34 +08:00
Song Ruo Jing
6d293c8582
feat(clk): Add basic clock support for esp32h21
2025-06-16 15:05:32 +08:00
wuzhenghui
022614b1d3
fix(esp_hw_support): update systimer step immediately when XTAL changes on esp32s2
2025-05-22 13:58:54 +08:00
gaoxu
bf335a38f7
fix(adc): fix adc do not enable/disable regi2c registers
2025-04-25 14:39:01 +08:00
Wu Zheng Hui
fe3da7167e
Merge branch 'fix/fix_esp32p4_retention_cost' into 'master'
...
fix(esp_hw_support): optimize retention cost and update sleep time compensation
See merge request espressif/esp-idf!37920
2025-04-23 13:20:49 +08:00
wuzhenghui
6c4447ae2e
fix(esp_hw_support): fix wrong APB clock freq on retenion
2025-04-22 22:02:35 +08:00
Li Shuai
954270dda3
change(esp_hw_support): optimize sleep memory (iram or flash) usage control by PM_SLP_IRAM_OPT
2025-04-17 22:01:10 +08:00
Jiang Jiang Jian
b93ac4734b
Merge branch 'bugfix/fix_modem_state_rx_bcn_failed' into 'master'
...
fix(wifi):fix modem state rx bcn failed when tbtt update, support modem state for coexist
Closes WIFI-6538, WIFIBUG-1052, WIFIBUG-128, WIFIBUG-1064, and WIFIBUG-1088
See merge request espressif/esp-idf!37238
2025-04-09 17:58:50 +08:00
Li Shuai
059c50e8c8
change(esp_hw_support): add interface to calculate slow clock period by clock frequency
2025-04-09 11:41:58 +08:00
wuzhenghui
c84757d35e
fix(esp_hw_support): fix current leakage if ext32k slow clock source not exists
2025-04-08 20:07:47 +08:00
Song Ruo Jing
4244d8af54
fix(gpio): fix bad bit shift operation and OOB (h2) in io_mux.c
2025-03-06 20:35:48 +08:00
Wu Zheng Hui
2d1c99e74f
Merge branch 'fix/fix_bad_dslp_param_after_lightsleep' into 'master'
...
fix(esp_hw_support): Fixed the issue that light sleep destroyed the parameters of subsequent deep sleep
Closes PM-366 and BLERP-1602
See merge request espressif/esp-idf!37276
2025-02-27 15:51:55 +08:00
wuzhenghui
dd2bde0847
fix(esp_hw_support): fix lightsleep destroys deepsleep rtc parameters
2025-02-26 10:13:07 +08:00
Omar Chebib
a99753d293
fix(esp_hw_support): clear the memory protection interrupt status on boot
...
Fixes https://github.com/espressif/esp-idf/issues/15359
2025-02-25 18:06:38 +08:00
wuzhenghui
51205a8fd8
fix(esp_hw_support): fix esp32s2/esp32s3 RTC IOMUX clock management
2025-02-19 16:02:25 +08:00
wuzhenghui
dc93eb533a
fix(esp_hw_support): add timer wakeup sleep duration check
...
Closes https://github.com/espressif/esp-idf/issues/15255
2025-02-07 19:43:54 +08:00
Song Ruo Jing
92ed77933b
refactor(clk): deprecate SOC_RTC_FAST_CLK_SRC_XTAL_DIV
2024-11-04 12:37:17 +08:00
Jiang Jiang Jian
12cbdfef31
Merge branch 'feature/set_lp_cpu_power_mode_with_clock_src' into 'master'
...
change(esp_hw_support): switch lp_cpu power mode with clock src selection to save lp_cpu working power
Closes AEG-1430
See merge request espressif/esp-idf!30556
2024-09-29 18:32:32 +08:00
wuzhenghui
04b2afed44
change(esp_hw_support): switch lp_cpu power mode with clock src to save lp_cpu working power
2024-09-26 11:23:06 +08:00
wuzhenghui
baa4d51656
fix(esp_hw_support): fix bad submode setting logic in rtc_slow selection
2024-09-24 11:24:03 +08:00
Wu Zheng Hui
6abe40e590
Merge branch 'feature/optimize_esp32p4_active_power_eco1' into 'master'
...
feat(system): Optimize esp32p4 active state power consumption
Closes PM-103 and IDF-7688
See merge request espressif/esp-idf!32950
2024-09-11 23:15:29 +08:00
wuzhenghui
13e42707a0
feat(esp_hw_support): add clk tree source gate management api
2024-09-11 10:53:01 +08:00
wuzhenghui
5184d7ec98
change(esp_hw_support): replace esp_sleep_periph_use_8m with new API
2024-09-07 02:04:43 +08:00
Omar Chebib
928859307f
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.
2024-08-29 13:55:47 +08:00
laokaiyao
da4a7f7407
refactor(bootloader): lower down the log level to reduce the bootloader size
2024-08-26 10:02:31 +08:00
laokaiyao
1c2f8b8ce0
feat(bootloader): support to check efuse block revision
...
change(bootloader): remove ignore efuse check flag (temp)
change(bootloader): use int for the minimum efuse blk rev (temp)
2024-08-26 10:02:31 +08:00
harshal.patil
488b2a741d
change(esp_security): Move the crypto locking layer into the security component
2024-08-20 12:35:22 +08:00
Song Ruo Jing
ac6101bf4e
feat(clk): support ESP32C5 XTAL 40M/48M selection
2024-06-11 17:42:43 +08:00
morris
e8b6d2280d
change(gptimer): use private unsafe RCC LL functions in bootloader
2024-04-08 17:48:20 +08:00
Li Shuai
608713a72a
fix(esp_hw_support): fixed modem hang caused by incorrect configuration of power and isolate signals
2024-04-01 15:21:07 +08:00
Omar Chebib
a79c6f7f67
fix(esp_hw_support): clear reserved interrupts that are not applicable for each target
2024-03-27 16:21:25 +08:00
Jiang Jiang Jian
6a879bf2d2
Merge branch 'bugfix/fix_maximum_value_of_config_rtc_clk_cal_cycles_bug' into 'master'
...
ESP All Chip: fixed the maximum value of config RTC_CLK_CAL_SYCLES bug
See merge request espressif/esp-idf!29423
2024-03-14 10:44:17 +08:00
hongshuqing
d78805670a
fix: fix_maximum_value_of_config_rtc_clk_cal_cycle_bug
2024-03-05 19:33:30 +08:00
Omar Chebib
c1849df791
refactor(esp_hw_support): changed reserved interrupt functions to be now defined per SoC
2024-02-28 15:21:10 +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
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
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
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
Armando
d3be2541de
fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12
...
By design, it's 12 dB. There're errors among chips, so the actual
attenuation will be 11dB more or less
2023-11-06 18:55:49 +08:00
laokaiyao
72a0746e62
refactor(apll): move the apll soc caps to clk_tree_ll
2023-09-28 15:03:27 +08:00
Michael (XIAO Xufeng)
efb9d9e7d4
Merge branch 'esp32_s2_s3_cpu_freq_to_pll' into 'master'
...
EspS2/S3: fixed the bug of insufficient voltage when the CPU switches frequency
See merge request espressif/esp-idf!25396
2023-09-18 20:01:31 +08:00
hongshuqing
77a303276a
esp32/esp32s2/esp32s3 cpu freq to pll
...
add assert for cpu_freq_to_8m
update esp32 DBIAS_XTAL_80M_160M define
delete modify of esp32
remove esp32 comment
restore esp32 modify
2023-09-11 10:40:27 +08:00
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
morris
1c0be26531
fix(soc): soc header files can pass CI check
2023-06-26 23:00:45 +08:00
Song Ruo Jing
a4e8960ab4
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx, add compilation warning to clk_tree.h
2023-04-25 14:12:06 +08:00
morris
4123e611dc
esp_rom: add common ROM API to update CPU tick rate
2023-04-19 13:21:26 +08:00
cje
6c35ee3fc5
fix chip broken bug when run in monitor mode of S2 and modify voltage param to fit all sleep mode of S2/C2/C3
2023-04-10 18:04:24 +08:00
Li Shuai
a25ce78392
sleep: fix sleep current issue caused by sar adc
2023-03-17 13:06:39 +08:00