From 9f918456841123f91114004cf478ca32023ce927 Mon Sep 17 00:00:00 2001 From: itxwh Date: Sat, 27 Jun 2026 22:06:10 +0800 Subject: [PATCH] docs: fix typos in RISC-V port assembly comments --- portable/GCC/RISC-V/portASM.S | 4 ++-- portable/IAR/RISC-V/portASM.s | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/portable/GCC/RISC-V/portASM.S b/portable/GCC/RISC-V/portASM.S index 9d36d78f929..fa81962f55c 100644 --- a/portable/GCC/RISC-V/portASM.S +++ b/portable/GCC/RISC-V/portASM.S @@ -45,7 +45,7 @@ * that do not include a standard CLINT or do add to the base set of RISC-V * registers. * - * CARE MUST BE TAKEN TO INCLDUE THE CORRECT + * CARE MUST BE TAKEN TO INCLUDE THE CORRECT * freertos_risc_v_chip_specific_extensions.h HEADER FILE FOR THE CHIP * IN USE. To include the correct freertos_risc_v_chip_specific_extensions.h * header file ensure the path to the correct header file is in the assembler's @@ -364,7 +364,7 @@ asynchronous_interrupt: j handle_interrupt synchronous_exception: - addi a1, a1, 4 /* Synchronous so update exception return address to the instruction after the instruction that generated the exeption. */ + addi a1, a1, 4 /* Synchronous so update exception return address to the instruction after the instruction that generated the exception. */ store_x a1, 0( sp ) /* Save updated exception return address. */ load_x sp, xISRStackTop /* Switch to ISR stack. */ j handle_exception diff --git a/portable/IAR/RISC-V/portASM.s b/portable/IAR/RISC-V/portASM.s index 12a2a6154ce..428627e2c14 100644 --- a/portable/IAR/RISC-V/portASM.s +++ b/portable/IAR/RISC-V/portASM.s @@ -45,7 +45,7 @@ * that do not include a standard CLINT or do add to the base set of RISC-V * registers. * - * CARE MUST BE TAKEN TO INCLDUE THE CORRECT + * CARE MUST BE TAKEN TO INCLUDE THE CORRECT * freertos_risc_v_chip_specific_extensions.h HEADER FILE FOR THE CHIP * IN USE. To include the correct freertos_risc_v_chip_specific_extensions.h * header file ensure the path to the correct header file is in the assembler's @@ -357,7 +357,7 @@ asynchronous_interrupt: j handle_interrupt synchronous_exception: - addi a1, a1, 4 /* Synchronous so update exception return address to the instruction after the instruction that generated the exeption. */ + addi a1, a1, 4 /* Synchronous so update exception return address to the instruction after the instruction that generated the exception. */ store_x a1, 0( sp ) /* Save updated exception return address. */ load_x sp, xISRStackTop /* Switch to ISR stack. */ j handle_exception