From e8b5dd452808a518e2ca960a30928510ae99a461 Mon Sep 17 00:00:00 2001 From: Juha Niskanen Date: Thu, 19 Sep 2019 18:19:18 -0600 Subject: [PATCH] Fix use of undefined pp-token #errror, other typos. --- ChangeLog | 2 +- Documentation/NuttX.html | 2 +- Documentation/NuttxUserGuide.html | 2 +- ReleaseNotes | 6 +++--- arch/arm/src/cxd56xx/cxd56_delay.c | 2 +- arch/arm/src/cxd56xx/cxd56_irq.c | 2 +- arch/arm/src/cxd56xx/cxd56_sdhci.h | 2 +- arch/arm/src/efm32/efm32_usbhost.c | 2 +- arch/arm/src/imx1/imx_cspi.h | 2 +- arch/arm/src/kinetis/kinetis.h | 2 +- arch/arm/src/kinetis/kinetis_clockconfig.c | 2 +- arch/arm/src/kinetis/kinetis_irq.c | 2 +- arch/arm/src/kl/hardware/kl_mcg.h | 2 +- .../src/lpc17xx_40xx/hardware/lpc17_40_lcd.h | 20 ++++--------------- arch/arm/src/lpc17xx_40xx/lpc17_40_can.c | 4 ++-- arch/arm/src/lpc17xx_40xx/lpc17_40_irq.c | 2 +- arch/arm/src/lpc17xx_40xx/lpc17_40_sdcard.c | 6 +++--- arch/arm/src/lpc17xx_40xx/lpc17_40_sdcard.h | 4 ++-- arch/arm/src/lpc214x/lpc214x_head.S | 4 ++-- arch/arm/src/lpc2378/lpc23xx_head.S | 4 ++-- arch/arm/src/lpc31xx/lpc31.h | 2 +- arch/arm/src/lpc31xx/lpc31_nand.h | 16 ++------------- arch/arm/src/lpc43xx/lpc43_irq.c | 2 +- arch/arm/src/lpc54xx/hardware/lpc54_lcd.h | 8 ++++---- arch/arm/src/lpc54xx/lpc54_irq.c | 2 +- arch/arm/src/lpc54xx/lpc54_serial.c | 2 +- arch/arm/src/max326xx/common/max326_irq.c | 2 +- .../src/max326xx/max32660/max32660_serial.c | 2 +- arch/arm/src/nrf52/nrf52_irq.c | 2 +- arch/arm/src/s32k1xx/s32k14x/s32k14x_irq.c | 2 +- arch/arm/src/sam34/sam_hsmci.c | 4 ++-- arch/arm/src/sam34/sam_hsmci.h | 4 ++-- arch/arm/src/stm32/stm32_can.h | 4 ++-- arch/arm/src/stm32/stm32_otgfshost.c | 2 +- arch/arm/src/stm32/stm32_otghshost.c | 2 +- arch/arm/src/stm32/stm32_sdio.c | 2 +- arch/arm/src/stm32/stm32_sdio.h | 2 +- arch/arm/src/stm32f7/stm32_can.h | 4 ++-- arch/arm/src/stm32f7/stm32_otghost.c | 2 +- arch/arm/src/stm32f7/stm32_sdmmc.h | 2 +- arch/arm/src/stm32h7/stm32_otghost.c | 2 +- arch/arm/src/stm32h7/stm32_sdmmc.h | 4 ++-- arch/arm/src/stm32l4/stm32l4_can.h | 4 ++-- arch/arm/src/stm32l4/stm32l4_otgfshost.c | 2 +- arch/arm/src/stm32l4/stm32l4_sdmmc.h | 2 +- arch/arm/src/str71x/str71x_head.S | 4 ++-- arch/arm/src/tiva/common/tiva_irq.c | 2 +- arch/arm/src/tiva/common/tiva_timerlib.c | 4 ++-- arch/arm/src/tiva/tiva_timer.h | 4 ++-- arch/arm/src/xmc4/xmc4_irq.c | 2 +- arch/arm/src/xmc4/xmc4_serial.c | 2 +- arch/mips/src/mips32/Kconfig | 2 +- arch/mips/src/pic32mx/pic32mx-spi.c | 2 +- arch/mips/src/pic32mz/pic32mz-spi.c | 2 +- arch/x86/src/qemu/qemu_serial.c | 16 ++------------- binfmt/binfmt_execmodule.c | 2 +- .../src/imxrt_flexspi_nor_flash.h | 2 +- .../src/imxrt_flexspi_nor_flash.h | 2 +- boards/arm/samv7/samv71-xult/src/atmxt-xpro.h | 2 +- boards/arm/stm32/fire-stm32v2/include/board.h | 4 ++-- boards/arm/stm32/stm3220g-eval/README.txt | 2 +- boards/arm/stm32/stm3240g-eval/README.txt | 2 +- .../hc/mcs92s12ne64/demo9s12ne64/README.txt | 2 +- boards/hc/mcs92s12ne64/ne64badge/README.txt | 2 +- boards/mips/pic32mx/pic32mx7mmb/README.txt | 2 +- boards/sim/sim/sim/src/sim_zoneinfo.c | 2 +- .../esp32/esp32-core/scripts/esp32_flash.ld | 2 +- .../esp32/esp32-core/scripts/esp32_iram.ld | 2 +- drivers/audio/wm8904.c | 2 +- drivers/net/lan91c111.h | 2 +- drivers/serial/Kconfig | 2 +- drivers/video/max7456.c | 2 +- fs/inode/fs_foreachinode.c | 4 ++-- fs/nfs/rpc_clnt.c | 2 +- fs/romfs/fs_romfsutil.c | 4 ++-- fs/userfs/fs_userfs.c | 2 +- fs/vfs/fs_stat.c | 4 ++-- graphics/nxmu/nxmu_server.c | 2 +- include/nuttx/net/icmp.h | 2 +- include/nuttx/net/udp.h | 2 +- include/nuttx/nx/nxmu.h | 2 +- include/nuttx/scsi.h | 4 ++-- include/nuttx/sensors/lis3dsh.h | 2 +- include/nuttx/usb/audio.h | 2 +- include/nuttx/usb/ohci.h | 4 ++-- libs/libc/misc/lib_ncompress.c | 4 ++-- libs/libc/stdio/lib_ferror.c | 4 ++-- libs/libc/string/Kconfig | 4 ++-- libs/libc/zoneinfo/README.txt | 2 +- libs/libdsp/lib_motor.c | 4 ++-- libs/libdsp/lib_observer.c | 2 +- libs/libxx/Kconfig | 4 ++-- net/local/local_connect.c | 2 +- net/sixlowpan/README.txt | 2 +- net/sixlowpan/sixlowpan_framelist.c | 2 +- net/sixlowpan/sixlowpan_hc1.c | 2 +- net/sixlowpan/sixlowpan_internal.h | 2 +- net/sixlowpan/sixlowpan_utils.c | 2 +- sched/Kconfig | 4 ++-- 99 files changed, 136 insertions(+), 172 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4c1c2a3441..f5c97c94c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -19311,7 +19311,7 @@ * include/sys: Add resource.h From Gregory Nutt (2018-05-13). * rgbled: Fixes led issues caused by uninitialized memory with CONFIG_RGBLED_MULTICHAN. The uninitialized pwm_info_s struct caused a - rogue channel to be started causing errros in the pwm driver From Anthony + rogue channel to be started causing errors in the pwm driver From Anthony Merlino (2018-05-14). * arch/arm/src/imxrt/chip: Add pin multiplexing header files. From Gregory Nutt (2018-05-14). diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html index f3fe762511..cf3d0fbee3 100644 --- a/Documentation/NuttX.html +++ b/Documentation/NuttX.html @@ -3058,7 +3058,7 @@ nsh>

STATUS. - The board suppport is complete but untested because of tool-related issues. An OpenOCD compatible, SWD debugger would be required to make further progress in testing. + The board support is complete but untested because of tool-related issues. An OpenOCD compatible, SWD debugger would be required to make further progress in testing.

Refer to the Olimex EFM32G880F120-STK README.txt for further information. diff --git a/Documentation/NuttxUserGuide.html b/Documentation/NuttxUserGuide.html index dd4c3b64bf..89a20468ac 100644 --- a/Documentation/NuttxUserGuide.html +++ b/Documentation/NuttxUserGuide.html @@ -7163,7 +7163,7 @@ interface of the same name.

