diff options
| author | David Arroyo <david@arroyo.cc> | 2026-01-27 01:19:07 -0500 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-06 11:47:43 +0100 |
| commit | 4164e516aaaf2e944c3dc62ee67fb77ff15dd1bd (patch) | |
| tree | dbff62c8f04f8d39ed26aab7e5a6f260cf7fed59 /gnu/packages/embedded.scm | |
| parent | f642fdaeb66f8d6de67b08e167c78cac02452fc7 (diff) | |
gnu: stlink: Update to 1.8.0-0.6a6718b.
* gnu/packages/embedded.scm (stlink): Update to 1.8.0-0.6a6718b.
Change-Id: Ief53570c716e9a3d400bd44b7386440cf973dac9
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/embedded.scm')
| -rw-r--r-- | gnu/packages/embedded.scm | 72 |
1 files changed, 37 insertions, 35 deletions
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index 1830244896f..bd255bec4a6 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm | |||
| @@ -1779,41 +1779,43 @@ STC89, STC90, STC10, STC11, STC12, STC15, STC8 and STC32 series.") | |||
| 1779 | (license license:expat))) | 1779 | (license license:expat))) |
| 1780 | 1780 | ||
| 1781 | (define-public stlink | 1781 | (define-public stlink |
| 1782 | (package | 1782 | (let ((commit "6a6718b3342b6c5e282a4e33325b9f97908a0692") |
| 1783 | (name "stlink") | 1783 | (revision "0")) |
| 1784 | (version "1.8.0") | 1784 | (package |
| 1785 | (source | 1785 | (name "stlink") |
| 1786 | (origin | 1786 | (version (git-version "1.8.0" revision commit)) |
| 1787 | (method git-fetch) | 1787 | (source |
| 1788 | (uri (git-reference | 1788 | (origin |
| 1789 | (url "https://github.com/stlink-org/stlink") | 1789 | (method git-fetch) |
| 1790 | (commit (string-append "v" version)))) | 1790 | (uri (git-reference |
| 1791 | (file-name (git-file-name name version)) | 1791 | (url "https://github.com/stlink-org/stlink") |
| 1792 | (sha256 | 1792 | (commit commit))) |
| 1793 | (base32 | 1793 | (file-name (git-file-name name version)) |
| 1794 | "1g5ahnj400sdf75k3xafawa6x0pzz7s86nqnfd65gqjr3bdlhlc6")))) | 1794 | (sha256 |
| 1795 | (build-system cmake-build-system) | 1795 | (base32 |
| 1796 | (arguments | 1796 | "1sk9qr3f8v1rm735vq6pxckgwzsgr4k2kl6skh79f4v2qm0hc4qd")))) |
| 1797 | (list #:tests? #f ;no tests | 1797 | (build-system cmake-build-system) |
| 1798 | #:configure-flags | 1798 | (arguments |
| 1799 | #~(let* ((etc (in-vicinity #$output "etc")) | 1799 | (list #:tests? #f ;no tests |
| 1800 | (modprobe (in-vicinity etc "modprobe.d")) | 1800 | #:configure-flags |
| 1801 | (udev-rules (in-vicinity etc "udev/rules.d"))) | 1801 | #~(let* ((etc (in-vicinity #$output "etc")) |
| 1802 | (list (string-append "-DSTLINK_UDEV_RULES_DIR=" udev-rules) | 1802 | (modprobe (in-vicinity etc "modprobe.d")) |
| 1803 | (string-append "-DSTLINK_MODPROBED_DIR=" modprobe))))) | 1803 | (udev-rules (in-vicinity etc "udev/rules.d"))) |
| 1804 | (inputs | 1804 | (list (string-append "-DSTLINK_UDEV_RULES_DIR=" udev-rules) |
| 1805 | (list libusb)) | 1805 | (string-append "-DSTLINK_MODPROBED_DIR=" modprobe))))) |
| 1806 | (synopsis "Programmer for STM32 Discovery boards") | 1806 | (inputs |
| 1807 | (description "This package provides a firmware programmer for the STM32 | 1807 | (list libusb)) |
| 1808 | Discovery boards. It supports two versions of the chip: ST-LINK/V1 (on | 1808 | (synopsis "Programmer for STM32 Discovery boards") |
| 1809 | STM32VL discovery kits) and ST-LINK/V2 (on STM32L discovery and later kits). | 1809 | (description "This package provides a firmware programmer for the STM32 |
| 1810 | Two different transport layers are used: ST-LINK/V1 uses SCSI passthru | 1810 | Discovery boards. It supports two versions of the chip: ST-LINK/V1 (on |
| 1811 | commands over USB, and ST-LINK/V2 and ST-LINK/V2-1 (seen on Nucleo boards) use | 1811 | STM32VL discovery kits) and ST-LINK/V2 (on STM32L discovery and later kits). |
| 1812 | raw USB commands.") | 1812 | Two different transport layers are used: ST-LINK/V1 uses SCSI passthru |
| 1813 | (home-page "https://github.com/stlink-org/stlink") | 1813 | commands over USB, and ST-LINK/V2 and ST-LINK/V2-1 (seen on Nucleo boards) use |
| 1814 | ;; The flashloaders/stm32l0x.s and flashloaders/stm32lx.s source files are | 1814 | raw USB commands.") |
| 1815 | ;; licensed under the GPLv2+. | 1815 | (home-page "https://github.com/stlink-org/stlink") |
| 1816 | (license (list license:bsd-3 license:gpl2+)))) | 1816 | ;; The flashloaders/stm32l0x.s and flashloaders/stm32lx.s source files are |
| 1817 | ;; licensed under the GPLv2+. | ||
| 1818 | (license (list license:bsd-3 license:gpl2+))))) | ||
| 1817 | 1819 | ||
| 1818 | (define-public west | 1820 | (define-public west |
| 1819 | (package | 1821 | (package |
