8000 Add libusb and usbutils · A6GibKm/cc.arduino.arduinoide@217230d · GitHub
[go: up one dir, main page]

Skip to content

Commit 217230d

Browse files
committed
Add libusb and usbutils
Needed for stm32 boards using st-link
1 parent fe05c7a commit 217230d

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

cc.arduino.arduinoide.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,41 @@
3636
"/usr/lib/sdk/openjdk11/install.sh"
3737
]
3838
},
39+
{
40+
"name": "libusb",
41+
"config-opts": [ "--disable-static", "--disable-udev" ],
42+
"cleanup": [
43+
"/lib/*.la",
44+
"/lib/pkgconfig",
45+
"/include"
46+
],
47+
"sources": [
48+
{
49+
"type":"archive",
50+
"url":"https://github.com/libusb/libusb/archive/v1.0.23.tar.gz",
51+
"sha256": "02620708c4eea7e736240a623b0b156650c39bfa93a14bcfa5f3e05270313eba"
52+
}
53+
],
54+
"post-install": [
55+
"install -Dm644 COPYING /app/share/licenses/libusb/COPYING"
56+
]
57+
},
58+
{
59+
"name": "usbutils",
60+
"config-opts": [
61+
"--datadir=/app/share/hwdata",
62+
"--sbindir=/app/bin"
63+
],
64+
"sources": [
65+
{
66+
"type": "git",
67+
"url": "https://github.com/gregkh/usbutils.git",
68+
"tag": "v012",
69+
"commit": "f3a05e2e368cf17f9882c8d358f2fa205eb1ead6"
70+
}
71+
72+
]
73+
},
3974
{
4075
"name": "arduino",
4176
"buildsystem": "simple",

0 commit comments

Comments
 (0)
0