From 964251075187857f74b9438eea25e38e5ca56442 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 30 Jul 2018 05:48:35 +0100 Subject: [PATCH] whoops _mk_pincon bypass --- src/bsv/peripheral_gen/nspi.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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});" -- 2.30.2