Changeset 47f56094 in rtems


Ignore:
Timestamp:
Nov 7, 2011, 8:26:12 AM (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
18aa7150
Parents:
d791a39
Message:

2011-11-07 Sebastian Huber <sebastian.huber@…>

PR 1951/bsps

  • Makefile.am, console/console-config.c: Update due to API changes.
Location:
c/src/lib/libbsp/arm/lm3s69xx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/lm3s69xx/ChangeLog

    rd791a39 r47f56094  
     12011-11-07      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        PR 1951/bsps
     4        * Makefile.am, console/console-config.c: Update due to API changes.
     5
    162011-09-24      Sebastian Huber <sebastian.huber@embedded-brains.de>
    27
  • c/src/lib/libbsp/arm/lm3s69xx/Makefile.am

    rd791a39 r47f56094  
    8989
    9090# Console
    91 libbsp_a_SOURCES += ../../shared/console.c \
    92         console/console-config.c \
    93         console/uart.c
     91libbsp_a_SOURCES += ../../shared/console.c
     92libbsp_a_SOURCES += ../../shared/console_control.c
     93libbsp_a_SOURCES += ../../shared/console_read.c
     94libbsp_a_SOURCES += ../../shared/console_select.c
     95libbsp_a_SOURCES += ../../shared/console_write.c
     96libbsp_a_SOURCES += console/console-config.c
     97libbsp_a_SOURCES += console/uart.c
    9498
    9599# Clock
  • c/src/lib/libbsp/arm/lm3s69xx/console/console-config.c

    rd791a39 r47f56094  
    2424#include <bsp/lm3s69xx.h>
    2525
    26 console_tbl Console_Port_Tbl [] = {
     26console_tbl Console_Configuration_Ports [] = {
    2727  #ifdef LM3S69XX_ENABLE_UART_0
    2828    {
     
    5757};
    5858
    59 #define PORT_COUNT (sizeof(Console_Port_Tbl) / sizeof(Console_Port_Tbl [0]))
     59#define PORT_COUNT \
     60  (sizeof(Console_Configuration_Ports) \
     61    / sizeof(Console_Configuration_Ports [0]))
    6062
    61 unsigned long Console_Port_Count = PORT_COUNT;
    62 
    63 rtems_device_minor_number Console_Port_Minor;
    64 
    65 console_data Console_Port_Data [PORT_COUNT];
     63unsigned long Console_Configuration_Count = PORT_COUNT;
    6664
    6765static void output_char(char c)
    6866{
    69   const console_fns *con = Console_Port_Tbl [Console_Port_Minor].pDeviceFns;
     67  const console_fns *con =
     68    Console_Configuration_Ports [Console_Port_Minor].pDeviceFns;
    7069 
    7170  if (c == '\n') {
Note: See TracChangeset for help on using the changeset viewer.