From 62eb6129b843218dbf81a717b53c8d1ac2de0bee Mon Sep 17 00:00:00 2001 From: rtel Date: Tue, 22 Oct 2019 16:31:57 +0000 Subject: [PATCH] Fix spelling mistakes copied and pasted into a couple of RISC-V demo main.c files. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2750 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../projects/RTOSDemo_ri5cy/full_demo/RegTest.S | 8 ++++---- .../projects/RTOSDemo_ri5cy/main.c | 4 ++-- FreeRTOS/Demo/RISC-V_Renode_Emulator_SoftConsole/main.c | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/projects/RTOSDemo_ri5cy/full_demo/RegTest.S b/FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/projects/RTOSDemo_ri5cy/full_demo/RegTest.S index ca2c01b88..64ed55545 100644 --- a/FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/projects/RTOSDemo_ri5cy/full_demo/RegTest.S +++ b/FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/projects/RTOSDemo_ri5cy/full_demo/RegTest.S @@ -48,7 +48,7 @@ * main_full.c. */ -.align( 8 ) +.align( 4 ) vRegTest1Implementation: /* Fill the additional registers with known values. */ @@ -193,12 +193,12 @@ reg1_error_loop: ebreak jal reg1_error_loop -.align( 16 ) +.align( 4 ) ulRegTest1LoopCounterConst: .word ulRegTest1LoopCounter /*-----------------------------------------------------------*/ -.align( 8 ) +.align( 4 ) vRegTest2Implementation: /* Fill the additional registers with known values. */ @@ -340,7 +340,7 @@ reg2_error_loop: ebreak jal reg2_error_loop -.align( 16 ) +.align( 4 ) ulRegTest2LoopCounterConst: .word ulRegTest2LoopCounter diff --git a/FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/projects/RTOSDemo_ri5cy/main.c b/FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/projects/RTOSDemo_ri5cy/main.c index b8741cd5f..c8be19e6d 100644 --- a/FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/projects/RTOSDemo_ri5cy/main.c +++ b/FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/projects/RTOSDemo_ri5cy/main.c @@ -87,10 +87,10 @@ void vApplicationIdleHook( void ); void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName ); void vApplicationTickHook( void ); -/* Prepare haredware to run the demo. */ +/* Prepare hardware to run the demo. */ static void prvSetupHardware( void ); -/* Send a messaage to the UART initialised in prvSetupHardware. */ +/* Send a message to the UART initialised in prvSetupHardware. */ void vSendString( const char * const pcString ); /*-----------------------------------------------------------*/ diff --git a/FreeRTOS/Demo/RISC-V_Renode_Emulator_SoftConsole/main.c b/FreeRTOS/Demo/RISC-V_Renode_Emulator_SoftConsole/main.c index 700421c70..1225598ea 100644 --- a/FreeRTOS/Demo/RISC-V_Renode_Emulator_SoftConsole/main.c +++ b/FreeRTOS/Demo/RISC-V_Renode_Emulator_SoftConsole/main.c @@ -71,10 +71,10 @@ void vApplicationIdleHook( void ); void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName ); void vApplicationTickHook( void ); -/* Prepare haredware to run the demo. */ +/* Prepare hardware to run the demo. */ static void prvSetupHardware( void ); -/* Send a messaage to the UART initialised in prvSetupHardware. */ +/* Send a message to the UART initialised in prvSetupHardware. */ void vSendString( const char * const pcString ); /*-----------------------------------------------------------*/ -- 2.39.5