Skip to content
Snippets Groups Projects
Commit de558580 authored by Benjamin Koch's avatar Benjamin Koch
Browse files

skip DNP and solder jumpers in BOM

parent e7b0b138
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,7 @@
<!-- for Muenchian grouping of footprint and value combination -->
<xsl:for-each select="comp[count(. | key('partTypeByValueAndFootprint', concat(footprint, '-', value))[1]) = 1]">
<xsl:sort select="@ref" />
<xsl:if test="not(fields/field[@name='DNP']/text() = '1') and not(fields/field[@name='DNP']/text() = 'PCBA') and not(libsource/@lib = 'Jumper' and starts-with(libsource/@part, 'SolderJumper_'))">
<xsl:text>&nl;</xsl:text>
<xsl:text>"</xsl:text><xsl:value-of select="value"/><xsl:text>","</xsl:text>
<!-- list of all references -->
......@@ -69,6 +70,7 @@
<xsl:value-of select="footprint"/><xsl:text>","</xsl:text>
<xsl:value-of select="fields/field[@name='LCSC']"/><xsl:text>"</xsl:text>
</xsl:if>
</xsl:for-each>
</xsl:template>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment