Skip to content
This repository was archived by the owner on Jun 22, 2025. It is now read-only.

Commit 4c2ab59

Browse files
committed
Merge branch 'develop'
2 parents 0fcf87e + 94f92be commit 4c2ab59

28 files changed

+365
-205
lines changed

.travis.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
sudo: required
2+
dist: trusty
3+
4+
language: cpp
5+
6+
matrix:
7+
include:
8+
- os: linux
9+
env: TARGET=linux_x86_64
10+
- os: linux
11+
env: TARGET=linux_i686
12+
- os: linux
13+
env: TARGET=linux_armv7l
14+
- os: linux
15+
env: TARGET=linux_aarch64
16+
- os: linux
17+
env: TARGET=windows_x86
18+
- os: linux
19+
env: TARGET=windows_amd64
20+
- os: osx
21+
env: TARGET=darwin
22+
23+
before_script:
24+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
25+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -y -qq; fi
26+
27+
script:
28+
- bash build.sh $TARGET
29+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then md5 _packages/**/*.tar.gz; fi
30+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then md5sum _packages/**/*.tar.gz; fi
31+
32+
deploy:
33+
provider: releases
34+
api_key:
35+
secure: P3t3txMvsfFXymL/Z6AVsNTygLytSL2F/GNdLpvB3ULwz0qvVzwW0ep0DZIbUxgTbOR341zUpGlKYMaS0EvUAt3TrIATa4nI9CYKavRT8CKrAUyBg2OAN9+gVmBzOEgGvgGkTjzd1OUHn0YjYjYwV2qKXHwUi21q9rXjwc20qB+lVNWkdPe3sOZhI7yUmh3WcU1jGtehQFYlz40i6rS+ivAKC8FN4wfBW2OJVCZ67q9P+FUbpXccD5n3A/09DGhaatWqD7ULwBkl75Rmk4L51LeWKJvOGB3Af2uLqAQ18gkmBpydccqmErfldOKuuhnMgDzkLKfWg7jbvCBIqaFhPIOo4p6nBAnGrQFklwv7obwEtSbqnupP0REj8p+igMMANZYtVVweSrhw1fqHOFhNHC8abmVzOaos6rh1e9Nm2b4O0QCRIt1Wxc5iJy8Bfo4C8FBiSAHvgyKi1ZgPgnU1IfEw0Z94XYbxlOunXyh3YA5FcLUrCAfFAszGita0Bl9wOJn7bMB0nZhhpxLcms6iT0FH7na7tPl72MmjNEwLmns3/HyzUxTofUnsGuw669n73xvO/wQRqQgzUT8EW6m/25+kRWd8kWo5vUYOyVpci/QpVpJ5xytbWK99UYXfwMTBhh07Q3Wdpl7uDVzs25GHYezHXBxlAYbt5flYsI9tprk=
36+
file:
37+
- _packages/**/*.tar.gz
38+
file_glob: true
39+
skip_cleanup: true
40+
on:
41+
all_branches: true

README.md

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,41 @@
22

33
## Introduction
44

5-
[Apio](https://github.com/FPGAwars/apio) package Tool for listing the usb devices and retrieving information from the ftdi chips
5+
Static binaries of the **lsftdi** and **lsusb** tools. Packaged for [Apio](https://github.com/FPGAwars/apio).
6+
7+
* lsftdi: display information about connected FTDI devices
8+
* lsusb: display information about USB buses in the system
69

710
## Usage
811

9-
Edit the target architectures in the `build.sh` script:
12+
Build:
13+
14+
```
15+
bash build.sh linux_x86_64
16+
```
17+
18+
Clean:
1019

1120
```
12-
# -- Target architectures
13-
ARCHS=( linux_x86_64 linux_armv7l )
14-
# ARCHS=( linux_x86_64 linux_i686 linux_armv7l linux_aarch64 windows )
15-
# ARCHS=( darwin )
21+
bash clean.sh linux_x86_64
1622
```
1723

18-
Run the script `./build.sh`
24+
Target architectures:
25+
* linux_x86_64
26+
* linux_i686
27+
* linux_armv7l
28+
* linux_aarch64
29+
* windows_x86
30+
* windows_amd64
31+
* darwin
1932

20-
Final packages will be generated in **\_packages/build_ARCH/** directory.
33+
Final packages will be deployed in the **\_packages/build_ARCH/** directories.
34+
35+
NOTE: *libftdi* and *libusb* libraries are generated for each architecture. In order to obtain a static *libusb* library, *udev* has been disabled.
36+
37+
# Documentation
38+
39+
[The project documentation is located in the wiki](https://github.com/FPGAwars/tools-system/wiki).
2140

2241
## Authors
2342

@@ -26,6 +45,4 @@ Final packages will be generated in **\_packages/build_ARCH/** directory.
2645

2746
## License
2847

29-
![](https://github.com/FPGAwars/tools-usb-ftdi/raw/master/doc/bq-logo-cc-sa-small-150px.png)
30-
31-
Licensed under [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/)
48+
Licensed under [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/).
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
set(CMAKE_SYSTEM_NAME Linux)
2+
set(CMAKE_C_COMPILER aarch64-linux-gnu-gcc)
3+
set(CMAKE_CXX_COMPILER aarch64-linux-gnu-g++)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
set(CMAKE_SYSTEM_NAME Linux)
2+
set(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc)
3+
set(CMAKE_CXX_COMPILER arm-linux-gnueabihf-g++)

build-data/cmake/toolchain-m32.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
set(CMAKE_SYSTEM_NAME Linux)
2+
set(CMAKE_C_COMPILER gcc -m32)
3+
set(CMAKE_CXX_COMPILER g++ -m32)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SET(CMAKE_SYSTEM_NAME Windows)
2+
SET(CMAKE_C_COMPILER i686-w64-mingw32-gcc)
3+
SET(CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SET(CMAKE_SYSTEM_NAME Windows)
2+
SET(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
3+
SET(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
-249 KB
Binary file not shown.
-638 KB
Binary file not shown.
-153 KB
Binary file not shown.

0 commit comments

Comments
 (0)