whoops _mk_pincon bypass
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 30 Jul 2018 04:48:35 +0000 (05:48 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 30 Jul 2018 04:48:35 +0000 (05:48 +0100)
src/bsv/peripheral_gen/nspi.py

index c92df0fd0297a40a948e910c14421da1dc3cc996..fce899f49235911eb88e03df16557641a6e8d5cf 100644 (file)
@@ -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});"