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

Fixes #2103: calculate memory depth for WS2812 #2104

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

andelf
Copy link
Contributor

@andelf andelf commented Oct 25, 2024

This fixes #2103 .

When Memory depth is 1, a register should be used. In this fix, use memory of depth 2 to simplify this situation.

See-also: m-labs/migen#295

@enjoy-digital
Copy link
Owner

Thanks @andelf, the simple solution is indeed perfectly fine for now to avoid different architectures for this specific case.

@enjoy-digital enjoy-digital merged commit 18714df into enjoy-digital:master Oct 28, 2024
@andelf andelf deleted the fix/ws2812-of-1-led branch October 29, 2024 05:34
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.

Unable to create WS2812 of nleds = 1
2 participants