mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
Fix use of undefined pp-token #errror, other typos.
This commit is contained in:
committed by
Gregory Nutt
parent
c6689b3093
commit
e8b5dd4528
@@ -19311,7 +19311,7 @@
|
|||||||
* include/sys: Add resource.h From Gregory Nutt (2018-05-13).
|
* include/sys: Add resource.h From Gregory Nutt (2018-05-13).
|
||||||
* rgbled: Fixes led issues caused by uninitialized memory with
|
* rgbled: Fixes led issues caused by uninitialized memory with
|
||||||
CONFIG_RGBLED_MULTICHAN. The uninitialized pwm_info_s struct caused a
|
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).
|
Merlino (2018-05-14).
|
||||||
* arch/arm/src/imxrt/chip: Add pin multiplexing header files. From Gregory
|
* arch/arm/src/imxrt/chip: Add pin multiplexing header files. From Gregory
|
||||||
Nutt (2018-05-14).
|
Nutt (2018-05-14).
|
||||||
|
|||||||
@@ -3058,7 +3058,7 @@ nsh>
|
|||||||
</ul>
|
</ul>
|
||||||
<p>
|
<p>
|
||||||
<b>STATUS</b>.
|
<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>
|
||||||
<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.
|
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>
|
<ul>
|
||||||
<li><code>attr</code>. The mutex attributes to query</li>
|
<li><code>attr</code>. The mutex attributes to query</li>
|
||||||
<li><code>type</code>. Location to return the mutex type. See
|
<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>
|
for a description of possible mutex types that may be returned.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
+3
-3
@@ -2646,7 +2646,7 @@ New features and extended functionality:
|
|||||||
modes)
|
modes)
|
||||||
|
|
||||||
* General Drivers: Added a generic "upper half" Quadrature Encoder driver.
|
* 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).
|
disconnected from the host (programmatically or using NSH commands).
|
||||||
|
|
||||||
* STM32 Drivers: Added a "lower half" Quadrature Encoder driver.
|
* 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
|
- MXRT1050-EVK: Added support for on-board NOR FLASH boot. From
|
||||||
Ivan Ucherdzhiev.
|
Ivan Ucherdzhiev.
|
||||||
- IMXRT1050-EVK: Disable LED support because pins conflict with PHY.
|
- 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.
|
Added an NSH configuration for testing Ethernet.
|
||||||
|
|
||||||
* NXP Freescale Kinetis:
|
* NXP Freescale Kinetis:
|
||||||
@@ -18042,7 +18042,7 @@ detailed bugfix information):
|
|||||||
return value is required.
|
return value is required.
|
||||||
- drivers/leds: Fixes RGB LED issues caused by uninitialized memory
|
- drivers/leds: Fixes RGB LED issues caused by uninitialized memory
|
||||||
with CONFIG_RGBLED_MULTICHAN. The uninitialized pwm_info_s struct
|
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.
|
driver From Anthony Merlino.
|
||||||
- drivers/sensors/lis2dh: Clear INT1 at SNIOC_WRITE_INT1THRESHOLD
|
- drivers/sensors/lis2dh: Clear INT1 at SNIOC_WRITE_INT1THRESHOLD
|
||||||
ioctl. From Jussi Kivilinna.
|
ioctl. From Jussi Kivilinna.
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ void up_mdelay(unsigned int milliseconds)
|
|||||||
* Description:
|
* Description:
|
||||||
* Delay inline for the requested number of microseconds. NOTE: Because
|
* Delay inline for the requested number of microseconds. NOTE: Because
|
||||||
* of all of the setup, several microseconds will be lost before the actual
|
* 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.
|
* longer than requested.
|
||||||
*
|
*
|
||||||
* *** NOT multi-tasking friendly ***
|
* *** 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)
|
static int cxd56_busfault(int irq, FAR void *context, FAR void *arg)
|
||||||
{
|
{
|
||||||
(void)up_irq_save();
|
(void)up_irq_save();
|
||||||
_err("PANIC!!! Bus fault recived\n");
|
_err("PANIC!!! Bus fault received\n");
|
||||||
PANIC();
|
PANIC();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -455,7 +455,7 @@ FAR struct sdio_dev_s *cxd56_sdhci_finalize(int slotno);
|
|||||||
* Name: cxd56_sdhci_mediachange
|
* Name: cxd56_sdhci_mediachange
|
||||||
*
|
*
|
||||||
* Description:
|
* 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
|
* in order to signal to the driver that a card has been inserted or
|
||||||
* removed from the slot
|
* removed from the slot
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1379,7 +1379,7 @@ static int efm32_ctrlep_alloc(FAR struct efm32_usbhost_s *priv,
|
|||||||
return -ENOMEM;
|
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,
|
ret = efm32_ctrlchan_alloc(priv, epdesc->addr & USB_EPNO_MASK,
|
||||||
hport->funcaddr, hport->speed, ctrlep);
|
hport->funcaddr, hport->speed, ctrlep);
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
#define CSPI_CTRL_BITCOUNT_SHIFT 0
|
#define CSPI_CTRL_BITCOUNT_SHIFT 0
|
||||||
#define CSPI_CTRL_BITCOUNT_MASK (15 << CSPI_CTRL_BITCOUNT_SHIFT)
|
#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_TE (1 << 0) /* Bit 0: TXFIFO Empty Status */
|
||||||
#define CSPI_INTCS_TH (1 << 1) /* Bit 1: TXFIFO Half 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
|
* Name: sdhc_mediachange
|
||||||
*
|
*
|
||||||
* Description:
|
* 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
|
* in order to signal to the driver that a card has been inserted or
|
||||||
* removed from the slot
|
* removed from the slot
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -333,7 +333,7 @@ void kinetis_pllconfig(void)
|
|||||||
* establish the multiplication factor applied to the reference clock
|
* establish the multiplication factor applied to the reference clock
|
||||||
* frequency. Also set
|
* frequency. Also set
|
||||||
*
|
*
|
||||||
* LOLIE = 0 (Loss of Lock Interrrupt Enable)
|
* LOLIE = 0 (Loss of Lock Interrupt Enable)
|
||||||
* PLLS = 1 (PLL Select)
|
* PLLS = 1 (PLL Select)
|
||||||
* CME = 0 (Clock Monitor Enable)
|
* 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)
|
static int kinetis_busfault(int irq, FAR void *context, FAR void *arg)
|
||||||
{
|
{
|
||||||
(void)up_irq_save();
|
(void)up_irq_save();
|
||||||
_err("PANIC!!! Bus fault recived\n");
|
_err("PANIC!!! Bus fault received\n");
|
||||||
PANIC();
|
PANIC();
|
||||||
return 0;
|
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_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_CME (1 << 5) /* Bit 5: Clock Monitor Enable */
|
||||||
#define MCG_C6_PLLS (1 << 6) /* Bit 6: PLL Select */
|
#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 */
|
/* MCG Status Register */
|
||||||
|
|
||||||
|
|||||||
@@ -313,34 +313,22 @@
|
|||||||
#define LCD_CRSR_CRSRCLIPY_SHIFT (8) /* Bits 8-13: Reserved */
|
#define LCD_CRSR_CRSRCLIPY_SHIFT (8) /* Bits 8-13: Reserved */
|
||||||
#define LCD_CRSR_CRSRCLIPY_MASK (0x3f << LCD_CRSR_CRSRCLIPY_SHIFT)
|
#define LCD_CRSR_CRSRCLIPY_MASK (0x3f << LCD_CRSR_CRSRCLIPY_SHIFT)
|
||||||
/* Bits 14-31: Reserved */
|
/* 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 */
|
#define LCD_CRSR_INTMSK_CRSRIM (1 << 0) /* Bit 0: Cursor interrupt mask */
|
||||||
/* Bits 1-31: Reserved */
|
/* 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 */
|
#define LCD_CRSR_INTCLR_CRSRIC (1 << 0) /* Bit 0: Cursor interrupt clear */
|
||||||
/* Bits 1-31: Reserved */
|
/* 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 */
|
#define LCD_CRSR_INTRAW_CRSRRIS (1 << 0) /* Bit 0: Cursor raw interrupt status */
|
||||||
/* Bits 1-31: Reserved */
|
/* 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 */
|
#define LCD_CRSR_INTSTAT_CRSRMIS (1 << 0) /* Bit 0: Cursor mask interrupt status */
|
||||||
/* Bits 1-31: Reserved */
|
/* Bits 1-31: Reserved */
|
||||||
|
|
||||||
/************************************************************************************************
|
|
||||||
* Public Types
|
|
||||||
************************************************************************************************/
|
|
||||||
|
|
||||||
/************************************************************************************************
|
|
||||||
* Public Data
|
|
||||||
************************************************************************************************/
|
|
||||||
|
|
||||||
/************************************************************************************************
|
|
||||||
* Public Functions
|
|
||||||
************************************************************************************************/
|
|
||||||
|
|
||||||
#endif /* __ARCH_ARM_SRC_LPC17XX_40XX_HARDWARE_LPC17_40_LCD_H */
|
#endif /* __ARCH_ARM_SRC_LPC17XX_40XX_HARDWARE_LPC17_40_LCD_H */
|
||||||
|
|||||||
@@ -144,7 +144,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CONFIG_LPC17_40_CAN_TSEG1 < 1 || CONFIG_LPC17_40_CAN_TSEG1 > CAN_BTR_TSEG1_MAX
|
#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
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_LPC17_40_CAN_TSEG2
|
#ifndef CONFIG_LPC17_40_CAN_TSEG2
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CONFIG_LPC17_40_CAN_TSEG2 < 1 || CONFIG_LPC17_40_CAN_TSEG2 > CAN_BTR_TSEG2_MAX
|
#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
|
#endif
|
||||||
|
|
||||||
#define CAN_BIT_QUANTA (CONFIG_LPC17_40_CAN_TSEG1 + CONFIG_LPC17_40_CAN_TSEG2 + 1)
|
#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)
|
static int lpc17_40_busfault(int irq, FAR void *context, FAR void *arg)
|
||||||
{
|
{
|
||||||
(void)up_irq_save();
|
(void)up_irq_save();
|
||||||
_err("PANIC!!! Bus fault recived\n");
|
_err("PANIC!!! Bus fault received\n");
|
||||||
PANIC();
|
PANIC();
|
||||||
return 0;
|
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
|
* Name: sdio_mediachange
|
||||||
*
|
*
|
||||||
* Description:
|
* 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
|
* in order to signal to the driver that a card has been inserted or
|
||||||
* removed from the slot
|
* removed from the slot.
|
||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* dev - An instance of the SD card driver device state structure.
|
* 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
|
* Name: sdio_mediachange
|
||||||
*
|
*
|
||||||
* Description:
|
* 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
|
* in order to signal to the driver that a card has been inserted or
|
||||||
* removed from the slot
|
* removed from the slot.
|
||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* dev - An instance of the SDIO driver device state structure.
|
* dev - An instance of the SDIO driver device state structure.
|
||||||
|
|||||||
@@ -453,10 +453,10 @@
|
|||||||
* Name: _vector_table
|
* Name: _vector_table
|
||||||
*
|
*
|
||||||
* Description:
|
* 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
|
* 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
|
* 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
|
* Name: _vector_table
|
||||||
*
|
*
|
||||||
* Description:
|
* 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
|
* 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
|
* 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
|
* Name: sdio_mediachange
|
||||||
*
|
*
|
||||||
* Description:
|
* 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
|
* in order to signal to the driver that a card has been inserted or
|
||||||
* removed from the slot
|
* removed from the slot
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
|
|
||||||
/* NAND FLASH controller register offsets (with respect to the base of the APB4 domain) *********/
|
/* 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_IRQMASK1_OFFSET 0x04 /* Interrupt mask register (first 32-bits) */
|
||||||
#define LPC31_NAND_IRQSTATUSRAW1_OFFSET 0x08 /* Unmasked register status (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 */
|
#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_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_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_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_IRQMASK3_OFFSET 0x4c /* Interrupt mask register (second 32-bits) */
|
||||||
#define LPC31_NAND_IRQSTATUSRAW2_OFFSET 0x50 /* Unmasked register status (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) */
|
#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_DECRYPTRAM1 (1 << 1) /* Bit 1: Decrypt RAM1 */
|
||||||
#define NAND_AESFROMAHB_DECRYPTRAM0 (1 << 0) /* Bit 0: Decrypt RAM0 */
|
#define NAND_AESFROMAHB_DECRYPTRAM0 (1 << 0) /* Bit 0: Decrypt RAM0 */
|
||||||
|
|
||||||
/************************************************************************************************
|
|
||||||
* Public Types
|
|
||||||
************************************************************************************************/
|
|
||||||
|
|
||||||
/************************************************************************************************
|
|
||||||
* Public Data
|
|
||||||
************************************************************************************************/
|
|
||||||
|
|
||||||
/************************************************************************************************
|
|
||||||
* Public Functions
|
|
||||||
************************************************************************************************/
|
|
||||||
|
|
||||||
#endif /* __ARCH_ARM_SRC_LPC31XX_LPC31_NAND_H */
|
#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)
|
static int lpc43_busfault(int irq, FAR void *context, FAR void *arg)
|
||||||
{
|
{
|
||||||
(void)up_irq_save();
|
(void)up_irq_save();
|
||||||
_err("PANIC!!! Bus fault recived\n");
|
_err("PANIC!!! Bus fault received\n");
|
||||||
PANIC();
|
PANIC();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -314,20 +314,20 @@
|
|||||||
#define LCD_CRSR_CRSRCLIPY_SHIFT (8) /* Bits 8-13: Reserved */
|
#define LCD_CRSR_CRSRCLIPY_SHIFT (8) /* Bits 8-13: Reserved */
|
||||||
#define LCD_CRSR_CRSRCLIPY_MASK (0x3f << LCD_CRSR_CRSRCLIPY_SHIFT)
|
#define LCD_CRSR_CRSRCLIPY_MASK (0x3f << LCD_CRSR_CRSRCLIPY_SHIFT)
|
||||||
/* Bits 14-31: Reserved */
|
/* 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 */
|
#define LCD_CRSR_INTMSK_CRSRIM (1 << 0) /* Bit 0: Cursor interrupt mask */
|
||||||
/* Bits 1-31: Reserved */
|
/* 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 */
|
#define LCD_CRSR_INTCLR_CRSRIC (1 << 0) /* Bit 0: Cursor interrupt clear */
|
||||||
/* Bits 1-31: Reserved */
|
/* 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 */
|
#define LCD_CRSR_INTRAW_CRSRRIS (1 << 0) /* Bit 0: Cursor raw interrupt status */
|
||||||
/* Bits 1-31: Reserved */
|
/* 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 */
|
#define LCD_CRSR_INTSTAT_CRSRMIS (1 << 0) /* Bit 0: Cursor mask interrupt status */
|
||||||
/* Bits 1-31: Reserved */
|
/* 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)
|
static int lpc54_busfault(int irq, FAR void *context, FAR void *arg)
|
||||||
{
|
{
|
||||||
(void)up_irq_save();
|
(void)up_irq_save();
|
||||||
_err("PANIC!!! Bus fault recived\n");
|
_err("PANIC!!! Bus fault received\n");
|
||||||
PANIC();
|
PANIC();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1136,7 +1136,7 @@ static int lpc54_interrupt(int irq, void *context, FAR void *arg)
|
|||||||
if ((regval & CCR_ERROR_EVENTS) != 0)
|
if ((regval & CCR_ERROR_EVENTS) != 0)
|
||||||
{
|
{
|
||||||
/* And now do... what? Should we reset FIFOs on a FIFO error? */
|
/* And now do... what? Should we reset FIFOs on a FIFO error? */
|
||||||
#warning Misssing logic
|
#warning Missing logic
|
||||||
}
|
}
|
||||||
#endif
|
#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)
|
static int max326_busfault(int irq, FAR void *context, FAR void *arg)
|
||||||
{
|
{
|
||||||
(void)up_irq_save();
|
(void)up_irq_save();
|
||||||
_err("PANIC!!! Bus fault recived\n");
|
_err("PANIC!!! Bus fault received\n");
|
||||||
PANIC();
|
PANIC();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -570,7 +570,7 @@ static int max326_interrupt(int irq, void *context, void *arg)
|
|||||||
if ((intfl & UART_INT_RXERRORS) != 0)
|
if ((intfl & UART_INT_RXERRORS) != 0)
|
||||||
{
|
{
|
||||||
/* And now do... what? Should we reset FIFOs on a FIFO error? */
|
/* And now do... what? Should we reset FIFOs on a FIFO error? */
|
||||||
#warning Misssing logic
|
#warning Missing logic
|
||||||
|
|
||||||
handled = true;
|
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)
|
static int nrf52_busfault(int irq, FAR void *context, FAR void *arg)
|
||||||
{
|
{
|
||||||
(void)up_irq_save();
|
(void)up_irq_save();
|
||||||
_err("PANIC!!! Bus fault recived\n");
|
_err("PANIC!!! Bus fault received\n");
|
||||||
PANIC();
|
PANIC();
|
||||||
return 0;
|
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)
|
static int s32k14x_busfault(int irq, FAR void *context, FAR void *arg)
|
||||||
{
|
{
|
||||||
(void)up_irq_save();
|
(void)up_irq_save();
|
||||||
_err("PANIC!!! Bus fault recived\n");
|
_err("PANIC!!! Bus fault received\n");
|
||||||
PANIC();
|
PANIC();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2725,9 +2725,9 @@ FAR struct sdio_dev_s *sdio_initialize(int slotno)
|
|||||||
* Name: sdio_mediachange
|
* Name: sdio_mediachange
|
||||||
*
|
*
|
||||||
* Description:
|
* 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
|
* in order to signal to the driver that a card has been inserted or
|
||||||
* removed from the slot
|
* removed from the slot.
|
||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* dev - An instance of the SDIO driver device state structure.
|
* 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
|
* Name: sdio_mediachange
|
||||||
*
|
*
|
||||||
* Description:
|
* 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
|
* in order to signal to the driver that a card has been inserted or
|
||||||
* removed from the slot
|
* removed from the slot.
|
||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* dev - An instance of the SDIO driver device state structure.
|
* dev - An instance of the SDIO driver device state structure.
|
||||||
|
|||||||
@@ -85,7 +85,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CONFIG_STM32_CAN_TSEG1 < 1 || CONFIG_STM32_CAN_TSEG1 > CAN_BTR_TSEG1_MAX
|
#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
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_STM32_CAN_TSEG2
|
#ifndef CONFIG_STM32_CAN_TSEG2
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CONFIG_STM32_CAN_TSEG2 < 1 || CONFIG_STM32_CAN_TSEG2 > CAN_BTR_TSEG2_MAX
|
#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
|
#endif
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
|
|||||||
@@ -1303,7 +1303,7 @@ static int stm32_ctrlep_alloc(FAR struct stm32_usbhost_s *priv,
|
|||||||
return -ENOMEM;
|
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,
|
ret = stm32_ctrlchan_alloc(priv, epdesc->addr & USB_EPNO_MASK,
|
||||||
hport->funcaddr, hport->speed, ctrlep);
|
hport->funcaddr, hport->speed, ctrlep);
|
||||||
|
|||||||
@@ -1308,7 +1308,7 @@ static int stm32_ctrlep_alloc(FAR struct stm32_usbhost_s *priv,
|
|||||||
return -ENOMEM;
|
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,
|
ret = stm32_ctrlchan_alloc(priv, epdesc->addr & USB_EPNO_MASK,
|
||||||
hport->funcaddr, hport->speed, ctrlep);
|
hport->funcaddr, hport->speed, ctrlep);
|
||||||
|
|||||||
@@ -3056,7 +3056,7 @@ FAR struct sdio_dev_s *sdio_initialize(int slotno)
|
|||||||
* Name: sdio_mediachange
|
* Name: sdio_mediachange
|
||||||
*
|
*
|
||||||
* Description:
|
* 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
|
* in order to signal to the driver that a card has been inserted or
|
||||||
* removed from the slot
|
* removed from the slot
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ FAR struct sdio_dev_s *sdio_initialize(int slotno);
|
|||||||
* Name: sdio_mediachange
|
* Name: sdio_mediachange
|
||||||
*
|
*
|
||||||
* Description:
|
* 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
|
* in order to signal to the driver that a card has been inserted or
|
||||||
* removed from the slot
|
* removed from the slot
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -82,7 +82,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CONFIG_STM32F7_CAN_TSEG1 < 1 || CONFIG_STM32F7_CAN_TSEG1 > CAN_BTR_TSEG1_MAX
|
#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
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_STM32F7_CAN_TSEG2
|
#ifndef CONFIG_STM32F7_CAN_TSEG2
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CONFIG_STM32F7_CAN_TSEG2 < 1 || CONFIG_STM32F7_CAN_TSEG2 > CAN_BTR_TSEG2_MAX
|
#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
|
#endif
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
|
|||||||
@@ -1301,7 +1301,7 @@ static int stm32_ctrlep_alloc(FAR struct stm32_usbhost_s *priv,
|
|||||||
return -ENOMEM;
|
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,
|
ret = stm32_ctrlchan_alloc(priv, epdesc->addr & USB_EPNO_MASK,
|
||||||
hport->funcaddr, hport->speed, ctrlep);
|
hport->funcaddr, hport->speed, ctrlep);
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ FAR struct sdio_dev_s *sdio_initialize(int slotno);
|
|||||||
* Name: sdio_mediachange
|
* Name: sdio_mediachange
|
||||||
*
|
*
|
||||||
* Description:
|
* 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
|
* in order to signal to the driver that a card has been inserted or
|
||||||
* removed from the slot
|
* removed from the slot
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1306,7 +1306,7 @@ static int stm32_ctrlep_alloc(FAR struct stm32_usbhost_s *priv,
|
|||||||
return -ENOMEM;
|
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,
|
ret = stm32_ctrlchan_alloc(priv, epdesc->addr & USB_EPNO_MASK,
|
||||||
hport->funcaddr, hport->speed, ctrlep);
|
hport->funcaddr, hport->speed, ctrlep);
|
||||||
|
|||||||
@@ -84,9 +84,9 @@ FAR struct sdio_dev_s *sdio_initialize(int slotno);
|
|||||||
* Name: sdio_mediachange
|
* Name: sdio_mediachange
|
||||||
*
|
*
|
||||||
* Description:
|
* 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
|
* in order to signal to the driver that a card has been inserted or
|
||||||
* removed from the slot
|
* removed from the slot.
|
||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* dev - An instance of the SDIO driver device state structure.
|
* dev - An instance of the SDIO driver device state structure.
|
||||||
|
|||||||
@@ -82,7 +82,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CONFIG_STM32L4_CAN_TSEG1 < 1 || CONFIG_STM32L4_CAN_TSEG1 > CAN_BTR_TSEG1_MAX
|
#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
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_STM32L4_CAN_TSEG2
|
#ifndef CONFIG_STM32L4_CAN_TSEG2
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CONFIG_STM32L4_CAN_TSEG2 < 1 || CONFIG_STM32L4_CAN_TSEG2 > CAN_BTR_TSEG2_MAX
|
#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
|
#endif
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
|
|||||||
@@ -1305,7 +1305,7 @@ static int stm32l4_ctrlep_alloc(FAR struct stm32l4_usbhost_s *priv,
|
|||||||
return -ENOMEM;
|
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,
|
ret = stm32l4_ctrlchan_alloc(priv, epdesc->addr & USB_EPNO_MASK,
|
||||||
hport->funcaddr, hport->speed, ctrlep);
|
hport->funcaddr, hport->speed, ctrlep);
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ FAR struct sdio_dev_s *sdio_initialize(int slotno);
|
|||||||
* Name: sdio_mediachange
|
* Name: sdio_mediachange
|
||||||
*
|
*
|
||||||
* Description:
|
* 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
|
* in order to signal to the driver that a card has been inserted or
|
||||||
* removed from the slot
|
* removed from the slot
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -418,10 +418,10 @@ eicloop:
|
|||||||
* Name: _vector_table
|
* Name: _vector_table
|
||||||
*
|
*
|
||||||
* Description:
|
* 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
|
* 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
|
* 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)
|
static int tiva_busfault(int irq, FAR void *context, FAR void *arg)
|
||||||
{
|
{
|
||||||
(void)up_irq_save();
|
(void)up_irq_save();
|
||||||
_err("PANIC!!! Bus fault recived\n");
|
_err("PANIC!!! Bus fault received\n");
|
||||||
PANIC();
|
PANIC();
|
||||||
return 0;
|
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
|
* be enabled. A single match interrupt will be generated; further match
|
||||||
* interrupts will be disabled.
|
* 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.
|
* periodic timer.
|
||||||
*
|
*
|
||||||
* WARNING: For free-running timers, the relative match value should be
|
* 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
|
* be enabled. A single match interrupt will be generated; further match
|
||||||
* interrupts will be disabled.
|
* 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.
|
* periodic timer.
|
||||||
*
|
*
|
||||||
* NOTE: The relmatch input is a really a 24-bit value; it is the 16-bit
|
* 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.
|
* interrupts will be disabled.
|
||||||
*
|
*
|
||||||
* NOTE: Use of this function is only meaningful for a 32-bit free-
|
* 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
|
* WARNING: For free-running timers, the relative match value should be
|
||||||
* sufficiently far in the future to avoid race conditions.
|
* 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.
|
* interrupts will be disabled.
|
||||||
*
|
*
|
||||||
* NOTE: Use of this function is only meaningful for a 16-bit free-
|
* 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
|
* 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
|
* 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)
|
static int xmc4_busfault(int irq, FAR void *context, FAR void *arg)
|
||||||
{
|
{
|
||||||
(void)up_irq_save();
|
(void)up_irq_save();
|
||||||
_err("PANIC!!! Bus fault recived\n");
|
_err("PANIC!!! Bus fault received\n");
|
||||||
PANIC();
|
PANIC();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user