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 support for colorlight i9 board #266

Merged
merged 5 commits into from
Apr 27, 2024
Merged

Conversation

davidar
Copy link
Contributor

@davidar davidar commented Apr 6, 2024

It's largely copied from the ULX3S board, with pins renamed following LiteX-Boards and all the non-applicable peripherals removed. I've successfully run a number of the projects on this device, with some changes. In particular I noticed that many of the ULX3S-specific changes appeared to be compatible with ECP5-based targets in general, and indeed worked quite well on my board (e.g. the SDRAM controller was much more stable using the ULX3S code than the generic code), so I generalised those preprocessor conditions where it seemed appropriate (#246). Colorlight i5 support would also be quite easy to add, as it's essentially the same except for a smaller ECP5 chip and the LED on a different pin, but I haven't done that here as I don't have one to test it.

Edit: I realised I'm only able to reuse the ULX3S PLLs because it has the same input clock frequency as the colorlight (25MHz), so the preprocessor conditions should probably be updated to include that detail too, not sure what the best way to do that is though?

@sylefeb
Copy link
Owner

sylefeb commented Apr 9, 2024

Thanks, this is looking great. I'll run a few tests and merge asap.

@sylefeb sylefeb merged commit 489c1a3 into sylefeb:master Apr 27, 2024
@davidar davidar deleted the colorlight branch April 27, 2024 10:39
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