Test ran at 2025-03-20 12:34:19.127023+00:00

SOLUTION:
mcp2221=2.22792.1: MCP2221 USB Raw HID I/O Expander Library for GNAT Ada
Origin: source archive mcp2221-2.22792.1.tbz2 at https://raw.githubusercontent.com/pmunts/alire-crates/64af9db57a890c68ed8908cde834357cd498d8fb/mcp2221/mcp2221-2.22792.1.tbz2 with hashes sha256:1310d0ce7d76830cd5b6666f4d29d4414179cace2b68bd366076d2dfb1c90a28, sha512:792c25ac545d191ad2fddae39833441c11f2e0cee01dbb22746d6bf7e87cb72981ee419a2de67e482ba1277e0e224ccd103a36a8d920955dd78916352bfadecb
Available when: (case OS is Linux => True, Macos => True, Windows => True, others => False)
Properties:
   case OS is
      when Linux => Post_Fetch run: sh -c ./postfetch.linux (from ${CRATE_ROOT}/.)
      when Macos => Post_Fetch run: sh -c ./postfetch.macos (from ${CRATE_ROOT}/.)
      when Windows => Post_Fetch run: sh -c ./postfetch.windows (from ${CRATE_ROOT}/.)
   Author: Philip Munts
   Description: MCP2221 USB Raw HID I/O Expander Library for GNAT Ada
   License: BSD-1-Clause
   Long_Description: This crate contains a subset of the [**Linux Simple I/O
Library**](https://github.com/pmunts/libsimpleio) Ada packages that are
relevant for building programs for the MCP2221 USB Raw HID I/O expander.

This crate can be built for Linux, MacOS, or Windows targets.

The [MCP2221A](https://www.microchip.com/en-us/product/MCP2221A) is a
[PIC16F1455](https://www.microchip.com/en-us/product/PIC16F1455)
microcontroller that has been preprogrammed with firmware to implement
*two* USB devices: a USB serial port and a raw HID device that acts as
an I/O expander providing one [I2C](https://i2c.info/) bus controller
(master only) and four
[GPIO](https://en.wikipedia.org/wiki/General-purpose_input/output) pins
(**`GP0`**, **`GP1`**, **`GP2`**, and **`GP3`**).

The GPIO pins **`GP1`**, **`GP2`**, and **`GP3`** can be configured for
some alternate functions, including 10-bit A/D inputs or 5-bit D/A
outputs:

**`GP1`** : **`GPIO ADC1`**  
**`GP2`** : **`GPIO ADC2 DAC1`**  
**`GP3`** : **`GPIO ADC3 DAC2`**

The MCP2221A replaces an earlier part, the MCP2221. The only difference
between the older MCP2221 and the newer MCP2221A is that the latter
supports some higher baud rates on the USB serial port device. Since
this crate only deals with the raw HID I/O expander functions, it will
work fine with either the older MCP2221 or the newer MCP2221A.

   Maintainer: Philip Munts <phil@munts.net>
   Maintainers_Logins: pmunts
   Name: mcp2221
   Project_File: mcp2221.gpr
   Tag: embedded
   Tag: linux
   Tag: mcp2221
   Tag: adc
   Tag: dac
   Tag: gpio
   Tag: i2c
   Tag: motor
   Tag: pwm
   Tag: sensor
   Tag: serial
   Tag: servo
   Tag: spi
   Tag: stepper
   Version: 2.22792.1
   Website: https://github.com/pmunts/libsimpleio
Dependencies (direct):
   case Distribution is
      when Homebrew => libhidapi*
      when Macports => libhidapi*
   case Distribution is
      when Homebrew => libusb*
      when Macports => libusb*
   case OS is
      when Linux => libhidapi*
   case OS is
      when Linux => libusb*


LOG:
Spawning: alr -d -n get --build mcp2221=2.22792.1
Note: Deploying mcp2221=2.22792.1...

#=#=#                                                                          
######################################################################## 100.0%
Note: Running post-fetch actions for mcp2221=2.22792.1...
Note: Building mcp2221=2.22792.1/mcp2221.gpr...
Setup
   [mkdir]        object directory for project MCP2221
Compile
   [Ada]          thermistor.adb
   [Ada]          servo-pwm.ads
   [Ada]          motor-servo.adb
   [Ada]          motor-pwm.adb
   [Ada]          hid-libusb.adb
   [Ada]          hid-hidapi.adb
   [Ada]          gpio-pwm.adb
   [Ada]          debug.adb
   [Ada]          watchdog.ads
   [Ada]          voltage.ads
   [Ada]          truecolor.ads
   [Ada]          temperature.ads
   [Ada]          stepper.ads
   [Ada]          spi.ads
   [Ada]          servo.ads
   [Ada]          servo-pwm_template.adb
   [Ada]          resistance.ads
   [Ada]          pwm.ads
   [Ada]          pressure.ads
   [Ada]          motor.ads
   [Ada]          messaging.adb
   [Ada]          messaging-text.ads
   [Ada]          messaging-fixed.ads
   [Ada]          message64.ads
   [Ada]          magnetometer.ads
   [Ada]          joystick.ads
   [Ada]          io_interfaces.ads
   [Ada]          i2c.adb
   [Ada]          humidity.ads
   [Ada]          hid.adb
   [Ada]          gyroscope.ads
   [Ada]          gpio.ads
   [Ada]          dac.adb
   [Ada]          angle.ads
   [Ada]          analog.ads
   [Ada]          adc.adb
   [Ada]          accelerometer.ads
   [Ada]          tmp102.adb
   [Ada]          tlc1543.adb
   [Ada]          th02.adb
   [Ada]          tcs3472.adb
   [Ada]          pca9685.adb
   [Ada]          pca9685-pwm.adb
   [Ada]          pca9685-gpio.adb
   [Ada]          pca9534.adb
   [Ada]          pca9534-gpio.adb
   [Ada]          pca8574.adb
   [Ada]          pca8574-gpio.adb
   [Ada]          mpl3115a2.adb
   [Ada]          mcp23x17.adb
   [Ada]          mcp23x17-word.adb
   [Ada]          mcp23x17-gpio.adb
   [Ada]          mcp23x17-byte.adb
   [Ada]          mcp2221.adb
   [Ada]          mcp2221-libusb.adb
   [Ada]          mcp2221-i2c.adb
   [Ada]          mcp2221-hidapi.adb
   [Ada]          mcp2221-gpio.adb
   [Ada]          mcp2221-adc.adb
   [Ada]          lsm9ds1.adb
   [Ada]          lps25h.adb
   [Ada]          lcd16397.adb
   [Ada]          htu21d.adb
   [Ada]          hts221.adb
   [Ada]          hid-munts.ads
   [Ada]          hdc1080.adb
   [Ada]          grove_temperature_humidity.ads
   [Ada]          grove_temperature.adb
   [Ada]          grove_tb6612.adb
   [Ada]          grove_tb6612-stepper.adb
   [Ada]          grove_tb6612-motor.adb
   [Ada]          grove_adc.ads
   [Ada]          cytron_md13s.adb
   [Ada]          bmp280.adb
   [Ada]          ads1015.adb
   [Ada]          adc121c021.adb
   [Ada]          a4988.adb
   [Ada]          errno.ads
   [Ada]          mcp2221_config.ads
Build Libraries
   [gprlib]       libsimpleio.lexch
   [archive]      liblibsimpleio.a
   [index]        liblibsimpleio.a

mcp2221=2.22792.1 successfully retrieved and built.
There are no dependencies.
Found declared GPR file: mcp2221.gpr