Changeset fa39b174 in rtems


Ignore:
Timestamp:
Feb 4, 2005, 8:29:42 PM (16 years ago)
Author:
Eric Norum <WENorum@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
3d289f12
Parents:
f5df587
Message:

Fix flash base address.
Enable UART2.

Location:
c/src/lib/libbsp/m68k/uC5282
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/uC5282/README

    rf5df587 rfa39b174  
    2828This seems OK to me, but others may find it lame.....
    2929
     30I/O pin restrictions make simultatenous operation
     31of I2C, CAN and UART2 impossible.
    3032 
    3133BSP NAME:           uC5282
     
    5961STDIO
    6062=====
    61 PORT:               UART1 Terminal
     63PORT:               UART0 Terminal
    6264ELECTRICAL:         RS-232
    6365BAUD:               9600
  • c/src/lib/libbsp/m68k/uC5282/console/console.c

    rf5df587 rfa39b174  
    4444
    4545/*
    46  * The MCF5282 has three UARTs but we enable only two here since it's likely
    47  * that the I/O pins available to the third will be used for CAN/I2C
     46 * The MCF5282 has three UARTs.  Enable all them here.  I/O pin selection
     47 * is assumed to have been done elsewher.
    4848 */
    49 #define MAX_UART_INFO     2
     49#define MAX_UART_INFO     3
    5050#define RX_BUFFER_SIZE    512
    5151
     
    617617   Function : console_initialize
    618618
    619    Description : This initialises termios, both sets of uart hardware before
     619   Description : This initialises termios, all uart hardware before
    620620   registering /dev/tty devices for each channel and the system /dev/console.
    621621 ***************************************************************************/
     
    642642        }
    643643
    644         /* Register the other port */
     644        /* Register the other ports */
    645645        if ( CONSOLE_PORT != 0 )
    646646        {
     
    659659                }
    660660        }
     661    status = rtems_io_register_name ("/dev/tty02", major, 2);
     662    if ( status != RTEMS_SUCCESSFUL )
     663    {
     664        rtems_fatal_error_occurred (status);
     665    }
    661666
    662667        return(RTEMS_SUCCESSFUL);
  • c/src/lib/libbsp/m68k/uC5282/startup/bspstart.c

    rf5df587 rfa39b174  
    4949#define SDRAM_BASE      0
    5050#define SDRAM_SIZE      (16*1024*1024)
    51 #define FLASH_BASE      0x10C10000
     51#define FLASH_BASE      0x10000000
    5252#define FLASH_SIZE      (4*1024*1024)
    5353
Note: See TracChangeset for help on using the changeset viewer.