[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some beginner's questions



joel at oarcorp.com wrote:

> On Thu, 5 Aug 1999, John Mills wrote:
>
> > Hello -
> > I have built RTEMS tools (sh-rtems-*) using 'bit' and rtems-4.0.0 using
> > 'bit_rtems' under Gnu/Linux-2.2.5 (RH6.0), and the 'hello_world_c' example
> > ('test.*') with apparent success. I will initially be targeting Hitachi's
> > EDK7045F developer's board. My two next questions are:
>
> > I have written serial I/O drivers as a stand-alone demo.
> >
> > I expect I need to touch the startup code as well as the console driver. I
> > found the 'no_bsp_console' example, but need to know where to put a
> > filled-in version and to have it linked.
>
> The no_bsp/console driver does not support termios. I would suggest that
> the sparc/erc32 and m68k/gen68360 are both fine examples of console
> drivers supporting both polled and interrupt mode and termios.
>

Just a remark: There is a tool called shgen inside the source-tree
(c/src/exec/score/tools/sh/shgen.c in RTEMS-4.0.0) which generates some tables
and functions for the sh7032's on-chip serial devices. These tables and functions
are designed to serve a internal subroutines to compute some internal settings
for serial drivers and should be useful to support termios.

Ralf.

Ralf Corsepius
Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung (FAW)
Helmholtzstr. 16, 89081 Ulm, Germany     Tel: +49/731/501-8690
mailto:corsepiu at faw.uni-ulm.de           FAX: +49/731/501-999
http://www.faw.uni-ulm.de