feat(intr): clean up and support interrupts on H21

This commit is contained in:
Marius Vikhammer
2025-01-20 15:10:30 +08:00
parent 4c5e1a0341
commit 267a8776a0
17 changed files with 149 additions and 28 deletions

View File

@@ -0,0 +1,12 @@
/**
* SPDX-FileCopyrightText: 2024-2025 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
// Maps misc system interrupt to hardware interrupt names
#define SYS_CPU_INTR_FROM_CPU_0_SOURCE ETS_FROM_CPU_INTR0_SOURCE
#define SYS_TG0_WDT_INTR_SOURCE ETS_TG0_WDT_LEVEL_INTR_SOURCE
#define SYS_TG1_WDT_INTR_SOURCE ETS_TG1_WDT_LEVEL_INTR_SOURCE