GithubHelp home page GithubHelp logo

preble / libpinproc Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 16.0 1.03 MB

C API for the P-ROC pinball controller board.

Home Page: http://www.pinballcontrollers.com/

CMake 2.64% Makefile 0.71% C++ 74.32% C 20.00% NSIS 2.32%

libpinproc's People

Contributors

darren5 avatar gstellenberg avatar jabdoa2 avatar koenheltzel avatar preble avatar reltham avatar tomlogic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

libpinproc's Issues

Warnings with cmake 3.17.3

Working on building libpinproc with current MSYS2/MinGW64 configuration, and the latest cmake version is generating these errors:

CMake Deprecation Warning at CMakeLists.txt:9 (cmake_policy):
  The OLD behavior for policy CMP0012 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:13 (cmake_policy):
  The OLD behavior for policy CMP0015 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.

Unify stdout, stderr, DEBUG and lasterror

As recommended by @jabdoa2, we need to clean up our error reporting.

  • Code in libpinproc shouldn't be printing anything out at all, unless it's a debug build.
  • The two programs using libpinproc (pinprocfw, pinproctest) should consistently use stderr for error reporting and stdout for information.

Improve reliability of pinprocfw

Multiple users have reported issues with the verify stage of a pinprocfw update failing. It's unknown whether the writes are failing or the reads are failing.

First step could be to provide additional error information on the verify to see what exactly is failing.

But another step might be to try re-reading data if a read fails. Or reading back each page as it's written and re-writing any failed pages.

This appears to be affected P3-ROC only. Any users who have experienced trouble installing should comment on this issue with information on the build they used, and whether it was a P-ROC or P3-ROC.

Use GitHub actions to automatically build libpinproc

We should be able to use GitHub actions to build libraries for distribution so others don't need to. We can then tag specific commits as "official" releases.

I'd like to see automated builds for the libraries used in PinMAME, but we could also identify common platforms and have automated libpinproc builds feed into automated pypinproc builds if that makes it easier for developers to start coding in MPF, SkeletonGame and other platforms.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.