Commit Graph

126 Commits

Author SHA1 Message Date
C.S.M
d02758f56b feat(spi_flash): Increase flash frequency from 40M to 80M 2024-07-09 10:49:57 +08:00
Xiaoyu Liu
66f7731bd8 change(lp_uart): Enable SOC_ULP_LP_UART_SUPPORTED on ESP32C5 2024-07-08 16:10:39 +08:00
Sachin Billore
f92afd85cd feat: add APM support for ESP32C5 2024-07-08 12:37:56 +05:30
Marius Vikhammer
d1132ddfa2 Merge branch 'feature/lp_core_etm' into 'master'
feat(lp-core): added support for using ETM events as wake-up source

Closes IDF-10201 and IDF-6360

See merge request espressif/esp-idf!31810
2024-07-08 12:23:03 +08:00
Marius Vikhammer
de2a66ebe0 feat(lp-core): added support for using ETM events as wake-up source 2024-07-08 11:04:34 +08:00
C.S.M
9de3e737cf feat(spiram): Add spiram support on esp32c5 2024-07-04 19:29:04 +08:00
C.S.M
8b2350ce1c fix(usb_serial_jtag): Fix issue that use u32_reg read/write cannot be used to modify fifo regs 2024-07-03 15:15:46 +08:00
laokaiyao
cb22b8aaf7 ci(esp32c5): enable c5 target test 2024-07-02 16:45:49 +08:00
Gao Xu
e843a38014 Merge branch 'feature/esp32c5_mp_rtcio_support' into 'master'
feat(rtcio): support RTCIO on ESP32C5 MP

Closes IDF-8719

See merge request espressif/esp-idf!31371
2024-07-02 15:30:42 +08:00
Mahavir Jain
56a84c2a7a Merge branch 'feature/enabling_config_for_dpa_protection' into 'master'
feat: enable DPA protection for c5

See merge request espressif/esp-idf!31758
2024-07-01 17:15:16 +08:00
morris
3cdbe8cef8 Merge branch 'test/pcnt_step_notify' into 'master'
feat(pcnt): support for pcnt step_notify

Closes IDF-7984, IDFGH-8104, and IDFGH-10943

See merge request espressif/esp-idf!31466
2024-07-01 10:44:19 +08:00
gaoxu
0d35631ec1 feat(rtcio): support RTCIO on ESP32C5 2024-06-28 22:01:55 +08:00
morris
f03763577a Merge branch 'bugfix/rmt_memory_power_up' into 'master'
fix(rmt): power up memory block

Closes IDF-8726

See merge request espressif/esp-idf!31650
2024-06-28 17:52:01 +08:00
nilesh.kale
1eaa8288a2 feat: enable DPA protection for c5
This commit enabled DPA protection for ESP32C5.
This reflect updating documentation for C5.
2024-06-28 11:38:51 +05:30
morris
722ce211af
fix(rmt): power up memory block 2024-06-28 10:58:04 +08:00
Marius Vikhammer
2ba6f989b7 fix(wdt): bringup WDTs for CP MP 2024-06-28 09:51:57 +08:00
Armando (Dou Yiwen)
80f3e79b07 Merge branch 'feat/mmu_support_c5' into 'master'
mmu: remove SOC_MMU_PAGE_SIZE_CONFIGURABLE on c5 mp

See merge request espressif/esp-idf!31749
2024-06-26 21:10:48 +08:00
Song Ruo Jing
e5dbbf467c Merge branch 'feature/esp32c5_clock_support' into 'master'
feat(clk): Add basic clock support for esp32c5 mp

Closes IDF-8642 and IDF-9009

See merge request espressif/esp-idf!31514
2024-06-26 19:27:51 +08:00
Armando
d6e9618263 change(mmu): remove SOC_MMU_PAGE_SIZE_CONFIGURABLE 2024-06-26 17:35:26 +08:00
Song Ruo Jing
40f3bc2e57 feat(clk): Add basic clock support for esp32c5 mp
- Support SOC ROOT clock source switch
- Support CPU frequency change
- Support RTC SLOW clock source switch
- Support RTC SLOW clock + RC FAST calibration
- Remove FPGA build
2024-06-26 14:26:34 +08:00
Jiang Guang Ming
9ee667eb15 fix(soc): add the missing mmu.h header file on c5 2024-06-26 13:04:22 +08:00
harshal.patil
84afc6a955
feat(esp_hw_support): Support memory protection using PMA and PMP for ESP32-C5 2024-06-25 11:55:15 +05:30
harshal.patil
980ac9bcf5
fix(soc): Fix ESP32-C5's rom mask high and subsystem high memory addresses 2024-06-25 11:39:22 +05:30
Marius Vikhammer
7ba8f6bc51 Merge branch 'feature/lp_timer_c5_mp' into 'master'
feat(lp-timer): support lp timer for C5

