stephendpmurphy / shost

💻 shost - GUI, CLI and static library for connecting to FTDI MPSSE capable devices
MIT License
2 stars 1 forks source link
cli cpp cpp-library debug embedded firmware ftdi i2c mpsse shost spi

MPSSE-CLI

FTDI MPSSE CLI application for SPI, I2C and GPIO control

Getting started

To get started with the libMPSSE library you will need a couple pieces of software and a piece of hardware.

Retrieving the source

To begin, you will need to clone this project to your dev machine

$ git clone https://github.com/stephendpmurphy/mpsse-cli.git
$ cd mpsse-cli
$ git submodule update --init --recursive

Building the CLI application

Once you have installed the required tools mentioned above and retrieved the source you can build the CLI application

$ cd mpsse-cli
$ mkdir -p build
# Debug build
$ cmake -DCMAKE_BUILD_TYPE=Debug ..
# OR
# Release build
$ cmake -DCMAKE_BUILD_TYPE=Release ..
$ make -j8

Installing the CLI application

Once you have built the application, you can install to your bin folder.

$ cd build
$ sudo make install