Files
esp-idf/components/esp_hal_wdt/esp32h2/rom.wdt.ld
T
Marius Vikhammer c34049a323 fix(esp_hal_wdt): reduce IRAM usage of WDT init ROM patch
The ROM patch for chips missing clock source configuration in wdt_hal_init
was re-implementing the full function in IRAM. Instead, delegate to the ROM
version and only append the missing clock configuration afterwards, saving
~550 bytes of IRAM.
2026-04-07 20:14:26 +08:00

26 lines
709 B
Plaintext

/*
* SPDX-FileCopyrightText: 2022-2026 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
/***************************************
Group hal_wdt
***************************************/
/* Functions */
/* Patch init/deinit to add clock configuration missing from ROM version */
rom_wdt_hal_init = 0x4000038c;
rom_wdt_hal_deinit = 0x40000390;
/* Functions */
wdt_hal_config_stage = 0x40000394;
wdt_hal_write_protect_disable = 0x40000398;
wdt_hal_write_protect_enable = 0x4000039c;
wdt_hal_enable = 0x400003a0;
wdt_hal_disable = 0x400003a4;
wdt_hal_handle_intr = 0x400003a8;
wdt_hal_feed = 0x400003ac;
wdt_hal_set_flashboot_en = 0x400003b0;
wdt_hal_is_enabled = 0x400003b4;