diff --git a/ReleaseNotes b/ReleaseNotes index e67b45040b..0329b5a255 100644 --- a/ReleaseNotes +++ b/ReleaseNotes @@ -2646,7 +2646,7 @@ New features and extended functionality: modes) * General Drivers: Added a generic "upper half" Quadrature Encoder driver. - The USB CDC/ACM serial driver can now be dynamically connnected or + The USB CDC/ACM serial driver can now be dynamically connected or disconnected from the host (programmatically or using NSH commands). * STM32 Drivers: Added a "lower half" Quadrature Encoder driver. @@ -17632,7 +17632,7 @@ Additional new features and extended functionality: - MXRT1050-EVK: Added support for on-board NOR FLASH boot. From Ivan Ucherdzhiev. - IMXRT1050-EVK: Disable LED support because pins conflict with PHY. - Enable device statistics. Enable NSH ifup and ifdown commmands. + Enable device statistics. Enable NSH ifup and ifdown commands. Added an NSH configuration for testing Ethernet. * NXP Freescale Kinetis: @@ -18042,7 +18042,7 @@ detailed bugfix information): return value is required. - drivers/leds: Fixes RGB LED issues caused by uninitialized memory with CONFIG_RGBLED_MULTICHAN. The uninitialized pwm_info_s struct - caused a rogue channel to be started causing errros in the pwm + caused a rogue channel to be started causing errors in the pwm driver From Anthony Merlino. - drivers/sensors/lis2dh: Clear INT1 at SNIOC_WRITE_INT1THRESHOLD ioctl. From Jussi Kivilinna. diff --git a/arch/arm/src/cxd56xx/cxd56_delay.c b/arch/arm/src/cxd56xx/cxd56_delay.c index f54f7eabca..406d52941e 100644 --- a/arch/arm/src/cxd56xx/cxd56_delay.c +++ b/arch/arm/src/cxd56xx/cxd56_delay.c @@ -91,7 +91,7 @@ void up_mdelay(unsigned int milliseconds) * Description: * Delay inline for the requested number of microseconds. NOTE: Because * of all of the setup, several microseconds will be lost before the actual - * timing looop begins. Thus, the delay will always be a few microseconds + * timing loop begins. Thus, the delay will always be a few microseconds * longer than requested. * * *** NOT multi-tasking friendly *** diff --git a/arch/arm/src/cxd56xx/cxd56_irq.c b/arch/arm/src/cxd56xx/cxd56_irq.c index 30d3c29fcf..3914b6c3a8 100644 --- a/arch/arm/src/cxd56xx/cxd56_irq.c +++ b/arch/arm/src/cxd56xx/cxd56_irq.c @@ -177,7 +177,7 @@ static int cxd56_nmi(int irq, FAR void *context, FAR void *arg) static int cxd56_busfault(int irq, FAR void *context, FAR void *arg) { (void)up_irq_save(); - _err("PANIC!!! Bus fault recived\n"); + _err("PANIC!!! Bus fault received\n"); PANIC(); return 0; } diff --git a/arch/arm/src/cxd56xx/cxd56_sdhci.h b/arch/arm/src/cxd56xx/cxd56_sdhci.h index b6bd61bc27..25092588e6 100644 --- a/arch/arm/src/cxd56xx/cxd56_sdhci.h +++ b/arch/arm/src/cxd56xx/cxd56_sdhci.h @@ -455,7 +455,7 @@ FAR struct sdio_dev_s *cxd56_sdhci_finalize(int slotno); * Name: cxd56_sdhci_mediachange * * Description: - * Called by board-specific logic -- posssible from an interrupt handler -- + * Called by board-specific logic -- possibly from an interrupt handler -- * in order to signal to the driver that a card has been inserted or * removed from the slot * diff --git a/arch/arm/src/efm32/efm32_usbhost.c b/arch/arm/src/efm32/efm32_usbhost.c index b927063abf..03ce5361b0 100644 --- a/arch/arm/src/efm32/efm32_usbhost.c +++ b/arch/arm/src/efm32/efm32_usbhost.c @@ -1379,7 +1379,7 @@ static int efm32_ctrlep_alloc(FAR struct efm32_usbhost_s *priv, return -ENOMEM; } - /* Then allocate and configure the IN/OUT channnels */ + /* Then allocate and configure the IN/OUT channels */ ret = efm32_ctrlchan_alloc(priv, epdesc->addr & USB_EPNO_MASK, hport->funcaddr, hport->speed, ctrlep); diff --git a/arch/arm/src/imx1/imx_cspi.h b/arch/arm/src/imx1/imx_cspi.h index dd5e556dba..fb47201ddb 100644 --- a/arch/arm/src/imx1/imx_cspi.h +++ b/arch/arm/src/imx1/imx_cspi.h @@ -114,7 +114,7 @@ #define CSPI_CTRL_BITCOUNT_SHIFT 0 #define CSPI_CTRL_BITCOUNT_MASK (15 << CSPI_CTRL_BITCOUNT_SHIFT) -/* CSPI Interrrupt Control/Status Register */ +/* CSPI Interrupt Control/Status Register */ #define CSPI_INTCS_TE (1 << 0) /* Bit 0: TXFIFO Empty Status */ #define CSPI_INTCS_TH (1 << 1) /* Bit 1: TXFIFO Half Status */ diff --git a/arch/arm/src/kinetis/kinetis.h b/arch/arm/src/kinetis/kinetis.h index c98f48f1fd..20dcaf120f 100644 --- a/arch/arm/src/kinetis/kinetis.h +++ b/arch/arm/src/kinetis/kinetis.h @@ -695,7 +695,7 @@ FAR struct sdio_dev_s *sdhc_initialize(int slotno); * Name: sdhc_mediachange * * Description: - * Called by board-specific logic -- posssible from an interrupt handler -- + * Called by board-specific logic -- possibly from an interrupt handler -- * in order to signal to the driver that a card has been inserted or * removed from the slot * diff --git a/arch/arm/src/kinetis/kinetis_clockconfig.c b/arch/arm/src/kinetis/kinetis_clockconfig.c index 2da49e3246..d1c5acad00 100644 --- a/arch/arm/src/kinetis/kinetis_clockconfig.c +++ b/arch/arm/src/kinetis/kinetis_clockconfig.c @@ -333,7 +333,7 @@ void kinetis_pllconfig(void) * establish the multiplication factor applied to the reference clock * frequency. Also set * - * LOLIE = 0 (Loss of Lock Interrrupt Enable) + * LOLIE = 0 (Loss of Lock Interrupt Enable) * PLLS = 1 (PLL Select) * CME = 0 (Clock Monitor Enable) */ diff --git a/arch/arm/src/kinetis/kinetis_irq.c b/arch/arm/src/kinetis/kinetis_irq.c index bf938390c5..c1f3e30aa9 100644 --- a/arch/arm/src/kinetis/kinetis_irq.c +++ b/arch/arm/src/kinetis/kinetis_irq.c @@ -182,7 +182,7 @@ static int kinetis_nmi(int irq, FAR void *context, FAR void *arg) static int kinetis_busfault(int irq, FAR void *context, FAR void *arg) { (void)up_irq_save(); - _err("PANIC!!! Bus fault recived\n"); + _err("PANIC!!! Bus fault received\n"); PANIC(); return 0; } diff --git a/arch/arm/src/kl/hardware/kl_mcg.h b/arch/arm/src/kl/hardware/kl_mcg.h index 7b14eb6763..224e195716 100644 --- a/arch/arm/src/kl/hardware/kl_mcg.h +++ b/arch/arm/src/kl/hardware/kl_mcg.h @@ -146,7 +146,7 @@ # define MCG_C6_VDIV(n) (((n)-24) << MCG_C6_VDIV_SHIFT) /* Divide factor n=24..55 */ #define MCG_C6_CME (1 << 5) /* Bit 5: Clock Monitor Enable */ #define MCG_C6_PLLS (1 << 6) /* Bit 6: PLL Select */ -#define MCG_C6_LOLIE (1 << 7) /* Bit 7: Loss of Lock Interrrupt Enable */ +#define MCG_C6_LOLIE (1 << 7) /* Bit 7: Loss of Lock Interrupt Enable */ /* MCG Status Register */ diff --git a/arch/arm/src/lpc17xx_40xx/hardware/lpc17_40_lcd.h b/arch/arm/src/lpc17xx_40xx/hardware/lpc17_40_lcd.h index 9b895fc59c..99cb808343 100644 --- a/arch/arm/src/lpc17xx_40xx/hardware/lpc17_40_lcd.h +++ b/arch/arm/src/lpc17xx_40xx/hardware/lpc17_40_lcd.h @@ -313,34 +313,22 @@ #define LCD_CRSR_CRSRCLIPY_SHIFT (8) /* Bits 8-13: Reserved */ #define LCD_CRSR_CRSRCLIPY_MASK (0x3f << LCD_CRSR_CRSRCLIPY_SHIFT) /* Bits 14-31: Reserved */ -/* LCD CRSR_INTMSK - Cursor Interrrupt Mask Register */ +/* LCD CRSR_INTMSK - Cursor Interrupt Mask Register */ #define LCD_CRSR_INTMSK_CRSRIM (1 << 0) /* Bit 0: Cursor interrupt mask */ /* Bits 1-31: Reserved */ -/* LCD CRSR_INTCLR - Cursor Interrrupt Clear Register */ +/* LCD CRSR_INTCLR - Cursor Interrupt Clear Register */ #define LCD_CRSR_INTCLR_CRSRIC (1 << 0) /* Bit 0: Cursor interrupt clear */ /* Bits 1-31: Reserved */ -/* LCD CRSR_INTRAW - Cursor Raw Interrrupt Status Register */ +/* LCD CRSR_INTRAW - Cursor Raw Interrupt Status Register */ #define LCD_CRSR_INTRAW_CRSRRIS (1 << 0) /* Bit 0: Cursor raw interrupt status */ /* Bits 1-31: Reserved */ -/* LCD CRSR_INTSTAT - Mask Interrrupt Status Register */ +/* LCD CRSR_INTSTAT - Mask Interrupt Status Register */ #define LCD_CRSR_INTSTAT_CRSRMIS (1 << 0) /* Bit 0: Cursor mask interrupt status */ /* Bits 1-31: Reserved */ -/************************************************************************************************ - * Public Types - ************************************************************************************************/ - -/************************************************************************************************ - * Public Data - ************************************************************************************************/ - -/************************************************************************************************ - * Public Functions - ************************************************************************************************/ - #endif /* __ARCH_ARM_SRC_LPC17XX_40XX_HARDWARE_LPC17_40_LCD_H */ diff --git a/arch/arm/src/lpc17xx_40xx/lpc17_40_can.c b/arch/arm/src/lpc17xx_40xx/lpc17_40_can.c index 9da51d2643..c3a0154e0d 100644 --- a/arch/arm/src/lpc17xx_40xx/lpc17_40_can.c +++ b/arch/arm/src/lpc17xx_40xx/lpc17_40_can.c @@ -144,7 +144,7 @@ #endif #if CONFIG_LPC17_40_CAN_TSEG1 < 1 || CONFIG_LPC17_40_CAN_TSEG1 > CAN_BTR_TSEG1_MAX -# errror "CONFIG_LPC17_40_CAN_TSEG1 is out of range" +# error "CONFIG_LPC17_40_CAN_TSEG1 is out of range" #endif #ifndef CONFIG_LPC17_40_CAN_TSEG2 @@ -152,7 +152,7 @@ #endif #if CONFIG_LPC17_40_CAN_TSEG2 < 1 || CONFIG_LPC17_40_CAN_TSEG2 > CAN_BTR_TSEG2_MAX -# errror "CONFIG_LPC17_40_CAN_TSEG2 is out of range" +# error "CONFIG_LPC17_40_CAN_TSEG2 is out of range" #endif #define CAN_BIT_QUANTA (CONFIG_LPC17_40_CAN_TSEG1 + CONFIG_LPC17_40_CAN_TSEG2 + 1) diff --git a/arch/arm/src/lpc17xx_40xx/lpc17_40_irq.c b/arch/arm/src/lpc17xx_40xx/lpc17_40_irq.c index a6bbdb4154..a82cbcff64 100644 --- a/arch/arm/src/lpc17xx_40xx/lpc17_40_irq.c +++ b/arch/arm/src/lpc17xx_40xx/lpc17_40_irq.c @@ -161,7 +161,7 @@ static int lpc17_40_nmi(int irq, FAR void *context, FAR void *arg) static int lpc17_40_busfault(int irq, FAR void *context, FAR void *arg) { (void)up_irq_save(); - _err("PANIC!!! Bus fault recived\n"); + _err("PANIC!!! Bus fault received\n"); PANIC(); return 0; } diff --git a/arch/arm/src/lpc17xx_40xx/lpc17_40_sdcard.c b/arch/arm/src/lpc17xx_40xx/lpc17_40_sdcard.c index 6f53a902de..351cee4e28 100644 --- a/arch/arm/src/lpc17xx_40xx/lpc17_40_sdcard.c +++ b/arch/arm/src/lpc17xx_40xx/lpc17_40_sdcard.c @@ -1191,7 +1191,7 @@ static void lpc17_40_endtransfer(struct lpc17_40_dev_s *priv, sdio_eventset_t wk } /**************************************************************************** - * Interrrupt Handling + * Interrupt Handling ****************************************************************************/ /**************************************************************************** @@ -2777,9 +2777,9 @@ FAR struct sdio_dev_s *sdio_initialize(int slotno) * Name: sdio_mediachange * * Description: - * Called by board-specific logic -- posssible from an interrupt handler -- + * Called by board-specific logic -- possibly from an interrupt handler -- * in order to signal to the driver that a card has been inserted or - * removed from the slot + * removed from the slot. * * Input Parameters: * dev - An instance of the SD card driver device state structure. diff --git a/arch/arm/src/lpc17xx_40xx/lpc17_40_sdcard.h b/arch/arm/src/lpc17xx_40xx/lpc17_40_sdcard.h index 65bca084e4..d1276784fc 100644 --- a/arch/arm/src/lpc17xx_40xx/lpc17_40_sdcard.h +++ b/arch/arm/src/lpc17xx_40xx/lpc17_40_sdcard.h @@ -83,9 +83,9 @@ FAR struct sdio_dev_s *sdio_initialize(int slotno); * Name: sdio_mediachange * * Description: - * Called by board-specific logic -- posssible from an interrupt handler -- + * Called by board-specific logic -- possibly from an interrupt handler -- * in order to signal to the driver that a card has been inserted or - * removed from the slot + * removed from the slot. * * Input Parameters: * dev - An instance of the SDIO driver device state structure. diff --git a/arch/arm/src/lpc214x/lpc214x_head.S b/arch/arm/src/lpc214x/lpc214x_head.S index f6d16516af..a9fcc05b31 100644 --- a/arch/arm/src/lpc214x/lpc214x_head.S +++ b/arch/arm/src/lpc214x/lpc214x_head.S @@ -453,10 +453,10 @@ * Name: _vector_table * * Description: - * Interrrupt vector table. This must be located at the beginning + * Interrupt vector table. This must be located at the beginning * of the memory space (at CONFIG_CODE_BASE). The first entry in * the vector table is the reset vector and this is the code that - * will execute whn the processor is reset. + * will execute when the processor is reset. * *****************************************************************************/ diff --git a/arch/arm/src/lpc2378/lpc23xx_head.S b/arch/arm/src/lpc2378/lpc23xx_head.S index 6e9eab906a..c0833e2286 100644 --- a/arch/arm/src/lpc2378/lpc23xx_head.S +++ b/arch/arm/src/lpc2378/lpc23xx_head.S @@ -80,10 +80,10 @@ * Name: _vector_table * * Description: - * Interrrupt vector table. This must be located at the beginning + * Interrupt vector table. This must be located at the beginning * of the memory space (at CONFIG_LPC2378_CODE_BASE). The first entry in * the vector table is the reset vector and this is the code that - * will execute whn the processor is reset. + * will execute when the processor is reset. * *****************************************************************************/ diff --git a/arch/arm/src/lpc31xx/lpc31.h b/arch/arm/src/lpc31xx/lpc31.h index 2632658091..f78c0da7b3 100644 --- a/arch/arm/src/lpc31xx/lpc31.h +++ b/arch/arm/src/lpc31xx/lpc31.h @@ -327,7 +327,7 @@ FAR struct sdio_dev_s *sdio_initialize(int slotno); * Name: sdio_mediachange * * Description: - * Called by board-specific logic -- posssible from an interrupt handler -- + * Called by board-specific logic -- possibly from an interrupt handler -- * in order to signal to the driver that a card has been inserted or * removed from the slot * diff --git a/arch/arm/src/lpc31xx/lpc31_nand.h b/arch/arm/src/lpc31xx/lpc31_nand.h index 52f22bdc2b..01b8b8cc0b 100644 --- a/arch/arm/src/lpc31xx/lpc31_nand.h +++ b/arch/arm/src/lpc31xx/lpc31_nand.h @@ -54,7 +54,7 @@ /* NAND FLASH controller register offsets (with respect to the base of the APB4 domain) *********/ -#define LPC31_NAND_IRQSTATUS1_OFFSET 0x00 /* Interrrupt status register (first 32-bits) */ +#define LPC31_NAND_IRQSTATUS1_OFFSET 0x00 /* Interrupt status register (first 32-bits) */ #define LPC31_NAND_IRQMASK1_OFFSET 0x04 /* Interrupt mask register (first 32-bits) */ #define LPC31_NAND_IRQSTATUSRAW1_OFFSET 0x08 /* Unmasked register status (first 32-bits) */ #define LPC31_NAND_CONFIG_OFFSET 0x0c /* NAND Flash controller configuration register */ @@ -70,7 +70,7 @@ #define LPC31_NAND_CONTROLFLOW_OFFSET 0x38 /* Commands to read and write pages */ #define LPC31_NAND_GPIO1_OFFSET 0x40 /* Program IO pins that can be used as GPIO */ #define LPC31_NAND_GPIO2_OFFSET 0x44 /* Program IO pins that can be used as GPIO */ -#define LPC31_NAND_IRQSTATUS2_OFFSET 0x48 /* Interrrupt status register (second 32-bits) */ +#define LPC31_NAND_IRQSTATUS2_OFFSET 0x48 /* Interrupt status register (second 32-bits) */ #define LPC31_NAND_IRQMASK3_OFFSET 0x4c /* Interrupt mask register (second 32-bits) */ #define LPC31_NAND_IRQSTATUSRAW2_OFFSET 0x50 /* Unmasked register status (second 32-bits) */ #define LPC31_NAND_AESKEY1_OFFSET 0x54 /* First word of 128-bit AES key (LPC3154 only) */ @@ -409,16 +409,4 @@ #define NAND_AESFROMAHB_DECRYPTRAM1 (1 << 1) /* Bit 1: Decrypt RAM1 */ #define NAND_AESFROMAHB_DECRYPTRAM0 (1 << 0) /* Bit 0: Decrypt RAM0 */ -/************************************************************************************************ - * Public Types - ************************************************************************************************/ - -/************************************************************************************************ - * Public Data - ************************************************************************************************/ - -/************************************************************************************************ - * Public Functions - ************************************************************************************************/ - #endif /* __ARCH_ARM_SRC_LPC31XX_LPC31_NAND_H */ diff --git a/arch/arm/src/lpc43xx/lpc43_irq.c b/arch/arm/src/lpc43xx/lpc43_irq.c index de71352bfb..94fbc945c0 100644 --- a/arch/arm/src/lpc43xx/lpc43_irq.c +++ b/arch/arm/src/lpc43xx/lpc43_irq.c @@ -166,7 +166,7 @@ static int lpc43_nmi(int irq, FAR void *context, FAR void *arg) static int lpc43_busfault(int irq, FAR void *context, FAR void *arg) { (void)up_irq_save(); - _err("PANIC!!! Bus fault recived\n"); + _err("PANIC!!! Bus fault received\n"); PANIC(); return 0; } diff --git a/arch/arm/src/lpc54xx/hardware/lpc54_lcd.h b/arch/arm/src/lpc54xx/hardware/lpc54_lcd.h index e737366392..952d198df4 100644 --- a/arch/arm/src/lpc54xx/hardware/lpc54_lcd.h +++ b/arch/arm/src/lpc54xx/hardware/lpc54_lcd.h @@ -314,20 +314,20 @@ #define LCD_CRSR_CRSRCLIPY_SHIFT (8) /* Bits 8-13: Reserved */ #define LCD_CRSR_CRSRCLIPY_MASK (0x3f << LCD_CRSR_CRSRCLIPY_SHIFT) /* Bits 14-31: Reserved */ -/* LCD CRSR_INTMSK - Cursor Interrrupt Mask Register */ +/* LCD CRSR_INTMSK - Cursor Interrupt Mask Register */ #define LCD_CRSR_INTMSK_CRSRIM (1 << 0) /* Bit 0: Cursor interrupt mask */ /* Bits 1-31: Reserved */ -/* LCD CRSR_INTCLR - Cursor Interrrupt Clear Register */ +/* LCD CRSR_INTCLR - Cursor Interrupt Clear Register */ #define LCD_CRSR_INTCLR_CRSRIC (1 << 0) /* Bit 0: Cursor interrupt clear */ /* Bits 1-31: Reserved */ -/* LCD CRSR_INTRAW - Cursor Raw Interrrupt Status Register */ +/* LCD CRSR_INTRAW - Cursor Raw Interrupt Status Register */ #define LCD_CRSR_INTRAW_CRSRRIS (1 << 0) /* Bit 0: Cursor raw interrupt status */ /* Bits 1-31: Reserved */ -/* LCD CRSR_INTSTAT - Mask Interrrupt Status Register */ +/* LCD CRSR_INTSTAT - Mask Interrupt Status Register */ #define LCD_CRSR_INTSTAT_CRSRMIS (1 << 0) /* Bit 0: Cursor mask interrupt status */ /* Bits 1-31: Reserved */ diff --git a/arch/arm/src/lpc54xx/lpc54_irq.c b/arch/arm/src/lpc54xx/lpc54_irq.c index e71afbbd3e..2644380f73 100644 --- a/arch/arm/src/lpc54xx/lpc54_irq.c +++ b/arch/arm/src/lpc54xx/lpc54_irq.c @@ -165,7 +165,7 @@ static int lpc54_nmi(int irq, FAR void *context, FAR void *arg) static int lpc54_busfault(int irq, FAR void *context, FAR void *arg) { (void)up_irq_save(); - _err("PANIC!!! Bus fault recived\n"); + _err("PANIC!!! Bus fault received\n"); PANIC(); return 0; } diff --git a/arch/arm/src/lpc54xx/lpc54_serial.c b/arch/arm/src/lpc54xx/lpc54_serial.c index 1fc746dc97..7ea3b38d42 100644 --- a/arch/arm/src/lpc54xx/lpc54_serial.c +++ b/arch/arm/src/lpc54xx/lpc54_serial.c @@ -1136,7 +1136,7 @@ static int lpc54_interrupt(int irq, void *context, FAR void *arg) if ((regval & CCR_ERROR_EVENTS) != 0) { /* And now do... what? Should we reset FIFOs on a FIFO error? */ -#warning Misssing logic +#warning Missing logic } #endif } diff --git a/arch/arm/src/max326xx/common/max326_irq.c b/arch/arm/src/max326xx/common/max326_irq.c index ed1fb0a6b0..058b62f254 100644 --- a/arch/arm/src/max326xx/common/max326_irq.c +++ b/arch/arm/src/max326xx/common/max326_irq.c @@ -165,7 +165,7 @@ static int max326_nmi(int irq, FAR void *context, FAR void *arg) static int max326_busfault(int irq, FAR void *context, FAR void *arg) { (void)up_irq_save(); - _err("PANIC!!! Bus fault recived\n"); + _err("PANIC!!! Bus fault received\n"); PANIC(); return 0; } diff --git a/arch/arm/src/max326xx/max32660/max32660_serial.c b/arch/arm/src/max326xx/max32660/max32660_serial.c index b822bd158a..236125b624 100644 --- a/arch/arm/src/max326xx/max32660/max32660_serial.c +++ b/arch/arm/src/max326xx/max32660/max32660_serial.c @@ -570,7 +570,7 @@ static int max326_interrupt(int irq, void *context, void *arg) if ((intfl & UART_INT_RXERRORS) != 0) { /* And now do... what? Should we reset FIFOs on a FIFO error? */ -#warning Misssing logic +#warning Missing logic handled = true; } diff --git a/arch/arm/src/nrf52/nrf52_irq.c b/arch/arm/src/nrf52/nrf52_irq.c index 3f44bc9cb4..f282c222e1 100644 --- a/arch/arm/src/nrf52/nrf52_irq.c +++ b/arch/arm/src/nrf52/nrf52_irq.c @@ -165,7 +165,7 @@ static int nrf52_nmi(int irq, FAR void *context, FAR void *arg) static int nrf52_busfault(int irq, FAR void *context, FAR void *arg) { (void)up_irq_save(); - _err("PANIC!!! Bus fault recived\n"); + _err("PANIC!!! Bus fault received\n"); PANIC(); return 0; } diff --git a/arch/arm/src/s32k1xx/s32k14x/s32k14x_irq.c b/arch/arm/src/s32k1xx/s32k14x/s32k14x_irq.c index 3e0620dcb0..bae162a79c 100644 --- a/arch/arm/src/s32k1xx/s32k14x/s32k14x_irq.c +++ b/arch/arm/src/s32k1xx/s32k14x/s32k14x_irq.c @@ -186,7 +186,7 @@ static int s32k14x_nmi(int irq, FAR void *context, FAR void *arg) static int s32k14x_busfault(int irq, FAR void *context, FAR void *arg) { (void)up_irq_save(); - _err("PANIC!!! Bus fault recived\n"); + _err("PANIC!!! Bus fault received\n"); PANIC(); return 0; } diff --git a/arch/arm/src/sam34/sam_hsmci.c b/arch/arm/src/sam34/sam_hsmci.c index 7127eaf41e..1974c2d5aa 100644 --- a/arch/arm/src/sam34/sam_hsmci.c +++ b/arch/arm/src/sam34/sam_hsmci.c @@ -2725,9 +2725,9 @@ FAR struct sdio_dev_s *sdio_initialize(int slotno) * Name: sdio_mediachange * * Description: - * Called by board-specific logic -- posssible from an interrupt handler -- + * Called by board-specific logic -- possibly from an interrupt handler -- * in order to signal to the driver that a card has been inserted or - * removed from the slot + * removed from the slot. * * Input Parameters: * dev - An instance of the SDIO driver device state structure. diff --git a/arch/arm/src/sam34/sam_hsmci.h b/arch/arm/src/sam34/sam_hsmci.h index 78dc02069c..eb6b131127 100644 --- a/arch/arm/src/sam34/sam_hsmci.h +++ b/arch/arm/src/sam34/sam_hsmci.h @@ -99,9 +99,9 @@ FAR struct sdio_dev_s *sdio_initialize(int slotno); * Name: sdio_mediachange * * Description: - * Called by board-specific logic -- posssible from an interrupt handler -- + * Called by board-specific logic -- possibly from an interrupt handler -- * in order to signal to the driver that a card has been inserted or - * removed from the slot + * removed from the slot. * * Input Parameters: * dev - An instance of the SDIO driver device state structure. diff --git a/arch/arm/src/stm32/stm32_can.h b/arch/arm/src/stm32/stm32_can.h index 5e0136d117..336d9451e0 100644 --- a/arch/arm/src/stm32/stm32_can.h +++ b/arch/arm/src/stm32/stm32_can.h @@ -85,7 +85,7 @@ #endif #if CONFIG_STM32_CAN_TSEG1 < 1 || CONFIG_STM32_CAN_TSEG1 > CAN_BTR_TSEG1_MAX -# errror "CONFIG_STM32_CAN_TSEG1 is out of range" +# error "CONFIG_STM32_CAN_TSEG1 is out of range" #endif #ifndef CONFIG_STM32_CAN_TSEG2 @@ -93,7 +93,7 @@ #endif #if CONFIG_STM32_CAN_TSEG2 < 1 || CONFIG_STM32_CAN_TSEG2 > CAN_BTR_TSEG2_MAX -# errror "CONFIG_STM32_CAN_TSEG2 is out of range" +# error "CONFIG_STM32_CAN_TSEG2 is out of range" #endif /************************************************************************************ diff --git a/arch/arm/src/stm32/stm32_otgfshost.c b/arch/arm/src/stm32/stm32_otgfshost.c index de21b4ac72..71f316373b 100644 --- a/arch/arm/src/stm32/stm32_otgfshost.c +++ b/arch/arm/src/stm32/stm32_otgfshost.c @@ -1303,7 +1303,7 @@ static int stm32_ctrlep_alloc(FAR struct stm32_usbhost_s *priv, return -ENOMEM; } - /* Then allocate and configure the IN/OUT channnels */ + /* Then allocate and configure the IN/OUT channels */ ret = stm32_ctrlchan_alloc(priv, epdesc->addr & USB_EPNO_MASK, hport->funcaddr, hport->speed, ctrlep); diff --git a/arch/arm/src/stm32/stm32_otghshost.c b/arch/arm/src/stm32/stm32_otghshost.c index 3830efd2ac..a20a2e881a 100644 --- a/arch/arm/src/stm32/stm32_otghshost.c +++ b/arch/arm/src/stm32/stm32_otghshost.c @@ -1308,7 +1308,7 @@ static int stm32_ctrlep_alloc(FAR struct stm32_usbhost_s *priv, return -ENOMEM; } - /* Then allocate and configure the IN/OUT channnels */ + /* Then allocate and configure the IN/OUT channels */ ret = stm32_ctrlchan_alloc(priv, epdesc->addr & USB_EPNO_MASK, hport->funcaddr, hport->speed, ctrlep); diff --git a/arch/arm/src/stm32/stm32_sdio.c b/arch/arm/src/stm32/stm32_sdio.c index 9eabf1042d..d93a4a9cbe 100644 --- a/arch/arm/src/stm32/stm32_sdio.c +++ b/arch/arm/src/stm32/stm32_sdio.c @@ -3056,7 +3056,7 @@ FAR struct sdio_dev_s *sdio_initialize(int slotno) * Name: sdio_mediachange * * Description: - * Called by board-specific logic -- posssible from an interrupt handler -- + * Called by board-specific logic -- possibly from an interrupt handler -- * in order to signal to the driver that a card has been inserted or * removed from the slot * diff --git a/arch/arm/src/stm32/stm32_sdio.h b/arch/arm/src/stm32/stm32_sdio.h index 88b1f5d777..f702528c23 100644 --- a/arch/arm/src/stm32/stm32_sdio.h +++ b/arch/arm/src/stm32/stm32_sdio.h @@ -83,7 +83,7 @@ FAR struct sdio_dev_s *sdio_initialize(int slotno); * Name: sdio_mediachange * * Description: - * Called by board-specific logic -- posssible from an interrupt handler -- + * Called by board-specific logic -- possibly from an interrupt handler -- * in order to signal to the driver that a card has been inserted or * removed from the slot * diff --git a/arch/arm/src/stm32f7/stm32_can.h b/arch/arm/src/stm32f7/stm32_can.h index b1926d2e8a..12997d51e5 100644 --- a/arch/arm/src/stm32f7/stm32_can.h +++ b/arch/arm/src/stm32f7/stm32_can.h @@ -82,7 +82,7 @@ #endif #if CONFIG_STM32F7_CAN_TSEG1 < 1 || CONFIG_STM32F7_CAN_TSEG1 > CAN_BTR_TSEG1_MAX -# errror "CONFIG_STM32_CAN_TSEG1 is out of range" +# error "CONFIG_STM32_CAN_TSEG1 is out of range" #endif #ifndef CONFIG_STM32F7_CAN_TSEG2 @@ -90,7 +90,7 @@ #endif #if CONFIG_STM32F7_CAN_TSEG2 < 1 || CONFIG_STM32F7_CAN_TSEG2 > CAN_BTR_TSEG2_MAX -# errror "CONFIG_STM32_CAN_TSEG2 is out of range" +# error "CONFIG_STM32_CAN_TSEG2 is out of range" #endif /************************************************************************************ diff --git a/arch/arm/src/stm32f7/stm32_otghost.c b/arch/arm/src/stm32f7/stm32_otghost.c index 15b14960fa..3a1fe41220 100644 --- a/arch/arm/src/stm32f7/stm32_otghost.c +++ b/arch/arm/src/stm32f7/stm32_otghost.c @@ -1301,7 +1301,7 @@ static int stm32_ctrlep_alloc(FAR struct stm32_usbhost_s *priv, return -ENOMEM; } - /* Then allocate and configure the IN/OUT channnels */ + /* Then allocate and configure the IN/OUT channels */ ret = stm32_ctrlchan_alloc(priv, epdesc->addr & USB_EPNO_MASK, hport->funcaddr, hport->speed, ctrlep); diff --git a/arch/arm/src/stm32f7/stm32_sdmmc.h b/arch/arm/src/stm32f7/stm32_sdmmc.h index 0d79a297ad..ef12c46514 100644 --- a/arch/arm/src/stm32f7/stm32_sdmmc.h +++ b/arch/arm/src/stm32f7/stm32_sdmmc.h @@ -84,7 +84,7 @@ FAR struct sdio_dev_s *sdio_initialize(int slotno); * Name: sdio_mediachange * * Description: - * Called by board-specific logic -- posssible from an interrupt handler -- + * Called by board-specific logic -- possibly from an interrupt handler -- * in order to signal to the driver that a card has been inserted or * removed from the slot * diff --git a/arch/arm/src/stm32h7/stm32_otghost.c b/arch/arm/src/stm32h7/stm32_otghost.c index 837b5dc1fa..60fcbdef39 100644 --- a/arch/arm/src/stm32h7/stm32_otghost.c +++ b/arch/arm/src/stm32h7/stm32_otghost.c @@ -1306,7 +1306,7 @@ static int stm32_ctrlep_alloc(FAR struct stm32_usbhost_s *priv, return -ENOMEM; } - /* Then allocate and configure the IN/OUT channnels */ + /* Then allocate and configure the IN/OUT channels */ ret = stm32_ctrlchan_alloc(priv, epdesc->addr & USB_EPNO_MASK, hport->funcaddr, hport->speed, ctrlep); diff --git a/arch/arm/src/stm32h7/stm32_sdmmc.h b/arch/arm/src/stm32h7/stm32_sdmmc.h index 15774501d8..5b8a1c3133 100644 --- a/arch/arm/src/stm32h7/stm32_sdmmc.h +++ b/arch/arm/src/stm32h7/stm32_sdmmc.h @@ -84,9 +84,9 @@ FAR struct sdio_dev_s *sdio_initialize(int slotno); * Name: sdio_mediachange * * Description: - * Called by board-specific logic -- posssible from an interrupt handler -- + * Called by board-specific logic -- possibly from an interrupt handler -- * in order to signal to the driver that a card has been inserted or - * removed from the slot + * removed from the slot. * * Input Parameters: * dev - An instance of the SDIO driver device state structure. diff --git a/arch/arm/src/stm32l4/stm32l4_can.h b/arch/arm/src/stm32l4/stm32l4_can.h index fa3994fb33..f0aa3b1c9e 100644 --- a/arch/arm/src/stm32l4/stm32l4_can.h +++ b/arch/arm/src/stm32l4/stm32l4_can.h @@ -82,7 +82,7 @@ #endif #if CONFIG_STM32L4_CAN_TSEG1 < 1 || CONFIG_STM32L4_CAN_TSEG1 > CAN_BTR_TSEG1_MAX -# errror "CONFIG_STM32L4_CAN_TSEG1 is out of range" +# error "CONFIG_STM32L4_CAN_TSEG1 is out of range" #endif #ifndef CONFIG_STM32L4_CAN_TSEG2 @@ -90,7 +90,7 @@ #endif #if CONFIG_STM32L4_CAN_TSEG2 < 1 || CONFIG_STM32L4_CAN_TSEG2 > CAN_BTR_TSEG2_MAX -# errror "CONFIG_STM32L4_CAN_TSEG2 is out of range" +# error "CONFIG_STM32L4_CAN_TSEG2 is out of range" #endif /************************************************************************************ diff --git a/arch/arm/src/stm32l4/stm32l4_otgfshost.c b/arch/arm/src/stm32l4/stm32l4_otgfshost.c index c202bf6916..a58433a6e6 100644 --- a/arch/arm/src/stm32l4/stm32l4_otgfshost.c +++ b/arch/arm/src/stm32l4/stm32l4_otgfshost.c @@ -1305,7 +1305,7 @@ static int stm32l4_ctrlep_alloc(FAR struct stm32l4_usbhost_s *priv, return -ENOMEM; } - /* Then allocate and configure the IN/OUT channnels */ + /* Then allocate and configure the IN/OUT channels */ ret = stm32l4_ctrlchan_alloc(priv, epdesc->addr & USB_EPNO_MASK, hport->funcaddr, hport->speed, ctrlep); diff --git a/arch/arm/src/stm32l4/stm32l4_sdmmc.h b/arch/arm/src/stm32l4/stm32l4_sdmmc.h index 8ebe679328..b32d6158b8 100644 --- a/arch/arm/src/stm32l4/stm32l4_sdmmc.h +++ b/arch/arm/src/stm32l4/stm32l4_sdmmc.h @@ -85,7 +85,7 @@ FAR struct sdio_dev_s *sdio_initialize(int slotno); * Name: sdio_mediachange * * Description: - * Called by board-specific logic -- posssible from an interrupt handler -- + * Called by board-specific logic -- possibly from an interrupt handler -- * in order to signal to the driver that a card has been inserted or * removed from the slot * diff --git a/arch/arm/src/str71x/str71x_head.S b/arch/arm/src/str71x/str71x_head.S index ea36d3cea5..767f646142 100644 --- a/arch/arm/src/str71x/str71x_head.S +++ b/arch/arm/src/str71x/str71x_head.S @@ -418,10 +418,10 @@ eicloop: * Name: _vector_table * * Description: - * Interrrupt vector table. This must be located at the beginning + * Interrupt vector table. This must be located at the beginning * of the memory space (at the beginning FLASH which will be mapped to * address 0x00000000). The first entry in the vector table is the reset - * vector and this is the code that will execute whn the processor is reset. + * vector and this is the code that will execute when the processor is reset. * *****************************************************************************/ diff --git a/arch/arm/src/tiva/common/tiva_irq.c b/arch/arm/src/tiva/common/tiva_irq.c index 9f730450de..da5cebdb81 100644 --- a/arch/arm/src/tiva/common/tiva_irq.c +++ b/arch/arm/src/tiva/common/tiva_irq.c @@ -224,7 +224,7 @@ static int tiva_nmi(int irq, FAR void *context, FAR void *arg) static int tiva_busfault(int irq, FAR void *context, FAR void *arg) { (void)up_irq_save(); - _err("PANIC!!! Bus fault recived\n"); + _err("PANIC!!! Bus fault received\n"); PANIC(); return 0; } diff --git a/arch/arm/src/tiva/common/tiva_timerlib.c b/arch/arm/src/tiva/common/tiva_timerlib.c index 5a8176fc03..2020ea3631 100644 --- a/arch/arm/src/tiva/common/tiva_timerlib.c +++ b/arch/arm/src/tiva/common/tiva_timerlib.c @@ -2898,7 +2898,7 @@ void tiva_rtc_setalarm(TIMER_HANDLE handle, uint32_t delay) * be enabled. A single match interrupt will be generated; further match * interrupts will be disabled. * - * NOTE: Use of this function is only meaningful for a free-runnning, + * NOTE: Use of this function is only meaningful for a free-running, * periodic timer. * * WARNING: For free-running timers, the relative match value should be @@ -3003,7 +3003,7 @@ void tiva_timer32_relmatch(TIMER_HANDLE handle, uint32_t relmatch) * be enabled. A single match interrupt will be generated; further match * interrupts will be disabled. * - * NOTE: Use of this function is only meaningful for a free-runnning, + * NOTE: Use of this function is only meaningful for a free-running, * periodic timer. * * NOTE: The relmatch input is a really a 24-bit value; it is the 16-bit diff --git a/arch/arm/src/tiva/tiva_timer.h b/arch/arm/src/tiva/tiva_timer.h index 025087c717..942c76f4dd 100644 --- a/arch/arm/src/tiva/tiva_timer.h +++ b/arch/arm/src/tiva/tiva_timer.h @@ -743,7 +743,7 @@ void tiva_rtc_setalarm(TIMER_HANDLE handle, uint32_t delay); * interrupts will be disabled. * * NOTE: Use of this function is only meaningful for a 32-bit free- - * runnning, periodic timer. + * running, periodic timer. * * WARNING: For free-running timers, the relative match value should be * sufficiently far in the future to avoid race conditions. @@ -776,7 +776,7 @@ void tiva_timer32_relmatch(TIMER_HANDLE handle, uint32_t relmatch); * interrupts will be disabled. * * NOTE: Use of this function is only meaningful for a 16-bit free- - * runnning, periodic timer. + * running, periodic timer. * * NOTE: The relmatch input is a really a 24-bit value; it is the 16-bit * match counter match value AND the 8-bit prescaler match value. From diff --git a/arch/arm/src/xmc4/xmc4_irq.c b/arch/arm/src/xmc4/xmc4_irq.c index 73637fdbf2..061b12da7d 100644 --- a/arch/arm/src/xmc4/xmc4_irq.c +++ b/arch/arm/src/xmc4/xmc4_irq.c @@ -181,7 +181,7 @@ static int xmc4_nmi(int irq, FAR void *context, FAR void *arg) static int xmc4_busfault(int irq, FAR void *context, FAR void *arg) { (void)up_irq_save(); - _err("PANIC!!! Bus fault recived\n"); + _err("PANIC!!! Bus fault received\n"); PANIC(); return 0; } diff --git a/arch/arm/src/xmc4/xmc4_serial.c b/arch/arm/src/xmc4/xmc4_serial.c index c74d661f1f..ecdb72b4ca 100644 --- a/arch/arm/src/xmc4/xmc4_serial.c +++ b/arch/arm/src/xmc4/xmc4_serial.c @@ -792,7 +792,7 @@ static int xmc4_interrupt(int irq, void *context, FAR void *arg) #ifdef CONFIG_DEBUG_FEATURES /* Check for error conditions */ -#warning Misssing logic +#warning Missing logic #endif } diff --git a/arch/mips/src/mips32/Kconfig b/arch/mips/src/mips32/Kconfig index b4d0de7927..df5480465e 100644 --- a/arch/mips/src/mips32/Kconfig +++ b/arch/mips/src/mips32/Kconfig @@ -73,7 +73,7 @@ config MIPS32_TOOLCHAIN_MICROCHIP_XC32_LICENSED The free, unlicensed XC32 compiler will not support either optimization or the microMIPs ISA. If you are using a licensed, XC32 compiler then select this option so that the build system will - suppport higher levels of optimization. + support higher levels of optimization. config MIPS32_FRAMEPOINTER bool "ABI Uses Frame Pointer" diff --git a/arch/mips/src/pic32mx/pic32mx-spi.c b/arch/mips/src/pic32mx/pic32mx-spi.c index fb5c4cd712..9dfdd1d1e5 100644 --- a/arch/mips/src/pic32mx/pic32mx-spi.c +++ b/arch/mips/src/pic32mx/pic32mx-spi.c @@ -889,7 +889,7 @@ FAR struct spi_dev_s *pic32mx_spibus_initialize(int port) else #endif { - spierr("ERROR: Unsuppport port: %d\n", port); + spierr("ERROR: Unsupported port: %d\n", port); return NULL; } diff --git a/arch/mips/src/pic32mz/pic32mz-spi.c b/arch/mips/src/pic32mz/pic32mz-spi.c index a4a8cb5690..755a7dcca0 100644 --- a/arch/mips/src/pic32mz/pic32mz-spi.c +++ b/arch/mips/src/pic32mz/pic32mz-spi.c @@ -1291,7 +1291,7 @@ FAR struct spi_dev_s *pic32mz_spibus_initialize(int port) else #endif { - spierr("ERROR: Unsuppport port: %d\n", port); + spierr("ERROR: Unsupported port: %d\n", port); return NULL; } diff --git a/arch/x86/src/qemu/qemu_serial.c b/arch/x86/src/qemu/qemu_serial.c index 8419c67d94..5ce6d31980 100644 --- a/arch/x86/src/qemu/qemu_serial.c +++ b/arch/x86/src/qemu/qemu_serial.c @@ -46,25 +46,13 @@ #include "up_internal.h" -/* This is a "stub" file to suppport up_putc if no real serial driver is +/* This is a "stub" file to support up_putc if no real serial driver is * configured. Normally, drivers/serial/uart_16550.c provides the serial * driver for this platform. */ #ifdef USE_SERIALDRIVER -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/ @@ -74,7 +62,7 @@ * * Description: * These functions must be provided by the processor-specific code in order - * to correctly access 16550 registers + * to correctly access 16550 registers. * ****************************************************************************/ diff --git a/binfmt/binfmt_execmodule.c b/binfmt/binfmt_execmodule.c index 05be909f04..2db8bf70cf 100644 --- a/binfmt/binfmt_execmodule.c +++ b/binfmt/binfmt_execmodule.c @@ -65,7 +65,7 @@ */ #if defined(CONFIG_BINFMT_CONSTRUCTORS) && !defined(CONFIG_SCHED_STARTHOOK) -# errror "CONFIG_SCHED_STARTHOOK must be defined to use constructors" +# error "CONFIG_SCHED_STARTHOOK must be defined to use constructors" #endif /**************************************************************************** diff --git a/boards/arm/imxrt/imxrt1050-evk/src/imxrt_flexspi_nor_flash.h b/boards/arm/imxrt/imxrt1050-evk/src/imxrt_flexspi_nor_flash.h index 4e171f30e0..1941c29a56 100644 --- a/boards/arm/imxrt/imxrt1050-evk/src/imxrt_flexspi_nor_flash.h +++ b/boards/arm/imxrt/imxrt1050-evk/src/imxrt_flexspi_nor_flash.h @@ -349,7 +349,7 @@ struct flexspi_nor_config_s uint8_t serial_nor_type; /* Serial NOR Flash type: 0/1/2/3 */ uint8_t need_exit_nocmdmode; /* Need to exit NoCmd mode before other IP command */ uint8_t halfclk_for_nonreadcmd; /* Half the Serial Clock for non-read command: true/false */ - uint8_t need_restore_nocmdmode; /* Need to Restore NoCmd mode after IP commmand execution */ + uint8_t need_restore_nocmdmode; /* Need to Restore NoCmd mode after IP command execution */ uint32_t blocksize; /* Block size */ uint32_t reserve2[11]; /* Reserved for future use */ }; diff --git a/boards/arm/imxrt/imxrt1060-evk/src/imxrt_flexspi_nor_flash.h b/boards/arm/imxrt/imxrt1060-evk/src/imxrt_flexspi_nor_flash.h index 400b06db60..1534f2face 100644 --- a/boards/arm/imxrt/imxrt1060-evk/src/imxrt_flexspi_nor_flash.h +++ b/boards/arm/imxrt/imxrt1060-evk/src/imxrt_flexspi_nor_flash.h @@ -353,7 +353,7 @@ struct flexspi_nor_config_s uint8_t serial_nor_type; /* Serial NOR Flash type: 0/1/2/3 */ uint8_t need_exit_nocmdmode; /* Need to exit NoCmd mode before other IP command */ uint8_t halfclk_for_nonreadcmd; /* Half the Serial Clock for non-read command: true/false */ - uint8_t need_restore_nocmdmode; /* Need to Restore NoCmd mode after IP commmand execution */ + uint8_t need_restore_nocmdmode; /* Need to Restore NoCmd mode after IP command execution */ uint32_t blocksize; /* Block size */ uint32_t reserve2[11]; /* Reserved for future use */ }; diff --git a/boards/arm/samv7/samv71-xult/src/atmxt-xpro.h b/boards/arm/samv7/samv71-xult/src/atmxt-xpro.h index eb265fdcf8..85fd7e4f1f 100644 --- a/boards/arm/samv7/samv71-xult/src/atmxt-xpro.h +++ b/boards/arm/samv7/samv71-xult/src/atmxt-xpro.h @@ -52,7 +52,7 @@ #define HAVE_MAXTOUCH 1 #define HAVE_ILI9488_SMC 1 -#undef HAVE_ILI9488_SPI /* Not yet suppported */ +#undef HAVE_ILI9488_SPI /* Not yet supported */ /* maXTouch and LCD only available if the maXTouch Xplained Pro is * connected diff --git a/boards/arm/stm32/fire-stm32v2/include/board.h b/boards/arm/stm32/fire-stm32v2/include/board.h index 54670fd4f8..59ccb37e51 100644 --- a/boards/arm/stm32/fire-stm32v2/include/board.h +++ b/boards/arm/stm32/fire-stm32v2/include/board.h @@ -278,11 +278,11 @@ */ #if defined(CONFIG_STM32_USART1) && defined(CONFIG_STM32_USART1_REMAP) -# errror "USART1 requires CONFIG_STM32_USART1_REMAP=n" +# error "USART1 requires CONFIG_STM32_USART1_REMAP=n" #endif #if defined(CONFIG_STM32_USART2) && defined(CONFIG_STM32_USART2_REMAP) -# errror "USART2 requires CONFIG_STM32_USART2_REMAP=n" +# error "USART2 requires CONFIG_STM32_USART2_REMAP=n" #endif /* 2MBit SPI FLASH diff --git a/boards/arm/stm32/stm3220g-eval/README.txt b/boards/arm/stm32/stm3220g-eval/README.txt index c87222ca51..a7f0a9e004 100644 --- a/boards/arm/stm32/stm3220g-eval/README.txt +++ b/boards/arm/stm32/stm3220g-eval/README.txt @@ -696,7 +696,7 @@ Where is one of the following: defconfig (nuttx/.config): CONFIG_STM32_FSMC=y : FSMC support is required for the LCD - CONFIG_NX=y : Enable graphics suppport + CONFIG_NX=y : Enable graphics support CONFIG_MM_REGIONS=2 : When FSMC is enabled, so is the on-board SRAM memory region 10. USB OTG FS Device or Host Support diff --git a/boards/arm/stm32/stm3240g-eval/README.txt b/boards/arm/stm32/stm3240g-eval/README.txt index 998744c763..9ab1f6f56b 100644 --- a/boards/arm/stm32/stm3240g-eval/README.txt +++ b/boards/arm/stm32/stm3240g-eval/README.txt @@ -1002,7 +1002,7 @@ Where is one of the following: CONFIG_EXAMPLES_nxlines : CONFIG_STM32_FSMC=y : FSMC support is required for the LCD - CONFIG_NX=y : Enable graphics suppport + CONFIG_NX=y : Enable graphics support CONFIG_MM_REGIONS=3 : When FSMC is enabled, so is the on-board SRAM memory region 10. USB OTG FS Device or Host Support diff --git a/boards/hc/mcs92s12ne64/demo9s12ne64/README.txt b/boards/hc/mcs92s12ne64/demo9s12ne64/README.txt index f365801584..24f20933cb 100644 --- a/boards/hc/mcs92s12ne64/demo9s12ne64/README.txt +++ b/boards/hc/mcs92s12ne64/demo9s12ne64/README.txt @@ -197,7 +197,7 @@ FreeScale HCS12 Serial Monitor 115,200 baud. The monitor must have exclusive use of this interface. Access to the serial port is available through a monitor jump table. - Interrrupts: + Interrupts: The serial monitor redirects interrupt vectors to an unprotected portion of FLASH just before the protected monitor program (0xf780–0xf7fe). The monitor will automatically redirect vector diff --git a/boards/hc/mcs92s12ne64/ne64badge/README.txt b/boards/hc/mcs92s12ne64/ne64badge/README.txt index 567f1a197c..79ebe693fd 100644 --- a/boards/hc/mcs92s12ne64/ne64badge/README.txt +++ b/boards/hc/mcs92s12ne64/ne64badge/README.txt @@ -304,7 +304,7 @@ FreeScale HCS12 Serial Monitor 115,200 baud. The monitor must have exclusive use of this interface. Access to the serial port is available through a monitor jump table. - Interrrupts: + Interrupts: The serial monitor redirects interrupt vectors to an unprotected portion of FLASH just before the protected monitor program (0xf780–0xf7fe). The monitor will automatically redirect vector diff --git a/boards/mips/pic32mx/pic32mx7mmb/README.txt b/boards/mips/pic32mx/pic32mx7mmb/README.txt index 879feb0754..24e98022c9 100644 --- a/boards/mips/pic32mx/pic32mx7mmb/README.txt +++ b/boards/mips/pic32mx/pic32mx7mmb/README.txt @@ -767,7 +767,7 @@ Where is one of the following: LCD support is already enabled in defconfig (nuttx/.config): - CONFIG_NX=y : Enable graphics suppport + CONFIG_NX=y : Enable graphics support CONFIG_PIC32MX_PMP=y : Enable parallel port support CONFIG_LCD_MIO283QT2=y : MIO283QT2 LCD support diff --git a/boards/sim/sim/sim/src/sim_zoneinfo.c b/boards/sim/sim/sim/src/sim_zoneinfo.c index bbc9480c8b..5e38b6c6ba 100644 --- a/boards/sim/sim/sim/src/sim_zoneinfo.c +++ b/boards/sim/sim/sim/src/sim_zoneinfo.c @@ -54,7 +54,7 @@ ****************************************************************************/ #ifndef CONFIG_LIBC_TZDIR -# errror CONFIG_LIBC_TZDIR is not defined +# error CONFIG_LIBC_TZDIR is not defined #endif #ifdef CONFIG_DISABLE_MOUNTPOINT diff --git a/boards/xtensa/esp32/esp32-core/scripts/esp32_flash.ld b/boards/xtensa/esp32/esp32-core/scripts/esp32_flash.ld index 4c0d82885e..3cc70c124d 100644 --- a/boards/xtensa/esp32/esp32-core/scripts/esp32_flash.ld +++ b/boards/xtensa/esp32/esp32-core/scripts/esp32_flash.ld @@ -50,7 +50,7 @@ SECTIONS .iram0.text : { - /* Code marked as runnning out of IRAM */ + /* Code marked as running out of IRAM */ _iram_text_start = ABSOLUTE(.); *(.iram1 .iram1.*) diff --git a/boards/xtensa/esp32/esp32-core/scripts/esp32_iram.ld b/boards/xtensa/esp32/esp32-core/scripts/esp32_iram.ld index 2932dba79d..61b6fa6d8c 100644 --- a/boards/xtensa/esp32/esp32-core/scripts/esp32_iram.ld +++ b/boards/xtensa/esp32/esp32-core/scripts/esp32_iram.ld @@ -50,7 +50,7 @@ SECTIONS .iram0.text : { - /* Code marked as runnning out of IRAM */ + /* Code marked as running out of IRAM */ _iram_text_start = ABSOLUTE(.); *(.iram1 .iram1.*) diff --git a/drivers/audio/wm8904.c b/drivers/audio/wm8904.c index 536548b61e..a087ee039b 100644 --- a/drivers/audio/wm8904.c +++ b/drivers/audio/wm8904.c @@ -669,7 +669,7 @@ static void wm8904_setbitrate(FAR struct wm8904_dev_s *priv) /* First calculate the desired bitrate (fout). This is based on * * 1. The I2S frame length (in bits) - * 2. The number of frames per second = nchannnels * samplerate + * 2. The number of frames per second = nchannels * samplerate */ framelen = (priv->bpsamp == 8) ? WM8904_FRAMELEN8 : WM8904_FRAMELEN16; diff --git a/drivers/net/lan91c111.h b/drivers/net/lan91c111.h index 59d17b6907..b0775a76aa 100644 --- a/drivers/net/lan91c111.h +++ b/drivers/net/lan91c111.h @@ -272,7 +272,7 @@ #define IM_RX_OVRN_INT 0x10 /* Set by Receiver Overruns */ #define IM_ALLOC_INT 0x08 /* Set when allocation request is completed */ #define IM_TX_EMPTY_INT 0x04 /* Set if the TX FIFO goes empty */ -#define IM_TX_INT 0x02 /* Transmit Interrrupt */ +#define IM_TX_INT 0x02 /* Transmit Interrupt */ #define IM_RCV_INT 0x01 /* Receive Interrupt */ /* Multicast Table Registers */ diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index 40a1adce54..6bc33907c1 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -497,7 +497,7 @@ source drivers/serial/Kconfig-usart source drivers/serial/Kconfig-sci menuconfig PSEUDOTERM - bool "Pseudo-Terminal (PTY) suppport" + bool "Pseudo-Terminal (PTY) support" default n select PIPES select ARCH_HAVE_SERIAL_TERMIOS diff --git a/drivers/video/max7456.c b/drivers/video/max7456.c index 7609223f78..2a5f2afd61 100644 --- a/drivers/video/max7456.c +++ b/drivers/video/max7456.c @@ -66,7 +66,7 @@ * * OSD insertion is ultimately an analog process, and a few of the chip's * control registers are provided to adjust the OSD multiplexer's rise and - * fall times. This is necesssary to strike the user's preferred balance + * fall times. This is necessary to strike the user's preferred balance * between overlay sharpness and certain, undesirable display artifacts. The * defaults are probably good enough to start with, though. * diff --git a/fs/inode/fs_foreachinode.c b/fs/inode/fs_foreachinode.c index 9af70dfbf3..3324bdfa77 100644 --- a/fs/inode/fs_foreachinode.c +++ b/fs/inode/fs_foreachinode.c @@ -102,8 +102,8 @@ static int foreach_inodelevel(FAR struct inode *node, struct inode_path_s *info) ret = info->handler(node, info->path, info->arg); - /* Break out of the looop early if the handler returns a non-zero - * value + /* Break out of the loop early if the handler returns a non-zero + * value. */ if (ret != 0) diff --git a/fs/nfs/rpc_clnt.c b/fs/nfs/rpc_clnt.c index 800c85c1be..ff7b7a0716 100644 --- a/fs/nfs/rpc_clnt.c +++ b/fs/nfs/rpc_clnt.c @@ -716,7 +716,7 @@ int rpcclnt_request(FAR struct rpcclnt *rpc, int procnum, int prog, reqlen += sizeof(struct rpc_call_header); - /* Send the RPC call messsages and receive the RPC response. A limited + /* Send the RPC call messages and receive the RPC response. A limited * number of re-tries will be attempted, but only for the case of response * timeouts. */ diff --git a/fs/romfs/fs_romfsutil.c b/fs/romfs/fs_romfsutil.c index 86598b6c48..e8e8511a2d 100644 --- a/fs/romfs/fs_romfsutil.c +++ b/fs/romfs/fs_romfsutil.c @@ -843,7 +843,7 @@ int romfs_parsedirentry(struct romfs_mountpt_s *rm, uint32_t offset, save = romfs_devread32(rm, ndx + ROMFS_FHDR_NEXT); - /* Traverse hardlinks as necesssary to get to the real file header */ + /* Traverse hardlinks as necessary to get to the real file header */ ret = romfs_followhardlinks(rm, offset, poffset); if (ret < 0) @@ -946,7 +946,7 @@ int romfs_datastart(struct romfs_mountpt_s *rm, uint32_t offset, int16_t ndx; int ret; - /* Traverse hardlinks as necesssary to get to the real file header */ + /* Traverse hardlinks as necessary to get to the real file header */ ret = romfs_followhardlinks(rm, offset, &offset); if (ret < 0) diff --git a/fs/userfs/fs_userfs.c b/fs/userfs/fs_userfs.c index d76f1c93d4..6ed4e4f6ca 100644 --- a/fs/userfs/fs_userfs.c +++ b/fs/userfs/fs_userfs.c @@ -1293,7 +1293,7 @@ static int userfs_rewinddir(FAR struct inode *mountpt, if (nrecvd != sizeof(struct userfs_rewinddir_response_s)) { - ferr("ERROR: Response size incorrrect: %u\n", (unsigned int)nrecvd); + ferr("ERROR: Response size incorrect: %u\n", (unsigned int)nrecvd); return -EIO; } diff --git a/fs/vfs/fs_stat.c b/fs/vfs/fs_stat.c index 869f7ceec0..3d88f3d158 100644 --- a/fs/vfs/fs_stat.c +++ b/fs/vfs/fs_stat.c @@ -316,10 +316,10 @@ int inode_stat(FAR struct inode *inode, FAR struct stat *buf) { int ret; - /* Increment the link counter. This is necesssary to avoid + /* Increment the link counter. This is necessary to avoid * infinite recursion if loops are encountered in the traversal. * If we encounter more SYMLOOP_MAX symbolic links at any time - * during the travrsal, error out. + * during the traversal, error out. * * NOTE: That inode_search() will automatically skip over * consecutive, intermediate symbolic links. Those numbers will diff --git a/graphics/nxmu/nxmu_server.c b/graphics/nxmu/nxmu_server.c index 5098527772..bd980f7819 100644 --- a/graphics/nxmu/nxmu_server.c +++ b/graphics/nxmu/nxmu_server.c @@ -362,7 +362,7 @@ int nx_runinstance(FAR const char *mqname, FAR NX_DRIVERTYPE *dev) } break; - case NX_SVRMSG_BLOCKED: /* Block messsages to a window */ + case NX_SVRMSG_BLOCKED: /* Block messages to a window */ { FAR struct nxsvrmsg_blocked_s *blocked = (FAR struct nxsvrmsg_blocked_s *)buffer; nxmu_event(blocked->wnd, NXEVENT_BLOCKED, blocked->arg); diff --git a/include/nuttx/net/icmp.h b/include/nuttx/net/icmp.h index 914ab1900e..9ba90bfefc 100644 --- a/include/nuttx/net/icmp.h +++ b/include/nuttx/net/icmp.h @@ -104,7 +104,7 @@ struct icmp_hdr_s /* ICMP header */ uint8_t type; /* Defines the format of the ICMP message */ - uint8_t icode; /* Further qualifies the ICMP messsage */ + uint8_t icode; /* Further qualifies the ICMP message */ uint16_t icmpchksum; /* Checksum of ICMP header and data */ /* All ICMP packets have an 8-byte header and variable-sized data section. diff --git a/include/nuttx/net/udp.h b/include/nuttx/net/udp.h index 6d73cdae10..41a2523504 100644 --- a/include/nuttx/net/udp.h +++ b/include/nuttx/net/udp.h @@ -94,7 +94,7 @@ struct udp_hdr_s struct udp_stats_s { net_stats_t drop; /* Number of dropped UDP segments */ - net_stats_t recv; /* Number of recived UDP segments */ + net_stats_t recv; /* Number of received UDP segments */ net_stats_t sent; /* Number of sent UDP segments */ net_stats_t chkerr; /* Number of UDP segments with a bad checksum */ }; diff --git a/include/nuttx/nx/nxmu.h b/include/nuttx/nx/nxmu.h index 9f6d5f3459..21cb1607a2 100644 --- a/include/nuttx/nx/nxmu.h +++ b/include/nuttx/nx/nxmu.h @@ -275,7 +275,7 @@ struct nxsvrmsg_closewindow_s FAR struct nxbe_window_s *wnd; /* The window to be closed */ }; -/* This messsage is just a marker that is queued and forwarded by the server +/* This message is just a marker that is queued and forwarded by the server * (NX_CLIMSG_BLOCKED). Messages to the window were blocked just after this * message was sent. Receipt of this message indicates both that the window * blocked and that there are no further queued messages for the window. diff --git a/include/nuttx/scsi.h b/include/nuttx/scsi.h index 9625998357..e10c7d9887 100644 --- a/include/nuttx/scsi.h +++ b/include/nuttx/scsi.h @@ -493,9 +493,9 @@ #define SCSIRESP_SENSEDATA_NOSENSE 0x00 /* Nothing to be reported */ #define SCSIRESP_SENSEDATA_RECOVEREDERROR 0x01 /* Successful after recovery action */ #define SCSIRESP_SENSEDATA_NOTREADY 0x02 /* Logical unit is not accessible */ -#define SCSIRESP_SENSEDATA_MEDIUMERROR 0x03 /* Error posssibly caused by flaw in medium */ +#define SCSIRESP_SENSEDATA_MEDIUMERROR 0x03 /* Error possibly caused by flaw in medium */ #define SCSIRESP_SENSEDATA_HARDWAREERROR 0x04 /* Non-recoverable hardware error */ -#define SCSIRESP_SENSEDATA_ILLEGALREQUEST 0x05 /* Error in recived request */ +#define SCSIRESP_SENSEDATA_ILLEGALREQUEST 0x05 /* Error in received request */ #define SCSIRESP_SENSEDATA_UNITATTENTION 0x06 /* Unit attention condition */ #define SCSIRESP_SENSEDATA_DATAPROTECT 0x07 /* Action failed, medium protected */ #define SCSIRESP_SENSEDATA_BLANKCHECK 0x08 /* Encountered blank media */ diff --git a/include/nuttx/sensors/lis3dsh.h b/include/nuttx/sensors/lis3dsh.h index c059bb9433..48b20c7460 100644 --- a/include/nuttx/sensors/lis3dsh.h +++ b/include/nuttx/sensors/lis3dsh.h @@ -193,7 +193,7 @@ #define LIS3DSH_CTRL_REG_6_ADD_INC_bm (1<<4) /* Register address automatically incremented during a multiple byte access with a serial interface */ #define LIS3DSH_CTRL_REG_6_P1_EMPTY_bm (1<<3) /* Enable FIFO empty indication on Int1 */ #define LIS3DSH_CTRL_REG_6_P1_WTM_bm (1<<2) /* FIFO watermark interrupt Int1 */ -#define LIS3DSH_CTRL_REG_6_P1_OVERRUN_bm (1<<1) /* FIFO overrrun interrupt on Int1 */ +#define LIS3DSH_CTRL_REG_6_P1_OVERRUN_bm (1<<1) /* FIFO overrun interrupt on Int1 */ #define LIS3DSH_CTRL_REG_6_P2_BOOT_bm (1<<0) /* BOOT interrupt on Int2 */ /* SPI BUS PARAMETERS *******************************************************/ diff --git a/include/nuttx/usb/audio.h b/include/nuttx/usb/audio.h index b7438b1a31..ec3a68b7e1 100644 --- a/include/nuttx/usb/audio.h +++ b/include/nuttx/usb/audio.h @@ -763,7 +763,7 @@ struct adc_outterm_desc_s uint8_t ot_termid; /* 3: Identifies terminal in audio function */ uint8_t ot_termtype[2]; /* 4: Terminal type */ uint8_t ot_interm; /* 6: ID of the associated input terminal */ - uint8_t ot_srcid; /* 7: ID of unit/terminal to which terminal is connnected */ + uint8_t ot_srcid; /* 7: ID of unit/terminal to which terminal is connected */ uint8_t ot_csrcid; /* 8: ID of clock entity to whcih terminal is connected */ uint8_t ot_controls[2]; /* 9: Bits 0-1: Copy protect control, * Bits 2-3: Connector control diff --git a/include/nuttx/usb/ohci.h b/include/nuttx/usb/ohci.h index e0d4caafa7..fbac33355c 100644 --- a/include/nuttx/usb/ohci.h +++ b/include/nuttx/usb/ohci.h @@ -348,7 +348,7 @@ /* Host Controller Communications Area Format (4.4.1) ***********************/ -/* HccaInterrruptTable: 32x32-bit pointers to interrupt EDs */ +/* HccaInterruptTable: 32x32-bit pointers to interrupt EDs */ #define HCCA_INTTBL_OFFSET (0x00) #define HCCA_INTTBL_WSIZE (32) @@ -422,7 +422,7 @@ struct ohci_itd_s struct ohci_hcca_s { - /* HccaInterrruptTable: 32x32-bit pointers to interrupt EDs */ + /* HccaInterruptTable: 32x32-bit pointers to interrupt EDs */ volatile uint32_t inttbl[HCCA_INTTBL_WSIZE]; diff --git a/libs/libc/misc/lib_ncompress.c b/libs/libc/misc/lib_ncompress.c index 752bf3f94e..95e7a587ea 100644 --- a/libs/libc/misc/lib_ncompress.c +++ b/libs/libc/misc/lib_ncompress.c @@ -97,11 +97,11 @@ /* Defines for third byte of header */ #define MAGIC_1 (char_type)'\037' /* First byte of compressed file */ #define MAGIC_2 (char_type)'\235' /* Second byte of compressed file */ -#define BIT_MASK 0x1f /* Mask for 'number of compresssion bits' */ +#define BIT_MASK 0x1f /* Mask for 'number of compression bits' */ /* Masks 0x20 and 0x40 are free. */ /* I think 0x20 should mean that there is */ /* a fourth header byte (for expansion). */ -#define BLOCK_MODE 0x80 /* Block compresssion if table is full and */ +#define BLOCK_MODE 0x80 /* Block compression if table is full and */ /* compression rate is dropping flush tables */ /* the next two codes should not be changed lightly, as they must not */ diff --git a/libs/libc/stdio/lib_ferror.c b/libs/libc/stdio/lib_ferror.c index dcc21c088a..16d9f8f16f 100644 --- a/libs/libc/stdio/lib_ferror.c +++ b/libs/libc/stdio/lib_ferror.c @@ -54,8 +54,8 @@ * Name: ferror * * Description: - * This function will test if the last operation resulted in an eror. This - * is used to disambiguate EOF and error conditions. + * This function will test if the last operation resulted in an error. + * This is used to disambiguate EOF and error conditions. * * Returned Value: * A non-zero value is returned to indicate the error condition. diff --git a/libs/libc/string/Kconfig b/libs/libc/string/Kconfig index 3d8f967a4a..ed67d89f35 100644 --- a/libs/libc/string/Kconfig +++ b/libs/libc/string/Kconfig @@ -68,7 +68,7 @@ config MEMCPY_64BIT bool "64-bit memcpy()" default n ---help--- - Compiles memcpy() for architectures that suppport 64-bit operations + Compiles memcpy() for architectures that support 64-bit operations efficiently. endif # MEMCPY_VIK @@ -86,7 +86,7 @@ config MEMSET_64BIT default n depends on MEMSET_OPTSPEED ---help--- - Compiles memset() for architectures that suppport 64-bit operations + Compiles memset() for architectures that support 64-bit operations efficiently. endmenu # memcpy/memset Options diff --git a/libs/libc/zoneinfo/README.txt b/libs/libc/zoneinfo/README.txt index d3fc179ba3..7e0d547928 100644 --- a/libs/libc/zoneinfo/README.txt +++ b/libs/libc/zoneinfo/README.txt @@ -120,7 +120,7 @@ Sample Code to Mount the ROMFS Filesystem ****************************************************************************/ #ifndef CONFIG_LIBC_TZDIR -# errror CONFIG_LIBC_TZDIR is not defined +# error CONFIG_LIBC_TZDIR is not defined #endif #ifdef CONFIG_DISABLE_MOUNTPOINT diff --git a/libs/libdsp/lib_motor.c b/libs/libdsp/lib_motor.c index 21c835da82..c0a4dbf2df 100644 --- a/libs/libdsp/lib_motor.c +++ b/libs/libdsp/lib_motor.c @@ -60,7 +60,7 @@ * Initialize open-loop data * * Input Parameters: - * op - (in/out) pointer to the openlooop data structure + * op - (in/out) pointer to the openloop data structure * max - (in) maximum openloop speed * per - (in) period of the open-loop control * @@ -126,7 +126,7 @@ void motor_openloop(FAR struct openloop_data_s *op, float speed, float dir) op->angle += phase_step; - /* Normalize the open-looop angle to 0.0 - 2PI range */ + /* Normalize the open-loop angle to 0.0 - 2PI range */ angle_norm_2pi(&op->angle, MOTOR_ANGLE_E_MIN, MOTOR_ANGLE_E_MAX); } diff --git a/libs/libdsp/lib_observer.c b/libs/libdsp/lib_observer.c index b459c54d8e..434d0a25f3 100644 --- a/libs/libdsp/lib_observer.c +++ b/libs/libdsp/lib_observer.c @@ -287,7 +287,7 @@ void motor_observer_smo(FAR struct motor_observer_s *o, FAR ab_frame_t *i_ab, i_est->a = smo->F_gain * i_est->a + smo->G_gain * (v_err->a - z->a); i_est->b = smo->F_gain * i_est->b + smo->G_gain * (v_err->b - z->b); - /* Get motor current errror */ + /* Get motor current error */ i_err->a = i_ab->a - i_est->a; i_err->b = i_ab->b - i_est->b; diff --git a/libs/libxx/Kconfig b/libs/libxx/Kconfig index c57b040490..565098bb26 100644 --- a/libs/libxx/Kconfig +++ b/libs/libxx/Kconfig @@ -51,7 +51,7 @@ config LIBCXX if LIBCXX config LIBCXX_EXCEPTION - bool "Enable Exception Suppport" + bool "Enable Exception Support" default y select CXX_EXCEPTION @@ -78,7 +78,7 @@ config UCLIBCXX if UCLIBCXX config UCLIBCXX_EXCEPTION - bool "Enable Exception Suppport" + bool "Enable Exception Support" default y select CXX_EXCEPTION diff --git a/net/local/local_connect.c b/net/local/local_connect.c index e452f9b6f6..7d54f0bafa 100644 --- a/net/local/local_connect.c +++ b/net/local/local_connect.c @@ -1,5 +1,5 @@ /**************************************************************************** - * net/local/local_connnect.c + * net/local/local_connect.c * * Copyright (C) 2015-2017 Gregory Nutt. All rights reserved. * Author: Gregory Nutt diff --git a/net/sixlowpan/README.txt b/net/sixlowpan/README.txt index 6fc0d0d639..021ed865e6 100644 --- a/net/sixlowpan/README.txt +++ b/net/sixlowpan/README.txt @@ -163,7 +163,7 @@ created with the following settings in the configuration file: The CONFIG_NET_STARPOINT selection informs the endpoint 6LoWPAN stack that it must send all frames to the hub of the star, rather than directly to the -recipient. The star hub is assumed to be the cooordinator. +recipient. The star hub is assumed to be the coordinator. The star hub configuration, on the other hand, uses these setting: diff --git a/net/sixlowpan/sixlowpan_framelist.c b/net/sixlowpan/sixlowpan_framelist.c index 07670c89a2..c1911c1098 100644 --- a/net/sixlowpan/sixlowpan_framelist.c +++ b/net/sixlowpan/sixlowpan_framelist.c @@ -139,7 +139,7 @@ static int sixlowpan_compress_ipv6hdr(FAR const struct ipv6_hdr_s *ipv6hdr, * Name: sixlowpan_protosize * * Description: - * Get the size of any uncompresssed protocol header that follows the + * Get the size of any uncompressed protocol header that follows the * IPv6 header. * ****************************************************************************/ diff --git a/net/sixlowpan/sixlowpan_hc1.c b/net/sixlowpan/sixlowpan_hc1.c index 1ca20b1881..f8bd34475d 100644 --- a/net/sixlowpan/sixlowpan_hc1.c +++ b/net/sixlowpan/sixlowpan_hc1.c @@ -167,7 +167,7 @@ int sixlowpan_compresshdr_hc1(FAR struct radio_driver_s *radio, } else { - /* HC1 DISPATCH maximum compresssion: + /* HC1 DISPATCH maximum compression: * All fields in the IP header but Hop Limit are elided. If next * header is UDP, we compress UDP header using HC2 */ diff --git a/net/sixlowpan/sixlowpan_internal.h b/net/sixlowpan/sixlowpan_internal.h index 7e85304563..d97b4707ce 100644 --- a/net/sixlowpan/sixlowpan_internal.h +++ b/net/sixlowpan/sixlowpan_internal.h @@ -594,7 +594,7 @@ int sixlowpan_nexthopaddr(FAR struct radio_driver_s *radio, * * In the case there the IEEE 802.15.4 node functions as an endpoint in a * start topology, the destination address will, instead, be the address - * of the star hub (which is assumed to be the address of the cooordinator). + * of the star hub (which is assumed to be the address of the coordinator). * * sixlowpan_ipfrom[s|e]addr(): Create a link-local, MAC-based IPv6 * address from an IEEE802.15.4 short address (saddr) or extended address diff --git a/net/sixlowpan/sixlowpan_utils.c b/net/sixlowpan/sixlowpan_utils.c index 9a13474e9d..42538bf72e 100644 --- a/net/sixlowpan/sixlowpan_utils.c +++ b/net/sixlowpan/sixlowpan_utils.c @@ -240,7 +240,7 @@ int sixlowpan_nexthopaddr(FAR struct radio_driver_s *radio, * * In the case there the IEEE 802.15.4 node functions as an endpoint in a * start topology, the destination address will, instead, be the address - * of the star hub (which is assumed to be the address of the cooordinator). + * of the star hub (which is assumed to be the address of the coordinator). * ****************************************************************************/ diff --git a/sched/Kconfig b/sched/Kconfig index 430f62316f..bd884f8208 100644 --- a/sched/Kconfig +++ b/sched/Kconfig @@ -255,7 +255,7 @@ config SPINLOCK default n depends on ARCH_HAVE_TESTSET ---help--- - Enables suppport for spinlocks. Spinlocks are used primarily for + Enables support for spinlocks. Spinlocks are used primarily for synchronization in SMP configurations but are available for general synchronization between CPUs. Use in a single CPU configuration would most likely be fatal. Note, however, that this does not depend on @@ -267,7 +267,7 @@ config SPINLOCK_IRQ default n depends on ARCH_GLOBAL_IRQDISABLE ---help--- - Enables suppport for spinlocks with IRQ control. This feature can be + Enables support for spinlocks with IRQ control. This feature can be used to protect data in SMP mode. config IRQCHAIN