serialport: Cross platform serial port library.

[ bsd3, hardware, library ] [ Propose Tags ] [ Report a vulnerability ]

Cross platform haskell library for using the serial port.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0, 0.1.0.1, 0.1.0.2, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.4.0, 0.4.0.1, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5
Change log CHANGELOG.md
Dependencies base (>=4.12 && <4.16), bytestring (>=0.11 && <0.12), unix (>=2.7 && <2.8), Win32 (>=2.11 && <2.13) [details]
License BSD-3-Clause
Copyright (c) 2009-2011 Joris Putcuyps, (c) 2020-2021 David Cox
Author Joris Putcuyps, David Cox
Maintainer David Cox <standard.semiconductor@gmail.com>
Category Hardware
Home page https://github.com/standardsemiconductor/serialport
Bug tracker https://github.com/standardsemiconductor/serialport/issues
Source repo head: git clone https://github.com/standardsemiconductor/serialport
Uploaded by dopamane at 2021-03-30T19:38:02Z
Distributions NixOS:0.5.5
Reverse Dependencies 15 direct, 6 indirect [details]
Downloads 16852 total (68 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-03-30 [all 1 reports]

Readme for serialport-0.5.2

[back to package description]

Haskell CI Hackage Hackage Dependencies

Objectives

  • Cross platform: at least Linux, Windows and Mac OS.

Tests

Setup

Prepare Arduino

  • Upload arduino code using Arduino IDE or avrdude

Prepare haskell test program

  • Configure cabal to build the tests: cabal configure --enable-tests.
  • Build: cabal build

Running the tests

  • Run the tests: cabal test --test-options="/dev/ttyACM0 /dev/ttyUSB0"