Closes IDF-8636

See merge request espressif/esp-idf!31631
2024-06-25 12:35:30 +08:00
Chen Jichang
d81546628a feat(pcnt): add support for step notify
PCNT can add watch of value increment that we call step notify.
This commit add a step notify driver and a test for the driver.

Closes https://github.com/espressif/esp-idf/issues/9604
Closes https://github.com/espressif/esp-idf/issues/12136
2024-06-24 15:50:47 +08:00
Kevin (Lao Kaiyao)
e301e4ee34 Merge branch 'feature/support_parlio_on_c5' into 'master'
feat(parlio): support parlio on c5

Closes IDF-8685 and IDF-8686

See merge request espressif/esp-idf!31604
2024-06-20 19:16:12 +08:00
C.S.M
5bd39b54d3 feat(usb_serial_jtag): Add usb serial jtag support on esp32c5 2024-06-20 16:55:55 +08:00
Marius Vikhammer
24e9736532 feat(lp-timer): support lp timer for C5 2024-06-20 16:13:49 +08:00
Sudeep Mohanty
d0eed3a65e Merge branch 'fix/lp_i2c_reg_redefinition_on_esp32c5' into 'master'
fix(lp-i2c): Fixed register definition namespace for LP I2C registers on esp32c5

See merge request espressif/esp-idf!31599
2024-06-20 14:40:53 +08:00
laokaiyao
f301db44b8 feat(parlio): support parlio on C5 2024-06-20 14:28:37 +08:00
Lou Tian Hao
ec9c9413bc Merge branch 'feature/esp32c5mp_light_sleep_support_stage_1' into 'master'
feat(esp_hw_support): esp32c5mp sleep support (Stage 1: support modem clock)

See merge request espressif/esp-idf!31028
2024-06-19 19:09:43 +08:00
Sudeep Mohanty
86f86aa269 fix(lp-i2c): Fixed register definition namespace for LP I2C registers on esp32c5
This commit adds the `LP_I2C_` namespace to the register definitions for
the LP I2C registers on the esp32c5. Currently, the definitions lead to
a clash with the HP I2C register definitions leading to compilation
warnings.
2024-06-19 10:38:52 +02:00
Lou Tianhao
8c52c983b4 feat(esp_hw_support): support modem clock for esp32c5mp 2024-06-19 11:19:37 +08:00
Marius Vikhammer
a60d19949d Merge branch 'feature/c5_mp_lp_core' into 'master'
feat(lp-core): bringup lp-core for C5 MP

See merge request espressif/esp-idf!31563
2024-06-19 11:14:25 +08:00
Marius Vikhammer
aae3aa5e5f feat(lp-core): bringup lp-core for C5 MP
LP-Core is now able to boot and run on C5 MP chip.
2024-06-19 09:18:47 +08:00
laokaiyao
3701760e03 fix(soc): sych the changes that missed during c5 beta3 removal 2024-06-18 19:07:22 +08:00
C.S.M
b0f2205f70 feat(i2c): Add i2c support on esp32c5 mp 2024-06-18 10:37:36 +08:00
laokaiyao
717a2ccf15 remove(c5beta3): remove c5 beta3 soc files 2024-06-17 12:01:57 +08:00
laokaiyao
fc000cd7b7 ci(doc): enable doc build for esp32c5 2024-04-18 19:39:29 +08:00
laokaiyao
01e3c85322 refactor(esp32c5): change beta3 path in esp_system and bootloader 2024-03-01 11:12:36 +08:00
laokaiyao
db2435fd14 feat(soc_cap_kconfig): support to search recursively 2024-03-01 10:17:17 +08:00
laokaiyao
319e30ac38 refactor(esp32c5): change beta3 path in soc 2024-03-01 10:16:14 +08:00
C.S.M
1360f1b0a9 Merge branch 'feature/i2c_support_esp32c5' into 'master'
feat(i2c): Add I2C support on ESP32C5

Closes IDF-8694 and IDF-8696

