Alexey Lapshin
ad7f4b9670
feat(esp_libc): make picolibc default libc
2025-12-06 00:08:35 +07:00
harshal.patil
3e7602a2e4
feat(cpu_region_protect): Extend PMP memprot for ESP32-P4 V3
2025-11-11 17:54:17 +05:30
hebinglin
585c8302b1
fix(esp_hw_support): resolved setting mie to disable interrupts failed in sleep flow
2025-11-04 21:09:32 +08:00
Alexey Lapshin
6ed3fe13ca
fix(build): add workaround for cm.push that triggers interrupt
2025-09-24 21:30:56 +07:00
Marius Vikhammer
99935402b9
fix(interrupts): removed deprecated intr_types.h and interrupt_deprecated.h headers
...
intr_types.h has been replaced by esp_intr_types.h and the deprecated esprv_intc_*
from interrupt_deprecated.h have been replaced by the more generic
esprv_* functions.
2025-09-10 15:06:27 +08:00
armando
179d00a6f8
feat(p4): p4 rev3 real chip support
2025-08-28 17:56:16 +08:00
Alexey Lapshin
b25cb2906c
fix(freertos): fix xesppie registers save/restore
2025-08-25 11:58:21 +07:00
Alexey Lapshin
1f8096359d
fix(riscv): split enable_fpu() to enable_fpu() and clear_fpu()
2025-08-25 11:58:15 +07:00
Laukik Hase
340de9823a
feat(esp_tee): Support for ESP32-C5 - the rest of the components
2025-08-13 14:08:59 +05:30
Omar Chebib
03f4744497
feat(riscv): add support for the DSP coprocessor
2025-08-07 14:40:30 +08:00
Laukik Hase
f2b0f256ab
fix(esp_rom): Patch the esp_rom_delay_us API to use U-mode cycle CSR
2025-07-25 09:54:42 +05:30
armando
bcf04e356b
resolve comments, to squash
2025-07-10 06:24:32 +00:00
armando
dfb0662de2
feat(esp32p4): support eco5 on fpga
2025-07-10 06:24:32 +00:00
laokaiyao
db85cd02be
refactor(esp32c61): bus_monitor backward compatible refactor
2025-04-08 22:50:04 +08:00
Chen Jichang
30f2578e75
fix(esp32h4): fix g0 component build
2025-03-04 16:17:18 +08:00
Chen Jichang
62700fa36f
feat(esp32h4): add soc register header files (stage2_3)
...
add soc headers made by hand
2025-02-24 12:20:27 +08:00
Jiang Jiang Jian
44a27d3113
Merge branch 'fix/disable_wfe_feature_for_e906_chips' into 'master'
...
change(esp_hw_support): disable CPU wait-for-event mode on cpu start
See merge request espressif/esp-idf!36388
2025-02-11 11:30:29 +08:00
Laukik Hase
c4eec756f3
refactor(esp_tee): Revised the secure service ID numbering scheme
...
Also:
- Split the secure service table into two parts: one DRAM-resident and the
other DROM-resident. The former holds the services invoked when the cache is
disabled or suspended while the latter holds rest of the services.
2025-01-23 12:39:19 +05:30
wuzhenghui
121f56ef6d
change(esp_hw_support): disable CPU wait-for-event mode on cpu start
2025-01-14 21:34:44 +08:00
Laukik Hase
e51d2c1da3
feat(esp_tee): Support for ESP-TEE - riscv component
2024-12-02 12:20:04 +05:30
harshal.patil
7667d9ebbe
fix(cpu_region_protect): Reset PMA entries before using them
...
- ROM uses some PMA entries so we clear such PMA entries before using them in ESP-IDF
2024-09-18 10:25:18 +05:30
Liu Xiao Yu
52175a6548
Merge branch 'refactor/supplement_plic_intr_rv_util_apis' into 'master'
...
refactor(intr): add plic and intc interrupt rv util apis
See merge request espressif/esp-idf!33244
2024-09-12 15:28:24 +08:00
Xiaoyu Liu
8a608da2b0
refactor(intr): add plic and intc interrupt rv util apis
...
refactor(intr): remove the extra instructions in plic and intc
2024-09-11 18:26:07 +08:00
Armando
17fc026c48
fix(pma): fixed pma 15 occupied by rom on c5 issue
2024-09-10 11:12:02 +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
Armando
893c04702f
feat(riscv): added api to disable branch predictor
2024-08-14 14:34:34 +08:00
Omar Chebib
f06b235709
fix(riscv): fix a that affected mintstatus CSR value in the CLIC
2024-07-26 13:56:40 +08:00
Armando
c880f697da
feat(panic): supported more cache error cactch
2024-07-11 15:26:13 +08:00
laokaiyao
21f870ecd5
remove(c5beta3): remove c5 beta3 system files
2024-06-17 12:02:15 +08:00
Omar Chebib
82668dd3fe
fix(riscv): make HWLP feature use direct saving of lazy saving
2024-05-21 17:27:46 +08:00
Omar Chebib
55acc5e5e7
feat(riscv): add support for PIE coprocessor and HWLP feature
...
FreeRTOS tasks may now freely use the PIE coprocessor and HWLP feature.
Just like the FPU, usiing these coprocessors result in the task being pinned
to the core it is currently running on.
2024-05-20 10:47:58 +08:00
Marius Vikhammer
4b4f4c200a
fix(interrupt): fixed interrupt thresholds not working on C5
2024-05-14 10:56:22 +08:00
Alexey Lapshin
6f2de1fb23
fix(system): esp32p4: fix mepc when load/store failure occurred
2024-04-18 19:49:19 +04:00
Omar Chebib
f6e935e013
fix(esp32c5): add CLIC interrupt controller support for the ESP32-C5
2024-04-16 10:38:14 +08:00
Mahavir Jain
166fa7acac
fix: minor warning related to missing parenthesis
2024-04-14 21:16:34 +05:30
Konstantin Kondrashov
06c28f0ee9
feat(hal): Adds hal funcs for cpu.c
2024-04-11 13:07:04 +03:00
Marius Vikhammer
be839733ed
fix(interrupt): fixed exit critical section on P4/C5
...
When adjusting the interrupt level treshold on P4/C6 during a critical section exit
it would take a few cycles before this is taken into account by the CPU.
This meant that under some circumstances, e.g. 02, we could do
yield()->vPortExitCritical()->vPortEnterCritical()
without getting rescheduled.
This causes issues for freertos as it assumes the task will not continue into the
vPortEnterCritical before the scheduler has schedulded it again.
This meant that e.g. xTaskNotifyWait would yield, but then immeditaly continue as if
it was already notified.
2024-03-24 13:13:42 +08:00
laokaiyao
c9d6a11d1d
feat(esp32c5mp): support to run hello world on esp32c5 mp
2024-03-21 16:18:03 +08:00
Wan Lei
a7355d3aba
Merge branch 'feat/c6lite_c61_g0_component_s4' into 'master'
...
feat(esp32c61): add G0 component (hal, riscv) support (stage 4/8)
See merge request espressif/esp-idf!29551
2024-03-20 10:09:42 +08:00
wanlei
37dfd8fb52
feat(esp32c61): add G0 component support
2024-03-18 14:28:27 +08:00
wuzhenghui
03e5e4970d
refactor(esp_hw_support): split pd_cpu retention initialization by target
2024-03-15 18:13:24 +08:00
Sudeep Mohanty
459ff8348f
fix(riscv): Added RISC-V functions to set interrupt threshold for CLIC targets
...
This commit added the RISC-V utility functions to set the interrupt
threshold for CLIC targets by using direct register value writes.
This makes the functions more efficient during run-time.
This is done to improve the critical section enter and exit performance on esp32p4.
2024-02-28 08:51:37 +01:00
Omar Chebib
2217854092
fix(riscv): Remove the memory barrier when changing interrupt threshold
2024-02-20 12:19:08 +08:00
Darian Leung
f50d83413e
refactor(tools): Tidy up core component files copyright ignore
...
Some files that should have their copyrights checked are still placed on the
copyright ignore list.
- These entries have been tidied up
- Copyrights of those files have been updated.
2024-01-22 18:07:35 +08:00
Omar Chebib
cdde05335e
Merge branch 'refactor/riscv_interrupt' into 'master'
...
refactor(riscv): Refactor crosscore interrupts and core interrupt code
Closes IDF-5720, DOC-5177, and IDF-7899
See merge request espressif/esp-idf!27845
2024-01-19 10:51:04 +08:00
Omar Chebib
102d5bbf72
refactor(riscv): added a new API for the interrupts
2024-01-18 16:36:53 +08:00
Omar Chebib
c7e63078b7
fix(riscv): adjust TCBs lowest stack address when the FPU is used
2024-01-18 13:06:29 +08:00
Sudeep Mohanty
d4ca7c246e
fix(freertos): Fixed incorrect int level restoration on esp32p4
...
This commit fixes a bug where in the portENABLE_INTERRUPTS() macro
incorrectly restored the interrupt level to 1 (non-CLIC controller).
2024-01-05 11:00:56 +01:00
Marius Vikhammer
9f1d001849
Merge branch 'feat/cache_error_c6_h2' into 'master'
...
fix(panic): fixed cache error being reported as illegal instruction
Closes IDF-6398, IDF-5657, IDF-7015, and IDF-6733
See merge request espressif/esp-idf!27430
2023-12-21 10:32:06 +08:00
laokaiyao
2b44d62e43
feat(esp32c5): support esp32c5 g0 components
2023-12-08 15:12:24 +08:00