Skip to content

Commit

Permalink
machxo2_breakout: Make UART resource optional
Browse files Browse the repository at this point in the history
  • Loading branch information
neuschaefer committed Jul 25, 2023
1 parent a26a5a8 commit f56a96d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions amaranth_boards/machxo2_breakout.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ class MachXO2_7000HE_BreakoutPlatform(LatticeMachXO2Platform):
speed = "4"
resources = [
*LEDResources(pins="97 98 99 100 104 105 106 107", invert=True),

# Connectable to the FTDI UART but disconnected by default. Populate R14-R21 to connect.
UARTResource(0, rx="73", tx="74", rts="75", cts="76", dtr="81", dsr="77", dcd="78", role="dte"),
]

# Connectable to the FTDI UART but disconnected by default. Populate R14-R21 to connect.
# Use `p.add_resource(p.serial)` to add the resource.
serial = UARTResource(0, rx="73", tx="74", rts="75", cts="76", dtr="81", dsr="77", dcd="78", role="dte")

connectors = [
Connector("j", 2, # J2
"- - "
Expand Down

0 comments on commit f56a96d

Please sign in to comment.