Xiao Xufeng
83ca12c8e0
fix(esp_flash): fixed issue of escaping boundary check
...
Also patched corresponding ROM functions
2025-06-24 15:30:11 +08:00
Song Ruo Jing
3e2945b595
fix(gpio): remove GPIO_OUTPUT_SET macro for ESP32P4
...
Use GPIO_OUTPUT_SET led to compilation error
Closes https://github.com/espressif/esp-idf/issues/16050
2025-06-11 20:56:12 +08:00
Chen Jichang
1785e1d329
refactor(flash): spilt flash cap in esp_rom
2025-03-28 15:04:25 +08:00
Alexey Lapshin
ec68cb3300
feat(newlib): riscv: add CONFIG_LIBC_OPTIMIZED_MISALIGNED_ACCESS config option
...
This option replaces implementations of functions from ROM:
- memcpy
- memcmp
- memmove
- str[n]cpy
- str[n]cmp
The functions used in the firmware will be better optimized for misaligned
memory. Here are some measurements in CPU cycles for 4096-byte buffers:
memcpy: 28676 -> 4128
memcmp: 49147 -> 14259
memmove: 33896 -> 8086
strcpy: 32771 -> 17313
strcmp: 32775 -> 13191
2025-03-26 17:27:24 +07:00
Marius Vikhammer
afedcb7c9b
Merge branch 'bugfix/fix_secondary_console_no_vfs' into 'master'
...
fix(console): fixed secondary console not working on all chips without VFS
Closes IDF-12577
See merge request espressif/esp-idf!37464
2025-03-12 13:51:37 +08:00
Marius Vikhammer
12e9d6514a
fix(console): fixed secondary console not working on all chips without VFS
2025-03-07 14:41:19 +08:00
nilesh.kale
49e1e22f72
fix(esp_rom): Remove AES-192 references for unsupported chips
...
Cleaned up references to AES-192 in ROM headers for chips that do not support it.
2025-03-06 17:48:17 +05:30
gaoxu
25731d0c1e
feat(esp32h21): finnal introduce hello world support
2024-12-30 20:14:40 +08:00
gaoxu
1176038776
feat(esp32h21): add H21 esp_rom files (stage3)
2024-12-18 11:58:34 +08:00
Alexey Lapshin
888b5f7e8d
feat(newlib): add picolibc support
2024-12-02 21:35:56 +07:00
morris
d6ac628f7a
change(esp_rom): comment out conflict gpio functions
...
The GPIO function names has conflict with the public API used by
esp_driver_gpio component.
For now, we simply comment out the conflict ones.
Later, we should consider reusing the GPIO rom APIs.
2024-10-10 16:01:05 +08:00
Jiang Jiang Jian
e37ff3565b
Merge branch 'bugfix/fix_newlib_nano_float_printf_issues' into 'master'
...
fix(esp_rom): add new rom caps ESP_ROM_HAS_NEWLIB_PRINTF_BUG
See merge request espressif/esp-idf!30956
2024-07-26 17:37:03 +08:00
Xiaoyu Liu
2cb9419b14
change(esp_rom): optimize target-specific header files layout in components/esp_rom
2024-06-27 11:24:45 +08:00
Konstantin Kondrashov
a3be04a087
feat(esp_rom): Adds esp_rom_vprintf with the same capabilities as esp_rom_print
2024-05-30 13:30:12 +03:00
Jiang Guang Ming
e829cee2fd
fix(esp_rom): add new rom caps ESP_ROM_HAS_NEWLIB_NANO_PRINTF_FLOAT_BUG
2024-05-24 17:40:34 +08:00
wuzhenghui
299199c5a5
feat(soc): add ESP_ROM_SUPPORT_DEEP_SLEEP_WAKEUP_STUB rom caps
2024-03-27 13:59:36 +08: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
Marius Vikhammer
83d1c2f054
refactor(esp_rom): refactor rom LD inclusions to make it easier to add new targets
2024-03-12 09:48:46 +08:00
Marius Vikhammer
b809267359
fix(rom): fixed systimer always using ROM implementation
2024-03-06 09:47:12 +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
Marius Vikhammer
b96f93b879
ci(system): fixed and enabled misc system build tests
2023-11-28 14:00:16 +08: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
morris
4123e611dc
esp_rom: add common ROM API to update CPU tick rate
2023-04-19 13:21:26 +08:00
Armando
929b7717ff
system: fixed ram app cannot use mmu correctly issue
2023-03-15 10:59:20 +08:00
Jiang Guang Ming
fc9538c63d
Merge branch 'feature/add_more_pytest_config_to_flash_mmap' into 'master'
...
flash mmap: more config options for flash mmap test app
See merge request espressif/esp-idf!21991
2023-03-08 13:44:29 +08:00
jiangguangming
87f2eb9e2a
esp_rom: put rom cache related functions to cache.h
2023-03-07 14:51:24 +08:00
jiangguangming
344d30c18e
esp_rom: add macro ESP_ROM_NEEDS_SET_CACHE_MMU_SIZE for S3/C3/C2/C6/H2/H4
2023-03-06 19:47:18 +08:00
Jiang Guang Ming
3556fe9326
spi_flash: enable spi flash cache test on c6 h2
2023-03-04 07:23:59 -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
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
Marius Vikhammer
65a4058e8c
newlib: update newlib nano documentation for C6
...
C6 ROM has the the full IO formatting functions included.
2023-02-08 10:56:28 +08:00
wuzhenghui
ee4214ebf1
rom caps: add ESP_ROM_WITHOUT_REGI2C rom caps
2023-02-06 21:45:22 +08:00
Jiang Guang Ming
7d25e3853c
Merge branch 'bugfix/update_esp_rom_newlib_time_c6_h2' into 'master'
...
update esp rom newlib-time on c2 c6 and h2
See merge request espressif/esp-idf!22142
2023-02-06 15:36:04 +08:00
morris
753eab91ee
Merge branch 'feature/usj_support_h2' into 'master'
...
USJ console support on esp32h2
Closes IDF-6239
See merge request espressif/esp-idf!22156
2023-02-02 17:07:19 +08:00
wuzhenghui
44df5b31af
feature: add ram loadable app support
2023-02-01 17:57:22 +08:00
morris
3151f9c8f1
usj: bringup on esp32h2
2023-01-31 16:21:47 +08:00
wanglei
7cd87163a3
esp_rom: remove unsupported ld files (wifi related) for esp32h2
2023-01-30 11:28:26 +08:00
jiangguangming
5edbd290a0
esp_rom: remove esp32h2.rom.rvfp.ld
2023-01-29 16:40:35 +08:00
jiangguangming
4731d4322e
esp_rom: remove newlib-time.ld from ROM built with 64-bit time_t
2023-01-29 16:37:13 +08:00
Cao Sen Miao
4713a9a7f2
ESP32H2: Introduce new chip target esp32h2, hello_world example supported
2022-12-29 12:29:14 +08:00
jiangguangming
7db7269a92
esp_rom: patch systimer_hal_init/deinit for esp32h2 rom
2022-12-04 11:23:30 +08:00
jiangguangming
9e3ba8d061
esp_rom: update esp32h2 rom caps
2022-12-04 11:23:30 +08:00
Cao Sen Miao
283e2c8e5f
ESP32H2: Add ROM linker file and support
2022-12-01 10:31:17 +08:00
Cao Sen Miao
86aa4df5b5
ESP32-H2: Introduce new target for ESP32H2
2022-11-23 14:38:05 +08:00
laokaiyao
8677216576
esp32h2: renaming esp32h2 to esp32h4
2022-11-08 17:05:33 +08:00
jiangguangming
0ed7927520
esp_rom: update esp_rom_caps.h
2022-10-12 20:12:56 +08:00
wuzhenghui
68159feb10
esp32c6: add esp_rom support (rom version: esp32c6-20220901)
2022-09-26 20:32:04 +08:00
wuzhenghui
88c123f805
esp_rom: add esp_rom_software_reset and esp_rom_software_reset_cpu interface
2022-08-31 01:59:36 +00:00
Vilem Zavodny
a00e8771a7
tjpgd: Remove ROM patches and tests.
2022-08-17 14:42:45 +02:00