Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to use a "dummy load" #2

Open
Elliot-Ford opened this issue Jul 6, 2020 · 0 comments
Open

Add the ability to use a "dummy load" #2

Elliot-Ford opened this issue Jul 6, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@Elliot-Ford
Copy link
Collaborator

Problem

The majority of us are working remotely right now and our work currently relies on physical hardware for testing aspects of this driver (like lsl).

Proposal

Add the ability to have a "dummy load", allowing the program to run reading data from a specified file instead of the values from the chip.
I propose this should be a two part feature:

  1. Add a flag to the command line arguments (maybe -i) that specifies the data file to be parsed and a function that acts nearly the same as spi_getadc so that we can make a quick conditional check of which source to read from.
  2. Using macros make a Makefile compile target that disables the spi and related libraries so a dummy driver can be built on personal machines that might not support such libraries. I suggest using the macro name DUMMY_LOAD_ONLY.
@Elliot-Ford Elliot-Ford added the enhancement New feature or request label Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant