diff --git a/Documentation/applications/boot/nxboot/index.rst b/Documentation/applications/boot/nxboot/index.rst index 037d1a96796..1908939eeec 100644 --- a/Documentation/applications/boot/nxboot/index.rst +++ b/Documentation/applications/boot/nxboot/index.rst @@ -41,7 +41,7 @@ a reserved space for a pointer to it. The image compatible with nxboot bootloader can be uploaded both directly to the primary area via physical programmer as STlink or JTAG and to the update partition via some external application (over Ethernet, USB, CAN, etc.). -The update and recovery slots can be located in the the primary flash as +The update and recovery slots can be located in the primary flash as well, but this halts the program execution during write operations, so it is not recommended if external flash can be used. The uploaded image is detected by the bootloader during the next boot and update occurs. diff --git a/Documentation/applications/examples/nxterm/index.rst b/Documentation/applications/examples/nxterm/index.rst index de3744d99a0..d5ca11c7d77 100644 --- a/Documentation/applications/examples/nxterm/index.rst +++ b/Documentation/applications/examples/nxterm/index.rst @@ -199,7 +199,7 @@ See, for an example, ``apps/graphics/nxwm/src/cnxterm.cxx``. In this case, the behavior will change, depending on the selection of ``CONFIG_NXTERM_NXKBDIN``: If ``CONFIG_NXTERM_NXKBDIN`` is not selected, then the behavior will be similar to ``apps/examples/nxterm``; stdin will not be redirected an keyboard input will -come directly from the the system console. +come directly from the system console. But is ``CONFIG_NXTERM_NXKBDIN`` is select, NSH's stdin will be re-redirected to the to the NxTerm character driver. Keyboard input will arrive on stdin from the diff --git a/Documentation/applications/graphics/twm4nx/index.rst b/Documentation/applications/graphics/twm4nx/index.rst index 3ece9d56d0a..8f784099658 100644 --- a/Documentation/applications/graphics/twm4nx/index.rst +++ b/Documentation/applications/graphics/twm4nx/index.rst @@ -104,7 +104,7 @@ Main Menu - Twm4Nx Icom Manager. De-iconify and/or raise the Icon Manager to the top of the display. - Calibration. Perform touchscreen re-calibration. - - Clock. Start and instance of clock in the window. The uses the the retro, + - Clock. Start and instance of clock in the window. The uses the retro, LCD emulation of ``apps/graphics/slcd``. - NuttShell. Start and instance of NSH running in an NxTerm. @@ -340,7 +340,7 @@ The ``createWindow()`` method requires four parameters: 1. The name of the window. This is the name that is show in the window toolbar and may be the same name as was used in the Main Menu entry. -2. A reference to the the Icon image associated with the window. This is the +2. A reference to the Icon image associated with the window. This is the image that is show on the desktop when the window is iconified. It is of type ``NXWidgets::SRlePaletteBitmap``. 3. A pointer to the Icon Manager instance that this window belongs with. This diff --git a/Documentation/applications/nsh/commands.rst b/Documentation/applications/nsh/commands.rst index d1b5a0b9065..56052bcc386 100644 --- a/Documentation/applications/nsh/commands.rst +++ b/Documentation/applications/nsh/commands.rst @@ -1074,7 +1074,7 @@ select either the FAT12 or FAT16 format. For historical reasons, if you want the FAT32 format, it must be explicitly specified on the command line. -The ``-r`` option may be specified to select the the number of +The ``-r`` option may be specified to select the number of entries in the root directory for FAT12 and FAT16 file systems. Typical values for small volumes would be 112 or 224; 512 should be used for large volumes, such as hard disks or very large SD @@ -1640,7 +1640,7 @@ automatically started in ``nsh_main.c``. The exception is when enabled at initialization but rather must be enabled from the NSH command line or via other applications. -In that case, when ``nsh_telnetstart()`` is called before the the +In that case, when ``nsh_telnetstart()`` is called before the network is initialized, it will fail. .. _cmdtime: diff --git a/Documentation/applications/system/zmodem/index.rst b/Documentation/applications/system/zmodem/index.rst index 7ea2576aa6d..e1fed118854 100644 --- a/Documentation/applications/system/zmodem/index.rst +++ b/Documentation/applications/system/zmodem/index.rst @@ -50,7 +50,7 @@ On NuttX you will have to use hardware flow control in most cases. The ``XON`` / ``XOFF`` controls built into ZModem could be used if you enabled software flow control in the host. But that would only work in one direction: If -would prevent the host from overrunning the the target Rx buffering. So you +would prevent the host from overrunning the target Rx buffering. So you should be able to do host-to-target software flow control. But there would still be no target-to-host flow control. That might not be an issue because the host is usually so much faster than the target. diff --git a/Documentation/components/drivers/special/segger.rst b/Documentation/components/drivers/special/segger.rst index e22a420afd6..23523404164 100644 --- a/Documentation/components/drivers/special/segger.rst +++ b/Documentation/components/drivers/special/segger.rst @@ -24,7 +24,7 @@ Segger SystemView :menuselection:`CONFIG_ARCH_PERF_EVENTS=y` - In that case, the the architecture logic must initialize the perf counter + In that case, the architecture logic must initialize the perf counter with ``up_perf_init()``. #. Enable instrumentation support: diff --git a/Documentation/components/filesystem/cromfs.rst b/Documentation/components/filesystem/cromfs.rst index 381accf55d5..a1dcd56dedd 100644 --- a/Documentation/components/filesystem/cromfs.rst +++ b/Documentation/components/filesystem/cromfs.rst @@ -5,7 +5,7 @@ CROMFS Overview ======== -This directory contains the the CROMFS file system. This is an in-memory +This directory contains the CROMFS file system. This is an in-memory (meaning no block driver), read-only (meaning that can lie in FLASH) file system. It uses LZF decompression on data only (meta data is not compressed). @@ -140,7 +140,7 @@ system are presented by other types of nodes: hard links, directories, and files. These nodes are all described in fs/cromfs/cromfs.h. In addition to general volume information, the volume node provides an -offset to the the "root directory". The root directory, like all other +offset to the "root directory". The root directory, like all other CROMFS directories is simply a singly linked list of other nodes: hard link nodes, directory nodes, and files. This list is managed by "peer offsets": Each node in the directory contains an offset to its peer in the same diff --git a/Documentation/components/nxgraphics/nx.rst b/Documentation/components/nxgraphics/nx.rst index b44bdaccc82..37bdce5a325 100644 --- a/Documentation/components/nxgraphics/nx.rst +++ b/Documentation/components/nxgraphics/nx.rst @@ -122,7 +122,7 @@ start this daemon. There are two ways that this can be done: #. The NX server may be started in your board startup logic by simply calling the function ``nxmu_start()``. The board startup logic - usually resides the the ``boards/arch/chip/board/src`` directory. The + usually resides the ``boards/arch/chip/board/src`` directory. The board startup logic can run automatically during the early system if ``CONFIG_BOARD_LATE_INITIALIZE`` is defined in the configuration. Or, the board startup logic can execute under control of the application diff --git a/Documentation/contributing/coding_style.rst b/Documentation/contributing/coding_style.rst index 1637441783e..67016afe6e2 100644 --- a/Documentation/contributing/coding_style.rst +++ b/Documentation/contributing/coding_style.rst @@ -1996,7 +1996,7 @@ different. brace of the ``if``-``else`` must be followed by a blank line in most cases (the exception given below). This may be the final brace of the ``if`` compound statement if the ``else`` keyword is not present. Or - it may be the the final brace of the ``else`` compound statement if + it may be the final brace of the ``else`` compound statement if present. A blank line never follows the right brace closing the ``if`` compound statement if the ``else`` keyword is present. Use of braces must follow all other standard rules for `braces and diff --git a/Documentation/guides/armv7m_runtimestackcheck.rst b/Documentation/guides/armv7m_runtimestackcheck.rst index 097be204cb3..0aa8ec24203 100644 --- a/Documentation/guides/armv7m_runtimestackcheck.rst +++ b/Documentation/guides/armv7m_runtimestackcheck.rst @@ -43,7 +43,7 @@ function call can then corrupt the memory below the stack bottom, restores the stack pointer and returns to the caller without actually overwriting the coloring at the base of the stack. -This brings us the the next method of stack checking. +This brings us the next method of stack checking. Per function Call diff --git a/Documentation/guides/include_files_board_h.rst b/Documentation/guides/include_files_board_h.rst index 103ab5b0754..ce8eff1fdbf 100644 --- a/Documentation/guides/include_files_board_h.rst +++ b/Documentation/guides/include_files_board_h.rst @@ -68,6 +68,6 @@ The only way to avoid this header file inclusion trap is: * Never include architecture-specific header files in the ``board.h`` header file. Instead, -* Include the header files needed by the the ``board.h`` header file in the C file +* Include the header files needed by the ``board.h`` header file in the C file that includes ``board.h`` * Make sure that ``board.h`` is the last header file included. \ No newline at end of file diff --git a/Documentation/guides/porting-case-studies/bcm2711-rpi4b.rst b/Documentation/guides/porting-case-studies/bcm2711-rpi4b.rst index 376eb68d779..6de99507ee5 100644 --- a/Documentation/guides/porting-case-studies/bcm2711-rpi4b.rst +++ b/Documentation/guides/porting-case-studies/bcm2711-rpi4b.rst @@ -169,7 +169,7 @@ multimeter and confirm that the GPIO did get set, so I knew that the ``arm64_ear called. Something was wrong with my UART configuration. I then tried directly manipulating registers to put the text "hi" in the UART FIFO. When I booted again, this printed, -but then was followed by some garbled output. It appeared that the the ``char *`` pointer passed to the print function +but then was followed by some garbled output. It appeared that the ``char *`` pointer passed to the print function was getting garbled. After troubleshooting by printing characters directly by calling my ``arm64_lowputc`` in the assembly boot script, I discovered that I could print a string from the C definition if I declared the string as static. I also investigated the elf generated by building and confirmed the string was located in ``.rodata``. I was suspicious diff --git a/Documentation/guides/smaller_vector_tables.rst b/Documentation/guides/smaller_vector_tables.rst index 6a13f082cc6..2cc629fa2a5 100644 --- a/Documentation/guides/smaller_vector_tables.rst +++ b/Documentation/guides/smaller_vector_tables.rst @@ -44,7 +44,7 @@ to filter those out and reduce the size to the number of supported interrupts. For example, if the actual number of interrupts used were -20, the the above requirement would go from 800 bytes to +20, the above requirement would go from 800 bytes to 160 bytes. Software IRQ Remapping diff --git a/Documentation/guides/stm32ccm.rst b/Documentation/guides/stm32ccm.rst index cc0cb257638..4ec8ba5acb3 100644 --- a/Documentation/guides/stm32ccm.rst +++ b/Documentation/guides/stm32ccm.rst @@ -43,7 +43,7 @@ NOTE: In order to use the CCM memory allocator functions, you must first call ``ccm_initialize()`` somewhere in your early boot-up logic. With these interfaces you have a (nearly) standard way to manage memory from a -heap that consists of the the CCM SRAM. And, since the CCM memory is no longer +heap that consists of the CCM SRAM. And, since the CCM memory is no longer a part of the normal heap, all allocated I/O buffers will be DMA-able (unless you have included other non-DMA-able memory regions in the stack). diff --git a/Documentation/guides/stm32nullpointer.rst b/Documentation/guides/stm32nullpointer.rst index 1808419948b..e15fe1aedb8 100644 --- a/Documentation/guides/stm32nullpointer.rst +++ b/Documentation/guides/stm32nullpointer.rst @@ -27,7 +27,7 @@ STM32 Memory Aliasing The STMicro STM32 family of Cortex-M3/4 MCUs do things a little differently. FLASH is physically addressed at address 0x0800:0000; the STM32 vector table is then physically located at 0x0800:0000 instead of 0x0000:0000. If the STM32 -hardware is configured to boot from FLASH, then the the STM32 will remap the +hardware is configured to boot from FLASH, then the STM32 will remap the FLASH memory so that is aliased at address 0x0000:00000. In that way, the STM32 can boot from FLASH or external memory or any other memory region that it is capable of mapping. diff --git a/Documentation/implementation/critical_sections.rst b/Documentation/implementation/critical_sections.rst index 7857a39f6a7..8c45e34d67e 100644 --- a/Documentation/implementation/critical_sections.rst +++ b/Documentation/implementation/critical_sections.rst @@ -405,7 +405,7 @@ IRQ Monitor is beyond the scope of this page. Suffice it to say: interrupt handler until exit from the interrupt handler. From this information we can calculate the worst case response time from -interrupt request until a task runs that can process the the interrupt. +interrupt request until a task runs that can process the interrupt. That worst cast response time, ``Tresp``, is given by: * ``Tresp1 = Tcrit + Tintr + C1`` diff --git a/Documentation/implementation/device_drivers.rst b/Documentation/implementation/device_drivers.rst index 6a68d30877a..99b461ef36e 100644 --- a/Documentation/implementation/device_drivers.rst +++ b/Documentation/implementation/device_drivers.rst @@ -59,7 +59,7 @@ The I2C Tool ------------ Of course, like most rules, there are lots of violations. I2C is another bus and -the the I2C "driver" is another transport similar in many ways to SPI. For I2C, +the I2C "driver" is another transport similar in many ways to SPI. For I2C, there is an application at ``apps/system/i2c`` called the "I2C tool" that will allow you access I2C devices from the command line. This is not really just a test tool and not a real part of an application. diff --git a/Documentation/implementation/drivers_design.rst b/Documentation/implementation/drivers_design.rst index bb63c0a77df..6400282b310 100644 --- a/Documentation/implementation/drivers_design.rst +++ b/Documentation/implementation/drivers_design.rst @@ -102,7 +102,7 @@ For the upper half driver: And for the lower half driver: -* The lower-half side of the interface to the the upper-half driver, and +* The lower-half side of the interface to the upper-half driver, and * The low-level interface to the hardware that is managed by the lower half device driver. diff --git a/Documentation/implementation/interrupt_controls.rst b/Documentation/implementation/interrupt_controls.rst index 0ec92a771d0..18a51144593 100644 --- a/Documentation/implementation/interrupt_controls.rst +++ b/Documentation/implementation/interrupt_controls.rst @@ -27,7 +27,7 @@ A context switch works just like setjmp (save a set of registers) and longjmp (restore a set of registers), except that more registers are saved and restored. -For the the ARMv7-M, as an example, you can see the set of registers that are +For the ARMv7-M, as an example, you can see the set of registers that are stored in ``arch/arm/include/armv7-m/irq.h`` Among those registers are saved and restore are the register(s) that determine if diff --git a/Documentation/implementation/make_build_system.rst b/Documentation/implementation/make_build_system.rst index 09096618d11..4a2eaa0b0a8 100644 --- a/Documentation/implementation/make_build_system.rst +++ b/Documentation/implementation/make_build_system.rst @@ -81,9 +81,9 @@ arch, chip and board files. The ``Make`` build system refers the needed subsystems using *generic* naming: -- The *current* architecture is refered as ``arch`` -- The *current* chip is refered as ``chip`` -- The *current* board is refered as ``board`` +- The *current* architecture is referred as ``arch`` +- The *current* chip is referred as ``chip`` +- The *current* board is referred as ``board`` These *generic* names are mapped to the *actual* names by symlinks: @@ -93,7 +93,7 @@ These *generic* names are mapped to the *actual* names by symlinks: The board config is stored as ``defconfig`` file, which is a minimal config, storing only the configs that differs from default config values. -Due to NuttX's particularity of strict dependance to the ``app`` +Due to NuttX's particularity of strict dependence on the ``app`` directory, the ``.config`` file is not generated by either ``kconfiglib`` or ``kconfig-frontends``, but rather by the an in-tree ``tools/process_config.sh`` script. This script takes a "base" input file (the boards ``defconfig`` file), @@ -206,7 +206,7 @@ After compiling libraries defined by the ``$(USERLIBS)`` and ``$(NUTTXLIBS)`` at the ``make`` build system will ``install`` them at a special ``staging/`` directory, residing at the root of the NuttX tree. -These libraries are passed to the the final target rule (``$(BIN)``). +These libraries are passed to the final target rule (``$(BIN)``). .. code-block:: makefile diff --git a/Documentation/legacy_README.md b/Documentation/legacy_README.md index ba12461b3f3..85d2fa399bf 100644 --- a/Documentation/legacy_README.md +++ b/Documentation/legacy_README.md @@ -273,7 +273,7 @@ Perhaps a minimum set would be those packages listed below for the Cygwin configuration: 1. After starting the Cygwin installer, keep the recommended - packages that are pre-selected in the default configuration. + packages that are preselected in the default configuration. 2. Using the installation tools, add the following packages: @@ -1258,7 +1258,7 @@ settings, you should run the following after configuring: make olddefconfig -That will restore the the missing defaulted values. +That will restore the missing defaulted values. Using this command after configuring is generally a good practice anyway: Even if the `defconfig` files are not "compressed" in this fashion, the @@ -1331,7 +1331,7 @@ damage your configuration (see The configuration steps of the most recent versions of NuttX require the - `kconfig-tweak` tool that is not not available in the the above. However, + `kconfig-tweak` tool that is not not available in the above. However, there has been an update to this `Kconfig` Windows tools that does include `kconfig-tweak`: http://reclonelabs.com/more-kconfig-awesomeness-for-windows/ diff --git a/Documentation/platforms/arm/lc823450/index.rst b/Documentation/platforms/arm/lc823450/index.rst index be91d292e90..55d267fdc51 100644 --- a/Documentation/platforms/arm/lc823450/index.rst +++ b/Documentation/platforms/arm/lc823450/index.rst @@ -23,7 +23,7 @@ and for ON Semiconductor's **LC823450XGEVK board**: it is applicable to portable audio markets such as Wireless headsets and will show high performance. -Further information about the LC823450XGEVK is available on from the the +Further information about the LC823450XGEVK is available on from the `ON Semiconductor `__ website as are LC823450 `related technical diff --git a/Documentation/platforms/arm/lpc54xx/boards/lpcxpresso-lpc54628/README.txt b/Documentation/platforms/arm/lpc54xx/boards/lpcxpresso-lpc54628/README.txt index e4922446d1e..dccd53e9839 100644 --- a/Documentation/platforms/arm/lpc54xx/boards/lpcxpresso-lpc54628/README.txt +++ b/Documentation/platforms/arm/lpc54xx/boards/lpcxpresso-lpc54628/README.txt @@ -541,7 +541,7 @@ Configurations are just some issues/topics unique to the LPCXpresso-LPC54628 and/or this configuration. - 1. There is a responsive-ness issue the the FT5x06 touchscreen controller. + 1. There is a responsive-ness issue the FT5x06 touchscreen controller. The pin selected by the board designers will not support interrupts. Therefore, a fall-back polled mode is use. This polled mode has significant inherent delays that effect the user experience when diff --git a/Documentation/platforms/arm/sam34/boards/sam3u-ek/index.rst b/Documentation/platforms/arm/sam34/boards/sam3u-ek/index.rst index f879fee322c..ea4e5b9c321 100644 --- a/Documentation/platforms/arm/sam34/boards/sam3u-ek/index.rst +++ b/Documentation/platforms/arm/sam34/boards/sam3u-ek/index.rst @@ -28,7 +28,7 @@ You can use AtmelStudio6.1 to load and debug code. LEDs ==== -The SAM3U-EK board has four LEDs labeled LD1, LD2, LD3 and LD4 on the the board. +The SAM3U-EK board has four LEDs labeled LD1, LD2, LD3 and LD4 on the board. Usage of these LEDs is defined in ``include/board.h`` and ``src/up_leds.c``. They are encoded as follows: diff --git a/Documentation/platforms/arm/samd5e5/boards/metro-m4/README.txt b/Documentation/platforms/arm/samd5e5/boards/metro-m4/README.txt index 01cc1cf8f37..8b64689705a 100644 --- a/Documentation/platforms/arm/samd5e5/boards/metro-m4/README.txt +++ b/Documentation/platforms/arm/samd5e5/boards/metro-m4/README.txt @@ -91,7 +91,7 @@ STATUS study the XOSC32K problem. With that workaround (and a bunch of other fixes), the basic NSH - configuration appears fully function, indicating the the board bring- + configuration appears fully function, indicating the board bring- up is complete. There are additional drivers ported from SAML21 which has, in most cases, diff --git a/Documentation/platforms/arm/stm32f4/boards/clicker2-stm32/index.rst b/Documentation/platforms/arm/stm32f4/boards/clicker2-stm32/index.rst index 5b31d449d2c..b0f63b0ebf8 100644 --- a/Documentation/platforms/arm/stm32f4/boards/clicker2-stm32/index.rst +++ b/Documentation/platforms/arm/stm32f4/boards/clicker2-stm32/index.rst @@ -527,7 +527,7 @@ NOTES: nsh> telnetd Note the 'ifconfig' is executed to get the IP address of the node. - This is necessary because the IP address is assigned by the the + This is necessary because the IP address is assigned by the Coordinator and may not be known a priori. 10. This configuration also includes the Telnet client program. This diff --git a/Documentation/platforms/arm/stm32f4/boards/olimex-stm32-p407/index.rst b/Documentation/platforms/arm/stm32f4/boards/olimex-stm32-p407/index.rst index 54d20aee841..12288775657 100644 --- a/Documentation/platforms/arm/stm32f4/boards/olimex-stm32-p407/index.rst +++ b/Documentation/platforms/arm/stm32f4/boards/olimex-stm32-p407/index.rst @@ -290,7 +290,7 @@ must be is one of the following. dhtxx ----- -Configuration added by Abdelatif Guettouche for testing the the DHTxx +Configuration added by Abdelatif Guettouche for testing the DHTxx sensor. This configuration expects this setup:: DHTXX_PIN_OUTPUT PG9 diff --git a/Documentation/platforms/arm/stm32l4/boards/b-l475e-iot01a/index.rst b/Documentation/platforms/arm/stm32l4/boards/b-l475e-iot01a/index.rst index 36ad423cdc0..b21c1fa1a2c 100644 --- a/Documentation/platforms/arm/stm32l4/boards/b-l475e-iot01a/index.rst +++ b/Documentation/platforms/arm/stm32l4/boards/b-l475e-iot01a/index.rst @@ -282,7 +282,7 @@ NOTES: nsh> ifconfig wpan0 hw 37 Where 37 the address is an example. It should be different for - each radio, but in the the range 1..ed and ef..fe (ee and ff are + each radio, but in the range 1..ed and ef..fe (ee and ff are the reserved for multicast and broadcast addresses, respectively. Zero is a valid address but not recommended). diff --git a/Documentation/platforms/arm/tiva/index.rst b/Documentation/platforms/arm/tiva/index.rst index 9bc46a63dd4..7b41b727890 100644 --- a/Documentation/platforms/arm/tiva/index.rst +++ b/Documentation/platforms/arm/tiva/index.rst @@ -174,7 +174,7 @@ currently code complete (minus some ROM *DriverLib* hooks) but untested. **TI LaunchXL-CC1312R1**. Basic board support for the TI LaunchXL-CC1312R1 board is in place. Board bring-up, however, cannot be -done until the the basic CC13x2 architecture support is complete, +done until the basic CC13x2 architecture support is complete, hopefully in NuttX-7.29. TI/Stellaris LM4F120x diff --git a/Documentation/platforms/arm64/qemu/boards/qemu-armv8a/index.rst b/Documentation/platforms/arm64/qemu/boards/qemu-armv8a/index.rst index 1cf9a44bd37..c0dbb8a7fdd 100644 --- a/Documentation/platforms/arm64/qemu/boards/qemu-armv8a/index.rst +++ b/Documentation/platforms/arm64/qemu/boards/qemu-armv8a/index.rst @@ -639,7 +639,7 @@ Status Ubuntu PC rather than an Ubuntu at VMWare. For Physical Ubuntu PC, the ostest was run for 10 times at least but the crash was never seen again, but it's almost crashed every time running the ostest at Virtual Ubuntu in VMWare - Checking for the the fail point. It's seem at signal routine to access another + Checking for the fail point. It's seem at signal routine to access another CPU's task context reg will get a NULL pointer, but watch the task context with GDB, shows everything as OK. So maybe this is a SMP cache synchronize issue? But synchronize operations have been done at thread switch. It is hard to diff --git a/Documentation/platforms/xtensa/esp32/boards/esp32-lyrat/index.rst b/Documentation/platforms/xtensa/esp32/boards/esp32-lyrat/index.rst index 0ec3e1f0a57..82a8a6687e8 100644 --- a/Documentation/platforms/xtensa/esp32/boards/esp32-lyrat/index.rst +++ b/Documentation/platforms/xtensa/esp32/boards/esp32-lyrat/index.rst @@ -490,7 +490,7 @@ USB connection by means of the CP2102N bridge, at 115200 bps). nxrecorder ---------- -This configuration is used to record raw audio from the the ES8388 audio codec +This configuration is used to record raw audio from the ES8388 audio codec through the I2S0 peripheral to a FAT32 SD Card. By default the audio is recorded from the on-board microphones. For the ESP32-LyraT, make sure the DIP switches 1 and 2 are turned to the ON position. diff --git a/Documentation/platforms/z80/ez80/boards/makerlisp/README.txt b/Documentation/platforms/z80/ez80/boards/makerlisp/README.txt index 19f28b313e1..e0a5617701a 100644 --- a/Documentation/platforms/z80/ez80/boards/makerlisp/README.txt +++ b/Documentation/platforms/z80/ez80/boards/makerlisp/README.txt @@ -300,7 +300,7 @@ Configuration Subdirectories performance because of the zero wait state SRAM implementation. 2. A serial console is provided on UART0. This configuration should work - with or without the the VGA and Keyboard adapter boards. Normal + with or without the VGA and Keyboard adapter boards. Normal connectivity is via host serial console connected through the USB serial console. diff --git a/arch/arm/src/am335x/am335x_lcdc.c b/arch/arm/src/am335x/am335x_lcdc.c index 8cad55921ea..e82db234ecc 100644 --- a/arch/arm/src/am335x/am335x_lcdc.c +++ b/arch/arm/src/am335x/am335x_lcdc.c @@ -496,7 +496,7 @@ static int am335x_get_refclk(uint32_t *frequency) * * Returned value: * Zero (OK) is returned on success; a negated errno value is returned in - * the the case of a failure. + * the case of a failure. * ****************************************************************************/ diff --git a/arch/arm/src/am335x/am335x_lcdc.h b/arch/arm/src/am335x/am335x_lcdc.h index 82203c95e40..bee82fc39df 100644 --- a/arch/arm/src/am335x/am335x_lcdc.h +++ b/arch/arm/src/am335x/am335x_lcdc.h @@ -211,7 +211,7 @@ struct am335x_panel_info_s * * Returned value: * Zero (OK) is returned on success; a negated errno value is returned in - * the the case of a failure. + * the case of a failure. * ****************************************************************************/ diff --git a/arch/arm/src/am335x/am335x_lowputc.c b/arch/arm/src/am335x/am335x_lowputc.c index d2d7aa438cb..e49a0e2a14d 100644 --- a/arch/arm/src/am335x/am335x_lowputc.c +++ b/arch/arm/src/am335x/am335x_lowputc.c @@ -191,7 +191,7 @@ void am335x_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/at32/at32_gpio.c b/arch/arm/src/at32/at32_gpio.c index 639909335de..c6b4aba76c8 100644 --- a/arch/arm/src/at32/at32_gpio.c +++ b/arch/arm/src/at32/at32_gpio.c @@ -277,7 +277,7 @@ int at32_configgpio(uint32_t cfgset) putreg32(regval, base + AT32_GPIO_PULL_OFFSET); /* Set the alternate function (Only alternate function pins) - * This is done after configuring the the pin's connection + * This is done after configuring the pin's connection * on a change away from an Alternate function. */ diff --git a/arch/arm/src/at32/at32_pwr.c b/arch/arm/src/at32/at32_pwr.c index 0310475231d..c342467da06 100644 --- a/arch/arm/src/at32/at32_pwr.c +++ b/arch/arm/src/at32/at32_pwr.c @@ -232,7 +232,7 @@ int at32_pwr_enablewkup(enum at32_pwr_wupin_e wupin, bool wupon) return -EINVAL; } - /* Set/clear the the wakeup pin enable bit in the CSR. This must be done + /* Set/clear the wakeup pin enable bit in the CSR. This must be done * within a critical section because the CSR is shared with other functions * that may be running concurrently on another thread. */ diff --git a/arch/arm/src/cxd32xx/cxd32_serial.c b/arch/arm/src/cxd32xx/cxd32_serial.c index 89173f1d16e..8626aaafcbb 100644 --- a/arch/arm/src/cxd32xx/cxd32_serial.c +++ b/arch/arm/src/cxd32xx/cxd32_serial.c @@ -428,7 +428,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, + * Normally, this is just after the setup() method is called, * however, the serial console may operate in a non-interrupt driven mode * during the boot phase. * diff --git a/arch/arm/src/cxd56xx/cxd56_serial.c b/arch/arm/src/cxd56xx/cxd56_serial.c index d8e79fb42df..039ee1ca7ec 100644 --- a/arch/arm/src/cxd56xx/cxd56_serial.c +++ b/arch/arm/src/cxd56xx/cxd56_serial.c @@ -563,7 +563,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, + * Normally, this is just after the setup() method is called, * however, the serial console may operate in a non-interrupt driven mode * during the boot phase. * diff --git a/arch/arm/src/imx9/imx9_allocateheap.c b/arch/arm/src/imx9/imx9_allocateheap.c index c39536501d1..9b471b69cbe 100644 --- a/arch/arm/src/imx9/imx9_allocateheap.c +++ b/arch/arm/src/imx9/imx9_allocateheap.c @@ -56,7 +56,7 @@ * .bss in some RAM. We refer to that RAM as the primary RAM. It also * holds the IDLE threads stack and any remaining portion of the primary * OCRAM is automatically added to the heap. The linker provided address, - * ... .sbss, .ebss, .sdat, etc. ... are expected to lie in the the region + * ... .sbss, .ebss, .sdat, etc. ... are expected to lie in the region * defined by the OCRAM configuration settings. * * Other RAM regions must be selected use configuration options and the diff --git a/arch/arm/src/imx9/imx9_edma.c b/arch/arm/src/imx9/imx9_edma.c index 6eba349ea70..5a319495506 100644 --- a/arch/arm/src/imx9/imx9_edma.c +++ b/arch/arm/src/imx9/imx9_edma.c @@ -192,7 +192,7 @@ static struct imx9_edmatcd_s *imx9_tcd_alloc(void) struct imx9_edmatcd_s *tcd; irqstate_t flags; - /* Take the 'dsem'. When we hold the the 'dsem', then we know that one + /* Take the 'dsem'. When we hold the 'dsem', then we know that one * TCD is reserved for us in the free list. * * NOTE: We use a critical section here because we may block waiting for @@ -224,7 +224,7 @@ static struct imx9_edmatcd_s *imx9_tcd_alloc(void) #if CONFIG_IMX9_EDMA_NTCD > 0 static void imx9_tcd_free_nolock(struct imx9_edmatcd_s *tcd) { - /* Add the the TCD to the end of the free list and post the 'dsem', + /* Add the TCD to the end of the free list and post the 'dsem', * possibly waking up another thread that might be waiting for * a TCD. */ @@ -237,7 +237,7 @@ static void imx9_tcd_free(struct imx9_edmatcd_s *tcd) { irqstate_t flags; - /* Add the the TCD to the end of the free list and post the 'dsem', + /* Add the TCD to the end of the free list and post the 'dsem', * possibly waking up another thread that might be waiting for * a TCD. */ @@ -1328,7 +1328,7 @@ int imx9_dmach_xfrsetup(DMACH_HANDLE handle, * this will be generated with the final TCD. * * At the conclusion of the DMA, the DMA channel is reset, all TCDs are - * freed, and the callback function is called with the the success/fail + * freed, and the callback function is called with the success/fail * result of the DMA. * * NOTE: On Rx DMAs (peripheral-to-memory or memory-to-memory), it is @@ -1417,7 +1417,7 @@ void imx9_dmach_stop(DMACH_HANDLE handle) * * Description: * This function checks the TCD (Task Control Descriptor) status for a - * specified eDMA channel and returns the the number of major loop counts + * specified eDMA channel and returns the number of major loop counts * that have not finished. * * NOTES: diff --git a/arch/arm/src/imx9/imx9_edma.h b/arch/arm/src/imx9/imx9_edma.h index a6807161165..b75323307e4 100644 --- a/arch/arm/src/imx9/imx9_edma.h +++ b/arch/arm/src/imx9/imx9_edma.h @@ -350,7 +350,7 @@ int imx9_dmach_xfrsetup(DMACH_HANDLE handle, * interrupts will be generated with the final being the DONE interrupt. * * At the conclusion of the DMA, the DMA channel is reset, all TCDs are - * freed, and the callback function is called with the the success/fail + * freed, and the callback function is called with the success/fail * result of the DMA. * * NOTE: @@ -397,7 +397,7 @@ void imx9_dmach_stop(DMACH_HANDLE handle); * * Description: * This function checks the TCD (Task Control Descriptor) status for a - * specified eDMA channel and returns the the number of major loop counts + * specified eDMA channel and returns the number of major loop counts * that have not finished. * * NOTES: diff --git a/arch/arm/src/imxrt/imxrt_allocateheap.c b/arch/arm/src/imxrt/imxrt_allocateheap.c index 8ae3c9a7263..af8e80eadfa 100644 --- a/arch/arm/src/imxrt/imxrt_allocateheap.c +++ b/arch/arm/src/imxrt/imxrt_allocateheap.c @@ -70,7 +70,7 @@ * .bss in some RAM. We refer to that RAM as the primary RAM. It also * holds the IDLE threads stack and any remaining portion of the primary * OCRAM is automatically added to the heap. The linker provided address, - * ... .sbss, .ebss, .sdat, etc. ... are expected to lie in the the region + * ... .sbss, .ebss, .sdat, etc. ... are expected to lie in the region * defined by the OCRAM configuration settings. * * Other RAM regions must be selected use configuration options and the diff --git a/arch/arm/src/imxrt/imxrt_edma.c b/arch/arm/src/imxrt/imxrt_edma.c index b1413dece13..9f106fd036f 100644 --- a/arch/arm/src/imxrt/imxrt_edma.c +++ b/arch/arm/src/imxrt/imxrt_edma.c @@ -191,7 +191,7 @@ static struct imxrt_edmatcd_s *imxrt_tcd_alloc(void) struct imxrt_edmatcd_s *tcd; irqstate_t flags; - /* Take the 'dsem'. When we hold the the 'dsem', then we know that one + /* Take the 'dsem'. When we hold the 'dsem', then we know that one * TCD is reserved for us in the free list. * * NOTE: We use a critical section here because we may block waiting for @@ -223,7 +223,7 @@ static struct imxrt_edmatcd_s *imxrt_tcd_alloc(void) #if CONFIG_IMXRT_EDMA_NTCD > 0 static void imxrt_tcd_free_nolock(struct imxrt_edmatcd_s *tcd) { - /* Add the the TCD to the end of the free list and post the 'dsem', + /* Add the TCD to the end of the free list and post the 'dsem', * possibly waking up another thread that might be waiting for * a TCD. */ @@ -236,7 +236,7 @@ static void imxrt_tcd_free(struct imxrt_edmatcd_s *tcd) { irqstate_t flags; - /* Add the the TCD to the end of the free list and post the 'dsem', + /* Add the TCD to the end of the free list and post the 'dsem', * possibly waking up another thread that might be waiting for * a TCD. */ @@ -1126,7 +1126,7 @@ int imxrt_dmach_xfrsetup(DMACH_HANDLE handle, * this will be generated with the final TCD. * * At the conclusion of the DMA, the DMA channel is reset, all TCDs are - * freed, and the callback function is called with the the success/fail + * freed, and the callback function is called with the success/fail * result of the DMA. * * NOTE: On Rx DMAs (peripheral-to-memory or memory-to-memory), it is @@ -1220,7 +1220,7 @@ void imxrt_dmach_stop(DMACH_HANDLE handle) * * Description: * This function checks the TCD (Task Control Descriptor) status for a - * specified eDMA channel and returns the the number of major loop counts + * specified eDMA channel and returns the number of major loop counts * that have not finished. * * NOTES: diff --git a/arch/arm/src/imxrt/imxrt_edma.h b/arch/arm/src/imxrt/imxrt_edma.h index fba3530b783..8bca05b09bc 100644 --- a/arch/arm/src/imxrt/imxrt_edma.h +++ b/arch/arm/src/imxrt/imxrt_edma.h @@ -331,7 +331,7 @@ int imxrt_dmach_xfrsetup(DMACH_HANDLE handle, * interrupts will be generated with the final being the DONE interrupt. * * At the conclusion of the DMA, the DMA channel is reset, all TCDs are - * freed, and the callback function is called with the the success/fail + * freed, and the callback function is called with the success/fail * result of the DMA. * * NOTE: On Rx DMAs (peripheral-to-memory or memory-to-memory), it is @@ -377,7 +377,7 @@ void imxrt_dmach_stop(DMACH_HANDLE handle); * * Description: * This function checks the TCD (Task Control Descriptor) status for a - * specified eDMA channel and returns the the number of major loop counts + * specified eDMA channel and returns the number of major loop counts * that have not finished. * * NOTES: diff --git a/arch/arm/src/imxrt/imxrt_ehci.c b/arch/arm/src/imxrt/imxrt_ehci.c index 22a1673253b..47c986ed2d3 100644 --- a/arch/arm/src/imxrt/imxrt_ehci.c +++ b/arch/arm/src/imxrt/imxrt_ehci.c @@ -4770,7 +4770,7 @@ static int imxrt_cancel(struct usbhost_driver_s *drvr, usbhost_ep_t ep) /* We must have exclusive access to the EHCI hardware and data structures. * This will prevent servicing any transfer completion events while we - * perform the the cancellation, but will not prevent DMA-related race + * perform the cancellation, but will not prevent DMA-related race * conditions. * * REVISIT: This won't work. This function must be callable from the diff --git a/arch/arm/src/imxrt/imxrt_hprtc.c b/arch/arm/src/imxrt/imxrt_hprtc.c index 94a78d5693f..001ac73f10a 100644 --- a/arch/arm/src/imxrt/imxrt_hprtc.c +++ b/arch/arm/src/imxrt/imxrt_hprtc.c @@ -356,7 +356,7 @@ int imxrt_hprtc_initialize(void) { uint32_t regval; - /* Enable clocking to the the SNVS HP module. + /* Enable clocking to the SNVS HP module. * Clock is on in run mode, but off in WAIT and STOP modes. */ diff --git a/arch/arm/src/imxrt/imxrt_lpsrtc.c b/arch/arm/src/imxrt/imxrt_lpsrtc.c index bd00834e4fc..aec9568920d 100644 --- a/arch/arm/src/imxrt/imxrt_lpsrtc.c +++ b/arch/arm/src/imxrt/imxrt_lpsrtc.c @@ -114,7 +114,7 @@ int imxrt_lpsrtc_initialize(void) imxrt_hprtc_initialize(); - /* Enable clocking to the the SNVS LP module. + /* Enable clocking to the SNVS LP module. * Clock is on during all modes, except STOP mode. */ diff --git a/arch/arm/src/kinetis/kinetis_edma.c b/arch/arm/src/kinetis/kinetis_edma.c index 699e4dd4c8c..7a69569b0fe 100644 --- a/arch/arm/src/kinetis/kinetis_edma.c +++ b/arch/arm/src/kinetis/kinetis_edma.c @@ -191,7 +191,7 @@ static struct kinetis_edmatcd_s *kinetis_tcd_alloc(void) struct kinetis_edmatcd_s *tcd; irqstate_t flags; - /* Take the 'dsem'. When we hold the the 'dsem', then we know that one + /* Take the 'dsem'. When we hold the 'dsem', then we know that one * TCD is reserved for us in the free list. * * NOTE: We use a critical section here because we may block waiting for @@ -224,7 +224,7 @@ static struct kinetis_edmatcd_s *kinetis_tcd_alloc(void) #if CONFIG_KINETIS_EDMA_NTCD > 0 static void kinetis_tcd_free_nolock(struct kinetis_edmatcd_s *tcd) { - /* Add the the TCD to the end of the free list and post the 'dsem', + /* Add the TCD to the end of the free list and post the 'dsem', * possibly waking up another thread that might be waiting for * a TCD. */ @@ -237,7 +237,7 @@ static void kinetis_tcd_free(struct kinetis_edmatcd_s *tcd) { irqstate_t flags; - /* Add the the TCD to the end of the free list and post the 'dsem', + /* Add the TCD to the end of the free list and post the 'dsem', * possibly waking up another thread that might be waiting for * a TCD. */ @@ -1098,7 +1098,7 @@ int kinetis_dmach_xfrsetup(DMACH_HANDLE *handle, * this will be generated with the final TCD. * * At the conclusion of the DMA, the DMA channel is reset, all TCDs are - * freed, and the callback function is called with the the success/fail + * freed, and the callback function is called with the success/fail * result of the DMA. * * NOTE: On Rx DMAs (peripheral-to-memory or memory-to-memory), it is @@ -1192,7 +1192,7 @@ void kinetis_dmach_stop(DMACH_HANDLE handle) * * Description: * This function checks the TCD (Task Control Descriptor) status for a - * specified eDMA channel and returns the the number of major loop counts + * specified eDMA channel and returns the number of major loop counts * that have not finished. * * NOTES: diff --git a/arch/arm/src/kinetis/kinetis_edma.h b/arch/arm/src/kinetis/kinetis_edma.h index d1d96dcf0e2..59d99d1e490 100644 --- a/arch/arm/src/kinetis/kinetis_edma.h +++ b/arch/arm/src/kinetis/kinetis_edma.h @@ -331,7 +331,7 @@ int kinetis_dmach_xfrsetup(DMACH_HANDLE *handle, * interrupts will be generated with the final being the DONE interrupt. * * At the conclusion of the DMA, the DMA channel is reset, all TCDs are - * freed, and the callback function is called with the the success/fail + * freed, and the callback function is called with the success/fail * result of the DMA. * * NOTE: @@ -378,7 +378,7 @@ void kinetis_dmach_stop(DMACH_HANDLE handle); * * Description: * This function checks the TCD (Task Control Descriptor) status for a - * specified eDMA channel and returns the the number of major loop counts + * specified eDMA channel and returns the number of major loop counts * that have not finished. * * NOTES: diff --git a/arch/arm/src/kinetis/kinetis_serial.c b/arch/arm/src/kinetis/kinetis_serial.c index e8af8274a0c..5ce2fd4cb9f 100644 --- a/arch/arm/src/kinetis/kinetis_serial.c +++ b/arch/arm/src/kinetis/kinetis_serial.c @@ -1091,7 +1091,7 @@ static void up_dma_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/kinetis/kinetis_usbdev.c b/arch/arm/src/kinetis/kinetis_usbdev.c index 800cb8626ee..4416e7cedf4 100644 --- a/arch/arm/src/kinetis/kinetis_usbdev.c +++ b/arch/arm/src/kinetis/kinetis_usbdev.c @@ -3228,7 +3228,7 @@ static void khci_resume(struct khci_usbdev_s *priv) regval &= ~USB_INT_RESUME; khci_putreg(regval, KINETIS_USB0_INTEN); - /* Disable the the async resume interrupt */ + /* Disable the async resume interrupt */ regval = khci_getreg(KINETIS_USB0_USBTRC0); regval &= ~USB_USBTRC0_USBRESMEN; diff --git a/arch/arm/src/kinetis/kinetis_usbhshost.c b/arch/arm/src/kinetis/kinetis_usbhshost.c index 8654f8c9699..d258ae6cbe9 100644 --- a/arch/arm/src/kinetis/kinetis_usbhshost.c +++ b/arch/arm/src/kinetis/kinetis_usbhshost.c @@ -4641,7 +4641,7 @@ static int kinetis_cancel(struct usbhost_driver_s *drvr, usbhost_ep_t ep) /* We must have exclusive access to the EHCI hardware and data structures. * This will prevent servicing any transfer completion events while we - * perform the the cancellation, but will not prevent DMA-related race + * perform the cancellation, but will not prevent DMA-related race * conditions. * * REVISIT: This won't work. This function must be callable from the diff --git a/arch/arm/src/lc823450/lc823450_serial.c b/arch/arm/src/lc823450/lc823450_serial.c index 240793ab471..38cc1643439 100644 --- a/arch/arm/src/lc823450/lc823450_serial.c +++ b/arch/arm/src/lc823450/lc823450_serial.c @@ -604,7 +604,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, + * Normally, this is just after the setup() method is called, * however, the serial console may operate in a non-interrupt driven mode * during the boot phase. * diff --git a/arch/arm/src/lpc31xx/lpc31_usbdev.c b/arch/arm/src/lpc31xx/lpc31_usbdev.c index c65ea484c02..0a241b87073 100644 --- a/arch/arm/src/lpc31xx/lpc31_usbdev.c +++ b/arch/arm/src/lpc31xx/lpc31_usbdev.c @@ -2425,7 +2425,7 @@ static struct usbdev_ep_s *lpc31_allocep(struct usbdev_s *dev, /* Convert the logical address to a physical OUT endpoint address and * remove all of the candidate endpoints from the bitset except for - * the the IN/OUT pair for this logical address. + * the IN/OUT pair for this logical address. */ epset &= 3 << (eplog << 1); diff --git a/arch/arm/src/lpc43xx/lpc43_serial.c b/arch/arm/src/lpc43xx/lpc43_serial.c index 28f1db3da2c..948b835af5f 100644 --- a/arch/arm/src/lpc43xx/lpc43_serial.c +++ b/arch/arm/src/lpc43xx/lpc43_serial.c @@ -637,7 +637,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 + * 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/lpc54xx/lpc54_rtc.c b/arch/arm/src/lpc54xx/lpc54_rtc.c index 5b3312d69db..00417cfc818 100644 --- a/arch/arm/src/lpc54xx/lpc54_rtc.c +++ b/arch/arm/src/lpc54xx/lpc54_rtc.c @@ -202,7 +202,7 @@ int up_rtc_settime(const struct timespec *tp) flags = enter_critical_section(); - /* Make sure the the RTC is out of reset, but not enabled. */ + /* Make sure the RTC is out of reset, but not enabled. */ regval = getreg32(LPC54_RTC_CTRL); regval &= ~(RTC_CTRL_SWRESET | RTC_CTRL_RTCEN | RTC_CTRL_RTC1KHZEN | @@ -262,7 +262,7 @@ int lpc54_rtc_setalarm(const struct timespec *tp, alarmcb_t callback) g_alarmcb = callback; - /* Make sure the the RTC is out of reset. */ + /* Make sure the RTC is out of reset. */ regval = getreg32(LPC54_RTC_CTRL); regval &= ~(RTC_CTRL_SWRESET | RTC_CTRL_ALARMDPDEN | diff --git a/arch/arm/src/lpc54xx/lpc54_sdmmc.c b/arch/arm/src/lpc54xx/lpc54_sdmmc.c index 66af795aa38..3a2a6891204 100644 --- a/arch/arm/src/lpc54xx/lpc54_sdmmc.c +++ b/arch/arm/src/lpc54xx/lpc54_sdmmc.c @@ -2330,7 +2330,7 @@ errout: * * Description: * Enable/disable of a set of SD card callback events. This is part of - * the the SD card callback sequence. The set of events is configured to + * the SD card callback sequence. The set of events is configured to * enabled callbacks to the function provided in lpc54_registercallback. * * Events are automatically disabled once the callback is performed and no diff --git a/arch/arm/src/max326xx/max32660/max32660_clockconfig.c b/arch/arm/src/max326xx/max32660/max32660_clockconfig.c index 7be7d425881..1762ee44b4b 100644 --- a/arch/arm/src/max326xx/max32660/max32660_clockconfig.c +++ b/arch/arm/src/max326xx/max32660/max32660_clockconfig.c @@ -479,7 +479,7 @@ static void max326_set_clksrc(const struct clock_setup_s *clksetup) * Name: max326_set_fwsdefault * * Description: - * Set the the FLASH wait states to the default value (5) + * Set the FLASH wait states to the default value (5) * ****************************************************************************/ @@ -590,7 +590,7 @@ static void max326_periph_reset(void) void max326_clockconfig(const struct clock_setup_s *clksetup) { - /* Set the the FLASH wait states to the default value (5) */ + /* Set the FLASH wait states to the default value (5) */ max326_set_fwsdefault(); diff --git a/arch/arm/src/max326xx/max32660/max32660_spim.c b/arch/arm/src/max326xx/max32660/max32660_spim.c index ae1dba2c542..a5412776eba 100644 --- a/arch/arm/src/max326xx/max32660/max32660_spim.c +++ b/arch/arm/src/max326xx/max32660/max32660_spim.c @@ -1255,7 +1255,7 @@ static void spi_exchange(struct spi_dev_s *dev, const void *txbuffer, { size_t nbytes = priv->data16 ? nwords << 1 : nwords; - /* We will dual-purpose the the Rx buffer, initialized to zero */ + /* We will dual-purpose the Rx buffer, initialized to zero */ memset(priv->rxbuffer, 0, nbytes); priv->txbuffer = priv->rxbuffer; diff --git a/arch/arm/src/mps/mps_allocateheap.c b/arch/arm/src/mps/mps_allocateheap.c index 86a69be647a..56f4e78f82e 100644 --- a/arch/arm/src/mps/mps_allocateheap.c +++ b/arch/arm/src/mps/mps_allocateheap.c @@ -70,7 +70,7 @@ * .bss in some RAM. We refer to that RAM as the primary RAM. It also * holds the IDLE threads stack and any remaining portion of the primary * OCRAM is automatically added to the heap. The linker provided address, - * ... .sbss, .ebss, .sdat, etc. ... are expected to lie in the the region + * ... .sbss, .ebss, .sdat, etc. ... are expected to lie in the region * defined by the OCRAM configuration settings. * * Other RAM regions must be selected use configuration options and the diff --git a/arch/arm/src/nrf52/nrf52_serial.c b/arch/arm/src/nrf52/nrf52_serial.c index 51c0a197dbf..1bb30ee6a2f 100644 --- a/arch/arm/src/nrf52/nrf52_serial.c +++ b/arch/arm/src/nrf52/nrf52_serial.c @@ -320,7 +320,7 @@ static void nrf52_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/nrf53/nrf53_serial.c b/arch/arm/src/nrf53/nrf53_serial.c index 4df91697755..6f490ecc74a 100644 --- a/arch/arm/src/nrf53/nrf53_serial.c +++ b/arch/arm/src/nrf53/nrf53_serial.c @@ -320,7 +320,7 @@ static void nrf53_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/nrf91/nrf91_serial.c b/arch/arm/src/nrf91/nrf91_serial.c index 687a7d7975e..82d070ba676 100644 --- a/arch/arm/src/nrf91/nrf91_serial.c +++ b/arch/arm/src/nrf91/nrf91_serial.c @@ -320,7 +320,7 @@ static void nrf91_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/phy62xx/uart.c b/arch/arm/src/phy62xx/uart.c index b0165d4ba7c..bd9b62b813f 100644 --- a/arch/arm/src/phy62xx/uart.c +++ b/arch/arm/src/phy62xx/uart.c @@ -673,7 +673,7 @@ static void pplus_uart_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/rp2040/rp2040_cyw43439.c b/arch/arm/src/rp2040/rp2040_cyw43439.c index de2bc347819..dec82c9938c 100644 --- a/arch/arm/src/rp2040/rp2040_cyw43439.c +++ b/arch/arm/src/rp2040/rp2040_cyw43439.c @@ -429,7 +429,7 @@ static int my_write(struct gspi_dev_s *gspi, * any data. * * This is slightly magical. The way we load the X is to first - * push the the number of bits to transmit onto the transmit fifo. + * push the number of bits to transmit onto the transmit fifo. * Then we force the PIO state machine to execute the instruction * "out x, 32" which transfers the word from the output shift * register (OSR) to the X register. When this instruction executes @@ -644,7 +644,7 @@ static int my_read(struct gspi_dev_s *gspi, * pio program will be sure to autopush the final data to the output fifo. * * This is slightly magical. The way we load the X is to first - * push the the number of bits to transmit onto the transmit fifo. + * push the number of bits to transmit onto the transmit fifo. * Then we force the PIO state machine to execute the instruction * "out x, 32" which transfers the word from the output shift * register (OSR) to the X register. When this instruction executes diff --git a/arch/arm/src/rp2040/rp2040_flash_mtd.c b/arch/arm/src/rp2040/rp2040_flash_mtd.c index 44f9c9736ab..5a1eefb9956 100644 --- a/arch/arm/src/rp2040/rp2040_flash_mtd.c +++ b/arch/arm/src/rp2040/rp2040_flash_mtd.c @@ -728,7 +728,7 @@ struct mtd_dev_s *rp2040_flash_mtd_initialize(void) /* Instead of using the rom_function for flash_enable_xip, we use the one * from boot stage 2 loaded at the beginning of the XIP rom. We do this - * because the boot_rom version can result in slower access to the the + * because the boot_rom version can result in slower access to the * XIP memory. * * We need to make our own copy of this code in ram since we cannot use diff --git a/arch/arm/src/rp2040/rp2040_serial.c b/arch/arm/src/rp2040/rp2040_serial.c index 9d50fb10144..a6d89d191a3 100644 --- a/arch/arm/src/rp2040/rp2040_serial.c +++ b/arch/arm/src/rp2040/rp2040_serial.c @@ -473,7 +473,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, + * Normally, this is just after the setup() method is called, * however, the serial console may operate in a non-interrupt driven mode * during the boot phase. * diff --git a/arch/arm/src/rp23xx/rp23xx_serial.c b/arch/arm/src/rp23xx/rp23xx_serial.c index de0da1ebb58..fc130ce67f3 100644 --- a/arch/arm/src/rp23xx/rp23xx_serial.c +++ b/arch/arm/src/rp23xx/rp23xx_serial.c @@ -473,7 +473,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, + * Normally, this is just after the setup() method is called, * however, the serial console may operate in a non-interrupt driven mode * during the boot phase. * diff --git a/arch/arm/src/s32k1xx/s32k1xx_edma.c b/arch/arm/src/s32k1xx/s32k1xx_edma.c index 17cd3ca2040..8ee9580f38d 100644 --- a/arch/arm/src/s32k1xx/s32k1xx_edma.c +++ b/arch/arm/src/s32k1xx/s32k1xx_edma.c @@ -189,7 +189,7 @@ static struct s32k1xx_edmatcd_s *s32k1xx_tcd_alloc(void) struct s32k1xx_edmatcd_s *tcd; irqstate_t flags; - /* Take the 'dsem'. When we hold the the 'dsem', then we know that one + /* Take the 'dsem'. When we hold the 'dsem', then we know that one * TCD is reserved for us in the free list. * * NOTE: We use a critical section here because we may block waiting for @@ -221,7 +221,7 @@ static struct s32k1xx_edmatcd_s *s32k1xx_tcd_alloc(void) #if CONFIG_S32K1XX_EDMA_NTCD > 0 static void s32k1xx_tcd_free_nolock(struct s32k1xx_edmatcd_s *tcd) { - /* Add the the TCD to the end of the free list and post the 'dsem', + /* Add the TCD to the end of the free list and post the 'dsem', * possibly waking up another thread that might be waiting for * a TCD. */ @@ -234,7 +234,7 @@ static void s32k1xx_tcd_free(struct s32k1xx_edmatcd_s *tcd) { irqstate_t flags; - /* Add the the TCD to the end of the free list and post the 'dsem', + /* Add the TCD to the end of the free list and post the 'dsem', * possibly waking up another thread that might be waiting for * a TCD. */ @@ -1080,7 +1080,7 @@ int s32k1xx_dmach_xfrsetup(DMACH_HANDLE *handle, * this will be generated with the final TCD. * * At the conclusion of the DMA, the DMA channel is reset, all TCDs are - * freed, and the callback function is called with the the success/fail + * freed, and the callback function is called with the success/fail * result of the DMA. * * NOTE: On Rx DMAs (peripheral-to-memory or memory-to-memory), it is @@ -1177,7 +1177,7 @@ void s32k1xx_dmach_stop(DMACH_HANDLE handle) * * Description: * This function checks the TCD (Task Control Descriptor) status for a - * specified eDMA channel and returns the the number of major loop counts + * specified eDMA channel and returns the number of major loop counts * that have not finished. * * NOTES: diff --git a/arch/arm/src/s32k1xx/s32k1xx_edma.h b/arch/arm/src/s32k1xx/s32k1xx_edma.h index c314b4ecf91..aed9076f359 100644 --- a/arch/arm/src/s32k1xx/s32k1xx_edma.h +++ b/arch/arm/src/s32k1xx/s32k1xx_edma.h @@ -331,7 +331,7 @@ int s32k1xx_dmach_xfrsetup(DMACH_HANDLE *handle, * interrupts will be generated with the final being the DONE interrupt. * * At the conclusion of the DMA, the DMA channel is reset, all TCDs are - * freed, and the callback function is called with the the success/fail + * freed, and the callback function is called with the success/fail * result of the DMA. * * NOTE: @@ -378,7 +378,7 @@ void s32k1xx_dmach_stop(DMACH_HANDLE handle); * * Description: * This function checks the TCD (Task Control Descriptor) status for a - * specified eDMA channel and returns the the number of major loop counts + * specified eDMA channel and returns the number of major loop counts * that have not finished. * * NOTES: diff --git a/arch/arm/src/s32k1xx/s32k1xx_periphclocks.c b/arch/arm/src/s32k1xx/s32k1xx_periphclocks.c index 1cc690eeda4..e01d43b45a5 100644 --- a/arch/arm/src/s32k1xx/s32k1xx_periphclocks.c +++ b/arch/arm/src/s32k1xx/s32k1xx_periphclocks.c @@ -79,7 +79,7 @@ * Name: s32k1xx_get_pclkctrl * * Description: - * Given a clock name, this functions returns the address the the PCC + * Given a clock name, this functions returns the address the PCC * control register for the peripheral. * * Input Parameters: diff --git a/arch/arm/src/s32k3xx/s32k3xx_allocateheap.c b/arch/arm/src/s32k3xx/s32k3xx_allocateheap.c index 67510364d07..f58eda5a6cf 100644 --- a/arch/arm/src/s32k3xx/s32k3xx_allocateheap.c +++ b/arch/arm/src/s32k3xx/s32k3xx_allocateheap.c @@ -69,7 +69,7 @@ * .bss in some RAM. We refer to that RAM as the primary RAM. It also * holds the IDLE threads stack and any remaining portion of the primary * OCRAM is automatically added to the heap. The linker provided address, - * ... .sbss, .ebss, .sdat, etc. ... are expected to lie in the the region + * ... .sbss, .ebss, .sdat, etc. ... are expected to lie in the region * defined by the OCRAM configuration settings. * * Other RAM regions must be selected use configuration options and the diff --git a/arch/arm/src/s32k3xx/s32k3xx_edma.c b/arch/arm/src/s32k3xx/s32k3xx_edma.c index 03049b4364e..e102c52d71c 100644 --- a/arch/arm/src/s32k3xx/s32k3xx_edma.c +++ b/arch/arm/src/s32k3xx/s32k3xx_edma.c @@ -444,7 +444,7 @@ static struct s32k3xx_edmatcd_s *s32k3xx_tcd_alloc(void) struct s32k3xx_edmatcd_s *tcd; irqstate_t flags; - /* Take the 'dsem'. When we hold the the 'dsem', then we know that one + /* Take the 'dsem'. When we hold the 'dsem', then we know that one * TCD is reserved for us in the free list. * * NOTE: We use a critical section here because we may block waiting for @@ -476,7 +476,7 @@ static struct s32k3xx_edmatcd_s *s32k3xx_tcd_alloc(void) #if CONFIG_S32K3XX_EDMA_NTCD > 0 static void s32k3xx_tcd_free_nolock(struct s32k3xx_edmatcd_s *tcd) { - /* Add the the TCD to the end of the free list and post the 'dsem', + /* Add the TCD to the end of the free list and post the 'dsem', * possibly waking up another thread that might be waiting for * a TCD. */ @@ -489,7 +489,7 @@ static void s32k3xx_tcd_free(struct s32k3xx_edmatcd_s *tcd) { irqstate_t flags; - /* Add the the TCD to the end of the free list and post the 'dsem', + /* Add the TCD to the end of the free list and post the 'dsem', * possibly waking up another thread that might be waiting for * a TCD. */ @@ -1360,7 +1360,7 @@ int s32k3xx_dmach_xfrsetup(DMACH_HANDLE *handle, * this will be generated with the final TCD. * * At the conclusion of the DMA, the DMA channel is reset, all TCDs are - * freed, and the callback function is called with the the success/fail + * freed, and the callback function is called with the success/fail * result of the DMA. * * NOTE: On Rx DMAs (peripheral-to-memory or memory-to-memory), it is @@ -1452,7 +1452,7 @@ void s32k3xx_dmach_stop(DMACH_HANDLE handle) * * Description: * This function checks the TCD (Task Control Descriptor) status for a - * specified eDMA channel and returns the the number of major loop counts + * specified eDMA channel and returns the number of major loop counts * that have not finished. * * NOTES: diff --git a/arch/arm/src/s32k3xx/s32k3xx_edma.h b/arch/arm/src/s32k3xx/s32k3xx_edma.h index b1d4f5d3806..379a6dbd5d9 100644 --- a/arch/arm/src/s32k3xx/s32k3xx_edma.h +++ b/arch/arm/src/s32k3xx/s32k3xx_edma.h @@ -354,7 +354,7 @@ int s32k3xx_dmach_xfrsetup(DMACH_HANDLE *handle, * interrupts will be generated with the final being the DONE interrupt. * * At the conclusion of the DMA, the DMA channel is reset, all TCDs are - * freed, and the callback function is called with the the success/fail + * freed, and the callback function is called with the success/fail * result of the DMA. * * NOTE: @@ -401,7 +401,7 @@ void s32k3xx_dmach_stop(DMACH_HANDLE handle); * * Description: * This function checks the TCD (Task Control Descriptor) status for a - * specified eDMA channel and returns the the number of major loop counts + * specified eDMA channel and returns the number of major loop counts * that have not finished. * * NOTES: diff --git a/arch/arm/src/samd5e5/sam_gclk.h b/arch/arm/src/samd5e5/sam_gclk.h index 158464ae32a..1962674014e 100644 --- a/arch/arm/src/samd5e5/sam_gclk.h +++ b/arch/arm/src/samd5e5/sam_gclk.h @@ -152,7 +152,7 @@ void sam_gclk_chan_disable(uint8_t channel); * channel - Index of the GCLK channel to be checked * * Returned Value: - * True if the the wrtlock bit is set in the channel's PCHCTRL register. + * True if the wrtlock bit is set in the channel's PCHCTRL register. * ****************************************************************************/ diff --git a/arch/arm/src/stm32/stm32_gpio.c b/arch/arm/src/stm32/stm32_gpio.c index 05b6c4191f2..792a6a00c13 100644 --- a/arch/arm/src/stm32/stm32_gpio.c +++ b/arch/arm/src/stm32/stm32_gpio.c @@ -546,7 +546,7 @@ int stm32_configgpio(uint32_t cfgset) putreg32(regval, base + STM32_GPIO_PUPDR_OFFSET); /* Set the alternate function (Only alternate function pins) - * This is done after configuring the the pin's connection + * This is done after configuring the pin's connection * on a change away from an Alternate function. */ diff --git a/arch/arm/src/stm32/stm32_pwr.c b/arch/arm/src/stm32/stm32_pwr.c index c62500f986d..b55c301cd36 100644 --- a/arch/arm/src/stm32/stm32_pwr.c +++ b/arch/arm/src/stm32/stm32_pwr.c @@ -284,7 +284,7 @@ int stm32_pwr_enablewkup(enum stm32_pwr_wupin_e wupin, bool wupon) return -EINVAL; } - /* Set/clear the the wakeup pin enable bit in the CSR. This must be done + /* Set/clear the wakeup pin enable bit in the CSR. This must be done * within a critical section because the CSR is shared with other functions * that may be running concurrently on another thread. */ diff --git a/arch/arm/src/stm32f0l0g0/stm32_serial_v1.c b/arch/arm/src/stm32f0l0g0/stm32_serial_v1.c index f607d8c8d6c..2643c30b840 100644 --- a/arch/arm/src/stm32f0l0g0/stm32_serial_v1.c +++ b/arch/arm/src/stm32f0l0g0/stm32_serial_v1.c @@ -1395,7 +1395,7 @@ static void stm32serial_dmashutdown(struct uart_dev_s *dev) * Description: * Configure the USART 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/stm32f0l0g0/stm32_serial_v2.c b/arch/arm/src/stm32f0l0g0/stm32_serial_v2.c index 29496cfad2e..522b231f308 100644 --- a/arch/arm/src/stm32f0l0g0/stm32_serial_v2.c +++ b/arch/arm/src/stm32f0l0g0/stm32_serial_v2.c @@ -1023,7 +1023,7 @@ static void up_shutdown(struct uart_dev_s *dev) * Description: * Configure the USART 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/stm32f0l0g0/stm32f0l0_pwr.c b/arch/arm/src/stm32f0l0g0/stm32f0l0_pwr.c index 2936a784e2e..ab65b569e96 100644 --- a/arch/arm/src/stm32f0l0g0/stm32f0l0_pwr.c +++ b/arch/arm/src/stm32f0l0g0/stm32f0l0_pwr.c @@ -232,7 +232,7 @@ int stm32_pwr_enablewkup(enum stm32_pwr_wupin_e wupin, bool wupon) return -EINVAL; } - /* Set/clear the the wakeup pin enable bit in the CSR. This must be done + /* Set/clear the wakeup pin enable bit in the CSR. This must be done * within a critical section because the CSR is shared with other functions * that may be running concurrently on another thread. */ diff --git a/arch/arm/src/stm32f7/Kconfig b/arch/arm/src/stm32f7/Kconfig index fbb52a5cd99..1e1e397b9bf 100644 --- a/arch/arm/src/stm32f7/Kconfig +++ b/arch/arm/src/stm32f7/Kconfig @@ -2783,7 +2783,7 @@ config STM32F7_RTC_AUTO_LSECLOCK_START_DRV_CAPABILITY default n ---help--- This will cycle through the values from low to high. To avoid - damaging the the crystal. We want to use the lowest setting that gets + damaging the crystal. We want to use the lowest setting that gets the OSC running. See app note AN2867 0 = Low drive capability (default) diff --git a/arch/arm/src/stm32f7/stm32_gpio.c b/arch/arm/src/stm32f7/stm32_gpio.c index 77ae862b1be..632fe498cb5 100644 --- a/arch/arm/src/stm32f7/stm32_gpio.c +++ b/arch/arm/src/stm32f7/stm32_gpio.c @@ -254,7 +254,7 @@ int stm32_configgpio(uint32_t cfgset) putreg32(regval, base + STM32_GPIO_PUPDR_OFFSET); /* Set the alternate function (Only alternate function pins) - * This is done after configuring the the pin's connection + * This is done after configuring the pin's connection * on a change away from an Alternate function. */ diff --git a/arch/arm/src/stm32f7/stm32_serial.c b/arch/arm/src/stm32f7/stm32_serial.c index 153e6bc776f..cf09c2ec689 100644 --- a/arch/arm/src/stm32f7/stm32_serial.c +++ b/arch/arm/src/stm32f7/stm32_serial.c @@ -2208,7 +2208,7 @@ static void up_dma_shutdown(struct uart_dev_s *dev) * Description: * Configure the USART 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/stm32h7/stm32_gpio.c b/arch/arm/src/stm32h7/stm32_gpio.c index 24521876058..226868a0a70 100644 --- a/arch/arm/src/stm32h7/stm32_gpio.c +++ b/arch/arm/src/stm32h7/stm32_gpio.c @@ -296,7 +296,7 @@ int stm32_configgpio(uint32_t cfgset) putreg32(regval, base + STM32_GPIO_PUPDR_OFFSET); /* Set the alternate function (Only alternate function pins) - * This is done after configuring the the pin's connection + * This is done after configuring the pin's connection * on a change away from an Alternate function. */ diff --git a/arch/arm/src/stm32h7/stm32_serial.c b/arch/arm/src/stm32h7/stm32_serial.c index e73dbd599cc..e9e26133a85 100644 --- a/arch/arm/src/stm32h7/stm32_serial.c +++ b/arch/arm/src/stm32h7/stm32_serial.c @@ -2396,7 +2396,7 @@ static void up_dma_shutdown(struct uart_dev_s *dev) * Description: * Configure the USART 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/stm32l4/stm32l4_serial.c b/arch/arm/src/stm32l4/stm32l4_serial.c index e2114f940e6..c50ec0dd7cb 100644 --- a/arch/arm/src/stm32l4/stm32l4_serial.c +++ b/arch/arm/src/stm32l4/stm32l4_serial.c @@ -1759,7 +1759,7 @@ static void stm32l4serial_dmashutdown(struct uart_dev_s *dev) * Description: * Configure the USART 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/stm32l5/Kconfig b/arch/arm/src/stm32l5/Kconfig index e133b916b62..dbfe28e653c 100644 --- a/arch/arm/src/stm32l5/Kconfig +++ b/arch/arm/src/stm32l5/Kconfig @@ -440,7 +440,7 @@ config STM32L5_RTC_AUTO_LSECLOCK_START_DRV_CAPABILITY default n ---help--- This will cycle through the values from low to high. To avoid - damaging the the crystal. We want to use the lowest setting that gets + damaging the crystal. We want to use the lowest setting that gets the OSC running. See app note AN2867 0 = Low drive capability (default) diff --git a/arch/arm/src/stm32u5/Kconfig b/arch/arm/src/stm32u5/Kconfig index 753bf5fb78d..ee81feb849f 100644 --- a/arch/arm/src/stm32u5/Kconfig +++ b/arch/arm/src/stm32u5/Kconfig @@ -724,7 +724,7 @@ config STM32U5_RTC_AUTO_LSECLOCK_START_DRV_CAPABILITY default n ---help--- This will cycle through the values from low to high. To avoid - damaging the the crystal. We want to use the lowest setting that gets + damaging the crystal. We want to use the lowest setting that gets the OSC running. See app note AN2867 0 = Low drive capability (default) diff --git a/arch/arm/src/stm32wb/stm32wb_serial.c b/arch/arm/src/stm32wb/stm32wb_serial.c index be811020d23..13eed7203c9 100644 --- a/arch/arm/src/stm32wb/stm32wb_serial.c +++ b/arch/arm/src/stm32wb/stm32wb_serial.c @@ -1380,7 +1380,7 @@ static void stm32wb_serial_dmashutdown(struct uart_dev_s *dev) * Description: * Configure the USART 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/tiva/common/tiva_eeprom.c b/arch/arm/src/tiva/common/tiva_eeprom.c index 5b9555e10fd..9c537e7cf72 100644 --- a/arch/arm/src/tiva/common/tiva_eeprom.c +++ b/arch/arm/src/tiva/common/tiva_eeprom.c @@ -180,7 +180,7 @@ static inline void tiva_delay(uint32_t delay) * register reads/writes. * * NOTE: It takes five clock cycles after the write to enable a peripheral - * before the the peripheral is actually enabled. During this time, + * before the peripheral is actually enabled. During this time, * attempts to access the peripheral result in a bus fault. Care should be * taken to ensure that the peripheral is not accessed during this brief * time period. diff --git a/arch/arm/src/tlsr82/tlsr82_adc.c b/arch/arm/src/tlsr82/tlsr82_adc.c index 410433dfefd..4d09fa34335 100644 --- a/arch/arm/src/tlsr82/tlsr82_adc.c +++ b/arch/arm/src/tlsr82/tlsr82_adc.c @@ -520,7 +520,7 @@ static void tlsr82_adc_config(struct adc_chan_s *priv) * Name: tlsr82_adc_pin_config * * Description: - * Configure the the input pin as adc function, this function should be + * Configure the input pin as adc function, this function should be * called before used this pin as adc. * * Input Parameters: @@ -550,7 +550,7 @@ static void tlsr82_adc_pin_config(uint32_t pinset) * Name: tlsr82_adc_chan_config * * Description: - * Configure the the input pin as the adc channel input, tlsr82 only have + * Configure the input pin as the adc channel input, tlsr82 only have * one adc conversion channel. * * Input Parameters: diff --git a/arch/arm/src/tlsr82/tlsr82_serial.c b/arch/arm/src/tlsr82/tlsr82_serial.c index 8ce9393b867..3b9c28950dc 100644 --- a/arch/arm/src/tlsr82/tlsr82_serial.c +++ b/arch/arm/src/tlsr82/tlsr82_serial.c @@ -1200,7 +1200,7 @@ static int UART_RAMCODE tlsr82_dma_interrupt(int irq, void *context, * 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/arm64/src/bcm2711/bcm2711_mailbox.c b/arch/arm64/src/bcm2711/bcm2711_mailbox.c index 5065e33d312..6cc1361669d 100644 --- a/arch/arm64/src/bcm2711/bcm2711_mailbox.c +++ b/arch/arm64/src/bcm2711/bcm2711_mailbox.c @@ -277,7 +277,7 @@ static int bcm2711_mbox_sendreq(FAR uint32_t *buf, uint8_t n) return res; } - /* The mailbox _MUST_ return the the same buffer address, it is + /* The mailbox _MUST_ return the same buffer address, it is * not possible for it to do otherwise (according to raspberrypi/firmware * docs). */ diff --git a/arch/arm64/src/imx9/imx9_edma.c b/arch/arm64/src/imx9/imx9_edma.c index 6ae182cb398..851eb896ac1 100644 --- a/arch/arm64/src/imx9/imx9_edma.c +++ b/arch/arm64/src/imx9/imx9_edma.c @@ -188,7 +188,7 @@ static struct imx9_edmatcd_s *imx9_tcd_alloc(void) struct imx9_edmatcd_s *tcd; irqstate_t flags; - /* Take the 'dsem'. When we hold the the 'dsem', then we know that one + /* Take the 'dsem'. When we hold the 'dsem', then we know that one * TCD is reserved for us in the free list. * * NOTE: We use a critical section here because we may block waiting for @@ -220,7 +220,7 @@ static struct imx9_edmatcd_s *imx9_tcd_alloc(void) #if CONFIG_IMX9_EDMA_NTCD > 0 static void imx9_tcd_free_nolock(struct imx9_edmatcd_s *tcd) { - /* Add the the TCD to the end of the free list and post the 'dsem', + /* Add the TCD to the end of the free list and post the 'dsem', * possibly waking up another thread that might be waiting for * a TCD. */ @@ -233,7 +233,7 @@ static void imx9_tcd_free(struct imx9_edmatcd_s *tcd) { irqstate_t flags; - /* Add the the TCD to the end of the free list and post the 'dsem', + /* Add the TCD to the end of the free list and post the 'dsem', * possibly waking up another thread that might be waiting for * a TCD. */ @@ -1235,7 +1235,7 @@ int imx9_dmach_xfrsetup(DMACH_HANDLE handle, * this will be generated with the final TCD. * * At the conclusion of the DMA, the DMA channel is reset, all TCDs are - * freed, and the callback function is called with the the success/fail + * freed, and the callback function is called with the success/fail * result of the DMA. * * NOTE: On Rx DMAs (peripheral-to-memory or memory-to-memory), it is @@ -1324,7 +1324,7 @@ void imx9_dmach_stop(DMACH_HANDLE handle) * * Description: * This function checks the TCD (Task Control Descriptor) status for a - * specified eDMA channel and returns the the number of major loop counts + * specified eDMA channel and returns the number of major loop counts * that have not finished. * * NOTES: diff --git a/arch/arm64/src/imx9/imx9_edma.h b/arch/arm64/src/imx9/imx9_edma.h index a0bf7a539a5..9d1c68a26c5 100644 --- a/arch/arm64/src/imx9/imx9_edma.h +++ b/arch/arm64/src/imx9/imx9_edma.h @@ -349,7 +349,7 @@ int imx9_dmach_xfrsetup(DMACH_HANDLE handle, * interrupts will be generated with the final being the DONE interrupt. * * At the conclusion of the DMA, the DMA channel is reset, all TCDs are - * freed, and the callback function is called with the the success/fail + * freed, and the callback function is called with the success/fail * result of the DMA. * * NOTE: @@ -396,7 +396,7 @@ void imx9_dmach_stop(DMACH_HANDLE handle); * * Description: * This function checks the TCD (Task Control Descriptor) status for a - * specified eDMA channel and returns the the number of major loop counts + * specified eDMA channel and returns the number of major loop counts * that have not finished. * * NOTES: diff --git a/arch/avr/src/at90usb/at90usb_serial.c b/arch/avr/src/at90usb/at90usb_serial.c index fca902c84e4..25d0daeb379 100644 --- a/arch/avr/src/at90usb/at90usb_serial.c +++ b/arch/avr/src/at90usb/at90usb_serial.c @@ -207,7 +207,7 @@ static void usart1_shutdown(struct uart_dev_s *dev) * Description: * Configure the USART 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/avr/src/atmega/atmega_serial.c b/arch/avr/src/atmega/atmega_serial.c index 88af216ead7..fb35f8e64ac 100644 --- a/arch/avr/src/atmega/atmega_serial.c +++ b/arch/avr/src/atmega/atmega_serial.c @@ -345,7 +345,7 @@ static void usart1_shutdown(struct uart_dev_s *dev) * Description: * Configure the USART 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/avr/src/avrdx/avrdx_serial.c b/arch/avr/src/avrdx/avrdx_serial.c index ee559c02ccc..ef06b5d24b6 100644 --- a/arch/avr/src/avrdx/avrdx_serial.c +++ b/arch/avr/src/avrdx/avrdx_serial.c @@ -339,7 +339,7 @@ static void avrdx_usart_shutdown(struct uart_dev_s *dev) * Description: * Configure the USART to operate 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 the attach method is executed diff --git a/arch/renesas/src/m16c/m16c_serial.c b/arch/renesas/src/m16c/m16c_serial.c index 628d4175bf3..c10761cc13c 100644 --- a/arch/renesas/src/m16c/m16c_serial.c +++ b/arch/renesas/src/m16c/m16c_serial.c @@ -688,7 +688,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/risc-v/src/bl602/bl602_serial.c b/arch/risc-v/src/bl602/bl602_serial.c index 22b4378547d..97d74b28424 100644 --- a/arch/risc-v/src/bl602/bl602_serial.c +++ b/arch/risc-v/src/bl602/bl602_serial.c @@ -385,7 +385,7 @@ static void bl602_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 by the attach method (unless the diff --git a/arch/risc-v/src/bl808/bl808_serial.c b/arch/risc-v/src/bl808/bl808_serial.c index 60f2964db10..4f38bfe43d5 100644 --- a/arch/risc-v/src/bl808/bl808_serial.c +++ b/arch/risc-v/src/bl808/bl808_serial.c @@ -517,7 +517,7 @@ static void bl808_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 by the attach method (unless the diff --git a/arch/risc-v/src/common/espressif/esp_mcpwm.c b/arch/risc-v/src/common/espressif/esp_mcpwm.c index 5e5def1b815..9eb9bf3e036 100644 --- a/arch/risc-v/src/common/espressif/esp_mcpwm.c +++ b/arch/risc-v/src/common/espressif/esp_mcpwm.c @@ -417,7 +417,7 @@ static struct mcpwm_cap_channel_lowerhalf_s mcpwm_cap_ch2_lowerhalf = * Description: * Configures the MCPWM operator and generator, setting the PWM clock and * output pins. - * If required, also configures fault detection. When done, sets the the + * If required, also configures fault detection. When done, sets the * motor state to IDLE. * * Input Parameters: diff --git a/arch/risc-v/src/common/espressif/esp_serial.c b/arch/risc-v/src/common/espressif/esp_serial.c index a7b8e874b70..a89b739c99e 100644 --- a/arch/risc-v/src/common/espressif/esp_serial.c +++ b/arch/risc-v/src/common/espressif/esp_serial.c @@ -613,7 +613,7 @@ static void esp_shutdown(uart_dev_t *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/risc-v/src/common/espressif/esp_usbserial.c b/arch/risc-v/src/common/espressif/esp_usbserial.c index a69374d05d3..1b64a7cff80 100644 --- a/arch/risc-v/src/common/espressif/esp_usbserial.c +++ b/arch/risc-v/src/common/espressif/esp_usbserial.c @@ -267,7 +267,7 @@ static void esp_rxint(struct uart_dev_s *dev, bool enable) * 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 by the attach method (unless diff --git a/arch/risc-v/src/common/riscv_pmp.c b/arch/risc-v/src/common/riscv_pmp.c index 3a13c364856..6915e8f5b57 100644 --- a/arch/risc-v/src/common/riscv_pmp.c +++ b/arch/risc-v/src/common/riscv_pmp.c @@ -415,7 +415,7 @@ static void pmp_read(uintptr_t region, pmp_entry_t * entry) * base - The base address of the region. * size - The memory length of the region. * For the NAPOT mode, the base address must aligned to the size boundary, - * and the size must be power-of-two according to the the PMP spec. + * and the size must be power-of-two according to the PMP spec. * * Returned Value: * 0 on success; negated error on failure @@ -593,7 +593,7 @@ int riscv_config_pmp_region(uintptr_t region, uintptr_t attr, * base - The base address of the region. * size - The memory length of the region. * For the NAPOT mode, the base address must aligned to the size boundary, - * and the size must be power-of-two according to the the PMP spec. + * and the size must be power-of-two according to the PMP spec. * * Returned Value: * 0 if access rights are not set at all diff --git a/arch/risc-v/src/esp32c3-legacy/esp32c3_lowputc.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_lowputc.c index a7cf7f1cb7d..2a53bd36871 100644 --- a/arch/risc-v/src/esp32c3-legacy/esp32c3_lowputc.c +++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_lowputc.c @@ -423,7 +423,7 @@ void esp32c3_lowputc_baud(const struct esp32c3_uart_s * priv) modifyreg32(UART_CLKDIV_REG(priv->id), UART_CLKDIV_FRAG_M, (frag_part & UART_CLKDIV_FRAG_V) << UART_CLKDIV_FRAG_S); - /* Set the the integral part of the frequency divider factor. */ + /* Set the integral part of the frequency divider factor. */ modifyreg32(UART_CLK_CONF_REG(priv->id), UART_SCLK_DIV_NUM_M, (sclk_div - 1) << UART_SCLK_DIV_NUM_S); diff --git a/arch/risc-v/src/esp32c3-legacy/esp32c3_serial.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_serial.c index f8ef3bff781..198d05f09b1 100644 --- a/arch/risc-v/src/esp32c3-legacy/esp32c3_serial.c +++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_serial.c @@ -442,7 +442,7 @@ static void esp32c3_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/risc-v/src/esp32c3-legacy/esp32c3_usbserial.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_usbserial.c index 382a6a01de7..67993ae97d2 100644 --- a/arch/risc-v/src/esp32c3-legacy/esp32c3_usbserial.c +++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_usbserial.c @@ -260,7 +260,7 @@ static void esp32c3_rxint(struct uart_dev_s *dev, bool enable) * 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 by the attach method (unless diff --git a/arch/risc-v/src/litex/litex_serial.c b/arch/risc-v/src/litex/litex_serial.c index 619a082374b..00a5608fdd9 100644 --- a/arch/risc-v/src/litex/litex_serial.c +++ b/arch/risc-v/src/litex/litex_serial.c @@ -320,7 +320,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 by the attach method (unless the diff --git a/arch/risc-v/src/mpfs/mpfs_mpu.c b/arch/risc-v/src/mpfs/mpfs_mpu.c index 1aaab997d48..7b28e3cb4d0 100644 --- a/arch/risc-v/src/mpfs/mpfs_mpu.c +++ b/arch/risc-v/src/mpfs/mpfs_mpu.c @@ -148,7 +148,7 @@ int mpfs_mpu_set(uintptr_t reg, uintptr_t perm, uintptr_t base, uintptr_t mode; uintptr_t napot; - /* Read the the permission and napot fields */ + /* Read the permission and napot fields */ MPFS_MPUCFG_DECODE(reg, &mode, &napot); @@ -226,7 +226,7 @@ bool mpfs_mpu_access_ok(uintptr_t reg, uintptr_t perm, uintptr_t base, uintptr_t reg_base; uintptr_t reg_size; - /* Read the the permission and napot fields */ + /* Read the permission and napot fields */ MPFS_MPUCFG_DECODE(reg, &mode, &napot); diff --git a/arch/risc-v/src/rp23xx-rv/rp23xx_serial.c b/arch/risc-v/src/rp23xx-rv/rp23xx_serial.c index 9edf84407f7..1e060c7354c 100644 --- a/arch/risc-v/src/rp23xx-rv/rp23xx_serial.c +++ b/arch/risc-v/src/rp23xx-rv/rp23xx_serial.c @@ -473,7 +473,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, + * Normally, this is just after the setup() method is called, * however, the serial console may operate in a non-interrupt driven mode * during the boot phase. * diff --git a/arch/sim/Kconfig b/arch/sim/Kconfig index b8ace8699b9..66ce9b18a40 100644 --- a/arch/sim/Kconfig +++ b/arch/sim/Kconfig @@ -312,7 +312,7 @@ config SIM_WIFIDEV_PSEUDO bool "Use the Simulated Wi-Fi devices" depends on DRIVERS_WIFI_SIM ---help--- - Use the the Simulated Wi-Fi devices, which are supported by the bss file. + Use the Simulated Wi-Fi devices, which are supported by the bss file. endchoice endif diff --git a/arch/sparc/src/bm3803/bm3803-irq.c b/arch/sparc/src/bm3803/bm3803-irq.c index ead37a3b449..be1b4e216df 100644 --- a/arch/sparc/src/bm3803/bm3803-irq.c +++ b/arch/sparc/src/bm3803/bm3803-irq.c @@ -89,7 +89,7 @@ void up_irqinitialize(void) /* And finally, enable interrupts */ - /* Interrupts are enabled by setting the the bit in the psr status + /* Interrupts are enabled by setting the bit in the psr status * register */ diff --git a/arch/sparc/src/bm3823/bm3823-irq.c b/arch/sparc/src/bm3823/bm3823-irq.c index e8997fd9e90..e15f226b605 100644 --- a/arch/sparc/src/bm3823/bm3823-irq.c +++ b/arch/sparc/src/bm3823/bm3823-irq.c @@ -94,7 +94,7 @@ void up_irqinitialize(void) /* And finally, enable interrupts */ - /* Interrupts are enabled by setting the the bit in the psr status + /* Interrupts are enabled by setting the bit in the psr status * register */ diff --git a/arch/sparc/src/bm3823/bm3823-serial.c b/arch/sparc/src/bm3823/bm3823-serial.c index a56901bee62..3cc4f226fe2 100644 --- a/arch/sparc/src/bm3823/bm3823-serial.c +++ b/arch/sparc/src/bm3823/bm3823-serial.c @@ -455,7 +455,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 by the attach method (unless the diff --git a/arch/xtensa/src/common/espressif/esp_mcpwm.c b/arch/xtensa/src/common/espressif/esp_mcpwm.c index a57444aba58..1f1995fcc77 100644 --- a/arch/xtensa/src/common/espressif/esp_mcpwm.c +++ b/arch/xtensa/src/common/espressif/esp_mcpwm.c @@ -430,7 +430,7 @@ static void esp_mcpwm_group_start(void) * Description: * Configures the MCPWM operator and generator, setting the PWM clock and * output pins. - * If required, also configures fault detection. When done, sets the the + * If required, also configures fault detection. When done, sets the * motor state to IDLE. * * Input Parameters: diff --git a/arch/xtensa/src/esp32/esp32_serial.c b/arch/xtensa/src/esp32/esp32_serial.c index bb45a497591..65ff458d795 100644 --- a/arch/xtensa/src/esp32/esp32_serial.c +++ b/arch/xtensa/src/esp32/esp32_serial.c @@ -1039,7 +1039,7 @@ static void esp32_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/xtensa/src/esp32s2/esp32s2_serial.c b/arch/xtensa/src/esp32s2/esp32s2_serial.c index 3be9834e38c..9363e6ed48f 100644 --- a/arch/xtensa/src/esp32s2/esp32s2_serial.c +++ b/arch/xtensa/src/esp32s2/esp32s2_serial.c @@ -444,7 +444,7 @@ static void esp32s2_shutdown(struct uart_dev_s *dev) * Description: * Configure the UART to operate 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 by the attach method (unless diff --git a/arch/xtensa/src/esp32s2/hardware/esp32s2_i2c.h b/arch/xtensa/src/esp32s2/hardware/esp32s2_i2c.h index 15487731d24..fadfdaad65b 100644 --- a/arch/xtensa/src/esp32s2/hardware/esp32s2_i2c.h +++ b/arch/xtensa/src/esp32s2/hardware/esp32s2_i2c.h @@ -1981,7 +1981,7 @@ #define I2C_DATE_REG(i) (REG_I2C_BASE(i) + 0xf8) /* I2C_DATE : R/W; bitpos: [31:0]; default: 419766272; - * This is the the version control register. + * This is the version control register. */ #define I2C_DATE 0xffffffff diff --git a/arch/xtensa/src/esp32s3/esp32s3_lowputc.c b/arch/xtensa/src/esp32s3/esp32s3_lowputc.c index c210769e1d3..d7ff0c9a590 100644 --- a/arch/xtensa/src/esp32s3/esp32s3_lowputc.c +++ b/arch/xtensa/src/esp32s3/esp32s3_lowputc.c @@ -540,7 +540,7 @@ void esp32s3_lowputc_baud(const struct esp32s3_uart_s *priv) modifyreg32(UART_CLKDIV_REG(priv->id), UART_CLKDIV_FRAG_M, (frag_part & UART_CLKDIV_FRAG_V) << UART_CLKDIV_FRAG_S); - /* Set the the integral part of the frequency divider factor. */ + /* Set the integral part of the frequency divider factor. */ modifyreg32(UART_CLK_CONF_REG(priv->id), UART_SCLK_DIV_NUM_M, (sclk_div - 1) << UART_SCLK_DIV_NUM_S); diff --git a/arch/xtensa/src/esp32s3/esp32s3_serial.c b/arch/xtensa/src/esp32s3/esp32s3_serial.c index 21fe944f18e..90833091432 100644 --- a/arch/xtensa/src/esp32s3/esp32s3_serial.c +++ b/arch/xtensa/src/esp32s3/esp32s3_serial.c @@ -525,7 +525,7 @@ static void esp32s3_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/xtensa/src/esp32s3/esp32s3_spiram.c b/arch/xtensa/src/esp32s3/esp32s3_spiram.c index 3c097cd58f6..1a902bb1c2e 100644 --- a/arch/xtensa/src/esp32s3/esp32s3_spiram.c +++ b/arch/xtensa/src/esp32s3/esp32s3_spiram.c @@ -162,7 +162,7 @@ static inline uint32_t mmu_valid_space(uint32_t *start_address) { /* Look for an invalid entry for the MMU table from the end of the it * towards the beginning. This is done to make sure we have a room for - * mapping the the SPIRAM + * mapping the SPIRAM */ for (int i = (FLASH_MMU_TABLE_SIZE - 1); i >= 0; i--) diff --git a/arch/xtensa/src/esp32s3/esp32s3_usbserial.c b/arch/xtensa/src/esp32s3/esp32s3_usbserial.c index 647e6a3e1b4..95deaad626f 100644 --- a/arch/xtensa/src/esp32s3/esp32s3_usbserial.c +++ b/arch/xtensa/src/esp32s3/esp32s3_usbserial.c @@ -261,7 +261,7 @@ static void esp32s3_rxint(struct uart_dev_s *dev, bool enable) * 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 by the attach method (unless diff --git a/arch/xtensa/src/esp32s3/hardware/esp32s3_i2c.h b/arch/xtensa/src/esp32s3/hardware/esp32s3_i2c.h index ca64fc1bb4f..c59e103148d 100644 --- a/arch/xtensa/src/esp32s3/hardware/esp32s3_i2c.h +++ b/arch/xtensa/src/esp32s3/hardware/esp32s3_i2c.h @@ -1776,7 +1776,7 @@ #define I2C_DATE_REG(i) (REG_I2C_BASE(i) + 0xf8) /* I2C_DATE : R/W; bitpos: [31:0]; default: 537330177; - * This is the the version register. + * This is the version register. */ #define I2C_DATE 0xffffffff diff --git a/arch/xtensa/src/esp32s3/hardware/esp32s3_lcd_cam.h b/arch/xtensa/src/esp32s3/hardware/esp32s3_lcd_cam.h index e585d1d730a..cfd3e9fff6b 100644 --- a/arch/xtensa/src/esp32s3/hardware/esp32s3_lcd_cam.h +++ b/arch/xtensa/src/esp32s3/hardware/esp32s3_lcd_cam.h @@ -266,7 +266,7 @@ /* LCD_CAM_CAM_VH_DE_MODE_EN : R/W; bitpos: [28]; default: 0; * 1: Input control signals are CAM_DE CAM_HSYNC and CAM_VSYNC is 1. 0: * Input control signals are CAM_DE and CAM_VSYNC. CAM_HSYNC and CAM_DE are - * all 1 the the same time. + * all 1 the same time. */ #define LCD_CAM_CAM_VH_DE_MODE_EN (BIT(28)) diff --git a/arch/z16/src/z16f/z16f_serial.c b/arch/z16/src/z16f/z16f_serial.c index 2bd41173ab1..e67144db6cc 100644 --- a/arch/z16/src/z16f/z16f_serial.c +++ b/arch/z16/src/z16f/z16f_serial.c @@ -344,7 +344,7 @@ static void z16f_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/z80/src/ez80/ez80_serial.c b/arch/z80/src/ez80/ez80_serial.c index fe6876d84a7..4c17fc24ea3 100644 --- a/arch/z80/src/ez80/ez80_serial.c +++ b/arch/z80/src/ez80/ez80_serial.c @@ -426,7 +426,7 @@ static void ez80_shutdown(FAR 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/z80/src/z8/z8_serial.c b/arch/z80/src/z8/z8_serial.c index feb63355f43..e7843b507be 100644 --- a/arch/z80/src/z8/z8_serial.c +++ b/arch/z80/src/z8/z8_serial.c @@ -422,7 +422,7 @@ static void z8_shutdown(FAR 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/boards/arm/lc823450/lc823450-xgevk/src/lc823450_appinit.c b/boards/arm/lc823450/lc823450-xgevk/src/lc823450_appinit.c index 5f0f30e7835..90836f69010 100644 --- a/boards/arm/lc823450/lc823450-xgevk/src/lc823450_appinit.c +++ b/boards/arm/lc823450/lc823450-xgevk/src/lc823450_appinit.c @@ -115,7 +115,7 @@ static void lc823450_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 initialization logic and the the + * between the board-specific initialization logic and the * matching application logic. The value could 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/boards/arm/s32k1xx/rddrone-bms772/src/s32k1xx_smbus_sbd.c b/boards/arm/s32k1xx/rddrone-bms772/src/s32k1xx_smbus_sbd.c index a01ab059b17..612474e1638 100644 --- a/boards/arm/s32k1xx/rddrone-bms772/src/s32k1xx_smbus_sbd.c +++ b/boards/arm/s32k1xx/rddrone-bms772/src/s32k1xx_smbus_sbd.c @@ -86,7 +86,7 @@ static ssize_t smbus_sbd_write(struct file *filep, const char *buffer, * Private Data ****************************************************************************/ -/* Valid operations that can be performed on the the SMBus Smart Battery Data +/* Valid operations that can be performed on the SMBus Smart Battery Data * slave character device: */ diff --git a/boards/arm/stm32/olimex-stm32-p407/src/stm32_cs4344.c b/boards/arm/stm32/olimex-stm32-p407/src/stm32_cs4344.c index 8dc82ecc2bf..81109ae857e 100644 --- a/boards/arm/stm32/olimex-stm32-p407/src/stm32_cs4344.c +++ b/boards/arm/stm32/olimex-stm32-p407/src/stm32_cs4344.c @@ -129,7 +129,7 @@ int stm32_cs4344_initialize(int minor) } /* No we can embed the CS4344/I2S conglomerate into a PCM decoder - * instance so that we will have a PCM front end for the the CS4344 + * instance so that we will have a PCM front end for the CS4344 * driver. */ diff --git a/boards/arm/stm32/stm32f4discovery/src/stm32_cs43l22.c b/boards/arm/stm32/stm32f4discovery/src/stm32_cs43l22.c index f72dd7348a9..710e0cccf3b 100644 --- a/boards/arm/stm32/stm32f4discovery/src/stm32_cs43l22.c +++ b/boards/arm/stm32/stm32f4discovery/src/stm32_cs43l22.c @@ -330,7 +330,7 @@ int stm32_cs43l22_initialize(int minor) } /* No we can embed the CS43L22/I2C/I2S conglomerate into a PCM decoder - * instance so that we will have a PCM front end for the the CS43L22 + * instance so that we will have a PCM front end for the CS43L22 * driver. */ diff --git a/boards/arm/stm32f7/common/src/stm32_cs4344.c b/boards/arm/stm32f7/common/src/stm32_cs4344.c index dce2e22d84a..b0d6d5b9c05 100644 --- a/boards/arm/stm32f7/common/src/stm32_cs4344.c +++ b/boards/arm/stm32f7/common/src/stm32_cs4344.c @@ -128,7 +128,7 @@ int board_cs4344_initialize(int devno, int port) } /* No we can embed the CS4344/I2S conglomerate into a PCM decoder - * instance so that we will have a PCM front end for the the CS4344 + * instance so that we will have a PCM front end for the CS4344 * driver. */ diff --git a/boards/arm/stm32f7/stm32f746g-disco/src/stm32_wm8994.c b/boards/arm/stm32f7/stm32f746g-disco/src/stm32_wm8994.c index cbc96730e4f..db438f7987a 100644 --- a/boards/arm/stm32f7/stm32f746g-disco/src/stm32_wm8994.c +++ b/boards/arm/stm32f7/stm32f746g-disco/src/stm32_wm8994.c @@ -274,7 +274,7 @@ int stm32_wm8994_initialize(int minor) } /* No we can embed the WM8994/I2C/I2S conglomerate into a PCM decoder - * instance so that we will have a PCM front end for the the WM8994 + * instance so that we will have a PCM front end for the WM8994 * driver. */ diff --git a/boards/arm/stm32h7/linum-stm32h753bi/scripts/flash.ld b/boards/arm/stm32h7/linum-stm32h753bi/scripts/flash.ld index ab66a9c0ae8..b726e5c4576 100644 --- a/boards/arm/stm32h7/linum-stm32h753bi/scripts/flash.ld +++ b/boards/arm/stm32h7/linum-stm32h753bi/scripts/flash.ld @@ -170,7 +170,7 @@ SECTIONS _ebss = ABSOLUTE(.); } > sram - /* Emit the the D3 power domain section for locating BDMA data + /* Emit the D3 power domain section for locating BDMA data * * Static data with locate_data(".sram4") will be located * at start of SRAM4; the rest of SRAM4 will be added to the heap. diff --git a/boards/arm/stm32h7/nucleo-h723zg/scripts/flash-mcuboot-app.ld b/boards/arm/stm32h7/nucleo-h723zg/scripts/flash-mcuboot-app.ld index 3c4844cc718..4153b942aba 100644 --- a/boards/arm/stm32h7/nucleo-h723zg/scripts/flash-mcuboot-app.ld +++ b/boards/arm/stm32h7/nucleo-h723zg/scripts/flash-mcuboot-app.ld @@ -169,7 +169,7 @@ SECTIONS _ebss = ABSOLUTE(.); } > sram - /* Emit the the D3 power domain section for locating BDMA data + /* Emit the D3 power domain section for locating BDMA data * * Static data with locate_data(".sram4") will be located * at start of SRAM4; the rest of SRAM4 will be added to the heap. diff --git a/boards/arm/stm32h7/nucleo-h723zg/scripts/flash-mcuboot-loader.ld b/boards/arm/stm32h7/nucleo-h723zg/scripts/flash-mcuboot-loader.ld index bdd58206431..5892f984172 100644 --- a/boards/arm/stm32h7/nucleo-h723zg/scripts/flash-mcuboot-loader.ld +++ b/boards/arm/stm32h7/nucleo-h723zg/scripts/flash-mcuboot-loader.ld @@ -169,7 +169,7 @@ SECTIONS _ebss = ABSOLUTE(.); } > sram - /* Emit the the D3 power domain section for locating BDMA data + /* Emit the D3 power domain section for locating BDMA data * * Static data with locate_data(".sram4") will be located * at start of SRAM4; the rest of SRAM4 will be added to the heap. diff --git a/boards/arm/stm32h7/nucleo-h723zg/scripts/flash.ld b/boards/arm/stm32h7/nucleo-h723zg/scripts/flash.ld index dcdc7c53e65..6d4c5272c4e 100644 --- a/boards/arm/stm32h7/nucleo-h723zg/scripts/flash.ld +++ b/boards/arm/stm32h7/nucleo-h723zg/scripts/flash.ld @@ -169,7 +169,7 @@ SECTIONS _ebss = ABSOLUTE(.); } > sram - /* Emit the the D3 power domain section for locating BDMA data + /* Emit the D3 power domain section for locating BDMA data * * Static data with locate_data(".sram4") will be located * at start of SRAM4; the rest of SRAM4 will be added to the heap. diff --git a/boards/arm/stm32h7/nucleo-h723zg/scripts/kernel.space.ld b/boards/arm/stm32h7/nucleo-h723zg/scripts/kernel.space.ld index b00c3670ea3..97a08c8a1c2 100644 --- a/boards/arm/stm32h7/nucleo-h723zg/scripts/kernel.space.ld +++ b/boards/arm/stm32h7/nucleo-h723zg/scripts/kernel.space.ld @@ -82,7 +82,7 @@ SECTIONS _ebss = ABSOLUTE(.); } > ksram - /* Emit the the D3 power domain section for locating BDMA data + /* Emit the D3 power domain section for locating BDMA data * * Static data with locate_data(".sram4") will be located * at start of SRAM4; the rest of SRAM4 will be added to the heap. diff --git a/boards/arm/stm32h7/nucleo-h743zi/scripts/flash-mcuboot-app.ld b/boards/arm/stm32h7/nucleo-h743zi/scripts/flash-mcuboot-app.ld index 85bbac601dd..e5bde0c3368 100644 --- a/boards/arm/stm32h7/nucleo-h743zi/scripts/flash-mcuboot-app.ld +++ b/boards/arm/stm32h7/nucleo-h743zi/scripts/flash-mcuboot-app.ld @@ -173,7 +173,7 @@ SECTIONS _ebss = ABSOLUTE(.); } > sram - /* Emit the the D3 power domain section for locating BDMA data + /* Emit the D3 power domain section for locating BDMA data * * Static data with locate_data(".sram4") will be located * at start of SRAM4; the rest of SRAM4 will be added to the heap. diff --git a/boards/arm/stm32h7/nucleo-h743zi/scripts/flash-mcuboot-loader.ld b/boards/arm/stm32h7/nucleo-h743zi/scripts/flash-mcuboot-loader.ld index b4a9ef00989..5ff55e70a2e 100644 --- a/boards/arm/stm32h7/nucleo-h743zi/scripts/flash-mcuboot-loader.ld +++ b/boards/arm/stm32h7/nucleo-h743zi/scripts/flash-mcuboot-loader.ld @@ -173,7 +173,7 @@ SECTIONS _ebss = ABSOLUTE(.); } > sram - /* Emit the the D3 power domain section for locating BDMA data + /* Emit the D3 power domain section for locating BDMA data * * Static data with locate_data(".sram4") will be located * at start of SRAM4; the rest of SRAM4 will be added to the heap. diff --git a/boards/arm/stm32h7/nucleo-h743zi/scripts/flash-nxboot-app.ld b/boards/arm/stm32h7/nucleo-h743zi/scripts/flash-nxboot-app.ld index fca1dc9d371..e24f5d49289 100644 --- a/boards/arm/stm32h7/nucleo-h743zi/scripts/flash-nxboot-app.ld +++ b/boards/arm/stm32h7/nucleo-h743zi/scripts/flash-nxboot-app.ld @@ -195,7 +195,7 @@ SECTIONS _ebss = ABSOLUTE(.); } > sram - /* Emit the the D3 power domain section for locating BDMA data + /* Emit the D3 power domain section for locating BDMA data * * Static data with locate_data(".sram4") will be located * at start of SRAM4; the rest of SRAM4 will be added to the heap. diff --git a/boards/arm/stm32h7/nucleo-h743zi/scripts/flash-nxboot-loader.ld b/boards/arm/stm32h7/nucleo-h743zi/scripts/flash-nxboot-loader.ld index 813d85789a4..584da5395b9 100644 --- a/boards/arm/stm32h7/nucleo-h743zi/scripts/flash-nxboot-loader.ld +++ b/boards/arm/stm32h7/nucleo-h743zi/scripts/flash-nxboot-loader.ld @@ -193,7 +193,7 @@ SECTIONS _ebss = ABSOLUTE(.); } > sram - /* Emit the the D3 power domain section for locating BDMA data + /* Emit the D3 power domain section for locating BDMA data * * Static data with locate_data(".sram4") will be located * at start of SRAM4; the rest of SRAM4 will be added to the heap. diff --git a/boards/arm/stm32h7/nucleo-h743zi/scripts/flash.ld b/boards/arm/stm32h7/nucleo-h743zi/scripts/flash.ld index 91db6b9c914..5eaa10b9125 100644 --- a/boards/arm/stm32h7/nucleo-h743zi/scripts/flash.ld +++ b/boards/arm/stm32h7/nucleo-h743zi/scripts/flash.ld @@ -173,7 +173,7 @@ SECTIONS _ebss = ABSOLUTE(.); } > sram - /* Emit the the D3 power domain section for locating BDMA data + /* Emit the D3 power domain section for locating BDMA data * * Static data with locate_data(".sram4") will be located * at start of SRAM4; the rest of SRAM4 will be added to the heap. diff --git a/boards/arm/stm32h7/nucleo-h743zi/scripts/kernel.space.ld b/boards/arm/stm32h7/nucleo-h743zi/scripts/kernel.space.ld index e3c77d263db..6912b2e882a 100644 --- a/boards/arm/stm32h7/nucleo-h743zi/scripts/kernel.space.ld +++ b/boards/arm/stm32h7/nucleo-h743zi/scripts/kernel.space.ld @@ -82,7 +82,7 @@ SECTIONS _ebss = ABSOLUTE(.); } > ksram - /* Emit the the D3 power domain section for locating BDMA data + /* Emit the D3 power domain section for locating BDMA data * * Static data with locate_data(".sram4") will be located * at start of SRAM4; the rest of SRAM4 will be added to the heap. diff --git a/boards/arm/stm32h7/nucleo-h743zi2/scripts/flash.ld b/boards/arm/stm32h7/nucleo-h743zi2/scripts/flash.ld index c1934e7aee4..c5b154de364 100644 --- a/boards/arm/stm32h7/nucleo-h743zi2/scripts/flash.ld +++ b/boards/arm/stm32h7/nucleo-h743zi2/scripts/flash.ld @@ -173,7 +173,7 @@ SECTIONS _ebss = ABSOLUTE(.); } > sram - /* Emit the the D3 power domain section for locating BDMA data + /* Emit the D3 power domain section for locating BDMA data * * Static data with locate_data(".sram4") will be located * at start of SRAM4; the rest of SRAM4 will be added to the heap. diff --git a/boards/arm/stm32h7/nucleo-h745zi/scripts/flash.ld b/boards/arm/stm32h7/nucleo-h745zi/scripts/flash.ld index ac7a1622ada..c4bf2bd60d6 100644 --- a/boards/arm/stm32h7/nucleo-h745zi/scripts/flash.ld +++ b/boards/arm/stm32h7/nucleo-h745zi/scripts/flash.ld @@ -124,7 +124,7 @@ SECTIONS KEEP(*(.shmem)) } > shmem - /* Emit the the D3 power domain section for locating BDMA data + /* Emit the D3 power domain section for locating BDMA data * * Static data with locate_data(".sram4") will be located * at start of SRAM4; the rest of SRAM4 will be added to the heap. diff --git a/boards/arm/stm32h7/openh743i/scripts/flash.ld b/boards/arm/stm32h7/openh743i/scripts/flash.ld index ebac9928341..351513cf924 100644 --- a/boards/arm/stm32h7/openh743i/scripts/flash.ld +++ b/boards/arm/stm32h7/openh743i/scripts/flash.ld @@ -170,7 +170,7 @@ SECTIONS _ebss = ABSOLUTE(.); } > sram - /* Emit the the D3 power domain section for locating BDMA data + /* Emit the D3 power domain section for locating BDMA data * * Static data with locate_data(".sram4") will be located * at start of SRAM4; the rest of SRAM4 will be added to the heap. diff --git a/boards/arm/stm32h7/portenta-h7/scripts/flash.ld b/boards/arm/stm32h7/portenta-h7/scripts/flash.ld index 17d9596568c..ad17d4464f0 100644 --- a/boards/arm/stm32h7/portenta-h7/scripts/flash.ld +++ b/boards/arm/stm32h7/portenta-h7/scripts/flash.ld @@ -130,7 +130,7 @@ SECTIONS KEEP(*(.shmem)) } > shmem - /* Emit the the D3 power domain section for locating BDMA data + /* Emit the D3 power domain section for locating BDMA data * * Static data with locate_data(".sram4") will be located * at start of SRAM4; the rest of SRAM4 will be added to the heap. diff --git a/boards/arm/stm32h7/stm32h745i-disco/scripts/flash.ld b/boards/arm/stm32h7/stm32h745i-disco/scripts/flash.ld index c018750e312..e0f982d7c64 100644 --- a/boards/arm/stm32h7/stm32h745i-disco/scripts/flash.ld +++ b/boards/arm/stm32h7/stm32h745i-disco/scripts/flash.ld @@ -201,7 +201,7 @@ SECTIONS } > shmem #endif - /* Emit the the D3 power domain section for locating BDMA data + /* Emit the D3 power domain section for locating BDMA data * * Static data with locate_data(".sram4") will be located * at start of SRAM4; the rest of SRAM4 will be added to the heap. diff --git a/boards/arm/stm32h7/stm32h747i-disco/scripts/flash.ld b/boards/arm/stm32h7/stm32h747i-disco/scripts/flash.ld index 4093c02f1cc..a29c210f9ae 100644 --- a/boards/arm/stm32h7/stm32h747i-disco/scripts/flash.ld +++ b/boards/arm/stm32h7/stm32h747i-disco/scripts/flash.ld @@ -171,7 +171,7 @@ SECTIONS _ebss = ABSOLUTE(.); } > sram - /* Emit the the D3 power domain section for locating BDMA data + /* Emit the D3 power domain section for locating BDMA data * * Static data with locate_data(".sram4") will be located * at start of SRAM4; the rest of SRAM4 will be added to the heap. diff --git a/boards/arm/stm32h7/stm32h747i-disco/scripts/kernel.space.ld b/boards/arm/stm32h7/stm32h747i-disco/scripts/kernel.space.ld index 8042103cd85..3189aed7d74 100644 --- a/boards/arm/stm32h7/stm32h747i-disco/scripts/kernel.space.ld +++ b/boards/arm/stm32h7/stm32h747i-disco/scripts/kernel.space.ld @@ -82,7 +82,7 @@ SECTIONS _ebss = ABSOLUTE(.); } > ksram - /* Emit the the D3 power domain section for locating BDMA data + /* Emit the D3 power domain section for locating BDMA data * * Static data with locate_data(".sram4") will be located * at start of SRAM4; the rest of SRAM4 will be added to the heap. diff --git a/boards/arm/stm32h7/stm32h750b-dk/scripts/flash.ld b/boards/arm/stm32h7/stm32h750b-dk/scripts/flash.ld index 5625f301743..eae68e2f5a1 100644 --- a/boards/arm/stm32h7/stm32h750b-dk/scripts/flash.ld +++ b/boards/arm/stm32h7/stm32h750b-dk/scripts/flash.ld @@ -200,7 +200,7 @@ SECTIONS } > shmem #endif - /* Emit the the D3 power domain section for locating BDMA data + /* Emit the D3 power domain section for locating BDMA data * * Static data with locate_data(".sram4") will be located * at start of SRAM4; the rest of SRAM4 will be added to the heap. diff --git a/boards/arm/stm32h7/weact-stm32h743/scripts/flash.ld b/boards/arm/stm32h7/weact-stm32h743/scripts/flash.ld index ae4fd70b310..1873bea292b 100644 --- a/boards/arm/stm32h7/weact-stm32h743/scripts/flash.ld +++ b/boards/arm/stm32h7/weact-stm32h743/scripts/flash.ld @@ -173,7 +173,7 @@ SECTIONS _ebss = ABSOLUTE(.); } > sram - /* Emit the the D3 power domain section for locating BDMA data + /* Emit the D3 power domain section for locating BDMA data * * Static data with locate_data(".sram4") will be located * at start of SRAM4; the rest of SRAM4 will be added to the heap. diff --git a/boards/arm/stm32h7/weact-stm32h750/scripts/flash.ld b/boards/arm/stm32h7/weact-stm32h750/scripts/flash.ld index 3111cf1691f..e73960d2a02 100644 --- a/boards/arm/stm32h7/weact-stm32h750/scripts/flash.ld +++ b/boards/arm/stm32h7/weact-stm32h750/scripts/flash.ld @@ -173,7 +173,7 @@ SECTIONS _ebss = ABSOLUTE(.); } > sram - /* Emit the the D3 power domain section for locating BDMA data + /* Emit the D3 power domain section for locating BDMA data * * Static data with locate_data(".sram4") will be located * at start of SRAM4; the rest of SRAM4 will be added to the heap. diff --git a/boards/xtensa/esp32/common/src/esp32_cs4344.c b/boards/xtensa/esp32/common/src/esp32_cs4344.c index 669406d9fb7..e8e2c41f8a6 100644 --- a/boards/xtensa/esp32/common/src/esp32_cs4344.c +++ b/boards/xtensa/esp32/common/src/esp32_cs4344.c @@ -125,7 +125,7 @@ int esp32_cs4344_initialize(int port) } /* No we can embed the CS4344/I2S conglomerate into a PCM decoder - * instance so that we will have a PCM front end for the the CS4344 + * instance so that we will have a PCM front end for the CS4344 * driver. */ diff --git a/boards/xtensa/esp32/common/src/esp32_es8388.c b/boards/xtensa/esp32/common/src/esp32_es8388.c index 9e4d1a8ec16..22f5f7a3f8f 100644 --- a/boards/xtensa/esp32/common/src/esp32_es8388.c +++ b/boards/xtensa/esp32/common/src/esp32_es8388.c @@ -153,7 +153,7 @@ int esp32_es8388_initialize(int i2c_port, uint8_t i2c_addr, int i2c_freq, } /* Now we can embed the ES8388/I2S conglomerate into a PCM decoder - * instance so that we will have a PCM front end for the the ES8388 + * instance so that we will have a PCM front end for the ES8388 * driver. */ diff --git a/boards/xtensa/esp32s2/common/src/esp32s2_cs4344.c b/boards/xtensa/esp32s2/common/src/esp32s2_cs4344.c index b1729b3b068..57eb0e6a858 100644 --- a/boards/xtensa/esp32s2/common/src/esp32s2_cs4344.c +++ b/boards/xtensa/esp32s2/common/src/esp32s2_cs4344.c @@ -119,7 +119,7 @@ int esp32s2_cs4344_initialize(void) } /* No we can embed the CS4344/I2S conglomerate into a PCM decoder - * instance so that we will have a PCM front end for the the CS4344 + * instance so that we will have a PCM front end for the CS4344 * driver. */ diff --git a/boards/xtensa/esp32s2/common/src/esp32s2_es8311.c b/boards/xtensa/esp32s2/common/src/esp32s2_es8311.c index 967e4ef3090..ba3674b3cca 100644 --- a/boards/xtensa/esp32s2/common/src/esp32s2_es8311.c +++ b/boards/xtensa/esp32s2/common/src/esp32s2_es8311.c @@ -154,7 +154,7 @@ int esp32s2_es8311_initialize(int i2c_port, uint8_t i2c_addr, int i2c_freq) ret = audio_register("pcm0", es8311); #else /* Now we can embed the ES8311/I2S conglomerate into a PCM decoder - * instance so that we will have a PCM front end for the the ES8311 + * instance so that we will have a PCM front end for the ES8311 * driver. */ diff --git a/boards/xtensa/esp32s3/common/src/esp32s3_cs4344.c b/boards/xtensa/esp32s3/common/src/esp32s3_cs4344.c index fbd96aa9a86..5b44f110793 100644 --- a/boards/xtensa/esp32s3/common/src/esp32s3_cs4344.c +++ b/boards/xtensa/esp32s3/common/src/esp32s3_cs4344.c @@ -118,7 +118,7 @@ int esp32s3_cs4344_initialize(int port) } /* No we can embed the CS4344/I2S conglomerate into a PCM decoder - * instance so that we will have a PCM front end for the the CS4344 + * instance so that we will have a PCM front end for the CS4344 * driver. */ diff --git a/boards/xtensa/esp32s3/common/src/esp32s3_es8311.c b/boards/xtensa/esp32s3/common/src/esp32s3_es8311.c index dcfa5039c36..e0873b844eb 100644 --- a/boards/xtensa/esp32s3/common/src/esp32s3_es8311.c +++ b/boards/xtensa/esp32s3/common/src/esp32s3_es8311.c @@ -154,7 +154,7 @@ int esp32s3_es8311_initialize(struct i2c_master_s *i2c, uint8_t i2c_addr, ret = audio_register("pcm0", es8311); #else /* Now we can embed the ES8311/I2S conglomerate into a PCM decoder - * instance so that we will have a PCM front end for the the ES8311 + * instance so that we will have a PCM front end for the ES8311 * driver. */ diff --git a/cmake/nuttx_generate_headers.cmake b/cmake/nuttx_generate_headers.cmake index 2bc3c82c63b..452e33b1948 100644 --- a/cmake/nuttx_generate_headers.cmake +++ b/cmake/nuttx_generate_headers.cmake @@ -150,8 +150,8 @@ endif() # Add final context target that ties together all of the above The context # target is invoked on each target build to assure that NuttX is properly -# configured. The basic configuration steps include creation of the the -# config.h and version.h header files in the include/nuttx directory and the +# configured. The basic configuration steps include creation of the config.h +# and version.h header files in the include/nuttx directory and the # establishment of symbolic links to configured directories. add_custom_target( diff --git a/drivers/lcd/Kconfig b/drivers/lcd/Kconfig index d13ca55fa79..a58d9c517cf 100644 --- a/drivers/lcd/Kconfig +++ b/drivers/lcd/Kconfig @@ -1618,7 +1618,7 @@ config LCD_ILI9341_IFACE0_HEIGHT int "Height of the display" default 320 ---help--- - Define the the height of the display. + Define the height of the display. choice prompt "LCD Orientation" @@ -1679,7 +1679,7 @@ config LCD_ILI9341_IFACE1_HEIGHT int "Height of the display" default 320 ---help--- - Define the the height of the display. + Define the height of the display. choice prompt "LCD Orientation" diff --git a/drivers/lcd/tda19988.c b/drivers/lcd/tda19988.c index 2c5bc9913f2..cd40b91aecc 100644 --- a/drivers/lcd/tda19988.c +++ b/drivers/lcd/tda19988.c @@ -1621,12 +1621,12 @@ static void tda19988_shutdown(FAR struct tda1988_dev_s *priv) * Name: tda19988_register * * Description: - * Create and register the the TDA19988 driver at 'devpath' + * Create and register the TDA19988 driver at 'devpath' * * Input Parameters: * devpath - The location to register the TDA19988 driver instance. The * standard location would be a path like /dev/hdmi0. - * lower - The interface to the the TDA19988 lower half driver. + * lower - The interface to the TDA19988 lower half driver. * * Returned Value: * On success, non-NULL handle is returned that may be subsequently used diff --git a/drivers/mmcsd/mmcsd_sdio.c b/drivers/mmcsd/mmcsd_sdio.c index 1149e821ac1..567cdd870da 100644 --- a/drivers/mmcsd/mmcsd_sdio.c +++ b/drivers/mmcsd/mmcsd_sdio.c @@ -4080,7 +4080,7 @@ static int mmcsd_cardidentify(FAR struct mmcsd_state_s *priv) { /* I am a little confused.. I think both SD and MMC cards * support CMD55 (but maybe only SD cards support CMD55). - * We'll make the the MMC vs. SD decision based on CMD1 and + * We'll make the MMC vs. SD decision based on CMD1 and * ACMD41. */ diff --git a/drivers/mtd/ftl.c b/drivers/mtd/ftl.c index 8cf35e83b3c..43bfeba38e9 100644 --- a/drivers/mtd/ftl.c +++ b/drivers/mtd/ftl.c @@ -58,7 +58,7 @@ #endif /* The maximum length of the device name paths is the maximum length of a - * name plus 5 for the the length of "/dev/" and a NUL terminator. + * name plus 5 for the length of "/dev/" and a NUL terminator. */ #define DEV_NAME_MAX (NAME_MAX + 5) diff --git a/drivers/mtd/mtd_config.c b/drivers/mtd/mtd_config.c index 89bf72c8064..94c926f6131 100644 --- a/drivers/mtd/mtd_config.c +++ b/drivers/mtd/mtd_config.c @@ -1684,7 +1684,7 @@ static int mtdconfig_ioctl(FAR struct file *filep, int cmd, case CFGDIOC_FIRSTCONFIG: - /* Get the the first config item */ + /* Get the first config item */ pdata = (FAR struct config_data_s *)arg; ret = mtdconfig_firstconfig(dev, pdata); diff --git a/drivers/usbdev/pl2303.c b/drivers/usbdev/pl2303.c index 2f688987e9f..cbfcf37bbd2 100644 --- a/drivers/usbdev/pl2303.c +++ b/drivers/usbdev/pl2303.c @@ -703,7 +703,7 @@ static inline int usbclass_recvpacket(FAR struct pl2303_dev_s *priv, uint16_t nbytes = 0; /* Get the next head index. During the time that RX interrupts are - * disabled, the the serial driver will be extracting data from the + * disabled, the serial driver will be extracting data from the * circular buffer and modifying recv.tail. During this time, we should * avoid modifying recv.head; Instead we will use a shadow copy of the * index. When interrupts are restored, the real recv.head will be updated diff --git a/drivers/usbhost/usbhost_max3421e.c b/drivers/usbhost/usbhost_max3421e.c index e0c162d3b87..19c42a4b811 100644 --- a/drivers/usbhost/usbhost_max3421e.c +++ b/drivers/usbhost/usbhost_max3421e.c @@ -1640,7 +1640,7 @@ static void max3421e_send_continue(FAR struct max3421e_usbhost_s *priv) } /* If the number inflight is exactly the maxpacket size and the transfer - * is not yet finished, then the the transfer size must have been max + * is not yet finished, then the transfer size must have been max * packet size. */ diff --git a/drivers/usbhost/usbhost_storage.c b/drivers/usbhost/usbhost_storage.c index 08fd719a4ec..5d6310c9296 100644 --- a/drivers/usbhost/usbhost_storage.c +++ b/drivers/usbhost/usbhost_storage.c @@ -1235,7 +1235,7 @@ static inline int usbhost_initvolume(FAR struct usbhost_state_s *priv) /* Send TESTUNITREADY to see if the unit is ready. The most likely * error error that can occur here is a a stall which simply means - * that the the device is not yet able to respond. + * that the device is not yet able to respond. */ ret = usbhost_testunitready(priv); diff --git a/drivers/wireless/gs2200m.c b/drivers/wireless/gs2200m.c index 51af509e316..8c11da03265 100644 --- a/drivers/wireless/gs2200m.c +++ b/drivers/wireless/gs2200m.c @@ -711,7 +711,7 @@ static ssize_t gs2200m_read(FAR struct file *filep, FAR char *buffer, ret = nxmutex_lock(&dev->dev_lock); if (ret < 0) { - /* Return if a signal is received or if the the task was canceled + /* Return if a signal is received or if the task was canceled * while we were waiting. */ diff --git a/drivers/wireless/spirit/include/spirit_radio.h b/drivers/wireless/spirit/include/spirit_radio.h index 8fef9a2231c..46d7ee2a1a8 100644 --- a/drivers/wireless/spirit/include/spirit_radio.h +++ b/drivers/wireless/spirit/include/spirit_radio.h @@ -2247,7 +2247,7 @@ int spirit_radio_set_refdiv(FAR struct spirit_library_s *spirit, * Name: spirit_radio_get_refdiv * * Description: - * Get the the synthesizer reference divider state. + * Get the synthesizer reference divider state. * * Input Parameters: * spirit - Reference to a Spirit library state structure instance @@ -2282,7 +2282,7 @@ int spirit_radio_enable_digdivider(FAR struct spirit_library_s *spirit, * Name: spirit_radio_isenabled_digdivider * * Description: - * Get the the synthesizer reference divider state. + * Get the synthesizer reference divider state. * * Input Parameters: * spirit - Reference to a Spirit library state structure instance diff --git a/drivers/wireless/spirit/lib/spirit_gpio.c b/drivers/wireless/spirit/lib/spirit_gpio.c index 640a14411c6..6070ba63085 100644 --- a/drivers/wireless/spirit/lib/spirit_gpio.c +++ b/drivers/wireless/spirit/lib/spirit_gpio.c @@ -345,7 +345,7 @@ int spirit_gpio_clockoutput_initialize( (uint8_t)(clockoutput->rcoprescaler) | (uint8_t)(clockoutput->xtracycles)); - /* Write to the the MCU_CLOCK register */ + /* Write to the MCU_CLOCK register */ return spirit_reg_write(spirit, MCU_CK_CONF_BASE, ®val, 1); } diff --git a/drivers/wireless/spirit/lib/spirit_pktstack.c b/drivers/wireless/spirit/lib/spirit_pktstack.c index 2881cc0d510..8ce7cfa80e6 100644 --- a/drivers/wireless/spirit/lib/spirit_pktstack.c +++ b/drivers/wireless/spirit/lib/spirit_pktstack.c @@ -854,7 +854,7 @@ uint16_t spirit_pktstack_get_rxpktlen(FAR struct spirit_library_s *spirit) spirit_reg_read(spirit, RX_PCKT_LEN1_BASE, regval, 2); - /* Rebuild and return the the length field */ + /* Rebuild and return the length field */ pktlen = ((((uint16_t) regval[0]) << 8) + (uint16_t) regval[1]); diff --git a/drivers/wireless/spirit/lib/spirit_radio.c b/drivers/wireless/spirit/lib/spirit_radio.c index 9cbc0f3e6c3..a3ee94f1ecd 100644 --- a/drivers/wireless/spirit/lib/spirit_radio.c +++ b/drivers/wireless/spirit/lib/spirit_radio.c @@ -4674,7 +4674,7 @@ int spirit_radio_set_refdiv(FAR struct spirit_library_s *spirit, * Name: spirit_radio_get_refdiv * * Description: - * Get the the synthesizer reference divider state. + * Get the synthesizer reference divider state. * * Input Parameters: * spirit - Reference to a Spirit library state structure instance @@ -4752,7 +4752,7 @@ int spirit_radio_enable_digdivider(FAR struct spirit_library_s *spirit, * Name: spirit_radio_isenabled_digdivider * * Description: - * Get the the synthesizer reference divider state. + * Get the synthesizer reference divider state. * * Input Parameters: * spirit - Reference to a Spirit library state structure instance diff --git a/drivers/wireless/spirit/lib/spirit_spi.c b/drivers/wireless/spirit/lib/spirit_spi.c index 88fa9609e2b..e0e9706e6df 100644 --- a/drivers/wireless/spirit/lib/spirit_spi.c +++ b/drivers/wireless/spirit/lib/spirit_spi.c @@ -673,7 +673,7 @@ int spirit_waitstatus(FAR struct spirit_library_s *spirit, /* This is probably not an error. In a busy radio environment, there * are many race conditions. Most typically, just when the driver is * setting up to perform a transmission, the hardware commits to a - * reception. The symptom is that the the above loop times out out + * reception. The symptom is that the above loop times out out * waiting to go into the TX state (because it is in the RX state). * * Complaining with too much debug output just aggravates the problem. diff --git a/fs/vfs/fs_fstat.c b/fs/vfs/fs_fstat.c index 182c3fe59ef..a1cd801a994 100644 --- a/fs/vfs/fs_fstat.c +++ b/fs/vfs/fs_fstat.c @@ -48,7 +48,7 @@ * Check for special cases where the character driver is really just a * proxy for the real, underlying MTD or block driver. * - * NOTE: This must be done here rather than in the the common + * NOTE: This must be done here rather than in the common * inode_stat() function because the filep reference must be available * in order to call the character driver ioctl method. * diff --git a/graphics/nxbe/nxbe.h b/graphics/nxbe/nxbe.h index 1b46cfed648..44d51508564 100644 --- a/graphics/nxbe/nxbe.h +++ b/graphics/nxbe/nxbe.h @@ -653,7 +653,7 @@ void nxbe_move(FAR struct nxbe_window_s *wnd, * Input Parameters: * wnd - The window that will receive the bitmap image * dest - Describes the rectangular region on the display that will - * receive the the bit map (window coordinate frame). + * receive the bit map (window coordinate frame). * src - The start of the source image. * origin - The origin of the upper, left-most corner of the full bitmap. * Both dest and origin are in window coordinates, however, origin @@ -684,7 +684,7 @@ void nxbe_bitmap_dev(FAR struct nxbe_window_s *wnd, * Input Parameters: * wnd - The window that will receive the bitmap image * dest - Describes the rectangular region on the display that will - * receive the the bit map (window coordinate frame). + * receive the bit map (window coordinate frame). * src - The start of the source image. * origin - The origin of the upper, left-most corner of the full bitmap. * Both dest and origin are in window coordinates, however, origin @@ -721,7 +721,7 @@ void nxbe_bitmap(FAR struct nxbe_window_s *wnd, * Input Parameters (same as for nxbe_bitmap_dev): * wnd - The window that will receive the bitmap image * dest - Describes the rectangular region in the window that will - * receive the the bit map (window coordinate frame). + * receive the bit map (window coordinate frame). * src - The start of the source image. * origin - The origin of the upper, left-most corner of the full bitmap. * Both dest and origin are in window coordinates, however, diff --git a/graphics/nxbe/nxbe_bitmap.c b/graphics/nxbe/nxbe_bitmap.c index 89b3756b18f..f610049d789 100644 --- a/graphics/nxbe/nxbe_bitmap.c +++ b/graphics/nxbe/nxbe_bitmap.c @@ -179,7 +179,7 @@ static inline void nxbe_bitmap_pwfb(FAR struct nxbe_window_s *wnd, * Input Parameters: * wnd - The window that will receive the bitmap image * dest - Describes the rectangular region on the display that will - * receive the the bit map (window coordinate frame). + * receive the bit map (window coordinate frame). * src - The start of the source image. * origin - The origin of the upper, left-most corner of the full bitmap. * Both dest and origin are in window coordinates, however, origin @@ -286,7 +286,7 @@ void nxbe_bitmap_dev(FAR struct nxbe_window_s *wnd, * Input Parameters: * wnd - The window that will receive the bitmap image * dest - Describes the rectangular region on the display that will - * receive the the bit map (window coordinate frame). + * receive the bit map (window coordinate frame). * src - The start of the source image. * origin - The origin of the upper, left-most corner of the full bitmap. * Both dest and origin are in window coordinates, however, origin diff --git a/graphics/nxbe/nxbe_flush.c b/graphics/nxbe/nxbe_flush.c index 475762cb348..739f2c8b422 100644 --- a/graphics/nxbe/nxbe_flush.c +++ b/graphics/nxbe/nxbe_flush.c @@ -59,7 +59,7 @@ * Input Parameters (same as for nxbe_flush): * wnd - The window that will receive the bitmap image * dest - Describes the rectangular region in the window that will - * receive the the bit map (window coordinate frame). + * receive the bit map (window coordinate frame). * src - The start of the source image. * origin - The origin of the upper, left-most corner of the full bitmap. * Both dest and origin are in window coordinates, however, origin diff --git a/graphics/nxterm/nxterm_driver.c b/graphics/nxterm/nxterm_driver.c index 3202e028cd8..ed3b38ac453 100644 --- a/graphics/nxterm/nxterm_driver.c +++ b/graphics/nxterm/nxterm_driver.c @@ -432,7 +432,7 @@ int nxterm_ioctl_tap(int cmd, uintptr_t arg) break; /* CMD: NXTERMIOC_NXTERM_RESIZE - * DESCRIPTION: Inform NxTerm keyboard the the size of the window has + * DESCRIPTION: Inform NxTerm keyboard the size of the window has * changed * ARG: A reference readable instance of struct * nxtermioc_resize_s diff --git a/include/nuttx/arch.h b/include/nuttx/arch.h index 70eb53e3a41..e1a598c222b 100644 --- a/include/nuttx/arch.h +++ b/include/nuttx/arch.h @@ -2519,7 +2519,7 @@ clock_t nxsched_get_next_expired(void); * Description: * Collect data that can be used for CPU load measurements. When * CONFIG_SCHED_CPULOAD_EXTCLK is defined, this is an exported interface, - * use the the external clock logic. Otherwise, it is an OS internal + * use the external clock logic. Otherwise, it is an OS internal * interface. * * Input Parameters: diff --git a/include/nuttx/audio/cs4344.h b/include/nuttx/audio/cs4344.h index 8900229bba8..a9cb48dbc02 100644 --- a/include/nuttx/audio/cs4344.h +++ b/include/nuttx/audio/cs4344.h @@ -47,7 +47,7 @@ * worker thread. * CONFIG_CS4344_BUFFER_SIZE - Preferred buffer size * CONFIG_CS4344_NUM_BUFFERS - Preferred number of buffers - * CONFIG_CS4344_WORKER_STACKSIZE - Stack size to use when creating the the + * CONFIG_CS4344_WORKER_STACKSIZE - Stack size to use when creating the * CS4344 worker thread. * CONFIG_CS4344_REGDUMP - Enable logic to dump all CS4344 registers to * the SYSLOG device. diff --git a/include/nuttx/audio/cs43l22.h b/include/nuttx/audio/cs43l22.h index 5455b57fa47..087ae6dfb4f 100644 --- a/include/nuttx/audio/cs43l22.h +++ b/include/nuttx/audio/cs43l22.h @@ -49,7 +49,7 @@ * worker thread. * CONFIG_CS43L22_BUFFER_SIZE - Preferred buffer size * CONFIG_CS43L22_NUM_BUFFERS - Preferred number of buffers - * CONFIG_CS43L22_WORKER_STACKSIZE - Stack size to use when creating the the + * CONFIG_CS43L22_WORKER_STACKSIZE - Stack size to use when creating the * CS43L22 worker thread. * CONFIG_CS43L22_REGDUMP - Enable logic to dump all CS43L22 registers to * the SYSLOG device. diff --git a/include/nuttx/audio/es8311.h b/include/nuttx/audio/es8311.h index 6d7d58c674d..e339eb238ff 100644 --- a/include/nuttx/audio/es8311.h +++ b/include/nuttx/audio/es8311.h @@ -49,7 +49,7 @@ * worker thread. * CONFIG_ES8311_BUFFER_SIZE - Preferred buffer size * CONFIG_ES8311_NUM_BUFFERS - Preferred number of buffers - * CONFIG_ES8311_WORKER_STACKSIZE - Stack size to use when creating the the + * CONFIG_ES8311_WORKER_STACKSIZE - Stack size to use when creating the * ES8311 worker thread. * CONFIG_ES8311_REGDUMP - Enable logic to dump all ES8311 registers to * the SYSLOG device. diff --git a/include/nuttx/audio/es8388.h b/include/nuttx/audio/es8388.h index 9beea79f216..b63af5a9481 100644 --- a/include/nuttx/audio/es8388.h +++ b/include/nuttx/audio/es8388.h @@ -49,7 +49,7 @@ * worker thread. * CONFIG_ES8388_BUFFER_SIZE - Preferred buffer size * CONFIG_ES8388_NUM_BUFFERS - Preferred number of buffers - * CONFIG_ES8388_WORKER_STACKSIZE - Stack size to use when creating the the + * CONFIG_ES8388_WORKER_STACKSIZE - Stack size to use when creating the * ES8388 worker thread. * CONFIG_ES8388_REGDUMP - Enable logic to dump all ES8388 registers to * the SYSLOG device. diff --git a/include/nuttx/clock.h b/include/nuttx/clock.h index 55b917fab14..d7dbfc4d467 100644 --- a/include/nuttx/clock.h +++ b/include/nuttx/clock.h @@ -387,7 +387,7 @@ extern "C" * NOTE that one is added to the delay. This is correct and must not be * changed: The contract for the use wdog_start is that the wdog will * delay FOR AT LEAST as long as requested, but may delay longer due to - * variety of factors. The wdog logic has no knowledge of the the phase + * variety of factors. The wdog logic has no knowledge of the phase * of the system timer when it is started: The next timer interrupt may * occur immediately or may be delayed for almost a full cycle. In order * to meet the contract requirement, the requested time is also always diff --git a/include/nuttx/fs/userfs.h b/include/nuttx/fs/userfs.h index 6104f624c0c..4cfee3eb02f 100644 --- a/include/nuttx/fs/userfs.h +++ b/include/nuttx/fs/userfs.h @@ -46,7 +46,7 @@ * LocalHost UDP socket with the server portof 0x83nn where nn is the * value that was provided when file system was created. * 3. The UserFs will receive system file system requests and forward them - * on the the MqUfsReqN to the user-space file system server + * on the MqUfsReqN to the user-space file system server * (userfs_run()). These requests may be accompanied by additional data in * an provided request buffer that was provided when the UserFS was * created. This buffer would hold, for example, the data to be diff --git a/include/nuttx/lcd/tda19988.h b/include/nuttx/lcd/tda19988.h index 0af0a07b572..4d08c0438a7 100644 --- a/include/nuttx/lcd/tda19988.h +++ b/include/nuttx/lcd/tda19988.h @@ -121,12 +121,12 @@ extern "C" * Name: tda19988_register * * Description: - * Create and register the the TDA19988 driver at 'devpath' + * Create and register the TDA19988 driver at 'devpath' * * Input Parameters: * devpath - The location to register the TDA19988 driver instance. The * standard location would be a path like /dev/hdmi0. - * lower - The interface to the the TDA19988 lower half driver. + * lower - The interface to the TDA19988 lower half driver. * * Returned Value: * On success, non-NULL handle is returned that may be subsequently used diff --git a/include/nuttx/net/net.h b/include/nuttx/net/net.h index a319b5d345e..a953eff0405 100644 --- a/include/nuttx/net/net.h +++ b/include/nuttx/net/net.h @@ -185,7 +185,7 @@ struct sock_intf_s /* Each socket refers to a connection structure of type FAR void *. Each * socket type will have a different connection structure type bound to its - * sockets. The fields at the the beginning of each connection type must + * sockets. The fields at the beginning of each connection type must * begin the same content prologue as struct socket_conn_s and must be cast * compatible with struct socket_conn_s. Connection-specific content may * then follow the common prologue fields. diff --git a/include/nuttx/nx/nxterm.h b/include/nuttx/nx/nxterm.h index cdd19f6799f..a5b76405139 100644 --- a/include/nuttx/nx/nxterm.h +++ b/include/nuttx/nx/nxterm.h @@ -202,7 +202,7 @@ * CONFIGURATION: CONFIG_NXTERM_NXKBDIN * * CMD: NXTERMIOC_NXTERM_RESIZE - * DESCRIPTION: Inform NxTerm keyboard the the size of the window has + * DESCRIPTION: Inform NxTerm keyboard the size of the window has * changed * ARG: A reference readable instance of struct nxtermioc_resize_s * CONFIGURATION: CONFIG_NXTERM diff --git a/include/nuttx/power/pm.h b/include/nuttx/power/pm.h index 1a6c3fa9bd9..c1d0da3edb5 100644 --- a/include/nuttx/power/pm.h +++ b/include/nuttx/power/pm.h @@ -795,7 +795,7 @@ int pm_wakelock_staycount(FAR struct pm_wakelock_s *wakelock); * * These two steps are separated because the platform-specific IDLE loop * may have additional situational information that is not available to - * the the PM sub-system. For example, the IDLE loop may know that the + * the PM sub-system. For example, the IDLE loop may know that the * battery charge level is very low and may force lower power states * even if there is activity. * diff --git a/libs/libnx/nxmu/nx_bitmap.c b/libs/libnx/nxmu/nx_bitmap.c index f5709a1afbb..81e93dc2726 100644 --- a/libs/libnx/nxmu/nx_bitmap.c +++ b/libs/libnx/nxmu/nx_bitmap.c @@ -48,7 +48,7 @@ * Input Parameters: * hwnd - The window that will receive the bitmap image * dest - Describes the rectangular region on the display that will - * receive the the bit map. + * receive the bit map. * src - The start of the source image. * origin - The origin of the upper, left-most corner of the full bitmap. * Both dest and origin are in window coordinates, however, origin diff --git a/libs/libnx/nxmu/nx_constructwindow.c b/libs/libnx/nxmu/nx_constructwindow.c index 12177807806..ed7127c0760 100644 --- a/libs/libnx/nxmu/nx_constructwindow.c +++ b/libs/libnx/nxmu/nx_constructwindow.c @@ -46,7 +46,7 @@ * Description: * This function is the same a nx_openwindow EXCEPT that the client * provides the window structure instance. nx_constructwindow will - * initialize the the pre-allocated window structure for use by NX. + * initialize the pre-allocated window structure for use by NX. * This function is provided in addition to nx_openwindow in order * to support a kind of inheritance: The caller's window structure * may include extensions that are not visible to NX. diff --git a/net/sixlowpan/sixlowpan_input.c b/net/sixlowpan/sixlowpan_input.c index d25602f76b7..5792669dc96 100644 --- a/net/sixlowpan/sixlowpan_input.c +++ b/net/sixlowpan/sixlowpan_input.c @@ -722,7 +722,7 @@ static int sixlowpan_dispatch(FAR struct radio_driver_s *radio) * must apply to all of the frames in the list. * * Returned Value: - * Zero (OK) is returned if the the frame was consumed; Otherwise a negated + * Zero (OK) is returned if the frame was consumed; Otherwise a negated * errno value is returned. * ****************************************************************************/ diff --git a/net/tcp/tcp.h b/net/tcp/tcp.h index 35389a58949..07aed8ee990 100644 --- a/net/tcp/tcp.h +++ b/net/tcp/tcp.h @@ -361,7 +361,7 @@ struct tcp_conn_s bool zero_probe; /* TCP zero window probe timer */ /* connevents is a list of callbacks for each socket the uses this - * connection (there can be more that one in the event that the the socket + * connection (there can be more that one in the event that the socket * was dup'ed). It is used with the network monitor to handle * asynchronous loss-of-connection events. */ diff --git a/net/tcp/tcp_send_buffered.c b/net/tcp/tcp_send_buffered.c index 35b510e77db..0ed409199a5 100644 --- a/net/tcp/tcp_send_buffered.c +++ b/net/tcp/tcp_send_buffered.c @@ -1509,7 +1509,7 @@ ssize_t psock_tcp_send(FAR struct socket *psock, FAR const void *buf, * It makes sense to save the number of IOBs.) * * Also, for simplicity, do it only when we haven't sent anything - * from the the wrb yet. + * from the wrb yet. */ max_wrb_size = tcp_max_wrb_size(conn); diff --git a/net/tcp/tcp_timer.c b/net/tcp/tcp_timer.c index 33c70aff0f5..4fa54a868ce 100644 --- a/net/tcp/tcp_timer.c +++ b/net/tcp/tcp_timer.c @@ -74,7 +74,7 @@ * * NOTE: We only have 0.5 timing resolution here so the delay will be * between 0.5 and 1.0 seconds, and may be delayed further, depending on the - * polling rate of the the driver (often 1 second). + * polling rate of the driver (often 1 second). */ #define ACK_DELAY (1) diff --git a/net/udp/udp_sendto_buffered.c b/net/udp/udp_sendto_buffered.c index 3ca2f142e39..c7734d91819 100644 --- a/net/udp/udp_sendto_buffered.c +++ b/net/udp/udp_sendto_buffered.c @@ -618,7 +618,7 @@ ssize_t psock_udp_sendto(FAR struct socket *psock, FAR const void *buf, #if defined(CONFIG_NET_ARP_SEND) || defined(CONFIG_NET_ICMPv6_NEIGHBOR) #ifdef CONFIG_NET_ARP_SEND - /* Assure the the IPv4 destination address maps to a valid MAC address in + /* Assure the IPv4 destination address maps to a valid MAC address in * the ARP table. */ @@ -655,7 +655,7 @@ ssize_t psock_udp_sendto(FAR struct socket *psock, FAR const void *buf, #endif /* CONFIG_NET_ARP_SEND */ #ifdef CONFIG_NET_ICMPv6_NEIGHBOR - /* Assure the the IPv6 destination address maps to a valid MAC address in + /* Assure the IPv6 destination address maps to a valid MAC address in * the neighbor table. */ diff --git a/net/udp/udp_sendto_unbuffered.c b/net/udp/udp_sendto_unbuffered.c index a8c469fb198..03837ded3d3 100644 --- a/net/udp/udp_sendto_unbuffered.c +++ b/net/udp/udp_sendto_unbuffered.c @@ -329,7 +329,7 @@ ssize_t psock_udp_sendto(FAR struct socket *psock, FAR const void *buf, #if defined(CONFIG_NET_ARP_SEND) || defined(CONFIG_NET_ICMPv6_NEIGHBOR) #ifdef CONFIG_NET_ARP_SEND - /* Assure the the IPv4 destination address maps to a valid MAC address in + /* Assure the IPv4 destination address maps to a valid MAC address in * the ARP table. */ @@ -366,7 +366,7 @@ ssize_t psock_udp_sendto(FAR struct socket *psock, FAR const void *buf, #endif /* CONFIG_NET_ARP_SEND */ #ifdef CONFIG_NET_ICMPv6_NEIGHBOR - /* Assure the the IPv6 destination address maps to a valid MAC address in + /* Assure the IPv6 destination address maps to a valid MAC address in * the neighbor table. */ diff --git a/sched/Kconfig b/sched/Kconfig index 21d0b11d964..167cd17eb95 100644 --- a/sched/Kconfig +++ b/sched/Kconfig @@ -19,7 +19,7 @@ config DISABLE_POSIX_TIMERS bool "Disable POSIX timers" default DEFAULT_SMALL ---help--- - Disable support for the the entire POSIX timer family + Disable support for the entire POSIX timer family including timer_create(), timer_gettime(), timer_settime(), etc. @@ -514,7 +514,7 @@ menuconfig INIT_MOUNT default n depends on !DISABLE_MOUNTPOINT ---help--- - In order to use the the initial startup program when CONFIG_INIT_FILEPATH + In order to use the initial startup program when CONFIG_INIT_FILEPATH is provided, it is necessary to mount the initial file system that provides init program. Normally this mount is done in the board-specific initialization logic. However, if the mount is very simple, it can be diff --git a/sched/sched/sched_cpuload.c b/sched/sched/sched_cpuload.c index 0e3085bae96..d3d89c5cd9c 100644 --- a/sched/sched/sched_cpuload.c +++ b/sched/sched/sched_cpuload.c @@ -172,7 +172,7 @@ void nxsched_process_taskload_ticks(FAR struct tcb_s *tcb, clock_t ticks) * Description: * Collect data that can be used for CPU load measurements. When * CONFIG_SCHED_CPULOAD_EXTCLK is defined, this is an exported interface, - * use the the external clock logic. Otherwise, it is an OS Internal + * use the external clock logic. Otherwise, it is an OS Internal * interface. * * Input Parameters: diff --git a/sched/sched/sched_suspend.c b/sched/sched/sched_suspend.c index cc1c9dc5495..e67d8bfe804 100644 --- a/sched/sched/sched_suspend.c +++ b/sched/sched/sched_suspend.c @@ -126,7 +126,7 @@ void nxsched_suspend(FAR struct tcb_s *tcb) if (tcb->task_state >= FIRST_BLOCKED_STATE && tcb->task_state <= LAST_BLOCKED_STATE) { - /* Remove the TCB from the the blocked task list. */ + /* Remove the TCB from the blocked task list. */ nxsched_remove_blocked(tcb); diff --git a/tools/nxstyle.c b/tools/nxstyle.c index eec380b3975..7f5a9d79a1a 100644 --- a/tools/nxstyle.c +++ b/tools/nxstyle.c @@ -1026,7 +1026,7 @@ static int block_comment_width(char *line) if (strncmp(&line[b], "/***", 4) == 0 && strncmp(&line[e - 2], "***", 3) == 0) { - /* Return the the length of the line up to the final '*' */ + /* Return the length of the line up to the final '*' */ return e + 1; } @@ -1038,7 +1038,7 @@ static int block_comment_width(char *line) if (strncmp(&line[b], "***", 3) == 0 && strncmp(&line[e - 3], "***/", 4) == 0) { - /* Return the the length of the line up to the final '*' */ + /* Return the length of the line up to the final '*' */ return e; } @@ -1050,7 +1050,7 @@ static int block_comment_width(char *line) if (strncmp(&line[b], "/*", 2) == 0 && strncmp(&line[e - 3], "***/", 4) == 0) { - /* Return the the length of the line up to the final '*' */ + /* Return the length of the line up to the final '*' */ return e; } @@ -2550,7 +2550,7 @@ int main(int argc, char **argv, char **envp) } /* Check if the line is blank so far. This is only used to - * to verify the the closing of a block comment is on a separate + * to verify the closing of a block comment is on a separate * line. So we also need to treat '*' as a 'blank'. */ diff --git a/tools/zds/README.txt b/tools/zds/README.txt index 39c7b483001..2e4457157f0 100644 --- a/tools/zds/README.txt +++ b/tools/zds/README.txt @@ -9,7 +9,7 @@ tools/zds/zdsar.c: This is a wrapper around the ZDS_II librarian. It tools/zds/Config.mk: This makefile fragment is include by ZDS-II Make.defs files after including tools/Config.mk. The definitions in this file - override some of the the definitions in tools/Config.mk to customize the + override some of the definitions in tools/Config.mk to customize the build for use with the ZDS-II tools. These tools should work with all ZDS-II based platforms including z8, zNeo, diff --git a/wireless/bluetooth/bt_conn.c b/wireless/bluetooth/bt_conn.c index ca5e94fbbb8..95f3f3a6ff6 100644 --- a/wireless/bluetooth/bt_conn.c +++ b/wireless/bluetooth/bt_conn.c @@ -974,7 +974,7 @@ int bt_conn_disconnect(FAR struct bt_conn_s *conn, uint8_t reason) * * Description: * Allows initiate new LE link to remote peer using its address. - * Returns a new reference that the the caller is responsible for managing. + * Returns a new reference that the caller is responsible for managing. * * Input Parameters: * peer - Remote address. diff --git a/wireless/bluetooth/bt_conn.h b/wireless/bluetooth/bt_conn.h index 56ea7eaf7fc..1a829a03857 100644 --- a/wireless/bluetooth/bt_conn.h +++ b/wireless/bluetooth/bt_conn.h @@ -368,7 +368,7 @@ int bt_conn_disconnect(FAR struct bt_conn_s *conn, uint8_t reason); * * Description: * Allows initiate new LE link to remote peer using its address. - * Returns a new reference that the the caller is responsible for managing. + * Returns a new reference that the caller is responsible for managing. * * Input Parameters: * peer - Remote address. diff --git a/wireless/ieee802154/mac802154.c b/wireless/ieee802154/mac802154.c index cbfda4c059b..d13b6fc9cfa 100644 --- a/wireless/ieee802154/mac802154.c +++ b/wireless/ieee802154/mac802154.c @@ -500,7 +500,7 @@ static void mac802154_notify_worker(FAR void *arg) * uses the various MAC attributes to update the beacon frame. It loads * the inactive beacon frame structure and then notifies the radio layer * new frame. the provided tx descriptor in the indirect list and manages - * of the the scheduling for purging the transaction if it does not get + * of the scheduling for purging the transaction if it does not get * extracted in time. * * Assumptions: