[PATCH 0/2] gnu: stlink: Update to 1.8.0.

  • Done
  • quality assurance status badge
Details
One participant
  • Artyom V. Poptsov
Owner
unassigned
Submitted by
Artyom V. Poptsov
Severity
normal
A
A
Artyom V. Poptsov wrote on 16 Nov 17:41 +0100
(address . guix-patches@gnu.org)(name . Artyom V. Poptsov)(address . poptsov.artyom@gmail.com)
cover.1731775219.git.poptsov.artyom@gmail.com
This patchset updates "stlink" package and improves its style by using GEXPs.

Artyom V. Poptsov (2):
gnu: stlink: Update to 1.8.0.
gnu: stlink: Use GEXPs.

gnu/packages/embedded.scm | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)


base-commit: b647d3a149c94ee84cde1af3af7442633afa3416
--
2.46.0
A
A
Artyom V. Poptsov wrote on 16 Nov 17:42 +0100
[PATCH 2/2] gnu: stlink: Use GEXPs.
(address . 74384@debbugs.gnu.org)(name . Artyom V. Poptsov)(address . poptsov.artyom@gmail.com)
5b69235e0d4217070a3638e086bbe38cc0875acf.1731775219.git.poptsov.artyom@gmail.com
* gnu/packages/embedded.scm (stlink): Use GEXPs.

Change-Id: I26e2649f29c1e742f848f3efc5a10c218bb5bb28
---
gnu/packages/embedded.scm | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)

Toggle diff (28 lines)
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index 6b3acefea2..0dcfc6669f 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -1653,14 +1653,13 @@ (define-public stlink
"1g5ahnj400sdf75k3xafawa6x0pzz7s86nqnfd65gqjr3bdlhlc6"))))
(build-system cmake-build-system)
(arguments
- `(#:tests? #f ;no tests
- #:configure-flags
- (let* ((out (assoc-ref %outputs "out"))
- (etc (in-vicinity out "etc"))
- (modprobe (in-vicinity etc "modprobe.d"))
- (udev-rules (in-vicinity etc "udev/rules.d")))
- (list (string-append "-DSTLINK_UDEV_RULES_DIR=" udev-rules)
- (string-append "-DSTLINK_MODPROBED_DIR=" modprobe)))))
+ (list #:tests? #f ;no tests
+ #:configure-flags
+ #~(let* ((etc (in-vicinity #$output "etc"))
+ (modprobe (in-vicinity etc "modprobe.d"))
+ (udev-rules (in-vicinity etc "udev/rules.d")))
+ (list (string-append "-DSTLINK_UDEV_RULES_DIR=" udev-rules)
+ (string-append "-DSTLINK_MODPROBED_DIR=" modprobe)))))
(inputs
(list libusb))
(synopsis "Programmer for STM32 Discovery boards")
--
2.46.0
A
A
Artyom V. Poptsov wrote on 16 Nov 17:42 +0100
[PATCH 1/2] gnu: stlink: Update to 1.8.0.
(address . 74384@debbugs.gnu.org)(name . Artyom V. Poptsov)(address . poptsov.artyom@gmail.com)
0afa818890432f3b7e8f722a418e03ff6da1734e.1731775219.git.poptsov.artyom@gmail.com
* gnu/packages/embedded.scm (stlink): Update to 1.8.0.

Change-Id: I51a3c664c4035ec542fa82753dc8e6aa8a8c0256
---
gnu/packages/embedded.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

Toggle diff (32 lines)
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index cc999d35f8..6b3acefea2 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -13,6 +13,7 @@
;;; Copyright © 2022 Mathieu Othacehe <othacehe@gnu.org>
;;; Copyright © 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1639,7 +1640,7 @@ (define-public stcgal
(define-public stlink
(package
(name "stlink")
- (version "1.7.0")
+ (version "1.8.0")
(source
(origin
(method git-fetch)
@@ -1649,7 +1650,7 @@ (define-public stlink
(file-name (git-file-name name version))
(sha256
(base32
- "03xypffpbp4imrczbxmq69vgkr7mbp0ps9dk815br5wwlz6vgygl"))))
+ "1g5ahnj400sdf75k3xafawa6x0pzz7s86nqnfd65gqjr3bdlhlc6"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f ;no tests
--
2.46.0
A
A
Artyom V. Poptsov wrote on 23 Nov 06:54 +0100
Re: [PATCH 0/2] gnu: stlink: Update to 1.8.0.
(address . 74384-done@debbugs.gnu.org)
87r0727avo.fsf@gmail.com
Merged to the "master" branch as:

Toggle snippet (4 lines)
2e223bc57cffbd2639a6760179448ea6104a45e7 gnu: stlink: Use GEXPs.
90c7d7783378856e93318678b0134bf22f745840 gnu: stlink: Update to 1.8.0.

- avp

--
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F
-----BEGIN PGP SIGNATURE-----

iQJNBAEBCgA3FiEEAf2F9Bp7f4IFgwalk16+BzbchX4FAmdBbi4ZHHBvcHRzb3Yu
YXJ0eW9tQGdtYWlsLmNvbQAKCRCTXr4HNtyFfvJXEAC9SElSytCIjf09cHfZ3ZeR
CHayj11EMISB4jSXIhwP1Qy2tJPPSravfDZEF22kVhR5mGrjJ6olRiC7M8XwBEzG
UiTVuxjgGLAEI8iRXukz+szfFEK+iHsqX5cU8NCYffAwuUtavxhboYkvcjgLhe2o
8TfJraskp6MdVjfBdICIfc1CM5kNW9p69DcXZo4WlrV7pajBxv208Wvo+yGAeetk
FCacl0SShB3Co8DYgXIhnrmnzG56rP12lErD9F6uIzi+SEJIyqCZnxQmnSbcB4CZ
mQxHzAccwPcNBx4rn5q56zcCBaOb2mMG6AB42MZXxuHDPkMY8yT15VhG43aPKIZ2
EyW5NGpV5iHOKCWUxfYa2q4jw29nhHFiBlEfpiOw1Vrg4Ci0spmh4rznoe5p+iLv
zJ6zHqOWdf/YiI7qGWWAY5qi/B1r42EltaCCNGILbNsWIGaYi5T4RCXz54eAnyWJ
gA+Q44jLu3jJ/IyBYMFQQqdHBGUnta3DdH+VDBBd8k74em8FliGWrFnvp6U3Vg5P
W9cjmOe1g1tVSyGNDJ1lv1gNJs1P2SbaIfMUZ4fCuhSJ1SoEA9QXSIe01EjQBNaC
gm/qUEZg8BK/Z1uS+aYEXK85KRY/MY1tFPEtUHwNQ7SHQTm1gzN8TA7yXx9QMWL5
9CvyhGK//GINW3zCwA583g==
=T2YM
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 74384@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 74384
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch