Wu Zheng Hui
ec37cbf157
Merge branch 'feature/esp32c5beta3_light_sleep_support_stage_1' into 'master'
...
feat(esp_hw_support): esp32c5 sleep support (Stage 2: support basic pmu sleep function)
See merge request espressif/esp-idf!29549
2024-04-11 10:38:17 +08:00
Lou Tianhao
2c59c4fbf2
fix(ci): bypass c5mp ci check
2024-04-10 20:45:49 +08:00
Jiang Jiang Jian
9081d54aa7
Merge branch 'fix/fix_pmu_power_domain_initialize_order' into 'master'
...
fix(esp_hw_support): fix pmu power domain initialize order
See merge request espressif/esp-idf!30095
2024-04-10 17:23:47 +08:00
Lou Tianhao
3fb4909483
feat(example): support esp32c5 timer/gpio/uart wakeup
2024-04-10 11:45:04 +08:00
morris
e8b6d2280d
change(gptimer): use private unsafe RCC LL functions in bootloader
2024-04-08 17:48:20 +08:00
wuzhenghui
24244f04f2
fix(esp_hw_support): fix pmu power domain initialize order
2024-04-08 15:47:59 +08:00
Konstantin Kondrashov
f909dddde7
Merge branch 'feature/mac_esp32p4_support' into 'master'
...
feat(esp_hw_support): Adds MAC address support for esp32p4
Closes IDF-8949
See merge request espressif/esp-idf!28704
2024-04-03 19:01:29 +08:00
Laukik Hase
48503dd39f
fix(esp_hw_support): Fix the flash I/DROM region PMP protection
2024-04-02 18:41:07 +05:30
Jiang Jiang Jian
597168303d
Merge branch 'bugfix/aud-5252' into 'master'
...
fix the issue of modem hang caused by incorrect configuration of power and isolate signals
Closes AUD-5252
See merge request espressif/esp-idf!29960
2024-04-02 19:30:32 +08:00
wanlei
20c18ac52b
feat(esp32c61): final introduce helloworld support
2024-04-02 10:50:52 +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
Li Shuai
67f1de5e99
change(esp_hw_support): dump sleep retention context to io stream
2024-03-30 11:51:52 +08:00
Li Shuai
262be04b21
change(esp_hw_support): modify system and modem clock to support modem domain power down
2024-03-29 16:13:52 +08:00
Wu Zheng Hui
96d99352ea
Merge branch 'feature/esp32p4_sleep_peripheral_retention_support' into 'master'
...
feat(esp_hw_support): esp32p4 sleep support (Stage 3: support system peripheral sleep retention 🔌 )
Closes IDF-7531, IDF-7530, IDF-8976, and FV-748
See merge request espressif/esp-idf!28486
2024-03-29 11:15:49 +08:00
Michael (XIAO Xufeng)
5d6c56c20d
Merge branch 'fix/unused_mmap_include' into 'master'
...
fix(all): remove unused header includes
See merge request espressif/esp-idf!29816
2024-03-29 10:20:08 +08:00
Konstantin Kondrashov
02d7120d02
feat(esp_hw_support): Adds MAC support for esp32p4
2024-03-29 01:44:39 +08:00
wuzhenghui
4a64d2fe2c
change(hal): control PAU bus clock by hal layer
2024-03-29 00:36:46 +08:00
wuzhenghui
38fe4e136a
feat(esp_hw_support): support esp32p4 sleep peripheral retention
2024-03-28 19:18:25 +08:00
wuzhenghui
f1beed90ff
feat(esp_hw_support): support esp32p4 sleep clock retention
2024-03-28 19:18:24 +08:00
wuzhenghui
194c38479e
refactor(esp_hw_support): split pd_top clock retention initialization by target
2024-03-28 19:18:24 +08:00
wuzhenghui
5d24a818eb
feat(esp_hw_support): add esp32p4 pau initial support
2024-03-28 19:18:24 +08:00
wuzhenghui
acd263d006
fix(esp_hw_support): fix pmu analog parameter configuration missing
2024-03-28 19:18:20 +08:00
Wan Lei
e84c7f00a5
Merge branch 'feat/c6lite_c61_ci_header_tmp_app' into 'master'
...
feat(esp32c61): ci enable header check (stage 7/8)
See merge request espressif/esp-idf!29775
2024-03-28 11:45:20 +08:00
Omar Chebib
1683e9a92c
Merge branch 'fix/unused_interrupts' into 'master'
...
fix(esp_hw_ support): clear reserved interrupts that are unused or not applicable anymore
Closes IDF-7821 and IDF-9428
See merge request espressif/esp-idf!29639
2024-03-28 11:27:20 +08:00
wanlei
535afdd7f4
feat(esp32c61): ci enable header check, fix c61 build
2024-03-27 19:39:59 +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
wuzhenghui
65d4e79f80
feat(esp_hw_support): support esp32p4 ext1 wakeup
2024-03-27 13:59:37 +08:00
morris
5369b68bc8
change(flash): acquire the LDO channel used by flash
...
so that even if the same channel has other consumers, the voltage won't
be changed
2024-03-25 22:04:01 +08:00
morris
cf59c00564
change(mpll): clean up mpll clock acquire with ldo driver
2024-03-25 22:03:49 +08:00
Xiao Xufeng
313c4f2cdc
fix(all): remove unused header includes
2024-03-25 13:58:40 +08:00
laokaiyao
24d6dcb829
feat(esp32c5mp): add system related components
2024-03-18 17:34:56 +08:00
Wu Zheng Hui
5a682c3bbb
Merge branch 'feature/optimize_chips_active_power' into 'master'
...
feat(system): Optimize the power consumption of esp32h2 and esp32c6 in the active state
Closes IDF-5658
See merge request espressif/esp-idf!27798
2024-03-14 12:08:33 +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
Wu Zheng Hui
bb25cc1234
Merge branch 'feature/esp32p4_sleep_support' into 'master'
...
feat(esp_hw_support): esp32p4 sleep support (Stage 1: support basic pmu sleep function 💤 )
Closes IDF-7528 and IDF-7527
See merge request espressif/esp-idf!28196
2024-03-14 10:17:32 +08:00
Mahavir Jain
2b17acb4b0
Merge branch 'bugfix/memprot_cleanup' into 'master'
...
fix: cleanup memprot files for C6/H2/P4
See merge request espressif/esp-idf!29556
2024-03-13 11:12:52 +08:00
Konstantin Kondrashov
3f89072af1
feat(all): Use PRIx macro in all logs
2024-03-12 11:15:53 +02:00
Michael (XIAO Xufeng)
4ee54026e3
Merge branch 'bugfix/fix_fastmem_slowmem_lost_data_bug' into 'master'
...
[C3/S3]Fix sleep fast_mem & slow_mem may lost bug
See merge request espressif/esp-idf!27571
2024-03-12 11:32:00 +08:00
Mahavir Jain
fd6c710b27
fix: cleanup memprot files for C6/H2/P4
...
There is no separate permission control peripheral in C6/H2/P4.
Memory protection is achieved using built-in PMA/PMP and hence
removing permission control specific files.
2024-03-11 17:10:40 +05:30
wuzhenghui
174386f133
ci: enable lightsleep related tests
2024-03-10 10:51:28 +08:00
wuzhenghui
129bfce02e
feat(esp_hw_support): support esp32p4 pll start/stop event callback
2024-03-10 10:51:28 +08:00
wuzhenghui
65e9d0ddb9
feat(esp_hw_support): add esp32p4 sleep initial support
2024-03-10 10:51:28 +08:00
wuzhenghui
856f043331
feat(esp_hw_support): add esp32p4 pmu initial support
2024-03-10 10:51:28 +08:00
wuzhenghui
f5707c6ab8
feat(system): gate the REF_TICK clock by default for esp32c6 and esp32h2
2024-03-07 19:26:38 +08:00
Omar Chebib
eeb5e2f080
Merge branch 'refactor/cpu_interrupt_table' into 'master'
...
refactor(Core System/Interrupts): changed reserved interrupt functions to be now defined per SoC
Closes IDF-5728
See merge request espressif/esp-idf!29020
2024-03-06 11:26:17 +08:00
hongshuqing
d78805670a
fix: fix_maximum_value_of_config_rtc_clk_cal_cycle_bug
2024-03-05 19:33:30 +08:00
wanlei
ee02b71f1c
feat(esp32c61): introduce target esp32c61
2024-03-01 21:12:25 +08:00
Armando (Dou Yiwen)
7b414002f6
Merge branch 'change/psram_200m_update' into 'master'
...
change(psram): update voltage configurations
See merge request espressif/esp-idf!28933
2024-03-01 15:17:24 +08:00
Mahavir Jain
e18fd01d0d
Merge branch 'fix/pmp_idcache_reg_prot' into 'master'
...
fix(esp_hw_support): Fix the I/DCACHE region PMP protection
See merge request espressif/esp-idf!28525
2024-02-29 21:39:11 +08:00
Mahavir Jain
7adbc9cf4b
Merge branch 'fix/fix_key_manager_clock_changes' into 'master'
...
fix(hal): Fix Key Manager clock changes
See merge request espressif/esp-idf!28890
2024-02-29 21:38:18 +08:00
gaoxu
f9109beda2
feat(uart): add HP/LP uart support on ESP32C5
2024-02-29 14:12:51 +08:00
Aditya Patwardhan
4636ef946b
fix(esp_hw_support): Update key manager locking mechanism
2024-02-29 12:00:30 +08:00
Armando
62440e5b12
change(psram): update voltage configurations
2024-02-29 10:42:37 +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
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
Jiang Jiang Jian
c7a02cbe55
Merge branch 'c6_auto_dbias_master_hsq' into 'master'
...
ESP32C6: Active & sleep dbg and dbias get from efuse to fix the voltage
See merge request espressif/esp-idf!27696
2024-02-22 19:12:28 +08:00
fl0wl0w
90d1dcfd76
feat(freertos): Introduced new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES
...
This commit replaces the use of portNUM_PROCESSORS and configNUM_CORES
macros in all of ESP-IDF. These macros are needed to realize an SMP
scenario by fetching the number of active cores FreeRTOS is running on.
Instead, a new Kconfig option, CONFIG_FREERTOS_NUMBER_OF_CORES, has been
added as a proxy for the FreeRTOS config option, configNUMBER_OF_CORES.
This new commit is now used to realize an SMP scenario in various places
in ESP-IDF.
[Sudeep Mohanty: Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES]
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2024-02-09 09:11:28 +01:00
Song Ruo Jing
d556fee5c4
Merge branch 'feature/esp32c5_clock_preliminary_support' into 'master'
...
Feature/esp32c5 clock preliminary support
See merge request espressif/esp-idf!28808
2024-02-08 11:54:35 +08:00
chaijie@espressif.com
17ac4cd909
fix: fix sleep fast_mem & slow_mem may lost bug
2024-02-07 18:06:04 +08:00
Song Ruo Jing
95133c179f
feat(clk): preliminary clock tree support for ESP32C5
2024-02-07 14:38:15 +08:00
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
laokaiyao
ea14b24048
ci(esp32c5): fix the build of the template app
2024-02-05 12:39:35 +08:00
laokaiyao
c0c6af99e9
fix(esp32c5): fixed the lack of crosscore ll on c5
2024-02-05 12:39:35 +08:00
hongshuqing
35918b89a9
feat(pmu): set fix voltage to different mode for esp32c6 & c6 modify brownout rst2
2024-02-04 14:13:23 +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
09c9001895
Merge branch 'feature/add_key_manager_hw_support' into 'master'
...
Feature/add key manager hw support
Closes IDF-7925 and IDF-8041
See merge request espressif/esp-idf!26328
2024-01-23 17:11:05 +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
Aditya Patwardhan
4dc2ace0b7
fix(esp_hw_support): Update key manager support
...
1) Added new Key Manager APIs
2) Added crypto locking layer for Key Manager
3) Remove support for deploying known key
4) Format key manager support
5) Fix build header error
6) Updated the key_mgr_types.h file
7) Added key manager tests
2024-01-23 10:24:39 +05:30
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
Omar Chebib
102d5bbf72
refactor(riscv): added a new API for the interrupts
2024-01-18 16:36:53 +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
Ondrej Kosta
ce388a4111
feat(esp_eth): Added support of internal EMAC for ESP32P4
...
Refactored internal EMAC DMA access.
Added MPLL acquire to manage access to the MPLL by multiple periphs.
2024-01-16 14:29:25 +01:00
Armando
80e18811db
feat(psram): support 200mhz psram, experimental feature for now
2024-01-10 11:52:28 +08:00
laokaiyao
d0a8f3e5c4
feat(esp32c5): support esptool on esp32c5 beta3
2024-01-09 13:11:11 +08:00
laokaiyao
3d459e423a
feat(esp32c5): support esp32c5 beta3 48M xtal
2024-01-09 13:11:11 +08:00
laokaiyao
11e19f40b9
feat(esp32c5): support to build hello world on esp32c5 beta3
2024-01-09 13:11:11 +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
laokaiyao
a48f4760d2
feat(esp32c5): add system related supports
2024-01-02 11:17:11 +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
Armando
71202c701f
change(ldo): do vddpst ldo init in early stage
2023-12-26 11:43:33 +08:00
Armando
27b1e4dc87
feat(mpll): supported mpll configure ll api
2023-12-21 16:26:03 +08:00
Jiang Jiang Jian
73de93d55e
Merge branch 'bugfix/wait_tvsl_after_non_pd_top_lightsleep_for_esp32c6' into 'master'
...
fix(esp_hw_support/sleep): wait flash ready after non-pd_top lightsleep for esp32c6
Closes IDF-6930
See merge request espressif/esp-idf!27726
2023-12-19 14:01:45 +08:00
Lou Tianhao
d8b1f7207a
change(pm): change macro SOC_PM_RETENTION_HAS_REGDMA_POWER_BUG
2023-12-15 15:04:06 +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
Jiang Jiang Jian
80c2bd3d7c
Merge branch 'bugfix/put_extra_link_retention_in_iram' into 'master'
...
fix(pm): place extra link opt in iram
Closes PM-30
See merge request espressif/esp-idf!27625
2023-12-14 10:28:34 +08: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
cjin
797edb54fa
fix(pm): place extra link opt in iram
2023-12-04 14:46:42 +08: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
Kevin (Lao Kaiyao)
cd9d321062
Merge branch 'feature/introduce_target_esp32c5' into 'master'
...
feat(esp32c5): introduce target esp32c5 (stage 1)
See merge request espressif/esp-idf!27299
2023-11-29 20:31:34 +08:00
laokaiyao
bb0879b3f8
feat(esp32c5): introduce target esp32c5
2023-11-28 16:14:17 +08:00
Michael (XIAO Xufeng)
eb93daafd0
feat(soc): Increase max supported version of C3 to 1.99
2023-11-23 06:58:18 +00:00
Wu Zheng Hui
a9ea49cba2
Merge branch 'bugfix/clear_ulp_wake_intr_in_wake_source_enable' into 'master'
...
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable
Closes PM-14
See merge request espressif/esp-idf!26674
2023-11-07 16:58:38 +08:00