forked from nuttx/nuttx-update
Fix use of undefined pp-token #errror, other typos.
This commit is contained in:
parent
c6689b3093
commit
e8b5dd4528
99 changed files with 136 additions and 172 deletions
|
@ -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).
|
||||
|
|
|
@ -3058,7 +3058,7 @@ nsh>
|
|||
</ul>
|
||||
<p>
|
||||
<b>STATUS</b>.
|
||||
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.
|
||||
</p>
|
||||
<p>
|
||||
Refer to the Olimex EFM32G880F120-STK <a href="https://bitbucket.org/nuttx/nuttx/src/master/boards/arm/efm32/olimex-efm32g880f129-stk/README.txt" target="_blank"><i>README.txt</i></a> for further information.
|
||||
|
|
|
@ -7163,7 +7163,7 @@ interface of the same name.
|
|||
<ul>
|
||||
<li><code>attr</code>. The mutex attributes to query</li>
|
||||
<li><code>type</code>. Location to return the mutex type. See
|
||||
<a href="#pthreadmutexattrsettype"><code>pthread_mutexattr_setttyp()</code></a>
|
||||
<a href="#pthreadmutexattrsettype"><code>pthread_mutexattr_settype()</code></a>
|
||||
for a description of possible mutex types that may be returned.</li>
|
||||
</ul>
|
||||
<p>
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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 ***
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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)
|
||||
*/
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
/************************************************************************************
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
||||
/************************************************************************************
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
/************************************************************************************
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -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 */
|
||||
};
|
||||
|
|
|
@ -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 */
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -696,7 +696,7 @@ Where <subdir> 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
|
||||
|
|
|
@ -1002,7 +1002,7 @@ Where <subdir> 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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -767,7 +767,7 @@ Where <subdir> 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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.*)
|
||||
|
|
|
@ -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.*)
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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 */
|
||||
};
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 *******************************************************/
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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];
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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 <gnutt@nuttx.org>
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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).
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue