Cao Sen Miao
bb7544e65a
fix(ota): Fixed OTA fail on octal flash with 32MB memory,
...
Closes https://github.com/espressif/esp-idf/issues/11903
2023-11-06 10:49:06 +08:00
wuzhenghui
05cd295a28
fix(esp_rom): fix esp32c6, esp32h2 hp_regi2c ops data conflict with phy ops
2023-08-30 14:28:55 +08:00
Lou Tianhao
d2730608d2
feature(esp_rom): support_hp_regi2c_for_esp32c6
2023-08-30 14:28:37 +08:00
gaoxiaojie
38d54b4b62
fix(esp32s3): patch Cache_WriteBack_Addr api
...
Need to ensure that the cacheline being written back will not be
accessed during the write back process.
2023-07-21 11:44:56 +08:00
Jiang Jiang Jian
b2b0940516
Merge branch 'bugfix/fix_Cache_Count_Flash_bug_v5.1' into 'release/v5.1'
...
cache: patch some rom cache api, rename those apis in ld (backport v5.1)
See merge request espressif/esp-idf!24289
2023-07-04 12:07:25 +08:00
wanglei
4ba10243f4
cache: patch some rom cache api, rename those apis in ld
...
1. Cache_Count_Flash_Pages, fix this api return enexpected + 1
2. Cache_Suspend_I/DCache, add wait cache idle after suspend cache
3. Cache_Freeze_I/DCache_Enable, add wait cache idle after freeze
2023-06-19 10:53:51 +08:00
morris
d5fb4ff7c8
esp_rom: add common ROM API to update CPU tick rate
2023-06-01 10:57:13 +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
Michael (XIAO Xufeng)
d5bdf95580
hw_support: fixed regi2c not protected by lock on ESP32S2
2022-03-13 00:24:08 +08:00
laokaiyao
cf049e15ed
esp8684: rename target to esp32c2
2022-01-19 11:08:57 +08:00
Cao Sen Miao
d397464fc4
spi_flash: refactor spi_flash.h to esp_rom_spiflash.h but keep the content in spi_flash.h
2021-12-30 14:12:31 +08:00
Cao Sen Miao
b0decda1e3
bootloader: move bootloader flash support to isolate folders
2021-12-30 14:05:12 +08:00
Cao Sen Miao
3a4db97cec
spi_flash: move patch files to common rom patch folder
2021-12-30 14:05:12 +08:00
Cao Sen Miao
bf6fa70812
ESP8684: update bootloader, bootloader_support, esp_rom
2021-11-06 17:33:44 +08:00
SalimTerryLi
23e23b697c
rom/tjpgd: unify library & add rom patch
...
remove external tjpgd library inside example
enable tjpgd decoding on all chips
2021-09-01 14:42:17 +08:00
Shu Chen
37f4cb8b4b
esp32h2: add rom code for esp32h2
2021-07-01 19:53:11 +08:00
Jakob Hasse
e32831033a
[esp_rom]: fixed S3 longjmp patch
...
* On S3, the placement of ROM functions is
ECO-dependent. Hence, we don't jump into
the middle of the longjmp function in ROM
on S3 anymore.
Instead, the whole longjump function is used
in the patch.
* Also properly excluded the patch from
bootloader build with Makefiles
Closes IDF-3391
2021-06-18 15:47:41 +08:00
Marius Vikhammer
19a492bc8d
soc: add base support for ESP32-S3
...
Updates the following with changes from verification branches:
* esp_rom linker files
* rtc_cntl and system reg and struct headers
Also updates:
* GDMA driver with new register layout
* esptool submodule commit
2021-06-07 10:40:14 +08:00
Jakob Hasse
fc22e3c645
[system]: Made longjmp save for context switch
...
* Patched longjmp to be context-switch safe
longjmp modifies the windowbase and windowstart
registers, which isn't safe if a context switch
occurs during the modification. After a context
switch, windowstart and windowbase will be
different, leading to a wrongly set windowstart
bit due to longjmp writing it based on the
windowbase before the context switch. This
corrupts the registers at the next window
overflow reaching that wrongly set bit.
The solution is to disable interrupts during
this code. It is only 6 instructions long,
the impact shouldn't be significant.
The fix is implemented as a wrapper which
replaces the original first instructions of
longjmp which are buggy. Then, it jumps back
to execute the rest of the original longjmp
function.
Added a comparably reliable test to the
test apps.
2021-04-23 15:55:31 +08:00
morris
bf2480f62d
efuse: can disable boot ROM log from Kconfig
2021-02-22 20:56:43 +08:00
Renz Bagaporo
14902da344
esp32: move disabling rom log to esp_rom
2020-08-17 19:08:56 +08:00
morris
2917651478
esp_rom: extract common ets apis into esp_rom_sys.h
2020-07-27 15:27:01 +08:00
morris
345606e7f3
esp_rom: extract common uart apis into esp_rom_uart.h
2020-07-17 16:00:59 +08:00
morris
a34409cffc
esp_rom: extract common CRC apis into esp_rom_crc.h
2020-06-23 16:40:14 +08:00