You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/01/06 02:30:47 UTC

[incubator-nuttx-apps] branch master updated: Typo fixes.

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new bc5d803  Typo fixes.
bc5d803 is described below

commit bc5d8034f113a9d62fb822842176a7d69606e0bd
Author: Fotis Panagiotopoulos <f....@amco.gr>
AuthorDate: Wed Jan 5 17:34:05 2022 +0200

    Typo fixes.
---
 canutils/libcanutils/lib.c                   |  4 ++--
 examples/README.md                           |  2 +-
 examples/camera/README.md                    |  2 +-
 examples/foc/Kconfig                         |  6 +++---
 examples/foc/foc_main.c                      |  8 ++++----
 examples/foc/foc_parseargs.c                 |  2 +-
 examples/i2schar/i2schar.h                   |  2 +-
 examples/media/Kconfig                       |  4 ++--
 examples/timer_gpio/timer_gpio_main.c        |  2 +-
 examples/watcher/watcher_main.c              |  6 +++---
 fsutils/ipcfg/Kconfig                        |  2 +-
 fsutils/ipcfg/ipcfg.h                        | 16 ++++++++--------
 fsutils/mkfatfs/Kconfig                      |  2 +-
 fsutils/mkfatfs/mkfatfs.c                    |  6 +++---
 graphics/lvgl/lv_conf.h                      |  2 +-
 graphics/nxwidgets/ChangeLog.txt             |  6 +++---
 graphics/nxwidgets/TODO.txt                  |  2 +-
 graphics/nxwidgets/src/cgraphicsport.cxx     |  2 +-
 graphics/nxwidgets/src/cradiobuttongroup.cxx |  2 +-
 graphics/nxwm/ChangeLog.txt                  |  6 +++---
 graphics/nxwm/Kconfig                        |  4 ++--
 graphics/nxwm/src/cstartwindow.cxx           |  2 +-
 graphics/pdcurs34/nuttx/pdcnuttx.h           |  2 +-
 graphics/twm4nx/apps/cclock.cxx              |  2 +-
 include/graphics/nxwm/cstartwindow.hxx       |  2 +-
 include/graphics/nxwm/nxwmconfig.hxx         |  2 +-
 include/graphics/tiff.h                      |  2 +-
 include/graphics/twm4nx/iapplication.hxx     |  2 +-
 include/modbus/mb.h                          |  2 +-
 include/system/zmodem.h                      |  4 ++--
 industry/foc/fixed16/foc_svm3.c              |  2 +-
 industry/foc/float/foc_svm3.c                |  2 +-
 interpreters/wamr/Kconfig                    |  2 +-
 netutils/netlib/netlib_ipv6netmask2prefix.c  |  2 +-
 netutils/rexecd/rexecd.c                     |  2 +-
 netutils/tftpc/tftpc_get.c                   |  2 +-
 nshlib/nsh.h                                 |  2 +-
 nshlib/nsh_syscmds.c                         |  8 ++++----
 system/embedlog/Kconfig                      |  4 ++--
 system/zmodem/Kconfig                        |  2 +-
 system/zmodem/zm.h                           |  2 +-
 testing/irtest/cmd.hpp                       |  4 ++--
 testing/irtest/main.cxx                      |  2 +-
 testing/ostest/getopt.c                      |  2 +-
 testing/smp/smp_main.c                       |  2 +-
 45 files changed, 74 insertions(+), 74 deletions(-)

diff --git a/canutils/libcanutils/lib.c b/canutils/libcanutils/lib.c
index 9d0f443..a890ff1 100644
--- a/canutils/libcanutils/lib.c
+++ b/canutils/libcanutils/lib.c
@@ -54,7 +54,7 @@
 #include "lib.h"
 
 #define CANID_DELIM '#'
-#define DATA_SEPERATOR '.'
+#define DATA_SEPARATOR '.'
 
 const char hex_asc_upper[] = "0123456789ABCDEF";
 
