From 9a109ca17cdbc744d49a6cfe74e79f3bfaf0d099 Mon Sep 17 00:00:00 2001 From: Yuan Yu Date: Thu, 15 May 2025 17:45:27 +0800 Subject: [PATCH] fix(peripherals): Correct typo in periph_inttrput_t Corrected the typo in the type name from 'periph_inttrput_t' to 'periph_interrupt_t'. --- components/soc/esp32/include/soc/interrupts.h | 2 -- components/soc/esp32c2/include/soc/interrupts.h | 2 -- components/soc/esp32c3/include/soc/interrupts.h | 2 -- components/soc/esp32c6/include/soc/interrupts.h | 2 -- components/soc/esp32h2/include/soc/interrupts.h | 2 -- components/soc/esp32h4/include/soc/interrupts.h | 2 +- components/soc/esp32p4/include/soc/interrupts.h | 2 -- components/soc/esp32s2/include/soc/interrupts.h | 2 -- components/soc/esp32s3/include/soc/interrupts.h | 2 -- 9 files changed, 1 insertion(+), 17 deletions(-) diff --git a/components/soc/esp32/include/soc/interrupts.h b/components/soc/esp32/include/soc/interrupts.h index 1385277db3..cfde796fdc 100644 --- a/components/soc/esp32/include/soc/interrupts.h +++ b/components/soc/esp32/include/soc/interrupts.h @@ -86,8 +86,6 @@ typedef enum { ETS_MAX_INTR_SOURCE, /**< total number of interrupt sources*/ } periph_interrupt_t; -typedef periph_interrupt_t periph_interrput_t __attribute__((deprecated("in favor of periph_interrupt_t"))); - #define ETS_CAN_INTR_SOURCE ETS_TWAI_INTR_SOURCE extern const char *const esp_isr_names[ETS_MAX_INTR_SOURCE]; diff --git a/components/soc/esp32c2/include/soc/interrupts.h b/components/soc/esp32c2/include/soc/interrupts.h index 64ab0ee200..c1c01fb471 100644 --- a/components/soc/esp32c2/include/soc/interrupts.h +++ b/components/soc/esp32c2/include/soc/interrupts.h @@ -64,8 +64,6 @@ typedef enum { ETS_MAX_INTR_SOURCE, } periph_interrupt_t; -typedef periph_interrupt_t periph_interrput_t __attribute__((deprecated("in favor of periph_interrupt_t"))); - extern const char * const esp_isr_names[ETS_MAX_INTR_SOURCE]; #ifdef __cplusplus diff --git a/components/soc/esp32c3/include/soc/interrupts.h b/components/soc/esp32c3/include/soc/interrupts.h index 5561256fda..e17c7c65ec 100644 --- a/components/soc/esp32c3/include/soc/interrupts.h +++ b/components/soc/esp32c3/include/soc/interrupts.h @@ -83,8 +83,6 @@ typedef enum { ETS_MAX_INTR_SOURCE, } periph_interrupt_t; -typedef periph_interrupt_t periph_interrput_t __attribute__((deprecated("in favor of periph_interrupt_t"))); - extern const char * const esp_isr_names[ETS_MAX_INTR_SOURCE]; #ifdef __cplusplus diff --git a/components/soc/esp32c6/include/soc/interrupts.h b/components/soc/esp32c6/include/soc/interrupts.h index 969a8dba96..e8f8987f2b 100644 --- a/components/soc/esp32c6/include/soc/interrupts.h +++ b/components/soc/esp32c6/include/soc/interrupts.h @@ -99,8 +99,6 @@ typedef enum { ETS_MAX_INTR_SOURCE, } periph_interrupt_t; -typedef periph_interrupt_t periph_interrput_t __attribute__((deprecated("in favor of periph_interrupt_t"))); - extern const char * const esp_isr_names[ETS_MAX_INTR_SOURCE]; #ifdef __cplusplus diff --git a/components/soc/esp32h2/include/soc/interrupts.h b/components/soc/esp32h2/include/soc/interrupts.h index 4c23e9d1d7..9bf8370d30 100644 --- a/components/soc/esp32h2/include/soc/interrupts.h +++ b/components/soc/esp32h2/include/soc/interrupts.h @@ -87,8 +87,6 @@ typedef enum { ETS_MAX_INTR_SOURCE, } periph_interrupt_t; -typedef periph_interrupt_t periph_interrput_t __attribute__((deprecated("in favor of periph_interrupt_t"))); - extern const char * const esp_isr_names[ETS_MAX_INTR_SOURCE]; #ifdef __cplusplus diff --git a/components/soc/esp32h4/include/soc/interrupts.h b/components/soc/esp32h4/include/soc/interrupts.h index e6d379b855..5c92b26e90 100644 --- a/components/soc/esp32h4/include/soc/interrupts.h +++ b/components/soc/esp32h4/include/soc/interrupts.h @@ -107,7 +107,7 @@ typedef enum { ETS_ECDSA_INTR_SOURCE, ETS_KM_INTR_SOURCE, ETS_MAX_INTR_SOURCE, -} periph_interrput_t; +} periph_interrupt_t; extern const char * const esp_isr_names[ETS_MAX_INTR_SOURCE]; diff --git a/components/soc/esp32p4/include/soc/interrupts.h b/components/soc/esp32p4/include/soc/interrupts.h index 3653913c7d..e2ce9cd695 100644 --- a/components/soc/esp32p4/include/soc/interrupts.h +++ b/components/soc/esp32p4/include/soc/interrupts.h @@ -155,8 +155,6 @@ typedef enum { ETS_MAX_INTR_SOURCE, /**< number of interrupt sources */ } periph_interrupt_t; -typedef periph_interrupt_t periph_interrput_t __attribute__((deprecated("in favor of periph_interrupt_t"))); - extern const char *const esp_isr_names[ETS_MAX_INTR_SOURCE]; #ifdef __cplusplus diff --git a/components/soc/esp32s2/include/soc/interrupts.h b/components/soc/esp32s2/include/soc/interrupts.h index bd1b5a1b7b..4134b1547a 100644 --- a/components/soc/esp32s2/include/soc/interrupts.h +++ b/components/soc/esp32s2/include/soc/interrupts.h @@ -116,8 +116,6 @@ typedef enum { ETS_MAX_INTR_SOURCE, /**< number of interrupt sources */ } periph_interrupt_t; -typedef periph_interrupt_t periph_interrput_t __attribute__((deprecated("in favor of periph_interrupt_t"))); - extern const char * const esp_isr_names[ETS_MAX_INTR_SOURCE]; #ifdef __cplusplus diff --git a/components/soc/esp32s3/include/soc/interrupts.h b/components/soc/esp32s3/include/soc/interrupts.h index 239454842a..23fbddc79f 100644 --- a/components/soc/esp32s3/include/soc/interrupts.h +++ b/components/soc/esp32s3/include/soc/interrupts.h @@ -118,8 +118,6 @@ typedef enum { ETS_MAX_INTR_SOURCE, /**< number of interrupt sources */ } periph_interrupt_t; -typedef periph_interrupt_t periph_interrput_t __attribute__((deprecated("in favor of periph_interrupt_t"))); - extern const char * const esp_isr_names[ETS_MAX_INTR_SOURCE]; #ifdef __cplusplus