clk_freq = 50e6
if fpga == 'ulx3s':
clk_freq = 40.0e6
+ if fpga == 'orangecrab':
+ clk_freq = 50e6
# merge dram_clk_freq with clk_freq if the same
if clk_freq == dram_clk_freq:
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"))
+ orangecrab_uart = UARTResource(0, rx="N17", tx="M18")
platform.add_resources([orangecrab_uart])
uart_pins = platform.request("uart", 0)