Skip to content

Commit 55c2f4a

Browse files
Merge pull request #422 from mmicko/colognechip_gatemate_evb
Added initial colognechip_gatemate_evb support
2 parents 26b9477 + ca9b3ff commit 55c2f4a

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

boards.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,3 +770,18 @@ def __init__(self):
770770
"serial",
771771
"spisdcard",
772772
})
773+
774+
#---------------------------------------------------------------------------------------------------
775+
# Gatemate Boards
776+
#---------------------------------------------------------------------------------------------------
777+
778+
# CologneChip GateMate EVB support ---------------------------------------------------------------------
779+
780+
class Colognechip_gatemate_evb(Board):
781+
soc_kwargs = {"sys_clk_freq": int(24e6)}
782+
def __init__(self):
783+
from litex_boards.targets import colognechip_gatemate_evb
784+
Board.__init__(self, colognechip_gatemate_evb.BaseSoC, soc_capabilities={
785+
"serial",
786+
"sdcard",
787+
})

make.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@ def main():
146146
from litex_boards.platforms.avnet_aesku40 import _sdcard_pmod_io
147147
board.platform.add_extension(_sdcard_pmod_io)
148148

149+
if board_name in ["colognechip_gatemate_evb"]:
150+
from litex_boards.platforms.colognechip_gatemate_evb import pmods_sdcard_io
151+
board.platform.add_extension(pmods_sdcard_io("PMODA"))
152+
149153
if board_name in ["orange_crab"]:
150154
from litex_boards.platforms.gsd_orangecrab import feather_i2c
151155
board.platform.add_extension(feather_i2c)

0 commit comments

Comments
 (0)