This is an automated email from the ASF dual-hosted git repository. gustavonihei pushed a commit to branch feature/sync_hal_5 in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit be5ab73d4f9d673229059af30003d0c5424f65f5 Author: Gustavo Henrique Nihei <gustavo.ni...@espressif.com> AuthorDate: Fri Feb 24 12:00:22 2023 -0300 fixup! risc-v: Add Espressif chip family support on top of esp-hal-components Signed-off-by: Gustavo Henrique Nihei <gustavo.ni...@espressif.com> --- arch/risc-v/src/espressif/esp_irq.c | 8 ++++---- arch/risc-v/src/espressif/esp_irq.h | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/risc-v/src/espressif/esp_irq.c b/arch/risc-v/src/espressif/esp_irq.c index c3a856bd06..82c30f9dc3 100644 --- a/arch/risc-v/src/espressif/esp_irq.c +++ b/arch/risc-v/src/espressif/esp_irq.c @@ -406,7 +406,7 @@ void esp_bind_irq(int cpuint, int source, irq_priority_t priority, * * Description: * This function sets up the IRQ. It allocates a CPU interrupt of the given - * priority and type and attaches it to the given peripheral. + * priority and type and attaches it to a given interrupt source. * * Input Parameters: * source - The interrupt source from irq.h to be assigned to @@ -467,14 +467,14 @@ int esp_setup_irq(int source, irq_priority_t priority, irq_trigger_t type) * * Description: * This function undoes the operations done by esp_setup_irq. - * It detaches a interrupt source from a CPU interrupt and frees the + * It detaches an interrupt source from a CPU interrupt and frees the * CPU interrupt. * * Input Parameters: * source - The interrupt source from irq.h to be detached from the * CPU interrupt. - * cpuint - The CPU interrupt from which the interrupt source - * will be detached. + * cpuint - The CPU interrupt from which the interrupt source will + * be detached. * * Returned Value: * None. diff --git a/arch/risc-v/src/espressif/esp_irq.h b/arch/risc-v/src/espressif/esp_irq.h index 99573c065a..c59d1fef97 100644 --- a/arch/risc-v/src/espressif/esp_irq.h +++ b/arch/risc-v/src/espressif/esp_irq.h @@ -104,7 +104,7 @@ void esp_bind_irq(int cpuint, int source, irq_priority_t priority, * * Description: * This function sets up the IRQ. It allocates a CPU interrupt of the given - * priority and type and attaches it to the given peripheral. + * priority and type and attaches it to a given interrupt source. * * Input Parameters: * source - The interrupt source from irq.h to be assigned to @@ -125,14 +125,14 @@ int esp_setup_irq(int source, irq_priority_t priority, irq_trigger_t type); * * Description: * This function undoes the operations done by esp_setup_irq. - * It detaches a peripheral interrupt from a CPU interrupt and frees the + * It detaches an interrupt source from a CPU interrupt and frees the * CPU interrupt. * * Input Parameters: * source - The interrupt source from irq.h to be detached from the * CPU interrupt. - * cpuint - The CPU interrupt from which the peripheral interrupt - * will be detached. + * cpuint - The CPU interrupt from which the interrupt source will + * be detached. * * Returned Value: * None.