* [PR PATCH] New package: libmsp430-3.15.0.1
@ 2020-04-26 22:24 ezag
2020-04-26 23:36 ` [PR PATCH] [Updated] " ezag
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: ezag @ 2020-04-26 22:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 935 bytes --]
There is a new pull request by ezag against master on the void-packages repository
https://github.com/ezag/void-packages libmsp430
https://github.com/void-linux/void-packages/pull/21360
New package: libmsp430-3.15.0.1
Allows to use [mspdebug](https://github.com/void-linux/void-packages/tree/master/srcpkgs/mspdebug) with `tilib` driver, solving following error:
```
$ mspdebug tilib
MSPDebug version 0.25 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2017 Daniel Beer <dlbeer@gmail.com>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Chip info database from MSP430.dll v3.3.1.4 Copyright (C) 2013 TI, Inc.
tilib_api: can't find libmsp430.so: libmsp430.so: cannot open shared object file: No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/21360.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libmsp430-21360.patch --]
[-- Type: text/x-diff, Size: 3371 bytes --]
From dced7b6dfeeee59fb1833d48d8415ab8ee172b2a Mon Sep 17 00:00:00 2001
From: Eugen Zagorodniy <e.zagorodniy@gmail.com>
Date: Mon, 27 Apr 2020 00:54:06 +0300
Subject: [PATCH] New package: libmsp430-3.15.0.1
---
common/shlibs | 1 +
srcpkgs/libmsp430/patches/hidapi.patch | 48 ++++++++++++++++++++++++++
srcpkgs/libmsp430/template | 21 +++++++++++
3 files changed, 70 insertions(+)
create mode 100644 srcpkgs/libmsp430/patches/hidapi.patch
create mode 100644 srcpkgs/libmsp430/template
diff --git a/common/shlibs b/common/shlibs
index 1680de6d764..39874a080b0 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3860,3 +3860,4 @@ libc++utilities.so.5 cpp-utilities-5.2.0_1
libtagparser.so.9 tagparser-9.1.2_1
libqtutilities.so.6 qtutilities-6.0.4_1
libkdsoap.so.1.9.0 KDSoap-1.9.0_1
+libmsp430.so libmsp430-3.15.0.1_1
diff --git a/srcpkgs/libmsp430/patches/hidapi.patch b/srcpkgs/libmsp430/patches/hidapi.patch
new file mode 100644
index 00000000000..721298f0d8a
--- /dev/null
+++ b/srcpkgs/libmsp430/patches/hidapi.patch
@@ -0,0 +1,48 @@
+diff --git DLL430_v3/src/TI/DLL430/HidUpdateManager.cpp DLL430_v3/src/TI/DLL430/HidUpdateManager.cpp
+index 5b74a2a..e1358df 100644
+--- DLL430_v3/src/TI/DLL430/HidUpdateManager.cpp
++++ DLL430_v3/src/TI/DLL430/HidUpdateManager.cpp
+@@ -38,7 +38,7 @@
+ #include <pch.h>
+ #include "HidUpdateManager.h"
+
+-#include <hidapi.h>
++#include <hidapi/hidapi.h>
+
+ #include <BSL430_DLL/Connections/MSPBSL_Connection5xxUSB.h>
+ #include <BSL430_DLL/MSPBSL_Factory.h>
+diff --git Makefile Makefile
+index a4cfbed..7c65736 100644
+--- Makefile
++++ Makefile
+@@ -55,7 +55,7 @@ ifeq ($(PLATFORM),Linux)
+ LIBS += -lusb-1.0
+ endif
+
+- LIBS += -lusb-1.0 -lrt -lpthread
++ LIBS += -lusb-1.0 -lrt -lpthread -lhidapi-libusb
+
+ ifdef BOOST_DIR
+ INCLUDES += -I$(BOOST_DIR)
+@@ -66,7 +66,7 @@ ifeq ($(PLATFORM),Linux)
+ BSTATIC := -Wl,-Bstatic
+ BDYNAMIC := -Wl,-Bdynamic
+
+- HIDOBJ := $(LIBTHIRD)/hid-libusb.o
++ HIDOBJ :=
+ else
+ CXX:= clang++
+
+diff --git ThirdParty/BSL430_DLL/BSL430_DLL/Physical_Interfaces/MSPBSL_PhysicalInterfaceUSB.h ThirdParty/BSL430_DLL/BSL430_DLL/Physical_Interfaces/MSPBSL_PhysicalInterfaceUSB.h
+index 37825c6..d1105ed 100644
+--- ThirdParty/BSL430_DLL/BSL430_DLL/Physical_Interfaces/MSPBSL_PhysicalInterfaceUSB.h
++++ ThirdParty/BSL430_DLL/BSL430_DLL/Physical_Interfaces/MSPBSL_PhysicalInterfaceUSB.h
+@@ -38,7 +38,7 @@
+
+ #pragma once
+
+-#include <hidapi.h>
++#include <hidapi/hidapi.h>
+
+ #include "MSPBSL_PhysicalInterface.h"
+
diff --git a/srcpkgs/libmsp430/template b/srcpkgs/libmsp430/template
new file mode 100644
index 00000000000..62ce618ad54
--- /dev/null
+++ b/srcpkgs/libmsp430/template
@@ -0,0 +1,21 @@
+pkgname=libmsp430
+version=3.15.0.1
+revision=1
+homepage=https://www.ti.com/tool/MSPDS
+short_desc="Static library & embedded firmware for MSP430 & MSP432 devices"
+license=BSD-3-Clause
+maintainer="Eugen Zagorodniy <e.zagorodniy@gmail.com>"
+
+distfiles="http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPDS/3_15_0_000/export/MSPDebugStack_OS_Package_${version//./_}.zip"
+checksum=31f8f66ce9f9156bcb550adf3937ebf44ad7995bef2517f2b09e408be947c4c5
+create_wrksrc=yes
+
+makedepends="boost-devel hidapi-devel"
+
+do_build() {
+ make
+}
+
+do_install() {
+ vinstall $pkgname.so 755 /usr/lib
+}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Updated] New package: libmsp430-3.15.0.1
2020-04-26 22:24 [PR PATCH] New package: libmsp430-3.15.0.1 ezag
@ 2020-04-26 23:36 ` ezag
2020-04-28 0:45 ` ezag
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: ezag @ 2020-04-26 23:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 940 bytes --]
There is an updated pull request by ezag against master on the void-packages repository
https://github.com/ezag/void-packages libmsp430
https://github.com/void-linux/void-packages/pull/21360
New package: libmsp430-3.15.0.1
Allows to use [mspdebug](https://github.com/void-linux/void-packages/tree/master/srcpkgs/mspdebug) with `tilib` driver, solving following error:
```
$ mspdebug tilib
MSPDebug version 0.25 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2017 Daniel Beer <dlbeer@gmail.com>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Chip info database from MSP430.dll v3.3.1.4 Copyright (C) 2013 TI, Inc.
tilib_api: can't find libmsp430.so: libmsp430.so: cannot open shared object file: No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/21360.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libmsp430-21360.patch --]
[-- Type: text/x-diff, Size: 3489 bytes --]
From ede619dbd5be493a352909752a25e19f937d7035 Mon Sep 17 00:00:00 2001
From: Eugen Zagorodniy <e.zagorodniy@gmail.com>
Date: Mon, 27 Apr 2020 00:54:06 +0300
Subject: [PATCH] New package: libmsp430-3.15.0.1
---
common/shlibs | 1 +
srcpkgs/libmsp430/patches/hidapi.patch | 48 ++++++++++++++++++++++++++
srcpkgs/libmsp430/template | 24 +++++++++++++
3 files changed, 73 insertions(+)
create mode 100644 srcpkgs/libmsp430/patches/hidapi.patch
create mode 100644 srcpkgs/libmsp430/template
diff --git a/common/shlibs b/common/shlibs
index 1680de6d764..39874a080b0 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3860,3 +3860,4 @@ libc++utilities.so.5 cpp-utilities-5.2.0_1
libtagparser.so.9 tagparser-9.1.2_1
libqtutilities.so.6 qtutilities-6.0.4_1
libkdsoap.so.1.9.0 KDSoap-1.9.0_1
+libmsp430.so libmsp430-3.15.0.1_1
diff --git a/srcpkgs/libmsp430/patches/hidapi.patch b/srcpkgs/libmsp430/patches/hidapi.patch
new file mode 100644
index 00000000000..721298f0d8a
--- /dev/null
+++ b/srcpkgs/libmsp430/patches/hidapi.patch
@@ -0,0 +1,48 @@
+diff --git DLL430_v3/src/TI/DLL430/HidUpdateManager.cpp DLL430_v3/src/TI/DLL430/HidUpdateManager.cpp
+index 5b74a2a..e1358df 100644
+--- DLL430_v3/src/TI/DLL430/HidUpdateManager.cpp
++++ DLL430_v3/src/TI/DLL430/HidUpdateManager.cpp
+@@ -38,7 +38,7 @@
+ #include <pch.h>
+ #include "HidUpdateManager.h"
+
+-#include <hidapi.h>
++#include <hidapi/hidapi.h>
+
+ #include <BSL430_DLL/Connections/MSPBSL_Connection5xxUSB.h>
+ #include <BSL430_DLL/MSPBSL_Factory.h>
+diff --git Makefile Makefile
+index a4cfbed..7c65736 100644
+--- Makefile
++++ Makefile
+@@ -55,7 +55,7 @@ ifeq ($(PLATFORM),Linux)
+ LIBS += -lusb-1.0
+ endif
+
+- LIBS += -lusb-1.0 -lrt -lpthread
++ LIBS += -lusb-1.0 -lrt -lpthread -lhidapi-libusb
+
+ ifdef BOOST_DIR
+ INCLUDES += -I$(BOOST_DIR)
+@@ -66,7 +66,7 @@ ifeq ($(PLATFORM),Linux)
+ BSTATIC := -Wl,-Bstatic
+ BDYNAMIC := -Wl,-Bdynamic
+
+- HIDOBJ := $(LIBTHIRD)/hid-libusb.o
++ HIDOBJ :=
+ else
+ CXX:= clang++
+
+diff --git ThirdParty/BSL430_DLL/BSL430_DLL/Physical_Interfaces/MSPBSL_PhysicalInterfaceUSB.h ThirdParty/BSL430_DLL/BSL430_DLL/Physical_Interfaces/MSPBSL_PhysicalInterfaceUSB.h
+index 37825c6..d1105ed 100644
+--- ThirdParty/BSL430_DLL/BSL430_DLL/Physical_Interfaces/MSPBSL_PhysicalInterfaceUSB.h
++++ ThirdParty/BSL430_DLL/BSL430_DLL/Physical_Interfaces/MSPBSL_PhysicalInterfaceUSB.h
+@@ -38,7 +38,7 @@
+
+ #pragma once
+
+-#include <hidapi.h>
++#include <hidapi/hidapi.h>
+
+ #include "MSPBSL_PhysicalInterface.h"
+
diff --git a/srcpkgs/libmsp430/template b/srcpkgs/libmsp430/template
new file mode 100644
index 00000000000..5f52db63fb1
--- /dev/null
+++ b/srcpkgs/libmsp430/template
@@ -0,0 +1,24 @@
+# Template file for 'libmsp430'
+pkgname=libmsp430
+version=3.15.0.1
+revision=1
+short_desc="Static library & embedded firmware for MSP430 & MSP432 devices"
+maintainer="Eugen Zagorodniy <e.zagorodniy@gmail.com>"
+license=BSD-3-Clause
+homepage=https://www.ti.com/tool/MSPDS
+
+distfiles="http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPDS/3_15_0_000/export/MSPDebugStack_OS_Package_${version//./_}.zip"
+checksum=31f8f66ce9f9156bcb550adf3937ebf44ad7995bef2517f2b09e408be947c4c5
+create_wrksrc=yes
+archs="x86_64 i686 x86_64-musl"
+
+makedepends="boost-devel hidapi-devel"
+
+do_build() {
+ make
+}
+
+do_install() {
+ vinstall $pkgname.so 755 /usr/lib
+ vlicense MSPDebugStackOpenSourcePackage_manifest.html
+}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Updated] New package: libmsp430-3.15.0.1
2020-04-26 22:24 [PR PATCH] New package: libmsp430-3.15.0.1 ezag
2020-04-26 23:36 ` [PR PATCH] [Updated] " ezag
@ 2020-04-28 0:45 ` ezag
2021-11-06 22:31 ` abenson
2021-11-06 22:31 ` [PR PATCH] [Closed]: " abenson
3 siblings, 0 replies; 5+ messages in thread
From: ezag @ 2020-04-28 0:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 940 bytes --]
There is an updated pull request by ezag against master on the void-packages repository
https://github.com/ezag/void-packages libmsp430
https://github.com/void-linux/void-packages/pull/21360
New package: libmsp430-3.15.0.1
Allows to use [mspdebug](https://github.com/void-linux/void-packages/tree/master/srcpkgs/mspdebug) with `tilib` driver, solving following error:
```
$ mspdebug tilib
MSPDebug version 0.25 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2017 Daniel Beer <dlbeer@gmail.com>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Chip info database from MSP430.dll v3.3.1.4 Copyright (C) 2013 TI, Inc.
tilib_api: can't find libmsp430.so: libmsp430.so: cannot open shared object file: No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/21360.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libmsp430-21360.patch --]
[-- Type: text/x-diff, Size: 3475 bytes --]
From 4eb65aac58240c6314d6787347b0952b6d267c08 Mon Sep 17 00:00:00 2001
From: Eugen Zagorodniy <e.zagorodniy@gmail.com>
Date: Mon, 27 Apr 2020 00:54:06 +0300
Subject: [PATCH] New package: libmsp430-3.15.0.1
---
common/shlibs | 1 +
srcpkgs/libmsp430/patches/hidapi.patch | 48 ++++++++++++++++++++++++++
srcpkgs/libmsp430/template | 24 +++++++++++++
3 files changed, 73 insertions(+)
create mode 100644 srcpkgs/libmsp430/patches/hidapi.patch
create mode 100644 srcpkgs/libmsp430/template
diff --git a/common/shlibs b/common/shlibs
index 60ad7fb85d5..a526e68e5b2 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3862,3 +3862,4 @@ libtagparser.so.9 tagparser-9.1.2_1
libqtutilities.so.6 qtutilities-6.0.4_1
libkdsoap.so.1.9.0 KDSoap-1.9.0_1
libstoken.so.1 stoken-0.92_1
+libmsp430.so libmsp430-3.15.0.1_1
diff --git a/srcpkgs/libmsp430/patches/hidapi.patch b/srcpkgs/libmsp430/patches/hidapi.patch
new file mode 100644
index 00000000000..721298f0d8a
--- /dev/null
+++ b/srcpkgs/libmsp430/patches/hidapi.patch
@@ -0,0 +1,48 @@
+diff --git DLL430_v3/src/TI/DLL430/HidUpdateManager.cpp DLL430_v3/src/TI/DLL430/HidUpdateManager.cpp
+index 5b74a2a..e1358df 100644
+--- DLL430_v3/src/TI/DLL430/HidUpdateManager.cpp
++++ DLL430_v3/src/TI/DLL430/HidUpdateManager.cpp
+@@ -38,7 +38,7 @@
+ #include <pch.h>
+ #include "HidUpdateManager.h"
+
+-#include <hidapi.h>
++#include <hidapi/hidapi.h>
+
+ #include <BSL430_DLL/Connections/MSPBSL_Connection5xxUSB.h>
+ #include <BSL430_DLL/MSPBSL_Factory.h>
+diff --git Makefile Makefile
+index a4cfbed..7c65736 100644
+--- Makefile
++++ Makefile
+@@ -55,7 +55,7 @@ ifeq ($(PLATFORM),Linux)
+ LIBS += -lusb-1.0
+ endif
+
+- LIBS += -lusb-1.0 -lrt -lpthread
++ LIBS += -lusb-1.0 -lrt -lpthread -lhidapi-libusb
+
+ ifdef BOOST_DIR
+ INCLUDES += -I$(BOOST_DIR)
+@@ -66,7 +66,7 @@ ifeq ($(PLATFORM),Linux)
+ BSTATIC := -Wl,-Bstatic
+ BDYNAMIC := -Wl,-Bdynamic
+
+- HIDOBJ := $(LIBTHIRD)/hid-libusb.o
++ HIDOBJ :=
+ else
+ CXX:= clang++
+
+diff --git ThirdParty/BSL430_DLL/BSL430_DLL/Physical_Interfaces/MSPBSL_PhysicalInterfaceUSB.h ThirdParty/BSL430_DLL/BSL430_DLL/Physical_Interfaces/MSPBSL_PhysicalInterfaceUSB.h
+index 37825c6..d1105ed 100644
+--- ThirdParty/BSL430_DLL/BSL430_DLL/Physical_Interfaces/MSPBSL_PhysicalInterfaceUSB.h
++++ ThirdParty/BSL430_DLL/BSL430_DLL/Physical_Interfaces/MSPBSL_PhysicalInterfaceUSB.h
+@@ -38,7 +38,7 @@
+
+ #pragma once
+
+-#include <hidapi.h>
++#include <hidapi/hidapi.h>
+
+ #include "MSPBSL_PhysicalInterface.h"
+
diff --git a/srcpkgs/libmsp430/template b/srcpkgs/libmsp430/template
new file mode 100644
index 00000000000..5f52db63fb1
--- /dev/null
+++ b/srcpkgs/libmsp430/template
@@ -0,0 +1,24 @@
+# Template file for 'libmsp430'
+pkgname=libmsp430
+version=3.15.0.1
+revision=1
+short_desc="Static library & embedded firmware for MSP430 & MSP432 devices"
+maintainer="Eugen Zagorodniy <e.zagorodniy@gmail.com>"
+license=BSD-3-Clause
+homepage=https://www.ti.com/tool/MSPDS
+
+distfiles="http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPDS/3_15_0_000/export/MSPDebugStack_OS_Package_${version//./_}.zip"
+checksum=31f8f66ce9f9156bcb550adf3937ebf44ad7995bef2517f2b09e408be947c4c5
+create_wrksrc=yes
+archs="x86_64 i686 x86_64-musl"
+
+makedepends="boost-devel hidapi-devel"
+
+do_build() {
+ make
+}
+
+do_install() {
+ vinstall $pkgname.so 755 /usr/lib
+ vlicense MSPDebugStackOpenSourcePackage_manifest.html
+}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: New package: libmsp430-3.15.0.1
2020-04-26 22:24 [PR PATCH] New package: libmsp430-3.15.0.1 ezag
2020-04-26 23:36 ` [PR PATCH] [Updated] " ezag
2020-04-28 0:45 ` ezag
@ 2021-11-06 22:31 ` abenson
2021-11-06 22:31 ` [PR PATCH] [Closed]: " abenson
3 siblings, 0 replies; 5+ messages in thread
From: abenson @ 2021-11-06 22:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 161 bytes --]
New comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/21360#issuecomment-962518409
Comment:
Seemingly abandoned.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Closed]: New package: libmsp430-3.15.0.1
2020-04-26 22:24 [PR PATCH] New package: libmsp430-3.15.0.1 ezag
` (2 preceding siblings ...)
2021-11-06 22:31 ` abenson
@ 2021-11-06 22:31 ` abenson
3 siblings, 0 replies; 5+ messages in thread
From: abenson @ 2021-11-06 22:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 788 bytes --]
There's a closed pull request on the void-packages repository
New package: libmsp430-3.15.0.1
https://github.com/void-linux/void-packages/pull/21360
Description:
Allows to use [mspdebug](https://github.com/void-linux/void-packages/tree/master/srcpkgs/mspdebug) with `tilib` driver, solving following error:
```
$ mspdebug tilib
MSPDebug version 0.25 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2017 Daniel Beer <dlbeer@gmail.com>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Chip info database from MSP430.dll v3.3.1.4 Copyright (C) 2013 TI, Inc.
tilib_api: can't find libmsp430.so: libmsp430.so: cannot open shared object file: No such file or directory
```
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-11-06 22:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-26 22:24 [PR PATCH] New package: libmsp430-3.15.0.1 ezag
2020-04-26 23:36 ` [PR PATCH] [Updated] " ezag
2020-04-28 0:45 ` ezag
2021-11-06 22:31 ` abenson
2021-11-06 22:31 ` [PR PATCH] [Closed]: " abenson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).