You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h3>Disabling/Enabling Cable or Vendor Drivers<aclass="headerlink" href="#disabling-enabling-cable-or-vendor-drivers" title="Link to this heading">¶</a></h3>
254
+
<p>With the default <codeclass="docutils literal notranslate"><spanclass="pre">cmake</span><spanclass="pre">..</span></code> configuration, openFPGALoader enables
255
+
<codeclass="docutils literal notranslate"><spanclass="pre">ENABLE_CABLE_ALL=ON</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">ENABLE_VENDORS_ALL=ON</span></code>. This means all cable
256
+
and vendor drivers are enabled by default, then filtered only by OS
257
+
capabilities and available dependencies.</p>
258
+
<p>To reduce binary size, speed up the build, or keep support limited to selected
259
+
cables/vendors, you can explicitly enable or disable options.</p>
<p>This produces an <strong>openFPGALoader</strong> binary with no cable/vendor support.
271
+
Then re-enable only what you need by adding one or more options below.</p>
272
+
<p>Each item in the following lists is a CMake option name. Use them with
273
+
<codeclass="docutils literal notranslate"><spanclass="pre">-D<OPTION>=ON</span></code> to enable or <codeclass="docutils literal notranslate"><spanclass="pre">-D<OPTION>=OFF</span></code> to disable.</p>
274
+
<divclass="admonition note">
275
+
<pclass="admonition-title">Note</p>
276
+
<p>The default value for each option is provided by <codeclass="docutils literal notranslate"><spanclass="pre">ENABLE_CABLE_ALL</span></code> and
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">ENABLE_ALTERA_SUPPORT</span></code>: Enable Altera/Intel device family support.</p></li>
310
+
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">ENABLE_ANLOGIC_SUPPORT</span></code>: Enable Anlogic device family support.</p></li>
311
+
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">ENABLE_COLOGNECHIP_SUPPORT</span></code>: Enable Cologne Chip device family support (requires libftdi).</p></li>
312
+
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">ENABLE_EFINIX_SUPPORT</span></code>: Enable Efinix device family support (requires libftdi).</p></li>
313
+
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">ENABLE_GOWIN_SUPPORT</span></code>: Enable Gowin device family support.</p></li>
314
+
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">ENABLE_ICE40_SUPPORT</span></code>: Enable Lattice iCE40 device family support (requires libftdi).</p></li>
315
+
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">ENABLE_LATTICE_SUPPORT</span></code>: Enable Lattice device family support.</p></li>
316
+
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">ENABLE_LATTICESSPI_SUPPORT</span></code>: Enable Lattice SSPI support (requires libftdi).</p></li>
317
+
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">ENABLE_XILINX_SUPPORT</span></code>: Enable Xilinx device family support.</p></li>
318
+
</ul>
319
+
<divclass="admonition note">
320
+
<pclass="admonition-title">Note</p>
321
+
<p>SPI support is hardcoded to FTDI. When FTDI support is disabled, some
322
+
vendor drivers are also disabled (<em>iCE40</em>, <em>Cologne Chip</em>, <em>Efinix</em>, and
323
+
<em>Lattice SSPI</em>).</p>
324
+
</div>
325
+
</section>
252
326
</section>
253
327
</section>
254
328
@@ -297,7 +371,10 @@ <h1 class="logo"><a href="../index.html">openFPGALoader: universal utility for p
297
371
<liclass="toctree-l3"><aclass="reference internal" href="#cross-compilation-from-linux">Cross-compilation from Linux</a></li>
0 commit comments