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 SDK version / level as define to a header #5

Open
dueringa opened this issue Jun 22, 2017 · 1 comment
Open

Add SDK version / level as define to a header #5

dueringa opened this issue Jun 22, 2017 · 1 comment

Comments

@dueringa
Copy link

There are differences between the SDK version 1.1.8 (1.1.14) and the current one.
The support pages (http://support.saleae.com/hc/en-us/articles/208667936) state that you must implement your analyzer differently.

Especially switching back between old and new SDK (for debugging) would be much easier if the SDK version number would be supplied in some header file, so you could simply use #ifdefs and react to whatever SDK directory you set your include path to.

It might not be possible to add this to old SDK releases (they would have to be re-released?), but the current SDK could maybe add this, or alternatively a #define SDK_LEVEL 2 (or similar).

@Marcus10110
Copy link
Contributor

Definitely. This is planned, as well as a few other improvements that will let the master branch build for both the latest SDK and the legacy SDK on Windows. There is a lot of stuff to do here, including getting all of Saleae's analyzers on github too, but it's going to be a while before I can get back to it, there is another project that's going to hold our attention for a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants