mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-24 17:27:21 +00:00
wdt: add support for WDTs on C6
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -169,24 +169,6 @@ g_flash_guard_ops = 0x4087fff4;
|
||||
/* Note: esp_rom_spiflash_write_disable was moved from esp32c6.rom.spiflash.ld */
|
||||
esp_rom_spiflash_write_disable = 0x40000278;
|
||||
|
||||
/***************************************
|
||||
Group hal_wdt
|
||||
***************************************/
|
||||
|
||||
/* Functions */
|
||||
wdt_hal_init = 0x40000394;
|
||||
wdt_hal_deinit = 0x40000398;
|
||||
wdt_hal_config_stage = 0x4000039c;
|
||||
wdt_hal_write_protect_disable = 0x400003a0;
|
||||
wdt_hal_write_protect_enable = 0x400003a4;
|
||||
wdt_hal_enable = 0x400003a8;
|
||||
wdt_hal_disable = 0x400003ac;
|
||||
wdt_hal_handle_intr = 0x400003b0;
|
||||
wdt_hal_feed = 0x400003b4;
|
||||
wdt_hal_set_flashboot_en = 0x400003b8;
|
||||
wdt_hal_is_enabled = 0x400003bc;
|
||||
|
||||
|
||||
/***************************************
|
||||
Group hal_systimer
|
||||
***************************************/
|
||||
|
25
components/esp_rom/esp32c6/ld/esp32c6.rom.wdt.ld
Normal file
25
components/esp_rom/esp32c6/ld/esp32c6.rom.wdt.ld
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
/***************************************
|
||||
Group hal_wdt
|
||||
***************************************/
|
||||
|
||||
/* Functions */
|
||||
|
||||
/* Patch init function to set clock source
|
||||
wdt_hal_init = 0x40000394;
|
||||
wdt_hal_deinit = 0x40000398;
|
||||
*/
|
||||
|
||||
wdt_hal_config_stage = 0x4000039c;
|
||||
wdt_hal_write_protect_disable = 0x400003a0;
|
||||
wdt_hal_write_protect_enable = 0x400003a4;
|
||||
wdt_hal_enable = 0x400003a8;
|
||||
wdt_hal_disable = 0x400003ac;
|
||||
wdt_hal_handle_intr = 0x400003b0;
|
||||
wdt_hal_feed = 0x400003b4;
|
||||
wdt_hal_set_flashboot_en = 0x400003b8;
|
||||
wdt_hal_is_enabled = 0x400003bc;
|
Reference in New Issue
Block a user