diff --git a/ChangeLog b/ChangeLog
index e15bf20e50b..7466baf3d02 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -10770,8 +10770,8 @@
serial device servers. From Anton D. Kachalov (2015-07-29).
* drivers/net/ and include/nuttx/net: Add support for a Faraday
* FTMAC100 Ethernet MAC Driver. From Anton D. Kachalov (2015-07-29).
- * 16550 UART Driver: Add a configuration option to indicate the the
- THR empty bit is inverted. This is the the case for the moxART SoC.
+ * 16550 UART Driver: Add a configuration option to indicate the
+ THR empty bit is inverted. This is the case for the moxART SoC.
Based comments from Anton D. Kachalov (2015-07-29).
* STM32 F4: Add DMA support to the ADC driver for STM32 F4. From
Max Kriegler (2015-07-30).
@@ -13129,7 +13129,7 @@
protect code.
So this change adds locking (via enter_critical section) to wdog
- expiration logic for the the case if the SMP configuration
+ expiration logic for the case if the SMP configuration
(2016-11-18).
* SAM3/4: Add delay between setting and clearing the endpoint RESET bit
in sam_ep_resume(). We need to add a delay between setting and
@@ -13248,7 +13248,7 @@
select to log only notes from certain CPUs (2016-11-28).
* Misoc LM3: Add Misoc Ethernet driver. Integrate network support into
configs/misoc/hello. Remove configs/misoc/include/generated directory.
- I suppose the the intent now is that this is a symbolic link? DANGER!
+ I suppose the intent now is that this is a symbolic link? DANGER!
This means that you cannot compile this code with first generating
these files a providing a symbolic link to this location! From Ramtin
Amin (2016-11-28).
diff --git a/Documentation/NfsHowto.html b/Documentation/NfsHowto.html
index a6e7d3fb2ed..95da2bb73c7 100644
--- a/Documentation/NfsHowto.html
+++ b/Documentation/NfsHowto.html
@@ -287,7 +287,7 @@ This is a test
Setting up the server will be done in two steps:
First, setting up the configuration file for NFS, and then starting the NFS services.
- But first, you need to install the nfs server on Ubuntu with the these two commands:
+ But first, you need to install the nfs server on Ubuntu with these two commands:
# sudo apt-get install nfs-common
diff --git a/Documentation/NuttXBinfmt.html b/Documentation/NuttXBinfmt.html
index 49a999846c7..600693ba49a 100644
--- a/Documentation/NuttXBinfmt.html
+++ b/Documentation/NuttXBinfmt.html
@@ -381,7 +381,7 @@ EXEPATH_HANDLE exepath_init(void);
On success, exepath_init() return a non-NULL, opaque handle that may subsequently be used in calls to exepath_next() and exepath_release().
On error, a NULL handle value will be returned.
- The most likely cause of an error would be that the there is no value associated with the PATH variable.
+ The most likely cause of an error would be that there is no value associated with the PATH variable.
diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html
index 1c3ff2d8867..e6d3134dee2 100644
--- a/Documentation/NuttxPortingGuide.html
+++ b/Documentation/NuttxPortingGuide.html
@@ -2291,7 +2291,7 @@ config ARCH_SIM
In the default configuration where system time is provided by a periodic timer interrupt, the default system timer is configure the timer for 100Hz or CONFIG_USEC_PER_TICK=10000. If CONFIG_SCHED_TICKLESS is selected, then there are no system timer interrupt. In this case, CONFIG_USEC_PER_TICK does not control any timer rates. Rather, it only determines the resolution of time reported by clock_systimer() and the resolution of times that can be set for certain delays including watchdog timers and delayed work.
- In this case there is still a trade-off: It is better to have the CONFIG_USEC_PER_TICK as low as possible for higher timing resolution. However, the the time is currently held in unsigned int. On some systems, this may be 16-bits in width but on most contemporary systems it will be 32-bits. In either case, smaller values of CONFIG_USEC_PER_TICK will reduce the range of values that delays that can be represented. So the trade-off is between range and resolution (you could also modify the code to use a 64-bit value if you really want both).
+ In this case there is still a trade-off: It is better to have the CONFIG_USEC_PER_TICK as low as possible for higher timing resolution. However, the time is currently held in unsigned int. On some systems, this may be 16-bits in width but on most contemporary systems it will be 32-bits. In either case, smaller values of CONFIG_USEC_PER_TICK will reduce the range of values that delays that can be represented. So the trade-off is between range and resolution (you could also modify the code to use a 64-bit value if you really want both).
The default, 100 microseconds, will provide for a range of delays up to 120 hours.
@@ -2408,7 +2408,7 @@ int up_timer_gettime(FAR struct timespec *ts);
Assumptions:
- Called from the the normal tasking context. The implementation must provide whatever mutual exclusion is necessary for correct operation. This can include disabling interrupts in order to assure atomic register operations.
+ Called from the normal tasking context. The implementation must provide whatever mutual exclusion is necessary for correct operation. This can include disabling interrupts in order to assure atomic register operations.
@@ -2761,7 +2761,7 @@ typedef uint32_t wdparm_t;
Classes of Work Queues.
- There are three different classes of work queues, each with different properties and intended usage. These class of work queues along with the the common work queue interface are described in the following paragraphs.
+ There are three different classes of work queues, each with different properties and intended usage. These class of work queues along with the common work queue interface are described in the following paragraphs.
@@ -2786,7 +2786,7 @@ typedef uint32_t wdparm_t;
The execution priority of the high-priority worker thread. Default: 224
CONFIG_SCHED_HPWORKPERIOD.
- How often the worker thread re-checks for work in units of microseconds. This work period is really only necessary if the the high priority thread is performing periodic garbage collection. The worker thread will be awakened immediately with it is queued work to be done. If the high priority worker thread is performing garbage collection, then the default is 50*1000 (50 MS). Otherwise, if the lower priority worker thread is performing garbage collection, the default is 100*1000.
+ How often the worker thread re-checks for work in units of microseconds. This work period is really only necessary if the high priority thread is performing periodic garbage collection. The worker thread will be awakened immediately with it is queued work to be done. If the high priority worker thread is performing garbage collection, then the default is 50*1000 (50 MS). Otherwise, if the lower priority worker thread is performing garbage collection, the default is 100*1000.
CONFIG_SCHED_HPWORKSTACKSIZE.
The stack size allocated for the worker thread in bytes. Default: 2048.
diff --git a/Documentation/NuttxUserGuide.html b/Documentation/NuttxUserGuide.html
index 1fc401217f7..4fd477401ea 100644
--- a/Documentation/NuttxUserGuide.html
+++ b/Documentation/NuttxUserGuide.html
@@ -6433,7 +6433,7 @@ The cancellation cleanup handler will be popped from the cancellation cleanup st
Input Parameters:
- routine. The cleanup routine to be pushed on the the cleanup stack.
+ routine. The cleanup routine to be pushed on the cleanup stack.
arg. An argument that will accompany the callback.
@@ -10115,7 +10115,7 @@ int shmctl(int shmid, int cmd, FAR struct shmid_ds *buf);
-
IPC_SET.
- Does not set the the shm_perm.uid or shm_perm.gidmembers of the shmid_ds data structure associated with shmid because user and group IDs are not yet supported by NuttX
+ Does not set the shm_perm.uid or shm_perm.gidmembers of the shmid_ds data structure associated with shmid because user and group IDs are not yet supported by NuttX
-
IPC_SET.
diff --git a/ReleaseNotes b/ReleaseNotes
index ed69375e610..b15cf3cd687 100644
--- a/ReleaseNotes
+++ b/ReleaseNotes
@@ -11146,7 +11146,7 @@ Additional new features and extended functionality:
- SYSLOG character device channel will now expand LF to CR-LF.
Controllable with a configuration option.
- Add a SYSLOG character device that can be used to re-direct output
- to the SYSLOG channel (Not be be confused the the SYSLGO output to a
+ to the SYSLOG channel (Not be be confused the SYSLGO output to a
character device).
- Debug features are now enabled separately from debug output.
(1) CONFIG_DEBUG is gone. It is replaced with CONFIG_DEBUG_FEATURES.
@@ -12417,7 +12417,7 @@ Additional new features and extended functionality:
- Misoc LM32 Qemu: Integrate network support into configs/misoc/hello.
From Ramtin Amin.
- Misoc LM32 Qemu: Remove configs/misoc/include/generated directory. I
- suppose the the intent now is that this is a symbolic link? DANGER!
+ suppose the intent now is that this is a symbolic link? DANGER!
This means that you cannot compile this code with first generating
these files a providing a symbolic link to this location! There is a
sample directory containing generated sources. This is really only
diff --git a/TODO b/TODO
index 24ef6917473..c0b3443a836 100644
--- a/TODO
+++ b/TODO
@@ -2065,7 +2065,7 @@ o Pascal Add-On (pcode/)
Priority: Medium
Title: PDBG
- Description: Move the the pascal p-code debugger into the NuttX apps/ tree
+ Description: Move the pascal p-code debugger into the NuttX apps/ tree
where it can be used from the NSH command line.
Status: Open
Priority: Low
diff --git a/arch/Kconfig b/arch/Kconfig
index 7dbad3d0370..b7d113cf1df 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -767,7 +767,7 @@ config ARCH_HIPRI_INTERRUPT
there will most likely be a system failure.
If the interrupt stack is selected, on the other hand, then the
- interrupt handler will always set the the MSP to the interrupt
+ interrupt handler will always set the MSP to the interrupt
stack. So when the high priority interrupt occurs, it will either
use the MSP of the last privileged thread to run or, in the case of
the nested interrupt, the interrupt stack if no privileged task has
diff --git a/arch/arm/include/stm32/ltdc.h b/arch/arm/include/stm32/ltdc.h
index 704b578a996..c561c680cd6 100644
--- a/arch/arm/include/stm32/ltdc.h
+++ b/arch/arm/include/stm32/ltdc.h
@@ -410,7 +410,7 @@ struct ltdc_layer_s
* On error - -EINVAL
*
* Procedure Information:
- * If the srcxpos and srcypos unequal the the xpos and ypos of the coord
+ * If the srcxpos and srcypos unequal the xpos and ypos of the coord
* structure this acts like moving the visible area to another position on
* the screen during the next update operation.
*
diff --git a/arch/arm/src/a1x/a1x_lowputc.c b/arch/arm/src/a1x/a1x_lowputc.c
index 0018c888819..e3f682da880 100644
--- a/arch/arm/src/a1x/a1x_lowputc.c
+++ b/arch/arm/src/a1x/a1x_lowputc.c
@@ -228,7 +228,7 @@ void a1x_lowsetup(void)
#warning Missing logic
/* Configure UART pins for the selected CONSOLE. If there are multiple
- * pin options for a given UART, the the applicable option must be
+ * pin options for a given UART, the applicable option must be
* disambiguated in the board.h header file.
*/
diff --git a/arch/arm/src/armv7-a/arm_addrenv.c b/arch/arm/src/armv7-a/arm_addrenv.c
index 7d2818283dc..def1ea66d9b 100644
--- a/arch/arm/src/armv7-a/arm_addrenv.c
+++ b/arch/arm/src/armv7-a/arm_addrenv.c
@@ -149,7 +149,7 @@
* Name: up_addrenv_initdata
*
* Description:
- * Initialize the region of memory at the the beginning of the .bss/.data
+ * Initialize the region of memory at the beginning of the .bss/.data
* region that is shared between the user process and the kernel.
*
****************************************************************************/
diff --git a/arch/arm/src/armv7-a/arm_gicv2.c b/arch/arm/src/armv7-a/arm_gicv2.c
index ec32fa52710..0232685dc82 100644
--- a/arch/arm/src/armv7-a/arm_gicv2.c
+++ b/arch/arm/src/armv7-a/arm_gicv2.c
@@ -298,7 +298,7 @@ void arm_gic_initialize(void)
#endif
#if !defined(CONFIG_ARCH_HAVE_TRUSTZONE)
- /* Enable the distributor by setting the the Enable bit in the enable
+ /* Enable the distributor by setting the Enable bit in the enable
* register (no security extensions).
*/
diff --git a/arch/arm/src/armv7-a/pgalloc.h b/arch/arm/src/armv7-a/pgalloc.h
index 32436cf362e..485cc666d4f 100644
--- a/arch/arm/src/armv7-a/pgalloc.h
+++ b/arch/arm/src/armv7-a/pgalloc.h
@@ -102,7 +102,7 @@ static inline void arm_tmprestore(uint32_t l1save)
*
* Description:
* If the page memory pool is statically mapped, then we do not have to
- * go through the the temporary mapping. We simply have to perform a
+ * go through the temporary mapping. We simply have to perform a
* physical to virtual memory address mapping.
*
****************************************************************************/
diff --git a/arch/arm/src/armv7-m/gnu/up_exception.S b/arch/arm/src/armv7-m/gnu/up_exception.S
index 4f2927b421e..81096aaefed 100644
--- a/arch/arm/src/armv7-m/gnu/up_exception.S
+++ b/arch/arm/src/armv7-m/gnu/up_exception.S
@@ -60,7 +60,7 @@
* stale MSP, there will most likely be a system failure.
*
* If the interrupt stack is selected, on the other hand, then the interrupt
- * handler will always set the the MSP to the interrupt stack. So when the high
+ * handler will always set the MSP to the interrupt stack. So when the high
* priority interrupt occurs, it will either use the MSP of the last privileged
* thread to run or, in the case of the nested interrupt, the interrupt stack if
* no privileged task has run.
@@ -70,7 +70,7 @@
# error Interrupt stack must be used with high priority interrupts in kernel mode
# endif
- /* Use the the BASEPRI to control interrupts is required if nested, high
+ /* Use the BASEPRI to control interrupts is required if nested, high
* priority interrupts are supported.
*/
diff --git a/arch/arm/src/armv7-m/gnu/up_lazyexception.S b/arch/arm/src/armv7-m/gnu/up_lazyexception.S
index 0a0e088a620..852883aa22c 100644
--- a/arch/arm/src/armv7-m/gnu/up_lazyexception.S
+++ b/arch/arm/src/armv7-m/gnu/up_lazyexception.S
@@ -58,7 +58,7 @@
* interrupt occurs and uses this stale MSP, there will most likely be a system failure.
*
* If the interrupt stack is selected, on the other hand, then the interrupt handler will
- * always set the the MSP to the interrupt stack. So when the high priority interrupt occurs,
+ * always set the MSP to the interrupt stack. So when the high priority interrupt occurs,
* it will either use the MSP of the last privileged thread to run or, in the case of the
* nested interrupt, the interrupt stack if no privileged task has run.
*/
@@ -67,7 +67,7 @@
# error Interrupt stack must be used with high priority interrupts in kernel mode
# endif
- /* Use the the BASEPRI to control interrupts is required if nested, high
+ /* Use the BASEPRI to control interrupts is required if nested, high
* priority interrupts are supported.
*/
diff --git a/arch/arm/src/efm32/efm32_dma.h b/arch/arm/src/efm32/efm32_dma.h
index 011a7d98742..813b30bf703 100644
--- a/arch/arm/src/efm32/efm32_dma.h
+++ b/arch/arm/src/efm32/efm32_dma.h
@@ -96,7 +96,7 @@
typedef FAR void *DMA_HANDLE;
/* Description:
- * This is the type of the callback that is used to inform the user of the the
+ * This is the type of the callback that is used to inform the user of the
* completion of the DMA.
*
* Input Parameters:
diff --git a/arch/arm/src/efm32/efm32_usbhost.c b/arch/arm/src/efm32/efm32_usbhost.c
index 3d5a6888baa..e3c8c548a7f 100644
--- a/arch/arm/src/efm32/efm32_usbhost.c
+++ b/arch/arm/src/efm32/efm32_usbhost.c
@@ -1955,8 +1955,8 @@ static ssize_t efm32_in_transfer(FAR struct efm32_usbhost_s *priv, int chidx,
/* Check for a special case: If (1) the transfer was NAKed and (2)
* no Tx FIFO empty or Rx FIFO not-empty event occurred, then we
* should be able to just flush the Rx and Tx FIFOs and try again.
- * We can detect this latter case because the then the transfer
- * buffer pointer and buffer size will be unaltered.
+ * We can detect this latter case because then the transfer buffer
+ * pointer and buffer size will be unaltered.
*/
elapsed = clock_systimer() - start;
@@ -2221,8 +2221,8 @@ static ssize_t efm32_out_transfer(FAR struct efm32_usbhost_s *priv, int chidx,
/* Check for a special case: If (1) the transfer was NAKed and (2)
* no Tx FIFO empty or Rx FIFO not-empty event occurred, then we
* should be able to just flush the Rx and Tx FIFOs and try again.
- * We can detect this latter case because the then the transfer
- * buffer pointer and buffer size will be unaltered.
+ * We can detect this latter case because then the transfer buffer
+ * pointer and buffer size will be unaltered.
*/
elapsed = clock_systimer() - start;
@@ -4613,7 +4613,7 @@ static ssize_t efm32_transfer(FAR struct usbhost_driver_s *drvr, usbhost_ep_t ep
* Description:
* Process a request to handle a transfer descriptor. This method will
* enqueue the transfer request and return immediately. When the transfer
- * completes, the the callback will be invoked with the provided transfer.
+ * completes, the callback will be invoked with the provided transfer.
* This method is useful for receiving interrupt transfers which may come
* infrequently.
*
diff --git a/arch/arm/src/efm32/efm32_vectors.S b/arch/arm/src/efm32/efm32_vectors.S
index 488c8581e01..3f125e9f49e 100644
--- a/arch/arm/src/efm32/efm32_vectors.S
+++ b/arch/arm/src/efm32/efm32_vectors.S
@@ -59,7 +59,7 @@
* stale MSP, there will most likely be a system failure.
*
* If the interrupt stack is selected, on the other hand, then the interrupt
- * handler will always set the the MSP to the interrupt stack. So when the high
+ * handler will always set the MSP to the interrupt stack. So when the high
* priority interrupt occurs, it will either use the MSP of the last privileged
* thread to run or, in the case of the nested interrupt, the interrupt stack if
* no privileged task has run.
@@ -69,7 +69,7 @@
# error Interrupt stack must be used with high priority interrupts in kernel mode
# endif
- /* Use the the BASEPRI to control interrupts is required if nested, high
+ /* Use the BASEPRI to control interrupts is required if nested, high
* priority interrupts are supported.
*/
diff --git a/arch/arm/src/imx6/imx_memorymap.h b/arch/arm/src/imx6/imx_memorymap.h
index 6259c1b7e01..6eb308d6585 100644
--- a/arch/arm/src/imx6/imx_memorymap.h
+++ b/arch/arm/src/imx6/imx_memorymap.h
@@ -50,7 +50,7 @@
************************************************************************************/
/* The vectors are, by default, positioned at the beginning of the text
- * section. Under what conditions do we have to remap the these vectors?
+ * section. Under what conditions do we have to remap these vectors?
*
* 1) If we are using high vectors (CONFIG_ARCH_LOWVECTORS=n). In this case,
* the vectors will lie at virtual address 0xffff:000 and we will need
diff --git a/arch/arm/src/kinetis/kinetis_lpserial.c b/arch/arm/src/kinetis/kinetis_lpserial.c
index 515f1f370e0..5c0c336237a 100644
--- a/arch/arm/src/kinetis/kinetis_lpserial.c
+++ b/arch/arm/src/kinetis/kinetis_lpserial.c
@@ -457,7 +457,7 @@ static void kinetis_shutdown(struct uart_dev_s *dev)
* Description:
* Configure the LPUART to operation in interrupt driven mode. This
* method is called when the serial port is opened. Normally, this is
- * just after the the setup() method is called, however, the serial
+ * just after the setup() method is called, however, the serial
* console may operate in a non-interrupt driven mode during the boot phase.
*
* RX and TX interrupts are not enabled when by the attach method (unless
diff --git a/arch/arm/src/kinetis/kinetis_sdhc.c b/arch/arm/src/kinetis/kinetis_sdhc.c
index 8500c959081..4c8ffea18aa 100644
--- a/arch/arm/src/kinetis/kinetis_sdhc.c
+++ b/arch/arm/src/kinetis/kinetis_sdhc.c
@@ -95,7 +95,7 @@
/* Enable pull-up resistors
*
* Kinetis does not have pullups on all their development boards
- * So allow the the board config to enable them.
+ * So allow the board config to enable them.
*/
#if defined(BOARD_SDHC_ENABLE_PULLUPS)
diff --git a/arch/arm/src/kinetis/kinetis_vectors.S b/arch/arm/src/kinetis/kinetis_vectors.S
index 30940199af7..676f1cb62be 100644
--- a/arch/arm/src/kinetis/kinetis_vectors.S
+++ b/arch/arm/src/kinetis/kinetis_vectors.S
@@ -60,7 +60,7 @@
* stale MSP, there will most likely be a system failure.
*
* If the interrupt stack is selected, on the other hand, then the interrupt
- * handler will always set the the MSP to the interrupt stack. So when the high
+ * handler will always set the MSP to the interrupt stack. So when the high
* priority interrupt occurs, it will either use the MSP of the last privileged
* thread to run or, in the case of the nested interrupt, the interrupt stack if
* no privileged task has run.
@@ -70,7 +70,7 @@
# error Interrupt stack must be used with high priority interrupts in kernel mode
# endif
- /* Use the the BASEPRI to control interrupts is required if nested, high
+ /* Use the BASEPRI to control interrupts is required if nested, high
* priority interrupts are supported.
*/
diff --git a/arch/arm/src/lpc11xx/lpc11_serial.c b/arch/arm/src/lpc11xx/lpc11_serial.c
index cbef799afe9..941a4475b4b 100644
--- a/arch/arm/src/lpc11xx/lpc11_serial.c
+++ b/arch/arm/src/lpc11xx/lpc11_serial.c
@@ -498,7 +498,7 @@ static void up_shutdown(struct uart_dev_s *dev)
* Description:
* Configure the UART to operation in interrupt driven mode. This method
* is called when the serial port is opened. Normally, this is just after
- * the the setup() method is called, however, the serial console may
+ * the setup() method is called, however, the serial console may
* operate in a non-interrupt driven mode during the boot phase.
*
* RX and TX interrupts are not enabled when by the attach method (unless
diff --git a/arch/arm/src/lpc17xx/lpc17_usbhost.c b/arch/arm/src/lpc17xx/lpc17_usbhost.c
index 42825b02132..6bb48cd8f9f 100644
--- a/arch/arm/src/lpc17xx/lpc17_usbhost.c
+++ b/arch/arm/src/lpc17xx/lpc17_usbhost.c
@@ -3164,7 +3164,7 @@ static void lpc17_asynch_completion(struct lpc17_usbhost_s *priv,
* Description:
* Process a request to handle a transfer descriptor. This method will
* enqueue the transfer request and return immediately. When the transfer
- * completes, the the callback will be invoked with the provided transfer.
+ * completes, the callback will be invoked with the provided transfer.
* This method is useful for receiving interrupt transfers which may come
* infrequently.
*
diff --git a/arch/arm/src/lpc17xx/lpc17_vectors.S b/arch/arm/src/lpc17xx/lpc17_vectors.S
index bf37fc9e81f..1b696a6a60b 100644
--- a/arch/arm/src/lpc17xx/lpc17_vectors.S
+++ b/arch/arm/src/lpc17xx/lpc17_vectors.S
@@ -58,7 +58,7 @@
* interrupt occurs and uses this stale MSP, there will most likely be a system failure.
*
* If the interrupt stack is selected, on the other hand, then the interrupt handler will
- * always set the the MSP to the interrupt stack. So when the high priority interrupt occurs,
+ * always set the MSP to the interrupt stack. So when the high priority interrupt occurs,
* it will either use the MSP of the last privileged thread to run or, in the case of the
* nested interrupt, the interrupt stack if no privileged task has run.
*/
@@ -67,7 +67,7 @@
# error Interrupt stack must be used with high priority interrupts in kernel mode
# endif
- /* Use the the BASEPRI to control interrupts is required if nested, high
+ /* Use the BASEPRI to control interrupts is required if nested, high
* priority interrupts are supported.
*/
diff --git a/arch/arm/src/lpc31xx/Kconfig b/arch/arm/src/lpc31xx/Kconfig
index addeaf16e42..5f1b86bc134 100644
--- a/arch/arm/src/lpc31xx/Kconfig
+++ b/arch/arm/src/lpc31xx/Kconfig
@@ -263,7 +263,7 @@ config LPC31_EHCI_SDIS
Selecting this option ensures that overruns/underruns of the latency
FIFO are eliminated for low bandwidth systems where the RX and TX
buffers are sufficient to contain the entire packet. Enabling stream
- disable also has the effect of ensuring the the TX latency is filled
+ disable also has the effect of ensuring the TX latency is filled
to capacity before the packet is launched onto the USB.
Note: Time duration to pre-fill the FIFO becomes significant when stream disable is active.
diff --git a/arch/arm/src/lpc31xx/lpc31_ehci.c b/arch/arm/src/lpc31xx/lpc31_ehci.c
index 475c4dea89d..1884a412417 100644
--- a/arch/arm/src/lpc31xx/lpc31_ehci.c
+++ b/arch/arm/src/lpc31xx/lpc31_ehci.c
@@ -3008,7 +3008,7 @@ static inline void lpc31_ioc_bottomhalf(void)
qh = (struct lpc31_qh_s *)lpc31_virtramaddr(lpc31_swap32(*bp) & QH_HLP_MASK);
/* If the asynchronous queue is empty, then the forward point in the
- * asynchronous queue head will point back to the the queue head.
+ * asynchronous queue head will point back to the queue head.
*/
if (qh && qh != &g_asynchead)
@@ -4362,7 +4362,7 @@ errout_with_sem:
* Description:
* Process a request to handle a transfer descriptor. This method will
* enqueue the transfer request and return immediately. When the transfer
- * completes, the the callback will be invoked with the provided transfer.
+ * completes, the callback will be invoked with the provided transfer.
* This method is useful for receiving interrupt transfers which may come
* infrequently.
*
@@ -4560,7 +4560,7 @@ static int lpc31_cancel(FAR struct usbhost_driver_s *drvr, usbhost_ep_t ep)
qh = (struct lpc31_qh_s *)lpc31_virtramaddr(lpc31_swap32(*bp) & QH_HLP_MASK);
/* If the asynchronous queue is empty, then the forward point in
- * the asynchronous queue head will point back to the the queue
+ * the asynchronous queue head will point back to the queue
* head.
*/
diff --git a/arch/arm/src/lpc43xx/lpc43_ehci.c b/arch/arm/src/lpc43xx/lpc43_ehci.c
index 5af61fa9394..e9bb3ddcdc3 100644
--- a/arch/arm/src/lpc43xx/lpc43_ehci.c
+++ b/arch/arm/src/lpc43xx/lpc43_ehci.c
@@ -2849,7 +2849,7 @@ static inline void lpc43_ioc_bottomhalf(void)
qh = (struct lpc43_qh_s *)lpc43_virtramaddr(lpc43_swap32(*bp) & QH_HLP_MASK);
/* If the asynchronous queue is empty, then the forward point in the
- * asynchronous queue head will point back to the the queue head.
+ * asynchronous queue head will point back to the queue head.
*/
if (qh && qh != &g_asynchead)
@@ -4193,7 +4193,7 @@ errout_with_sem:
* Description:
* Process a request to handle a transfer descriptor. This method will
* enqueue the transfer request and return immediately. When the transfer
- * completes, the the callback will be invoked with the provided transfer.
+ * completes, the callback will be invoked with the provided transfer.
* This method is useful for receiving interrupt transfers which may come
* infrequently.
*
@@ -4391,7 +4391,7 @@ static int lpc43_cancel(FAR struct usbhost_driver_s *drvr, usbhost_ep_t ep)
qh = (struct lpc43_qh_s *)lpc43_virtramaddr(lpc43_swap32(*bp) & QH_HLP_MASK);
/* If the asynchronous queue is empty, then the forward point in
- * the asynchronous queue head will point back to the the queue
+ * the asynchronous queue head will point back to the queue
* head.
*/
diff --git a/arch/arm/src/lpc43xx/lpc43_ethernet.c b/arch/arm/src/lpc43xx/lpc43_ethernet.c
index 2c564aa5ff9..955c30684e1 100644
--- a/arch/arm/src/lpc43xx/lpc43_ethernet.c
+++ b/arch/arm/src/lpc43xx/lpc43_ethernet.c
@@ -1483,7 +1483,7 @@ static int lpc43_recvframe(FAR struct lpc43_ethmac_s *priv)
{
priv->segments++;
- /* Check if the there is only one segment in the frame */
+ /* Check if there is only one segment in the frame */
if (priv->segments == 1)
{
diff --git a/arch/arm/src/sam34/sam4cm_oneshot.c b/arch/arm/src/sam34/sam4cm_oneshot.c
index 0bf92d1fea0..04c9cf8200d 100644
--- a/arch/arm/src/sam34/sam4cm_oneshot.c
+++ b/arch/arm/src/sam34/sam4cm_oneshot.c
@@ -405,7 +405,7 @@ int sam_oneshot_cancel(struct sam_oneshot_s *oneshot,
* the counter expires while we are doing this, the counter clock will be
* stopped, but the clock will not be disabled.
*
- * The expected behavior is that the the counter register will freezes at
+ * The expected behavior is that the counter register will freezes at
* a value equal to the RC register when the timer expires. The counter
* should have values between 0 and RC in all other cased.
*
diff --git a/arch/arm/src/sam34/sam4cm_tc.c b/arch/arm/src/sam34/sam4cm_tc.c
index c366118f4d0..32e465cc777 100644
--- a/arch/arm/src/sam34/sam4cm_tc.c
+++ b/arch/arm/src/sam34/sam4cm_tc.c
@@ -1166,7 +1166,7 @@ uint32_t sam_tc_divfreq(TC_HANDLE handle)
DEBUGASSERT(chan);
- /* Get the the TC_CMR register contents for this channel and extract the
+ /* Get the TC_CMR register contents for this channel and extract the
* TCCLKS index.
*/
diff --git a/arch/arm/src/sam34/sam4cm_tickless.c b/arch/arm/src/sam34/sam4cm_tickless.c
index 8f3ee17509e..396a8fda888 100644
--- a/arch/arm/src/sam34/sam4cm_tickless.c
+++ b/arch/arm/src/sam34/sam4cm_tickless.c
@@ -313,7 +313,7 @@ void arm_timer_initialize(void)
* any failure.
*
* Assumptions:
- * Called from the the normal tasking context. The implementation must
+ * Called from the normal tasking context. The implementation must
* provide whatever mutual exclusion is necessary for correct operation.
* This can include disabling interrupts in order to assure atomic register
* operations.
diff --git a/arch/arm/src/sam34/sam_emac.c b/arch/arm/src/sam34/sam_emac.c
index 7e5839cc197..c45ea9f3838 100644
--- a/arch/arm/src/sam34/sam_emac.c
+++ b/arch/arm/src/sam34/sam_emac.c
@@ -893,7 +893,7 @@ static int sam_txpoll(struct net_driver_s *dev)
sam_transmit(priv);
- /* Check if the there are any free TX descriptors. We cannot perform
+ /* Check if there are any free TX descriptors. We cannot perform
* the TX poll if we do not have buffering for another packet.
*/
@@ -941,7 +941,7 @@ static void sam_dopoll(struct sam_emac_s *priv)
{
struct net_driver_s *dev = &priv->dev;
- /* Check if the there are any free TX descriptors. We cannot perform the
+ /* Check if there are any free TX descriptors. We cannot perform the
* TX poll if we do not have buffering for another packet.
*/
@@ -1747,7 +1747,7 @@ static void sam_poll_work(FAR void *arg)
FAR struct sam_emac_s *priv = (FAR struct sam_emac_s *)arg;
struct net_driver_s *dev = &priv->dev;
- /* Check if the there are any free TX descriptors. We cannot perform the
+ /* Check if there are any free TX descriptors. We cannot perform the
* TX poll if we do not have buffering for another packet.
*/
diff --git a/arch/arm/src/sam34/sam_vectors.S b/arch/arm/src/sam34/sam_vectors.S
index 9d2b5e6b313..4d783f41021 100644
--- a/arch/arm/src/sam34/sam_vectors.S
+++ b/arch/arm/src/sam34/sam_vectors.S
@@ -57,7 +57,7 @@
* interrupt occurs and uses this stale MSP, there will most likely be a system failure.
*
* If the interrupt stack is selected, on the other hand, then the interrupt handler will
- * always set the the MSP to the interrupt stack. So when the high priority interrupt occurs,
+ * always set the MSP to the interrupt stack. So when the high priority interrupt occurs,
* it will either use the MSP of the last privileged thread to run or, in the case of the
* nested interrupt, the interrupt stack if no privileged task has run.
*/
@@ -66,7 +66,7 @@
# error Interrupt stack must be used with high priority interrupts in kernel mode
# endif
- /* Use the the BASEPRI to control interrupts is required if nested, high
+ /* Use the BASEPRI to control interrupts is required if nested, high
* priority interrupts are supported.
*/
diff --git a/arch/arm/src/sama5/Kconfig b/arch/arm/src/sama5/Kconfig
index 280894d84e2..58b0c3860af 100644
--- a/arch/arm/src/sama5/Kconfig
+++ b/arch/arm/src/sama5/Kconfig
@@ -953,7 +953,7 @@ config SAMA5_LCDC_BACKCOLOR
config SAMA5_LCDC_FB_VBASE
hex "Framebuffer memory start address (virtual)"
---help---
- If you are using the the LCDC, then you must provide the virtual
+ If you are using the LCDC, then you must provide the virtual
address of the start of the framebuffer. This address must be
aligned to a 1MB bounder (i.e., the last five "digits" of the
hexadecimal address must be zero).
@@ -961,7 +961,7 @@ config SAMA5_LCDC_FB_VBASE
config SAMA5_LCDC_FB_PBASE
hex "Framebuffer memory start address (virtual)"
---help---
- If you are using the the LCDC, then you must provide the physical
+ If you are using the LCDC, then you must provide the physical
address of the start of the framebuffer. This address must be
aligned to a 1MB bounder (i.e., the last five "digits" of the
hexadecimal address must be zero).
@@ -4953,7 +4953,7 @@ config SAMA5_DDRCS_PGHEAP_OFFSET
If you are executing from DRAM, then you must have already reserved
this region with SAMA5_DDRCS_RESERVE, setting SAMA5_DDRCS_HEAP_END
so that this page cache region defined by SAMA5_DDRCS_PGHEAP_OFFSET
- and SAMA5_DDRCS_PGHEAP_SIZE does not overlap the the region of DRAM
+ and SAMA5_DDRCS_PGHEAP_SIZE does not overlap the region of DRAM
that is added to the heap. If you are not executing from DRAM, then
you must have excluding this page cache region from the heap ether
by (1) not selecting SAMA5_DDRCS_HEAP, or (2) selecting
@@ -4971,7 +4971,7 @@ config SAMA5_DDRCS_PGHEAP_SIZE
If you are executing from DRAM, then you must have already reserved
this region with SAMA5_DDRCS_RESERVE, setting SAMA5_DDRCS_HEAP_END
so that this page cache region defined by SAMA5_DDRCS_PGHEAP_OFFSET
- and SAMA5_DDRCS_PGHEAP_SIZE does not overlap the the region of DRAM
+ and SAMA5_DDRCS_PGHEAP_SIZE does not overlap the region of DRAM
that is added to the heap. If you are not executing from DRAM, then
you must have excluding this page cache region from the heap ether
by (1) not selecting SAMA5_DDRCS_HEAP, or (2) selecting
diff --git a/arch/arm/src/sama5/chip/sam_emaca.h b/arch/arm/src/sama5/chip/sam_emaca.h
index 536b0cc9144..2681b0567cb 100644
--- a/arch/arm/src/sama5/chip/sam_emaca.h
+++ b/arch/arm/src/sama5/chip/sam_emaca.h
@@ -1,6 +1,6 @@
/************************************************************************************
* arch/arm/src/sama5/chip/sam_emaca.h
- * This is the form of the EMAC interface used the the SAMA5D3
+ * This is the form of the EMAC interface used the SAMA5D3
*
* Copyright (C) 2013-2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt
diff --git a/arch/arm/src/sama5/chip/sam_emacb.h b/arch/arm/src/sama5/chip/sam_emacb.h
index 6b11086d310..7cbc75d6af8 100644
--- a/arch/arm/src/sama5/chip/sam_emacb.h
+++ b/arch/arm/src/sama5/chip/sam_emacb.h
@@ -1,6 +1,6 @@
/************************************************************************************
* arch/arm/src/sama5/chip/sam_emacb.h
- * This is the form of the EMAC interface used the the SAMA5D4 (and also the SAM43).
+ * This is the form of the EMAC interface used the SAMA5D4 (and also the SAM43).
* This is referred as GMAC in the documentation even though it does not support
* Gibabit Ethernet.
*
diff --git a/arch/arm/src/sama5/sam_adc.c b/arch/arm/src/sama5/sam_adc.c
index 2f9e4ee406e..66888995101 100644
--- a/arch/arm/src/sama5/sam_adc.c
+++ b/arch/arm/src/sama5/sam_adc.c
@@ -736,7 +736,7 @@ static void sam_adc_dmacallback(DMA_HANDLE handle, void *arg, int result)
/* Check of the bottom half is keeping up with us.
*
* ready == false: Would mean that the worker thready has not ran since
- * the the last DMA callback.
+ * the last DMA callback.
* enabled == false: Means that the upper half has asked us nicely to stop
* transferring DMA data.
*/
@@ -1294,7 +1294,7 @@ static int sam_adc_settimer(struct sam_adc_s *priv, uint32_t frequency,
return ret;
}
- /* Set the timer/counter waveform mode the the clock input slected by
+ /* Set the timer/counter waveform mode the clock input slected by
* sam_tc_divisor()
*/
@@ -1448,7 +1448,7 @@ static int sam_adc_trigger(struct sam_adc_s *priv)
/* Configure to trigger using Timer/counter 0, channel 1, 2, or 3.
* NOTE: This trigger option depends on having properly configuer
* timer/counter 0 to provide this output. That is done independently
- * the the timer/counter driver.
+ * the timer/counter driver.
*/
/* Set TIOAn trigger where n=0, 1, or 2 */
diff --git a/arch/arm/src/sama5/sam_allocateheap.c b/arch/arm/src/sama5/sam_allocateheap.c
index 29dcf728f6f..be71204ff8b 100644
--- a/arch/arm/src/sama5/sam_allocateheap.c
+++ b/arch/arm/src/sama5/sam_allocateheap.c
@@ -147,7 +147,7 @@
# define SAMA5_PRIMARY_HEAP_END CONFIG_SAMA5_DDRCS_HEAP_END
#else
- /* Otherwise, add the RAM all the way to the the end of the primary memory
+ /* Otherwise, add the RAM all the way to the end of the primary memory
* region to the heap.
*/
diff --git a/arch/arm/src/sama5/sam_dbgu.c b/arch/arm/src/sama5/sam_dbgu.c
index 65242b88188..cc4f6bf7f48 100644
--- a/arch/arm/src/sama5/sam_dbgu.c
+++ b/arch/arm/src/sama5/sam_dbgu.c
@@ -580,7 +580,7 @@ void sam_dbgu_devinitialize(void)
putreg32(DBGU_INT_ALLINTS, SAM_DBGU_IDR);
#ifdef CONFIG_SAMA5_DBGU_CONSOLE
- /* Configuration the DBGU as the the console */
+ /* Configuration the DBGU as the console */
g_dbgu_port.isconsole = true;
dbgu_configure();
diff --git a/arch/arm/src/sama5/sam_ehci.c b/arch/arm/src/sama5/sam_ehci.c
index d84f1c2dbc4..40709648637 100644
--- a/arch/arm/src/sama5/sam_ehci.c
+++ b/arch/arm/src/sama5/sam_ehci.c
@@ -2819,7 +2819,7 @@ static inline void sam_ioc_bottomhalf(void)
qh = (struct sam_qh_s *)sam_virtramaddr(sam_swap32(*bp) & QH_HLP_MASK);
/* If the asynchronous queue is empty, then the forward point in the
- * asynchronous queue head will point back to the the queue head.
+ * asynchronous queue head will point back to the queue head.
*/
if (qh && qh != &g_asynchead)
@@ -4183,7 +4183,7 @@ errout_with_sem:
* Description:
* Process a request to handle a transfer descriptor. This method will
* enqueue the transfer request and return immediately. When the transfer
- * completes, the the callback will be invoked with the provided transfer.
+ * completes, the callback will be invoked with the provided transfer.
* This method is useful for receiving interrupt transfers which may come
* infrequently.
*
@@ -4373,7 +4373,7 @@ static int sam_cancel(FAR struct usbhost_driver_s *drvr, usbhost_ep_t ep)
qh = (struct sam_qh_s *)sam_virtramaddr(sam_swap32(*bp) & QH_HLP_MASK);
/* If the asynchronous queue is empty, then the forward point in
- * the asynchronous queue head will point back to the the queue
+ * the asynchronous queue head will point back to the queue
* head.
*/
diff --git a/arch/arm/src/sama5/sam_emaca.c b/arch/arm/src/sama5/sam_emaca.c
index 494fb7a6e5f..1648cab5258 100644
--- a/arch/arm/src/sama5/sam_emaca.c
+++ b/arch/arm/src/sama5/sam_emaca.c
@@ -902,7 +902,7 @@ static int sam_txpoll(struct net_driver_s *dev)
sam_transmit(priv);
- /* Check if the there are any free TX descriptors. We cannot perform
+ /* Check if there are any free TX descriptors. We cannot perform
* the TX poll if we do not have buffering for another packet.
*/
@@ -949,7 +949,7 @@ static void sam_dopoll(struct sam_emac_s *priv)
{
struct net_driver_s *dev = &priv->dev;
- /* Check if the there are any free TX descriptors. We cannot perform the
+ /* Check if there are any free TX descriptors. We cannot perform the
* TX poll if we do not have buffering for another packet.
*/
@@ -1783,7 +1783,7 @@ static void sam_poll_work(FAR void *arg)
FAR struct sam_emac_s *priv = (FAR struct sam_emac_s *)arg;
struct net_driver_s *dev = &priv->dev;
- /* Check if the there are any free TX descriptors. We cannot perform the
+ /* Check if there are any free TX descriptors. We cannot perform the
* TX poll if we do not have buffering for another packet.
*/
diff --git a/arch/arm/src/sama5/sam_emacb.c b/arch/arm/src/sama5/sam_emacb.c
index 2f4fcbf6934..c08725216c4 100644
--- a/arch/arm/src/sama5/sam_emacb.c
+++ b/arch/arm/src/sama5/sam_emacb.c
@@ -1237,7 +1237,7 @@ static int sam_txpoll(struct net_driver_s *dev)
sam_transmit(priv);
- /* Check if the there are any free TX descriptors. We cannot perform
+ /* Check if there are any free TX descriptors. We cannot perform
* the TX poll if we do not have buffering for another packet.
*/
@@ -1285,7 +1285,7 @@ static void sam_dopoll(struct sam_emac_s *priv)
{
struct net_driver_s *dev = &priv->dev;
- /* Check if the there are any free TX descriptors. We cannot perform the
+ /* Check if there are any free TX descriptors. We cannot perform the
* TX poll if we do not have buffering for another packet.
*/
@@ -2144,7 +2144,7 @@ static void sam_poll_work(FAR void *arg)
FAR struct sam_emac_s *priv = (FAR struct sam_emac_s *)arg;
struct net_driver_s *dev = &priv->dev;
- /* Check if the there are any free TX descriptors. We cannot perform the
+ /* Check if there are any free TX descriptors. We cannot perform the
* TX poll if we do not have buffering for another packet.
*/
diff --git a/arch/arm/src/sama5/sam_gmac.c b/arch/arm/src/sama5/sam_gmac.c
index 29d42258ded..d9099621906 100644
--- a/arch/arm/src/sama5/sam_gmac.c
+++ b/arch/arm/src/sama5/sam_gmac.c
@@ -834,7 +834,7 @@ static int sam_txpoll(struct net_driver_s *dev)
sam_transmit(priv);
- /* Check if the there are any free TX descriptors. We cannot perform
+ /* Check if there are any free TX descriptors. We cannot perform
* the TX poll if we do not have buffering for another packet.
*/
@@ -881,7 +881,7 @@ static void sam_dopoll(struct sam_gmac_s *priv)
{
struct net_driver_s *dev = &priv->dev;
- /* Check if the there are any free TX descriptors. We cannot perform the
+ /* Check if there are any free TX descriptors. We cannot perform the
* TX poll if we do not have buffering for another packet.
*/
@@ -1735,7 +1735,7 @@ static void sam_poll_work(FAR void *arg)
FAR struct sam_gmac_s *priv = (FAR struct sam_gmac_s *)arg;
struct net_driver_s *dev = &priv->dev;
- /* Check if the there are any free TX descriptors. We cannot perform the
+ /* Check if there are any free TX descriptors. We cannot perform the
* TX poll if we do not have buffering for another packet.
*/
diff --git a/arch/arm/src/sama5/sam_hsmci.c b/arch/arm/src/sama5/sam_hsmci.c
index 3aa006d8722..7b4cee4749d 100644
--- a/arch/arm/src/sama5/sam_hsmci.c
+++ b/arch/arm/src/sama5/sam_hsmci.c
@@ -3102,7 +3102,7 @@ static void sam_callback(void *arg)
priv->cbevents = 0;
/* This function is called either from (1) the context of the calling
- * thread or from the the context of (2) card detection logic. The
+ * thread or from the context of (2) card detection logic. The
* caller may or may not have interrupts disabled (we have them
* disabled here!).
*
diff --git a/arch/arm/src/sama5/sam_memorymap.h b/arch/arm/src/sama5/sam_memorymap.h
index 673f4f9ef36..85612b001a8 100644
--- a/arch/arm/src/sama5/sam_memorymap.h
+++ b/arch/arm/src/sama5/sam_memorymap.h
@@ -50,7 +50,7 @@
************************************************************************************/
/* The vectors are, by default, positioned at the beginning of the text
- * section. Under what conditions do we have to remap the these vectors?
+ * section. Under what conditions do we have to remap these vectors?
*
* 1) If we are using high vectors (CONFIG_ARCH_LOWVECTORS=n). In this case,
* the vectors will lie at virtual address 0xffff:000 and we will need
diff --git a/arch/arm/src/sama5/sam_nand.c b/arch/arm/src/sama5/sam_nand.c
index 05182120d93..c7cf74f1859 100644
--- a/arch/arm/src/sama5/sam_nand.c
+++ b/arch/arm/src/sama5/sam_nand.c
@@ -1245,7 +1245,7 @@ static int nand_wait_dma(struct sam_nandcs_s *priv)
*
* Description:
* Called when one NAND DMA sequence completes. This function just wakes
- * the the waiting NAND driver logic.
+ * the waiting NAND driver logic.
*
****************************************************************************/
diff --git a/arch/arm/src/sama5/sam_ohci.c b/arch/arm/src/sama5/sam_ohci.c
index f6907d1b0f2..e90c2fdde6a 100644
--- a/arch/arm/src/sama5/sam_ohci.c
+++ b/arch/arm/src/sama5/sam_ohci.c
@@ -3531,7 +3531,7 @@ static void sam_asynch_completion(struct sam_eplist_s *eplist)
* Description:
* Process a request to handle a transfer descriptor. This method will
* enqueue the transfer request and return immediately. When the transfer
- * completes, the the callback will be invoked with the provided transfer.
+ * completes, the callback will be invoked with the provided transfer.
* This method is useful for receiving interrupt transfers which may come
* infrequently.
*
diff --git a/arch/arm/src/sama5/sam_oneshot.c b/arch/arm/src/sama5/sam_oneshot.c
index b8836069823..1bab862afaf 100644
--- a/arch/arm/src/sama5/sam_oneshot.c
+++ b/arch/arm/src/sama5/sam_oneshot.c
@@ -417,7 +417,7 @@ int sam_oneshot_cancel(struct sam_oneshot_s *oneshot,
* the counter expires while we are doing this, the counter clock will be
* stopped, but the clock will not be disabled.
*
- * The expected behavior is that the the counter register will freezes at
+ * The expected behavior is that the counter register will freezes at
* a value equal to the RC register when the timer expires. The counter
* should have values between 0 and RC in all other cased.
*
diff --git a/arch/arm/src/sama5/sam_tc.c b/arch/arm/src/sama5/sam_tc.c
index 015d6bc96a5..2bdff628cac 100644
--- a/arch/arm/src/sama5/sam_tc.c
+++ b/arch/arm/src/sama5/sam_tc.c
@@ -1427,7 +1427,7 @@ uint32_t sam_tc_divfreq(TC_HANDLE handle)
DEBUGASSERT(chan);
- /* Get the the TC_CMR register contents for this channel and extract the
+ /* Get the TC_CMR register contents for this channel and extract the
* TCCLKS index.
*/
diff --git a/arch/arm/src/sama5/sam_tickless.c b/arch/arm/src/sama5/sam_tickless.c
index bb3c6785613..e77a96b3046 100644
--- a/arch/arm/src/sama5/sam_tickless.c
+++ b/arch/arm/src/sama5/sam_tickless.c
@@ -325,7 +325,7 @@ void arm_timer_initialize(void)
* any failure.
*
* Assumptions:
- * Called from the the normal tasking context. The implementation must
+ * Called from the normal tasking context. The implementation must
* provide whatever mutual exclusion is necessary for correct operation.
* This can include disabling interrupts in order to assure atomic register
* operations.
diff --git a/arch/arm/src/sama5/sam_udphs.c b/arch/arm/src/sama5/sam_udphs.c
index 3f27bd31122..090e10b4d84 100644
--- a/arch/arm/src/sama5/sam_udphs.c
+++ b/arch/arm/src/sama5/sam_udphs.c
@@ -1298,7 +1298,7 @@ static void sam_req_wrsetup(struct sam_usbdev_s *priv,
* When this function starts a transfer it will update the request
* 'inflight' field to indicate the size of the transfer.
*
- * When the transfer completes, the the 'inflight' field must hold the
+ * When the transfer completes, the 'inflight' field must hold the
* number of bytes that have completed the transfer. This function will
* update 'xfrd' with the new size of the transfer.
*
@@ -4554,7 +4554,7 @@ int usbdev_register(struct usbdevclass_driver_s *driver)
up_enable_irq(SAM_IRQ_UDPHS);
/* Enable pull-up to connect the device. The host should enumerate us
- * some time after this. The next thing we expect the the ENDRESET
+ * some time after this. The next thing we expect the ENDRESET
* interrupt.
*/
diff --git a/arch/arm/src/sama5/sama5d2x_pio.c b/arch/arm/src/sama5/sama5d2x_pio.c
index 3a87d3da666..4907529be44 100644
--- a/arch/arm/src/sama5/sama5d2x_pio.c
+++ b/arch/arm/src/sama5/sama5d2x_pio.c
@@ -571,13 +571,13 @@ bool sam_pioread(pio_pinset_t pinset)
pin = sam_piopin(pinset);
/* For output PIOs, the ODSR register provides the output value to
- * drive the pin. The PDSR register, on the the other hand, provides
+ * drive the pin. The PDSR register, on the other hand, provides
* the current sensed value on a pin, whether the pin is configured
* as an input, an output or as a peripheral.
*
* There is small delay between the setting in ODSR and PDSR but
- * otherwise the they should be the same unless something external
- * is driving the pin.
+ * otherwise they should be the same unless something external is
+ * driving the pin.
*
* Let's assume that PDSR is what the caller wants.
*/
diff --git a/arch/arm/src/sama5/sama5d3x4x_pio.c b/arch/arm/src/sama5/sama5d3x4x_pio.c
index 806fb9fc089..5f979f3c856 100644
--- a/arch/arm/src/sama5/sama5d3x4x_pio.c
+++ b/arch/arm/src/sama5/sama5d3x4x_pio.c
@@ -262,7 +262,7 @@ static void sam_pio_enableclk(pio_pinset_t cfgset)
* 1) No pins are configured as PIO inputs (peripheral inputs don't need
* clocking, and
* 2) Glitch and debounce filtering are not enabled. Currently, this can
- * only happen if the the pin is a PIO input, but we may need to
+ * only happen if the pin is a PIO input, but we may need to
* implement glitch filtering on peripheral inputs as well in the
* future???
* 3) The port is not configured for PIO interrupts. At present, the logic
@@ -816,13 +816,13 @@ bool sam_pioread(pio_pinset_t pinset)
pin = sam_piopin(pinset);
/* For output PIOs, the ODSR register provides the output value to
- * drive the pin. The PDSR register, on the the other hand, provides
+ * drive the pin. The PDSR register, on the other hand, provides
* the current sensed value on a pin, whether the pin is configured
* as an input, an output or as a peripheral.
*
* There is small delay between the setting in ODSR and PDSR but
- * otherwise the they should be the same unless something external
- * is driving the pin.
+ * otherwise they should be the same unless something external is
+ * driving the pin.
*
* Let's assume that PDSR is what the caller wants.
*/
diff --git a/arch/arm/src/samdl/sam_timerisr.c b/arch/arm/src/samdl/sam_timerisr.c
index abc61f355f0..73dd99af15b 100644
--- a/arch/arm/src/samdl/sam_timerisr.c
+++ b/arch/arm/src/samdl/sam_timerisr.c
@@ -61,7 +61,7 @@
* system clock ticks per second. That value is a user configurable setting
* that defaults to 100 (100 ticks per second = 10 MS interval).
*
- * Then, for example, if the CPU clock is the the SysTick and
+ * Then, for example, if the CPU clock is the SysTick and
* BOARD_CPU_FREQUENCY is 48MHz and CLK_TCK is 100, then the reload value
* would be:
*
diff --git a/arch/arm/src/samdl/saml_clockconfig.c b/arch/arm/src/samdl/saml_clockconfig.c
index 11dbaff10f6..364933501d5 100644
--- a/arch/arm/src/samdl/saml_clockconfig.c
+++ b/arch/arm/src/samdl/saml_clockconfig.c
@@ -1131,7 +1131,7 @@ static inline void sam_fdpll96m_config(void)
static inline void sam_fdpll96m_refclk(void)
{
#ifdef BOARD_FDPLL96M_LOCKTIME_ENABLE
- /* Enable the GCLK that is configured to the the FDPLL lock timer */
+ /* Enable the GCLK that is configured to the FDPLL lock timer */
sam_gclk_chan_enable(GCLK_CHAN_DPLL_32K, BOARD_FDPLL96M_LOCKTIME_CLKGEN);
#endif
diff --git a/arch/arm/src/samv7/chip/sam_emac.h b/arch/arm/src/samv7/chip/sam_emac.h
index e0a0cbb9a72..c613c14f1c0 100644
--- a/arch/arm/src/samv7/chip/sam_emac.h
+++ b/arch/arm/src/samv7/chip/sam_emac.h
@@ -1,6 +1,6 @@
/************************************************************************************
* arch/arm/src/samv7/chip/sam_emac.h
- * This is the form of the EMAC interface used the the SAMV7.
+ * This is the form of the EMAC interface used the SAMV7.
* This is referred as GMAC in the documentation even though it does not support
* Gibabit Ethernet.
*
diff --git a/arch/arm/src/samv7/sam_dac.c b/arch/arm/src/samv7/sam_dac.c
index 78a19929b54..b1293aa5b2e 100644
--- a/arch/arm/src/samv7/sam_dac.c
+++ b/arch/arm/src/samv7/sam_dac.c
@@ -381,7 +381,7 @@ static int dac_timer_init(struct sam_dac_s *priv, uint32_t freq_required,
DEBUGASSERT(priv && (freq_required > 0) && (channel >= 0 && channel <= 2));
- /* Set the timer/counter waveform mode the the clock input. Use smallest
+ /* Set the timer/counter waveform mode the clock input. Use smallest
* MCK divisor of 8 to have highest clock resolution thus smallest frequency
* error. With 32 bit counter the lowest possible frequency of 1 Hz is easily
* supported.
diff --git a/arch/arm/src/samv7/sam_emac.c b/arch/arm/src/samv7/sam_emac.c
index 5bfb2f4a587..3496331898c 100644
--- a/arch/arm/src/samv7/sam_emac.c
+++ b/arch/arm/src/samv7/sam_emac.c
@@ -1551,7 +1551,7 @@ static int sam_txpoll(struct net_driver_s *dev)
sam_transmit(priv, EMAC_QUEUE_0);
- /* Check if the there are any free TX descriptors. We cannot perform
+ /* Check if there are any free TX descriptors. We cannot perform
* the TX poll if we do not have buffering for another packet.
*/
@@ -1601,7 +1601,7 @@ static void sam_dopoll(struct sam_emac_s *priv, int qid)
{
struct net_driver_s *dev = &priv->dev;
- /* Check if the there are any free TX descriptors. We cannot perform the
+ /* Check if there are any free TX descriptors. We cannot perform the
* TX poll if we do not have buffering for another packet.
*/
@@ -2615,7 +2615,7 @@ static void sam_poll_work(FAR void *arg)
FAR struct sam_emac_s *priv = (FAR struct sam_emac_s *)arg;
struct net_driver_s *dev = &priv->dev;
- /* Check if the there are any free TX descriptors. We cannot perform the
+ /* Check if there are any free TX descriptors. We cannot perform the
* TX poll if we do not have buffering for another packet.
*/
diff --git a/arch/arm/src/samv7/sam_hsmci.c b/arch/arm/src/samv7/sam_hsmci.c
index a83a51ecc0b..544cae95243 100644
--- a/arch/arm/src/samv7/sam_hsmci.c
+++ b/arch/arm/src/samv7/sam_hsmci.c
@@ -3176,7 +3176,7 @@ static void sam_callback(void *arg)
priv->cbevents = 0;
/* This function is called either from (1) the context of the calling
- * thread or from the the context of (2) card detection logic. The
+ * thread or from the context of (2) card detection logic. The
* caller may or may not have interrupts disabled (we have them
* disabled here!).
*
diff --git a/arch/arm/src/samv7/sam_oneshot.c b/arch/arm/src/samv7/sam_oneshot.c
index 9a20ec17a76..0162a4d0e66 100644
--- a/arch/arm/src/samv7/sam_oneshot.c
+++ b/arch/arm/src/samv7/sam_oneshot.c
@@ -419,7 +419,7 @@ int sam_oneshot_cancel(struct sam_oneshot_s *oneshot,
* the counter expires while we are doing this, the counter clock will be
* stopped, but the clock will not be disabled.
*
- * The expected behavior is that the the counter register will freezes at
+ * The expected behavior is that the counter register will freezes at
* a value equal to the RC register when the timer expires. The counter
* should have values between 0 and RC in all other cased.
*
diff --git a/arch/arm/src/samv7/sam_tc.c b/arch/arm/src/samv7/sam_tc.c
index 4b9303fd534..91b0e36f5f0 100644
--- a/arch/arm/src/samv7/sam_tc.c
+++ b/arch/arm/src/samv7/sam_tc.c
@@ -1615,7 +1615,7 @@ uint32_t sam_tc_divfreq(TC_HANDLE handle)
DEBUGASSERT(chan);
- /* Get the the TC_CMR register contents for this channel and extract the
+ /* Get the TC_CMR register contents for this channel and extract the
* TCCLKS index.
*/
diff --git a/arch/arm/src/samv7/sam_tickless.c b/arch/arm/src/samv7/sam_tickless.c
index 1cda5dcc73d..b1b101455e4 100644
--- a/arch/arm/src/samv7/sam_tickless.c
+++ b/arch/arm/src/samv7/sam_tickless.c
@@ -311,7 +311,7 @@ void arm_timer_initialize(void)
* any failure.
*
* Assumptions:
- * Called from the the normal tasking context. The implementation must
+ * Called from the normal tasking context. The implementation must
* provide whatever mutual exclusion is necessary for correct operation.
* This can include disabling interrupts in order to assure atomic register
* operations.
diff --git a/arch/arm/src/samv7/sam_usbdevhs.c b/arch/arm/src/samv7/sam_usbdevhs.c
index 4adfa117c11..d2904fc96ca 100644
--- a/arch/arm/src/samv7/sam_usbdevhs.c
+++ b/arch/arm/src/samv7/sam_usbdevhs.c
@@ -1359,7 +1359,7 @@ static void sam_req_wrsetup(struct sam_usbdev_s *priv,
* When this function starts a transfer it will update the request
* 'inflight' field to indicate the size of the transfer.
*
- * When the transfer completes, the the 'inflight' field must hold the
+ * When the transfer completes, the 'inflight' field must hold the
* number of bytes that have completed the transfer. This function will
* update 'xfrd' with the new size of the transfer.
*
diff --git a/arch/arm/src/stm32/Kconfig b/arch/arm/src/stm32/Kconfig
index a74bfafc593..2242a018df7 100644
--- a/arch/arm/src/stm32/Kconfig
+++ b/arch/arm/src/stm32/Kconfig
@@ -6855,7 +6855,7 @@ config STM32_LTDC_DITHER_BLUE
config STM32_LTDC_FB_BASE
hex "Framebuffer memory start address"
---help---
- If you are using the the LTDC, then you must provide the address
+ If you are using the LTDC, then you must provide the address
of the start of the framebuffer. This address will typically
be in the SRAM or SDRAM memory region of the FSMC.
diff --git a/arch/arm/src/stm32/gnu/stm32_vectors.S b/arch/arm/src/stm32/gnu/stm32_vectors.S
index c961781f331..4943686dac4 100644
--- a/arch/arm/src/stm32/gnu/stm32_vectors.S
+++ b/arch/arm/src/stm32/gnu/stm32_vectors.S
@@ -63,7 +63,7 @@
* stale MSP, there will most likely be a system failure.
*
* If the interrupt stack is selected, on the other hand, then the interrupt
- * handler will always set the the MSP to the interrupt stack. So when the high
+ * handler will always set the MSP to the interrupt stack. So when the high
* priority interrupt occurs, it will either use the MSP of the last privileged
* thread to run or, in the case of the nested interrupt, the interrupt stack if
* no privileged task has run.
@@ -73,7 +73,7 @@
# error Interrupt stack must be used with high priority interrupts in kernel mode
# endif
- /* Use the the BASEPRI to control interrupts is required if nested, high
+ /* Use the BASEPRI to control interrupts is required if nested, high
* priority interrupts are supported.
*/
diff --git a/arch/arm/src/stm32/iar/stm32_vectors.S b/arch/arm/src/stm32/iar/stm32_vectors.S
index f46cb7c57ba..52fdfb30568 100644
--- a/arch/arm/src/stm32/iar/stm32_vectors.S
+++ b/arch/arm/src/stm32/iar/stm32_vectors.S
@@ -63,7 +63,7 @@
* stale MSP, there will most likely be a system failure.
*
* If the interrupt stack is selected, on the other hand, then the interrupt
- * handler will always set the the MSP to the interrupt stack. So when the high
+ * handler will always set the MSP to the interrupt stack. So when the high
* priority interrupt occurs, it will either use the MSP of the last privileged
* thread to run or, in the case of the nested interrupt, the interrupt stack if
* no privileged task has run.
@@ -73,7 +73,7 @@
# error Interrupt stack must be used with high priority interrupts in kernel mode
# endif
- /* Use the the BASEPRI to control interrupts is required if nested, high
+ /* Use the BASEPRI to control interrupts is required if nested, high
* priority interrupts are supported.
*/
diff --git a/arch/arm/src/stm32/stm32_bbsram.c b/arch/arm/src/stm32/stm32_bbsram.c
index a401feca562..f1e0b6d311f 100644
--- a/arch/arm/src/stm32/stm32_bbsram.c
+++ b/arch/arm/src/stm32/stm32_bbsram.c
@@ -612,7 +612,7 @@ static int stm32_bbsram_ioctl(FAR struct file *filep, int cmd,
* This function will remove the remove the file from the file system
* it will zero the contents and time stamp. It will leave the fileno
* and pointer to the BBSRAM intact.
- * It should be called called on the the file used for the crash dump
+ * It should be called called on the file used for the crash dump
* to remove it from visibility in the file system after it is created or
* read thus arming it.
*
diff --git a/arch/arm/src/stm32/stm32_dma.h b/arch/arm/src/stm32/stm32_dma.h
index c29f7f0d8c2..ceee4e0867c 100644
--- a/arch/arm/src/stm32/stm32_dma.h
+++ b/arch/arm/src/stm32/stm32_dma.h
@@ -94,7 +94,7 @@
typedef FAR void *DMA_HANDLE;
/* Description:
- * This is the type of the callback that is used to inform the user of the the
+ * This is the type of the callback that is used to inform the user of the
* completion of the DMA.
*
* Input Parameters:
diff --git a/arch/arm/src/stm32/stm32_eth.c b/arch/arm/src/stm32/stm32_eth.c
index 8b38985f15f..2b02b5e3455 100644
--- a/arch/arm/src/stm32/stm32_eth.c
+++ b/arch/arm/src/stm32/stm32_eth.c
@@ -1551,7 +1551,7 @@ static int stm32_recvframe(FAR struct stm32_ethmac_s *priv)
{
priv->segments++;
- /* Check if the there is only one segment in the frame */
+ /* Check if there is only one segment in the frame */
if (priv->segments == 1)
{
diff --git a/arch/arm/src/stm32/stm32_ltdc.c b/arch/arm/src/stm32/stm32_ltdc.c
index 2573730172c..22b650c598b 100644
--- a/arch/arm/src/stm32/stm32_ltdc.c
+++ b/arch/arm/src/stm32/stm32_ltdc.c
@@ -3014,7 +3014,7 @@ static int stm32_getblendmode(FAR struct ltdc_layer_s *layer, uint32_t *mode)
* On error - -EINVAL
*
* Procedure Information:
- * If the srcxpos and srcypos unequal the the xpos and ypos of the area
+ * If the srcxpos and srcypos unequal the xpos and ypos of the area
* structure this acts like moving the visible area to another position on
* the screen during the next update operation.
*
diff --git a/arch/arm/src/stm32/stm32_oneshot.c b/arch/arm/src/stm32/stm32_oneshot.c
index ab8d2a40348..ba76bf65b9d 100644
--- a/arch/arm/src/stm32/stm32_oneshot.c
+++ b/arch/arm/src/stm32/stm32_oneshot.c
@@ -393,7 +393,7 @@ int stm32_oneshot_cancel(struct stm32_oneshot_s *oneshot,
* If the counter expires while we are doing this, the counter clock will
* be stopped, but the clock will not be disabled.
*
- * The expected behavior is that the the counter register will freezes at
+ * The expected behavior is that the counter register will freezes at
* a value equal to the RC register when the timer expires. The counter
* should have values between 0 and RC in all other cased.
*
diff --git a/arch/arm/src/stm32/stm32_otgfsdev.c b/arch/arm/src/stm32/stm32_otgfsdev.c
index 47b212c3c28..4d23392912a 100644
--- a/arch/arm/src/stm32/stm32_otgfsdev.c
+++ b/arch/arm/src/stm32/stm32_otgfsdev.c
@@ -5238,7 +5238,7 @@ static void stm32_hwinitialize(FAR struct stm32_usbdev_s *priv)
# endif
#else
- /* In the case of the the all others the meaning of the bit is No VBUS
+ /* In the case of the all others the meaning of the bit is No VBUS
* Sense when Set
*/
diff --git a/arch/arm/src/stm32/stm32_otgfshost.c b/arch/arm/src/stm32/stm32_otgfshost.c
index c8ce6a2dd8a..b28226f5f23 100644
--- a/arch/arm/src/stm32/stm32_otgfshost.c
+++ b/arch/arm/src/stm32/stm32_otgfshost.c
@@ -1978,7 +1978,7 @@ static ssize_t stm32_in_transfer(FAR struct stm32_usbhost_s *priv, int chidx,
{
/* Successfully received another chunk of data... add that to the
* runing total. Then continue reading until we read 'buflen'
- * bytes of data or until the the devices NAKs (implying a short
+ * bytes of data or until the devices NAKs (implying a short
* packet).
*/
@@ -2235,8 +2235,8 @@ static ssize_t stm32_out_transfer(FAR struct stm32_usbhost_s *priv, int chidx,
/* Check for a special case: If (1) the transfer was NAKed and (2)
* no Tx FIFO empty or Rx FIFO not-empty event occurred, then we
* should be able to just flush the Rx and Tx FIFOs and try again.
- * We can detect this latter case because the then the transfer
- * buffer pointer and buffer size will be unaltered.
+ * We can detect this latter case because then the transfer buffer
+ * pointer and buffer size will be unaltered.
*/
elapsed = clock_systimer() - start;
@@ -4630,7 +4630,7 @@ static ssize_t stm32_transfer(FAR struct usbhost_driver_s *drvr, usbhost_ep_t ep
* Description:
* Process a request to handle a transfer descriptor. This method will
* enqueue the transfer request and return immediately. When the transfer
- * completes, the the callback will be invoked with the provided transfer.
+ * completes, the callback will be invoked with the provided transfer.
* This method is useful for receiving interrupt transfers which may come
* infrequently.
*
diff --git a/arch/arm/src/stm32/stm32_otghshost.c b/arch/arm/src/stm32/stm32_otghshost.c
index 090ef4292be..17023088b6f 100644
--- a/arch/arm/src/stm32/stm32_otghshost.c
+++ b/arch/arm/src/stm32/stm32_otghshost.c
@@ -1983,7 +1983,7 @@ static ssize_t stm32_in_transfer(FAR struct stm32_usbhost_s *priv, int chidx,
{
/* Successfully received another chunk of data... add that to the
* runing total. Then continue reading until we read 'buflen'
- * bytes of data or until the the devices NAKs (implying a short
+ * bytes of data or until the devices NAKs (implying a short
* packet).
*/
@@ -2240,8 +2240,8 @@ static ssize_t stm32_out_transfer(FAR struct stm32_usbhost_s *priv, int chidx,
/* Check for a special case: If (1) the transfer was NAKed and (2)
* no Tx FIFO empty or Rx FIFO not-empty event occurred, then we
* should be able to just flush the Rx and Tx FIFOs and try again.
- * We can detect this latter case because the then the transfer
- * buffer pointer and buffer size will be unaltered.
+ * We can detect this latter case because then the transfer buffer
+ * pointer and buffer size will be unaltered.
*/
elapsed = clock_systimer() - start;
@@ -4635,7 +4635,7 @@ static ssize_t stm32_transfer(FAR struct usbhost_driver_s *drvr, usbhost_ep_t ep
* Description:
* Process a request to handle a transfer descriptor. This method will
* enqueue the transfer request and return immediately. When the transfer
- * completes, the the callback will be invoked with the provided transfer.
+ * completes, the callback will be invoked with the provided transfer.
* This method is useful for receiving interrupt transfers which may come
* infrequently.
*
diff --git a/arch/arm/src/stm32/stm32_tickless.c b/arch/arm/src/stm32/stm32_tickless.c
index 38162ad7d7c..6d7a004693b 100644
--- a/arch/arm/src/stm32/stm32_tickless.c
+++ b/arch/arm/src/stm32/stm32_tickless.c
@@ -590,7 +590,7 @@ void arm_timer_initialize(void)
* any failure.
*
* Assumptions:
- * Called from the the normal tasking context. The implementation must
+ * Called from the normal tasking context. The implementation must
* provide whatever mutual exclusion is necessary for correct operation.
* This can include disabling interrupts in order to assure atomic register
* operations.
diff --git a/arch/arm/src/stm32/stm32f40xxx_rtcc.c b/arch/arm/src/stm32/stm32f40xxx_rtcc.c
index 57029041317..e15c995a6cf 100644
--- a/arch/arm/src/stm32/stm32f40xxx_rtcc.c
+++ b/arch/arm/src/stm32/stm32f40xxx_rtcc.c
@@ -1354,7 +1354,7 @@ int stm32_rtc_setalarm(FAR struct alm_setalarm_s *alminfo)
ASSERT(alminfo != NULL);
DEBUGASSERT(RTC_ALARM_LAST > alminfo->as_id);
- /* Make sure the the alarm interrupt is enabled at the NVIC */
+ /* Make sure the alarm interrupt is enabled at the NVIC */
rtc_enable_alarm();
diff --git a/arch/arm/src/stm32f0/stm32f0_hsi48.c b/arch/arm/src/stm32f0/stm32f0_hsi48.c
index f9d4c52cf67..2a33b9cf857 100644
--- a/arch/arm/src/stm32f0/stm32f0_hsi48.c
+++ b/arch/arm/src/stm32f0/stm32f0_hsi48.c
@@ -137,7 +137,7 @@ void stm32f0_enable_hsi48(enum syncsrc_e syncsrc)
putreg32(regval, STM32F0_CRS_CFGR);
- /* Set the AUTOTRIMEN bit the the CRS_CR register to enables the automatic
+ /* Set the AUTOTRIMEN bit the CRS_CR register to enables the automatic
* hardware adjustment of TRIM bits according to the measured frequency
* error between the selected SYNC event.
*/
diff --git a/arch/arm/src/stm32f7/stm32_bbsram.c b/arch/arm/src/stm32f7/stm32_bbsram.c
index 71adbcfd219..62905f83263 100644
--- a/arch/arm/src/stm32f7/stm32_bbsram.c
+++ b/arch/arm/src/stm32f7/stm32_bbsram.c
@@ -613,7 +613,7 @@ static int stm32_bbsram_ioctl(FAR struct file *filep, int cmd,
* This function will remove the remove the file from the file system
* it will zero the contents and time stamp. It will leave the fileno
* and pointer to the BBSRAM intact.
- * It should be called called on the the file used for the crash dump
+ * It should be called called on the file used for the crash dump
* to remove it from visibility in the file system after it is created or
* read thus arming it.
*
diff --git a/arch/arm/src/stm32f7/stm32_dma.h b/arch/arm/src/stm32f7/stm32_dma.h
index b25cb84e7dd..3604d45d0ce 100644
--- a/arch/arm/src/stm32f7/stm32_dma.h
+++ b/arch/arm/src/stm32f7/stm32_dma.h
@@ -69,7 +69,7 @@
typedef FAR void *DMA_HANDLE;
/* Description:
- * This is the type of the callback that is used to inform the user of the the
+ * This is the type of the callback that is used to inform the user of the
* completion of the DMA. NOTE: The DMA module does *NOT* perform any cache
* operations. It is the responsibility of the DMA client to invalidate DMA
* buffers after completion of the DMA RX operations.
diff --git a/arch/arm/src/stm32f7/stm32_ethernet.c b/arch/arm/src/stm32f7/stm32_ethernet.c
index 2ac01c649e5..3573100631c 100644
--- a/arch/arm/src/stm32f7/stm32_ethernet.c
+++ b/arch/arm/src/stm32f7/stm32_ethernet.c
@@ -1636,7 +1636,7 @@ static int stm32_recvframe(struct stm32_ethmac_s *priv)
{
priv->segments++;
- /* Check if the there is only one segment in the frame */
+ /* Check if there is only one segment in the frame */
if (priv->segments == 1)
{
diff --git a/arch/arm/src/stm32f7/stm32_otghost.c b/arch/arm/src/stm32f7/stm32_otghost.c
index 29de1826ed1..f0307be640e 100644
--- a/arch/arm/src/stm32f7/stm32_otghost.c
+++ b/arch/arm/src/stm32f7/stm32_otghost.c
@@ -1977,7 +1977,7 @@ static ssize_t stm32_in_transfer(FAR struct stm32_usbhost_s *priv, int chidx,
{
/* Successfully received another chunk of data... add that to the
* runing total. Then continue reading until we read 'buflen'
- * bytes of data or until the the devices NAKs (implying a short
+ * bytes of data or until the devices NAKs (implying a short
* packet).
*/
@@ -2234,8 +2234,8 @@ static ssize_t stm32_out_transfer(FAR struct stm32_usbhost_s *priv, int chidx,
/* Check for a special case: If (1) the transfer was NAKed and (2)
* no Tx FIFO empty or Rx FIFO not-empty event occurred, then we
* should be able to just flush the Rx and Tx FIFOs and try again.
- * We can detect this latter case because the then the transfer
- * buffer pointer and buffer size will be unaltered.
+ * We can detect this latter case because then the transfer buffer
+ * pointer and buffer size will be unaltered.
*/
elapsed = clock_systimer() - start;
@@ -4628,7 +4628,7 @@ static ssize_t stm32_transfer(FAR struct usbhost_driver_s *drvr, usbhost_ep_t ep
* Description:
* Process a request to handle a transfer descriptor. This method will
* enqueue the transfer request and return immediately. When the transfer
- * completes, the the callback will be invoked with the provided transfer.
+ * completes, the callback will be invoked with the provided transfer.
* This method is useful for receiving interrupt transfers which may come
* infrequently.
*
diff --git a/arch/arm/src/stm32l4/stm32l4_dma.h b/arch/arm/src/stm32l4/stm32l4_dma.h
index c12013782d6..e21a6c1f660 100644
--- a/arch/arm/src/stm32l4/stm32l4_dma.h
+++ b/arch/arm/src/stm32l4/stm32l4_dma.h
@@ -79,7 +79,7 @@
typedef FAR void *DMA_HANDLE;
/* Description:
- * This is the type of the callback that is used to inform the user of the the
+ * This is the type of the callback that is used to inform the user of the
* completion of the DMA.
*
* Input Parameters:
diff --git a/arch/arm/src/stm32l4/stm32l4_oneshot.c b/arch/arm/src/stm32l4/stm32l4_oneshot.c
index 5ae8e069adb..9a7eb87b611 100644
--- a/arch/arm/src/stm32l4/stm32l4_oneshot.c
+++ b/arch/arm/src/stm32l4/stm32l4_oneshot.c
@@ -395,7 +395,7 @@ int stm32l4_oneshot_cancel(FAR struct stm32l4_oneshot_s *oneshot,
* If the counter expires while we are doing this, the counter clock will
* be stopped, but the clock will not be disabled.
*
- * The expected behavior is that the the counter register will freezes at
+ * The expected behavior is that the counter register will freezes at
* a value equal to the RC register when the timer expires. The counter
* should have values between 0 and RC in all other cased.
*
diff --git a/arch/arm/src/stm32l4/stm32l4_otgfshost.c b/arch/arm/src/stm32l4/stm32l4_otgfshost.c
index b24026370db..573cf892a5e 100644
--- a/arch/arm/src/stm32l4/stm32l4_otgfshost.c
+++ b/arch/arm/src/stm32l4/stm32l4_otgfshost.c
@@ -1982,7 +1982,7 @@ static ssize_t stm32l4_in_transfer(FAR struct stm32l4_usbhost_s *priv,
{
/* Successfully received another chunk of data... add that to the
* runing total. Then continue reading until we read 'buflen'
- * bytes of data or until the the devices NAKs (implying a short
+ * bytes of data or until the devices NAKs (implying a short
* packet).
*/
@@ -2240,8 +2240,8 @@ static ssize_t stm32l4_out_transfer(FAR struct stm32l4_usbhost_s *priv,
/* Check for a special case: If (1) the transfer was NAKed and (2)
* no Tx FIFO empty or Rx FIFO not-empty event occurred, then we
* should be able to just flush the Rx and Tx FIFOs and try again.
- * We can detect this latter case because the then the transfer
- * buffer pointer and buffer size will be unaltered.
+ * We can detect this latter case because then the transfer buffer
+ * pointer and buffer size will be unaltered.
*/
elapsed = clock_systimer() - start;
@@ -4635,7 +4635,7 @@ static ssize_t stm32l4_transfer(FAR struct usbhost_driver_s *drvr, usbhost_ep_t
* Description:
* Process a request to handle a transfer descriptor. This method will
* enqueue the transfer request and return immediately. When the transfer
- * completes, the the callback will be invoked with the provided transfer.
+ * completes, the callback will be invoked with the provided transfer.
* This method is useful for receiving interrupt transfers which may come
* infrequently.
*
diff --git a/arch/arm/src/stm32l4/stm32l4_rtcc.c b/arch/arm/src/stm32l4/stm32l4_rtcc.c
index 84a1f9eab6e..f36d4d040c4 100644
--- a/arch/arm/src/stm32l4/stm32l4_rtcc.c
+++ b/arch/arm/src/stm32l4/stm32l4_rtcc.c
@@ -1295,7 +1295,7 @@ int stm32l4_rtc_setalarm(FAR struct alm_setalarm_s *alminfo)
ASSERT(alminfo != NULL);
DEBUGASSERT(RTC_ALARM_LAST > alminfo->as_id);
- /* Make sure the the alarm interrupt is enabled at the NVIC */
+ /* Make sure the alarm interrupt is enabled at the NVIC */
rtc_enable_alarm();
diff --git a/arch/arm/src/stm32l4/stm32l4_tickless.c b/arch/arm/src/stm32l4/stm32l4_tickless.c
index 2d742daa1f0..ad4a55e7055 100644
--- a/arch/arm/src/stm32l4/stm32l4_tickless.c
+++ b/arch/arm/src/stm32l4/stm32l4_tickless.c
@@ -266,7 +266,7 @@ void arm_timer_initialize(void)
* any failure.
*
* Assumptions:
- * Called from the the normal tasking context. The implementation must
+ * Called from the normal tasking context. The implementation must
* provide whatever mutual exclusion is necessary for correct operation.
* This can include disabling interrupts in order to assure atomic register
* operations.
diff --git a/arch/arm/src/tiva/tiva_i2c.c b/arch/arm/src/tiva/tiva_i2c.c
index 4fe0e54d427..86bea9cef65 100644
--- a/arch/arm/src/tiva/tiva_i2c.c
+++ b/arch/arm/src/tiva/tiva_i2c.c
@@ -1301,7 +1301,7 @@ static int tiva_i2c_process(struct tiva_i2c_priv_s *priv, uint32_t status)
{
/* Just continue transferring data. In this case,
* no STOP was sent at the end of the last message
- * and the there is no new address.
+ * and there is no new address.
*
* REVISIT: In this case, the address or the
* direction of the transfer cannot be permitted to
@@ -1485,7 +1485,7 @@ static int tiva_i2c_initialize(struct tiva_i2c_priv_s *priv, uint32_t frequency)
#endif
#endif
- /* Configure the the initial I2C clock frequency. */
+ /* Configure the initial I2C clock frequency. */
tiva_i2c_setclock(priv, frequency);
diff --git a/arch/arm/src/tiva/tiva_timer.h b/arch/arm/src/tiva/tiva_timer.h
index 2f498581d27..547cd117041 100644
--- a/arch/arm/src/tiva/tiva_timer.h
+++ b/arch/arm/src/tiva/tiva_timer.h
@@ -600,7 +600,7 @@ uint32_t tiva_timer32_remaining(TIMER_HANDLE handle);
* Description:
* This function may be called at any time to change the timer interval
* match value of a 32-bit timer. This function sets the match register
- * the the absolute value specified.
+ * the absolute value specified.
*
* Input Parameters:
* handle - The handle value returned by tiva_gptm_configure()
@@ -625,7 +625,7 @@ static inline void tiva_timer32_absmatch(TIMER_HANDLE handle,
* Description:
* This function may be called at any time to change the timer interval
* match value of a 16-bit timer. This function sets the match register
- * the the absolute value specified.
+ * the absolute value specified.
*
* Input Parameters:
* handle - The handle value returned by tiva_gptm_configure()
diff --git a/arch/arm/src/tiva/tiva_timerlib.c b/arch/arm/src/tiva/tiva_timerlib.c
index e2d8bcd0b4a..0abd19e8013 100644
--- a/arch/arm/src/tiva/tiva_timerlib.c
+++ b/arch/arm/src/tiva/tiva_timerlib.c
@@ -2634,7 +2634,7 @@ uint32_t tiva_timer32_remaining(TIMER_HANDLE handle)
* the timeout event (0x0), the timer reloads its start value
* from the GPTMTAILR register on the next cycle.
*
- * The time remaining it then just the the value of the counter
+ * The time remaining it then just the value of the counter
* register.
*
* REVISIT: Or the counter value +1?
diff --git a/arch/arm/src/tiva/tiva_timerlow32.c b/arch/arm/src/tiva/tiva_timerlow32.c
index 25478f66419..91f44618b00 100644
--- a/arch/arm/src/tiva/tiva_timerlow32.c
+++ b/arch/arm/src/tiva/tiva_timerlow32.c
@@ -433,7 +433,7 @@ static int tiva_settimeout(struct timer_lowerhalf_s *lower, uint32_t timeout)
tmrinfo("Entry: timeout=%d\n", timeout);
- /* Calculate the the new time settings */
+ /* Calculate the new time settings */
tiva_timeout(priv, timeout);
diff --git a/arch/arm/src/tiva/tiva_vectors.S b/arch/arm/src/tiva/tiva_vectors.S
index 89c9c38e826..99db8115cc2 100644
--- a/arch/arm/src/tiva/tiva_vectors.S
+++ b/arch/arm/src/tiva/tiva_vectors.S
@@ -63,7 +63,7 @@
* stale MSP, there will most likely be a system failure.
*
* If the interrupt stack is selected, on the other hand, then the interrupt
- * handler will always set the the MSP to the interrupt stack. So when the high
+ * handler will always set the MSP to the interrupt stack. So when the high
* priority interrupt occurs, it will either use the MSP of the last privileged
* thread to run or, in the case of the nested interrupt, the interrupt stack if
* no privileged task has run.
@@ -73,7 +73,7 @@
# error Interrupt stack must be used with high priority interrupts in kernel mode
# endif
- /* Use the the BASEPRI to control interrupts is required if nested, high
+ /* Use the BASEPRI to control interrupts is required if nested, high
* priority interrupts are supported.
*/
diff --git a/arch/arm/src/tiva/tm4c_ethernet.c b/arch/arm/src/tiva/tm4c_ethernet.c
index 63cf22689c8..b41461eb848 100644
--- a/arch/arm/src/tiva/tm4c_ethernet.c
+++ b/arch/arm/src/tiva/tm4c_ethernet.c
@@ -1591,7 +1591,7 @@ static int tiva_recvframe(FAR struct tiva_ethmac_s *priv)
{
priv->segments++;
- /* Check if the there is only one segment in the frame */
+ /* Check if there is only one segment in the frame */
if (priv->segments == 1)
{
@@ -4197,7 +4197,7 @@ void up_netinitialize(void)
* and SIOCSMIIREG ioctl calls** to communicate with the PHY,
* determine what network event took place (Link Up/Down?), and
* take the appropriate actions.
- * d. It should then interact the the PHY to clear any pending
+ * d. It should then interact the PHY to clear any pending
* interrupts, then re-enable the PHY interrupt.
*
* * This is an OS internal interface and should not be used from
diff --git a/arch/misoc/src/common/misoc.h b/arch/misoc/src/common/misoc.h
index ab99f6aca25..564ff123fa7 100644
--- a/arch/misoc/src/common/misoc.h
+++ b/arch/misoc/src/common/misoc.h
@@ -118,7 +118,7 @@ void misoc_puts(const char *str);
* Name: misoc_lowputc
*
* Description:
- * Low-level, blocking character output the the serial console.
+ * Low-level, blocking character output the serial console.
*
****************************************************************************/
diff --git a/arch/sim/src/up_simsmp.c b/arch/sim/src/up_simsmp.c
index 8a1469976d4..fb7ce5cea94 100644
--- a/arch/sim/src/up_simsmp.c
+++ b/arch/sim/src/up_simsmp.c
@@ -248,7 +248,7 @@ static void sim_handle_signal(int signo, siginfo_t *info, void *context)
*
* Description:
* Create the pthread-specific data key and set the indication of CPU0
- * the the main thread.
+ * the main thread.
*
* Input Parameters:
* None
diff --git a/arch/sim/src/up_tickless.c b/arch/sim/src/up_tickless.c
index 9097f751f71..0a4bb64acae 100644
--- a/arch/sim/src/up_tickless.c
+++ b/arch/sim/src/up_tickless.c
@@ -150,7 +150,7 @@ void sim_timer_initialize(void)
* any failure.
*
* Assumptions:
- * Called from the the normal tasking context. The implementation must
+ * Called from the normal tasking context. The implementation must
* provide whatever mutual exclusion is necessary for correct operation.
* This can include disabling interrupts in order to assure atomic register
* operations.
diff --git a/arch/xtensa/src/common/xtensa_testset.c b/arch/xtensa/src/common/xtensa_testset.c
index 8dd15fdec90..d8fdec3c00b 100644
--- a/arch/xtensa/src/common/xtensa_testset.c
+++ b/arch/xtensa/src/common/xtensa_testset.c
@@ -133,7 +133,7 @@ spinlock_t up_testset(volatile FAR spinlock_t *lock)
* code."
*
* In any case, the return value of SP_UNLOCKED can be trusted and will
- * always mean that the the spinlock was set.
+ * always mean that the spinlock was set.
*/
return (prev == SP_UNLOCKED) ? SP_UNLOCKED : SP_LOCKED;
diff --git a/arch/xtensa/src/esp32/chip/esp32_uart.h b/arch/xtensa/src/esp32/chip/esp32_uart.h
index 0e248a4ea9d..710ef41beb1 100644
--- a/arch/xtensa/src/esp32/chip/esp32_uart.h
+++ b/arch/xtensa/src/esp32/chip/esp32_uart.h
@@ -1464,7 +1464,7 @@
/* UART_PRE_IDLE_NUM : R/W ;bitpos:[23:0] ;default: 24'h186a00 ; */
/* Description: This register is used to configure the idle duration time
- * before the first at_cmd is received by receiver. when the the duration
+ * before the first at_cmd is received by receiver. when the duration
* is less than this register value it will not take the next data received
* as at_cmd char.
*/
diff --git a/arch/xtensa/src/esp32/esp32_gpio.h b/arch/xtensa/src/esp32/esp32_gpio.h
index e4b647b9764..dda697e18fb 100644
--- a/arch/xtensa/src/esp32/esp32_gpio.h
+++ b/arch/xtensa/src/esp32/esp32_gpio.h
@@ -100,7 +100,7 @@
#ifndef __ASSEMBLY__
-/* Must be big enough to hold the the above encodings */
+/* Must be big enough to hold the above encodings */
typedef uint16_t gpio_pinattr_t;
typedef uint8_t gpio_intrtype_t;
diff --git a/arch/xtensa/src/esp32/esp32_intercpu_interrupt.c b/arch/xtensa/src/esp32/esp32_intercpu_interrupt.c
index 779aa3d7465..ce27269f213 100644
--- a/arch/xtensa/src/esp32/esp32_intercpu_interrupt.c
+++ b/arch/xtensa/src/esp32/esp32_intercpu_interrupt.c
@@ -93,7 +93,7 @@ static int esp32_fromcpu_interrupt(int fromcpu)
DPORT_CPU_INTR_FROM_CPU_1_REG;
putreg32(0, regaddr);
- /* Get the the inter-CPU interrupt code */
+ /* Get the inter-CPU interrupt code */
tocpu = up_cpu_index();
intcode = g_intcode[tocpu];
diff --git a/arch/z16/src/z16f/z16f_clkinit.c b/arch/z16/src/z16f/z16f_clkinit.c
index 314020257bb..41690dd8298 100644
--- a/arch/z16/src/z16f/z16f_clkinit.c
+++ b/arch/z16/src/z16f/z16f_clkinit.c
@@ -221,7 +221,7 @@ static void z16f_sysclkinit(int clockid, uint32_t frequency)
int count;
/* In this configuration, we support only the external oscillator/clock
- * the the source of the system clock (__DEFCLK is ignored).
+ * the source of the system clock (__DEFCLK is ignored).
*/
if ((getreg8(Z16F_OSC_CTL) & 0x03) != 1)
diff --git a/arch/z16/src/z16f/z16f_espi.c b/arch/z16/src/z16f/z16f_espi.c
index 60db49a88b1..312b2276e46 100644
--- a/arch/z16/src/z16f/z16f_espi.c
+++ b/arch/z16/src/z16f/z16f_espi.c
@@ -641,7 +641,7 @@ static void spi_exchange(FAR struct spi_dev_s *dev, FAR const void *txbuffer,
spi_flush(priv);
- /* Make sure the the TEOF bit is not set (SSV must also be zero) */
+ /* Make sure the TEOF bit is not set (SSV must also be zero) */
spi_putreg8(priv, 0, Z16F_ESPI_CTL);
diff --git a/arch/z16/src/z16f/z16f_serial.c b/arch/z16/src/z16f/z16f_serial.c
index 1e24c165d17..57d9bf921fe 100644
--- a/arch/z16/src/z16f/z16f_serial.c
+++ b/arch/z16/src/z16f/z16f_serial.c
@@ -789,7 +789,7 @@ int up_putc(int ch)
* driver operation.
*
* REVISIT: I can imagine scenarios where the follow logic gets pre-empted
- * and the the UART interrupts get left in a bad state.
+ * and the UART interrupts get left in a bad state.
*/
state = z16f_disableuartirq(&CONSOLE_DEV);
diff --git a/audio/README.txt b/audio/README.txt
index 85ab2e1a36d..49dc1de49d3 100644
--- a/audio/README.txt
+++ b/audio/README.txt
@@ -24,7 +24,7 @@ layer for specific lower-half audio device drivers.
pcm_decode.c - Routines to decode PCM / WAV type data.
README - This file!
-Portions of the the audio system interface have application interfaces. Those
+Portions of the audio system interface have application interfaces. Those
portions reside in the nuttx/libc/audio directory where the will be built for
access by both OS driver logic and user application logic. Those relevant
files in nuttx/libc/audio include:
diff --git a/audio/pcm_decode.c b/audio/pcm_decode.c
index 383d8ef2613..20b0b2943fb 100644
--- a/audio/pcm_decode.c
+++ b/audio/pcm_decode.c
@@ -93,7 +93,7 @@ struct pcm_decode_s
/* These are our operations that intervene between the player application
* and the lower level driver. Unlike the ops in the struct
* audio_lowerhalf_s, these are writeable because we need to customize a
- * few of the methods based upon what is supported by the the lower level
+ * few of the methods based upon what is supported by the lower level
* driver.
*/
@@ -414,7 +414,7 @@ static bool pcm_parsewav(FAR struct pcm_decode_s *priv, uint8_t *data)
#endif
}
- /* And return true if the the file is a valid WAV header file */
+ /* And return true if the file is a valid WAV header file */
return ret;
}
diff --git a/binfmt/binfmt_exepath.c b/binfmt/binfmt_exepath.c
index c99ae8706a1..7e286c1336d 100644
--- a/binfmt/binfmt_exepath.c
+++ b/binfmt/binfmt_exepath.c
@@ -100,8 +100,8 @@ struct exepath_s
* On success, exepath_init() return a non-NULL, opaque handle that may
* subsequently be used in calls to exepath_next() and exepath_release().
* On error, a NULL handle value will be returned. The most likely cause
- * of an error would be that the there is no value associated with the
- * PATH variable.
+ * of an error would be that there is no value associated with the PATH
+ * variable.
*
****************************************************************************/
diff --git a/binfmt/libpcode/README.txt b/binfmt/libpcode/README.txt
index 4e0724ee07c..2a2a15cc64a 100644
--- a/binfmt/libpcode/README.txt
+++ b/binfmt/libpcode/README.txt
@@ -150,7 +150,7 @@ The general idea to fix both of these problems is as follows:
program is stored in the filesystem.
3. Modify the logic so that the P-Code execution program runs (instead of
- the requested program) an it received the full path the the P-Code file
+ the requested program) an it received the full path the P-Code file
on the command line. This might be accomplished by simply modifying the
argv[] structure in the struct binary_s instance.
diff --git a/configs/Kconfig b/configs/Kconfig
index a2763f7c00d..fd5fb80c5e2 100644
--- a/configs/Kconfig
+++ b/configs/Kconfig
@@ -507,7 +507,7 @@ config ARCH_BOARD_OLIMEX_LPC_H3131
depends on ARCH_CHIP_LPC3131
select ARCH_HAVE_LEDS
---help---
- Olimex LPC-H3131 development board. This board is based on the the
+ Olimex LPC-H3131 development board. This board is based on the
NXP LPC3131 MCU.
config ARCH_BOARD_OLIMEX_STRP711
@@ -1461,7 +1461,7 @@ config ARCH_BOARD_CUSTOM_DIR
to also tell the build system where it can find the board directory
for the custom board.
- In this case, the board directory is assume to lie outside the the
+ In this case, the board directory is assume to lie outside the
NuttX directory. The provided path must then be a full, absolute
path to some location outside of the NuttX source tree (like
"~/projects/myboard").
diff --git a/configs/README.txt b/configs/README.txt
index cfc90fa0f74..c17dfb63568 100644
--- a/configs/README.txt
+++ b/configs/README.txt
@@ -227,10 +227,10 @@ configs/eagle100
arm-nuttx-elf toolchain*. STATUS: This port is complete and mature.
configs/efm32-g8xx-stk
- The port of NuttX to the the EFM32 Gecko Starter Kit (EFM32-G8XX-STK).
+ The port of NuttX to the EFM32 Gecko Starter Kit (EFM32-G8XX-STK).
configs/efm32gg-stk3700
- The port of NuttX to the the EFM32 Giant Gecko Starter Kit
+ The port of NuttX to the EFM32 Giant Gecko Starter Kit
(EFM32GG-STK3700).
configs/ekk-lm3s9b96
diff --git a/configs/arduino-due/src/sam_appinit.c b/configs/arduino-due/src/sam_appinit.c
index 32132ee3302..78587bcce73 100644
--- a/configs/arduino-due/src/sam_appinit.c
+++ b/configs/arduino-due/src/sam_appinit.c
@@ -84,7 +84,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/bambino-200e/src/lpc43_appinit.c b/configs/bambino-200e/src/lpc43_appinit.c
index 785c28758bc..c00e4979324 100644
--- a/configs/bambino-200e/src/lpc43_appinit.c
+++ b/configs/bambino-200e/src/lpc43_appinit.c
@@ -147,7 +147,7 @@ static int nsh_spifi_initialize(void)
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/boardctl.c b/configs/boardctl.c
index f0d0da114e9..6c5185c5722 100644
--- a/configs/boardctl.c
+++ b/configs/boardctl.c
@@ -255,7 +255,7 @@ int boardctl(unsigned int cmd, uintptr_t arg)
* board_app_initialize() implementation without modification.
* The argument has no meaning to NuttX; the meaning of the
* argument is a contract between the board-specific
- * initalization logic and the the matching application logic.
+ * initalization logic and the matching application logic.
* The value cold be such things as a mode enumeration value,
* a set of DIP switch switch settings, a pointer to
* configuration data read from a file or serial FLASH, or
diff --git a/configs/cc3200-launchpad/src/cc3200_boot.c b/configs/cc3200-launchpad/src/cc3200_boot.c
index 841f40eca7c..a63fbeb44f0 100644
--- a/configs/cc3200-launchpad/src/cc3200_boot.c
+++ b/configs/cc3200-launchpad/src/cc3200_boot.c
@@ -81,7 +81,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/clicker2-stm32/src/stm32_appinit.c b/configs/clicker2-stm32/src/stm32_appinit.c
index 74c8a2142b6..cd197295038 100644
--- a/configs/clicker2-stm32/src/stm32_appinit.c
+++ b/configs/clicker2-stm32/src/stm32_appinit.c
@@ -71,7 +71,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/cloudctrl/README.txt b/configs/cloudctrl/README.txt
index ba2d8972ee9..4ef93e2fc8e 100644
--- a/configs/cloudctrl/README.txt
+++ b/configs/cloudctrl/README.txt
@@ -340,7 +340,7 @@ NuttX EABI buildroot Toolchain
-CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y
+CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=y
- 9. Set the the PATH variable so tht it includes the path to the newly built
+ 9. Set the PATH variable so tht it includes the path to the newly built
binaries.
See the file configs/README.txt in the buildroot source tree. That has more
diff --git a/configs/cloudctrl/src/stm32_appinit.c b/configs/cloudctrl/src/stm32_appinit.c
index c628bd142ac..211029d9571 100644
--- a/configs/cloudctrl/src/stm32_appinit.c
+++ b/configs/cloudctrl/src/stm32_appinit.c
@@ -112,7 +112,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/demo9s12ne64/src/m9s12_appinit.c b/configs/demo9s12ne64/src/m9s12_appinit.c
index 0010a71e689..790f7a34bca 100644
--- a/configs/demo9s12ne64/src/m9s12_appinit.c
+++ b/configs/demo9s12ne64/src/m9s12_appinit.c
@@ -65,7 +65,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/dk-tm4c129x/src/tm4c_appinit.c b/configs/dk-tm4c129x/src/tm4c_appinit.c
index 20d889d47e9..89b15be570e 100644
--- a/configs/dk-tm4c129x/src/tm4c_appinit.c
+++ b/configs/dk-tm4c129x/src/tm4c_appinit.c
@@ -57,7 +57,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/ea3131/src/lpc31_appinit.c b/configs/ea3131/src/lpc31_appinit.c
index 43ef50be72c..ef581641d25 100644
--- a/configs/ea3131/src/lpc31_appinit.c
+++ b/configs/ea3131/src/lpc31_appinit.c
@@ -111,7 +111,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/ea3152/src/lpc31_appinit.c b/configs/ea3152/src/lpc31_appinit.c
index e05327622c1..ea30724a845 100644
--- a/configs/ea3152/src/lpc31_appinit.c
+++ b/configs/ea3152/src/lpc31_appinit.c
@@ -111,7 +111,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/eagle100/src/lm_appinit.c b/configs/eagle100/src/lm_appinit.c
index 72b7206fad2..2690bbdba37 100644
--- a/configs/eagle100/src/lm_appinit.c
+++ b/configs/eagle100/src/lm_appinit.c
@@ -107,7 +107,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/ekk-lm3s9b96/src/lm_appinit.c b/configs/ekk-lm3s9b96/src/lm_appinit.c
index 21be2c1952a..f7136cdd8a1 100644
--- a/configs/ekk-lm3s9b96/src/lm_appinit.c
+++ b/configs/ekk-lm3s9b96/src/lm_appinit.c
@@ -64,7 +64,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/esp32-core/README.txt b/configs/esp32-core/README.txt
index cde3295ff03..6d7d69c6670 100644
--- a/configs/esp32-core/README.txt
+++ b/configs/esp32-core/README.txt
@@ -731,7 +731,7 @@ Things to Do
4. Currently the Xtensa port copies register state save information from
the stack into the TCB. A more efficient alternative would be to just
save a pointer to a register state save area in the TCB. This would
- add some complexity to signal handling and also also the the
+ add some complexity to signal handling and also also the
up_initialstate(). But the performance improvement might be worth
the effort.
diff --git a/configs/esp32-core/src/esp32_appinit.c b/configs/esp32-core/src/esp32_appinit.c
index ff8d1eb9570..dcf65d5e710 100644
--- a/configs/esp32-core/src/esp32_appinit.c
+++ b/configs/esp32-core/src/esp32_appinit.c
@@ -66,7 +66,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/ez80f910200zco/README.txt b/configs/ez80f910200zco/README.txt
index d88114e8517..a1c6ce5777b 100644
--- a/configs/ez80f910200zco/README.txt
+++ b/configs/ez80f910200zco/README.txt
@@ -50,7 +50,7 @@ Version 5.1.1
Paths were also updated that are specific to a 32-bit toolchain running on
a 64 bit windows platform. Change to a different toolchain, you will need
to modify the versioning in Make.defs; if you want to build on a different
- platform, you will need to change the path the the ZDS binaries in that
+ platform, you will need to change the path the ZDS binaries in that
files as well as in your PATH environment variable.
Version 5.2.1
diff --git a/configs/fire-stm32v2/src/stm32_appinit.c b/configs/fire-stm32v2/src/stm32_appinit.c
index aa962b5b77e..c82d5f43663 100644
--- a/configs/fire-stm32v2/src/stm32_appinit.c
+++ b/configs/fire-stm32v2/src/stm32_appinit.c
@@ -200,7 +200,7 @@ static void stm32_i2ctool(void)
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/freedom-k64f/include/board.h b/configs/freedom-k64f/include/board.h
index 62eb2fe5e0b..b88e37a160f 100644
--- a/configs/freedom-k64f/include/board.h
+++ b/configs/freedom-k64f/include/board.h
@@ -102,7 +102,7 @@
/*
* Kinetis does not have pullups on their Freedom-K64F board
- * So allow the the board config to enable them.
+ * So allow the board config to enable them.
*/
#define BOARD_SDHC_ENABLE_PULLUPS 1
diff --git a/configs/freedom-k64f/src/k64_appinit.c b/configs/freedom-k64f/src/k64_appinit.c
index ba19f5b851d..f9851a74a14 100644
--- a/configs/freedom-k64f/src/k64_appinit.c
+++ b/configs/freedom-k64f/src/k64_appinit.c
@@ -63,7 +63,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/freedom-k64f/src/k64_automount.c b/configs/freedom-k64f/src/k64_automount.c
index 8ec1be29ffe..4a325f1ca20 100644
--- a/configs/freedom-k64f/src/k64_automount.c
+++ b/configs/freedom-k64f/src/k64_automount.c
@@ -304,7 +304,7 @@ void k64_automount_event(bool inserted)
if (!state->enable)
{
- /* Yes.. just remember the there is a pending interrupt. We will
+ /* Yes.. just remember that there is a pending interrupt. We will
* deliver the interrupt when interrupts are "re-enabled."
*/
diff --git a/configs/freedom-k66f/include/board.h b/configs/freedom-k66f/include/board.h
index b59515e6d86..4a5673e9367 100644
--- a/configs/freedom-k66f/include/board.h
+++ b/configs/freedom-k66f/include/board.h
@@ -147,7 +147,7 @@
/*
* Kinetis does not have pullups on their Freedom-K66F board
- * So allow the the board config to enable them.
+ * So allow the board config to enable them.
*/
#define BOARD_SDHC_ENABLE_PULLUPS 1
diff --git a/configs/freedom-k66f/src/k66_appinit.c b/configs/freedom-k66f/src/k66_appinit.c
index 1a31c331343..c52a52e6dac 100644
--- a/configs/freedom-k66f/src/k66_appinit.c
+++ b/configs/freedom-k66f/src/k66_appinit.c
@@ -64,7 +64,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/freedom-k66f/src/k66_automount.c b/configs/freedom-k66f/src/k66_automount.c
index fbbe80b72e6..2b9c7a32108 100644
--- a/configs/freedom-k66f/src/k66_automount.c
+++ b/configs/freedom-k66f/src/k66_automount.c
@@ -305,7 +305,7 @@ void k66_automount_event(bool inserted)
if (!state->enable)
{
- /* Yes.. just remember the there is a pending interrupt. We will
+ /* Yes.. just remember that there is a pending interrupt. We will
* deliver the interrupt when interrupts are "re-enabled."
*/
diff --git a/configs/freedom-kl25z/src/kl_appinit.c b/configs/freedom-kl25z/src/kl_appinit.c
index ef425471dd5..5686f6e0146 100644
--- a/configs/freedom-kl25z/src/kl_appinit.c
+++ b/configs/freedom-kl25z/src/kl_appinit.c
@@ -63,7 +63,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/freedom-kl26z/src/kl_appinit.c b/configs/freedom-kl26z/src/kl_appinit.c
index 6b6550c9155..d4b1824b3a8 100644
--- a/configs/freedom-kl26z/src/kl_appinit.c
+++ b/configs/freedom-kl26z/src/kl_appinit.c
@@ -62,7 +62,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/hymini-stm32v/src/stm32_appinit.c b/configs/hymini-stm32v/src/stm32_appinit.c
index 2e1d99f7422..5b99c4445b6 100644
--- a/configs/hymini-stm32v/src/stm32_appinit.c
+++ b/configs/hymini-stm32v/src/stm32_appinit.c
@@ -155,7 +155,7 @@ static int nsh_cdinterrupt(int irq, FAR void *context, FAR void *arg)
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/kwikstik-k40/src/k40_appinit.c b/configs/kwikstik-k40/src/k40_appinit.c
index 790a094551f..104b6a339df 100644
--- a/configs/kwikstik-k40/src/k40_appinit.c
+++ b/configs/kwikstik-k40/src/k40_appinit.c
@@ -189,7 +189,7 @@ static int kinetis_cdinterrupt(int irq, FAR void *context)
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/launchxl-tms57004/README.txt b/configs/launchxl-tms57004/README.txt
index 6c9568f913c..42d199cc85c 100644
--- a/configs/launchxl-tms57004/README.txt
+++ b/configs/launchxl-tms57004/README.txt
@@ -46,7 +46,7 @@ Toolchain
Endian-ness Issues
------------------
- I started using the the "GNU Tools for ARM Embedded Processors" that is
+ I started using the "GNU Tools for ARM Embedded Processors" that is
maintained by ARM.
https://launchpad.net/gcc-arm-embedded
diff --git a/configs/launchxl-tms57004/src/tms570_appinit.c b/configs/launchxl-tms57004/src/tms570_appinit.c
index 6a187b033fd..90360ee7eda 100644
--- a/configs/launchxl-tms57004/src/tms570_appinit.c
+++ b/configs/launchxl-tms57004/src/tms570_appinit.c
@@ -56,7 +56,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/lincoln60/src/lpc17_appinit.c b/configs/lincoln60/src/lpc17_appinit.c
index 2e1426635ca..7642c91395b 100644
--- a/configs/lincoln60/src/lpc17_appinit.c
+++ b/configs/lincoln60/src/lpc17_appinit.c
@@ -61,7 +61,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/lm3s6432-s2e/src/lm_appinit.c b/configs/lm3s6432-s2e/src/lm_appinit.c
index d787ea32583..c7fffb64d98 100644
--- a/configs/lm3s6432-s2e/src/lm_appinit.c
+++ b/configs/lm3s6432-s2e/src/lm_appinit.c
@@ -61,7 +61,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/lm3s6965-ek/src/lm_appinit.c b/configs/lm3s6965-ek/src/lm_appinit.c
index c9eaf61d81c..07153314eae 100644
--- a/configs/lm3s6965-ek/src/lm_appinit.c
+++ b/configs/lm3s6965-ek/src/lm_appinit.c
@@ -111,7 +111,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/lm3s8962-ek/src/lm_appinit.c b/configs/lm3s8962-ek/src/lm_appinit.c
index ba601eacb67..2a9e3b4bdb4 100644
--- a/configs/lm3s8962-ek/src/lm_appinit.c
+++ b/configs/lm3s8962-ek/src/lm_appinit.c
@@ -113,7 +113,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/lm4f120-launchpad/src/lm4f_appinit.c b/configs/lm4f120-launchpad/src/lm4f_appinit.c
index f667597398d..6b19ebdad39 100644
--- a/configs/lm4f120-launchpad/src/lm4f_appinit.c
+++ b/configs/lm4f120-launchpad/src/lm4f_appinit.c
@@ -83,7 +83,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/lpc4330-xplorer/README.txt b/configs/lpc4330-xplorer/README.txt
index c0be1084394..83b318ddfd8 100644
--- a/configs/lpc4330-xplorer/README.txt
+++ b/configs/lpc4330-xplorer/README.txt
@@ -85,7 +85,7 @@ Status
- lpc43_ssp.c
These LPC17xx drivers were not brought into the LPC43xx port because
- it appears the these peripherals have been completely redesigned:
+ it appears that these peripherals have been completely redesigned:
- CAN,
- Ethernet,
diff --git a/configs/lpc4330-xplorer/src/lpc43_appinit.c b/configs/lpc4330-xplorer/src/lpc43_appinit.c
index 751daad9015..5288a7eb88c 100644
--- a/configs/lpc4330-xplorer/src/lpc43_appinit.c
+++ b/configs/lpc4330-xplorer/src/lpc43_appinit.c
@@ -143,7 +143,7 @@ static int nsh_spifi_initialize(void)
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/lpc4337-ws/README.txt b/configs/lpc4337-ws/README.txt
index d8ca540a69a..6f408249813 100644
--- a/configs/lpc4337-ws/README.txt
+++ b/configs/lpc4337-ws/README.txt
@@ -81,7 +81,7 @@ Status
- lpc43_ssp.c
These LPC17xx drivers were not brought into the LPC43xx port because
- it appears the these peripherals have been completely redesigned:
+ it appears that these peripherals have been completely redesigned:
- CAN,
- Ethernet,
diff --git a/configs/lpc4337-ws/src/lpc43_appinit.c b/configs/lpc4337-ws/src/lpc43_appinit.c
index 8f9a0749924..31e4c692e7a 100644
--- a/configs/lpc4337-ws/src/lpc43_appinit.c
+++ b/configs/lpc4337-ws/src/lpc43_appinit.c
@@ -121,7 +121,7 @@ static void lpc43_i2ctool(void)
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/lpc4357-evb/README.txt b/configs/lpc4357-evb/README.txt
index 95955308cc6..d08fe5f1057 100644
--- a/configs/lpc4357-evb/README.txt
+++ b/configs/lpc4357-evb/README.txt
@@ -78,7 +78,7 @@ Status
- lpc43_ssp.c
These LPC17xx drivers were not brought into the LPC43xx port because
- it appears the these peripherals have been completely redesigned:
+ it appears that these peripherals have been completely redesigned:
- CAN,
- Ethernet,
diff --git a/configs/lpc4357-evb/src/lpc43_appinit.c b/configs/lpc4357-evb/src/lpc43_appinit.c
index aea4aaaa19b..96e66b11812 100644
--- a/configs/lpc4357-evb/src/lpc43_appinit.c
+++ b/configs/lpc4357-evb/src/lpc43_appinit.c
@@ -143,7 +143,7 @@ static int nsh_spifi_initialize(void)
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/lpc4370-link2/README.txt b/configs/lpc4370-link2/README.txt
index d39515d7f06..1f0c4092c14 100644
--- a/configs/lpc4370-link2/README.txt
+++ b/configs/lpc4370-link2/README.txt
@@ -81,7 +81,7 @@ Status
- lpc43_ssp.c
These LPC17xx drivers were not brought into the LPC43xx port because
- it appears the these peripherals have been completely redesigned:
+ it appears that these peripherals have been completely redesigned:
- CAN,
- Ethernet,
diff --git a/configs/lpc4370-link2/src/lpc43_appinit.c b/configs/lpc4370-link2/src/lpc43_appinit.c
index ceda373a43c..0d8f5817c0e 100644
--- a/configs/lpc4370-link2/src/lpc43_appinit.c
+++ b/configs/lpc4370-link2/src/lpc43_appinit.c
@@ -120,7 +120,7 @@ static void lpc43_i2ctool(void)
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/lpcxpresso-lpc1115/README.txt b/configs/lpcxpresso-lpc1115/README.txt
index 5b91b43a1fc..41fae32e0ed 100644
--- a/configs/lpcxpresso-lpc1115/README.txt
+++ b/configs/lpcxpresso-lpc1115/README.txt
@@ -159,7 +159,7 @@ Code Red IDE
------------------------------------
Under Cygwin, the Code Red command line tools (e.g., arm-non-eabi-gcc) cannot
- be executed because the they only have execut privileges for Administrators. I
+ be executed because they only have execute privileges for Administrators. I
worked around this by:
Opening a native Cygwin RXVT as Administrator (Right click, "Run as administrator"),
diff --git a/configs/lpcxpresso-lpc1115/src/lpc11_appinit.c b/configs/lpcxpresso-lpc1115/src/lpc11_appinit.c
index 3ca2de59692..b4e7be5c1d8 100644
--- a/configs/lpcxpresso-lpc1115/src/lpc11_appinit.c
+++ b/configs/lpcxpresso-lpc1115/src/lpc11_appinit.c
@@ -113,7 +113,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/lpcxpresso-lpc1768/README.txt b/configs/lpcxpresso-lpc1768/README.txt
index 534108b3099..05e8a7504e0 100644
--- a/configs/lpcxpresso-lpc1768/README.txt
+++ b/configs/lpcxpresso-lpc1768/README.txt
@@ -326,7 +326,7 @@ Code Red IDE
------------------------------------
Under Cygwin, the Code Red command line tools (e.g., arm-non-eabi-gcc) cannot
- be executed because the they only have execut privileges for Administrators. I
+ be executed because they only have execute privileges for Administrators. I
worked around this by:
Opening a native Cygwin RXVT as Administrator (Right click, "Run as administrator"),
diff --git a/configs/lpcxpresso-lpc1768/src/lpc17_appinit.c b/configs/lpcxpresso-lpc1768/src/lpc17_appinit.c
index d922e61963f..dfcb5fcce1d 100644
--- a/configs/lpcxpresso-lpc1768/src/lpc17_appinit.c
+++ b/configs/lpcxpresso-lpc1768/src/lpc17_appinit.c
@@ -124,7 +124,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/maple/src/stm32_appinit.c b/configs/maple/src/stm32_appinit.c
index d1a7c50d22b..1453149a00a 100644
--- a/configs/maple/src/stm32_appinit.c
+++ b/configs/maple/src/stm32_appinit.c
@@ -59,7 +59,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/mbed/src/lpc17_appinit.c b/configs/mbed/src/lpc17_appinit.c
index f371ab764b2..e99d177894b 100644
--- a/configs/mbed/src/lpc17_appinit.c
+++ b/configs/mbed/src/lpc17_appinit.c
@@ -84,7 +84,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/mcu123-lpc214x/src/lpc2148_appinit.c b/configs/mcu123-lpc214x/src/lpc2148_appinit.c
index 1e840af3613..cec38015c75 100644
--- a/configs/mcu123-lpc214x/src/lpc2148_appinit.c
+++ b/configs/mcu123-lpc214x/src/lpc2148_appinit.c
@@ -112,7 +112,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/mikroe-stm32f4/src/stm32_appinit.c b/configs/mikroe-stm32f4/src/stm32_appinit.c
index f42b6bc9173..b0fee207c24 100644
--- a/configs/mikroe-stm32f4/src/stm32_appinit.c
+++ b/configs/mikroe-stm32f4/src/stm32_appinit.c
@@ -161,7 +161,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/mirtoo/src/pic32_appinit.c b/configs/mirtoo/src/pic32_appinit.c
index 2cf57476dd4..8491f578600 100644
--- a/configs/mirtoo/src/pic32_appinit.c
+++ b/configs/mirtoo/src/pic32_appinit.c
@@ -100,7 +100,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/moxa/src/moxart_appinit.c b/configs/moxa/src/moxart_appinit.c
index 1b7c8114d63..a550e1f7779 100644
--- a/configs/moxa/src/moxart_appinit.c
+++ b/configs/moxa/src/moxart_appinit.c
@@ -74,7 +74,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/ne64badge/src/m9s12_appinit.c b/configs/ne64badge/src/m9s12_appinit.c
index 1550f5d519e..113525cb78e 100644
--- a/configs/ne64badge/src/m9s12_appinit.c
+++ b/configs/ne64badge/src/m9s12_appinit.c
@@ -65,7 +65,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/nr5m100-nexys4/src/nr5_appinit.c b/configs/nr5m100-nexys4/src/nr5_appinit.c
index 861f1d44a8a..3e0f74edd7d 100644
--- a/configs/nr5m100-nexys4/src/nr5_appinit.c
+++ b/configs/nr5m100-nexys4/src/nr5_appinit.c
@@ -66,7 +66,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/nucleo-144/src/stm32_appinitialize.c b/configs/nucleo-144/src/stm32_appinitialize.c
index a4ad8423bdb..1b3c3150ac3 100644
--- a/configs/nucleo-144/src/stm32_appinitialize.c
+++ b/configs/nucleo-144/src/stm32_appinitialize.c
@@ -65,7 +65,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/nucleo-f072rb/src/stm32_appinit.c b/configs/nucleo-f072rb/src/stm32_appinit.c
index 0ce7ce4d663..b82a3d54578 100644
--- a/configs/nucleo-f072rb/src/stm32_appinit.c
+++ b/configs/nucleo-f072rb/src/stm32_appinit.c
@@ -62,7 +62,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/nucleo-f091rc/src/stm32_appinit.c b/configs/nucleo-f091rc/src/stm32_appinit.c
index 784c155b6b4..2eb92bcb77e 100644
--- a/configs/nucleo-f091rc/src/stm32_appinit.c
+++ b/configs/nucleo-f091rc/src/stm32_appinit.c
@@ -62,7 +62,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/nucleo-f303re/src/stm32_appinitialize.c b/configs/nucleo-f303re/src/stm32_appinitialize.c
index 621488c57f1..a72dfcd7bf1 100644
--- a/configs/nucleo-f303re/src/stm32_appinitialize.c
+++ b/configs/nucleo-f303re/src/stm32_appinitialize.c
@@ -80,7 +80,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/nucleo-f334r8/src/stm32_appinit.c b/configs/nucleo-f334r8/src/stm32_appinit.c
index 3d1d8410924..7f84f6deb2d 100644
--- a/configs/nucleo-f334r8/src/stm32_appinit.c
+++ b/configs/nucleo-f334r8/src/stm32_appinit.c
@@ -79,7 +79,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/nucleo-f4x1re/src/stm32_appinit.c b/configs/nucleo-f4x1re/src/stm32_appinit.c
index a76eba4b59e..e82a0ef32b8 100644
--- a/configs/nucleo-f4x1re/src/stm32_appinit.c
+++ b/configs/nucleo-f4x1re/src/stm32_appinit.c
@@ -85,7 +85,7 @@ void up_netinitialize(void)
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/nucleo-l432kc/src/stm32_appinit.c b/configs/nucleo-l432kc/src/stm32_appinit.c
index 649147101df..34d703372ef 100644
--- a/configs/nucleo-l432kc/src/stm32_appinit.c
+++ b/configs/nucleo-l432kc/src/stm32_appinit.c
@@ -94,7 +94,7 @@ void up_netinitialize(void)
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/nucleo-l452re/src/stm32_appinit.c b/configs/nucleo-l452re/src/stm32_appinit.c
index 26b1b4f4c51..2a3ba3c518e 100644
--- a/configs/nucleo-l452re/src/stm32_appinit.c
+++ b/configs/nucleo-l452re/src/stm32_appinit.c
@@ -62,7 +62,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/nucleo-l476rg/src/stm32_appinit.c b/configs/nucleo-l476rg/src/stm32_appinit.c
index f66fcdb1eca..479481417e0 100644
--- a/configs/nucleo-l476rg/src/stm32_appinit.c
+++ b/configs/nucleo-l476rg/src/stm32_appinit.c
@@ -94,7 +94,7 @@ void up_netinitialize(void)
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/nucleo-l496zg/src/stm32_appinitialize.c b/configs/nucleo-l496zg/src/stm32_appinitialize.c
index 677f184b61b..a37ba99f127 100644
--- a/configs/nucleo-l496zg/src/stm32_appinitialize.c
+++ b/configs/nucleo-l496zg/src/stm32_appinitialize.c
@@ -84,7 +84,7 @@ struct i2c_master_s* i2c4;
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/olimex-lpc-h3131/src/lpc31_appinit.c b/configs/olimex-lpc-h3131/src/lpc31_appinit.c
index 0a40bb902c8..17916f8b2e8 100644
--- a/configs/olimex-lpc-h3131/src/lpc31_appinit.c
+++ b/configs/olimex-lpc-h3131/src/lpc31_appinit.c
@@ -87,7 +87,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/olimex-lpc1766stk/src/lpc17_appinit.c b/configs/olimex-lpc1766stk/src/lpc17_appinit.c
index e3aa02bd456..22e4858fc3e 100644
--- a/configs/olimex-lpc1766stk/src/lpc17_appinit.c
+++ b/configs/olimex-lpc1766stk/src/lpc17_appinit.c
@@ -329,7 +329,7 @@ static int nsh_usbhostinitialize(void)
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/olimex-lpc2378/src/lpc2378_appinit.c b/configs/olimex-lpc2378/src/lpc2378_appinit.c
index ed9ee4910ab..766295c27af 100644
--- a/configs/olimex-lpc2378/src/lpc2378_appinit.c
+++ b/configs/olimex-lpc2378/src/lpc2378_appinit.c
@@ -96,7 +96,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/olimex-stm32-h405/src/stm32_appinit.c b/configs/olimex-stm32-h405/src/stm32_appinit.c
index d94f29d31b3..43fb94d1fd5 100644
--- a/configs/olimex-stm32-h405/src/stm32_appinit.c
+++ b/configs/olimex-stm32-h405/src/stm32_appinit.c
@@ -88,7 +88,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/olimex-stm32-h407/src/stm32_appinit.c b/configs/olimex-stm32-h407/src/stm32_appinit.c
index f461c2f1933..8d8b56a61fe 100644
--- a/configs/olimex-stm32-h407/src/stm32_appinit.c
+++ b/configs/olimex-stm32-h407/src/stm32_appinit.c
@@ -80,7 +80,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/olimex-stm32-p107/src/stm32_appinit.c b/configs/olimex-stm32-p107/src/stm32_appinit.c
index af7736d2ca1..997d92fe05c 100644
--- a/configs/olimex-stm32-p107/src/stm32_appinit.c
+++ b/configs/olimex-stm32-p107/src/stm32_appinit.c
@@ -71,7 +71,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/olimex-stm32-p207/src/stm32_appinit.c b/configs/olimex-stm32-p207/src/stm32_appinit.c
index fc22cc5affb..1818c08ab30 100644
--- a/configs/olimex-stm32-p207/src/stm32_appinit.c
+++ b/configs/olimex-stm32-p207/src/stm32_appinit.c
@@ -117,7 +117,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/olimex-stm32-p407/README.txt b/configs/olimex-stm32-p407/README.txt
index 0692ffc5023..f77162379f8 100644
--- a/configs/olimex-stm32-p407/README.txt
+++ b/configs/olimex-stm32-p407/README.txt
@@ -429,5 +429,5 @@ STATUS
CCM memory is not included in the heap (CONFIG_STM32_CCMEXCLUDE=y) because
it does not suport DMA, leaving only 128KiB for program usage.
-2107-01-23: Added the the knsh configuration and support for the PROTECTED
+2107-01-23: Added the knsh configuration and support for the PROTECTED
build mode.
diff --git a/configs/olimex-stm32-p407/src/stm32_appinit.c b/configs/olimex-stm32-p407/src/stm32_appinit.c
index a0a6d02d0f1..5880ed2120d 100644
--- a/configs/olimex-stm32-p407/src/stm32_appinit.c
+++ b/configs/olimex-stm32-p407/src/stm32_appinit.c
@@ -71,7 +71,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/olimex-strp711/src/str71_appinit.c b/configs/olimex-strp711/src/str71_appinit.c
index e064cd59883..8059d95c810 100644
--- a/configs/olimex-strp711/src/str71_appinit.c
+++ b/configs/olimex-strp711/src/str71_appinit.c
@@ -113,7 +113,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/olimexino-stm32/src/stm32_appinit.c b/configs/olimexino-stm32/src/stm32_appinit.c
index 4fdc6a1c689..dcd7d24a301 100644
--- a/configs/olimexino-stm32/src/stm32_appinit.c
+++ b/configs/olimexino-stm32/src/stm32_appinit.c
@@ -76,7 +76,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/open1788/src/lpc17_appinit.c b/configs/open1788/src/lpc17_appinit.c
index 7a43837649f..bb39422956c 100644
--- a/configs/open1788/src/lpc17_appinit.c
+++ b/configs/open1788/src/lpc17_appinit.c
@@ -376,7 +376,7 @@ static int nsh_usbhostinitialize(void)
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/pcblogic-pic32mx/src/pic32mx_appinit.c b/configs/pcblogic-pic32mx/src/pic32mx_appinit.c
index 414d4b395b2..528b8d4214d 100644
--- a/configs/pcblogic-pic32mx/src/pic32mx_appinit.c
+++ b/configs/pcblogic-pic32mx/src/pic32mx_appinit.c
@@ -73,7 +73,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/photon/src/stm32_appinit.c b/configs/photon/src/stm32_appinit.c
index 946dfbe8e2b..31c9f61f093 100644
--- a/configs/photon/src/stm32_appinit.c
+++ b/configs/photon/src/stm32_appinit.c
@@ -63,7 +63,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/pic32mx-starterkit/src/pic32mx_appinit.c b/configs/pic32mx-starterkit/src/pic32mx_appinit.c
index 64bba54fc73..68aadbcce2b 100644
--- a/configs/pic32mx-starterkit/src/pic32mx_appinit.c
+++ b/configs/pic32mx-starterkit/src/pic32mx_appinit.c
@@ -359,7 +359,7 @@ static int nsh_usbdevinitialize(void)
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/pic32mx7mmb/src/pic32_appinit.c b/configs/pic32mx7mmb/src/pic32_appinit.c
index 8c62c9a766f..06f54e3b135 100644
--- a/configs/pic32mx7mmb/src/pic32_appinit.c
+++ b/configs/pic32mx7mmb/src/pic32_appinit.c
@@ -369,7 +369,7 @@ static int nsh_usbdevinitialize(void)
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/pic32mz-starterkit/include/board.h b/configs/pic32mz-starterkit/include/board.h
index 3259ce2c32f..05bfa3d8f6f 100644
--- a/configs/pic32mz-starterkit/include/board.h
+++ b/configs/pic32mz-starterkit/include/board.h
@@ -269,7 +269,7 @@
* --------------- --------- -------------- ------------
*
* The following pin assignment is used with the MEB-II board. If you are
- * using signals from PIC32MZEC Adaptor Board (as described in the the README
+ * using signals from PIC32MZEC Adaptor Board (as described in the README
* file), then UART1 signals are available at these locations on the adaptor
* board:
*
diff --git a/configs/pic32mz-starterkit/src/pic32mz_appinit.c b/configs/pic32mz-starterkit/src/pic32mz_appinit.c
index 0b3a3dc8238..ab96a4c20e5 100644
--- a/configs/pic32mz-starterkit/src/pic32mz_appinit.c
+++ b/configs/pic32mz-starterkit/src/pic32mz_appinit.c
@@ -61,7 +61,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/sabre-6quad/README.txt b/configs/sabre-6quad/README.txt
index bff618371e3..61da0e102fb 100644
--- a/configs/sabre-6quad/README.txt
+++ b/configs/sabre-6quad/README.txt
@@ -370,7 +370,7 @@ some other debuggers that you might want to consider.
These instructions all assume that you have built NuttX with debug symbols
enabled. When debugging the nuttx.bin file on the SD card, it is also
-assumed the the nuttx ELF file with the debug symbol addresses is from the
+assumed the nuttx ELF file with the debug symbol addresses is from the
same build so that the symbols match up.
Debugging the NuttX image on the SD card
diff --git a/configs/sabre-6quad/src/imx_appinit.c b/configs/sabre-6quad/src/imx_appinit.c
index 2e32a6771f3..2484d795a85 100644
--- a/configs/sabre-6quad/src/imx_appinit.c
+++ b/configs/sabre-6quad/src/imx_appinit.c
@@ -63,7 +63,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/sam3u-ek/README.txt b/configs/sam3u-ek/README.txt
index f210f1a7ccd..047beaf4781 100644
--- a/configs/sam3u-ek/README.txt
+++ b/configs/sam3u-ek/README.txt
@@ -147,7 +147,7 @@ NuttX EABI "buildroot" Toolchain
building a Cortex-M3 toolchain for Cygwin under Windows.
NOTE: Unfortunately, the 4.6.3 (and later) GCC toolchain is not compatible
- with the the NXFLAT tools. See the top-level TODO file (under "Binary loaders")
+ with the NXFLAT tools. See the top-level TODO file (under "Binary loaders")
for more information about this problem. If you plan to use NXFLAT, please do
not use the GCC 4.6.3 toochain; instead use an older toolchain (such as the GCC
4.3.3 OABI toolchain discussed below).
diff --git a/configs/sam3u-ek/src/sam_appinit.c b/configs/sam3u-ek/src/sam_appinit.c
index 632d630394e..00f2cd2e212 100644
--- a/configs/sam3u-ek/src/sam_appinit.c
+++ b/configs/sam3u-ek/src/sam_appinit.c
@@ -113,7 +113,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/sam4cmp-db/src/sam_appinit.c b/configs/sam4cmp-db/src/sam_appinit.c
index 6bab1d57519..774bb033a8d 100644
--- a/configs/sam4cmp-db/src/sam_appinit.c
+++ b/configs/sam4cmp-db/src/sam_appinit.c
@@ -61,7 +61,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/sam4e-ek/src/sam_appinit.c b/configs/sam4e-ek/src/sam_appinit.c
index aed2a31361d..b9ec0bcf11e 100644
--- a/configs/sam4e-ek/src/sam_appinit.c
+++ b/configs/sam4e-ek/src/sam_appinit.c
@@ -74,7 +74,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/sam4e-ek/src/sam_ethernet.c b/configs/sam4e-ek/src/sam_ethernet.c
index 7b41e6b6220..4b02473bef6 100644
--- a/configs/sam4e-ek/src/sam_ethernet.c
+++ b/configs/sam4e-ek/src/sam_ethernet.c
@@ -159,7 +159,7 @@ void weak_function sam_netinitialize(void)
* and SIOCSMIIREG ioctl calls** to communicate with the PHY,
* determine what network event took place (Link Up/Down?), and
* take the appropriate actions.
- * d. It should then interact the the PHY to clear any pending
+ * d. It should then interact the PHY to clear any pending
* interrupts, then re-enable the PHY interrupt.
*
* * This is an OS internal interface and should not be used from
diff --git a/configs/sam4l-xplained/src/sam_appinit.c b/configs/sam4l-xplained/src/sam_appinit.c
index 15330a80a24..141c51091e1 100644
--- a/configs/sam4l-xplained/src/sam_appinit.c
+++ b/configs/sam4l-xplained/src/sam_appinit.c
@@ -87,7 +87,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/sam4s-xplained-pro/src/sam_appinit.c b/configs/sam4s-xplained-pro/src/sam_appinit.c
index 6cb0cabe912..4ed689f4e8d 100644
--- a/configs/sam4s-xplained-pro/src/sam_appinit.c
+++ b/configs/sam4s-xplained-pro/src/sam_appinit.c
@@ -81,7 +81,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/sama5d2-xult/README.txt b/configs/sama5d2-xult/README.txt
index cb48cc0a298..e1733553568 100644
--- a/configs/sama5d2-xult/README.txt
+++ b/configs/sama5d2-xult/README.txt
@@ -24,7 +24,7 @@ STATUS
1. Most of this document is a partially corrected clone of the SAMA5D4-EK
README.txt and still contains errors and inconsistencies.
-2. Coding is complete for the the basic SAMA5D2-XULT NSH configuration, but
+2. Coding is complete for the basic SAMA5D2-XULT NSH configuration, but
is completely untested as of this writing (2015-09-15). The primary
issue is that I have not yet determine how to load and test code.
@@ -994,7 +994,7 @@ Configurations
NOTES:
- 1. This configuration uses the the USART3 for the serial console
+ 1. This configuration uses the USART3 for the serial console
which is available at the "DBGU" RS-232 connector (J24). That
is easily changed by reconfiguring to (1) enable a different
serial peripheral, and (2) selecting that serial peripheral as
diff --git a/configs/sama5d2-xult/src/sam_appinit.c b/configs/sama5d2-xult/src/sam_appinit.c
index 518dc376968..4159585d222 100644
--- a/configs/sama5d2-xult/src/sam_appinit.c
+++ b/configs/sama5d2-xult/src/sam_appinit.c
@@ -65,7 +65,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/sama5d3-xplained/src/sam_appinit.c b/configs/sama5d3-xplained/src/sam_appinit.c
index ad5d8146f86..c50b057e1c3 100644
--- a/configs/sama5d3-xplained/src/sam_appinit.c
+++ b/configs/sama5d3-xplained/src/sam_appinit.c
@@ -70,7 +70,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/sama5d3-xplained/src/sam_ethernet.c b/configs/sama5d3-xplained/src/sam_ethernet.c
index 501acac39fe..8aff5d9fa40 100644
--- a/configs/sama5d3-xplained/src/sam_ethernet.c
+++ b/configs/sama5d3-xplained/src/sam_ethernet.c
@@ -225,7 +225,7 @@ void weak_function sam_netinitialize(void)
* and SIOCSMIIREG ioctl calls** to communicate with the PHY,
* determine what network event took place (Link Up/Down?), and
* take the appropriate actions.
- * d. It should then interact the the PHY to clear any pending
+ * d. It should then interact the PHY to clear any pending
* interrupts, then re-enable the PHY interrupt.
*
* * This is an OS internal interface and should not be used from
diff --git a/configs/sama5d3x-ek/src/sam_appinit.c b/configs/sama5d3x-ek/src/sam_appinit.c
index f352bcdf974..0d3083ad2bc 100644
--- a/configs/sama5d3x-ek/src/sam_appinit.c
+++ b/configs/sama5d3x-ek/src/sam_appinit.c
@@ -74,7 +74,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/sama5d3x-ek/src/sam_ethernet.c b/configs/sama5d3x-ek/src/sam_ethernet.c
index 5121a03ff4f..3a32d9f882c 100644
--- a/configs/sama5d3x-ek/src/sam_ethernet.c
+++ b/configs/sama5d3x-ek/src/sam_ethernet.c
@@ -225,7 +225,7 @@ void weak_function sam_netinitialize(void)
* and SIOCSMIIREG ioctl calls** to communicate with the PHY,
* determine what network event took place (Link Up/Down?), and
* take the appropriate actions.
- * d. It should then interact the the PHY to clear any pending
+ * d. It should then interact the PHY to clear any pending
* interrupts, then re-enable the PHY interrupt.
*
* * This is an OS internal interface and should not be used from
diff --git a/configs/sama5d3x-ek/src/sam_wm8904.c b/configs/sama5d3x-ek/src/sam_wm8904.c
index 2bba0f3f045..5a49122f313 100644
--- a/configs/sama5d3x-ek/src/sam_wm8904.c
+++ b/configs/sama5d3x-ek/src/sam_wm8904.c
@@ -331,7 +331,7 @@ int sam_wm8904_initialize(int minor)
}
/* No we can embed the WM8904/I2C/I2S conglomerate into a PCM decoder
- * instance so that we will have a PCM front end for the the WM8904
+ * instance so that we will have a PCM front end for the WM8904
* driver.
*/
diff --git a/configs/sama5d4-ek/README.txt b/configs/sama5d4-ek/README.txt
index bff91b7a06b..839daa66dff 100644
--- a/configs/sama5d4-ek/README.txt
+++ b/configs/sama5d4-ek/README.txt
@@ -1276,7 +1276,7 @@ Networking
The ETH1 signals go through line drivers that are enabled via the board
LCD_ETH1_CONFIG signal. Jumper JP2 selects either the EMAC1 or the LCD by
- controlling the the LCD_ETH1_CONFIG signal on the board.
+ controlling the LCD_ETH1_CONFIG signal on the board.
- JP2 open, LCD_ETH1_CONFIG pulled high:
@@ -3243,7 +3243,7 @@ TM7000 LCD/Touchscreen
J9 pin 8 LCD_TWD0_PA30 J4 pin 8 SDA_0
------------------------ -----------------
- The schematic indicates the the MXT468E address is 0x4c/0x4d.
+ The schematic indicates the MXT468E address is 0x4c/0x4d.
Here are the configuration settings the configuration settings that will
enable the maXTouch touchscreen controller:
@@ -3720,7 +3720,7 @@ Configurations
NOTES:
- 1. This configuration uses the the USART3 for the serial console
+ 1. This configuration uses the USART3 for the serial console
which is available at the "DBGU" RS-232 connector (J24). That
is easily changed by reconfiguring to (1) enable a different
serial peripheral, and (2) selecting that serial peripheral as
@@ -3747,7 +3747,7 @@ Configurations
The ETH1 signals go through line drivers that are enabled via the
board LCD_ETH1_CONFIG signal. Jumper JP2 selects either the EMAC1
- or the LCD by controlling the the LCD_ETH1_CONFIG signal on the
+ or the LCD by controlling the LCD_ETH1_CONFIG signal on the
board.
- JP2 open, LCD_ETH1_CONFIG pulled high:
@@ -3789,7 +3789,7 @@ Configurations
NOTES:
- 1. This configuration uses the the USART3 for the serial console
+ 1. This configuration uses the USART3 for the serial console
which is available at the "DBGU" RS-232 connector (J24). That
is easily changed by reconfiguring to (1) enable a different
serial peripheral, and (2) selecting that serial peripheral as
@@ -3868,7 +3868,7 @@ Configurations
NOTES:
- 1. This configuration uses the the USART3 for the serial console
+ 1. This configuration uses the USART3 for the serial console
which is available at the "DBGU" RS-232 connector (J24). That
is easily changed by reconfiguring to (1) enable a different
serial peripheral, and (2) selecting that serial peripheral as
@@ -4021,7 +4021,7 @@ Configurations
NOTES:
- 1. This configuration uses the the USART3 for the serial console
+ 1. This configuration uses the USART3 for the serial console
which is available at the "DBGU" RS-232 connector (J24). That
is easily changed by reconfiguring to (1) enable a different
serial peripheral, and (2) selecting that serial peripheral as
@@ -4109,7 +4109,7 @@ Configurations
Then you will need to follow some special build instructions below
in order to build and install the ROMFS file system image.
- UPDATE: The ROMFS configuration is pre-configured in the the
+ UPDATE: The ROMFS configuration is pre-configured in the
file nuttx/configs/sama5d4-ek/knsh/defconfig.ROMFS
5. Board initialization is performed performed before the application
@@ -4166,7 +4166,7 @@ Configurations
$ make import : This will build the file system.
You will then need to copy the files from apps/bin to an SD card to
- create the the bootable SD card.
+ create the bootable SD card.
6b. General build directions (boot from ROMFS image):
@@ -4225,7 +4225,7 @@ Configurations
NOTES:
- 1. This configuration uses the the USART3 for the serial console
+ 1. This configuration uses the USART3 for the serial console
which is available at the "DBGU" RS-232 connector (J24). That
is easily changed by reconfiguring to (1) enable a different
serial peripheral, and (2) selecting that serial peripheral as
@@ -4933,7 +4933,7 @@ Configurations
NOTES:
- 1. This configuration uses the the USART3 for the serial console
+ 1. This configuration uses the USART3 for the serial console
which is available at the "DBGU" RS-232 connector (J24). That
is easily changed by reconfiguring to (1) enable a different
serial peripheral, and (2) selecting that serial peripheral as
diff --git a/configs/sama5d4-ek/src/sam_appinit.c b/configs/sama5d4-ek/src/sam_appinit.c
index 066bbf00c3a..8cce13cb62a 100644
--- a/configs/sama5d4-ek/src/sam_appinit.c
+++ b/configs/sama5d4-ek/src/sam_appinit.c
@@ -65,7 +65,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/sama5d4-ek/src/sam_automount.c b/configs/sama5d4-ek/src/sam_automount.c
index b838e693d97..af8fd798138 100644
--- a/configs/sama5d4-ek/src/sam_automount.c
+++ b/configs/sama5d4-ek/src/sam_automount.c
@@ -375,7 +375,7 @@ void sam_automount_event(int slotno, bool inserted)
if (!state->enable)
{
- /* Yes.. just remember the there is a pending interrupt. We will
+ /* Yes.. just remember that there is a pending interrupt. We will
* deliver the interrupt when interrupts are "re-enabled."
*/
diff --git a/configs/sama5d4-ek/src/sam_ethernet.c b/configs/sama5d4-ek/src/sam_ethernet.c
index c491ec9dd10..419983f02f6 100644
--- a/configs/sama5d4-ek/src/sam_ethernet.c
+++ b/configs/sama5d4-ek/src/sam_ethernet.c
@@ -195,7 +195,7 @@ void weak_function sam_netinitialize(void)
* and SIOCSMIIREG ioctl calls** to communicate with the PHY,
* determine what network event took place (Link Up/Down?), and
* take the appropriate actions.
- * d. It should then interact the the PHY to clear any pending
+ * d. It should then interact the PHY to clear any pending
* interrupts, then re-enable the PHY interrupt.
*
* * This is an OS internal interface and should not be used from
diff --git a/configs/sama5d4-ek/src/sam_wm8904.c b/configs/sama5d4-ek/src/sam_wm8904.c
index 34ded3756d7..084581106b6 100644
--- a/configs/sama5d4-ek/src/sam_wm8904.c
+++ b/configs/sama5d4-ek/src/sam_wm8904.c
@@ -331,7 +331,7 @@ int sam_wm8904_initialize(int minor)
}
/* No we can embed the WM8904/I2C/I2S conglomerate into a PCM decoder
- * instance so that we will have a PCM front end for the the WM8904
+ * instance so that we will have a PCM front end for the WM8904
* driver.
*/
diff --git a/configs/sama5d4-ek/src/sama5d4-ek.h b/configs/sama5d4-ek/src/sama5d4-ek.h
index 4bf4031976f..1a364f64c23 100644
--- a/configs/sama5d4-ek/src/sama5d4-ek.h
+++ b/configs/sama5d4-ek/src/sama5d4-ek.h
@@ -563,7 +563,7 @@
* J9 pin 8 LCD_TWD0_PA30 J4 pin 8 SDA_0
* ------------------------ -----------------
*
- * The schematic indicates the the MXT468E address is 0x4c/0x4d.
+ * The schematic indicates the MXT468E address is 0x4c/0x4d.
*/
#define PIO_CHG_MXT (PIO_INPUT | PIO_CFG_PULLUP | PIO_CFG_DEGLITCH | \
diff --git a/configs/samd20-xplained/README.txt b/configs/samd20-xplained/README.txt
index d79a298b697..5d8f9c05188 100644
--- a/configs/samd20-xplained/README.txt
+++ b/configs/samd20-xplained/README.txt
@@ -38,7 +38,7 @@ STATUS/ISSUES
2. Garbage appears on the display sometimes after a reset (maybe 20% of
the time) or after a power cycle (less after a power cycle). I don't
understand the cause of of this but most of this can be eliminated by
- simply holding the the reset button longer and releasing it cleanly
+ simply holding the reset button longer and releasing it cleanly
(then it fails maybe 5-10% of the time, maybe because of button
chatter?) (2014-2-18).
diff --git a/configs/samd20-xplained/src/sam_appinit.c b/configs/samd20-xplained/src/sam_appinit.c
index 8bc9a35b4f8..8e901197420 100644
--- a/configs/samd20-xplained/src/sam_appinit.c
+++ b/configs/samd20-xplained/src/sam_appinit.c
@@ -105,7 +105,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/samd21-xplained/README.txt b/configs/samd21-xplained/README.txt
index 6ac8fafe393..8fdacc8f0e5 100644
--- a/configs/samd21-xplained/README.txt
+++ b/configs/samd21-xplained/README.txt
@@ -467,7 +467,7 @@ Configurations
./configure.sh samd21-xplained/
cd -
- Before building, make sure the the PATH environment varaible include the
+ Before building, make sure the PATH environment varaible include the
correct path to the directory than holds your toolchain binaries.
And then build NuttX by simply typing the following. At the conclusion of
diff --git a/configs/samd21-xplained/src/sam_appinit.c b/configs/samd21-xplained/src/sam_appinit.c
index 56afb0ff24f..881af05df62 100644
--- a/configs/samd21-xplained/src/sam_appinit.c
+++ b/configs/samd21-xplained/src/sam_appinit.c
@@ -105,7 +105,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/same70-xplained/include/board.h b/configs/same70-xplained/include/board.h
index 2e5378b82c1..0eee34dc7e3 100644
--- a/configs/same70-xplained/include/board.h
+++ b/configs/same70-xplained/include/board.h
@@ -57,7 +57,7 @@
* Master Clock (MCK): Source = PLLACK, Prescalar = 1 to generate MCK = 120MHz
* CPU clock: 120MHz
*
- * There can be two on-board crystals. However, the the 32.768 crystal is not
+ * There can be two on-board crystals. However, the 32.768 crystal is not
* populated on the stock SAME70. The fallback is to use th on-chip, slow RC
* oscillator which has a frequency of 22-42 KHz, nominally 32 KHz.
*/
diff --git a/configs/same70-xplained/src/sam_appinit.c b/configs/same70-xplained/src/sam_appinit.c
index 4dd89315b75..6dfa27a421f 100644
--- a/configs/same70-xplained/src/sam_appinit.c
+++ b/configs/same70-xplained/src/sam_appinit.c
@@ -63,7 +63,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/same70-xplained/src/sam_ethernet.c b/configs/same70-xplained/src/sam_ethernet.c
index 053003fe11b..413eec47625 100644
--- a/configs/same70-xplained/src/sam_ethernet.c
+++ b/configs/same70-xplained/src/sam_ethernet.c
@@ -263,7 +263,7 @@ int sam_emac0_setmac(void)
* and SIOCSMIIREG ioctl calls** to communicate with the PHY,
* determine what network event took place (Link Up/Down?), and
* take the appropriate actions.
- * d. It should then interact the the PHY to clear any pending
+ * d. It should then interact the PHY to clear any pending
* interrupts, then re-enable the PHY interrupt.
*
* * This is an OS internal interface and should not be used from
diff --git a/configs/saml21-xplained/src/sam_appinit.c b/configs/saml21-xplained/src/sam_appinit.c
index 9f299c1f716..7e4d97a3ea8 100644
--- a/configs/saml21-xplained/src/sam_appinit.c
+++ b/configs/saml21-xplained/src/sam_appinit.c
@@ -105,7 +105,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/samv71-xult/README.txt b/configs/samv71-xult/README.txt
index 182b0cc99aa..7b190de0e1a 100644
--- a/configs/samv71-xult/README.txt
+++ b/configs/samv71-xult/README.txt
@@ -1598,7 +1598,7 @@ can be selected as follow:
./configure.sh samv71-xult/
cd -
-Before building, make sure the the PATH environment variable include the
+Before building, make sure the PATH environment variable include the
correct path to the directory than holds your toolchain binaries.
And then build NuttX by simply typing the following. At the conclusion of
diff --git a/configs/samv71-xult/src/sam_appinit.c b/configs/samv71-xult/src/sam_appinit.c
index 9e59395cc10..acd195f10af 100644
--- a/configs/samv71-xult/src/sam_appinit.c
+++ b/configs/samv71-xult/src/sam_appinit.c
@@ -63,7 +63,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/samv71-xult/src/sam_ethernet.c b/configs/samv71-xult/src/sam_ethernet.c
index 1278b4d6be0..3fff3006b76 100644
--- a/configs/samv71-xult/src/sam_ethernet.c
+++ b/configs/samv71-xult/src/sam_ethernet.c
@@ -267,7 +267,7 @@ int sam_emac0_setmac(void)
* and SIOCSMIIREG ioctl calls** to communicate with the PHY,
* determine what network event took place (Link Up/Down?), and
* take the appropriate actions.
- * d. It should then interact the the PHY to clear any pending
+ * d. It should then interact the PHY to clear any pending
* interrupts, then re-enable the PHY interrupt.
*
* * This is an OS internal interface and should not be used from
diff --git a/configs/samv71-xult/src/sam_wm8904.c b/configs/samv71-xult/src/sam_wm8904.c
index 8ffe0dfe214..4d256485031 100644
--- a/configs/samv71-xult/src/sam_wm8904.c
+++ b/configs/samv71-xult/src/sam_wm8904.c
@@ -331,7 +331,7 @@ int sam_wm8904_initialize(int minor)
}
/* No we can embed the WM8904/I2C/I2S conglomerate into a PCM decoder
- * instance so that we will have a PCM front end for the the WM8904
+ * instance so that we will have a PCM front end for the WM8904
* driver.
*/
diff --git a/configs/shenzhou/src/stm32_appinit.c b/configs/shenzhou/src/stm32_appinit.c
index 2bfb40a59f3..a260c4ec1e9 100644
--- a/configs/shenzhou/src/stm32_appinit.c
+++ b/configs/shenzhou/src/stm32_appinit.c
@@ -150,7 +150,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/sim/src/sim_appinit.c b/configs/sim/src/sim_appinit.c
index 4100ec736bd..c3abef2d591 100644
--- a/configs/sim/src/sim_appinit.c
+++ b/configs/sim/src/sim_appinit.c
@@ -58,7 +58,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/spark/src/stm32_appinit.c b/configs/spark/src/stm32_appinit.c
index 1b484caa489..a666eb089e6 100644
--- a/configs/spark/src/stm32_appinit.c
+++ b/configs/spark/src/stm32_appinit.c
@@ -138,7 +138,7 @@ static bool g_app_initialzed;
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/stm3210e-eval/src/stm32_appinit.c b/configs/stm3210e-eval/src/stm32_appinit.c
index 0b4a1c52c2d..84108fd42b0 100644
--- a/configs/stm3210e-eval/src/stm32_appinit.c
+++ b/configs/stm3210e-eval/src/stm32_appinit.c
@@ -184,7 +184,7 @@ static void stm32_i2ctool(void)
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/stm3220g-eval/src/stm32_appinit.c b/configs/stm3220g-eval/src/stm32_appinit.c
index 0fd45e4a6e5..447bb24f3d2 100644
--- a/configs/stm3220g-eval/src/stm32_appinit.c
+++ b/configs/stm3220g-eval/src/stm32_appinit.c
@@ -197,7 +197,7 @@ static void stm32_i2ctool(void)
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/stm3240g-eval/src/stm32_appinit.c b/configs/stm3240g-eval/src/stm32_appinit.c
index 448c48ba368..d2f847a276c 100644
--- a/configs/stm3240g-eval/src/stm32_appinit.c
+++ b/configs/stm3240g-eval/src/stm32_appinit.c
@@ -215,7 +215,7 @@ static void stm32_i2ctool(void)
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/stm32_tiny/src/stm32_appinit.c b/configs/stm32_tiny/src/stm32_appinit.c
index d9152f5ddf5..e4dacea565f 100644
--- a/configs/stm32_tiny/src/stm32_appinit.c
+++ b/configs/stm32_tiny/src/stm32_appinit.c
@@ -65,7 +65,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/stm32f0discovery/src/stm32_appinit.c b/configs/stm32f0discovery/src/stm32_appinit.c
index a69c731e1eb..3a0ae46ab20 100644
--- a/configs/stm32f0discovery/src/stm32_appinit.c
+++ b/configs/stm32f0discovery/src/stm32_appinit.c
@@ -62,7 +62,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/stm32f103-minimum/src/stm32_appinit.c b/configs/stm32f103-minimum/src/stm32_appinit.c
index e8d545ff666..357090b47df 100644
--- a/configs/stm32f103-minimum/src/stm32_appinit.c
+++ b/configs/stm32f103-minimum/src/stm32_appinit.c
@@ -66,7 +66,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/stm32f3discovery/src/stm32_appinit.c b/configs/stm32f3discovery/src/stm32_appinit.c
index 6007b0a4f6c..f3da7a8025b 100644
--- a/configs/stm32f3discovery/src/stm32_appinit.c
+++ b/configs/stm32f3discovery/src/stm32_appinit.c
@@ -100,7 +100,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/stm32f411e-disco/src/stm32_appinit.c b/configs/stm32f411e-disco/src/stm32_appinit.c
index 984a3d9ab48..1656bb6a9b6 100644
--- a/configs/stm32f411e-disco/src/stm32_appinit.c
+++ b/configs/stm32f411e-disco/src/stm32_appinit.c
@@ -69,7 +69,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/stm32f429i-disco/src/stm32_appinit.c b/configs/stm32f429i-disco/src/stm32_appinit.c
index bbd1b18078c..d7c352f344b 100644
--- a/configs/stm32f429i-disco/src/stm32_appinit.c
+++ b/configs/stm32f429i-disco/src/stm32_appinit.c
@@ -136,7 +136,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/stm32f4discovery/src/stm32_appinit.c b/configs/stm32f4discovery/src/stm32_appinit.c
index 75e635988ca..9382ffab67b 100644
--- a/configs/stm32f4discovery/src/stm32_appinit.c
+++ b/configs/stm32f4discovery/src/stm32_appinit.c
@@ -67,7 +67,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/stm32f4discovery/src/stm32_ethernet.c b/configs/stm32f4discovery/src/stm32_ethernet.c
index fcd6d6c2149..429350a4b21 100644
--- a/configs/stm32f4discovery/src/stm32_ethernet.c
+++ b/configs/stm32f4discovery/src/stm32_ethernet.c
@@ -187,7 +187,7 @@ void weak_function stm32_netinitialize(void)
* and SIOCSMIIREG ioctl calls** to communicate with the PHY,
* determine what network event took place (Link Up/Down?), and
* take the appropriate actions.
- * d. It should then interact the the PHY to clear any pending
+ * d. It should then interact the PHY to clear any pending
* interrupts, then re-enable the PHY interrupt.
*
* * This is an OS internal interface and should not be used from
diff --git a/configs/stm32f746g-disco/src/stm32_appinitialize.c b/configs/stm32f746g-disco/src/stm32_appinitialize.c
index 88d62fc154d..e1feb21c4aa 100644
--- a/configs/stm32f746g-disco/src/stm32_appinitialize.c
+++ b/configs/stm32f746g-disco/src/stm32_appinitialize.c
@@ -58,7 +58,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/stm32l476-mdk/src/stm32_appinit.c b/configs/stm32l476-mdk/src/stm32_appinit.c
index 2633d47302d..4e9a08b4853 100644
--- a/configs/stm32l476-mdk/src/stm32_appinit.c
+++ b/configs/stm32l476-mdk/src/stm32_appinit.c
@@ -90,7 +90,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/stm32l476vg-disco/src/stm32_appinit.c b/configs/stm32l476vg-disco/src/stm32_appinit.c
index 40b204e59ee..00c41a1985d 100644
--- a/configs/stm32l476vg-disco/src/stm32_appinit.c
+++ b/configs/stm32l476vg-disco/src/stm32_appinit.c
@@ -111,7 +111,7 @@ FAR struct mtd_dev_s *g_mtd_fs;
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/stm32ldiscovery/src/stm32_appinit.c b/configs/stm32ldiscovery/src/stm32_appinit.c
index 30db4f50f28..b49827fd04f 100644
--- a/configs/stm32ldiscovery/src/stm32_appinit.c
+++ b/configs/stm32ldiscovery/src/stm32_appinit.c
@@ -63,7 +63,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/sure-pic32mx/src/pic32mx_appinit.c b/configs/sure-pic32mx/src/pic32mx_appinit.c
index ae36428317f..b668e512cb0 100644
--- a/configs/sure-pic32mx/src/pic32mx_appinit.c
+++ b/configs/sure-pic32mx/src/pic32mx_appinit.c
@@ -367,7 +367,7 @@ static int nsh_usbdevinitialize(void)
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/teensy-2.0/src/at90usb_appinit.c b/configs/teensy-2.0/src/at90usb_appinit.c
index ab482aa62f5..2096fc20acf 100644
--- a/configs/teensy-2.0/src/at90usb_appinit.c
+++ b/configs/teensy-2.0/src/at90usb_appinit.c
@@ -60,7 +60,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/teensy-3.x/README.txt b/configs/teensy-3.x/README.txt
index cdcfee7e62f..1513a53256c 100644
--- a/configs/teensy-3.x/README.txt
+++ b/configs/teensy-3.x/README.txt
@@ -143,7 +143,7 @@ Debugging
And, at this point, I don't know how to debug the board. There is no
way to connect a JTAG SWD debuggger, at least not without cutting leads
- to the the MINI54TAN device:
+ to the MINI54TAN device:
See: http://mcuoneclipse.com/2014/08/09/hacking-the-teensy-v3-1-for-swd-debugging/
diff --git a/configs/teensy-3.x/src/k20_appinit.c b/configs/teensy-3.x/src/k20_appinit.c
index ae26f993f68..d59d4d9e218 100644
--- a/configs/teensy-3.x/src/k20_appinit.c
+++ b/configs/teensy-3.x/src/k20_appinit.c
@@ -63,7 +63,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/teensy-lc/src/kl_appinit.c b/configs/teensy-lc/src/kl_appinit.c
index cfe2684ebd6..6bcf8bbd0f6 100644
--- a/configs/teensy-lc/src/kl_appinit.c
+++ b/configs/teensy-lc/src/kl_appinit.c
@@ -65,7 +65,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/tm4c123g-launchpad/src/tm4c_appinit.c b/configs/tm4c123g-launchpad/src/tm4c_appinit.c
index c1ad4dd105f..433528659de 100644
--- a/configs/tm4c123g-launchpad/src/tm4c_appinit.c
+++ b/configs/tm4c123g-launchpad/src/tm4c_appinit.c
@@ -59,7 +59,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/tm4c1294-launchpad/src/tm4c_appinit.c b/configs/tm4c1294-launchpad/src/tm4c_appinit.c
index 35b1f1ce1b8..f866e5e6a98 100644
--- a/configs/tm4c1294-launchpad/src/tm4c_appinit.c
+++ b/configs/tm4c1294-launchpad/src/tm4c_appinit.c
@@ -61,7 +61,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/twr-k60n512/src/k60_appinit.c b/configs/twr-k60n512/src/k60_appinit.c
index 4bbbaee8ddb..78e3933020f 100644
--- a/configs/twr-k60n512/src/k60_appinit.c
+++ b/configs/twr-k60n512/src/k60_appinit.c
@@ -201,7 +201,7 @@ static int kinetis_cdinterrupt(int irq, FAR void *context)
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/twr-k64f120m/src/k64_appinit.c b/configs/twr-k64f120m/src/k64_appinit.c
index 1c59c4aa2af..66d11d94d9f 100644
--- a/configs/twr-k64f120m/src/k64_appinit.c
+++ b/configs/twr-k64f120m/src/k64_appinit.c
@@ -71,7 +71,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/twr-k64f120m/src/k64_automount.c b/configs/twr-k64f120m/src/k64_automount.c
index 5e0ddfb4659..d0ce68f40aa 100644
--- a/configs/twr-k64f120m/src/k64_automount.c
+++ b/configs/twr-k64f120m/src/k64_automount.c
@@ -293,7 +293,7 @@ void k64_automount_event(bool inserted)
if (!state->enable)
{
- /* Yes.. just remember the there is a pending interrupt. We will
+ /* Yes.. just remember that there is a pending interrupt. We will
* deliver the interrupt when interrupts are "re-enabled."
*/
diff --git a/configs/u-blox-c027/src/lpc17_appinit.c b/configs/u-blox-c027/src/lpc17_appinit.c
index 30c6d271617..46ffbfa2f46 100644
--- a/configs/u-blox-c027/src/lpc17_appinit.c
+++ b/configs/u-blox-c027/src/lpc17_appinit.c
@@ -134,7 +134,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/ubw32/src/pic32_appinit.c b/configs/ubw32/src/pic32_appinit.c
index 22cf57b4b00..2fd8dcca469 100644
--- a/configs/ubw32/src/pic32_appinit.c
+++ b/configs/ubw32/src/pic32_appinit.c
@@ -97,7 +97,7 @@ static int nsh_usbdevinitialize(void)
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/viewtool-stm32f107/README.txt b/configs/viewtool-stm32f107/README.txt
index 31d5fc734ee..9161b483ea6 100644
--- a/configs/viewtool-stm32f107/README.txt
+++ b/configs/viewtool-stm32f107/README.txt
@@ -430,7 +430,7 @@ Freescale MPL115A barometer sensor
LCD/Touchscreen Interface
=========================
- An LCD may be connected via J11. Only the the STM32F103 supports the FSMC signals
+ An LCD may be connected via J11. Only the STM32F103 supports the FSMC signals
needed to drive the LCD.
The LCD features an (1) HY32D module with built-in SSD1289 LCD controller, and (a)
@@ -599,7 +599,7 @@ Configurations
NOTES:
1. This configuration will work only on the version the viewtool
- board with the the STM32F107VCT6 installed. If you have a board
+ board with the STM32F107VCT6 installed. If you have a board
with the STM32F103VCT6 installed, please use the nsh configuration
described below.
diff --git a/configs/viewtool-stm32f107/src/stm32_appinit.c b/configs/viewtool-stm32f107/src/stm32_appinit.c
index 82e4ff85af4..ba6e1fd0c94 100644
--- a/configs/viewtool-stm32f107/src/stm32_appinit.c
+++ b/configs/viewtool-stm32f107/src/stm32_appinit.c
@@ -131,7 +131,7 @@ static int rtc_driver_initialize(void)
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/viewtool-stm32f107/src/stm32_ssd1289.c b/configs/viewtool-stm32f107/src/stm32_ssd1289.c
index de4d3a57a86..0b7a152a2bd 100644
--- a/configs/viewtool-stm32f107/src/stm32_ssd1289.c
+++ b/configs/viewtool-stm32f107/src/stm32_ssd1289.c
@@ -109,7 +109,7 @@ static void stm32_enablefsmc(void);
**************************************************************************************/
/* LCD
*
- * An LCD may be connected via J11. Only the the STM32F103 supports the FSMC signals
+ * An LCD may be connected via J11. Only the STM32F103 supports the FSMC signals
* needed to drive the LCD.
*
* The LCD features an (1) HY32D module with built-in SSD1289 LCD controller, and (a)
diff --git a/configs/viewtool-stm32f107/src/viewtool_stm32f107.h b/configs/viewtool-stm32f107/src/viewtool_stm32f107.h
index 508f10c8a27..b9a0329c924 100644
--- a/configs/viewtool-stm32f107/src/viewtool_stm32f107.h
+++ b/configs/viewtool-stm32f107/src/viewtool_stm32f107.h
@@ -207,7 +207,7 @@
/* LCD
*
- * An LCD may be connected via J11. Only the the STM32F103 supports the FSMC signals
+ * An LCD may be connected via J11. Only the STM32F103 supports the FSMC signals
* needed to drive the LCD.
*
* The LCD features an (1) HY32D module with built-in SSD1289 LCD controller, and (a)
diff --git a/configs/xmc4500-relax/src/xmc4_appinit.c b/configs/xmc4500-relax/src/xmc4_appinit.c
index 1621317d4d0..ff79ddfc735 100644
--- a/configs/xmc4500-relax/src/xmc4_appinit.c
+++ b/configs/xmc4500-relax/src/xmc4_appinit.c
@@ -61,7 +61,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/z16f2800100zcog/README.txt b/configs/z16f2800100zcog/README.txt
index 5875a15e0d9..aff6105296b 100644
--- a/configs/z16f2800100zcog/README.txt
+++ b/configs/z16f2800100zcog/README.txt
@@ -142,7 +142,7 @@ following steps:
Where is the specific board configuration that you
wish to build. The following board-specific configurations are
available. You may also need to apply a path to NuttX before making.
-Please refer the the section "Patches" above"
+Please refer the section "Patches" above"
Configuration Sub-directories
=============================
diff --git a/configs/zkit-arm-1769/src/lpc17_appinit.c b/configs/zkit-arm-1769/src/lpc17_appinit.c
index b98cb2bab9c..d6e80895fd2 100644
--- a/configs/zkit-arm-1769/src/lpc17_appinit.c
+++ b/configs/zkit-arm-1769/src/lpc17_appinit.c
@@ -146,7 +146,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/configs/zp214xpa/src/lpc2148_appinit.c b/configs/zp214xpa/src/lpc2148_appinit.c
index b5efe183443..8d526323333 100644
--- a/configs/zp214xpa/src/lpc2148_appinit.c
+++ b/configs/zp214xpa/src/lpc2148_appinit.c
@@ -60,7 +60,7 @@
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/drivers/input/ajoystick.c b/drivers/input/ajoystick.c
index 6665b8fdd21..2868e1542ad 100644
--- a/drivers/input/ajoystick.c
+++ b/drivers/input/ajoystick.c
@@ -832,7 +832,7 @@ errout_with_dusem:
*
* Input Parameters:
* devname - The name of the analog joystick device to be registers.
- * This should be a string of the form "/priv/ajoyN" where N is the the
+ * This should be a string of the form "/priv/ajoyN" where N is the
* minor device number.
* lower - An instance of the platform-specific analog joystick lower
* half driver.
diff --git a/drivers/input/button_upper.c b/drivers/input/button_upper.c
index f5486752fc5..12f2896cf5c 100644
--- a/drivers/input/button_upper.c
+++ b/drivers/input/button_upper.c
@@ -824,7 +824,7 @@ errout_with_dusem:
*
* Input Parameters:
* devname - The name of the button device to be registered.
- * This should be a string of the form "/dev/btnN" where N is the the
+ * This should be a string of the form "/dev/btnN" where N is the
* minor device number.
* lower - An instance of the platform-specific button lower half driver.
*
diff --git a/drivers/input/djoystick.c b/drivers/input/djoystick.c
index bd3c9e47039..62f62fe45af 100644
--- a/drivers/input/djoystick.c
+++ b/drivers/input/djoystick.c
@@ -828,7 +828,7 @@ errout_with_dusem:
*
* Input Parameters:
* devname - The name of the discrete joystick device to be registers.
- * This should be a string of the form "/priv/djoyN" where N is the the
+ * This should be a string of the form "/priv/djoyN" where N is the
* minor device number.
* lower - An instance of the platform-specific discrete joystick lower
* half driver.
diff --git a/drivers/leds/userled_upper.c b/drivers/leds/userled_upper.c
index abf7cc719e3..dbf8f919c13 100644
--- a/drivers/leds/userled_upper.c
+++ b/drivers/leds/userled_upper.c
@@ -523,7 +523,7 @@ static int userled_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
*
* Input Parameters:
* devname - The name of the LED device to be registered.
- * This should be a string of the form "/dev/ledN" where N is the the
+ * This should be a string of the form "/dev/ledN" where N is the
* minor device number.
* lower - An instance of the platform-specific LED lower half driver.
*
diff --git a/drivers/mtd/mtd_config.c b/drivers/mtd/mtd_config.c
index d56c26cc89d..69ac00237d0 100644
--- a/drivers/mtd/mtd_config.c
+++ b/drivers/mtd/mtd_config.c
@@ -276,7 +276,7 @@ static int mtdconfig_writebytes(FAR struct mtdconfig_struct_s *dev, int offset,
while (writelen)
{
- /* Read existing data from the the block into the buffer */
+ /* Read existing data from the block into the buffer */
block = offset / dev->blocksize;
ret = MTD_BREAD(dev->mtd, block, 1, dev->buffer);
diff --git a/drivers/mtd/mtd_onfi.c b/drivers/mtd/mtd_onfi.c
index 4a2a150f0f7..ace56104a1f 100644
--- a/drivers/mtd/mtd_onfi.c
+++ b/drivers/mtd/mtd_onfi.c
@@ -261,7 +261,7 @@ bool onfi_compatible(uintptr_t cmdaddr, uintptr_t addraddr,
* onfi - The ONFI data structure to populate.
*
* Returned Value:
- * OK is returned on success and the the ONFI data structure is initialized
+ * OK is returned on success and the ONFI data structure is initialized
* with NAND data. A negated errno value is returned in the event of an
* error.
*
diff --git a/drivers/mtd/smart.c b/drivers/mtd/smart.c
index bbd7be3cdd0..c5c6e80a3e9 100644
--- a/drivers/mtd/smart.c
+++ b/drivers/mtd/smart.c
@@ -249,7 +249,7 @@ struct smart_struct_s
uint8_t minwearlevel; /* Min level in the wear level bits */
uint8_t maxwearlevel; /* Max level in the wear level bits */
uint8_t *wearstatus; /* Array of wear leveling bits */
- uint32_t uneven_wearcount; /* Number of times the the wear level has gone over max */
+ uint32_t uneven_wearcount; /* Number of times the wear level has gone over max */
#endif
#ifdef CONFIG_MTD_SMART_ENABLE_CRC
FAR struct smart_allocsector_s *allocsector; /* Pointer to first alloc sector */
diff --git a/drivers/serial/ptmx.c b/drivers/serial/ptmx.c
index dd6bd9fd3c5..6a8a3359ce2 100644
--- a/drivers/serial/ptmx.c
+++ b/drivers/serial/ptmx.c
@@ -247,7 +247,7 @@ static int ptmx_open(FAR struct file *filep)
DEBUGASSERT(fd >= 0); /* open() should never fail */
/* No unlink the master. This will remove it from the VFS namespace,
- * the the driver will still persist because of the open count on the
+ * the driver will still persist because of the open count on the
* driver.
*/
diff --git a/drivers/syslog/syslog_device.c b/drivers/syslog/syslog_device.c
index 748f6908d1a..0d49ea4e8ac 100644
--- a/drivers/syslog/syslog_device.c
+++ b/drivers/syslog/syslog_device.c
@@ -335,7 +335,7 @@ int syslog_dev_initialize(FAR const char *devpath, int oflags, int mode)
DEBUGASSERT(g_syslog_dev.sl_state == SYSLOG_UNINITIALIZED ||
g_syslog_dev.sl_state == SYSLOG_REOPEN);
- /* Save the the path to the device in case we have to re-open it.
+ /* Save the path to the device in case we have to re-open it.
* If we get here and sl_devpath is not equal to NULL, that is a clue
* that we will are re-openingthe file.
*/
diff --git a/drivers/usbhost/Kconfig b/drivers/usbhost/Kconfig
index 5e49aa7b864..e8a9a279349 100644
--- a/drivers/usbhost/Kconfig
+++ b/drivers/usbhost/Kconfig
@@ -142,7 +142,7 @@ config USBHOST_CDCACM_REDUCED
status lines. This mode is useful if the number of available
endpoints is limited by hardware restrictions.
- If the the CDC/ACM compliant protocol is selected, then the reduced
+ If the CDC/ACM compliant protocol is selected, then the reduced
protocol is supported for devices that provide not interrupt IN
endpoint. This option is then most useful for testing purposes or
if there are insufficient resources to support the compliant
diff --git a/drivers/usbhost/usbhost_composite.c b/drivers/usbhost/usbhost_composite.c
index cc60adff948..05b8e8b0302 100644
--- a/drivers/usbhost/usbhost_composite.c
+++ b/drivers/usbhost/usbhost_composite.c
@@ -70,7 +70,7 @@
struct usbhost_member_s
{
- /* This the the classobject returned by each contained class */
+ /* This the classobject returned by each contained class */
FAR struct usbhost_class_s *usbclass;
diff --git a/drivers/usbhost/usbhost_devaddr.c b/drivers/usbhost/usbhost_devaddr.c
index 58fbe042977..1b51a089263 100644
--- a/drivers/usbhost/usbhost_devaddr.c
+++ b/drivers/usbhost/usbhost_devaddr.c
@@ -269,7 +269,7 @@ void usbhost_devaddr_initialize(FAR struct usbhost_roothubport_s *rhport)
* newly connected and so is in need of a function address.
*
* Returned Value:
- * On success, a new device function address in the the range 0x01 to 0x7f
+ * On success, a new device function address in the range 0x01 to 0x7f
* is returned. On failure, a negated errno value is returned.
*
****************************************************************************/
diff --git a/drivers/usbhost/usbhost_trace.c b/drivers/usbhost/usbhost_trace.c
index ba47097fa84..bc9963893c7 100644
--- a/drivers/usbhost/usbhost_trace.c
+++ b/drivers/usbhost/usbhost_trace.c
@@ -111,7 +111,7 @@ static int usbhost_trsyslog(uint32_t event, FAR void *arg)
syslog(LOG_INFO, fmt, (unsigned int)TRACE_DECODE_U23(event));
}
- /* No, then it must the the two argument format first. */
+ /* No, then it must the two argument format first. */
else
{
diff --git a/drivers/usbmonitor/Kconfig b/drivers/usbmonitor/Kconfig
index e35c47e4908..69862378e80 100644
--- a/drivers/usbmonitor/Kconfig
+++ b/drivers/usbmonitor/Kconfig
@@ -8,13 +8,13 @@ config USBMONITOR_STACKSIZE
int "USB Monitor daemon stack size"
default 2048
---help---
- The stack size to use the the USB monitor daemon. Default: 2048
+ The stack size to use the USB monitor daemon. Default: 2048
config USBMONITOR_PRIORITY
int "USB Monitor daemon priority"
default 50
---help---
- The priority to use the the USB monitor daemon. Default: 50
+ The priority to use the USB monitor daemon. Default: 50
config USBMONITOR_INTERVAL
int "USB Monitor dump frequency"
diff --git a/drivers/usbmonitor/usbmonitor.c b/drivers/usbmonitor/usbmonitor.c
index 22e34ed5e49..913ceeb1108 100644
--- a/drivers/usbmonitor/usbmonitor.c
+++ b/drivers/usbmonitor/usbmonitor.c
@@ -272,7 +272,7 @@ int usbmonitor_stop(void)
if (g_usbmonitor.started)
{
/* Stop the USB monitor. The next time the monitor wakes up,
- * it will see the the stop indication and will exist.
+ * it will see the stop indication and will exist.
*/
uinfo("Stopping: %d\n", g_usbmonitor.pid);
diff --git a/drivers/wireless/cc3000/socket_imp.c b/drivers/wireless/cc3000/socket_imp.c
index 38341b2939b..2ec41d92e1b 100644
--- a/drivers/wireless/cc3000/socket_imp.c
+++ b/drivers/wireless/cc3000/socket_imp.c
@@ -148,7 +148,7 @@ int HostFlowControlConsumeBuff(int sd)
return -1;
}
- /* We must yield here for the the Event to get processed that returns
+ /* We must yield here for the Event to get processed that returns
* the buffers
*/
diff --git a/graphics/vnc/server/vnc_raw.c b/graphics/vnc/server/vnc_raw.c
index 8e58cfc1d37..35f9f1895db 100644
--- a/graphics/vnc/server/vnc_raw.c
+++ b/graphics/vnc/server/vnc_raw.c
@@ -279,7 +279,7 @@ static size_t vnc_copy32(FAR struct vnc_session_s *session,
*
* Returned Value:
* Zero (OK) on success; A negated errno value is returned on failure that
- * indicates the the nature of the failure. A failure is only returned
+ * indicates the nature of the failure. A failure is only returned
* in cases of a network failure and unexpected internal failures.
*
****************************************************************************/
diff --git a/graphics/vnc/server/vnc_rre.c b/graphics/vnc/server/vnc_rre.c
index cc0d3c93179..5463d42b42c 100644
--- a/graphics/vnc/server/vnc_rre.c
+++ b/graphics/vnc/server/vnc_rre.c
@@ -195,7 +195,7 @@ ssize_t vnc_rre32(FAR struct vnc_session_s *session,
* Zero is returned if RRE coding was not performed (but not error was)
* encountered. Otherwise, the size of the framebuffer update message
* is returned on success or a negated errno value is returned on failure
- * that indicates the the nature of the failure. A failure is only
+ * that indicates the nature of the failure. A failure is only
* returned in cases of a network failure and unexpected internal failures.
*
****************************************************************************/
diff --git a/graphics/vnc/server/vnc_server.h b/graphics/vnc/server/vnc_server.h
index b513861fe85..3abc10dacf1 100644
--- a/graphics/vnc/server/vnc_server.h
+++ b/graphics/vnc/server/vnc_server.h
@@ -491,7 +491,7 @@ int vnc_receiver(FAR struct vnc_session_s *session);
* Zero is returned if RRE coding was not performed (but not error was)
* encountered. Otherwise, the size of the framebuffer update message
* is returned on success or a negated errno value is returned on failure
- * that indicates the the nature of the failure. A failure is only
+ * that indicates the nature of the failure. A failure is only
* returned in cases of a network failure and unexpected internal failures.
*
****************************************************************************/
@@ -511,7 +511,7 @@ int vnc_rre(FAR struct vnc_session_s *session, FAR struct nxgl_rect_s *rect);
*
* Returned Value:
* Zero (OK) on success; A negated errno value is returned on failure that
- * indicates the the nature of the failure. A failure is only returned
+ * indicates the nature of the failure. A failure is only returned
* in cases of a network failure and unexpected internal failures.
*
****************************************************************************/
diff --git a/include/nuttx/arch.h b/include/nuttx/arch.h
index 925ae988ed8..8e02bc35294 100644
--- a/include/nuttx/arch.h
+++ b/include/nuttx/arch.h
@@ -1470,7 +1470,7 @@ int up_prioritize_irq(int irq, int priority);
* any failure.
*
* Assumptions:
- * Called from the the normal tasking context. The implementation must
+ * Called from the normal tasking context. The implementation must
* provide whatever mutual exclusion is necessary for correct operation.
* This can include disabling interrupts in order to assure atomic register
* operations.
@@ -2268,7 +2268,7 @@ int up_rtc_settime(FAR const struct timespec *tp);
* and SIOCSMIIREG ioctl calls** to communicate with the PHY,
* determine what network event took place (Link Up/Down?), and
* take the appropriate actions.
- * d. It should then interact the the PHY to clear any pending
+ * d. It should then interact the PHY to clear any pending
* interrupts, then re-enable the PHY interrupt.
*
* * This is an OS internal interface and should not be used from
diff --git a/include/nuttx/audio/wm8904.h b/include/nuttx/audio/wm8904.h
index 5b2bd7e5491..dc1488b85d7 100644
--- a/include/nuttx/audio/wm8904.h
+++ b/include/nuttx/audio/wm8904.h
@@ -64,7 +64,7 @@
* thread.
* CONFIG_WM8904_BUFFER_SIZE - Preferred buffer size
* CONFIG_WM8904_NUM_BUFFERS - Preferred number of buffers
- * CONFIG_WM8904_WORKER_STACKSIZE - Stack size to use when creating the the
+ * CONFIG_WM8904_WORKER_STACKSIZE - Stack size to use when creating the
* WM8904 worker thread.
* CONFIG_WM8904_REGDUMP - Enable logic to dump all WM8904 registers to
* the SYSLOG device.
diff --git a/include/nuttx/binfmt/binfmt.h b/include/nuttx/binfmt/binfmt.h
index 8ee4b161bc5..40e133ece98 100644
--- a/include/nuttx/binfmt/binfmt.h
+++ b/include/nuttx/binfmt/binfmt.h
@@ -336,8 +336,8 @@ int exec(FAR const char *filename, FAR char * const *argv,
* On success, exepath_init() return a non-NULL, opaque handle that may
* subsequently be used in calls to exepath_next() and exepath_release().
* On error, a NULL handle value will be returned. The most likely cause
- * of an error would be that the there is no value associated with the
- * PATH variable.
+ * of an error would be that there is no value associated with the PATH
+ * variable.
*
****************************************************************************/
diff --git a/include/nuttx/board.h b/include/nuttx/board.h
index c00d09ce3c2..bc67a03a2de 100644
--- a/include/nuttx/board.h
+++ b/include/nuttx/board.h
@@ -46,7 +46,7 @@
* definitions provide the common interface between NuttX and the
* architecture-specific implementation in arch/
*
- * These definitions are retained in the the header file
+ * These definitions are retained in the header file
* nuttx/include/arch.h
*
* NOTE: up_ is supposed to stand for microprocessor; the u is like the
@@ -148,7 +148,7 @@ void board_initialize(void);
* arg - The boardctl() argument is passed to the board_app_initialize()
* implementation without modification. The argument has no
* meaning to NuttX; the meaning of the argument is a contract
- * between the board-specific initalization logic and the the
+ * between the board-specific initalization logic and the
* matching application logic. The value cold be such things as a
* mode enumeration value, a set of DIP switch switch settings, a
* pointer to configuration data read from a file or serial FLASH,
diff --git a/include/nuttx/input/ajoystick.h b/include/nuttx/input/ajoystick.h
index b50d98d56e3..9704943db6b 100644
--- a/include/nuttx/input/ajoystick.h
+++ b/include/nuttx/input/ajoystick.h
@@ -278,7 +278,7 @@ extern "C"
*
* Input Parameters:
* devname - The name of the analog joystick device to be registered.
- * This should be a string of the form "/dev/ajoyN" where N is the the
+ * This should be a string of the form "/dev/ajoyN" where N is the
* minor device number.
* lower - An instance of the platform-specific analog joystick lower
* half driver.
diff --git a/include/nuttx/input/buttons.h b/include/nuttx/input/buttons.h
index 13ba28c3aae..dbaaec45e17 100644
--- a/include/nuttx/input/buttons.h
+++ b/include/nuttx/input/buttons.h
@@ -187,7 +187,7 @@ extern "C"
*
* Input Parameters:
* devname - The name of the button device to be registered.
- * This should be a string of the form "/dev/btnN" where N is the the
+ * This should be a string of the form "/dev/btnN" where N is the
* minor device number.
* lower - An instance of the platform-specific button lower half driver.
*
diff --git a/include/nuttx/input/djoystick.h b/include/nuttx/input/djoystick.h
index fc136cdfd2d..84dbf318aff 100644
--- a/include/nuttx/input/djoystick.h
+++ b/include/nuttx/input/djoystick.h
@@ -255,7 +255,7 @@ extern "C"
*
* Input Parameters:
* devname - The name of the discrete joystick device to be registers.
- * This should be a string of the form "/dev/djoyN" where N is the the
+ * This should be a string of the form "/dev/djoyN" where N is the
* minor device number.
* lower - An instance of the platform-specific discrete joystick lower
* half driver.
diff --git a/include/nuttx/leds/userled.h b/include/nuttx/leds/userled.h
index 093c3b5b9a2..0b9f8b0e25d 100644
--- a/include/nuttx/leds/userled.h
+++ b/include/nuttx/leds/userled.h
@@ -166,7 +166,7 @@ extern "C"
*
* Input Parameters:
* devname - The name of the LED device to be registered.
- * This should be a string of the form "/dev/ledN" where N is the the
+ * This should be a string of the form "/dev/ledN" where N is the
* minor device number.
* lower - An instance of the platform-specific LED lower half driver.
*
diff --git a/include/nuttx/lib/modlib.h b/include/nuttx/lib/modlib.h
index 7df5e34462c..b1f00ef30a5 100644
--- a/include/nuttx/lib/modlib.h
+++ b/include/nuttx/lib/modlib.h
@@ -480,7 +480,7 @@ int modlib_registry_del(FAR struct module_s *modp);
*
* Returned Value:
* If the registry entry is found, a pointer to the module entry is
- * returned. NULL is returned if the they entry is not found.
+ * returned. NULL is returned if the entry is not found.
*
* Assumptions:
* The caller holds the lock on the module registry.
diff --git a/include/nuttx/mtd/onfi.h b/include/nuttx/mtd/onfi.h
index a26d3e3afb2..6ae1649b6f1 100644
--- a/include/nuttx/mtd/onfi.h
+++ b/include/nuttx/mtd/onfi.h
@@ -131,7 +131,7 @@ bool onfi_compatible(uintptr_t cmdaddr, uintptr_t addraddr,
* onfi - The ONFI data structure to populate.
*
* Returned Value:
- * OK is returned on success and the the ONFI data structure is initialized
+ * OK is returned on success and the ONFI data structure is initialized
* with NAND data. A negated errno value is returned in the event of an
* error.
*
diff --git a/include/nuttx/net/netdev.h b/include/nuttx/net/netdev.h
index 782c2e33990..18ea2379450 100644
--- a/include/nuttx/net/netdev.h
+++ b/include/nuttx/net/netdev.h
@@ -258,7 +258,7 @@ struct net_driver_s
FAR uint8_t *d_buf;
/* d_appdata points to the location where application data can be read from
- * or written to in the the packet buffer.
+ * or written to in the packet buffer.
*/
uint8_t *d_appdata;
diff --git a/include/nuttx/net/sixlowpan.h b/include/nuttx/net/sixlowpan.h
index 45395d1c29f..f9b9655f153 100644
--- a/include/nuttx/net/sixlowpan.h
+++ b/include/nuttx/net/sixlowpan.h
@@ -512,7 +512,7 @@ struct ieee802154_driver_s
*
* When the packet in the d_buf is fully reassembled, it will be provided
* to the network as with any other received packet. d_len will be set
- * the the length of the uncompressed, reassembled packet.
+ * the length of the uncompressed, reassembled packet.
*
* After the network processes the packet, d_len will be set to zero.
* Network logic may also decide to send a response to the packet. In
diff --git a/include/nuttx/power/battery_charger.h b/include/nuttx/power/battery_charger.h
index d90db10154b..76cfa9e4476 100644
--- a/include/nuttx/power/battery_charger.h
+++ b/include/nuttx/power/battery_charger.h
@@ -68,7 +68,7 @@
* around the lower-half battery charger driver that does all of the real work.
* Since there is no real data transfer to/or from a battery, all of the
* driver interaction is through IOCTL commands. The IOCTL commands
- * supported by the upper-half driver simply provide calls into the the
+ * supported by the upper-half driver simply provide calls into the
* lower half as summarized below:
*
* BATIOC_STATE - Return the current state of the battery (see
diff --git a/include/nuttx/power/battery_gauge.h b/include/nuttx/power/battery_gauge.h
index 8351faee8ce..e97f8a3d74c 100644
--- a/include/nuttx/power/battery_gauge.h
+++ b/include/nuttx/power/battery_gauge.h
@@ -69,7 +69,7 @@
* real work.
* Since there is no real data transfer to/or from a battery, all of the
* driver interaction is through IOCTIL commands. The IOCTL commands
- * supported by the upper-half driver simply provide calls into the the
+ * supported by the upper-half driver simply provide calls into the
* lower half as summarized below:
*
* BATIOC_STATE - Return the current state of the battery (see
diff --git a/include/nuttx/sdio.h b/include/nuttx/sdio.h
index 035e267710f..41752a264ce 100644
--- a/include/nuttx/sdio.h
+++ b/include/nuttx/sdio.h
@@ -68,7 +68,7 @@
* avoid potentially very long (600Ms+) busy waiting in the MMCSD driver.
*
* To implement D0 Busy signalling, the underlying SDIO driver must be
- * capable of switching the the D0 GPIO to be a rising edge sensitive
+ * capable of switching the D0 GPIO to be a rising edge sensitive
* interrupt pin. It must then, condition that pin to detect the rising
* edge on receipt of SDWAIT_WRCOMPLETE in the SDIO_WAITENABLE call and
* return it back to regular SDIO mode, when either the ISR fires or pin
diff --git a/include/nuttx/spi/slave.h b/include/nuttx/spi/slave.h
index b53ce28f511..ba11c26394a 100644
--- a/include/nuttx/spi/slave.h
+++ b/include/nuttx/spi/slave.h
@@ -268,7 +268,7 @@
* 1) struct spi_sctrlr_s: Defines one interface between the SPI
* slave device and the SPI slave controller hardware. This interface
* is implemented by the SPI slave device controller lower-half driver
- * and is provided to the the SPI slave device driver when that driver
+ * and is provided to the SPI slave device driver when that driver
* is initialized. That SPI slave device initialization function is
* unique to the SPI slave implementation. The prototype is probably
* something like:
diff --git a/include/nuttx/usb/usbhost.h b/include/nuttx/usb/usbhost.h
index 6b6b495954a..7f95b1d5b37 100644
--- a/include/nuttx/usb/usbhost.h
+++ b/include/nuttx/usb/usbhost.h
@@ -516,7 +516,7 @@
* will enqueue the transfer request and return immediately. Only one
* transfer may be queued on a given endpoint/
*
- * When the transfer completes, the the callback will be invoked with the
+ * When the transfer completes, the callback will be invoked with the
* provided argument.
*
* This method is useful for receiving interrupt transfers which may come
@@ -638,7 +638,7 @@ struct usbhost_id_s
uint16_t pid; /* Product ID (for vendor/product specific devices) */
};
-/* The struct usbhost_registry_s type describes information that is kept in the the
+/* The struct usbhost_registry_s type describes information that is kept in the
* USB host registry. USB host class implementations register this information so
* that USB host drivers can later find the class that matches the device that is
* connected to the USB port.
@@ -880,7 +880,7 @@ struct usbhost_driver_s
* will enqueue the transfer request and return immediately. Only one
* transfer may be queued on a given endpoint/
*
- * When the transfer completes, the the callback will be invoked with the
+ * When the transfer completes, the callback will be invoked with the
* provided argument.
*
* This method is useful for receiving interrupt transfers which may come
diff --git a/include/nuttx/usb/usbhost_devaddr.h b/include/nuttx/usb/usbhost_devaddr.h
index 378196b7d3a..f62578e7d4a 100644
--- a/include/nuttx/usb/usbhost_devaddr.h
+++ b/include/nuttx/usb/usbhost_devaddr.h
@@ -120,7 +120,7 @@ void usbhost_devaddr_initialize(FAR struct usbhost_roothubport_s *rhport);
* newly connected and so is in need of a function address.
*
* Returned Value:
- * On success, a new device function address in the the range 0x01 to 0x7f
+ * On success, a new device function address in the range 0x01 to 0x7f
* is returned. On failure, a negated errno value is returned.
*
****************************************************************************/
diff --git a/include/sys/boardctl.h b/include/sys/boardctl.h
index c96215ec93f..e0294e6437c 100644
--- a/include/sys/boardctl.h
+++ b/include/sys/boardctl.h
@@ -58,7 +58,7 @@
* board_app_initialize() implementation without modification.
* The argument has no meaning to NuttX; the meaning of the
* argument is a contract between the board-specific
- * initalization logic and the the matching application logic.
+ * initalization logic and the matching application logic.
* The value cold be such things as a mode enumeration value,
* a set of DIP switch switch settings, a pointer to
* configuration data read from a file or serial FLASH, or
diff --git a/libc/locale/lib_localeconv.c b/libc/locale/lib_localeconv.c
index 697f369cf45..b0338a982ea 100644
--- a/libc/locale/lib_localeconv.c
+++ b/libc/locale/lib_localeconv.c
@@ -62,7 +62,7 @@
FAR struct lconv *localeconv(void)
{
- /* NULL indicates the the locale was not changed */
+ /* NULL indicates the locale was not changed */
return NULL;
}
diff --git a/libc/modlib/modlib_registry.c b/libc/modlib/modlib_registry.c
index 2cab2012301..7fd46289a70 100644
--- a/libc/modlib/modlib_registry.c
+++ b/libc/modlib/modlib_registry.c
@@ -248,7 +248,7 @@ int modlib_registry_del(FAR struct module_s *modp)
*
* Returned Value:
* If the registry entry is found, a pointer to the module entry is
- * returned. NULL is returned if the they entry is not found.
+ * returned. NULL is returned if the entry is not found.
*
* Assumptions:
* The caller holds the lock on the module registry.
@@ -344,4 +344,4 @@ int modlib_registry_foreach(mod_callback_t callback, FAR void *arg)
modlib_registry_unlock();
return ret;
-}
\ No newline at end of file
+}
diff --git a/libc/netdb/lib_dns.h b/libc/netdb/lib_dns.h
index 9a6f25b7e63..ad9661edcaf 100644
--- a/libc/netdb/lib_dns.h
+++ b/libc/netdb/lib_dns.h
@@ -178,7 +178,7 @@ int dns_bind(void);
* Name: dns_query
*
* Description:
- * Using the DNS resolver socket (sd), look up the the 'hostname', and
+ * Using the DNS resolver socket (sd), look up the 'hostname', and
* return its IP address in 'ipaddr'
*
* Input Parameters:
diff --git a/libc/netdb/lib_dnsquery.c b/libc/netdb/lib_dnsquery.c
index 3602a5c8dd5..59196206b66 100644
--- a/libc/netdb/lib_dnsquery.c
+++ b/libc/netdb/lib_dnsquery.c
@@ -411,7 +411,7 @@ static int dns_recv_response(int sd, FAR struct sockaddr *addr,
* Name: dns_query_callback
*
* Description:
- * Using the DNS information and this DNS server address, look up the the
+ * Using the DNS information and this DNS server address, look up the
* hostname.
*
* Input Parameters:
@@ -624,7 +624,7 @@ static int dns_query_callback(FAR void *arg, FAR struct sockaddr *addr,
* Name: dns_query
*
* Description:
- * Using the DNS resolver socket (sd), look up the the 'hostname', and
+ * Using the DNS resolver socket (sd), look up the 'hostname', and
* return its IP address in 'ipaddr'
*
* Input Parameters:
diff --git a/libc/wqueue/work_usrthread.c b/libc/wqueue/work_usrthread.c
index f0815ac0c7a..925e8d6f78b 100644
--- a/libc/wqueue/work_usrthread.c
+++ b/libc/wqueue/work_usrthread.c
@@ -188,7 +188,7 @@ void work_process(FAR struct usr_wqueue_s *wqueue)
work->worker = NULL;
- /* Do the work. Unlock the the work queue while the work is being
+ /* Do the work. Unlock the work queue while the work is being
* performed... we don't have any idea how long this will take!
*/
@@ -223,7 +223,7 @@ void work_process(FAR struct usr_wqueue_s *wqueue)
{
/* This one is not ready.
*
- * NOTE that elapsed is relative to the the current time,
+ * NOTE that elapsed is relative to the current time,
* not the time of beginning of this queue processing pass.
* So it may need an adjustment.
*/
diff --git a/libnx/nxfonts/nxfonts_cache.c b/libnx/nxfonts/nxfonts_cache.c
index 9d45827826a..b2cdf74da0a 100644
--- a/libnx/nxfonts/nxfonts_cache.c
+++ b/libnx/nxfonts/nxfonts_cache.c
@@ -300,7 +300,7 @@ nxf_findglyph(FAR struct nxfonts_fcache_s *priv, uint8_t ch)
glyph != NULL;
prev = glyph, glyph = glyph->flink)
{
- /* Check if we found the the glyph for this character */
+ /* Check if we found the glyph for this character */
if (glyph->code == ch)
{
diff --git a/mm/iob/iob_clone.c b/mm/iob/iob_clone.c
index 8b3754b4827..cfa8150f102 100644
--- a/mm/iob/iob_clone.c
+++ b/mm/iob/iob_clone.c
@@ -86,7 +86,7 @@ int iob_clone(FAR struct iob_s *iob1, FAR struct iob_s *iob2, bool throttled)
iob2->io_pktlen = iob1->io_pktlen;
/* Handle special case where there are empty buffers at the head
- * the the list.
+ * the list.
*/
while (iob1->io_len <= 0)
diff --git a/mm/shm/README.txt b/mm/shm/README.txt
index 681f5a0eb96..81bdfab86e1 100644
--- a/mm/shm/README.txt
+++ b/mm/shm/README.txt
@@ -79,7 +79,7 @@ Concepts
int shmctl(int shmid, int cmd, struct shmid_ds *buf);
In order for a process to make use of the memory region, it must be
- "attached" the the process using:
+ "attached" the process using:
FAR void *shmat(int shmid, FAR const void *shmaddr, int shmflg);
diff --git a/mm/shm/shmat.c b/mm/shm/shmat.c
index 6b677e5ddd0..a81f9747595 100644
--- a/mm/shm/shmat.c
+++ b/mm/shm/shmat.c
@@ -175,7 +175,7 @@ FAR void *shmat(int shmid, FAR const void *shmaddr, int shmflg)
region->sr_ds.shm_nattch++;
- /* Save the process ID of the the last operation */
+ /* Save the process ID of the last operation */
region->sr_ds.shm_lpid = tcb->pid;
diff --git a/mm/shm/shmctl.c b/mm/shm/shmctl.c
index 4e5ac13c5f6..0c468b36af7 100644
--- a/mm/shm/shmctl.c
+++ b/mm/shm/shmctl.c
@@ -106,7 +106,7 @@
* to be stored in the structure pointed to by the buf argument.
*
* POSIX Deviations:
- * - IPC_SET. Does not set the the shm_perm.uid or shm_perm.gid
+ * - IPC_SET. Does not set the shm_perm.uid or shm_perm.gid
* members of the shmid_ds data structure associated with shmid
* because user and group IDs are not yet supported by NuttX
* - IPC_SET. Does not restrict the operation to processes with
@@ -195,7 +195,7 @@ int shmctl(int shmid, int cmd, struct shmid_ds *buf)
goto errout_with_semaphore;
}
- /* Save the process ID of the the last operation */
+ /* Save the process ID of the last operation */
region = &g_shminfo.si_region[shmid];
region->sr_ds.shm_lpid = getpid();
diff --git a/mm/shm/shmdt.c b/mm/shm/shmdt.c
index 55c2fd05544..28c993b6417 100644
--- a/mm/shm/shmdt.c
+++ b/mm/shm/shmdt.c
@@ -173,7 +173,7 @@ int shmdt(FAR const void *shmaddr)
region->sr_ds.shm_nattch--;
}
- /* Save the process ID of the the last operation */
+ /* Save the process ID of the last operation */
region->sr_ds.shm_lpid = tcb->pid;
diff --git a/net/arp/arp.h b/net/arp/arp.h
index 46cd0039f8a..4aca859476c 100644
--- a/net/arp/arp.h
+++ b/net/arp/arp.h
@@ -297,7 +297,7 @@ int arp_poll(FAR struct net_driver_s *dev, devif_poll_callback_t callback);
*
* Description:
* Called BEFORE an ARP request is sent. This function sets up the ARP
- * response timeout before the the ARP request is sent so that there is
+ * response timeout before the ARP request is sent so that there is
* no race condition when arp_wait() is called.
*
* Assumptions:
diff --git a/net/arp/arp_notify.c b/net/arp/arp_notify.c
index 112cb6614a7..ebc7faaea62 100644
--- a/net/arp/arp_notify.c
+++ b/net/arp/arp_notify.c
@@ -72,7 +72,7 @@ static FAR struct arp_notify_s *g_arp_waiters;
*
* Description:
* Called BEFORE an ARP request is sent. This function sets up the ARP
- * response timeout before the the ARP request is sent so that there is
+ * response timeout before the ARP request is sent so that there is
* no race condition when arp_wait() is called.
*
* Assumptions:
diff --git a/net/devif/devif.h b/net/devif/devif.h
index df45f7d8bec..e90377dd585 100644
--- a/net/devif/devif.h
+++ b/net/devif/devif.h
@@ -477,7 +477,7 @@ void devif_iob_send(FAR struct net_driver_s *dev, FAR struct iob_s *buf,
*
* Description:
* Called from socket logic in order to send a raw packet in response to
- * an xmit or poll request from the the network interface driver.
+ * an xmit or poll request from the network interface driver.
*
* This is almost identical to calling devif_send() except that the data to
* be sent is copied into dev->d_buf (vs. dev->d_appdata), since there is
diff --git a/net/devif/devif_pktsend.c b/net/devif/devif_pktsend.c
index 7e6c83a2097..a2b7f07c50e 100644
--- a/net/devif/devif_pktsend.c
+++ b/net/devif/devif_pktsend.c
@@ -84,7 +84,7 @@
*
* Description:
* Called from socket logic in order to send a raw packet in response to
- * an xmit or poll request from the the network interface driver.
+ * an xmit or poll request from the network interface driver.
*
* This is almost identical to calling devif_send() except that the data to
* be sent is copied into dev->d_buf (vs. dev->d_appdata), since there is
diff --git a/net/netdev/netdev_verify.c b/net/netdev/netdev_verify.c
index 14e05b97a03..4d859e2b98b 100644
--- a/net/netdev/netdev_verify.c
+++ b/net/netdev/netdev_verify.c
@@ -71,7 +71,7 @@ bool netdev_verify(FAR struct net_driver_s *dev)
net_lock();
for (chkdev = g_netdevices; chkdev != NULL; chkdev = chkdev->flink)
{
- /* Is the the network device that we are looking for? */
+ /* Is the network device that we are looking for? */
if (chkdev == dev)
{
diff --git a/net/sixlowpan/sixlowpan_input.c b/net/sixlowpan/sixlowpan_input.c
index 9739ab7f610..db4f1c2c9f2 100644
--- a/net/sixlowpan/sixlowpan_input.c
+++ b/net/sixlowpan/sixlowpan_input.c
@@ -739,7 +739,7 @@ static int sixlowpan_dispatch(FAR struct ieee802154_driver_s *ieee)
*
* When the packet in the d_buf is fully reassembled, it will be provided
* to the network as with any other received packet. d_len will be set
- * the the length of the uncompressed, reassembled packet.
+ * the length of the uncompressed, reassembled packet.
*
* After the network processes the packet, d_len will be set to zero.
* Network logic may also decide to send a response to the packet. In
diff --git a/net/sixlowpan/sixlowpan_send.c b/net/sixlowpan/sixlowpan_send.c
index db8337834cc..a8fcdea983f 100644
--- a/net/sixlowpan/sixlowpan_send.c
+++ b/net/sixlowpan/sixlowpan_send.c
@@ -312,7 +312,7 @@ int sixlowpan_send(FAR struct net_driver_s *dev,
sinfo.s_cb->priv = (FAR void *)&sinfo;
sinfo.s_cb->event = send_interrupt;
- /* Notify the the IEEE802.15.4 MAC that we have data to send. */
+ /* Notify the IEEE802.15.4 MAC that we have data to send. */
netdev_txnotify_dev(dev);
diff --git a/net/socket/net_monitor.c b/net/socket/net_monitor.c
index d44a6fe5152..4f41acb5912 100644
--- a/net/socket/net_monitor.c
+++ b/net/socket/net_monitor.c
@@ -241,7 +241,7 @@ int net_startmonitor(FAR struct socket *psock)
conn->connection_devcb = NULL;
conn->connection_event = NULL;
- /* And return -ENOTCONN to indicate the the monitor was not started
+ /* And return -ENOTCONN to indicate the monitor was not started
* because the socket was already disconnected.
*/
diff --git a/net/tcp/tcp.h b/net/tcp/tcp.h
index 8d25bf6ff09..4b3bb85e754 100644
--- a/net/tcp/tcp.h
+++ b/net/tcp/tcp.h
@@ -259,7 +259,7 @@ struct tcp_conn_s
* accept_private: This is private data that will be available to the
* accept() handler when it is invoked with a point to this structure
* as an argument.
- * accept: This is the the pointer to the accept handler.
+ * accept: This is the pointer to the accept handler.
*/
FAR void *accept_private;
@@ -273,7 +273,7 @@ struct tcp_conn_s
* this structure as an argument.
* connection_devcb: this is the allocated callback structure that is
* used to
- * connection_event: This is the the pointer to the connection event
+ * connection_event: This is the pointer to the connection event
* handler.
*/
diff --git a/net/tcp/tcp_send.c b/net/tcp/tcp_send.c
index a68394b24c1..efe8be243f8 100644
--- a/net/tcp/tcp_send.c
+++ b/net/tcp/tcp_send.c
@@ -550,7 +550,7 @@ void tcp_ack(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn,
tcp = TCPIPv6BUF;
tcp_mss = TCP_IPv6_MSS(dev);
- /* Set the the packet length for the TCP Maximum Segment Size */
+ /* Set the packet length for the TCP Maximum Segment Size */
dev->d_len = IPv6TCP_HDRLEN + TCP_OPT_MSS_LEN;
}
@@ -566,7 +566,7 @@ void tcp_ack(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn,
tcp = TCPIPv4BUF;
tcp_mss = TCP_IPv4_MSS(dev);
- /* Set the the packet length for the TCP Maximum Segment Size */
+ /* Set the packet length for the TCP Maximum Segment Size */
dev->d_len = IPv4TCP_HDRLEN + TCP_OPT_MSS_LEN;
}
diff --git a/net/tcp/tcp_send_buffered.c b/net/tcp/tcp_send_buffered.c
index f88b9d5f2b1..7b6d7e639ef 100644
--- a/net/tcp/tcp_send_buffered.c
+++ b/net/tcp/tcp_send_buffered.c
@@ -230,7 +230,7 @@ static inline void psock_lost_connection(FAR struct socket *psock,
static inline void send_ipselect(FAR struct net_driver_s *dev,
FAR struct tcp_conn_s *conn)
{
- /* Which domain the the socket support */
+ /* Which domain the socket support */
if (conn->domain == PF_INET)
{
diff --git a/net/tcp/tcp_send_unbuffered.c b/net/tcp/tcp_send_unbuffered.c
index 9571819952e..2ad73a02d46 100644
--- a/net/tcp/tcp_send_unbuffered.c
+++ b/net/tcp/tcp_send_unbuffered.c
@@ -181,7 +181,7 @@ static inline int send_timeout(FAR struct send_s *pstate)
static inline void tcpsend_ipselect(FAR struct net_driver_s *dev,
FAR struct tcp_conn_s *conn)
{
- /* Which domain the the socket support */
+ /* Which domain the socket support */
if (conn->domain == PF_INET)
{
diff --git a/net/udp/udp_psock_sendto.c b/net/udp/udp_psock_sendto.c
index a7b7a9d0322..8cdac7ff4b2 100644
--- a/net/udp/udp_psock_sendto.c
+++ b/net/udp/udp_psock_sendto.c
@@ -181,7 +181,7 @@ static inline void sendto_ipselect(FAR struct net_driver_s *dev,
FAR struct socket *psock = pstate->st_sock;
DEBUGASSERT(psock);
- /* Which domain the the socket support */
+ /* Which domain the socket support */
if (psock->s_domain == PF_INET)
{
diff --git a/sched/Kconfig b/sched/Kconfig
index 6cefe0e121f..c8725bae9f1 100644
--- a/sched/Kconfig
+++ b/sched/Kconfig
@@ -101,7 +101,7 @@ config USEC_PER_TICK
In the "normal" configuration where system time is provided by a
periodic timer interrupt, the default system timer is expected to
run at 100Hz or USEC_PER_TICK=10000. This setting must be defined
- to inform of NuttX the interval that the the processor hardware is
+ to inform of NuttX the interval that the processor hardware is
providing system timer interrupts to the OS.
If SCHED_TICKLESS is selected, then there are no system timer
@@ -110,7 +110,7 @@ config USEC_PER_TICK
by clock_systimer() and the resolution of times that can be set for
certain delays including watchdog timers and delayed work. In this
case there is a trade-off: It is better to have the USEC_PER_TICK as
- low as possible for higher timing resolution. However, the the time
+ low as possible for higher timing resolution. However, the time
is currently held in 'unsigned int' on some systems, this may be
16-bits but on most contemporary systems it will be 32-bits. In
either case, smaller values of USEC_PER_TICK will reduce the range
diff --git a/sched/group/group_join.c b/sched/group/group_join.c
index 5aecedebe71..7fb2a817fa9 100644
--- a/sched/group/group_join.c
+++ b/sched/group/group_join.c
@@ -157,7 +157,7 @@ static inline int group_addmember(FAR struct task_group_s *group, pid_t pid)
*
* Assumptions:
* - The parent task from which the group will be inherited is the task at
- * the thead of the ready to run list.
+ * the head of the ready to run list.
* - Called during thread creation in a safe context. No special precautions
* are required here.
*
@@ -194,7 +194,7 @@ int group_bind(FAR struct pthread_tcb_s *tcb)
*
* Assumptions:
* - The parent task from which the group will be inherited is the task at
- * the thead of the ready to run list.
+ * the head of the ready to run list.
* - Called during thread creation in a safe context. No special precautions
* are required here.
*
diff --git a/sched/pthread/pthread_cleanup.c b/sched/pthread/pthread_cleanup.c
index 6c71cd8c138..1fa0f6d0b69 100644
--- a/sched/pthread/pthread_cleanup.c
+++ b/sched/pthread/pthread_cleanup.c
@@ -127,7 +127,7 @@ static void pthread_cleanup_pop_tcb(FAR struct pthread_tcb_s *tcb, int execute)
* - The thread calls pthread_cleanup_pop() with a non-zero execute argument.
*
* Input Parameters:
- * routine - The cleanup routine to be pushed on the the cleanup stack.
+ * routine - The cleanup routine to be pushed on the cleanup stack.
* arg - An argument that will accompany the callback.
* execute - Execute the popped cleanup function immediately.
*
diff --git a/sched/sched/sched_resumescheduler.c b/sched/sched/sched_resumescheduler.c
index 0c451e1577b..52eaef83745 100644
--- a/sched/sched/sched_resumescheduler.c
+++ b/sched/sched/sched_resumescheduler.c
@@ -96,7 +96,7 @@ void sched_resume_scheduler(FAR struct tcb_s *tcb)
#endif
#ifdef CONFIG_SCHED_INSTRUMENTATION
- /* Inidicate the the task has been resumed */
+ /* Inidicate the task has been resumed */
sched_note_resume(tcb);
#endif
diff --git a/sched/sched/sched_setaffinity.c b/sched/sched/sched_setaffinity.c
index c2d50af146d..734745e1778 100644
--- a/sched/sched/sched_setaffinity.c
+++ b/sched/sched/sched_setaffinity.c
@@ -137,7 +137,7 @@ int sched_setaffinity(pid_t pid, size_t cpusetsize, FAR const cpu_set_t *mask)
if ((tcb->affinity & (1 << tcb->cpu)) == 0)
{
- /* No.. then we will need to move the task from the the assigned
+ /* No.. then we will need to move the task from the assigned
* task list to some other ready to run list.
*
* sched_setpriority() will do just what we want... it will remove
diff --git a/sched/sched/sched_setpriority.c b/sched/sched/sched_setpriority.c
index bf273e1e5b2..abad51b801d 100644
--- a/sched/sched/sched_setpriority.c
+++ b/sched/sched/sched_setpriority.c
@@ -215,7 +215,7 @@ static void sched_readytorun_setpriority(FAR struct tcb_s *tcb,
cpu = tcb->cpu;
}
- /* The running task is the the task at the head of the g_assignedtasks[]
+ /* The running task is the task at the head of the g_assignedtasks[]
* associated with the selected CPU.
*/
diff --git a/sched/sched/sched_sporadic.c b/sched/sched/sched_sporadic.c
index 086e27d44f6..68996012fe5 100644
--- a/sched/sched/sched_sporadic.c
+++ b/sched/sched/sched_sporadic.c
@@ -1153,7 +1153,7 @@ int sched_sporadic_suspend(FAR struct tcb_s *tcb)
*
* Returned Value:
* The number if ticks remaining until the budget interval expires.
- * Zero is returned if we are in the low-priority phase of the the
+ * Zero is returned if we are in the low-priority phase of the
* replenishment interval.
*
* Assumptions:
@@ -1182,7 +1182,7 @@ uint32_t sched_sporadic_process(FAR struct tcb_s *tcb, uint32_t ticks,
return 0;
}
- /* Check if the the budget interval has elapse If 'ticks' is greater
+ /* Check if the budget interval has elapse If 'ticks' is greater
* than the timeslice value, then we ignore any excess amount.
*
* 'ticks' should never be greater than the remaining timeslice. We try
@@ -1231,7 +1231,7 @@ uint32_t sched_sporadic_process(FAR struct tcb_s *tcb, uint32_t ticks,
return 1;
}
- /* Another possibility is the the budget interval is equal to the
+ /* Another possibility is the budget interval is equal to the
* entire replenishment interval. This would not seem like such a
* good thing to do, but is certainly permitted.
*/
diff --git a/sched/sched/sched_suspendscheduler.c b/sched/sched/sched_suspendscheduler.c
index f938a82e015..857cb0be17f 100644
--- a/sched/sched/sched_suspendscheduler.c
+++ b/sched/sched/sched_suspendscheduler.c
@@ -84,7 +84,7 @@ void sched_suspend_scheduler(FAR struct tcb_s *tcb)
#endif
#ifdef CONFIG_SCHED_INSTRUMENTATION
- /* Inidicate the the task has been suspended */
+ /* Inidicate the task has been suspended */
sched_note_suspend(tcb);
#endif
diff --git a/sched/task/task_getpid.c b/sched/task/task_getpid.c
index 29ae703e875..51460f97f20 100644
--- a/sched/task/task_getpid.c
+++ b/sched/task/task_getpid.c
@@ -60,7 +60,7 @@ pid_t getpid(void)
{
FAR struct tcb_s *rtcb;
- /* Get the the TCB at the head of the ready-to-run task list. That
+ /* Get the TCB at the head of the ready-to-run task list. That
* will be the currently executing task. There is an exception to
* this: Early in the start-up sequence, the ready-to-run list may be
* empty! This case, of course, the start-up/IDLE thread with pid == 0
diff --git a/sched/task/task_terminate.c b/sched/task/task_terminate.c
index 4a42c8232ec..415ba8994bf 100644
--- a/sched/task/task_terminate.c
+++ b/sched/task/task_terminate.c
@@ -146,7 +146,7 @@ int task_terminate(pid_t pid, bool nonblocking)
cpu = sched_cpu_pause(dtcb);
- /* Get the task list associated with the the thread's state and CPU */
+ /* Get the task list associated with the thread's state and CPU */
tasklist = TLIST_HEAD(dtcb->task_state, cpu);
#else
diff --git a/sched/task/task_vfork.c b/sched/task/task_vfork.c
index 73246ac76e6..7c15868cc93 100644
--- a/sched/task/task_vfork.c
+++ b/sched/task/task_vfork.c
@@ -399,7 +399,7 @@ pid_t task_vforkstart(FAR struct task_tcb_s *child)
/* Eliminate a race condition by disabling pre-emption. The child task
* can be instantiated, but cannot run until we call waitpid(). This
- * assures us that we cannot miss the the death-of-child signal (only
+ * assures us that we cannot miss the death-of-child signal (only
* needed in the SMP case).
*/
diff --git a/sched/wdog/wd_create.c b/sched/wdog/wd_create.c
index 6b9f944cd93..8bd64961536 100644
--- a/sched/wdog/wd_create.c
+++ b/sched/wdog/wd_create.c
@@ -82,7 +82,7 @@ WDOG_ID wd_create (void)
flags = enter_critical_section();
/* If we are in an interrupt handler -OR- if the number of pre-allocated
- * timer structures exceeds the reserve, then take the the next timer from
+ * timer structures exceeds the reserve, then take the next timer from
* the head of the free list.
*/
diff --git a/sched/wdog/wd_start.c b/sched/wdog/wd_start.c
index 227a7933bd9..f94f9c23207 100644
--- a/sched/wdog/wd_start.c
+++ b/sched/wdog/wd_start.c
@@ -403,7 +403,7 @@ int wd_start(WDOG_ID wdog, int32_t delay, wdentry_t wdentry, int argc, ...)
*
* Parameters:
* ticks - If CONFIG_SCHED_TICKLESS is defined then the number of ticks
- * in the the interval that just expired is provided. Otherwise,
+ * in the interval that just expired is provided. Otherwise,
* this function is called on each timer interrupt and a value of one
* is implicit.
*
diff --git a/sched/wdog/wdog.h b/sched/wdog/wdog.h
index 73e4d4b9698..4b51b2355f8 100644
--- a/sched/wdog/wdog.h
+++ b/sched/wdog/wdog.h
@@ -116,7 +116,7 @@ void weak_function wd_initialize(void);
*
* Parameters:
* ticks - If CONFIG_SCHED_TICKLESS is defined then the number of ticks
- * in the the interval that just expired is provided. Otherwise,
+ * in the interval that just expired is provided. Otherwise,
* this function is called on each timer interrupt and a value of one
* is implicit.
*
diff --git a/sched/wqueue/kwork_process.c b/sched/wqueue/kwork_process.c
index 8354a81fca1..2a5fab2611a 100644
--- a/sched/wqueue/kwork_process.c
+++ b/sched/wqueue/kwork_process.c
@@ -185,7 +185,7 @@ void work_process(FAR struct kwork_wqueue_s *wqueue, systime_t period, int wndx)
{
/* This one is not ready.
*
- * NOTE that elapsed is relative to the the current time,
+ * NOTE that elapsed is relative to the current time,
* not the time of beginning of this queue processing pass.
* So it may need an adjustment.
*/
diff --git a/tools/Config.mk b/tools/Config.mk
index f222cc0e0ee..9a78aea7435 100644
--- a/tools/Config.mk
+++ b/tools/Config.mk
@@ -156,7 +156,7 @@ endef
# Example: $(call MOVEOBJ, prefix, directory)
#
# This is only used in directories that keep object files in sub-directories.
-# Certain compilers (ZDS-II) always place the resulting files in the the
+# Certain compilers (ZDS-II) always place the resulting files in the
# directory where the compiler was invoked with not option to generate objects
# in a different location.
diff --git a/tools/README.txt b/tools/README.txt
index 282be57b42b..e44f64a8d4b 100644
--- a/tools/README.txt
+++ b/tools/README.txt
@@ -682,7 +682,7 @@ refresh.sh
The steps to refresh the file taken by refresh.sh are:
1. Make tools/cmpconfig if it is not already built.
- 2. Copy the the defconfig file to the top-level NuttX
+ 2. Copy the defconfig file to the top-level NuttX
directory as .config (being careful to save any previous
.config file that you might want to keep!).
3. Execute 'make oldconfig' to update the configuration.