This is the mail archive of the ecos-devel@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Serial driver for ARM s3c4510


On Donnerstag, 23. Oktober 2003 13:17, Roland Caßebohm wrote:
> On Mittwoch, 22. Oktober 2003 16:40, Bart Veer wrote:
> > Regarding something like CYGPRI_SER_TEST_SER_DEV, that is really a
> > characteristic of the testing infrastructure. Turn it into a booldata,
> > disabled by default. For manual testing the user should decide
> > explicitly which port(s) should be tested, enable the option and set
> > the value. For automated testing the testing infrastructure should be
> > smart enough to know which port(s) are actually connected to something
> > that can handle serial tests and manipulate the appropriate
> > configuration options.
>
> So I can do it like that:
>
> cdl_component CYGPKG_IO_SERIAL_ARM_AIM711_16X5X_TESTING {
>     display    "Testing parameters"
>     flavor     bool
>     calculated 1
>     active_if  CYGPKG_IO_SERIAL_ARM_AIM711_16X5X_SERIAL0
>
>     cdl_option CYGPRI_SER_TEST_SER_DEV {
>         display       "Serial device used for testing"
>         flavor        booldata
>         default_value 0
>         legal_values  { 0 CYGDAT_IO_SERIAL_ARM_AIM711_16X5X_SERIAL0_NAME }
>     }
>
>     define_proc {
>         puts $::cdl_header "#define CYGPRI_SER_TEST_CRASH_ID \"arm16x5x\""
>         puts $::cdl_header "#define CYGPRI_SER_TEST_TTY_DEV  \"/dev/tty2\""
>     }
> }
>

I've tested this now but it doesn't work. The aim711_s3s4510 file I have 
changed similar.
But the configtool says:

Option `CYGPRI_SER_TEST_SER_DEV' cannot be loaded.
    The name is already in use

even though if CYGPRI_SER_TEST_SER_DEV is disabled. I have made another test 
in which I have made CYGPKG_IO_SERIAL_ARM_AIM711_16X5X_TESTING and 
CYGPKG_IO_SERIAL_ARM_AIM711_S3C4510_TESTING configurable, but with the same 
result, even though if these options are disabled the conflict is there.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]