Ignore:
Timestamp:
Dec 15, 2009, 3:20:47 PM (11 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, 5, master
Children:
85893bc
Parents:
9db18dd
Message:

add support for LPC32xx

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/lpc24xx/console/console-config.c

    r9db18dd rc468f18b  
    2626#include <bsp/irq.h>
    2727
    28 static uint8_t lpc24xx_uart_register( uint32_t addr, uint8_t i)
     28static uint8_t lpc24xx_uart_register(uint32_t addr, uint8_t i)
    2929{
    3030  volatile uint32_t *reg = (volatile uint32_t *) addr;
     
    3333}
    3434
    35 static void lpc24xx_uart_set_register( uint32_t addr, uint8_t i, uint8_t val)
     35static void lpc24xx_uart_set_register(uint32_t addr, uint8_t i, uint8_t val)
    3636{
    3737  volatile uint32_t *reg = (volatile uint32_t *) addr;
     
    130130
    131131#define LPC24XX_UART_NUMBER \
    132   (sizeof( Console_Port_Tbl) / sizeof( Console_Port_Tbl [0]))
     132  (sizeof(Console_Port_Tbl) / sizeof(Console_Port_Tbl [0]))
    133133
    134134unsigned long Console_Port_Count = LPC24XX_UART_NUMBER;
Note: See TracChangeset for help on using the changeset viewer.