@@ -217,7 +217,7 @@ int parse_canframe(char *cs, struct canfd_frame *cf) {
 
 	for (i=0, dlen=0; i < maxdlen; i++){
 
-		if(cs[idx] == DATA_SEPERATOR) /* skip (optional) separator */
+		if(cs[idx] == DATA_SEPARATOR) /* skip (optional) separator */
 			idx++;
 
 		if(idx >= len) /* end of string => end of data */
diff --git a/examples/README.md b/examples/README.md
index f23f4ff..1ad7b8d 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -673,7 +673,7 @@ drivers. This test is suitable for use EEPROM character drivers (see
 `nuttx/drivers/bch`)
 
 ```c
-int ret = bchdev_register(<path-to-block-dirver>,
+int ret = bchdev_register(<path-to-block-driver>,
                           <path-to-character-driver>, false);
 ```
 
diff --git a/examples/camera/README.md b/examples/camera/README.md
index 309f6cc..3c67503 100644
--- a/examples/camera/README.md
+++ b/examples/camera/README.md
@@ -1,6 +1,6 @@
 # Examples / `camera` Camera Snapshot
 
-This sample is implemented as `camera` command on NuttX Shell. The synopsys of
+This sample is implemented as `camera` command on NuttX Shell. The synopsis of
 the command is as below.
 
 ```
diff --git a/examples/foc/Kconfig b/examples/foc/Kconfig
index f16e92e..3d6cdae 100644
--- a/examples/foc/Kconfig
+++ b/examples/foc/Kconfig
@@ -189,7 +189,7 @@ config EXAMPLES_FOC_ADC_DEVPATH
 	default "/dev/adc0"
 
 config EXAMPLES_FOC_ADC_VREF
-	int "FOC ADC reference votlage [x1000]"
+	int "FOC ADC reference voltage [x1000]"
 	default 0
 
 config EXAMPLES_FOC_ADC_MAX
@@ -320,7 +320,7 @@ config EXAMPLES_FOC_IDQ_KP
 	default 0
 	---help---
 		It is set to 0 by default and must be properly configured by the user!
-		The vaule of Kp and Ki depends on the controlled motor parameters.
+		The value of Kp and Ki depends on the controlled motor parameters.
 		For more instructions see README.md for this example.
 
 config EXAMPLES_FOC_IDQ_KI
@@ -328,7 +328,7 @@ config EXAMPLES_FOC_IDQ_KI
 	default 0
 	---help---
 		It is set to 0 by default and must be properly configured by the user!
-		The vaule of Kp and Ki depends on the controlled motor parameters.
+		The value of Kp and Ki depends on the controlled motor parameters.
 		For more instructions see README.md for this example.
 
 config EXAMPLES_FOC_RAMP_THR
diff --git a/examples/foc/foc_main.c b/examples/foc/foc_main.c
index 8dbedd0..bb36523 100644
--- a/examples/foc/foc_main.c
+++ b/examples/foc/foc_main.c
@@ -51,9 +51,9 @@
 
 #define MAIN_LOOP_USLEEP (200000)
 
-/* Enabled instnaces default state */
+/* Enabled instances default state */
 
-#define INST_EN_DEAFULT (0xff)
+#define INST_EN_DEFAULT (0xff)
 
 /****************************************************************************
  * Private Functions
@@ -118,7 +118,7 @@ static void init_args(FAR struct args_s *args)
 
   args->state =
     (args->state == 0 ? CONFIG_EXAMPLES_FOC_STATE_INIT : args->state);
-  args->en = (args->en == -1 ? INST_EN_DEAFULT : args->en);
+  args->en = (args->en == -1 ? INST_EN_DEFAULT : args->en);
 }
 
 /****************************************************************************
@@ -133,7 +133,7 @@ static int validate_args(FAR struct args_s *args)
 
   if (args->pi_kp == 0 && args->pi_ki == 0)
     {
-      PRINTF("ERROR: missign Kp/Ki configuration\n");
+      PRINTF("ERROR: missing Kp/Ki configuration\n");
       goto errout;
     }
 
diff --git a/examples/foc/foc_parseargs.c b/examples/foc/foc_parseargs.c
index 3d6350d..037d2e5 100644
--- a/examples/foc/foc_parseargs.c
+++ b/examples/foc/foc_parseargs.c
@@ -102,7 +102,7 @@ static void foc_help(void)
   PRINTF("       2 - motor stop\n");
   PRINTF("       3 - motor CW\n");
   PRINTF("       4 - motor CCW\n");
-  PRINTF("  [-j] enable specific instnaces\n");
+  PRINTF("  [-j] enable specific instances\n");
 #ifdef CONFIG_EXAMPLES_FOC_HAVE_OPENLOOP
   PRINTF("  [-o] openloop Vq/Iq setting [x1000]\n");
 #endif
diff --git a/examples/i2schar/i2schar.h b/examples/i2schar/i2schar.h
index 194e588..ed140e6 100644
--- a/examples/i2schar/i2schar.h
+++ b/examples/i2schar/i2schar.h
@@ -104,7 +104,7 @@ extern struct i2schar_state_s g_i2schar;
  * Name: i2schar_devinit()
  *
  * Description:
- *   Perform architecuture-specific initialization of the I2s hardware and
+ *   Perform architecture-specific initialization of the I2s hardware and
  *   registration of the I2S character driver CHAR hardware.  If
  *   CONFIG_EXAMPLES_I2SCHAR_DEVINIT is defined, then board-specific logic
  *   must provide this function.
diff --git a/examples/media/Kconfig b/examples/media/Kconfig
index b255e30..8a44cee 100644
--- a/examples/media/Kconfig
+++ b/examples/media/Kconfig
@@ -18,7 +18,7 @@ config EXAMPLES_MEDIA
 		drivers (see nuttx/drivers/eeprom), or with block drivers wrapped
 		as character drivers (see nuttx/drivers/bch)
 
-			int ret = bchdev_register(<path-to-block-dirver>,
+			int ret = bchdev_register(<path-to-block-driver>,
 			                          <path-to-character-driver>, false);
 
 		MTD drivers need an additional wrapper layer, the FTL wrapper must
@@ -39,7 +39,7 @@ config EXAMPLES_MEDIA_DEVPATH
 		drivers (see nuttx/drivers/eeprom), or with block drivers wrapped as
 		character drivers (see nuttx/drivers/bch)
 
-			int ret = bchdev_register(<path-to-block-dirver>,
+			int ret = bchdev_register(<path-to-block-driver>,
 			                          <path-to-character-driver>, false);
 
 		MTD drivers need an additional wrapper layer, the FTL wrapper must
diff --git a/examples/timer_gpio/timer_gpio_main.c b/examples/timer_gpio/timer_gpio_main.c
index 360ef9e..a76e68e 100644
--- a/examples/timer_gpio/timer_gpio_main.c
+++ b/examples/timer_gpio/timer_gpio_main.c
@@ -60,7 +60,7 @@ static bool g_timer_gpio_daemon_started = false;
  * Name: timer_status
  *
  * Description:
- *   Auxiliar function to get the timer status and print it.
+ *   Auxiliary function to get the timer status and print it.
  *
  * Parameters:
  *   fd           - Timer file descriptor to access the timer.
diff --git a/examples/watcher/watcher_main.c b/examples/watcher/watcher_main.c
index 0534846..996d69d 100644
--- a/examples/watcher/watcher_main.c
+++ b/examples/watcher/watcher_main.c
@@ -38,7 +38,7 @@
  ****************************************************************************/
 
 #define SUBSCRIBE_CMD      1
-#define UNSUSBCRIBE_CMD   -1
+#define UNSUBSCRIBE_CMD   -1
 #define FEED_CMD           2
 
 /****************************************************************************
@@ -91,7 +91,7 @@ static void feed_sighandler(int signo, FAR siginfo_t * siginfo,
 
       task_mn_subscribe(request.task_id);
       break;
-    case UNSUSBCRIBE_CMD:
+    case UNSUBSCRIBE_CMD:
 
       /* Excludes the current requester task from the watched tasks list */
 
@@ -208,7 +208,7 @@ static int watcher_daemon(int argc, FAR char *argv[])
 
   fprintf(fp, "%d %d %d %d %d\n", (int)watcher_pid,
           (int)CONFIG_EXAMPLES_WATCHER_SIGNAL, (int)SUBSCRIBE_CMD,
-          (int)FEED_CMD, (int)UNSUSBCRIBE_CMD);
+          (int)FEED_CMD, (int)UNSUBSCRIBE_CMD);
   fclose(fp);
 
   /* Suspends the calling thread until delivery of a non-blocked signal. */
diff --git a/fsutils/ipcfg/Kconfig b/fsutils/ipcfg/Kconfig
index 77696a1..a5b2dfa 100644
--- a/fsutils/ipcfg/Kconfig
+++ b/fsutils/ipcfg/Kconfig
@@ -62,7 +62,7 @@ config IPCFG_OFFSET
 		Seek to this offset before reading or writing the IP Configuration.
 		This is only support for the character driver device.  This permits
 		some formatting of, say, EEPROM, so that multiple, different
-		configurations can be maintained at differnt offsets into the IP
+		configurations can be maintained at different offsets into the IP
 		Configuration File.
 
 endif # FSUTILS_IPCFG
diff --git a/fsutils/ipcfg/ipcfg.h b/fsutils/ipcfg/ipcfg.h
index f0bb896..ebc473a 100644
--- a/fsutils/ipcfg/ipcfg.h
+++ b/fsutils/ipcfg/ipcfg.h
@@ -67,7 +67,7 @@ struct ipcfg_header_s
  *
  * Input Parameters:
  *   path    - The full path to the IP configuration file
- *   ipv4cfg - Location to read IPv4 configration to
+ *   ipv4cfg - Location to read IPv4 configuration to
  *
  * Returned Value:
  *   Zero is returned on success; a negated errno value is returned on any
@@ -88,7 +88,7 @@ int ipcfg_read_binary_ipv4(FAR const char *path,
  *
  * Input Parameters:
  *   path    - The full path to the IP configuration file
- *   ipv6cfg - Location to read IPv6 configration to
+ *   ipv6cfg - Location to read IPv6 configuration to
  *
  * Returned Value:
  *   Zero is returned on success; a negated errno value is returned on any
@@ -109,7 +109,7 @@ int ipcfg_read_binary_ipv6(FAR const char *path,
  *
  * Input Parameters:
  *   path    - The full path to the IP configuration file
- *   ipv4cfg - The IPv4 configration to write
+ *   ipv4cfg - The IPv4 configuration to write
  *
  * Returned Value:
  *   Zero is returned on success; a negated errno value is returned on any
@@ -131,7 +131,7 @@ int ipcfg_write_binary_ipv4(FAR const char *path,
  *
  * Input Parameters:
  *   path    - The full path to the IP configuration file
- *   ipv6cfg - The IPv6 configration to write
+ *   ipv6cfg - The IPv6 configuration to write
  *
  * Returned Value:
  *   Zero is returned on success; a negated errno value is returned on any
@@ -155,7 +155,7 @@ int ipcfg_write_binary_ipv6(FAR const char *path,
  * Input Parameters:
  *   path    - The full path to the IP configuration file
  *   netdev  - Network device name string
- *   ipv4cfg - Location to read IPv4 configration to
+ *   ipv4cfg - Location to read IPv4 configuration to
  *
  * Returned Value:
  *   Zero is returned on success; a negated errno value is returned on any
@@ -178,7 +178,7 @@ int ipcfg_read_text_ipv4(FAR const char *path, FAR const char *netdev,
  * Input Parameters:
  *   path    - The full path to the IP configuration file
  *   netdev  - Network device name string
- *   ipv6cfg - Location to read IPv6 configration to
+ *   ipv6cfg - Location to read IPv6 configuration to
  *
  * Returned Value:
  *   Zero is returned on success; a negated errno value is returned on any
@@ -201,7 +201,7 @@ int ipcfg_read_text_ipv6(FAR const char *path, FAR const char *netdev,
  * Input Parameters:
  *   path    - The full path to the IP configuration file
  *   netdev  - Network device name string
- *   ipv4cfg - The IPv4 configration to write
+ *   ipv4cfg - The IPv4 configuration to write
  *
  * Returned Value:
  *   Zero is returned on success; a negated errno value is returned on any
@@ -224,7 +224,7 @@ int ipcfg_write_text_ipv4(FAR const char *path, FAR const char *netdev,
  * Input Parameters:
  *   path    - The full path to the IP configuration file
  *   netdev  - Network device name string
- *   ipv6cfg - The IPv6 configration to write
+ *   ipv6cfg - The IPv6 configuration to write
  *
  * Returned Value:
  *   Zero is returned on success; a negated errno value is returned on any
diff --git a/fsutils/mkfatfs/Kconfig b/fsutils/mkfatfs/Kconfig
index ebf5cd5..68f6d38 100644
--- a/fsutils/mkfatfs/Kconfig
+++ b/fsutils/mkfatfs/Kconfig
@@ -11,7 +11,7 @@ config FSUTILS_MKFATFS
 	---help---
 		Enables support for the mkfatfs utility
 
-config MKFATFS_BUFFER_ALIGMENT
+config MKFATFS_BUFFER_ALIGNMENT
 	int "Buffer alignment"
 	default 0
 	depends on FSUTILS_MKFATFS
diff --git a/fsutils/mkfatfs/mkfatfs.c b/fsutils/mkfatfs/mkfatfs.c
index 8b1e51b..15ba4a6 100644
--- a/fsutils/mkfatfs/mkfatfs.c
+++ b/fsutils/mkfatfs/mkfatfs.c
@@ -42,9 +42,9 @@
  * Pre-processor Definitions
  ****************************************************************************/
 
-#if defined(CONFIG_MKFATFS_BUFFER_ALIGMENT) && \
-            CONFIG_MKFATFS_BUFFER_ALIGMENT > 0
-#  define fat_buffer_alloc(s) memalign(CONFIG_MKFATFS_BUFFER_ALIGMENT, (s))
+#if defined(CONFIG_MKFATFS_BUFFER_ALIGNMENT) && \
+            CONFIG_MKFATFS_BUFFER_ALIGNMENT > 0
+#  define fat_buffer_alloc(s) memalign(CONFIG_MKFATFS_BUFFER_ALIGNMENT, (s))
 #else
 #  define fat_buffer_alloc(s) malloc((s))
 #endif
diff --git a/graphics/lvgl/lv_conf.h b/graphics/lvgl/lv_conf.h
index 3ea42c8..830499f 100644
--- a/graphics/lvgl/lv_conf.h
+++ b/graphics/lvgl/lv_conf.h
@@ -156,7 +156,7 @@ typedef int16_t lv_coord_t;
 
 #  define LV_MEM_SIZE    CONFIG_LV_MEM_SIZE
 
-/* Complier prefix for a big array declaration */
+/* Compiler prefix for a big array declaration */
 
 #  define LV_MEM_ATTR
 
diff --git a/graphics/nxwidgets/ChangeLog.txt b/graphics/nxwidgets/ChangeLog.txt
index a7b2179..33bd932 100644
--- a/graphics/nxwidgets/ChangeLog.txt
+++ b/graphics/nxwidgets/ChangeLog.txt
@@ -150,7 +150,7 @@
   In that case, we just use the default background color.  However,
   that doesn't work either for the case where the background color
   changes when the widget is selected.  Then the background color
-  in the font is wrong.  Fixed in CButtonArrary, but the problem
+  in the font is wrong.  Fixed in CButtonArray, but the problem
   probably exists in other places as well.
 * NxWM:  Increase default spacing of icons on the Start Window.
 * NxWM::CHexCalculator:  Fix some non-standard calculator behavior
@@ -208,8 +208,8 @@
   From Petteri Aimonen.
 * NxWidgets::CNxTimer:  Replace the original (apparently non-functional) signal-
   based solution with a work queue-based solution.  This raises some isses about
-  using the internal work queues from user space.  I have decided to implemented
-  user-space work queues (someday) in order to accomplish that functionaliy.
+  using the internal work queues from user space.  I have decided to implement
+  user-space work queues (someday) in order to accomplish that functionality.
   Submitted by Petteri Aimonen.
 * NxWidgets:CText and NxWidgets:CNumericEdite:  Fix some memory freeing bugs
   (from Petteri Aimonen).
diff --git a/graphics/nxwidgets/TODO.txt b/graphics/nxwidgets/TODO.txt
index 5db61a9..99682fa 100644
--- a/graphics/nxwidgets/TODO.txt
+++ b/graphics/nxwidgets/TODO.txt
@@ -36,7 +36,7 @@ o Platform specific Issues
                In that case, we just use the default background color.  However,
                that doesn't work either for the case where the background color
                changes when the widget is selected.  Then the background color
-               in the font is wrong.  There is a hack in in CButtonArrary that
+               in the font is wrong.  There is a hack in in CButtonArray that
                fixed this problem, but the problem certainly exists in other
                places as well and begs for a better solution.
   Status:      Open
diff --git a/graphics/nxwidgets/src/cgraphicsport.cxx b/graphics/nxwidgets/src/cgraphicsport.cxx
index e6e0115..a910c95 100644
--- a/graphics/nxwidgets/src/cgraphicsport.cxx
+++ b/graphics/nxwidgets/src/cgraphicsport.cxx
@@ -788,7 +788,7 @@ void CGraphicsPort::_drawText(struct nxgl_point_s *pos, CRect *bound,
           dest.pt2.x = pos->x + fontWidth - 1;
           dest.pt2.y = pos->y + bmHeight - 1;
 
-          // Get the interection of the font box and the bounding box
+          // Get the interaction of the font box and the bounding box
 
           struct nxgl_rect_s intersection;
           nxgl_rectintersect(&intersection, &dest, &boundingBox);
diff --git a/graphics/nxwidgets/src/cradiobuttongroup.cxx b/graphics/nxwidgets/src/cradiobuttongroup.cxx
index b606640..1af761d 100644
--- a/graphics/nxwidgets/src/cradiobuttongroup.cxx
+++ b/graphics/nxwidgets/src/cradiobuttongroup.cxx
@@ -154,7 +154,7 @@ CRadioButton *CRadioButtonGroup::newRadioButton(nxgl_coord_t x, nxgl_coord_t y,
 }
 
 /**
- * Gets a pointer to the selectm_widgetControled widget.
+ * Gets a pointer to the selectm_widgetControlled widget.
  *
  * @return Pointer to the selected widget.
  */
diff --git a/graphics/nxwm/ChangeLog.txt b/graphics/nxwm/ChangeLog.txt
index a7b2179..33bd932 100644
--- a/graphics/nxwm/ChangeLog.txt
+++ b/graphics/nxwm/ChangeLog.txt
@@ -150,7 +150,7 @@
   In that case, we just use the default background color.  However,
   that doesn't work either for the case where the background color
   changes when the widget is selected.  Then the background color
-  in the font is wrong.  Fixed in CButtonArrary, but the problem
+  in the font is wrong.  Fixed in CButtonArray, but the problem
   probably exists in other places as well.
 * NxWM:  Increase default spacing of icons on the Start Window.
 * NxWM::CHexCalculator:  Fix some non-standard calculator behavior
@@ -208,8 +208,8 @@
   From Petteri Aimonen.
 * NxWidgets::CNxTimer:  Replace the original (apparently non-functional) signal-
   based solution with a work queue-based solution.  This raises some isses about
-  using the internal work queues from user space.  I have decided to implemented
-  user-space work queues (someday) in order to accomplish that functionaliy.
+  using the internal work queues from user space.  I have decided to implement
+  user-space work queues (someday) in order to accomplish that functionality.
   Submitted by Petteri Aimonen.
 * NxWidgets:CText and NxWidgets:CNumericEdite:  Fix some memory freeing bugs
   (from Petteri Aimonen).
diff --git a/graphics/nxwm/Kconfig b/graphics/nxwm/Kconfig
index e8a3194..ab1018c 100644
--- a/graphics/nxwm/Kconfig
+++ b/graphics/nxwm/Kconfig
@@ -589,7 +589,7 @@ config NXWM_CALIBRATION_MARGIN
 	---help---
 		The Calbration display consists of a target press offset from the edges
 		of the display by this number of pixels (in the horizontal direction)
-		or rows (in the vertical).  The closer that you can comfortabley
+		or rows (in the vertical).  The closer that you can comfortably
 		position the press positions to the edge, the more accurate will be the
 		linear interpolation (provide that the hardware provides equally good
 		measurements near the edges).
@@ -636,7 +636,7 @@ config NXWM_CALIBRATION_MESSAGES
 	bool "Add Instructions in Center"
 	default n
 	---help---
-		By default, the calibration screen is clear excecpt for the
+		By default, the calibration screen is clear except for the
 		calibration touchpoints.  If this options are enabled, then
 		instructions when to touch and when to release the touch will
 		be added in the center of the display,
diff --git a/graphics/nxwm/src/cstartwindow.cxx b/graphics/nxwm/src/cstartwindow.cxx
index 7c94c13..9e540ba 100644
--- a/graphics/nxwm/src/cstartwindow.cxx
+++ b/graphics/nxwm/src/cstartwindow.cxx
@@ -334,7 +334,7 @@ bool CStartWindow::isFullScreen(void) const
 /**
  * Add the application to the start window.  The general sequence is:
  *
- * 1. Call IAppicationFactory::create to a new instance of the application
+ * 1. Call IApplicationFactory::create to a new instance of the application
  * 2. Call CStartWindow::addApplication to add the application to the
  *    start window.
  *
diff --git a/graphics/pdcurs34/nuttx/pdcnuttx.h b/graphics/pdcurs34/nuttx/pdcnuttx.h
index aeb7a39..d0cca81 100644
--- a/graphics/pdcurs34/nuttx/pdcnuttx.h
+++ b/graphics/pdcurs34/nuttx/pdcnuttx.h
@@ -298,7 +298,7 @@ struct pdc_fbscreen_s
 
 struct pdc_termstate_s
 {
-  /* Terminal fd numbers (typcially 0 and 1) */
+  /* Terminal fd numbers (typically 0 and 1) */
 
   int    out_fd;
   int    in_fd;
diff --git a/graphics/twm4nx/apps/cclock.cxx b/graphics/twm4nx/apps/cclock.cxx
index 2cb4518..2c971fc 100644
--- a/graphics/twm4nx/apps/cclock.cxx
+++ b/graphics/twm4nx/apps/cclock.cxx
@@ -125,7 +125,7 @@ CClock::CClock(FAR CTwm4Nx *twm4nx)
 
   m_pid     = (pid_t)-1;
 
-  // This is un-neccessary but helpful in debugging to have a known value
+  // This is un-necessary but helpful in debugging to have a known value
 
   std::memset(m_digits, 0, CLOCK_NDIGITS * sizeof(struct SClockDigit));
 }
diff --git a/include/graphics/nxwm/cstartwindow.hxx b/include/graphics/nxwm/cstartwindow.hxx
index 07a2681..441a414 100644
--- a/include/graphics/nxwm/cstartwindow.hxx
+++ b/include/graphics/nxwm/cstartwindow.hxx
@@ -260,7 +260,7 @@ namespace NxWM
      * Add the application to the start window.  The general sequence for
      * setting up the start window is:
      *
-     * 1. Call IAppicationFactory::create to a new instance of the application
+     * 1. Call IApplicationFactory::create to a new instance of the application
      * 2. Call CStartWindow::addApplication to add the application to the
      *    start window.
      *
diff --git a/include/graphics/nxwm/nxwmconfig.hxx b/include/graphics/nxwm/nxwmconfig.hxx
index e723da6..ac67a24 100644
--- a/include/graphics/nxwm/nxwmconfig.hxx
+++ b/include/graphics/nxwm/nxwmconfig.hxx
@@ -285,7 +285,7 @@
  * CONFIG_NXWM_STARTWINDOW_MXMSGS - The maximum number of messages to queue
  *   before blocking.  Default 32
  * CONFIG_NXWM_STARTWINDOW_MXMPRIO - The message priority. Default: 42.
- * CONFIG_NXWM_STARTWINDOW_PRIO - Priority of the StartWindoW task.  Default:
+ * CONFIG_NXWM_STARTWINDOW_PRIO - Priority of the StartWindow task.  Default:
  *   SCHED_PRIORITY_DEFAULT.  NOTE:  This priority should be less than
  *   CONFIG_NXSTART_SERVERPRIO or else there may be data overrun errors.
  *   Such errors would most likely appear as duplicated rows of data on the
diff --git a/include/graphics/tiff.h b/include/graphics/tiff.h
index 1b8a378..d233c51 100644
--- a/include/graphics/tiff.h
+++ b/include/graphics/tiff.h
@@ -75,7 +75,7 @@
 #define IFD_TAG_IMAGEWIDTH        256 /* ImageLength, SHORT or LONG (Required) */
 #define IFD_TAG_IMAGELENGTH       257 /* ImageWidth, SHORT or LONG (Required) */
 #define IFD_TAG_BITSPERSAMPLE     258 /* BitsPerSample, SHORT (Required
-                                       * in greyscale and pallette-color image files) */
+                                       * in greyscale and palette-color image files) */
 #define IFD_TAG_COMPRESSION       259 /* Compression, SHORT (Required) */
 #  define TAG_COMP_NONE             1 /*   No compression */
 #  define TAG_COMP_CCITT            2 /*   CCITT Group 3 1-Dimensional Modified Huffman
diff --git a/include/graphics/twm4nx/iapplication.hxx b/include/graphics/twm4nx/iapplication.hxx
index 438413f..b3962e0 100644
--- a/include/graphics/twm4nx/iapplication.hxx
+++ b/include/graphics/twm4nx/iapplication.hxx
@@ -145,7 +145,7 @@ namespace Twm4Nx
        *
        * @return. Either, (1) an event with recipient = EVENT_RECIPIENT_APP
        *   that will be generated when menu item is selected, or (2) any other
-       *   value (preferabley zero) that indicates that standard, built-in
+       *   value (preferably zero) that indicates that standard, built-in
        *   event handling should be used.
        */
 
diff --git a/include/modbus/mb.h b/include/modbus/mb.h
index c2b95f8..617f33c 100644
--- a/include/modbus/mb.h
+++ b/include/modbus/mb.h
@@ -252,7 +252,7 @@ eMBErrorCode eMBPoll(void);
  *     otherwise the Run Indicator Status is 0x00.
  *   pucAdditional Values which should be returned in the Additional
  *     bytes of the  Report Slave ID response.
- *   usAdditionalLen Length of the buffer <code>pucAdditonal</code>.
+ *   usAdditionalLen Length of the buffer <code>pucAdditional</code>.
  *
  * Returned Value:
  *   If the static buffer defined by CONFIG_MB_FUNC_OTHER_REP_SLAVEID_BUF
diff --git a/include/system/zmodem.h b/include/system/zmodem.h
index 4066e86..1c13742 100644
--- a/include/system/zmodem.h
+++ b/include/system/zmodem.h
@@ -91,7 +91,7 @@
 /* CONFIG_SYSTEM_ZMODEM_RCVSAMPLE indicates the local sender can sample
  * reverse channel while sending.  This means in particular, that Zmodem can
  * detect if data is received from the remote receiver while streaming a file
- * to the remote receiver. Support for such asychronous incoming data
+ * to the remote receiver. Support for such asynchronous incoming data
  * notification is needed to support interruption of the file transfer by
  * the remote receiver.
  *
@@ -297,7 +297,7 @@ ZMSHANDLE zms_initialize(int remfd);
  *   Send a file.
  *
  * Input Parameters:
- *   handle    - Handle previoulsy returned by xms_initialize()
+ *   handle    - Handle previously returned by xms_initialize()
  *   filename  - The name of the local file to transfer
  *   rfilename - The name of the remote file name to create
  *   option    - Describes optional transfer behavior
diff --git a/industry/foc/fixed16/foc_svm3.c b/industry/foc/fixed16/foc_svm3.c
index 88c3519..bfc3ab0 100644
--- a/industry/foc/fixed16/foc_svm3.c
+++ b/industry/foc/fixed16/foc_svm3.c
@@ -211,7 +211,7 @@ static void foc_modulation_vbase_get_b16(FAR foc_handler_b16_t *h,
  * Name: foc_modulation_current_b16
  *
  * Description:
- *   Correct current samples accrding to the SVM3 modulation state (fixed16)
+ *   Correct current samples according to the SVM3 modulation state (fixed16)
  *
  * Input Parameter:
  *   h    - pointer to FOC handler
diff --git a/industry/foc/float/foc_svm3.c b/industry/foc/float/foc_svm3.c
index 8a9d3bb..36babe7 100644
--- a/industry/foc/float/foc_svm3.c
+++ b/industry/foc/float/foc_svm3.c
@@ -211,7 +211,7 @@ static void foc_modulation_vbase_get_f32(FAR foc_handler_f32_t *h,
  * Name: foc_modulation_current_f32
  *
  * Description:
- *   Correct current samples accrding to the SVM3 modulation state (float32)
+ *   Correct current samples according to the SVM3 modulation state (float32)
  *
  * Input Parameter:
  *   h    - pointer to FOC handler
diff --git a/interpreters/wamr/Kconfig b/interpreters/wamr/Kconfig
index 33374f9..fc807e9 100644
--- a/interpreters/wamr/Kconfig
+++ b/interpreters/wamr/Kconfig
@@ -41,7 +41,7 @@ config INTERPRETERS_WAMR_LIBC_BUILTIN
 	default n
 
 config INTERPRETERS_WAMR_MULTI_MODULE
-	bool "Enable mutli module support"
+	bool "Enable multi module support"
 	default n
 
 config INTERPRETERS_WAMR_MINILOADER
diff --git a/netutils/netlib/netlib_ipv6netmask2prefix.c b/netutils/netlib/netlib_ipv6netmask2prefix.c
index c945dca..a3ce602 100644
--- a/netutils/netlib/netlib_ipv6netmask2prefix.c
+++ b/netutils/netlib/netlib_ipv6netmask2prefix.c
@@ -96,7 +96,7 @@ static uint8_t netlib_msbits8(uint8_t byval)
  * Name: netlib_msbits16
  *
  * Description:
- *   Count the number of leading '1' bits in a 16-bit half-workd
+ *   Count the number of leading '1' bits in a 16-bit half-word
  *
  ****************************************************************************/
 
diff --git a/netutils/rexecd/rexecd.c b/netutils/rexecd/rexecd.c
index d48876e..9fb1d2d 100644
--- a/netutils/rexecd/rexecd.c
+++ b/netutils/rexecd/rexecd.c
@@ -130,7 +130,7 @@ errout:
 static void usage(FAR const char *progname)
 {
   fprintf(stderr, "Usage: %s [-4|-6|-r]\n", progname);
-  fprintf(stderr, "Remote Execution Deamon:\n"
+  fprintf(stderr, "Remote Execution Daemon:\n"
                   " -4, Specify address family to AF_INET(default)\n"
                   " -6, Specify address family to AF_INET6\n"
                   " -r, Specify address family to AF_RPMSG\n");
diff --git a/netutils/tftpc/tftpc_get.c b/netutils/tftpc/tftpc_get.c
index 0b63100..e3c53c3 100644
--- a/netutils/tftpc/tftpc_get.c
+++ b/netutils/tftpc/tftpc_get.c
@@ -87,7 +87,7 @@ static inline int tftp_parsedatapacket(FAR const uint8_t *packet,
  * Input Parameters:
  *   remote - The name of the file on the TFTP server.
  *   addr   - The IP address of the server in network order
- *   binary - TRUE:  Perform binary ('octect') transfer
+ *   binary - TRUE:  Perform binary ('octet') transfer
  *            FALSE: Perform text ('netascii') transfer
  *   cb     - callback that will be called with data packets
  *   ctx    - pointer passed to the previous callback
diff --git a/nshlib/nsh.h b/nshlib/nsh.h
index 785b640..16234af 100644
--- a/nshlib/nsh.h
+++ b/nshlib/nsh.h
@@ -1273,7 +1273,7 @@ int nsh_catfile(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
  *
  * Description:
  *   Read a small file into a user-provided buffer.  The data is assumed to
- *   be a string and is guaranteed to be NUL-termined.  An error occurs if
+ *   be a string and is guaranteed to be NULL-terminated.  An error occurs if
  *   the file content (+terminator)  will not fit into the provided 'buffer'.
  *
  * Input Parameters:
diff --git a/nshlib/nsh_syscmds.c b/nshlib/nsh_syscmds.c
index a006213..391a864 100644
--- a/nshlib/nsh_syscmds.c
+++ b/nshlib/nsh_syscmds.c
@@ -57,16 +57,16 @@
 #define UNAME_KERNEL   (1 << 0)
 #define UNAME_NODE     (1 << 1)
 #define UNAME_RELEASE  (1 << 2)
-#define UNAME_VERISON  (1 << 3)
+#define UNAME_VERSION  (1 << 3)
 #define UNAME_MACHINE  (1 << 4)
 #define UNAME_PLATFORM (1 << 5)
 #define UNAME_UNKNOWN  (1 << 6)
 
 #ifdef CONFIG_NET
 #  define UNAME_ALL    (UNAME_KERNEL | UNAME_NODE | UNAME_RELEASE | \
-                        UNAME_VERISON | UNAME_MACHINE | UNAME_PLATFORM)
+                        UNAME_VERSION | UNAME_MACHINE | UNAME_PLATFORM)
 #else
-#  define UNAME_ALL    (UNAME_KERNEL | UNAME_RELEASE | UNAME_VERISON | \
+#  define UNAME_ALL    (UNAME_KERNEL | UNAME_RELEASE | UNAME_VERSION | \
                         UNAME_MACHINE | UNAME_PLATFORM)
 #endif
 
@@ -408,7 +408,7 @@ int cmd_uname(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
             break;
 
           case 'v':
-            set |= UNAME_VERISON;
+            set |= UNAME_VERSION;
             break;
 
           case 'm':
diff --git a/system/embedlog/Kconfig b/system/embedlog/Kconfig
index 80afe41..d7a113c 100644
--- a/system/embedlog/Kconfig
+++ b/system/embedlog/Kconfig
@@ -50,7 +50,7 @@ config EMBEDLOG_ENABLE_OUT_FILE
 	default n
 	---help---
 		If enabled, you will be able to store logs in a file (like on
-		sdcard). Log rotation is available as well. LIbrary automatically
+		sdcard). Log rotation is available as well. Library automatically
 		handles cases when files are deleted or mountpoint disappears and
 		appear again (like sd card switch). Disabling this will result in
 		smaller code.
@@ -209,7 +209,7 @@ config EMBEDLOG_DEMO_PROGRAMS
 	default n
 	---help---
 		Compile demo programs that visualise how embedlog works. Also good
-		for checking if embedlog behaves corectly.
+		for checking if embedlog behaves correctly.
 
 if EMBEDLOG_DEMO_PROGRAMS
 
diff --git a/system/zmodem/Kconfig b/system/zmodem/Kconfig
index 90180a9..b837ef2 100644
--- a/system/zmodem/Kconfig
+++ b/system/zmodem/Kconfig
@@ -109,7 +109,7 @@ config SYSTEM_ZMODEM_RCVSAMPLE
 		Local sender can sample reverse channel while sending.  This means
 		in particular, that Zmodem can detect if data is received from the
 		remote receiver while streaming a file to the remote receiver.
-		Support for such asychronous incoming data notification is needed to
+		Support for such asynchronous incoming data notification is needed to
 		support interruption of the file transfer by the remote receiver.
 
 		This capapability is not yet supported.  There are only incomplete
diff --git a/system/zmodem/zm.h b/system/zmodem/zm.h
index e18167d..3d4eeef 100644
--- a/system/zmodem/zm.h
+++ b/system/zmodem/zm.h
@@ -48,7 +48,7 @@
 
 /* ZModem *******************************************************************/
 
-/* Zmodem ZRINIT flags. These bits describe the cababilities of the receiver.
+/* Zmodem ZRINIT flags. These bits describe the capabilities of the receiver.
  * Reference: Paragraph 11.2:
  */
 
diff --git a/testing/irtest/cmd.hpp b/testing/irtest/cmd.hpp
index aad7e01..7a8a982 100644
--- a/testing/irtest/cmd.hpp
+++ b/testing/irtest/cmd.hpp
@@ -132,7 +132,7 @@ extern const struct cmd *g_cmd_table[];
 
 /* the simple command line parser */
 
-static inline const char *get_fisrt_arg(char *cmdline)
+static inline const char *get_first_arg(char *cmdline)
 {
   return strtok(cmdline, " \t,()\n") ?: "";
 }
@@ -150,7 +150,7 @@ inline const char *get_next_arg()
 {
   /* 0 mean from the end of last token */
 
-  return get_fisrt_arg(0);
+  return get_first_arg(0);
 }
 
 template < >
diff --git a/testing/irtest/main.cxx b/testing/irtest/main.cxx
index 18351af..7c3452c 100644
--- a/testing/irtest/main.cxx
+++ b/testing/irtest/main.cxx
@@ -52,7 +52,7 @@ int main(int argc, char *argv[])
 
   while (prompt("$", cmdline, sizeof(cmdline)))
     {
-      const char *name = get_fisrt_arg(cmdline);
+      const char *name = get_first_arg(cmdline);
       if (name != 0 && *name != 0)
         {
           int res =  -ENOSYS;
diff --git a/testing/ostest/getopt.c b/testing/ostest/getopt.c
index baf215b..d94a281 100644
--- a/testing/ostest/getopt.c
+++ b/testing/ostest/getopt.c
@@ -30,7 +30,7 @@
 #include "ostest.h"
 
 /****************************************************************************
- * Pre-processor DEFINTIONS
+ * Pre-processor DEFINITIONS
  ****************************************************************************/
 
 #define SHORT_RESULT_A(n) \
diff --git a/testing/smp/smp_main.c b/testing/smp/smp_main.c
index bab00fe..a538c9c 100644
--- a/testing/smp/smp_main.c
+++ b/testing/smp/smp_main.c
@@ -53,7 +53,7 @@ static volatile int g_thread_cpu[CONFIG_TESTING_SMP_NBARRIER_THREADS + 1];
  *
  * Description:
  *   This depends on internal OS interfaces that are not generally available
- *   but can be accessed (albeit inappropriatley) in a FLAT build
+ *   but can be accessed (albeit inappropriately) in a FLAT build
  *
  ****************************************************************************/