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

added validation #1

Merged
merged 4 commits into from
May 31, 2024
Merged

added validation #1

merged 4 commits into from
May 31, 2024

Conversation

builderjer
Copy link
Contributor

No description provided.

@builderjer builderjer requested a review from JarbasAl May 12, 2024 22:12
if platform == "SJ201LED":
return True
# Try a direct hardware check
if is_mycroft_sj201():
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

has this been validated? not sure this plugin works at all, and if it does i think ONLY in devkit, so we need to exclude rev10 boards

Copy link
Contributor Author

@builderjer builderjer May 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is supposed to only allow the dev kit. I just added validation, have not tested the plugin
reference:
https://github.com/OpenVoiceOS/ovos-PHAL/blob/09f8b33460d2c785623f8b1c0ab73d50762064da/ovos_PHAL/detection.py#L5

But just noticed i2csound needs fixed for each board version.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ovos-i2csound was fixed here

With this PR, any auto-detection that I can think of is handled.

@builderjer builderjer marked this pull request as draft May 12, 2024 23:21
@builderjer builderjer marked this pull request as ready for review May 16, 2024 12:26
@builderjer builderjer requested a review from JarbasAl May 16, 2024 12:26
@JarbasAl
Copy link
Contributor

@builderjer think you can look into #2 and maybe rebase this one on top?

@builderjer
Copy link
Contributor Author

I am merging this, and will add more for the production unit soon. This at least allows detection for the dev unit.

@builderjer builderjer merged commit 5aa591d into dev May 31, 2024
@builderjer builderjer deleted the feat/validation branch May 31, 2024 12:09
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

Successfully merging this pull request may close these issues.

2 participants