platforms/de0nano: swap serial tx/rx to ease use of cheap FT232 based cables.

This commit is contained in:
Florent Kermarrec 2020-04-18 11:36:11 +02:00
parent 4185a019f5
commit 4ad6042e07
1 changed files with 4 additions and 2 deletions

View File

@ -28,8 +28,10 @@ _io = [
("sw", 3, Pins("M15"), IOStandard("3.3-V LVTTL")),
("serial", 0,
Subsignal("tx", Pins("B4"), IOStandard("3.3-V LVTTL")), # gpio_05
Subsignal("rx", Pins("B5"), IOStandard("3.3-V LVTTL")) # gpio_07
# Compatible with cheap FT232 based cables (ex: Gaoominy 6Pin Ftdi Ft232Rl Ft232)
# GND on JP1 Pin 12.
Subsignal("tx", Pins("B5"), IOStandard("3.3-V LVTTL")), # GPIO_07 (JP1 Pin 10)
Subsignal("rx", Pins("B4"), IOStandard("3.3-V LVTTL")) # GPIO_05 (JP1 Pin 8)
),
("sdram_clock", 0, Pins("R4"), IOStandard("3.3-V LVTTL")),