missing domain indicator, which removed EINT and PWM from JSON pads.instances
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 11 Nov 2020 13:01:34 +0000 (13:01 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 11 Nov 2020 13:01:34 +0000 (13:01 +0000)
src/spec/ls180.py

index 4f1d171..623ad48 100644 (file)
@@ -293,12 +293,14 @@ def pinparse(psp, pinspec):
             print ("I2C pad", name, pad)
         # EINT
         elif name.startswith('eint'):
+            domain = 'EINT'
             i = name[-1]
             name = 'eint_%s' % i
             name2 = 'eint(%s)' % i
             pad = ['p_' + name, name2, name2]
         # PWM
         elif name.startswith('pwm'):
+            domain = 'PWM'
             name = name[:-4]
             i = name[3:]
             name2 = 'pwm(%s)' % i