Path to this page:
./
emulators/gpsim-ptyusart,
Pseudo-tty module for gpsim
Branch: pkgsrc-2012Q4,
Version: 0.3.2nb16,
Package name: gpsim-ptyusart-0.3.2nb16,
Maintainer: bouyerThis is a serial module for gpsim, connecting the virtual Rx/Tx lines
to a pseudo-tty (pty). You can then use your usual serial tools (cu, tip,
minicom, etc ...) on this pty as you would do on a real serial port on
your Unix workstation.
Included is an example loopback program for a pic18f (that is, it will
just echo back what you send it). tstloopback.c can be used along with
cu or tip (or possibly minicom) to copy an arbitrary file though the
serial port and the pic, which allows to check for data corruption
(if you notice that 0x11 and 0x13 characters get lost, check for
the XON/XOFF status of your pty :)
This module has been developed for gpsim from CVS 20040816:
http://www-asim.lip6.fr/~bouyer/pic/gpsim-20040826.tar.gz
For now this has only been tested on NetBSD. It should work without
much troubles on others BSDs. More work is needed for other unix-like
operating systems (probably require a usart_external.cc per pty style).
Please address comments, bug-fixes or updates to Manuel.Bouyer@lip6.fr
Required to build:[
devel/libtool-base] [
devel/pkg-config] [
pkgtools/x11-links] [
x11/fixesproto4] [
x11/inputproto] [
x11/randrproto] [
x11/compositeproto] [
x11/renderproto] [
x11/xextproto] [
x11/xcb-proto] [
x11/xproto]
Master sites:
SHA1: cf2a8bf2fefac2dd52661e976b6991f45b8c3e76
RMD160: 3d08f6b2c46f3879b87748b38238903ccc346a1b
Filesize: 614.737 KB
Version history: (Expand)
- (2013-01-06) Package added to pkgsrc.se, version gpsim-ptyusart-0.3.2nb16 (created)