### Serial ### # Since the differentation of the projects, all the serial ports are _disabled_ # by default! # Termios compatible TTY drivers # This option enables terminal drivers compatible with # POSIX termios. cdl_component CYGPKG_IO_SERIAL_TERMIOS { user_value 0 # Default value: 0 != CYGPKG_ISOINFRA && 0 != CYGPKG_IO_FILEIO && 0 != CYGINT_ISO_ERRNO_CODES && 0 != CYGINT_ISO_ERRNO # --> 1 }; # Hardware serial device drivers # This option enables the hardware device drivers # for the current platform. cdl_component CYGPKG_IO_SERIAL_DEVICES { user_value 1 # Default value: 0 }; # This option enables extra code in the generic serial driver # which allows clients to switch read() and write() call # semantics from blocking to non-blocking. cdl_option CYGOPT_IO_SERIAL_SUPPORT_NONBLOCKING { user_value 1 # Default value: 0 }; # Atmel AT91 serial device drivers # This option enables the serial device drivers for the # Atmel AT91. # cdl_package CYGPKG_IO_SERIAL_ARM_AT91 { # The parent CYGPKG_IO_SERIAL_DEVICES # ActiveIf constraint: CYGPKG_IO_SERIAL --> 1 # ActiveIf constraint: CYGPKG_HAL_ARM_AT91 --> 1 # }; # Atmel AT91 serial port 0 driver # This option includes the serial device driver for the Atmel AT91 # port 0 (serial A). # cdl_component CYGPKG_IO_SERIAL_ARM_AT91_SERIAL0 { user_value 1 # Default value: 0 }; # Device name for Atmel AT91 serial port 2 driver # This option specifies the name of the serial device for the # Atmel AT91 port 2. # cdl_option CYGDAT_IO_SERIAL_ARM_AT91_SERIAL0_NAME { # user_value "\"/dev/rs4852\"" # # Default value: "\"/dev/ser2\"" # }; # Baud rate for the Atmel AT91 serial port 2 driver cdl_option CYGNUM_IO_SERIAL_ARM_AT91_SERIAL0_BAUD { user_value 115200 # Default value: 115200 # Legal values: 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600 # 4800 7200 9600 14400 19200 38400 57600 115200 230400 }; # This option specifies the size of the internal buffers used # for the Atmel AT91 port 2. cdl_option CYGNUM_IO_SERIAL_ARM_AT91_SERIAL0_BUFSIZE { user_value 512 # Default value: 128 # Legal values: 0 to 8192 }; # Receive data chunk size # This parameter can be used to reduce the number of interrupts # that must be processed by the driver. An interrupt will only # be generated if either this many data bytes have been received # or the receiver has been idle for some time. This reduces # overall system load at the expense of making the driver less # responsive and using slightly more memory for buffering data. # Setting this parameter to 1 will give standard behavior. # # cdl_option CYGNUM_IO_SERIAL_ARM_AT91_SERIAL0_RCV_CHUNK_SIZE { # # user_value 1 # # Default value: 1 # # Legal values: 1 to 65519 # }; # This option enables support for the select() API function on all # serial devices. cdl_option CYGPKG_IO_SERIAL_SELECT_SUPPORT { user_value 0 # Default value: 1 };