refactor(hal_wdt): esp_hal_wdt also maintains the ROM implementation

This commit is contained in:
morris
2025-12-10 13:54:44 +08:00
parent b9db95731f
commit b390af239b
27 changed files with 23 additions and 71 deletions
@@ -1,22 +0,0 @@
/*
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
/***************************************
Group hal_wdt
***************************************/
/* Functions */
wdt_hal_init = 0x40000370;
wdt_hal_deinit = 0x40000374;
wdt_hal_config_stage = 0x40000378;
wdt_hal_write_protect_disable = 0x4000037c;
wdt_hal_write_protect_enable = 0x40000380;
wdt_hal_enable = 0x40000384;
wdt_hal_disable = 0x40000388;
wdt_hal_handle_intr = 0x4000038c;
wdt_hal_feed = 0x40000390;
wdt_hal_set_flashboot_en = 0x40000394;
wdt_hal_is_enabled = 0x40000398;
@@ -1,31 +0,0 @@
/*
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
/* ROM function interface esp32h4.rom.wdt.ld for esp32h4
*
*
* Generated from ../../rom/target/esp32h4/interface-esp32h4.yml md5sum c9db9928804fe99070d282b058ff3c65
*
* Compatible with ROM where ECO version equal or greater to 0.
*
* THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT.
*/
/***************************************
Group hal_wdt
***************************************/
/* Functions */
wdt_hal_init = 0x40000340;
wdt_hal_deinit = 0x40000344;
wdt_hal_config_stage = 0x40000348;
wdt_hal_write_protect_disable = 0x4000034c;
wdt_hal_write_protect_enable = 0x40000350;
wdt_hal_enable = 0x40000354;
wdt_hal_disable = 0x40000358;
wdt_hal_handle_intr = 0x4000035c;
wdt_hal_feed = 0x40000360;
wdt_hal_set_flashboot_en = 0x40000364;
wdt_hal_is_enabled = 0x40000368;