Skip to content

Commit de276eb

Browse files
Fix spelling typos (FreeRTOS#1168)
* Fix spelling --------- Co-authored-by: Rahul Kar <[email protected]>
1 parent 8225a7f commit de276eb

File tree

133 files changed

+218
-218
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+218
-218
lines changed

History.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ Changes between FreeRTOS V10.4.3 and FreeRTOS V10.4.4 released May 28 2021
528528
in more files.
529529
+ Other minor updates include adding additional configASSERT() checks and
530530
correcting and improving code comments.
531-
+ Go look at the smp branch to see the progress towards the Symetric
531+
+ Go look at the smp branch to see the progress towards the Symmetric
532532
Multiprocessing Kernel. https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/smp
533533

534534
Changes between FreeRTOS V10.4.2 and FreeRTOS V10.4.3 released December 14 2020
@@ -2015,7 +2015,7 @@ Changes between V6.1.0 and V6.1.1 released January 14 2011
20152015
Embedded Workbench.
20162016
+ Added a new port for the MSP430X core using the IAR Embedded Workbench.
20172017
+ Updated all the RX62N demo projects that target the Renesas Demonstration
2018-
Kit (RDK) to take into account the revered LED wiring on later hardware
2018+
Kit (RDK) to take into account the reversed LED wiring on later hardware
20192019
revisions, and the new J-Link debug interface DLL.
20202020
+ Updated all the RX62N demo projects so the IO page served by the example
20212021
embedded web server works with all web browsers.
@@ -3174,7 +3174,7 @@ Changes between V1.2.3 and V1.2.4
31743174
xSerialPortInitMinimal() and the function xPortInit() has been renamed
31753175
to xSerialPortInit().
31763176
+ The function sSerialPutChar() has been renamed cSerialPutChar() and
3177-
the function return type chaned to portCHAR.
3177+
the function return type changed to portCHAR.
31783178
+ The integer and flop tasks now include calls to tskYIELD(), allowing
31793179
them to be used with the cooperative scheduler.
31803180
+ All the demo applications now use the integer and comtest tasks when the
@@ -3308,7 +3308,7 @@ Changes between V1.01 and V1.2.0
33083308
ports to allocate a different maximum number of priorities.
33093309
+ By default the trace facility is off, previously USE_TRACE_FACILITY
33103310
was defined.
3311-
+ comtest.c now uses a psuedo random delay between sends. This allows for
3311+
+ comtest.c now uses a pseudo random delay between sends. This allows for
33123312
better testing as the interrupts do not arrive at regular intervals.
33133313
+ Minor change to the Flashlite serial port driver. The driver is written
33143314
to demonstrate the scheduler and is not written to be efficient.

examples/coverity/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ commands in a terminal:
3535
~~~
3636
2. Create the build files using CMake in a `build` directory:
3737

38-
Singe core FreeRTOS:
38+
Single core FreeRTOS:
3939
~~~
4040
cmake -B build -S examples/coverity
4141
~~~

examples/template_configuration/FreeRTOSConfig.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@
643643
* contain the most recent error for that task. */
644644
#define configUSE_POSIX_ERRNO 0
645645

646-
/* Set the following INCLUDE_* constants to 1 to incldue the named API function,
646+
/* Set the following INCLUDE_* constants to 1 to include the named API function,
647647
* or 0 to exclude the named API function. Most linkers will remove unused
648648
* functions even when the constant is 1. */
649649
#define INCLUDE_vTaskPrioritySet 1

include/task.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2372,7 +2372,7 @@ char * pcTaskGetName( TaskHandle_t xTaskToQuery ) PRIVILEGED_FUNCTION;
23722372
*
23732373
* WARN: This function assumes that the pcWriteBuffer is of length
23742374
* configSTATS_BUFFER_MAX_LENGTH. This function is there only for
2375-
* backward compatiblity. New applications are recommended to use
2375+
* backward compatibility. New applications are recommended to use
23762376
* vTaskGetRunTimeStatistics and supply the length of the pcWriteBuffer
23772377
* explicitly.
23782378
*

portable/ARMv8M/non_secure/port.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
* The FreeRTOS Cortex M33 port can be configured to run on the Secure Side only
5757
* i.e. the processor boots as secure and never jumps to the non-secure side.
5858
* The Trust Zone support in the port must be disabled in order to run FreeRTOS
59-
* on the secure side. The following are the valid configuration seetings:
59+
* on the secure side. The following are the valid configuration settings:
6060
*
6161
* 1. Run FreeRTOS on the Secure Side:
6262
* configRUN_FREERTOS_SECURE_ONLY = 1 and configENABLE_TRUSTZONE = 0

portable/ARMv8M/non_secure/portable/GCC/ARM_CM33/portasm.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ uint32_t ulSetInterruptMask( void ) /* __attribute__(( naked )) PRIVILEGED_FUNCT
227227
" \n"
228228
" mrs r0, basepri \n" /* r0 = basepri. Return original basepri value. */
229229
" mov r1, %0 \n" /* r1 = configMAX_SYSCALL_INTERRUPT_PRIORITY. */
230-
" msr basepri, r1 \n" /* Disable interrupts upto configMAX_SYSCALL_INTERRUPT_PRIORITY. */
230+
" msr basepri, r1 \n" /* Disable interrupts up to configMAX_SYSCALL_INTERRUPT_PRIORITY. */
231231
" dsb \n"
232232
" isb \n"
233233
" bx lr \n" /* Return. */
@@ -304,7 +304,7 @@ void vClearInterruptMask( __attribute__( ( unused ) ) uint32_t ulMask ) /* __att
304304
" \n"
305305
" select_next_task: \n"
306306
" mov r0, %0 \n" /* r0 = configMAX_SYSCALL_INTERRUPT_PRIORITY */
307-
" msr basepri, r0 \n" /* Disable interrupts upto configMAX_SYSCALL_INTERRUPT_PRIORITY. */
307+
" msr basepri, r0 \n" /* Disable interrupts up to configMAX_SYSCALL_INTERRUPT_PRIORITY. */
308308
" dsb \n"
309309
" isb \n"
310310
" bl vTaskSwitchContext \n"
@@ -447,7 +447,7 @@ void vClearInterruptMask( __attribute__( ( unused ) ) uint32_t ulMask ) /* __att
447447
" \n"
448448
" select_next_task: \n"
449449
" mov r0, %0 \n" /* r0 = configMAX_SYSCALL_INTERRUPT_PRIORITY */
450-
" msr basepri, r0 \n" /* Disable interrupts upto configMAX_SYSCALL_INTERRUPT_PRIORITY. */
450+
" msr basepri, r0 \n" /* Disable interrupts up to configMAX_SYSCALL_INTERRUPT_PRIORITY. */
451451
" dsb \n"
452452
" isb \n"
453453
" bl vTaskSwitchContext \n"

portable/ARMv8M/non_secure/portable/GCC/ARM_CM33_NTZ/portasm.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ uint32_t ulSetInterruptMask( void ) /* __attribute__(( naked )) PRIVILEGED_FUNCT
223223
" \n"
224224
" mrs r0, basepri \n" /* r0 = basepri. Return original basepri value. */
225225
" mov r1, %0 \n" /* r1 = configMAX_SYSCALL_INTERRUPT_PRIORITY. */
226-
" msr basepri, r1 \n" /* Disable interrupts upto configMAX_SYSCALL_INTERRUPT_PRIORITY. */
226+
" msr basepri, r1 \n" /* Disable interrupts up to configMAX_SYSCALL_INTERRUPT_PRIORITY. */
227227
" dsb \n"
228228
" isb \n"
229229
" bx lr \n" /* Return. */
@@ -283,7 +283,7 @@ void vClearInterruptMask( __attribute__( ( unused ) ) uint32_t ulMask ) /* __att
283283
" \n"
284284
" select_next_task: \n"
285285
" mov r0, %0 \n" /* r0 = configMAX_SYSCALL_INTERRUPT_PRIORITY */
286-
" msr basepri, r0 \n" /* Disable interrupts upto configMAX_SYSCALL_INTERRUPT_PRIORITY. */
286+
" msr basepri, r0 \n" /* Disable interrupts up to configMAX_SYSCALL_INTERRUPT_PRIORITY. */
287287
" dsb \n"
288288
" isb \n"
289289
" bl vTaskSwitchContext \n"
@@ -386,7 +386,7 @@ void vClearInterruptMask( __attribute__( ( unused ) ) uint32_t ulMask ) /* __att
386386
" str r0, [r1] \n" /* Save the new top of stack in TCB. */
387387
" \n"
388388
" mov r0, %0 \n" /* r0 = configMAX_SYSCALL_INTERRUPT_PRIORITY */
389-
" msr basepri, r0 \n" /* Disable interrupts upto configMAX_SYSCALL_INTERRUPT_PRIORITY. */
389+
" msr basepri, r0 \n" /* Disable interrupts up to configMAX_SYSCALL_INTERRUPT_PRIORITY. */
390390
" dsb \n"
391391
" isb \n"
392392
" bl vTaskSwitchContext \n"

portable/ARMv8M/non_secure/portable/IAR/ARM_CM33/portasm.s

+3-3
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ vStartFirstTask:
216216
ulSetInterruptMask:
217217
mrs r0, basepri /* r0 = basepri. Return original basepri value. */
218218
mov r1, #configMAX_SYSCALL_INTERRUPT_PRIORITY
219-
msr basepri, r1 /* Disable interrupts upto configMAX_SYSCALL_INTERRUPT_PRIORITY. */
219+
msr basepri, r1 /* Disable interrupts up to configMAX_SYSCALL_INTERRUPT_PRIORITY. */
220220
dsb
221221
isb
222222
bx lr /* Return. */
@@ -275,7 +275,7 @@ PendSV_Handler:
275275

276276
select_next_task:
277277
mov r0, #configMAX_SYSCALL_INTERRUPT_PRIORITY
278-
msr basepri, r0 /* Disable interrupts upto configMAX_SYSCALL_INTERRUPT_PRIORITY. */
278+
msr basepri, r0 /* Disable interrupts up to configMAX_SYSCALL_INTERRUPT_PRIORITY. */
279279
dsb
280280
isb
281281
bl vTaskSwitchContext
@@ -409,7 +409,7 @@ PendSV_Handler:
409409

410410
select_next_task:
411411
mov r0, #configMAX_SYSCALL_INTERRUPT_PRIORITY
412-
msr basepri, r0 /* Disable interrupts upto configMAX_SYSCALL_INTERRUPT_PRIORITY. */
412+
msr basepri, r0 /* Disable interrupts up to configMAX_SYSCALL_INTERRUPT_PRIORITY. */
413413
dsb
414414
isb
415415
bl vTaskSwitchContext

portable/ARMv8M/non_secure/portable/IAR/ARM_CM33_NTZ/portasm.s

+3-3
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ vStartFirstTask:
202202
ulSetInterruptMask:
203203
mrs r0, basepri /* r0 = basepri. Return original basepri value. */
204204
mov r1, #configMAX_SYSCALL_INTERRUPT_PRIORITY
205-
msr basepri, r1 /* Disable interrupts upto configMAX_SYSCALL_INTERRUPT_PRIORITY. */
205+
msr basepri, r1 /* Disable interrupts up to configMAX_SYSCALL_INTERRUPT_PRIORITY. */
206206
dsb
207207
isb
208208
bx lr /* Return. */
@@ -246,7 +246,7 @@ PendSV_Handler:
246246

247247
select_next_task:
248248
mov r0, #configMAX_SYSCALL_INTERRUPT_PRIORITY
249-
msr basepri, r0 /* Disable interrupts upto configMAX_SYSCALL_INTERRUPT_PRIORITY. */
249+
msr basepri, r0 /* Disable interrupts up to configMAX_SYSCALL_INTERRUPT_PRIORITY. */
250250
dsb
251251
isb
252252
bl vTaskSwitchContext
@@ -340,7 +340,7 @@ PendSV_Handler:
340340
str r0, [r1] /* Save the new top of stack in TCB. */
341341

342342
mov r0, #configMAX_SYSCALL_INTERRUPT_PRIORITY
343-
msr basepri, r0 /* Disable interrupts upto configMAX_SYSCALL_INTERRUPT_PRIORITY. */
343+
msr basepri, r0 /* Disable interrupts up to configMAX_SYSCALL_INTERRUPT_PRIORITY. */
344344
dsb
345345
isb
346346
bl vTaskSwitchContext

portable/ARMv8M/non_secure/portasm.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ BaseType_t xIsPrivileged( void ) __attribute__( ( naked ) );
5252
* @brief Raises the privilege level by clearing the bit 0 of the CONTROL
5353
* register.
5454
*
55-
* @note This is a privileged function and should only be called from the kenrel
55+
* @note This is a privileged function and should only be called from the kernel
5656
* code.
5757
*
5858
* Bit 0 of the CONTROL register defines the privilege level of Thread Mode.

portable/ARMv8M/non_secure/portmacrocommon.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ extern void vClearInterruptMask( uint32_t ulMask ) /* __attribute__(( naked )) P
137137
#define portPRIVILEGE_BIT ( 0x0UL )
138138
#endif /* configENABLE_MPU */
139139

140-
/* MPU settings that can be overriden in FreeRTOSConfig.h. */
140+
/* MPU settings that can be overridden in FreeRTOSConfig.h. */
141141
#ifndef configTOTAL_MPU_REGIONS
142142
/* Define to 8 for backward compatibility. */
143143
#define configTOTAL_MPU_REGIONS ( 8UL )

portable/ARMv8M/secure/context/secure_context.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ secureportNON_SECURE_CALLABLE void SecureContext_Init( void )
207207
* securecontextNO_STACK when no secure context is loaded. */
208208
if( ( ulIPSR != 0 ) && ( pucStackLimit == securecontextNO_STACK ) )
209209
{
210-
/* Ontain a free secure context. */
210+
/* Obtain a free secure context. */
211211
ulSecureContextIndex = ulGetSecureContext( pvTaskHandle );
212212

213213
/* Were we able to get a free context? */

portable/GCC/ARM7_AT91SAM7S/AT91SAM7X256.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -627,8 +627,8 @@ typedef struct _AT91S_MC
627627
/* -------- MC_RCR : (MC Offset: 0x0) MC Remap Control Register -------- */
628628
#define AT91C_MC_RCB ( ( unsigned int ) 0x1 << 0 ) /* (MC) Remap Command Bit */
629629
/* -------- MC_ASR : (MC Offset: 0x4) MC Abort Status Register -------- */
630-
#define AT91C_MC_UNDADD ( ( unsigned int ) 0x1 << 0 ) /* (MC) Undefined Addess Abort Status */
631-
#define AT91C_MC_MISADD ( ( unsigned int ) 0x1 << 1 ) /* (MC) Misaligned Addess Abort Status */
630+
#define AT91C_MC_UNDADD ( ( unsigned int ) 0x1 << 0 ) /* (MC) Undefined Address Abort Status */
631+
#define AT91C_MC_MISADD ( ( unsigned int ) 0x1 << 1 ) /* (MC) Misaligned Address Abort Status */
632632
#define AT91C_MC_ABTSZ ( ( unsigned int ) 0x3 << 8 ) /* (MC) Abort Size Status */
633633
#define AT91C_MC_ABTSZ_BYTE ( ( unsigned int ) 0x0 << 8 ) /* (MC) Byte */
634634
#define AT91C_MC_ABTSZ_HWORD ( ( unsigned int ) 0x1 << 8 ) /* (MC) Half-word */
@@ -1509,7 +1509,7 @@ typedef struct _AT91S_EMAC
15091509
AT91_REG EMAC_ECOL; /* Excessive Collision Register */
15101510
AT91_REG EMAC_TUND; /* Transmit Underrun Error Register */
15111511
AT91_REG EMAC_CSE; /* Carrier Sense Error Register */
1512-
AT91_REG EMAC_RRE; /* Receive Ressource Error Register */
1512+
AT91_REG EMAC_RRE; /* Receive Resource Error Register */
15131513
AT91_REG EMAC_ROV; /* Receive Overrun Errors Register */
15141514
AT91_REG EMAC_RSE; /* Receive Symbol Errors Register */
15151515
AT91_REG EMAC_ELE; /* Excessive Length Errors Register */
@@ -2393,7 +2393,7 @@ typedef struct _AT91S_TDES
23932393
#define AT91C_EMAC_SA1H ( ( AT91_REG * ) 0xFFFDC09C ) /* (EMAC) Specific Address 1 Top, Last 2 bytes */
23942394
#define AT91C_EMAC_CSE ( ( AT91_REG * ) 0xFFFDC068 ) /* (EMAC) Carrier Sense Error Register */
23952395
#define AT91C_EMAC_SA3H ( ( AT91_REG * ) 0xFFFDC0AC ) /* (EMAC) Specific Address 3 Top, Last 2 bytes */
2396-
#define AT91C_EMAC_RRE ( ( AT91_REG * ) 0xFFFDC06C ) /* (EMAC) Receive Ressource Error Register */
2396+
#define AT91C_EMAC_RRE ( ( AT91_REG * ) 0xFFFDC06C ) /* (EMAC) Receive Resource Error Register */
23972397
#define AT91C_EMAC_STE ( ( AT91_REG * ) 0xFFFDC084 ) /* (EMAC) SQE Test Error Register */
23982398
/* ========== Register definition for PDC_ADC peripheral ========== */
23992399
#define AT91C_ADC_PTSR ( ( AT91_REG * ) 0xFFFD8124 ) /* (PDC_ADC) PDC Transfer Status Register */

portable/GCC/ARM7_AT91SAM7S/ioat91sam7x256.h

+7-7
Original file line numberDiff line numberDiff line change
@@ -627,8 +627,8 @@ typedef struct _AT91S_MC
627627
/* -------- MC_RCR : (MC Offset: 0x0) MC Remap Control Register -------- */
628628
#define AT91C_MC_RCB ( ( unsigned int ) 0x1 << 0 ) /* (MC) Remap Command Bit */
629629
/* -------- MC_ASR : (MC Offset: 0x4) MC Abort Status Register -------- */
630-
#define AT91C_MC_UNDADD ( ( unsigned int ) 0x1 << 0 ) /* (MC) Undefined Addess Abort Status */
631-
#define AT91C_MC_MISADD ( ( unsigned int ) 0x1 << 1 ) /* (MC) Misaligned Addess Abort Status */
630+
#define AT91C_MC_UNDADD ( ( unsigned int ) 0x1 << 0 ) /* (MC) Undefined Address Abort Status */
631+
#define AT91C_MC_MISADD ( ( unsigned int ) 0x1 << 1 ) /* (MC) Misaligned Address Abort Status */
632632
#define AT91C_MC_ABTSZ ( ( unsigned int ) 0x3 << 8 ) /* (MC) Abort Size Status */
633633
#define AT91C_MC_ABTSZ_BYTE ( ( unsigned int ) 0x0 << 8 ) /* (MC) Byte */
634634
#define AT91C_MC_ABTSZ_HWORD ( ( unsigned int ) 0x1 << 8 ) /* (MC) Half-word */
@@ -1509,7 +1509,7 @@ typedef struct _AT91S_EMAC
15091509
AT91_REG EMAC_ECOL; /* Excessive Collision Register */
15101510
AT91_REG EMAC_TUND; /* Transmit Underrun Error Register */
15111511
AT91_REG EMAC_CSE; /* Carrier Sense Error Register */
1512-
AT91_REG EMAC_RRE; /* Receive Ressource Error Register */
1512+
AT91_REG EMAC_RRE; /* Receive Resource Error Register */
15131513
AT91_REG EMAC_ROV; /* Receive Overrun Errors Register */
15141514
AT91_REG EMAC_RSE; /* Receive Symbol Errors Register */
15151515
AT91_REG EMAC_ELE; /* Excessive Length Errors Register */
@@ -2393,7 +2393,7 @@ typedef struct _AT91S_TDES
23932393
#define AT91C_EMAC_SA1H ( ( AT91_REG * ) 0xFFFDC09C ) /* (EMAC) Specific Address 1 Top, Last 2 bytes */
23942394
#define AT91C_EMAC_CSE ( ( AT91_REG * ) 0xFFFDC068 ) /* (EMAC) Carrier Sense Error Register */
23952395
#define AT91C_EMAC_SA3H ( ( AT91_REG * ) 0xFFFDC0AC ) /* (EMAC) Specific Address 3 Top, Last 2 bytes */
2396-
#define AT91C_EMAC_RRE ( ( AT91_REG * ) 0xFFFDC06C ) /* (EMAC) Receive Ressource Error Register */
2396+
#define AT91C_EMAC_RRE ( ( AT91_REG * ) 0xFFFDC06C ) /* (EMAC) Receive Resource Error Register */
23972397
#define AT91C_EMAC_STE ( ( AT91_REG * ) 0xFFFDC084 ) /* (EMAC) SQE Test Error Register */
23982398
/* ========== Register definition for PDC_ADC peripheral ========== */
23992399
#define AT91C_ADC_PTSR ( ( AT91_REG * ) 0xFFFD8124 ) /* (PDC_ADC) PDC Transfer Status Register */
@@ -3125,9 +3125,9 @@ AT91C_MC_RCB EQU( 0x1 << 0 );
31253125
-( MC ) Remap Command Bit
31263126
/* - -------- MC_ASR : (MC Offset: 0x4) MC Abort Status Register -------- */
31273127
AT91C_MC_UNDADD EQU( 0x1 << 0 );
3128-
-( MC ) Undefined Addess Abort Status
3128+
-( MC ) Undefined Address Abort Status
31293129
AT91C_MC_MISADD EQU( 0x1 << 1 );
3130-
-( MC ) Misaligned Addess Abort Status
3130+
-( MC ) Misaligned Address Abort Status
31313131
AT91C_MC_ABTSZ EQU( 0x3 << 8 );
31323132
-( MC ) Abort Size Status
31333133
AT91C_MC_ABTSZ_BYTE EQU( 0x0 << 8 );
@@ -5698,7 +5698,7 @@ AT91C_US_CLKS EQU( 0x3 << 4 );
56985698
AT91C_EMAC_SA3H EQU( 0xFFFDC0AC );
56995699
-( EMAC ) Specific Address 3 Top, Last 2 bytes
57005700
AT91C_EMAC_RRE EQU( 0xFFFDC06C );
5701-
-( EMAC ) Receive Ressource Error Register
5701+
-( EMAC ) Receive Resource Error Register
57025702
AT91C_EMAC_STE EQU( 0xFFFDC084 );
57035703
-( EMAC ) SQE Test Error Register
57045704
/* - ========== Register definition for PDC_ADC peripheral ========== */

0 commit comments

Comments
 (0)