From: Luke Kenneth Casson Leighton Date: Mon, 30 Jul 2018 04:48:35 +0000 (+0100) Subject: whoops _mk_pincon bypass X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=964251075187857f74b9438eea25e38e5ca56442;p=pinmux.git whoops _mk_pincon bypass --- diff --git a/src/bsv/peripheral_gen/nspi.py b/src/bsv/peripheral_gen/nspi.py index c92df0f..fce899f 100644 --- a/src/bsv/peripheral_gen/nspi.py +++ b/src/bsv/peripheral_gen/nspi.py @@ -38,8 +38,9 @@ class nspi(PBase): 'nss': 1, }.get(pname, '') - def mk_pincon(self, name, count): - ret = [PBase.mk_pincon(self, name, count)] + def _mk_pincon(self, name, count, typ): + assert typ == 'slow', "TODO, make slow mkConnection" + ret = [PBase.mk_pincon(self, name, count, typ)] # special-case for gpio in, store in a temporary vector plen = len(self.peripheral.pinspecs) template = "mkConnection({0}.{1},\n\t\t\t{2}.{1});"