aboutsummaryrefslogtreecommitdiff
path: root/nmigen_boards/orangecrab_r0_1.py
diff options
context:
space:
mode:
authorECP5-PCIe <65254322+ECP5-PCIe@users.noreply.github.com>2020-07-16 10:22:51 +0200
committerGitHub <noreply@github.com>2020-07-16 08:22:51 +0000
commit19cf06052230831e6d899aa3cf71539fe746a43e (patch)
tree6d138b34c46a822239879d31fc9d99b4e15b7a52 /nmigen_boards/orangecrab_r0_1.py
parent83d9ecdd47e6610ea71037e155a8e2fd51f9f19c (diff)
[breaking-change] Update SPI pin names.
The new names follow the OSHWA convention described at: https://www.oshwa.org/a-resolution-to-redefine-spi-signal-names/
Diffstat (limited to 'nmigen_boards/orangecrab_r0_1.py')
-rw-r--r--nmigen_boards/orangecrab_r0_1.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/nmigen_boards/orangecrab_r0_1.py b/nmigen_boards/orangecrab_r0_1.py
index d9964d3..abd9c7d 100644
--- a/nmigen_boards/orangecrab_r0_1.py
+++ b/nmigen_boards/orangecrab_r0_1.py
@@ -28,7 +28,7 @@ class OrangeCrabR0_1Platform(LatticeECP5Platform):
attrs=Attrs(IO_TYPE="LVCMOS33")),
*SPIFlashResources(0,
- cs="U17", clk="U16", miso="T18", mosi="U18", wp="R18", hold="N18",
+ cs="U17", clk="U16", cipo="T18", copi="U18", wp="R18", hold="N18",
attrs=Attrs(IO_TYPE="LVCMOS33"),
),
@@ -82,8 +82,8 @@ class OrangeCrabR0_1Platform(LatticeECP5Platform):
"11": "A8",
"12": "H2",
"13": "J2",
- "miso": "N15",
- "mosi": "N16",
+ "cipo": "N15",
+ "copi": "N16",
"sck": "R17",
"scl": "C9",
"sda": "C10"