bankspec = OrderedDict()
self.offs = 0
pkeys = self.pinbanks.keys()
- print self.pinbanks
+ print (self.pinbanks)
for kn in pkeys:
bankspec[kn] = self.offs
self.offs += self.pinbanks[kn]
self.scenarios.append((name, needed, eint, pwm, descriptions))
- def write(self, pyf, of, pinmap):
+ def pywrite(self, pyf, pinmap):
+ return python_dict_fns(pyf, pinmap, self, self.function_names)
- fns = python_dict_fns(pyf, pinmap, self, self.function_names)
+ def write(self, of):
of.write("""# Pinouts (PinMux)
auto-generated by [[pinouts.py]]
of.write("""# Reference Datasheets
datasheets and pinout links
+* <https://ftp.libre-soc.org/STULPI01BTBR.en.CD00201527.pdf>
+* <https://ftp.libre-soc.org/3300db.pdf>
+* <https://ftp.libre-soc.org/1912111437_Realtek-Semicon-RTL8211F-CG_C187932.pdf>
* <http://datasheets.chipdb.org/AMD/8018x/80186/amd-80186.pdf>
* <http://hands.com/~lkcl/eoma/shenzen/frida/FRD144A2701.pdf>