From: Luke Kenneth Casson Leighton Date: Fri, 15 Apr 2022 22:54:10 +0000 (+0100) Subject: comment about UARTResource for orangecrab X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=510f628b2156f0551ddf68cd52da249049619a3e;p=ls2.git comment about UARTResource for orangecrab --- diff --git a/src/ls2.py b/src/ls2.py index 6226589..a959085 100644 --- a/src/ls2.py +++ b/src/ls2.py @@ -884,6 +884,7 @@ def build_platform(fpga, firmware): # get UART resource pins if platform is not None: if fpga=="orangecrab": + # assumes an FT232 USB-UART soldered onto these two pins. orangecrab_uart = UARTResource(0, rx="N17", tx="M18", attrs=Attrs(IOSTANDARD="LVCMOS33")) platform.add_resources([orangecrab_uart])