+ # In order to use the UART as a UART you need to swap two resistor jumpers,
+ # and potentially reconfigure the onboard FTDI chip, see section 6.2 in the
+ # User Manual for hardware instructions, and
+ # https://github.com/trabucayre/fixFT2232_ecp5evn to reconfigure the FTDI.
+ UARTResource(0,
+ rx="P2", tx="P3",
+ attrs=Attrs(IO_TYPE=bank6_iostandard, PULLMODE="UP")
+ ),
+
+ *SPIFlashResources(0,
+ cs="R2", clk="U3", miso="V2", mosi="W2", wp="Y2", hold="W1",
+ attrs=Attrs(IO_STANDARD="LVCMOS33")
+ ),
+