Changeset 69405459 in rtems


Ignore:
Timestamp:
Jan 5, 2000, 6:40:14 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
66fe6be6
Parents:
db6ec79e
Message:

Patch from Eric Norum <eric@…> as follows:

At the request of kjoutwater@… I'm submitting the
following patch.

c/src/lib/libbsp/m68k/gen68360/console/console.c

Allow console baud rate to be set by debugger/downloader.

c/src/lib/libbsp/m68k/gen68360/startup/init68360.c

Add support for generic 68360 with static RAM.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/gen68360/console/console.c

    rdb6ec79e r69405459  
    3737/*
    3838 * Interrupt-driven input buffer
     39 * Declare console baud rate -- may also be overwritten
     40 */
     41int console_baud_rate = 9600;
     42
     43/*
    3944 */
    4045#define RXBUFSIZE       16
     
    158163         */
    159164        m360.brgc1 = M360_BRG_RST;
    160         m360.brgc1 = smc1BRGC (9600);
     165        m360.brgc1 = smc1BRGC (console_baud_rate);
    161166
    162167        /*
Note: See TracChangeset for help on using the changeset viewer.