Debian packaging, CMake and README.md fixes (#683)

* Use https for debian/copyright

* Update dates and fix stanzas in debian/copyright

No need to have 2 stanzas for the same license

* Add BSD-3-clause body in debian/copyright

* Remove generated boilerplate from debian/rules

* Enable compiler hardening flags in debian/rules

* Fix source package name according to repo and docs

* Set source package section to electronics

See https://packages.debian.org/unstable/electronics/ for a full list

* Add long descriptions to packages

* Add gbp.conf file

* Update changelog for 1.5.0 release

* Remove dirs files, not needed anymore

* Rename library package to match SONAME

As per Debian policy, shared library packages must be named after
their SONAME version.

* libstlink0: break+replace libstlink since it took over its files

* Remove triggers, not needed anymore

debhelper tools will generate the triggers file automatically since
the package name was corrected

* List GPL2+ in debian/copyright for flashloaders

* Do not append -shared to shared library on *NIX

Only on Windows it's necessary to have different file names, on *NIX
the extension is what disambiguates between a static library (.a) and
a shared library (.so).

* Clarify license of flashloaders in README.md

Fixes #682

* List all individual authors in debian/copyright

The Debian FTP masters nowadays require that all authors are listed in
debian/copyright. Print the list of authors from git.

* Move modprobe and udev files from shared library package to tools package

Multiple versions of a shared library might be installed on the same
system. Do not ship unversioned files in their packages, or they will
conflict and fail to install.

* stlink-tools: break+replace libstlink

It took ownership of udev and modprobe files from libstlink

* Fix pkgconfig include dir: remove project version

The headers are installed in /usr/include/stlink without a version
number.

* Add libstlink1 symbols file

Generated with:

 dpkg-gensymbols -P/tmp -v1.5.0 -V -e/tmp/libstlink.so.1.5.0
  -plibstlink1 -Odebian/libstlink1.symbols

* Bump Standards-Version to 4.1.3

Main changes are shared library rename and files moved, and HTTPS
URLs.

https://www.debian.org/doc/packaging-manuals/upgrading-checklist.txt

* Add debian/watch file for notifications

The Debian package tracker can automatically notify when a new
version is out.
pull/691/head
Luca Boccassi 2018-03-16 15:41:07 +00:00 zatwierdzone przez Jerry Jacobs
rodzic b69c1d51b0
commit e9fe4e5145
18 zmienionych plików z 407 dodań i 45 usunięć

Wyświetl plik

@ -83,7 +83,11 @@ endif ()
###
# Shared library
###
if (NOT WIN32)
set(STLINK_LIB_SHARED ${PROJECT_NAME})
else ()
set(STLINK_LIB_SHARED ${PROJECT_NAME}-shared)
endif()
add_library(${STLINK_LIB_SHARED} SHARED
${STLINK_HEADERS} # header files for ide projects generated by cmake

Wyświetl plik

@ -232,5 +232,5 @@ Issue related to this bug: [#545](https://github.com/texane/stlink/issues/545)
## License
The stlink library and tools are licensed under the [BSD license](LICENSE). With
some exceptions on external components (e.g flashloaders).
The stlink library and tools are licensed under the [BSD license](LICENSE).
The flashloaders/stm32l0x.s and flashloaders/stm32lx.s source files are licensed under the GPL-2+.

59
debian/changelog vendored
Wyświetl plik

@ -1,3 +1,62 @@
stlink (1.5.0) unstable; urgency=medium
[ Jerry Jacobs ]
* README.md: Update version badge to v1.4.0
[ Viallard Anthony ]
* Add support of STM32L496xx/4A6xx devices (#615)
[ rdlim ]
* Fix verification of flash error for STM32L496x device (#617) (#618)
[ dflogeras ]
* Add note about availability in Gentoo package manager (#622)
[ yaofei zheng ]
* update debian package version (#630)
[ Lyle Cheatham ]
* Minor formatting fix in FAQ section of README.md (#631)
[ Vasiliy Glazov ]
* README.md: Added information about Fedora and RedHat/CentOS packages.
(#635)
* Added LIB_INSTALL_DIR to correct libs install on 64-bit systems (#636)
[ Gwenhael Goavec-Merou ]
* fix write for microcontroler with RAM size less or equal to 32K (#637)
[ Mateusz Krawiec ]
* Fix memory map for stm32l496xx boards. (#639)
[ Rüdiger Fortanier ]
* Add unknown chip output (#641)
[ Slyshyk Oleksiy ]
* fix __FILE__ base name extraction, #628 (#648)
[ texane ]
* STM32F72xx73xx support, from bob.feretich@rafresearch.com
[ Kirill Kolyshkin ]
* debian/triggers: add (to run ldconfig) (#664)
[ Slyshyk Oleksiy ]
* Try to fix #666 issue (#667)
* Try to fix 666 issue (#668)
[ Jerry Jacobs ]
* Update ChangeLog.md
* Update README.md
[ texane ]
* STM32F042K6 Nucleo-32 Board reported to work, by frank@bauernoeppel.de
[ Anatol Pomozov ]
* Update .version file to match release number (#670)
-- Anatol Pomozov <anatol.pomozov@gmail.com> Mon, 19 Feb 2018 11:00:29 -0800
libstlink (1.4.0) unstable; urgency=low
* Major changes and added features

49
debian/control vendored
Wyświetl plik

@ -1,9 +1,9 @@
Source: libstlink
Source: stlink
Priority: optional
Maintainer: Andrew 'Necromant' Andrianov <andrew@ncrmnt.org>
Build-Depends: debhelper (>= 9), cmake, libusb-1.0-0-dev, libgtk-3-dev
Standards-Version: 3.9.5
Section: libs
Standards-Version: 4.1.3
Section: electronics
Homepage: https://github.com/texane/stlink
Vcs-Git: https://github.com/texane/stlink.git
Vcs-Browser: https://github.com/texane/stlink
@ -11,24 +11,43 @@ Vcs-Browser: https://github.com/texane/stlink
Package: libstlink-dev
Section: libdevel
Architecture: any
Depends: libstlink (= ${binary:Version}), ${misc:Depends}
Description: OpenSource ST-Link tools replacement. Development headers.
This package contains development headers for libstlink.
Depends: libstlink1 (= ${binary:Version}), ${misc:Depends}
Description: OpenSource ST-Link tools replacement.
Flashing tools for STMicroelectronics STM32VL and STM32L. The transport layers
STLINKv1 and STLINKv2 are supported.
.
This package contains the development files for stlink.
Package: libstlink
Package: libstlink1
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: OpenSource ST-Link tools replacement. Shared library.
This package libstlink shared library.
Breaks: libstlink
Replaces: libstlink
Description: OpenSource ST-Link tools replacement.
Flashing tools for STMicroelectronics STM32VL and STM32L. The transport layers
STLINKv1 and STLINKv2 are supported.
.
This package contains the shared library for stlink.
Package: stlink-tools
Section: libdevel
Architecture: any
Depends: libstlink (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Description: OpenSource ST-Link tools replacement. Commandline Utilities.
Depends: libstlink1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Breaks: libstlink
Replaces: libstlink
Description: OpenSource ST-Link tools replacement.
Flashing tools for STMicroelectronics STM32VL and STM32L. The transport layers
STLINKv1 and STLINKv2 are supported.
.
This package contains commandline utilities for stlink, and modprobe and
udev rules.
Package: stlink-gui
Section: libdevel
Architecture: any
Depends: libstlink (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Description: OpenSource ST-Link tools replacement. GUI Tool.
Depends: libstlink1 (= ${binary:Version}), stlink-tools (= ${binary:Version}),
${shlibs:Depends}, ${misc:Depends}
Description: OpenSource ST-Link tools replacement.
Flashing tools for STMicroelectronics STM32VL and STM32L. The transport layers
STLINKv1 and STLINKv2 are supported.
.
This package contains a GUI tool for stlink.

174
debian/copyright vendored
Wyświetl plik

@ -1,12 +1,174 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: libstlink
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: stlink
Upstream-Contact: Andrew 'Necromant' Andrianov <andrew@ncrmnt.org>
Source: https://github.com/texane/stlink
Files: *
Copyright: (c) 2011 The stlink project (github.com/texane/stlink) contributors.
Copyright: 2011-2018 agpanarin <agpanarin@gmail.com>
2011-2018 Alexey Cherevatenko <alecher@mail.ru>
2011-2018 Anatoli <dev@26th.net>
2011-2018 Andrea Mucignat <andrea@zulusw.com>
2011-2018 Andrew 'Necromant' Andrianov <andrew@ncrmnt.org>
2011-2018 Andrey Yurovsky <yurovsky@gmail.com>
2011-2018 Andy Isaacson <adi@onbeep.com>
2011-2018 Áron RADICS <raronkonektor@gmail.com>
2011-2018 A Sheaff <sheaff@traveler.eece.maine.edu>
2011-2018 Björn Hauffe <hauffe@gmail.com>
2011-2018 bob <bob@eleks.com>
2011-2018 Breton M. Saunders <bms20@camvine.com>
2011-2018 Bruno Dal Bo <bruno.dalbo@hp.com>
2011-2018 Burns <burns@fisher.cc>
2011-2018 Chris Dew <cmsdew@gmail.com>
2011-2018 Chris Hiszpanski <chiszp@gmail.com>
2011-2018 Chris Li <chris@tpx.lan>
2011-2018 Chris Samuelson <csamuelson@swingpal.com>
2011-2018 Christophe Levantis <Christophe.Levantis@cyantechnology.com>
2011-2018 Craig Lilley <cralilley@gmail.com>
2011-2018 dandev37 <dandev37@gmail.com>
2011-2018 Dan Hepler <dan.hepler@bionic-power.com>
2011-2018 Daniel Campoverde [alx741] <alx@sillybytes.net>
2011-2018 Daniel O'Connor <doconnor@gsoft.com.au>
2011-2018 Dave Flogeras <dflogeras@gmail.com>
2011-2018 Dave Murphy <davem@devkitpro.org>
2011-2018 Dave Vandervies <dj3vande@terse.ca>
2011-2018 Denis Fokin <foks.ua@gmail.com>
2011-2018 Denis Osterland <Denis.Osterland@diehl.com>
2011-2018 Dmitry Bravikov <bravikov@gmail.com>
2011-2018 Efe Can İçöz <efe@debian>
2011-2018 Ethan Zonca <ez@ethanzonca.com>
2011-2018 Fabien Chouteau <chouteau@adacore.com>
2011-2018 Fabien Le Mentec <texane@gmail.com>
2011-2018 fhars <fh+github@hars.de>
2011-2018 Friedrich Beckmann <friedrich.beckmann@gmx.de>
2011-2018 Geoffrey Brown <geoffreymbrown@gmail.com>
2011-2018 George Talusan <george.talusan@gmail.com>
2011-2018 Georg von Zengen <vonzengen@ibr.cs.tu-bs.de>
2011-2018 giuseppe barba <giuseppe.barba@gmail.com>
2011-2018 Greg Alexander <gitgreg@galexander.org>
2011-2018 Greg Meiste <w30289@motorola.com>
2011-2018 Hakkavélin <hakkavelin@braudrist.lan>
2011-2018 htk <htk@vdr.fritz.box>
2011-2018 Ian Griffiths <6thimage@gmail.com>
2011-2018 Jack Peel <jack.peel@synapse.com>
2011-2018 Jakub Tyszkowski <tyszja@gmail.com>
2011-2018 Jan Sarenik <janko@Lomidrevo.local>
2011-2018 Jean-Luc Béchennec <Jean-Luc.Bechennec@irccyn.ec-nantes.fr>
2011-2018 Jean-Marie Lemetayer <jeanmarie.lemetayer@gmail.com>
2011-2018 Jeff Kent <jakent@gmail.com>
2011-2018 Jeffrey Nelson <nelsonjm@macpod.net>
2011-2018 Jens Hoffmann <jehoffma@gmail.com>
2011-2018 Jerome Lambourg <lambourg@adacore.com>
2011-2018 Jerry Jacobs <jerry.jacobs@xor-gate.org>
2011-2018 Jim Paris <jim@jtan.com>
2011-2018 Jiří Netolický <netolicky@epos.cd.cz>
2011-2018 jnosky <codegrinder69@hotmail.com>
2011-2018 jnosky <Jerry@CGS_Office.(none)>
2011-2018 JohannesTaelman <johannes.taelman@gmail.com>
2011-2018 Jonas Danielsson <jonas.danielsson@lundinova.se>
2011-2018 Jonas Norling <jonas.norling@gmail.com>
2011-2018 Josh Bialkowski <josh@skyd.io>
2011-2018 Karl Palsson <karlp@tweak.net.au>
2011-2018 kevin <software@klystron.com>
2011-2018 Kyle Manna <kyle@kylemanna.com>
2011-2018 Lari Lehtomäki <lari@lehtomaki.fi>
2011-2018 le mentec fabien <fabien.lementec@imag.fr>
2011-2018 Martin Nowak <code@dawg.eu>
2011-2018 Matteo Collina <matteo.collina@gmail.com>
2011-2018 Max Chen <trlsmax@gmail.com>
2011-2018 Maxime Coquelin <mcoquelin.stm32@gmail.com>
2011-2018 Maxime Vincent <maxime.vincent@tass.be>
2011-2018 Michael Pratt <michael@pratt.im>
2011-2018 Michael Sparmann <theseven@gmx.net>
2011-2018 Mike Szczys <mike@jumptuck.com>
2011-2018 mlundinse <lundin@mlu.mine.nu>
2011-2018 mux <freelancer.c@gmail.com>
2011-2018 Ned Konz <ned@bike-nomad.com>
2011-2018 Nic McDonald <n.mcdonald83@gmail.com>
2011-2018 Nicolas Schodet <nico@ni.fr.eu.org>
2011-2018 Nikolay <halt.hammerzeit.at@gmail.com>
2011-2018 nullsub <chrisudeussen@gmail.com>
2011-2018 Olivier Croquette <olivier.croquette@nanotec.de>
2011-2018 Olivier Gay <ogay@logitech.com>
2011-2018 Onno Kortmann <onno@gmx.net>
2011-2018 orangeudav <orangeudav@gmail.com>
2011-2018 Pavel Kirienko <pavel.kirienko@gmail.com>
2011-2018 Pekka Nikander <pekka.nikander@senseg.com>
2011-2018 Pete <petiepooo@gmail.com>
2011-2018 Peter Zotov <whitequark@whitequark.org>
2011-2018 Petteri Aimonen <jpa@git.mail.kapsi.fi>
2011-2018 Piotr Haber <gluedig@gmail.com>
2011-2018 Rene Hopf <renehopf@mac.com>
2011-2018 Robin Kreis <r.kreis@uni-bremen.de>
2011-2018 Rob Spanton <rspanton@zepler.net>
2011-2018 Rytis Karpuska <rytis.karpuska@gmail.com>
2011-2018 Sean Simmons <sean.b.simmons@gmail.com>
2011-2018 Sergey Alirzaev <zl29ah@gmail.com>
2011-2018 Simon Wright <simon@pushface.org>
2011-2018 Stany MARCEL <stanypub@gmail.com>
2011-2018 Stefan Misik <mail@stefanmisik.eu>
2011-2018 Sven Wegener <sven.wegener@stealer.net>
2011-2018 Tectu <joel@unormal.org>
2011-2018 tekaikko <tuomo.kaikkonen@iki.fi>
2011-2018 texane <texane@gmail.com>
2011-2018 Theodore A. Roth <troth@openavr.org>
2011-2018 Thomas Gärtner <der@thotsch.com>
2011-2018 Tobias Badertscher <python@baerospace.ch>
2011-2018 Tom de Boer <tom@tomdeboer.nl>
2011-2018 Tristan Gingold <gingold@adacore.com>
2011-2018 Uli Köhler <ulikoehler@online.de>
2011-2018 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
2011-2018 Vadim Kaushan <admin@disasm.info>
2011-2018 Vegard Storheil Eriksen <zyp@jvnv.net>
2011-2018 Viacheslav Dobromyslov <viacheslav@dobromyslov.ru>
2011-2018 Victor Mayoral Vilches <v.mayoralv@gmail.com>
2011-2018 Wojciech A. Koszek <wkoszek@freebsd.czest.pl>
2011-2018 Woodrow Douglass <wdouglass@carnegierobotics.com>
2011-2018 The "Capt'ns Missing Link" Authors.
License: BSD-3-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
.
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
* Neither the name of Intel Corporation nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Files: *
Copyright: (c) 2011 The "Capt'ns Missing Link" Authors. All rights reserved.
License: BSD-3-clause
Files: flashloaders/stm32l0x.s
flashloaders/stm32lx.s
Copyright: 2010 Spencer Oliver <spen@spen-soft.co.uk>
2011 Øyvind Harboe <oyvind.harboe@zylin.com>
2011 Clement Burin des Roziers <clement.burin-des-roziers@hikob.com>
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

7
debian/gbp.conf vendored 100644
Wyświetl plik

@ -0,0 +1,7 @@
[buildpackage]
upstream-tag = %(version)s
debian-branch = debian
[dch]
git-log = --first-parent
customizations = /usr/share/doc/git-buildpackage/examples/wrap_cl.py

Wyświetl plik

@ -1,2 +0,0 @@
usr/lib
usr/include

Wyświetl plik

@ -1 +0,0 @@
usr/lib

Wyświetl plik

@ -1,3 +0,0 @@
usr/lib/*/lib*.so.*
lib/udev/rules.d/*.rules
etc/modprobe.d/*.conf

1
debian/libstlink1.install vendored 100644
Wyświetl plik

@ -0,0 +1 @@
usr/lib/*/lib*.so.*

125
debian/libstlink1.symbols vendored 100644
Wyświetl plik

@ -0,0 +1,125 @@
libstlink.so.1 libstlink1 #MINVER#
_parse_version@Base 1.5.0
_stlink_sg_close@Base 1.5.0
_stlink_sg_core_id@Base 1.5.0
_stlink_sg_current_mode@Base 1.5.0
_stlink_sg_enter_jtag_mode@Base 1.5.0
_stlink_sg_enter_swd_mode@Base 1.5.0
_stlink_sg_exit_debug_mode@Base 1.5.0
_stlink_sg_exit_dfu_mode@Base 1.5.0
_stlink_sg_force_debug@Base 1.5.0
_stlink_sg_jtag_reset@Base 1.5.0
_stlink_sg_read_all_regs@Base 1.5.0
_stlink_sg_read_debug32@Base 1.5.0
_stlink_sg_read_mem32@Base 1.5.0
_stlink_sg_read_reg@Base 1.5.0
_stlink_sg_reset@Base 1.5.0
_stlink_sg_run@Base 1.5.0
_stlink_sg_status@Base 1.5.0
_stlink_sg_step@Base 1.5.0
_stlink_sg_version@Base 1.5.0
_stlink_sg_write_debug32@Base 1.5.0
_stlink_sg_write_mem32@Base 1.5.0
_stlink_sg_write_mem8@Base 1.5.0
_stlink_sg_write_reg@Base 1.5.0
_stlink_usb_close@Base 1.5.0
_stlink_usb_core_id@Base 1.5.0
_stlink_usb_current_mode@Base 1.5.0
_stlink_usb_enter_swd_mode@Base 1.5.0
_stlink_usb_exit_debug_mode@Base 1.5.0
_stlink_usb_exit_dfu_mode@Base 1.5.0
_stlink_usb_force_debug@Base 1.5.0
_stlink_usb_jtag_reset@Base 1.5.0
_stlink_usb_read_all_regs@Base 1.5.0
_stlink_usb_read_all_unsupported_regs@Base 1.5.0
_stlink_usb_read_debug32@Base 1.5.0
_stlink_usb_read_mem32@Base 1.5.0
_stlink_usb_read_reg@Base 1.5.0
_stlink_usb_read_unsupported_reg@Base 1.5.0
_stlink_usb_reset@Base 1.5.0
_stlink_usb_run@Base 1.5.0
_stlink_usb_set_swdclk@Base 1.5.0
_stlink_usb_status@Base 1.5.0
_stlink_usb_step@Base 1.5.0
_stlink_usb_target_voltage@Base 1.5.0
_stlink_usb_version@Base 1.5.0
_stlink_usb_write_debug32@Base 1.5.0
_stlink_usb_write_mem32@Base 1.5.0
_stlink_usb_write_mem8@Base 1.5.0
_stlink_usb_write_reg@Base 1.5.0
_stlink_usb_write_unsupported_reg@Base 1.5.0
calculate_F4_sectornum@Base 1.5.0
calculate_F7_sectornum@Base 1.5.0
calculate_L4_page@Base 1.5.0
is_bigendian@Base 1.5.0
read_uint16@Base 1.5.0
read_uint32@Base 1.5.0
send_recv@Base 1.5.0
send_usb_data_only@Base 1.5.0
send_usb_mass_storage_command@Base 1.5.0
stlink_calculate_pagesize@Base 1.5.0
stlink_chip_id@Base 1.5.0
stlink_chipid_get_params@Base 1.5.0
stlink_close@Base 1.5.0
stlink_clr_hw_bp@Base 1.5.0
stlink_core_id@Base 1.5.0
stlink_core_stat@Base 1.5.0
stlink_cpu_id@Base 1.5.0
stlink_current_mode@Base 1.5.0
stlink_enter_swd_mode@Base 1.5.0
stlink_erase_flash_mass@Base 1.5.0
stlink_erase_flash_page@Base 1.5.0
stlink_exit_debug_mode@Base 1.5.0
stlink_exit_dfu_mode@Base 1.5.0
stlink_fcheck_flash@Base 1.5.0
stlink_flash_loader_init@Base 1.5.0
stlink_flash_loader_run@Base 1.5.0
stlink_flash_loader_write_to_sram@Base 1.5.0
stlink_force_debug@Base 1.5.0
stlink_fread@Base 1.5.0
stlink_fwrite_flash@Base 1.5.0
stlink_fwrite_sram@Base 1.5.0
stlink_get_erased_pattern@Base 1.5.0
stlink_is_core_halted@Base 1.5.0
stlink_jtag_reset@Base 1.5.0
stlink_load_device_params@Base 1.5.0
stlink_mwrite_flash@Base 1.5.0
stlink_mwrite_sram@Base 1.5.0
stlink_open_usb@Base 1.5.0
stlink_parse_ihex@Base 1.5.0
stlink_print_data@Base 1.5.0
stlink_probe_usb@Base 1.5.0
stlink_probe_usb_free@Base 1.5.0
stlink_q@Base 1.5.0
stlink_read_all_regs@Base 1.5.0
stlink_read_all_unsupported_regs@Base 1.5.0
stlink_read_debug32@Base 1.5.0
stlink_read_mem32@Base 1.5.0
stlink_read_reg@Base 1.5.0
stlink_read_unsupported_reg@Base 1.5.0
stlink_reset@Base 1.5.0
stlink_run@Base 1.5.0
stlink_run_at@Base 1.5.0
stlink_set_hw_bp@Base 1.5.0
stlink_set_swdclk@Base 1.5.0
stlink_stat@Base 1.5.0
stlink_status@Base 1.5.0
stlink_step@Base 1.5.0
stlink_target_voltage@Base 1.5.0
stlink_v1_open@Base 1.5.0
stlink_v1_open_inner@Base 1.5.0
stlink_verify_write_flash@Base 1.5.0
stlink_version@Base 1.5.0
stlink_write_debug32@Base 1.5.0
stlink_write_dreg@Base 1.5.0
stlink_write_flash@Base 1.5.0
stlink_write_mem32@Base 1.5.0
stlink_write_mem8@Base 1.5.0
stlink_write_reg@Base 1.5.0
stlink_write_unsupported_reg@Base 1.5.0
stm32l1_write_half_pages@Base 1.5.0
ugly_init@Base 1.5.0
ugly_log@Base 1.5.0
write_buffer_to_sram@Base 1.5.0
write_uint16@Base 1.5.0
write_uint32@Base 1.5.0

11
debian/rules vendored
Wyświetl plik

@ -8,20 +8,11 @@ DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
# see FEATURE AREAS in dpkg-buildflags(1)
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
# main packaging script based on dh7 syntax
%:
dh $@ --buildsystem cmake
# debmake generated override targets
# This is example for Cmake (See http://bugs.debian.org/641051 )
override_dh_auto_configure:
dh_auto_configure -- \
-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \

Wyświetl plik

@ -1,2 +0,0 @@
/usr/bin
/usr/share/

Wyświetl plik

@ -1,2 +0,0 @@
/usr/bin

Wyświetl plik

@ -1 +1,3 @@
/usr/bin/st-*
lib/udev/rules.d/*.rules
etc/modprobe.d/*.conf

1
debian/triggers vendored
Wyświetl plik

@ -1 +0,0 @@
activate-noawait ldconfig

3
debian/watch vendored 100644
Wyświetl plik

@ -0,0 +1,3 @@
version=3
opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/<project>-$1\.tar\.gz/ \
https://github.com/texane/stlink/tags .*/v?(\d\S+)\.tar\.gz

Wyświetl plik

@ -1,5 +1,5 @@
set(PKG_CONFIG_LIBDIR "\${prefix}/lib/\${deb_host_multiarch}")
set(PKG_CONFIG_INCLUDEDIR "\${prefix}/include/\${deb_host_multiarch}/${PROJECT_NAME}-${PROJECT_VERSION}")
set(PKG_CONFIG_INCLUDEDIR "\${prefix}/include/\${deb_host_multiarch}/${PROJECT_NAME}")
set(PKG_CONFIG_LIBS "-L\${libdir} -l:libstlink.so.${PROJECT_VERSION_MAJOR}")
set(PKG_CONFIG_CFLAGS "-I\${includedir}")
set(PKG_CONFIG_REQUIRES "libusb-1.0")