Marius Vikhammer
69ab9d7a17
Revert "fix(rom): fixed esprv_int_set_threshold on C5"
...
This reverts commit 171e0a21a1
.
2024-06-24 13:57:57 +08:00
Marius Vikhammer
171e0a21a1
fix(rom): fixed esprv_int_set_threshold on C5
2024-06-13 16:47:48 +08:00
gaoxiaojie
aa3d3835ab
fix(esp_rom): patch esprv_intc_int_set_type for esp32p4
2024-04-03 10:09:47 +08:00
Guillaume Souchere
39f789df93
feat(esp_rom): patch heap walker to the ROM implementation
...
modify existing patch of TLSF rom and add multi heap patch
to add the walker feature to the ROM implementation of the
heap component.
2024-03-21 07:41:04 +01:00
Guillaume Souchere
5cc69ce12b
feat(heap): Add walker to the heap component
...
Introduce new APIs in essp_heap_caps.h:
- heap_caps_walk()
- heap_caps_walk_all()
Those functions are triggering a callback for all blocks
(allocated or free) of memory present in heaps meeting
the set of capabilities passed as parameter (or all heaps
for heap_caps_walk_all() function)
test_walker.c added to test the new functionality in
test_apps/heap_test/
2024-03-20 08:33:48 +01:00
laokaiyao
0d8dcd183c
feat(esp32c5mp): add temporary esp-rom
2024-03-14 15:09:22 +08:00
Song Ruo Jing
95133c179f
feat(clk): preliminary clock tree support for ESP32C5
2024-02-07 14:38:15 +08:00
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
Fu Zhibo
4149148fa2
feat(regi2c): support regi2c for esp32p4
2023-12-19 19:22:51 +08:00
laokaiyao
2b44d62e43
feat(esp32c5): support esp32c5 g0 components
2023-12-08 15:12:24 +08:00
wanglei
5f2c48acd6
feat(esp32c5): add esp32c5 beta3 esp_rom support
2023-12-05 22:01:15 +08:00
fl0wl0w
d149c1b26f
Use configuration option instead of in components not related to FreeRTOS
...
Mergeshttps://github.com/espressif/esp-idf/pull/12481
2023-11-28 07:49:20 +00:00
Guillaume Souchere
93d4b0b38c
fix(heap): Patch tlsf_check_pool in ROM heap
...
The integrity_walker now calls the integrity check hook to control
free AND used blocks of memory in the TLSF pool. This integrity walker
function is called from tlsf_check_pool.
This commit creates a patch of integrity_walker function to update the
outdated implementation in the ROM.
2023-11-01 09:47:41 +01:00
Cao Sen Miao
6cea72b76b
fix(ota): Fixed OTA fail on octal flash with 32MB memory,
...
Closes https://github.com/espressif/esp-idf/issues/11903
2023-10-13 12:01:26 +08:00
gaoxu
4f24f805cc
feat(uart): add LP-UART GPIO support
2023-10-08 10:10:02 +08:00
gaoxu
4541ad134d
feat(uart): add RCC atomic block to uart/lp-uart peripheral
2023-10-08 10:10:02 +08:00
Konstantin Kondrashov
cbdb799b6f
feat(esp_timer): Support systimer for ESP32P4
2023-09-13 19:13:38 +08:00
wuzhenghui
eeab989d09
fix(esp_rom): fix esp32c6, esp32h2 hp_regi2c ops data conflict with phy ops
2023-08-22 11:00:00 +08:00
Lou Tianhao
d59e91c030
feature: support_hp_regi2c_for_esp32c6
2023-08-09 14:24:31 +08:00
gaoxiaojie
640d391783
fix(rom_cache): use assembly to implement api cache_writeback_items_freeze
...
ensure cache freeze -> Writeback enable -> wait done -> cache unfreeze routine
never trigger a window overflow
2023-07-20 10:47:17 +08:00
Armando
83683d8b12
fix(rom_cache): use esp_rom_caps.h itself
2023-07-19 15:10:35 +08:00
gaoxiaojie
b1436633c5
fix(esp32s3): patch Cache_WriteBack_Addr api
...
avoid accessing cachelines that are being writebacked
2023-07-19 15:10:35 +08:00
Wang Lei
dec402ac84
esp_rom: Patch some cache apis
2023-06-16 14:04:00 +08:00
morris
4123e611dc
esp_rom: add common ROM API to update CPU tick rate
2023-04-19 13:21:26 +08:00
Marius Vikhammer
c2f9392be5
Merge branch 'feature/h2_wdt' into 'master'
...
wdt: add support for H2
Closes IDF-6643 and IDF-6678
See merge request espressif/esp-idf!22422
2023-02-24 13:48:20 +08:00
Marius Vikhammer
5d26a0de9a
wdt: add support for H2
2023-02-23 11:22:51 +08:00
Song Ruo Jing
987fd3208a
Merge branch 'feature/esp32h2_clock_basic_support' into 'master'
...
clk: Add basic clock support for esp32h2
Closes IDF-6265 and IDF-5973
See merge request espressif/esp-idf!21943
2023-02-21 16:16:05 +08:00
Song Ruo Jing
2c2a62e323
clk_tree: Add basic clock support for esp32h2
...
- 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 for esp32h2
2023-02-20 17:15:02 +08:00
jingli
9c37441b17
wdt: refactor wdt codes to use unified type
2023-02-15 12:08:55 +08:00
wuzhenghui
a0983627f5
bugfix: fix returning before disabling blocks
2023-02-07 15:08:05 +08:00
fuzhibo@espressif.com
f1e0151e63
fix(regi2c): support regi2c APIs for esp32h2
2023-02-06 21:44:16 +08:00
morris
b7799ec84d
rom: patch uart function to switch buffer
2023-01-31 13:11:32 +08:00
Marius Vikhammer
5e9e8c396f
wdt: add support for WDTs on C6
2023-01-19 12:58:26 +08:00
Wu Zheng Hui
bec679fbc6
Merge branch 'bugfix/fix_esp32c6_regi2c_enable_clock' into 'master'
...
bugfix: regi2c: fix regi2c api for esp32c6
See merge request espressif/esp-idf!21397
2022-12-13 10:20:14 +08:00
jiangguangming
7db7269a92
esp_rom: patch systimer_hal_init/deinit for esp32h2 rom
2022-12-04 11:23:30 +08:00
fuzhibo@espressif.com
a0df34093a
regi2c: fix regi2c api for esp32c6
2022-12-02 10:58:23 +08:00
morris
560ea9b754
systimer: support etm event
2022-11-23 15:32:34 +08:00
wuzhenghui
0d5fe4d1c3
esp_rom: put regi2c override apis to IRAM
2022-11-17 19:12:02 +08:00
wuzhenghui
eb2444bb7f
esp_rom: override i2c_reg ops api in rom phy
2022-11-17 17:23:34 +08:00
jiangguangming
618dfaa67a
esp_rom: add rom api esp_rom_uart_set_as_console for riscv chips
2022-11-10 16:57:28 +08:00
morris
be2b57ff2f
Merge branch 'feature/add_rom_tlsf_function_prototype' into 'master'
...
esp_rom: add rom tlsf function prototype instead of void *
See merge request espressif/esp-idf!20670
2022-10-19 23:46:39 +08:00
jiangguangming
932045c980
esp_rom: add rom tlsf function prototype instead of void *
2022-10-19 17:54:50 +08:00
jiangguangming
7daadc5a92
esp_rom: fix 2nd bootloader custom uart1 baudrate issue
2022-10-18 11:04:01 +08:00
jiangguangming
0ed7927520
esp_rom: update esp_rom_caps.h
2022-10-12 20:12:56 +08:00
Omar Chebib
0b5ab940ae
TLSF: fix the patch for tlsf_check function in ROM
...
tlsf_check in the patch was not called because the the TLSF functions
table in ROM was still pointing to the ROM implementation.
2022-08-31 13:30:10 +08:00
wuzhenghui
fbeb6195c2
esp_rom: add esp32c6 header files
2022-08-29 15:40:37 +08:00
Guillaume Souchere
b9abad7a89
esp-rom: create a patch of tlsf_check() for target(s) supporting ROM implementation of TLSF
...
The tlsf implementation in the ROM does not provide a mechanism
to register a callback to be called in by tlsf_check().
This commit is creating a patch of the tlsf implementation to provide
a definition of the function allowing to register the callback called
in tlsf_check() and add the call of this callback in tlsf_check().
This patch is only compiled for target(s) with ESP_ROM_HAS_HEAP_TLSF
set and ESP_ROM_TLSF_CHECK_PATCH set. For all the other configurations
the environment remains unchanged by those modifications.
2022-08-26 08:25:38 +02:00
Vilem Zavodny
a00e8771a7
tjpgd: Remove ROM patches and tests.
2022-08-17 14:42:45 +02:00
morris
783e1781bd
esp_rom: patch systimer driver for esp32c2
2022-07-25 16:08:52 +08:00
Jing Li
66395a5c00
system/sleep: further fix spi flash/ram current leakage
2022-07-21 19:14:26 +08:00