Mercurial > ecos-v3_0-branch
changeset 2541:b93af20fcb81
* tests/ser_test_protocol.inl : Add mpc555 generic platform
* include/serialio.h : Add noise error define to line status
| author | asl |
|---|---|
| date | Tue, 02 Sep 2008 05:56:40 +0000 |
| parents | d3fd907caafd |
| children | 7e32d2c76180 |
| files | packages/io/serial/current/ChangeLog packages/io/serial/current/include/serialio.h packages/io/serial/current/tests/ser_test_protocol.inl |
| diffstat | 3 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/io/serial/current/ChangeLog +++ b/packages/io/serial/current/ChangeLog @@ -1,3 +1,8 @@ +2008-09-02 Steven Clugston <steven.clugston@ncl.ac.uk> + + * tests/ser_test_protocol.inl : Add mpc555 generic platform + * include/serialio.h : Add noise error define to line status + 2008-08-13 Rainer Arndt <Arndt-ADT@kieback-peter.de> * src/common/termiostty.c (set_attr) : Fixed bug for XON/XOFF
--- a/packages/io/serial/current/include/serialio.h +++ b/packages/io/serial/current/include/serialio.h @@ -174,6 +174,7 @@ typedef struct { # define CYGNUM_SERIAL_STATUS_OVERRUNERR 4 # define CYGNUM_SERIAL_STATUS_CARRIERDETECT 5 # define CYGNUM_SERIAL_STATUS_RINGINDICATOR 6 +# define CYGNUM_SERIAL_STATUS_NOISEERR 7 typedef struct { cyg_uint32 which; // one of CYGNUM_SERIAL_STATUS_* above
--- a/packages/io/serial/current/tests/ser_test_protocol.inl +++ b/packages/io/serial/current/tests/ser_test_protocol.inl @@ -113,6 +113,15 @@ # define TEST_TTY_DEV CYGDAT_IO_SERIAL_TTY_TTY0_DEV # endif #endif +#if defined(CYGPKG_HAL_POWERPC_MPC5xx) \ + && defined(CYGPKG_IO_SERIAL_POWERPC_MPC555) \ + && defined(CYGPKG_IO_SERIAL_POWERPC_MPC555_SERIAL_A) +# define TEST_CRASH_ID "mpc555" +# define TEST_SER_DEV CYGDAT_IO_SERIAL_POWERPC_MPC555_SERIAL_A_NAME +# if defined(CYGPKG_IO_SERIAL_TTY_TTY0) +# define TEST_TTY_DEV CYGDAT_IO_SERIAL_TTY_TTY0_DEV +# endif +#endif // We can't rely on haldiag for ser_filter detection - it may not define // a working character reading function.
