-
Notifications
You must be signed in to change notification settings - Fork 88
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
examples/ulx3s: serial port demo #80
Conversation
|
||
blinky_out.config: blinky.json | ||
nextpnr-ecp5 --json blinky.json --textcfg blinky_out.config --45k | ||
IDCODE ?= 0x21111043 # 12f |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps we should have a device option here too, that would also change the device passed to nextpnr?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like only (?) the -12f part requires this option. I'm not sure where the right place to fix this is (especially in light of things like https://github.com/SymbiFlow/prjtrellis/issues/55#issuecomment-452689924 ). Should nextpnr-ecp5 know about the 12f and its special id instead?
… ecppll merge Signed-off-by: Trammell hudson <[email protected]>
The blinky example is enough to show that the programmer works, although not how to communicate with the board over the serial port. This patch adds a simple serial UART and echos text back to the serial console, as well as converts the
Makefile
to use rules instead of hardcoding the filenames.With the LPF file in use, the serial RX works.