FPGAwars / apio

:seedling: Open source ecosystem for open FPGA boards
https://github.com/FPGAwars/apio/wiki
GNU General Public License v2.0
801 stars 137 forks source link

Assorted changes #458

Closed zapta closed 1 week ago

zapta commented 1 week ago
  1. In apio drivers renamed options names from enable/disable to install/uninstall.

  2. In apio -h, created a Deprecated commands group with the commands time, verify, install, uninstall. These commands are planned to be removed once we confirm that icestudio doesn't depend on them. The functionality of the commands was not changed.

  3. Added to apio package definitions the tools-system package to have ftdi_eeprom for manufacturing and other purposes. The goal is to decouple ftdi_eeprom from the tools-oss-cad-suite package. The new package is currently enabled for windows others platforms will be added as needed. Below is a log that demonstrate executing ftdi_eeprom on windows from the new package.

~/projects/apio_dev/repo$ apio packages --list

═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
Installed packages:
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• examples 0.0.36
  Verilog examples
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• oss-cad-suite 0.2.0
  YosysHQ/oss-cad-suite
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• graphviz 12.1.2
  Graphviz tool for Windows
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• drivers 1.2.0
  Drivers tools for Windows
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• system 1.1.2
  System tools
═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
Total: 5

~/projects/apio_dev/repo$ rm ~/.apio/packages/tools-oss-cad-suite/bin/ftdi_eeprom.exe
~/projects/apio_dev/repo$
~/projects/apio_dev/repo$ apio raw ftdi_eeprom
Setting the envinronment.

FTDI eeprom generator v0.17
(c) Intra2net AG and the libftdi developers <opensource@intra2net.com>
Syntax: ftdi_eeprom [...options...] <config-file>
Valid Options:
--device <description>  Specify device to open by description string. One of:
         d:<devicenode>
         i:<vendor>:<product>
         i:<vendor>:<product>:<index>
         s:<vendor>:<product>:<serial>
--read-eeprom           Read eeprom and write to -filename- from config-file
--build-eeprom          Build eeprom image
--erase-eeprom          Erase eeprom
--flash-eeprom          Flash eeprom
~/projects/apio_dev/repo$