emulators/gpsim-ptyusart 0.3.2nb50 NetBSD
Pseudo-tty module for gpsim
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
7b5a3977f9- Categories
- emulators
- Package size
- 26.5 KiB, 152.1 KiB installed
Description
This 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 [email protected]
Install
Binary package:
pkgin install gpsim-ptyusart
From pkgsrc:
cd /usr/pkgsrc/emulators/gpsim-ptyusart && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.3.2nb50 |
| NetBSD 10.1 aarch64 | 0.3.2nb50 |
| SmartOS / illumos x86_64 | - |
| macOS 15 arm64 | - |
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Run dependencies 1
No port depends on this one.