From 9ac9bcc28e69defeaea3322977eb502f3a341d2b Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 3 Apr 2015 16:36:58 -0600 Subject: [PATCH] SAMV71-XULT ILI9488 LCD driver is code complete but untested --- arch/arm/src/samv7/sam_emac.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm/src/samv7/sam_emac.c b/arch/arm/src/samv7/sam_emac.c index 4ee2e37094b..29725cff533 100644 --- a/arch/arm/src/samv7/sam_emac.c +++ b/arch/arm/src/samv7/sam_emac.c @@ -724,19 +724,19 @@ static struct emac_rxdesc_s g_emac0_rx1desc[DUMMY_NBUFFERS] * shall be set to 0 */ -static uint8_t g_emac0_tx0buffer[EMAC0_TX_BUFSIZE]; - __attribute__((aligned(EMAC_ALIGN))) +static uint8_t g_emac0_tx0buffer[EMAC0_TX_BUFSIZE] + __attribute__((aligned(EMAC_ALIGN))); -static uint8_t g_emac0_tx1buffer[DUMMY_NBUFFERS * DUMMY_BUFSIZE]; - __attribute__((aligned(EMAC_ALIGN))) +static uint8_t g_emac0_tx1buffer[DUMMY_NBUFFERS * DUMMY_BUFSIZE] + __attribute__((aligned(EMAC_ALIGN))); /* EMAC0 Receive Buffers */ static uint8_t g_emac0_rx0buffer[EMAC0_RX_BUFSIZE] __attribute__((aligned(EMAC_ALIGN))); -static uint8_t pRxDummyBuffer[DUMMY_NBUFFERS * DUMMY_BUFSIZE]; - __attribute__((aligned(EMAC_ALIGN))) +static uint8_t pRxDummyBuffer[DUMMY_NBUFFERS * DUMMY_BUFSIZE] + __attribute__((aligned(EMAC_ALIGN))); #endif @@ -772,19 +772,19 @@ static struct emac_rxdesc_s g_emac1_rx1desc[DUMMY_NBUFFERS] * shall be set to 0 */ -static uint8_t g_emac1_tx1buffer[EMAC1_TX_BUFSIZE]; - __attribute__((aligned(EMAC_ALIGN))) +static uint8_t g_emac1_tx1buffer[EMAC1_TX_BUFSIZE] + __attribute__((aligned(EMAC_ALIGN))); -static uint8_t g_emac1_tx1buffer[DUMMY_NBUFFERS * DUMMY_BUFSIZE]; - __attribute__((aligned(EMAC_ALIGN))) +static uint8_t g_emac1_tx1buffer[DUMMY_NBUFFERS * DUMMY_BUFSIZE] + __attribute__((aligned(EMAC_ALIGN))); /* EMAC1 Receive Buffers */ static uint8_t g_emac1_rxbuffer[EMAC1_RX_BUFSIZE] __attribute__((aligned(EMAC_ALIGN))); -static uint8_t g_emac1_rx1buffer[DUMMY_NBUFFERS * DUMMY_BUFSIZE]; - __attribute__((aligned(EMAC_ALIGN))) +static uint8_t g_emac1_rx1buffer[DUMMY_NBUFFERS * DUMMY_BUFSIZE] + __attribute__((aligned(EMAC_ALIGN))); #endif #endif