diff options
Diffstat (limited to 'nuttx/arch/arm/src/stm32')
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_can.c | 2 | ||||
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_eth.c | 8 | ||||
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_iwdg.c | 2 | ||||
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_otgfshost.c | 6 | ||||
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_rcc.h | 2 | ||||
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_sdio.c | 6 | ||||
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_vectors.S | 2 | ||||
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_wwdg.c | 2 | ||||
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32f20xxx_dma.c | 2 | ||||
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32f40xxx_dma.c | 2 |
10 files changed, 17 insertions, 17 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_can.c b/nuttx/arch/arm/src/stm32/stm32_can.c index a3011cde4..9333baec3 100644 --- a/nuttx/arch/arm/src/stm32/stm32_can.c +++ b/nuttx/arch/arm/src/stm32/stm32_can.c @@ -1332,7 +1332,7 @@ static int can_bittiming(struct stm32_can_s *priv) canllvdbg("TS1: %d TS2: %d BRP: %d\n", ts1, ts2, brp); - /* Configure bit timing. This also does the the following, less obvious + /* Configure bit timing. This also does the following, less obvious * things. Unless loopback mode is enabled, it: * * - Disables silent mode. diff --git a/nuttx/arch/arm/src/stm32/stm32_eth.c b/nuttx/arch/arm/src/stm32/stm32_eth.c index 09efaf193..c61ea1f7c 100644 --- a/nuttx/arch/arm/src/stm32/stm32_eth.c +++ b/nuttx/arch/arm/src/stm32/stm32_eth.c @@ -1219,7 +1219,7 @@ static int stm32_uiptxpoll(struct uip_driver_s *dev) * * Description: * The function is called when a frame is received using the DMA receive - * interrupt. It scans the RX descriptors to the the received frame. + * interrupt. It scans the RX descriptors to the received frame. * * Parameters: * priv - Reference to the driver state structure @@ -1347,7 +1347,7 @@ static void stm32_disableint(FAR struct stm32_ethmac_s *priv, uint32_t ierbit) * * Description: * The function is called when a frame is received using the DMA receive - * interrupt. It scans the RX descriptors to the the received frame. + * interrupt. It scans the RX descriptors to the received frame. * * Parameters: * priv - Reference to the driver state structure @@ -1506,7 +1506,7 @@ static int stm32_recvframe(FAR struct stm32_ethmac_s *priv) dev->d_len = ((rxdesc->rdes0 & ETH_RDES0_FL_MASK) >> ETH_RDES0_FL_SHIFT) - 4; /* Get a buffer from the free list. We don't even check if - * this is successful because we already assure the the free + * this is successful because we already assure the free * list is not empty above. */ @@ -2536,7 +2536,7 @@ static inline int stm32_dm9161(FAR struct stm32_ethmac_s *priv) return ret; } - /* Bit 8 of the DSCR register is zero, the the DM9161 has not selected RMII. + /* Bit 8 of the DSCR register is zero, then the DM9161 has not selected RMII. * If RMII is not selected, then reset the MCU to recover. */ diff --git a/nuttx/arch/arm/src/stm32/stm32_iwdg.c b/nuttx/arch/arm/src/stm32/stm32_iwdg.c index fd51ba0fe..6b4bc5b65 100644 --- a/nuttx/arch/arm/src/stm32/stm32_iwdg.c +++ b/nuttx/arch/arm/src/stm32/stm32_iwdg.c @@ -673,7 +673,7 @@ void stm32_iwdginitialize(FAR const char *devpath, uint32_t lsifreq) /* Make sure that the LSI ocsillator is enabled. NOTE: The LSI oscillator * is enabled here but is not disabled by this file (because this file does - * not know the the global usage of the oscillator. Any clock management + * not know the global usage of the oscillator. Any clock management * logic (say, as part of a power management scheme) needs handle other * LSI controls outside of this file. */ diff --git a/nuttx/arch/arm/src/stm32/stm32_otgfshost.c b/nuttx/arch/arm/src/stm32/stm32_otgfshost.c index 84903b3f8..c3a795faf 100644 --- a/nuttx/arch/arm/src/stm32/stm32_otgfshost.c +++ b/nuttx/arch/arm/src/stm32/stm32_otgfshost.c @@ -996,7 +996,7 @@ static int stm32_chan_wait(FAR struct stm32_usbhost_s *priv, static void stm32_chan_wakeup(FAR struct stm32_usbhost_s *priv, FAR struct stm32_chan_s *chan) { - /* Is the the transfer complete? Is there a thread waiting for this transfer + /* Is the transfer complete? Is there a thread waiting for this transfer * to complete? */ @@ -1774,7 +1774,7 @@ static inline void stm32_gint_hcinisr(FAR struct stm32_usbhost_s *priv, stm32_chan_halt(priv, chidx, CHREASON_XFRC); /* Clear any pending NAK condition. The 'indata1' data toggle - * should have been appropriately updated by the the RxFIFO + * should have been appropriately updated by the RxFIFO * logic as each packet was received. */ @@ -2961,7 +2961,7 @@ static inline void stm32_hostinit_enable(void) * Enable Tx FIFO empty interrupts. This is necessary when the entire * transfer will not fit into Tx FIFO. The transfer will then be completed * when the Tx FIFO is empty. NOTE: The Tx FIFO interrupt is disabled - * the the fifo empty interrupt handler when the transfer is complete. + * the fifo empty interrupt handler when the transfer is complete. * * Input Parameters: * priv - Driver state structure reference diff --git a/nuttx/arch/arm/src/stm32/stm32_rcc.h b/nuttx/arch/arm/src/stm32/stm32_rcc.h index 4f96f21da..76c47680e 100644 --- a/nuttx/arch/arm/src/stm32/stm32_rcc.h +++ b/nuttx/arch/arm/src/stm32/stm32_rcc.h @@ -76,7 +76,7 @@ extern "C" * Public Data ************************************************************************************/ -/* This symbol references the Cortex-M3 vector table (as positioned by the the linker +/* This symbol references the Cortex-M3 vector table (as positioned by the linker * script, ld.script or ld.script.dfu. The standard location for the vector table is * at the beginning of FLASH at address 0x0800:0000. If we are using the STMicro DFU * bootloader, then the vector table will be offset to a different location in FLASH diff --git a/nuttx/arch/arm/src/stm32/stm32_sdio.c b/nuttx/arch/arm/src/stm32/stm32_sdio.c index 8b8d4d1de..6e94b16a1 100644 --- a/nuttx/arch/arm/src/stm32/stm32_sdio.c +++ b/nuttx/arch/arm/src/stm32/stm32_sdio.c @@ -203,7 +203,7 @@ # error "Unknown STM32 DMA" #endif -/* SDIO DMA Channel/Stream selection. For the the case of the STM32 F4, there +/* SDIO DMA Channel/Stream selection. For the case of the STM32 F4, there * are multiple DMA stream options that must be dis-ambiguated in the board.h * file. */ @@ -682,7 +682,7 @@ static void stm32_setpwrctrl(uint32_t pwrctrl) * * Description: * Return the current value of the the PWRCTRL field of the SDIO POWER - * register. This function can be used to see the the SDIO is power ON + * register. This function can be used to see if the SDIO is powered ON * or OFF * * Input Parameters: @@ -952,7 +952,7 @@ static void stm32_dataconfig(uint32_t timeout, uint32_t dlen, uint32_t dctrl) * Name: stm32_datadisable * * Description: - * Disable the the SDIO data path setup by stm32_dataconfig() and + * Disable the SDIO data path setup by stm32_dataconfig() and * disable DMA. * ****************************************************************************/ diff --git a/nuttx/arch/arm/src/stm32/stm32_vectors.S b/nuttx/arch/arm/src/stm32/stm32_vectors.S index 37c53e8d5..a49729de3 100644 --- a/nuttx/arch/arm/src/stm32/stm32_vectors.S +++ b/nuttx/arch/arm/src/stm32/stm32_vectors.S @@ -251,7 +251,7 @@ stm32_common: sub r1, #(4*SW_FPU_REGS) #endif - /* Save the the remaining registers on the stack after the registers pushed + /* Save the remaining registers on the stack after the registers pushed * by the exception handling logic. r2=SP and r3=primask or basepri, r4-r11, * r14=register values. */ diff --git a/nuttx/arch/arm/src/stm32/stm32_wwdg.c b/nuttx/arch/arm/src/stm32/stm32_wwdg.c index 4506fa4e0..ed3721cfe 100644 --- a/nuttx/arch/arm/src/stm32/stm32_wwdg.c +++ b/nuttx/arch/arm/src/stm32/stm32_wwdg.c @@ -623,7 +623,7 @@ static int stm32_settimeout(FAR struct watchdog_lowerhalf_s *lower, * lower - A pointer the publicly visible representation of the "lower-half" * driver state structure. * newhandler - The new watchdog expiration function pointer. If this - * function pointer is NULL, then the the reset-on-expiration + * function pointer is NULL, then the reset-on-expiration * behavior is restored, * * Returned Values: diff --git a/nuttx/arch/arm/src/stm32/stm32f20xxx_dma.c b/nuttx/arch/arm/src/stm32/stm32f20xxx_dma.c index 71ac263fb..0186bec15 100644 --- a/nuttx/arch/arm/src/stm32/stm32f20xxx_dma.c +++ b/nuttx/arch/arm/src/stm32/stm32f20xxx_dma.c @@ -521,7 +521,7 @@ void weak_function up_dmainitialize(void) * * Input parameter: * dmamap - Identifies the stream/channel resource. For the STM32 F2, this - * is a bit-encoded value as provided by the the DMAMAP_* definitions + * is a bit-encoded value as provided by the DMAMAP_* definitions * in chip/stm32f20xxx_dma.h * * Returned Value: diff --git a/nuttx/arch/arm/src/stm32/stm32f40xxx_dma.c b/nuttx/arch/arm/src/stm32/stm32f40xxx_dma.c index 5bff603b9..235e40441 100644 --- a/nuttx/arch/arm/src/stm32/stm32f40xxx_dma.c +++ b/nuttx/arch/arm/src/stm32/stm32f40xxx_dma.c @@ -520,7 +520,7 @@ void weak_function up_dmainitialize(void) * * Input parameter: * dmamap - Identifies the stream/channel resource. For the STM32 F4, this - * is a bit-encoded value as provided by the the DMAMAP_* definitions + * is a bit-encoded value as provided by the DMAMAP_* definitions * in chip/stm32f40xxx_dma.h * * Returned Value: |