Zhu Li Qun
b9c58c550c
Merge branch 'bugfix/fix_s3c3_wrong_ext32k_config_bug' into 'master'
...
fix(ext_32k): fix the external 32K issue on C3&S3
See merge request espressif/esp-idf!33150
2024-09-04 11:30:55 +08:00
Marius Vikhammer
520fda61cd
feat(system): remove references to RTC mem on C61
2024-09-04 11:16:36 +08:00
Jiang Guang Ming
7d2752dacd
feat(esp_hw_support): Support esp32c2 rev2.0 chip
2024-09-03 17:50:39 +08:00
wanckl
19c6e77a31
fix(mspi): collect mspi iomux pin macro from iomux_reg.h to spi_pins.h
2024-09-03 13:55:00 +08:00
zlq
f567341168
fix(ext_32k): fix the external 32K issue on C3&S3
2024-09-02 19:33:30 +08:00
wanckl
4e095f4b9f
ci(esp32c61): enable c61 generic target test
2024-09-02 19:26:12 +08:00
Omar Chebib
c68c404cdc
Merge branch 'fix/xtensa_nmi' into 'master'
...
fix(esp_hw_support): make the NMI interrupts available for the main application
Closes IDF-1891 and IDFGH-12631
See merge request espressif/esp-idf!32767
2024-09-02 11:18:32 +08:00
Andste82
681b372668
fix(spinlock): comparison of integer expressions of different signedness
2024-08-30 11:28:16 +02:00
Kevin (Lao Kaiyao)
b71768b742
Merge branch 'feature/support_apll_on_p4' into 'master'
...
feat(clock): support apll clock on p4
Closes IDF-8884
See merge request espressif/esp-idf!33101
2024-08-30 14:45:57 +08:00
Omar Chebib
1157a27964
Merge branch 'bugfix/intr_alloc_rom_handler' into 'master'
...
fix(esp_hw_support): allow allocating interrupts with handlers in ROM with IRAM attribute
Closes IDF-7971
See merge request espressif/esp-idf!32561
2024-08-30 10:50:49 +08:00
Li Shuai
1fa27cbb0d
Merge branch 'feature/esp32c5mp_light_sleep_support_stage_2' into 'master'
...
feat(esp_hw_support): esp32c5mp sleep support (system part)
Closes IDF-8643, PM-195, PM-169, IDF-8641, IDF-8640, IDF-8639, IDF-8638, CV-259, IDF-10308, IDF-10317, IDF-10310, PM-202, IDF-10918, PM-207, PM-208, PM-210, and PM-214
See merge request espressif/esp-idf!31645
2024-08-29 19:32:05 +08:00
laokaiyao
3937e225ec
feat(clock): support apll clock on p4
2024-08-29 18:44:05 +08:00
Mahavir Jain
2526ebdaa9
Merge branch 'feat/support_memory_protection_for_esp32c61' into 'master'
...
Support memory protection for esp32c61
Closes IDF-9580
See merge request espressif/esp-idf!33103
2024-08-29 18:40:38 +08:00
Omar Chebib
18d545708a
fix(esp_hw_support): allow allocating interrupts with handlers in ROM with IRAM attribute
...
The interrupt allocator now allows allocating an interrupt with a handler in ROM
and flags set to ESP_INTR_FLAG_IRAM
2024-08-29 14:21:43 +08:00
Lou Tianhao
4393343ac9
fix(ci): some actions taken to pass ci
2024-08-29 14:15:41 +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
morris
39cbba3685
change(gdma): deprecate legacy API
...
gdma_new_channel() is replaced by gdma_new_ahb_channel() and
gdma_new_axi_channel()
2024-08-28 15:27:35 +08:00
harshal.patil
eec9197d47
feat(cpu_region_protect): Support memory protection in ESP32-C61
2024-08-28 11:16:28 +05:30
harshal.patil
dc61456ad8
feat(cpu_region_protect): Protect I/D-ROM memory split
2024-08-28 11:16:27 +05:30
harshal.patil
95f286555a
fix(esp_hw_support): Use _iram_text_end instead of _iram_end for I/D-RAM split
2024-08-28 11:16:27 +05:30
Wan Lei
dbcff0e941
Merge branch 'feat/c61_spi_support' into 'master'
...
feat(driver_spi): c61 spi support
Closes IDF-9299, IDF-9300, IDF-9301, and IDF-10002
See merge request espressif/esp-idf!32918
2024-08-28 12:37:10 +08:00
Lou Tianhao
02f5e0f98c
change(pm): remove rc32k for esp32c5
2024-08-28 10:44:09 +08:00
Li Shuai
debb6ab6a1
change(hal): add hal interface to configure pau regdma wait timeout parameter
2024-08-28 10:44:09 +08:00
Lou Tianhao
d6737c3207
refactor(esp_hw_support): refactor sleep clock, split it to support multiple targets
2024-08-28 10:44:08 +08:00
Li Shuai
5e82899305
fix(esp_hw_support): fix the issue of regdma wait node to immediately return to done caused by regdma wait mode comparator
2024-08-28 10:44:08 +08:00
Lou Tianhao
5e5fb89c10
change(esp_hw_support): modify the root clock source of pmu modem state to pll for esp32c5
2024-08-28 10:44:08 +08:00
Lou Tianhao
bfba80b778
fix(pm): write back cache for psram and hold psram cs1
...
squash! fix(pm): write back cache for psram and hold psram cs1
2024-08-28 10:44:08 +08:00
Lou Tianhao
47a0677525
feat(pm): support ext1_wakeup/esp_deep_sleep_enable_gpio_wakeup for esp32c5mp deepsleep
2024-08-28 10:44:08 +08:00
Lou Tianhao
04485a655f
change(esp_hw_support): set cpu clk 80m by selecting source pll240m and divider 3
...
squash! change(esp_hw_support): set cpu clk 80m by selecting source pll240m and divider 3
squash! change(esp_hw_support): set cpu clk 80m by selecting source pll240m and divider 3
squash! change(esp_hw_support): set cpu clk 80m by selecting source pll240m and divider 3
2024-08-28 10:44:08 +08:00
Li Shuai
538e3a767b
fix(esp_hw_support): fix regdma timeout when restore soc register context
...
squash! fix(esp_hw_support): fix regdma timeout when restore soc register context
squash! fix(esp_hw_support): fix regdma timeout when restore soc register context
2024-08-28 10:44:08 +08:00
Li Shuai
86e384b563
fix(esp_hw_support): fix mmu memory powered down issue by software backup and restore mmu table content
2024-08-28 10:44:08 +08:00
Lou Tianhao
4a124913c4
fix(pm): mspi cannot access flash when pd pll source
2024-08-28 10:44:08 +08:00
Lou Tianhao
d891995a7a
feat(pm): support sleep_gpio for esp32c5
2024-08-28 10:44:08 +08:00
Lou Tianhao
ef8ff691aa
change(esp_hw_support): update pmu sleep analog parameter
...
change(pm): update pmu analog param for pu xtal or pu rc_fast during sleep
change(pm): update pmu analog param for reducing the impact of temperature on chip voltage
2024-08-28 10:44:08 +08:00
Lou Tianhao
24aa547c80
change(esp_hw_support): change regdma link entry num
2024-08-28 10:44:08 +08:00
Lou Tianhao
a0da9ade35
feat(esp_hw_support): support top domain powered down during sleep for esp32c5
2024-08-28 10:44:08 +08:00
Lou Tianhao
50791931a1
feat(esp_hw_support): support the new version regdma driver for esp32c5mp
2024-08-28 10:44:08 +08:00
Lou Tianhao
6c9ed891ee
feat(esp_hw_support): support cpu domain powered down during sleep for esp32c5
2024-08-28 10:44:08 +08:00
Li Shuai
8d9b3cfb2f
change(esp_hw_support): pmu reset and isolate contorl signal waiting time configuration
2024-08-28 10:44:08 +08:00
Lou Tianhao
980ec70d0a
feat(esp_hw_support): support pmu init and sleep for esp32c5
...
fix(ci): add efuse header in pmu_sleep
2024-08-28 10:44:08 +08:00
Lou Tianhao
3e70dafa0b
change(soc): update pmu register context structure and driver for esp32c5
2024-08-28 10:44:08 +08:00
wanckl
b70f41ca7a
fix(gdma): fix c61 ahb dma for spi periph triggr number
2024-08-27 20:49:13 +08:00
Marius Vikhammer
c91d481dc9
feat(ulp): remove ulp related C61 code
2024-08-27 17:23:19 +08:00
Kevin (Lao Kaiyao)
c9df77efbf
Merge branch 'feature/check_efuse_blk_after_ota' into 'master'
...
docker / docker (push) Waiting to run
feat(bootloader): support to check efuse block revision
Closes IDF-10718
See merge request espressif/esp-idf!30772
2024-08-26 23:26:58 +08:00
Marius Vikhammer
a04bedc4ce
Merge branch 'bugfix/assert_ndebug' into 'master'
...
feat(newlib): add option to disable eval of expression in assert() when NDEBUG set
Closes IDFGH-479 and IDFGH-8692
See merge request espressif/esp-idf!32887
2024-08-26 15:42:31 +08:00
Marius Vikhammer
766f1f2308
Merge branch 'bugfix/riscv_task_wdt_cleanup' into 'master'
...
fix(wdt): changed register dump on task WDT to be more descriptive
Closes IDFGH-13506
See merge request espressif/esp-idf!32947
2024-08-26 10:28:59 +08:00
Marius Vikhammer
0d140f38ea
fix(system): fixed warnings related to ununsed var if asserts disabled
2024-08-26 10:25:04 +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
Wu Zheng Hui
789b9ad5a9
Merge branch 'feat/support_xtal_as_rtc_fast_sleep' into 'master'
...
feat(esp_hw_support): support PMU parameters when XTAL is used as fast clock source
Closes PM-197
See merge request espressif/esp-idf!32811
2024-08-22 19:37:13 +08:00
Marius Vikhammer
6e51c0525d
fix(wdt): changed register dump on non panic task WDT to be more descriptive
...
Closes https://github.com/espressif/esp-idf/issues/14400
2024-08-22 10:48:26 +08:00
wuzhenghui
2659607d13
feat(esp_hw_support): support PMU parameters when XTAL is used as fast clock source
2024-08-21 15:44:01 +08:00
Mahavir Jain
71b56bd3f3
Merge branch 'feature/introduce_security_component' into 'master'
...
Introduce a new security component
Closes IDF-9359
See merge request espressif/esp-idf!31969
2024-08-20 22:18:07 +08:00
Mahavir Jain
79f9c7d157
feat(esp_security): Move DS, HMAC, DPA and crypto lock implementation
2024-08-20 12:35:22 +08:00
Mahavir Jain
262f27290b
feat(esp_security): move the crypto test app to new esp_security component
2024-08-20 12:35:22 +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
harshal.patil
c125d21c71
change(esp_security): Move anti-DPA configuration into the security component
2024-08-20 12:35:22 +08:00
wuzhenghui
56aefbe845
driver(gptimer): support software triggered GPTimer retention test
2024-08-20 10:52:17 +08:00
wuzhenghui
05504d5f68
feat(esp_hw_support): support extra link software trigger for all targets
2024-08-20 10:52:16 +08:00
Song Ruo Jing
7b510049fb
fix(ci): esp32 build failure due to bootloader size too large
2024-08-19 19:08:10 +08:00
Jiang Jiang Jian
87eaf18eb6
Merge branch 'feature/esp32c61_light_sleep_support_stage_1' into 'master'
...
feat(esp_hw_support): esp32c61 sleep support (Stage 1: support modem clock)
Closes IDF-9513
See merge request espressif/esp-idf!32518
2024-08-19 10:38:57 +08:00
Song Ruo Jing
15e20f0dfb
Merge branch 'ci/enable_esp32p4_gpio_uart_target_test' into 'master'
...
fix(gpio): esp32p4 IOs cannot keep being held in the entire deep sleep process
Closes IDF-8968, IDF-8971, and IDF-9877
See merge request espressif/esp-idf!32510
2024-08-16 17:31:59 +08:00
Armando (Dou Yiwen)
f6ec756b8e
Merge branch 'fix/fix_c5_p4_c6_cache_disable_with_brc_predict_issue' into 'master'
...
cache: fixed double exception after cache disabled caused by branch predictor
Closes IDFCI-2318 and IDF-10783
See merge request espressif/esp-idf!32828
2024-08-16 10:24:05 +08:00
Song Ruo Jing
706935f468
fix(gpio): esp32p4 IOs cannot keep being held in the entire deep sleep process
2024-08-15 21:54:21 +08:00
wuzhenghui
fb84c24bae
fix(esp_hw_support): always writeback L1D$ before sleep to keep cpu/regdma data consistency
2024-08-15 12:18:16 +08:00
Armando
893c04702f
feat(riscv): added api to disable branch predictor
2024-08-14 14:34:34 +08:00
morris
0ca1c61af2
Merge branch 'feat/ldo_channel_reserve' into 'master'
...
feat(ldo): reserve the LDO1 and LDO2
Closes IDF-10712 and PM-137
See merge request espressif/esp-idf!32693
2024-08-14 10:06:11 +08:00
Chen Ji Chang
8e956dab87
Merge branch 'feat/dma_cache_align' into 'master'
...
feat(dma): Add helper functions to align buffer
Closes IDF-10462
See merge request espressif/esp-idf!32343
2024-08-14 10:00:55 +08:00
morris
631e15c6eb
feat(ldo): add config to let hardware control the ldo output
...
If LDO1 is used by spi flash, then we recommend to give the ownership to
the hardware. Software just read the parameters from the efuse and set
to PMU.
2024-08-13 14:50:38 +08:00
Lou Tianhao
6274040f38
feat(pm): support modem clock for esp32c61
2024-08-13 11:03:21 +08:00
Jakob Hasse
965f52a45a
docs(esp_hw_support): corrected outdated RNG docs
2024-08-09 16:20:02 +02:00
Chen Jichang
f919336448
feat(dma): Add helper functions to split aligned buffer
...
In some cases we will need the dma's buffer to be aligned with specific
requirements. This MR add two helper function to split the unaligned
buffer and merge to the origin buffer. The cost is that each unaligned
buffer requires two stash buffers of spilt alignment size. And this
memory should be managed by callers.
2024-08-07 19:48:19 +08:00
nilesh.kale
bedfe0fe3b
feat: remove suppport for ds and hmac in esp32c61
...
This commit remove support for DS and HMAC peripheral
in ESP32C61.
2024-08-06 15:06:08 +05:30
Wu Zheng Hui
82e76abaa8
Merge branch 'bugfix/fix_esp32p4_sleep_psram_access_failure' into 'master'
...
fix(esp_hw_support): support esp32p4 psram sleep retention
Closes PM-138, PM-177, PM-187, PM-189, and PM-190
See merge request espressif/esp-idf!32190
2024-08-06 10:49:03 +08:00
wuzhenghui
d7eb829fd0
feat(esp_hw_support): support esp32p4 psram retention
2024-08-05 13:21:05 +08:00
wuzhenghui
5880defc25
fix(esp_hw_support): flash/psram SPI io is not controlled by hp iomux on esp32p4
2024-08-01 14:33:32 +08:00
wuzhenghui
29b51468e1
fix(esp_hw_support): fix bad power parameter if PSRAM is enabled during sleep
2024-08-01 14:33:31 +08:00
Song Ruo Jing
6db52ffe12
remove(clk): rc32k is removed as a clk source option for lp_slow_clk on C5/C61
2024-07-31 22:41:23 +08:00
Song Ruo Jing
335d39b869
feat(clk): Add basic clock support for esp32c61
...
- 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-07-31 22:41:22 +08:00
Igor Udot
b5ab82ce3c
Merge branch 'fix/replace_pytest_function' into 'master'
...
ci: replace pytest function
Closes IDFCI-1693
See merge request espressif/esp-idf!30531
2024-07-31 17:23:56 +08:00
morris
f096265774
feat(gdma): add GDMA link list driver
2024-07-30 16:10:15 +08:00
morris
c30d89953c
feat(debug_probe): added debug probe hal driver
2024-07-29 15:23:18 +08:00
Song Ruo Jing
adb1a81729
Merge branch 'feature/esp32c61_regi2c_support' into 'master'
...
feat(regi2c): support REGI2C for ESP32C61
Closes IDF-9276
See merge request espressif/esp-idf!31980
2024-07-29 11:52:41 +08:00
Kevin (Lao Kaiyao)
ed91305d6a
Merge branch 'feature/i2s_support_etm' into 'master'
...
feat(i2s): support i2s etm event and task
Closes IDF-10509 and IDF-6359
See merge request espressif/esp-idf!32013
2024-07-25 21:20:52 +08:00
C.S.M
931f95068a
feat(spiram): Add temperature support for psram adjustment on esp32c5
2024-07-25 13:48:41 +08:00
laokaiyao
86a552e4e2
feat(i2s): support i2s etm event and task
2024-07-25 13:22:38 +08:00
Song Ruo Jing
3aa27ae960
refactor(regi2c): add LL function to control analog i2c master clock
2024-07-24 12:26:59 +08:00
Fu Zhibo
a90c9101ff
feat: support regi2c for esp32c61
2024-07-24 12:17:11 +08:00
igor.udot
b0e8ce0111
ci: replace pytest function for linux target
2024-07-23 14:07:31 +08:00
igor.udot
8691672f03
ci: replace pytest function
2024-07-23 14:07:31 +08:00
Armando (Dou Yiwen)
7f47ee0a68
Merge branch 'fix/fix_esp_dma_is_buffer_alignment_satisfied_issue' into 'master'
...
dma: fix esp_dma_is_buffer_alignment_satisfied align issue when l2 cache line 128B
Closes IDF-10456
See merge request espressif/esp-idf!32143
2024-07-18 14:38:23 +08:00
Gao Xu
7d3ac1abe4
Merge branch 'esp32c5/add_adc_support' into 'master'
...
ADC: bringup ADC oneshot and continuous mode on C5
Closes IDF-8701 and IDF-8703
See merge request espressif/esp-idf!31940
2024-07-17 16:46:52 +08:00
Armando
c503e385ab
fix(dma): fix esp_dma_is_buffer_alignment_satisfied align issue when l2 cache line 128B
2024-07-17 15:15:16 +08:00
Jiang Jiang Jian
08b897912b
Merge branch 'fix/stall_other_core_in_cpu_freq_switching' into 'master'
...
fix(esp_hw_support): stall another core during cpu/mem/apb freq switching
See merge request espressif/esp-idf!32063
2024-07-17 10:26:12 +08:00
Wan Lei
146d07dacf
Merge branch 'feat/c61_enable_ci_build_test' into 'master'
...
feat(esp32c61): enable c61 ci build test
Closes IDF-9289
See merge request espressif/esp-idf!30448
2024-07-17 09:33:31 +08:00
wuzhenghui
c2bb64fbe8
fix(esp_hw_support): stall another core during cpu/mem/apb freq switching
2024-07-16 19:11:12 +08:00
wuzhenghui
f43b3afcec
fix(esp_hw_support): hold LP_IO mode if LP_PERI domain powerdown in sleep
2024-07-16 17:55:11 +08:00
wuzhenghui
da4c55fdbb
feat(esp_hw_support): support esp32p4 gpio wakeup deepsleep
2024-07-16 17:55:07 +08:00
wanlei
3cf069c7d8
feat(esp32c61): disable unsupported build test
2024-07-16 16:06:19 +08:00
Jiang Jiang Jian
e4ed7e42b6
Merge branch 'fix/fix_wrong_cache_invalidate_mask' into 'master'
...
fix(esp_hw_support): fix cpu_retention cache invalidate mask
See merge request espressif/esp-idf!32064
2024-07-15 19:33:20 +08:00