data bits and stop bits made configurable

Signed-off-by: Lenard Nagy <lenard.nagy@ericsson.com>
3 files changed
tree: 44a4dcaaad13380d454a240381d01bd66f1ba2f8
  1. demo/
  2. src/
  3. .gitignore
  4. LICENSE
  5. README.md
README.md

titan.TestPorts.Serial

Main project page:

https://projects.eclipse.org/projects/tools.titan

The source code of the TTCN-3 compiler and executor:

https://github.com/eclipse/titan.core

Usage

  • clone this repo to your computer in a folder (home_folder from now on)

  • Create a “bin” directory and cd into it

$ mkdir bin
$ cd ./bin
  • Create symlinks to all files in src and demo directory here
$ ln -s ../src/* .
$ ln -s ../demo/* .
  • Create the makefile
$ makefilegen -e "SerialPortTests" ./*
  • Compile the project
$ make
  • Adjust serial port properties in SerialPort.cfg

  • Run the tests

$ ttcn3_start SerialPortTests SerialPort.cfg

End