aboutsummaryrefslogtreecommitdiff
path: root/nmigen_boards/orangecrab_r0_2.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_2.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_2.py')
-rw-r--r--nmigen_boards/orangecrab_r0_2.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/nmigen_boards/orangecrab_r0_2.py b/nmigen_boards/orangecrab_r0_2.py
index 8853cbc..ccd48f4 100644
--- a/nmigen_boards/orangecrab_r0_2.py
+++ b/nmigen_boards/orangecrab_r0_2.py
@@ -32,7 +32,7 @@ class OrangeCrabR0_2Platform(LatticeECP5Platform):
attrs=Attrs(IO_TYPE="SSTL135_I")),
*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"),
),
@@ -99,8 +99,8 @@ class OrangeCrabR0_2Platform(LatticeECP5Platform):
"a2": "N4",
"a3": "H4",
"a4": "G4",
- "miso": "N15",
- "mosi": "N16",
+ "cipo": "N15",
+ "copi": "N16",
"sck": "R17",
"scl": "C9",
"sda": "C10"