See merge request espressif/esp-idf!29196
2024-02-29 21:51:45 +08:00
gaoxu
f9109beda2 feat(uart): add HP/LP uart support on ESP32C5 2024-02-29 14:12:51 +08:00
Cao Sen Miao
ddb0c21d4c feat(i2c): Add I2C support on ESP32C5 2024-02-29 12:13:39 +08:00
Song Ruo Jing
98d9f04b00 feat(gdma): add GDMA support for ESP32C5 2024-02-28 12:38:02 +08:00
Cao Sen Miao
cf521b60ea feat(i2c): Support i2c sleep retention on esp32c6/h2 2024-02-23 11:28:14 +08:00
Mahavir Jain
b44387fd9b Merge branch 'feature/enable_ecc_support_for_c5' into 'master'
feat: added ecc peripheral support for esp32c5

Closes IDF-8625

See merge request espressif/esp-idf!29053
2024-02-22 16:36:30 +08:00
Marius Vikhammer
c3ecd6d1f7 Merge branch 'bugfix/reset_reasons' into 'master'
Update reset reasons for C6, H2, P4 and C5

Closes IDF-5719 and IDF-8660

See merge request espressif/esp-idf!28999
2024-02-22 11:02:29 +08:00
nilesh.kale
747ee60dd5 feat: added ecc peripheral support for esp32c5
This commits adds support for ECC peripheral for ESP32C5
This is tested on mbedtls and hal testapps.
2024-02-21 14:52:56 +05:30
Marius Vikhammer
4ce4af61ad fix(system): update reset reasons for P4 and C5 2024-02-21 11:59:28 +08:00
gaoxu
3ac736bc95 feat(gpio): add gpio support on ESP32C5 2024-02-20 14:57:25 +08:00
morris
49e7228be9 feat(gptimer): basic driver support on esp32c5 2024-02-19 10:27:18 +08:00
Song Ruo Jing
95133c179f feat(clk): preliminary clock tree support for ESP32C5 2024-02-07 14:38:15 +08:00
laokaiyao
c0c6af99e9 fix(esp32c5): fixed the lack of crosscore ll on c5 2024-02-05 12:39:35 +08:00
Wu Zheng Hui
5454d37d49 Merge branch 'feature/support_gdma_retention' into 'master'
feature: support gdma retention in pd_top lightsleep

Closes IDF-7704 and IDFGH-11389

See merge request espressif/esp-idf!27246
2024-02-04 20:17:02 +08:00
wuzhenghui
0c2f811ca8
feat(esp_hw_support): support gdma register context sleep retention 2024-02-02 11:21:40 +08:00
Marius Vikhammer
4d28524bdb docs(esp32c5): add support for building C5 docs 2024-02-01 10:06:41 +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
Wu Zheng Hui
55f04b3326 Merge branch 'feature/clean_up_retention_context_definitions' into 'master'
refactor(esp_hw_support): move sleep retention context definition to soc target folder

Closes PM-10

See merge request espressif/esp-idf!26753
2024-01-24 20:24:02 +08:00
wuzhenghui
f3f12e973c
refactor(esp_hw_support): separate different chip system peripheral regs context defs to target folder 2024-01-23 13:30:01 +08:00
wuzhenghui
9b3dc69908
refactor(esp_hw_support): move regdma structure defination to soc components 2024-01-23 11:51:44 +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
Omar Chebib
102d5bbf72 refactor(riscv): added a new API for the interrupts 2024-01-18 16:36:53 +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
96a4ead083 feat(esp32c5): support to run hello world on esp32c5 beta3 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
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
laokaiyao
fcc9293f66 change(esp32c5): update soc files for esp32c5 beta3 2023-12-28 10:23:15 +08:00
laokaiyao
2b44d62e43 feat(esp32c5): support esp32c5 g0 components 2023-12-08 15:12:24 +08:00
laokaiyao
40bce13348 feat(esp32c5): update reg headers for multiple instances module (part3) 2023-12-01 19:04:55 +08:00
laokaiyao
9b31979107 feat(esp32c5): add struct name and reformat struct headers (part3) 2023-12-01 19:04:46 +08:00
Kevin (Lao Kaiyao)
15803e14e9 Merge branch 'feature/add_esp32c5_beta3_soc_header_files' into 'master'
feat(esp32c5): add esp32c5 soc header files (stage 2, part 1)

See merge request espressif/esp-idf!27492
2023-11-30 15:07:04 +08:00
laokaiyao
d87e007c66 feat(esp32c5): add esp32c5-beta3 soc header files (part1) 2023-11-29 20:53:33 +08:00
laokaiyao
87f7d2edc4 feat(esp32c5): add esp32c5-beta3 soc header files (part2) 2023-11-29 20:48:52 +08:00