Skip to content

Commit 25785b9

Browse files
Merge branch 'master' into develop
2 parents 133c256 + 40948aa commit 25785b9

16 files changed

+532
-0
lines changed

debian/.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.debhelper
2+
*.log
3+
*.substvars
4+
debhelper-build-stamp
5+
files
6+
libstlink-dev
7+
libstlink
8+
stlink-gui
9+
stlink-tools
10+
tmp

debian/changelog

Lines changed: 203 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,203 @@
1+
stlink (1.7.0+ds-1) unstable; urgency=medium
2+
3+
* Merge tag 'v1.7.0' into debian. (Closes: #984356)
4+
* Bump Standards-Version to 4.5.1, no changes.
5+
* Bump debhelper-compat to 13, no changes.
6+
* Update install files, paths have been fixed upstream.
7+
* Update symbols file for 1.7.0.
8+
9+
-- Luca Boccassi <bluca@debian.org> Sun, 15 Aug 2021 14:23:25 +0100
10+
11+
stlink (1.6.1+ds-3) unstable; urgency=medium
12+
13+
* Add cross.patch to fix cross-compilation. Thanks Helmut! (Closes:
14+
#973339)
15+
16+
-- Luca Boccassi <bluca@debian.org> Thu, 29 Oct 2020 18:06:39 +0000
17+
18+
stlink (1.6.1+ds-2) unstable; urgency=medium
19+
20+
* Update d/copyright to remove GPL-2+ stanza about flashloaders
21+
* Update upstream URLs for new Github org
22+
* Patch CMake's hard-coded define of XML gui file location (Closes:
23+
#963219)
24+
25+
-- Luca Boccassi <bluca@debian.org> Sun, 21 Jun 2020 13:41:37 +0100
26+
27+
stlink (1.6.1+ds-1) unstable; urgency=medium
28+
29+
* Merge tag 'v1.6.1' into debian
30+
* Update Files-Excluded in d/copyright for new layout
31+
* Fix d/watch intermediary file name
32+
* Drop cross.patch, merged upstream in v1.6.1
33+
* Bump Build-Depends to cmake >= 3.4.2
34+
* Add new symbols from upstream version 1.6.1
35+
* Adjust install files, some files moved
36+
* Remove unused variable from d/rules
37+
* Generate pkgconfig file from d/rules, upstream doesn't do it
38+
* Switch to debhelper-compat 12
39+
40+
-- Luca Boccassi <bluca@debian.org> Sat, 06 Jun 2020 14:44:54 +0100
41+
42+
stlink (1.6.0+ds-1) unstable; urgency=medium
43+
44+
* Merge tag 'v1.6.0' into debian
45+
* Bump Standards-Version to 4.5.0, no changes.
46+
* Update libstlink1 symbols file for 1.6.0.
47+
48+
-- Luca Boccassi <bluca@debian.org> Tue, 25 Feb 2020 22:08:33 +0000
49+
50+
stlink (1.5.1+ds-2) unstable; urgency=medium
51+
52+
* Mark library packages as Multi-Arch: same.
53+
* Apply cross.patch to fix cross-compiling the GUI. Thanks Helmut for
54+
the patch! (Closes: #941320)
55+
* Vcs-Git: add -b debian
56+
* Set Rules-Requires-Root: no
57+
* Bump Standards-Version to 4.4.0
58+
59+
-- Luca Boccassi <bluca@debian.org> Sun, 29 Sep 2019 12:50:58 +0100
60+
61+
stlink (1.5.1+ds-1) unstable; urgency=medium
62+
63+
* Merge tag 'v1.5.1' into debian. See upstream changelog for info:
64+
https://github.com/texane/stlink/releases/tag/v1.5.1
65+
* Mark packages as linux-any, other systems not supported.
66+
67+
-- Luca Boccassi <bluca@debian.org> Fri, 28 Sep 2018 10:26:39 +0100
68+
69+
stlink (1.5.0+ds-1) unstable; urgency=medium
70+
71+
* Upload to unstable. (Closes: #869421)
72+
73+
-- Luca Boccassi <bluca@debian.org> Fri, 16 Mar 2018 16:56:17 +0000
74+
75+
stlink (1.5.0) unstable; urgency=medium
76+
77+
[ Jerry Jacobs ]
78+
* README.md: Update version badge to v1.4.0
79+
80+
[ Viallard Anthony ]
81+
* Add support of STM32L496xx/4A6xx devices (#615)
82+
83+
[ rdlim ]
84+
* Fix verification of flash error for STM32L496x device (#617) (#618)
85+
86+
[ dflogeras ]
87+
* Add note about availability in Gentoo package manager (#622)
88+
89+
[ yaofei zheng ]
90+
* update debian package version (#630)
91+
92+
[ Lyle Cheatham ]
93+
* Minor formatting fix in FAQ section of README.md (#631)
94+
95+
[ Vasiliy Glazov ]
96+
* README.md: Added information about Fedora and RedHat/CentOS packages.
97+
(#635)
98+
* Added LIB_INSTALL_DIR to correct libs install on 64-bit systems (#636)
99+
100+
[ Gwenhael Goavec-Merou ]
101+
* fix write for microcontroler with RAM size less or equal to 32K (#637)
102+
103+
[ Mateusz Krawiec ]
104+
* Fix memory map for stm32l496xx boards. (#639)
105+
106+
[ Rüdiger Fortanier ]
107+
* Add unknown chip output (#641)
108+
109+
[ Slyshyk Oleksiy ]
110+
* fix __FILE__ base name extraction, #628 (#648)
111+
112+
[ texane ]
113+
* STM32F72xx73xx support, from bob.feretich@rafresearch.com
114+
115+
[ Kirill Kolyshkin ]
116+
* debian/triggers: add (to run ldconfig) (#664)
117+
118+
[ Slyshyk Oleksiy ]
119+
* Try to fix #666 issue (#667)
120+
* Try to fix 666 issue (#668)
121+
122+
[ Jerry Jacobs ]
123+
* Update ChangeLog.md
124+
* Update README.md
125+
126+
[ texane ]
127+
* STM32F042K6 Nucleo-32 Board reported to work, by frank@bauernoeppel.de
128+
129+
[ Anatol Pomozov ]
130+
* Update .version file to match release number (#670)
131+
132+
-- Anatol Pomozov <anatol.pomozov@gmail.com> Mon, 19 Feb 2018 11:00:29 -0800
133+
134+
libstlink (1.4.0) unstable; urgency=low
135+
136+
* Major changes and added features
137+
- Add support for STM32L452 target (#608)
138+
- Initial support to compile with Microsoft Visual Studio 2017 (#602)
139+
- Added support for flashing second bank on STM32F10x_XL (#592)
140+
- Add support for STM32L011 target (#572)
141+
- Allow building of debian package with CPack (@xor-gate)
142+
* Updates and fixes
143+
- Fix compilation with GCC 7 (#590)
144+
- Skip GTK detection if we're cross-compiling (#588)
145+
- Fix possible memory leak (#570)
146+
- Fix building with mingw64 (#569, #610)
147+
- Update libusb to 1.0.21 for Windows (#562)
148+
- Fixing low-voltage flashing on STM32F7 parts. (#567)
149+
- Update libusb to 1.0.21 for Windows (#562)
150+
151+
-- Andrew 'Necromant' Andrianov <andrew@ncrmnt.org> Sat, 01 Jul 2017 00:00:00 +0000
152+
153+
libstlink (1.3.1) unstable; urgency=low
154+
155+
* Major changes and added features:
156+
- Add preliminary support for STM32L011 to see it after probe (chipid 0x457) (@xor-gate)
157+
- Strip full paths to source files in log (commit #2c0ab7f)
158+
- Add support for STM32F413 target (#549)
159+
- Add support for Semihosting SYS_READC (#546)
160+
* Updates and fixes:
161+
- Update documentation markdown files
162+
- Compilation fixes (#552)
163+
- Fix compilation when path includes spaces (#561)
164+
165+
-- Andrew 'Necromant' Andrianov <andrew@ncrmnt.org> Sat, 25 Feb 2017 00:00:00 +0000
166+
167+
libstlink (1.3.0) unstable; urgency=low
168+
169+
* Major changes and added features:
170+
- Deprecation of autotools (autoconf, automake) (@xor-gate)
171+
- Removal of undocumented st-term utility, which is now replaced by st-util ARM semihosting feature (#3fd0f09)
172+
- Add support for native debian packaging (#444, #485)
173+
- Add intel hex file reading for st-flash (#459)
174+
- Add --reset command to st-flash (#505)
175+
- Support serial numbers argument for st-util and st-flash for multi-programmer setups (#541)
176+
- Add kill ('k') command to gdb-server for st-util (#9804416)
177+
- Add manpages (generated with pandoc from Markdown) (#464)
178+
- Rewrite commandline parsing for st-flash (#459)
179+
- Add support for ARM semihosting to st-util (#454, #455)
180+
* Chip support added for:
181+
- STM32L432 (#501)
182+
- STM32F412 (#538)
183+
- STM32F410 (#9c635e4)
184+
- Add memory map for STM32F401XE (#460)
185+
- L0x Category 5 devices (#406)
186+
- Add L0 Category 2 device (chip id: 0x425) (#72b8e5e)
187+
* Updates and fixes:
188+
- Fixed STM32F030 erase error (#442)
189+
- Fixed Cygwin build (#68b0f3b)
190+
- Reset flash mass erase (MER) bit after mass erase for safety (#489)
191+
- Fix memory map for STM32F4 (@zulusw)
192+
- Fix STM32L-problem with flash loader (issue #390) (Tom de Boer)
193+
- st-util don't read target voltage on startup as it crashes STM32F100 (probably stlink/v1) (Greg Alexander)
194+
- Do a JTAG reset prior to reading CPU information when processor is in deep sleep (@andyg24)
195+
- Redesign of st-flash commandline options parsing (pull-request #459) (@dev26th)
196+
197+
-- Andrew 'Necromant' Andrianov <andrew@ncrmnt.org> Sat, 28 Jan 2017 00:00:00 +0000
198+
199+
libstlink (1.2.1) unstable; urgency=low
200+
201+
* Initial Debian-Packaged Release.
202+
203+
-- Andrew 'Necromant' Andrianov <andrew@ncrmnt.org> Sat, 09 Jul 2016 23:16:07 +0300

debian/control

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
Source: stlink
2+
Priority: optional
3+
Maintainer: Luca Boccassi <bluca@debian.org>
4+
Build-Depends: debhelper-compat (= 13), cmake (>= 3.4.2), libusb-1.0-0-dev, libgtk-3-dev
5+
Standards-Version: 4.5.1
6+
Rules-Requires-Root: no
7+
Section: electronics
8+
Homepage: https://github.com/stlink-org/stlink
9+
Vcs-Git: https://github.com/bluca/stlink.git -b debian
10+
Vcs-Browser: https://github.com/bluca/stlink
11+
12+
Package: stlink-lib-dev
13+
Section: libdevel
14+
Architecture: linux-any
15+
Multi-Arch: same
16+
Depends: stlink-lib (= ${binary:Version}), ${misc:Depends}
17+
Replaces: libstlink-dev (<< 1.7.0+ds-1)
18+
Breaks: libstlink-dev (<< 1.7.0+ds-1)
19+
Description: Open source version of the STMicroelectronics STLINK Tools
20+
.
21+
This package contains development files for stlink.
22+
23+
Package: stlink-lib
24+
Section: libs
25+
Architecture: linux-any
26+
Multi-Arch: same
27+
Depends: ${shlibs:Depends}, ${misc:Depends}
28+
Replaces: libstlink1 (<< 1.7.0+ds-1)
29+
Breaks: libstlink1 (<< 1.7.0+ds-1)
30+
Description: Open source version of the STMicroelectronics STLINK Tools
31+
.
32+
This package contains the shared library for stlink.
33+
34+
Package: stlink-tools
35+
Architecture: linux-any
36+
Depends: stlink-lib (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
37+
Description: Open source version of the STMicroelectronics STLINK Tools
38+
.
39+
This package contains commandline utilities for stlink, as well as modprobe
40+
and udev rules.
41+
42+
Package: stlink-gui
43+
Architecture: linux-any
44+
Depends: stlink-lib (= ${binary:Version}), stlink-tools (= ${binary:Version}),
45+
${shlibs:Depends}, ${misc:Depends}
46+
Description: Open source version of the STMicroelectronics STLINK Tools
47+
.
48+
This package contains a GUI tool for stlink.

debian/copyright

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: stlink
3+
Upstream-Contact: Nightwalker-87 <15526941+Nightwalker-87@users.noreply.github.com>
4+
Source: https://github.com/stlink-org/stlink
5+
Comment: Upstream tarball has been repackaged to remove binary OSX kernel
6+
drivers that are of unknown license and of no use to Debian.
7+
Files-Excluded: stlinkv1_macos_driver
8+
9+
Files: *
10+
Copyright: 2011-2021 The stlink project maintainers
11+
Martin Capitanio <capnm@capitanio.org>
12+
Fabien Lementec <texane@gmail.com>
13+
Jerry Jacobs <jerry.jacobs@xor-gate.org>
14+
Nightwalker-87 <15526941+Nightwalker-87@users.noreply.github.com>
15+
and many other contributors...
16+
License: BSD-3-clause
17+
Redistribution and use in source and binary forms, with or without
18+
modification, are permitted provided that the following conditions
19+
are met:
20+
.
21+
* Redistributions of source code must retain the above copyright
22+
notice, this list of conditions and the following disclaimer.
23+
* Redistributions in binary form must reproduce the above copyright
24+
notice, this list of conditions and the following disclaimer in
25+
the documentation and/or other materials provided with the
26+
distribution.
27+
* Neither the name of Intel Corporation nor the names of its
28+
contributors may be used to endorse or promote products derived
29+
from this software without specific prior written permission.
30+
.
31+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
34+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
36+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
37+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
38+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
39+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
40+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
41+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

debian/gbp.conf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[buildpackage]
2+
upstream-tag = %(version)s
3+
debian-branch = debian
4+
5+
[dch]
6+
git-log = --first-parent
7+
customizations = /usr/share/doc/git-buildpackage/examples/wrap_cl.py

debian/rules

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/usr/bin/make -f
2+
# See debhelper(7) (uncomment to enable)
3+
# output every command that modifies files on the build system.
4+
#DH_VERBOSE = 1
5+
6+
# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
7+
DPKG_EXPORT_BUILDFLAGS = 1
8+
include /usr/share/dpkg/default.mk
9+
10+
# see FEATURE AREAS in dpkg-buildflags(1)
11+
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
12+
13+
%:
14+
dh $@ --buildsystem cmake
15+
16+
override_dh_auto_configure:
17+
dh_auto_configure -- \
18+
-DSTLINK_UDEV_RULES_DIR='/lib/udev/rules.d'
19+
20+
override_dh_auto_install:
21+
dh_auto_install
22+
mkdir -p $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig
23+
sed -e "s/@VERSION@/$(DEB_VERSION_UPSTREAM)/" -e "s/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/" $(CURDIR)/debian/stlink.pc.in > $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/stlink.pc

debian/source/format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (quilt)

debian/source/options

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
extend-diff-ignore=stlinkv1_macos_driver

debian/stlink-gui.install

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/usr/bin/stlink-gui
2+
/usr/share/applications/stlink-gui.desktop
3+
/usr/share/icons/hicolor/scalable/apps/stlink-gui.svg
4+
/usr/share/stlink/stlink-gui.ui

debian/stlink-lib-dev.install

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
usr/include/*
2+
usr/lib/*/lib*.a
3+
usr/lib/*/pkgconfig/*
4+
usr/lib/*/lib*.so
5+

debian/stlink-lib.install

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
usr/lib/*/lib*.so.*

0 commit comments

Comments
 (0)