forked from Imagelibrary/rtems
2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
PR 1917/bsps * Makefile.am, console/console-config.c: Modifications to add dynamic tables for libchip serial drivers.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
|
||||||
|
|
||||||
|
PR 1917/bsps
|
||||||
|
* Makefile.am, console/console-config.c: Modifications to add dynamic
|
||||||
|
tables for libchip serial drivers.
|
||||||
|
|
||||||
2011-10-17 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
2011-10-17 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||||
|
|
||||||
* include/start-config.h, make/custom/lpc24xx_plx800_rom_int.cfg,
|
* include/start-config.h, make/custom/lpc24xx_plx800_rom_int.cfg,
|
||||||
|
|||||||
@@ -111,7 +111,9 @@ libbsp_a_SOURCES += ../../shared/src/irq-generic.c \
|
|||||||
|
|
||||||
# Console
|
# Console
|
||||||
libbsp_a_SOURCES += ../../shared/console.c \
|
libbsp_a_SOURCES += ../../shared/console.c \
|
||||||
console/console-config.c
|
console/console-config.c ../../shared/console_select.c \
|
||||||
|
../../shared/console_read.c ../../shared/console_write.c \
|
||||||
|
../../shared/console_control.c
|
||||||
|
|
||||||
# Clock
|
# Clock
|
||||||
libbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
|
libbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
|
||||||
|
|||||||
@@ -89,9 +89,7 @@ static void lpc24xx_uart_set_register(uint32_t addr, uint8_t i, uint8_t val)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
rtems_device_minor_number Console_Port_Minor = 0;
|
console_tbl Console_Configuration_Ports [] = {
|
||||||
|
|
||||||
console_tbl Console_Port_Tbl [] = {
|
|
||||||
#ifdef LPC24XX_CONFIG_CONSOLE
|
#ifdef LPC24XX_CONFIG_CONSOLE
|
||||||
{
|
{
|
||||||
.sDeviceName = "/dev/ttyS0",
|
.sDeviceName = "/dev/ttyS0",
|
||||||
@@ -179,8 +177,5 @@ console_tbl Console_Port_Tbl [] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#define LPC24XX_UART_COUNT \
|
#define LPC24XX_UART_COUNT \
|
||||||
(sizeof(Console_Port_Tbl) / sizeof(Console_Port_Tbl [0]))
|
(sizeof(Console_Configuration_Ports) / sizeof(console_tbl))
|
||||||
|
unsigned long Console_Configuration_Count = LPC24XX_UART_COUNT;
|
||||||
unsigned long Console_Port_Count = LPC24XX_UART_COUNT;
|
|
||||||
|
|
||||||
console_data Console_Port_Data [LPC24XX_UART_COUNT];
|
|
||||||
|
|||||||
Reference in New Issue
Block a user