Fix some issues revealed by name changin of commit e5dfd805e6
.
This commit is contained in:
parent
e5dfd805e6
commit
021a32b97d
@ -115,7 +115,7 @@ config ARCH_CHIP_LPC1788
|
|||||||
bool "LPC1788"
|
bool "LPC1788"
|
||||||
select ARCH_FAMILY_LPC178X
|
select ARCH_FAMILY_LPC178X
|
||||||
select ARCH_CORTEXM3
|
select ARCH_CORTEXM3
|
||||||
|
|
||||||
config ARCH_CHIP_LPC4072
|
config ARCH_CHIP_LPC4072
|
||||||
bool "LPC4072"
|
bool "LPC4072"
|
||||||
select ARCH_FAMILY_LPC407X
|
select ARCH_FAMILY_LPC407X
|
||||||
|
@ -151,7 +151,7 @@ static char g_uart2rxbuffer[CONFIG_UART2_RXBUFSIZE];
|
|||||||
static char g_uart2txbuffer[CONFIG_UART2_TXBUFSIZE];
|
static char g_uart2txbuffer[CONFIG_UART2_TXBUFSIZE];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* This describes the state of the LPC17xx/LPC40xx uart0 port. */
|
/* This describes the state of the NUC1xx uart0 port. */
|
||||||
|
|
||||||
#ifdef CONFIG_NUC_UART0
|
#ifdef CONFIG_NUC_UART0
|
||||||
static struct nuc_dev_s g_uart0priv =
|
static struct nuc_dev_s g_uart0priv =
|
||||||
@ -182,7 +182,7 @@ static uart_dev_t g_uart0port =
|
|||||||
};
|
};
|
||||||
#endif /* CONFIG_NUC_UART0 */
|
#endif /* CONFIG_NUC_UART0 */
|
||||||
|
|
||||||
/* This describes the state of the LPC17xx/LPC40xx uart1 port. */
|
/* This describes the state of the NUC1xx uart1 port. */
|
||||||
|
|
||||||
#ifdef CONFIG_NUC_UART1
|
#ifdef CONFIG_NUC_UART1
|
||||||
static struct nuc_dev_s g_uart1priv =
|
static struct nuc_dev_s g_uart1priv =
|
||||||
@ -213,7 +213,7 @@ static uart_dev_t g_uart1port =
|
|||||||
};
|
};
|
||||||
#endif /* CONFIG_NUC_UART1 */
|
#endif /* CONFIG_NUC_UART1 */
|
||||||
|
|
||||||
/* This describes the state of the LPC17xx/LPC40xx uart1 port. */
|
/* This describes the state of the NUC1xx uart1 port. */
|
||||||
|
|
||||||
#ifdef CONFIG_NUC_UART2
|
#ifdef CONFIG_NUC_UART2
|
||||||
static struct nuc_dev_s g_uart2priv =
|
static struct nuc_dev_s g_uart2priv =
|
||||||
|
@ -744,12 +744,12 @@ static int emac_rmmac(struct net_driver_s *dev, FAR const uint8_t *mac)
|
|||||||
|
|
||||||
int emac_initialize(int intf)
|
int emac_initialize(int intf)
|
||||||
{
|
{
|
||||||
struct lpc17_40_driver_s *priv;
|
struct emac_driver_s *priv;
|
||||||
|
|
||||||
/* Get the interface structure associated with this interface number. */
|
/* Get the interface structure associated with this interface number. */
|
||||||
|
|
||||||
DEBUGASSERT(inf < CONFIG_HCS12_NINTERFACES);
|
DEBUGASSERT(inf < CONFIG_HCS12_NINTERFACES);
|
||||||
priv = &g_ethdrvr[intf];
|
priv = &g_emac[intf];
|
||||||
|
|
||||||
/* Check if a Ethernet chip is recognized at its I/O base */
|
/* Check if a Ethernet chip is recognized at its I/O base */
|
||||||
|
|
||||||
@ -773,7 +773,7 @@ int emac_initialize(int intf)
|
|||||||
priv->d_dev.d_addmac = emac_addmac; /* Add multicast MAC address */
|
priv->d_dev.d_addmac = emac_addmac; /* Add multicast MAC address */
|
||||||
priv->d_dev.d_rmmac = emac_rmmac; /* Remove multicast MAC address */
|
priv->d_dev.d_rmmac = emac_rmmac; /* Remove multicast MAC address */
|
||||||
#endif
|
#endif
|
||||||
priv->d_dev.d_private = (void*)g_emac; /* Used to recover private state from dev */
|
priv->d_dev.d_private = priv; /* Used to recover private state from dev */
|
||||||
|
|
||||||
/* Create a watchdog for timing polling for and timing of transmissions */
|
/* Create a watchdog for timing polling for and timing of transmissions */
|
||||||
|
|
||||||
|
@ -450,7 +450,7 @@ config ARCH_BOARD_LPC4088_DEVKIT
|
|||||||
select ARCH_HAVE_BUTTONS
|
select ARCH_HAVE_BUTTONS
|
||||||
select ARCH_HAVE_IRQBUTTONS
|
select ARCH_HAVE_IRQBUTTONS
|
||||||
---help---
|
---help---
|
||||||
Embedded Artists LPC4088 Developer's Kit. See
|
Embedded Artists LPC4088 Developer's Kit. See
|
||||||
https://www.embeddedartists.com/products/lpc4088-developers-kit/
|
https://www.embeddedartists.com/products/lpc4088-developers-kit/
|
||||||
for further information. This board uses the NXP LPC4088FET208 MCU.
|
for further information. This board uses the NXP LPC4088FET208 MCU.
|
||||||
|
|
||||||
@ -461,7 +461,7 @@ config ARCH_BOARD_LPC4088_QUICKSTART
|
|||||||
select ARCH_HAVE_BUTTONS
|
select ARCH_HAVE_BUTTONS
|
||||||
select ARCH_HAVE_IRQBUTTONS
|
select ARCH_HAVE_IRQBUTTONS
|
||||||
---help---
|
---help---
|
||||||
Embedded Artists LPC4088 QuickStart Board. See
|
Embedded Artists LPC4088 QuickStart Board. See
|
||||||
https://www.embeddedartists.com/products/lpc4088-quickstart-board/
|
https://www.embeddedartists.com/products/lpc4088-quickstart-board/
|
||||||
for further information. This board uses the NXP LPC4088FET208 MCU.
|
for further information. This board uses the NXP LPC4088FET208 MCU.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user