diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-03-28 16:38:50 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-03-28 16:43:14 +0100 |
commit | fa85d46af0b91477cf354947df628af0dc0d2800 (patch) | |
tree | b18b775d232560f57eaeb3f43d0861b98201d4ef /demo/thirdparty/olinuxino | |
parent | 52401b170d8f1c9deaa153acca76e7d6060a06df (diff) | |
download | ee-python-fa85d46af0b91477cf354947df628af0dc0d2800.tar.gz ee-python-fa85d46af0b91477cf354947df628af0dc0d2800.tar.bz2 ee-python-fa85d46af0b91477cf354947df628af0dc0d2800.tar.xz ee-python-fa85d46af0b91477cf354947df628af0dc0d2800.zip |
ee.xsd:
o Renaming <part-uri> to <part-reference>.
o Adding <supplier> on <part>, removing from <supplier-part-number>. A
part can have exactly one part.
create-order:
o Creating anonymous part objects, with two references, one schematic
reference and one part-uri reference to the selected part.
o Redoing how the order is calculated with the new ObjDb structure.
ee.part.Part:
o Absorbing bom_file_utils into Part. Much better wrapper object around
the xml goop.
Diffstat (limited to 'demo/thirdparty/olinuxino')
-rw-r--r-- | demo/thirdparty/olinuxino/ee/reports/order.rst | 832 | ||||
-rw-r--r-- | demo/thirdparty/olinuxino/py/olinuxino.py | 35 |
2 files changed, 849 insertions, 18 deletions
diff --git a/demo/thirdparty/olinuxino/ee/reports/order.rst b/demo/thirdparty/olinuxino/ee/reports/order.rst index d0f21a3..bdf7e6d 100644 --- a/demo/thirdparty/olinuxino/ee/reports/order.rst +++ b/demo/thirdparty/olinuxino/ee/reports/order.rst @@ -6,2081 +6,2913 @@ Has unresolved parts: yes. Parts for Order =============== +.. _ref-ANT1: + ANT1 ---- Part not resolved. +.. _ref-C1: + C1 -- Part not resolved. +.. _ref-C2: + C2 -- Part not resolved. +.. _ref-C3: + C3 -- Part not resolved. +.. _ref-C4: + C4 -- Part not resolved. +.. _ref-C5: + C5 -- Part not resolved. +.. _ref-C6: + C6 -- Part not resolved. +.. _ref-C7: + C7 -- Part not resolved. +.. _ref-C8: + C8 -- Part not resolved. +.. _ref-C9: + C9 -- Part not resolved. +.. _ref-C10: + C10 --- Part not resolved. +.. _ref-C11: + C11 --- Part not resolved. +.. _ref-C12: + C12 --- Part not resolved. +.. _ref-C13: + C13 --- Part not resolved. +.. _ref-C14: + C14 --- Part not resolved. +.. _ref-C15: + C15 --- Part not resolved. +.. _ref-C16: + C16 --- Part not resolved. +.. _ref-C17: + C17 --- Part not resolved. +.. _ref-C18: + C18 --- Part not resolved. +.. _ref-C19: + C19 --- Part not resolved. +.. _ref-C20: + C20 --- Part not resolved. +.. _ref-C21: + C21 --- Part not resolved. +.. _ref-C22: + C22 --- Part not resolved. +.. _ref-C23: + C23 --- Part not resolved. +.. _ref-C24: + C24 --- Part not resolved. +.. _ref-C25: + C25 --- Part not resolved. +.. _ref-C26: + C26 --- Part not resolved. +.. _ref-C27: + C27 --- Part not resolved. +.. _ref-C28: + C28 --- Part not resolved. +.. _ref-C29: + C29 --- Part not resolved. +.. _ref-C30: + C30 --- Part not resolved. +.. _ref-C31: + C31 --- Part not resolved. +.. _ref-C32: + C32 --- Part not resolved. +.. _ref-C33: + C33 --- Part not resolved. +.. _ref-C34: + C34 --- Part not resolved. +.. _ref-C35: + C35 --- Part not resolved. +.. _ref-C36: + C36 --- Part not resolved. +.. _ref-C37: + C37 --- Part not resolved. +.. _ref-C38: + C38 --- Part not resolved. +.. _ref-C39: + C39 --- Part not resolved. +.. _ref-C40: + C40 --- Part not resolved. +.. _ref-C41: + C41 --- Part not resolved. +.. _ref-C42: + C42 --- Part not resolved. +.. _ref-C43: + C43 --- Part not resolved. +.. _ref-C44: + C44 --- Part not resolved. +.. _ref-C45: + C45 --- Part not resolved. +.. _ref-C46: + C46 --- Part not resolved. +.. _ref-C47: + C47 --- Part not resolved. +.. _ref-C48: + C48 --- Part not resolved. +.. _ref-C49: + C49 --- Part not resolved. +.. _ref-C50: + C50 --- Part not resolved. +.. _ref-C51: + C51 --- Part not resolved. +.. _ref-C52: + C52 --- Part not resolved. +.. _ref-C53: + C53 --- Part not resolved. +.. _ref-C54: + C54 --- Part not resolved. +.. _ref-C55: + C55 --- Part not resolved. +.. _ref-C56: + C56 --- Part not resolved. +.. _ref-C57: + C57 --- Part not resolved. +.. _ref-C58: + C58 --- Part not resolved. +.. _ref-C59: + C59 --- Part not resolved. +.. _ref-C60: + C60 --- Part not resolved. +.. _ref-C61: + C61 --- Part not resolved. +.. _ref-C62: + C62 --- Part not resolved. +.. _ref-C63: + C63 --- Part not resolved. +.. _ref-C64: + C64 --- Part not resolved. +.. _ref-C65: + C65 --- Part not resolved. +.. _ref-C66: + C66 --- Part not resolved. +.. _ref-C67: + C67 --- Part not resolved. +.. _ref-C68: + C68 --- Part not resolved. +.. _ref-C69: + C69 --- Part not resolved. +.. _ref-C70: + C70 --- Part not resolved. +.. _ref-C71: + C71 --- Part not resolved. +.. _ref-C72: + C72 --- Part not resolved. +.. _ref-C73: + C73 --- Part not resolved. +.. _ref-C74: + C74 --- Part not resolved. +.. _ref-C75: + C75 --- Part not resolved. +.. _ref-C76: + C76 --- Part not resolved. +.. _ref-C77: + C77 --- Part not resolved. +.. _ref-C78: + C78 --- Part not resolved. +.. _ref-C79: + C79 --- Part not resolved. +.. _ref-C80: + C80 --- Part not resolved. +.. _ref-C81: + C81 --- Part not resolved. +.. _ref-C82: + C82 --- Part not resolved. +.. _ref-C83: + C83 --- Part not resolved. +.. _ref-C84: + C84 --- Part not resolved. +.. _ref-C85: + C85 --- Part not resolved. +.. _ref-C86: + C86 --- Part not resolved. +.. _ref-C87: + C87 --- Part not resolved. +.. _ref-C89: + C89 --- Part not resolved. +.. _ref-C90: + C90 --- Part not resolved. +.. _ref-C91: + C91 --- Part not resolved. +.. _ref-C92: + C92 --- Part not resolved. +.. _ref-C105: + C105 ---- Part not resolved. +.. _ref-C106: + C106 ---- Part not resolved. +.. _ref-C107: + C107 ---- Part not resolved. +.. _ref-C109: + C109 ---- Part not resolved. +.. _ref-C110: + C110 ---- Part not resolved. +.. _ref-C115: + C115 ---- Part not resolved. +.. _ref-C116: + C116 ---- Part not resolved. +.. _ref-C117: + C117 ---- Part not resolved. +.. _ref-C118: + C118 ---- Part not resolved. +.. _ref-C119: + C119 ---- Part not resolved. +.. _ref-C120: + C120 ---- Part not resolved. +.. _ref-C121: + C121 ---- Part not resolved. +.. _ref-C122: + C122 ---- Part not resolved. +.. _ref-C123: + C123 ---- Part not resolved. +.. _ref-C124: + C124 ---- Part not resolved. +.. _ref-C125: + C125 ---- Part not resolved. +.. _ref-C126: + C126 ---- Part not resolved. +.. _ref-C127: + C127 ---- Part not resolved. +.. _ref-C128: + C128 ---- Part not resolved. +.. _ref-C129: + C129 ---- Part not resolved. +.. _ref-C130: + C130 ---- Part not resolved. +.. _ref-C131: + C131 ---- Part not resolved. +.. _ref-C132: + C132 ---- Part not resolved. +.. _ref-C133: + C133 ---- Part not resolved. +.. _ref-C134: + C134 ---- Part not resolved. +.. _ref-C135: + C135 ---- Part not resolved. +.. _ref-C136: + C136 ---- Part not resolved. +.. _ref-C137: + C137 ---- Part not resolved. +.. _ref-C138: + C138 ---- Part not resolved. +.. _ref-C139: + C139 ---- Part not resolved. +.. _ref-C140: + C140 ---- Part not resolved. +.. _ref-C141: + C141 ---- Part not resolved. +.. _ref-C142: + C142 ---- Part not resolved. +.. _ref-C143: + C143 ---- Part not resolved. +.. _ref-C144: + C144 ---- Part not resolved. +.. _ref-C145: + C145 ---- Part not resolved. +.. _ref-C146: + C146 ---- Part not resolved. +.. _ref-C147: + C147 ---- Part not resolved. +.. _ref-C148: + C148 ---- Part not resolved. +.. _ref-C149: + C149 ---- Part not resolved. +.. _ref-C150: + C150 ---- Part not resolved. +.. _ref-C151: + C151 ---- Part not resolved. +.. _ref-C152: + C152 ---- Part not resolved. +.. _ref-C153: + C153 ---- Part not resolved. +.. _ref-C154: + C154 ---- Part not resolved. +.. _ref-C155: + C155 ---- Part not resolved. +.. _ref-C156: + C156 ---- Part not resolved. +.. _ref-C157: + C157 ---- Part not resolved. +.. _ref-C158: + C158 ---- Part not resolved. +.. _ref-C159: + C159 ---- Part not resolved. +.. _ref-C160: + C160 ---- Part not resolved. +.. _ref-C161: + C161 ---- Part not resolved. +.. _ref-C162: + C162 ---- Part not resolved. +.. _ref-C163: + C163 ---- Part not resolved. +.. _ref-C164: + C164 ---- Part not resolved. +.. _ref-C165: + C165 ---- Part not resolved. +.. _ref-C166: + C166 ---- Part not resolved. +.. _ref-C167: + C167 ---- Part not resolved. +.. _ref-C168: + C168 ---- Part not resolved. +.. _ref-C169: + C169 ---- Part not resolved. +.. _ref-C170: + C170 ---- Part not resolved. +.. _ref-C171: + C171 ---- Part not resolved. +.. _ref-C172: + C172 ---- Part not resolved. +.. _ref-C173: + C173 ---- Part not resolved. +.. _ref-C174: + C174 ---- Part not resolved. +.. _ref-C175: + C175 ---- Part not resolved. +.. _ref-C176: + C176 ---- Part not resolved. +.. _ref-C177: + C177 ---- Part not resolved. +.. _ref-C178: + C178 ---- Part not resolved. +.. _ref-C179: + C179 ---- Part not resolved. +.. _ref-C180: + C180 ---- Part not resolved. +.. _ref-C181: + C181 ---- Part not resolved. +.. _ref-C182: + C182 ---- Part not resolved. +.. _ref-C183: + C183 ---- Part not resolved. +.. _ref-C184: + C184 ---- Part not resolved. +.. _ref-C185: + C185 ---- Part not resolved. +.. _ref-C186: + C186 ---- Part not resolved. +.. _ref-C187: + C187 ---- Part not resolved. +.. _ref-C188: + C188 ---- Part not resolved. +.. _ref-C189: + C189 ---- Part not resolved. +.. _ref-C190: + C190 ---- Part not resolved. +.. _ref-C191: + C191 ---- Part not resolved. +.. _ref-C192: + C192 ---- Part not resolved. +.. _ref-C193: + C193 ---- Part not resolved. +.. _ref-C194: + C194 ---- Part not resolved. +.. _ref-C195: + C195 ---- Part not resolved. +.. _ref-C196: + C196 ---- Part not resolved. +.. _ref-C197: + C197 ---- Part not resolved. +.. _ref-C198: + C198 ---- Part not resolved. +.. _ref-C199: + C199 ---- Part not resolved. +.. _ref-C200: + C200 ---- Part not resolved. +.. _ref-C201: + C201 ---- Part not resolved. +.. _ref-C202: + C202 ---- Part not resolved. +.. _ref-C203: + C203 ---- Part not resolved. +.. _ref-C204: + C204 ---- Part not resolved. +.. _ref-C205: + C205 ---- Part not resolved. +.. _ref-C206: + C206 ---- Part not resolved. +.. _ref-C207: + C207 ---- Part not resolved. +.. _ref-C208: + C208 ---- Part not resolved. +.. _ref-C209: + C209 ---- Part not resolved. +.. _ref-C210: + C210 ---- Part not resolved. +.. _ref-C211: + C211 ---- Part not resolved. +.. _ref-C212: + C212 ---- Part not resolved. +.. _ref-C213: + C213 ---- Part not resolved. +.. _ref-C214: + C214 ---- Part not resolved. +.. _ref-C215: + C215 ---- Part not resolved. +.. _ref-C216: + C216 ---- Part not resolved. +.. _ref-C217: + C217 ---- Part not resolved. +.. _ref-C218: + C218 ---- Part not resolved. +.. _ref-C219: + C219 ---- Part not resolved. +.. _ref-CHGLED1: + CHGLED1 ------- Part not resolved. +.. _ref-D1: + D1 -- Part not resolved. +.. _ref-D2: + D2 -- Part not resolved. +.. _ref-D3: + D3 -- Part not resolved. +.. _ref-D4: + D4 -- Part not resolved. +.. _ref-D5: + D5 -- Part not resolved. +.. _ref-DBG_UART1: + DBG_UART1 --------- Part not resolved. +.. _ref-DDR-VCC1: + DDR-VCC1 -------- Part not resolved. +.. _ref-FET1: + FET1 ---- Part not resolved. +.. _ref-FET2: + FET2 ---- Part not resolved. +.. _ref-FUSE1: + FUSE1 ----- Part not resolved. +.. _ref-FUSE2: + FUSE2 ----- Part not resolved. +.. _ref-GND1: + GND1 ---- Part not resolved. +.. _ref-GNDA1: + GNDA1 ----- Part not resolved. +.. _ref-GPIO1: + GPIO1 ----- Part not resolved. +.. _ref-GPIO_LED1: + GPIO_LED1 --------- Part not resolved. +.. _ref-HDMI1: + HDMI1 ----- Part not resolved. +.. _ref-HEADPHONES/LINEOUT1: + HEADPHONES/LINEOUT1 ------------------- Part not resolved. +.. _ref-HPHONEOUTL/LINEOUTL1: + HPHONEOUTL/LINEOUTL1 -------------------- Part not resolved. +.. _ref-HPHONEOUTR/LINEOUTR1: + HPHONEOUTR/LINEOUTR1 -------------------- Part not resolved. +.. _ref-HSIC1: + HSIC1 ----- Part not resolved. +.. _ref-HSIC_E1: + HSIC_E1 ------- Part not resolved. +.. _ref-IPS1: + IPS1 ---- Part not resolved. +.. _ref-L1: + L1 -- Part not resolved. +.. _ref-L2: + L2 -- Part not resolved. +.. _ref-L3: + L3 -- Part not resolved. +.. _ref-L4: + L4 -- Part not resolved. +.. _ref-L5: + L5 -- Part not resolved. +.. _ref-L6: + L6 -- Part not resolved. +.. _ref-L8: + L8 -- Part not resolved. +.. _ref-L14: + L14 --- Part not resolved. +.. _ref-L15: + L15 --- Part not resolved. +.. _ref-L16: + L16 --- Part not resolved. +.. _ref-L17: + L17 --- Part not resolved. +.. _ref-L18: + L18 --- Part not resolved. +.. _ref-L19: + L19 --- Part not resolved. +.. _ref-L20: + L20 --- Part not resolved. +.. _ref-L21: + L21 --- Part not resolved. +.. _ref-L23: + L23 --- Part not resolved. +.. _ref-L24: + L24 --- Part not resolved. +.. _ref-LAN1: + LAN1 ---- Part not resolved. +.. _ref-LCD_CON1: + LCD_CON1 -------- Part not resolved. +.. _ref-LINEINL/MICIN2: + LINEINL/MICIN2 -------------- Part not resolved. +.. _ref-LINEINR/MICIN1: + LINEINR/MICIN1 -------------- Part not resolved. +.. _ref-LIPO_BAT1: + LIPO_BAT1 --------- Part not resolved. +.. _ref-MIC/LINEIN1: + MIC/LINEIN1 ----------- Part not resolved. +.. _ref-MICRO_SD1: + MICRO_SD1 --------- Part not resolved. +.. _ref-MIPI-DSI1: + MIPI-DSI1 --------- Part not resolved. +.. _ref-Mounting_hole1: + Mounting_hole1 -------------- Part not resolved. +.. _ref-Mounting_hole2: + Mounting_hole2 -------------- Part not resolved. +.. _ref-Mounting_hole3: + Mounting_hole3 -------------- Part not resolved. +.. _ref-NAND_E1: + NAND_E1 ------- Part not resolved. +.. _ref-PHYRST1: + PHYRST1 ------- Part not resolved. +.. _ref-PWR1: + PWR1 ---- Part not resolved. +.. _ref-PWRLED1: + PWRLED1 ------- Part not resolved. +.. _ref-PWRON1: + PWRON1 ------ Part not resolved. +.. _ref-PWR_PC1: + PWR_PC1 ------- Part not resolved. +.. _ref-Q2: + Q2 -- Part not resolved. +.. _ref-Q3: + Q3 -- Part not resolved. +.. _ref-Q4: + Q4 -- Part not resolved. +.. _ref-R1: + R1 -- Part not resolved. +.. _ref-R2: + R2 -- Part not resolved. +.. _ref-R3: + R3 -- Part not resolved. +.. _ref-R4: + R4 -- Part not resolved. +.. _ref-R5: + R5 -- Part not resolved. +.. _ref-R6: + R6 -- Part not resolved. +.. _ref-R7: + R7 -- Part not resolved. +.. _ref-R8: + R8 -- Part not resolved. +.. _ref-R9: + R9 -- Part not resolved. +.. _ref-R10: + R10 --- Part not resolved. +.. _ref-R11: + R11 --- Part not resolved. +.. _ref-R12: + R12 --- Part not resolved. +.. _ref-R13: + R13 --- Part not resolved. +.. _ref-R14: + R14 --- Part not resolved. +.. _ref-R15: + R15 --- Part not resolved. +.. _ref-R16: + R16 --- Part not resolved. +.. _ref-R17: + R17 --- Part not resolved. +.. _ref-R18: + R18 --- Part not resolved. +.. _ref-R19: + R19 --- Part not resolved. +.. _ref-R20: + R20 --- Part not resolved. +.. _ref-R21: + R21 --- Part not resolved. +.. _ref-R22: + R22 --- Part not resolved. +.. _ref-R23: + R23 --- Part not resolved. +.. _ref-R24: + R24 --- Part not resolved. +.. _ref-R25: + R25 --- Part not resolved. +.. _ref-R26: + R26 --- Part not resolved. +.. _ref-R27: + R27 --- Part not resolved. +.. _ref-R28: + R28 --- Part not resolved. +.. _ref-R29: + R29 --- Part not resolved. +.. _ref-R30: + R30 --- Part not resolved. +.. _ref-R31: + R31 --- Part not resolved. +.. _ref-R32: + R32 --- Part not resolved. +.. _ref-R33: + R33 --- Part not resolved. +.. _ref-R34: + R34 --- Part not resolved. +.. _ref-R35: + R35 --- Part not resolved. +.. _ref-R36: + R36 --- Part not resolved. +.. _ref-R37: + R37 --- Part not resolved. +.. _ref-R38: + R38 --- Part not resolved. +.. _ref-R39: + R39 --- Part not resolved. +.. _ref-R40: + R40 --- Part not resolved. +.. _ref-R41: + R41 --- Part not resolved. +.. _ref-R42: + R42 --- Part not resolved. +.. _ref-R43: + R43 --- Part not resolved. +.. _ref-R44: + R44 --- Part not resolved. +.. _ref-R45: + R45 --- Part not resolved. +.. _ref-R46: + R46 --- Part not resolved. +.. _ref-R47: + R47 --- Part not resolved. +.. _ref-R48: + R48 --- Part not resolved. +.. _ref-R49: + R49 --- Part not resolved. +.. _ref-R50: + R50 --- Part not resolved. +.. _ref-R51: + R51 --- Part not resolved. +.. _ref-R52: + R52 --- Part not resolved. +.. _ref-R53: + R53 --- Part not resolved. +.. _ref-R54: + R54 --- Part not resolved. +.. _ref-R55: + R55 --- Part not resolved. +.. _ref-R56: + R56 --- Part not resolved. +.. _ref-R57: + R57 --- Part not resolved. +.. _ref-R58: + R58 --- Part not resolved. +.. _ref-R59: + R59 --- Part not resolved. +.. _ref-R60: + R60 --- Part not resolved. +.. _ref-R61: + R61 --- Part not resolved. +.. _ref-R62: + R62 --- Part not resolved. +.. _ref-R63: + R63 --- Part not resolved. +.. _ref-R64: + R64 --- Part not resolved. +.. _ref-R65: + R65 --- Part not resolved. +.. _ref-R66: + R66 --- Part not resolved. +.. _ref-R70: + R70 --- Part not resolved. +.. _ref-R71: + R71 --- Part not resolved. +.. _ref-R74: + R74 --- Part not resolved. +.. _ref-R75: + R75 --- Part not resolved. +.. _ref-R76: + R76 --- Part not resolved. +.. _ref-R77: + R77 --- Part not resolved. +.. _ref-R78: + R78 --- Part not resolved. +.. _ref-R79: + R79 --- Part not resolved. +.. _ref-R80: + R80 --- Part not resolved. +.. _ref-R81: + R81 --- Part not resolved. +.. _ref-R82: + R82 --- Part not resolved. +.. _ref-R83: + R83 --- Part not resolved. +.. _ref-R84: + R84 --- Part not resolved. +.. _ref-R85: + R85 --- Part not resolved. +.. _ref-R86: + R86 --- Part not resolved. +.. _ref-R87: + R87 --- Part not resolved. +.. _ref-R88: + R88 --- Part not resolved. +.. _ref-R89: + R89 --- Part not resolved. +.. _ref-R90: + R90 --- Part not resolved. +.. _ref-R91: + R91 --- Part not resolved. +.. _ref-R92: + R92 --- Part not resolved. +.. _ref-R93: + R93 --- Part not resolved. +.. _ref-R94: + R94 --- Part not resolved. +.. _ref-R95: + R95 --- Part not resolved. +.. _ref-R96: + R96 --- Part not resolved. +.. _ref-R97: + R97 --- Part not resolved. +.. _ref-R98: + R98 --- Part not resolved. +.. _ref-R99: + R99 --- Part not resolved. +.. _ref-R100: + R100 ---- Part not resolved. +.. _ref-R101: + R101 ---- Part not resolved. +.. _ref-R102: + R102 ---- Part not resolved. +.. _ref-R103: + R103 ---- Part not resolved. +.. _ref-R104: + R104 ---- Part not resolved. +.. _ref-R105: + R105 ---- Part not resolved. +.. _ref-R106: + R106 ---- Part not resolved. +.. _ref-R107: + R107 ---- Part not resolved. +.. _ref-R108: + R108 ---- Part not resolved. +.. _ref-R109: + R109 ---- Part not resolved. +.. _ref-R110: + R110 ---- Part not resolved. +.. _ref-R111: + R111 ---- Part not resolved. +.. _ref-R112: + R112 ---- Part not resolved. +.. _ref-R113: + R113 ---- Part not resolved. +.. _ref-R114: + R114 ---- Part not resolved. +.. _ref-R115: + R115 ---- Part not resolved. +.. _ref-R116: + R116 ---- Part not resolved. +.. _ref-R117: + R117 ---- Part not resolved. +.. _ref-R118: + R118 ---- Part not resolved. +.. _ref-R119: + R119 ---- Part not resolved. +.. _ref-R120: + R120 ---- Part not resolved. +.. _ref-RESET1: + RESET1 ------ Part not resolved. +.. _ref-RM1: + RM1 --- Part not resolved. +.. _ref-RM2: + RM2 --- Part not resolved. +.. _ref-RM3: + RM3 --- Part not resolved. +.. _ref-RM4: + RM4 --- Part not resolved. +.. _ref-RM5: + RM5 --- Part not resolved. +.. _ref-RM7: + RM7 --- Part not resolved. +.. _ref-RM8: + RM8 --- Part not resolved. +.. _ref-RM9: + RM9 --- Part not resolved. +.. _ref-RM12: + RM12 ---- Part not resolved. +.. _ref-RM14: + RM14 ---- Part not resolved. +.. _ref-RM15: + RM15 ---- Part not resolved. +.. _ref-T1: + T1 -- Part not resolved. +.. _ref-U1: + U1 -- Part not resolved. +.. _ref-U1: + U1 -- Part not resolved. +.. _ref-U1: + U1 -- Part not resolved. +.. _ref-U1: + U1 -- Part not resolved. +.. _ref-U2: + U2 -- Part not resolved. +.. _ref-U3: + U3 -- Part not resolved. +.. _ref-U4: + U4 -- Part not resolved. +.. _ref-U5: + U5 -- Part not resolved. +.. _ref-U6: + U6 -- Part not resolved. +.. _ref-U7: + U7 -- Part not resolved. +.. _ref-U8: + U8 -- Part not resolved. +.. _ref-U9: + U9 -- Part not resolved. +.. _ref-U10: + U10 --- Part not resolved. +.. _ref-U11: + U11 --- Part not resolved. +.. _ref-U12: + U12 --- Part not resolved. +.. _ref-U13: + U13 --- Part not resolved. +.. _ref-U14: + U14 --- Part not resolved. +.. _ref-U15: + U15 --- Part not resolved. +.. _ref-UBOOT1: + UBOOT1 ------ Part not resolved. +.. _ref-UEXT1: + UEXT1 ----- Part not resolved. +.. _ref-USB1: + USB1 ---- Part not resolved. +.. _ref-USB-OTG1: + USB-OTG1 -------- Part not resolved. +.. _ref-VCC-PC1: + VCC-PC1 ------- Part not resolved. +.. _ref-VCC-PL1: + VCC-PL1 ------- Part not resolved. +.. _ref-VR1: + VR1 --- Part not resolved. +.. _ref-5V_E1: + 5V_E1 ----- diff --git a/demo/thirdparty/olinuxino/py/olinuxino.py b/demo/thirdparty/olinuxino/py/olinuxino.py index 0b6fd1e..49b634f 100644 --- a/demo/thirdparty/olinuxino/py/olinuxino.py +++ b/demo/thirdparty/olinuxino/py/olinuxino.py @@ -3,9 +3,8 @@ import re from ee import EeException, EeVal from ee.kicad import Component from ee.kicad.make_bom import MakeBomStrategy -from ee.xml import types, bom_file_utils -from ee.part import fact_keys -from ee.xml.bom_file_utils import facts +from ee.xml import types +from ee.part import fact_keys, Part c_value_re = re.compile("([0-9]+\\.?[0-9]*[mupn]F)/([0-9]+\\.?[0-9]*[k]?V)/([0-9]+)%(?:/([A-Z][0-9][A-Z]))?") r_value_re = re.compile(r"([^/]+)(?:/([^/]+)(?:/([^/]+))?)?") @@ -14,14 +13,14 @@ r_value_re = re.compile(r"([^/]+)(?:/([^/]+)(?:/([^/]+))?)?") class OlinuxinoMakeBomStrategy(MakeBomStrategy): @staticmethod - def set_default(fs, fact_key: str, value): - fact = bom_file_utils.find_fact(fs, fact_key) + def set_default(part: Part, fact_key: str, value): + fact = part.find_fact(fact_key) if fact: return - fs.add_fact(types.Fact(key=fact_key, value=value)) + part.get_facts().append(types.Fact(key=fact_key, value=value)) - def process_part(self, component: Component, part: types.Part): + def process_part(self, component: Component, part: Part): debug = False print(component.ref) @@ -35,7 +34,7 @@ class OlinuxinoMakeBomStrategy(MakeBomStrategy): s = component.footprint.split(":") fp_lib, fp_part = s[0], s[1] - fs = facts(part, create=True) + fs = part.get_facts() na = v.startswith("NA(") and v.endswith(")") or v == "NA" if na: @@ -63,11 +62,11 @@ class OlinuxinoMakeBomStrategy(MakeBomStrategy): if na: print(" NA".format()) - fs.add_fact(types.Fact(key=fact_keys.capacitance, value=capacitance)) - fs.add_fact(types.Fact(key=fact_keys.max_voltage, value=voltage)) - fs.add_fact(types.Fact(key=fact_keys.value_tolerance, value=tolerance)) + fs.append(types.Fact(key=fact_keys.capacitance, value=capacitance)) + fs.append(types.Fact(key=fact_keys.max_voltage, value=voltage)) + fs.append(types.Fact(key=fact_keys.value_tolerance, value=tolerance)) if rs_198_class_2: - fs.add_fact(types.Fact(key=fact_keys.rs_198_class_2, value=rs_198_class_2)) + fs.append(types.Fact(key=fact_keys.rs_198_class_2, value=rs_198_class_2)) elif component.ref_type == "R": # NA @@ -89,18 +88,18 @@ class OlinuxinoMakeBomStrategy(MakeBomStrategy): resistance = str(EeVal.parse(resistance)) - fs.add_fact(types.Fact(key=fact_keys.resistance, value=resistance)) + fs.append(types.Fact(key=fact_keys.resistance, value=resistance)) if tolerance: - fs.add_fact(types.Fact(key=fact_keys.value_tolerance, value=tolerance)) + fs.append(types.Fact(key=fact_keys.value_tolerance, value=tolerance)) if size: - fs.add_fact(types.Fact(key=fact_keys.imperial_footprint_size, value=size)) + fs.append(types.Fact(key=fact_keys.imperial_footprint_size, value=size)) - self.set_default(fs, fact_keys.value_tolerance, "10%") + self.set_default(part, fact_keys.value_tolerance, "10%") else: - fs.add_fact(types.Fact(key=fact_keys.value, value=v)) + fs.append(types.Fact(key=fact_keys.value, value=v)) if na: - fs.add_fact(types.Fact(key=fact_keys.place_part, value="no")) + fs.append(types.Fact(key=fact_keys.place_part, value="no")) # raise EeException("Unknown component kind: ref={}, ref type:{}, value={}, fp_lib={}, fp_part={}". # format(component.ref, component.ref_type, v, fp_lib, fp_part)) |