Wykres commitów

32 Commity (develop)

Autor SHA1 Wiadomość Data
nightwalker-87 1b3200d5bc Updated build settings
- Removed unneeded commands in travis.sh
- Removed -Wno-dev flag in Release target
- cmake: Grouped udev and modprobe.d config
- rpm package now relocatable (CPackRPM)
2020-05-18 18:34:16 +02:00
nightwalker-87 e3aa887f7f Update for library linking
- Simplified code
- Added version info for static library
2020-05-18 00:49:08 +02:00
nightwalker-87 ce6ffe7030 Refactoring for package distribution
- New cpack package-config for DEB and RPM
- Toolchain file for cross-building
- Script to automate MinGW cross-building
- Added file headers for .cmake files
- Added dpkg and rpm to required pkgs
2020-04-29 16:24:14 +02:00
nightwalker-87 f827006231 Refactoring for cmake build settings
- Moved additional header files to /src
- Simplified header-paths
- Added missing license title for getopt
- Added comments and sections to CMakeLists
- Improved file structure (partially)
- Co-build st-util with st-info & st-flash
- GUI: Renamed .ui file to match executable
- Added install targets for executables
- Added missing "uninstall" cmd to Makefile
2020-04-25 22:34:18 +02:00
nightwalker-87 5a1efc01f7 Updated cmake settings
- Distinguish test binaries from binaries
- Build all binaries to /bin subfolder
- Added comments to explain settings
- Moved header files for logging and mmap
2020-04-24 15:01:28 +02:00
nightwalker-87 9b19f92254 Fixed compilation errors
- Moved include of GNUInstallDirs module in cmake-routine
- Removed old ci-leftover in Makefile
- cmake: Fixed name pattern for libusb module (Fixes #940)
- Wrong command option formatting for 7zip (Fixes #936)

Extraction of downloaded libusb archive on Windows failed since commit 
a8c1f41f1b.
2020-04-21 14:49:25 +02:00
nightwalker-87 c7874f805c Fixes to prevent merge conflict 2020-04-20 01:28:29 +02:00
nightwalker-87 e93c51691e Removed unused build target 2020-04-19 21:19:06 +02:00
Jochen Wilhelmy 2cccbd91be Add CMAKEFLAGS and install target 2020-04-19 16:44:59 +02:00
nightwalker-87 6eb9103a23 Updated build-settings
- Added new build configs for Travis
- Refactoring for cmake modules
- Updated Travis build script
- Makefile: binary build for Windows
2020-04-13 15:02:43 +02:00
nightwalker-87 6f941b22eb Fixed compilation errors (Regression)
-> error: ‘O_BINARY’ undeclared
-> tabspaces in Makefile
2020-04-08 15:34:10 +02:00
Jerry Jacobs 68b0f3bddc Initial work to fix cygwin builds 2016-10-22 09:44:37 +02:00
Andrew Andrianov 650a88aa2c debian: Remove all useless stuff from debian/rules, force cmake buildsystem
The top-level makefile that was used to drive cmake broke the autodetection
of the used buildsystem by debhelper. This commit fixes it and moves most
of the installation stuff to CMakeLists.txt to keep debian/ folder contents
to the bare minimum.

Signed-off-by: Andrew Andrianov <andrew@ncrmnt.org>
2016-10-04 13:56:05 +03:00
Denis Osterland e407d9e5a9 deb: Fix broken install rules.
Override dh_auto_install to use *.install files as they are.
The debian/*.install could contain source to destination format too,
but that would be much more difficult to handle with multi-arch.
Add debian copyright file.
Add stlink-tools manpages.
Insert homepage link.
Add library dependencies to binaries.
Add howto debuild to README.
Install udev rules.
Install modprobe config for usb module.
Configure cmake with /usr prefix and compile release variant.
2016-09-19 10:14:10 +02:00
Jerry Jacobs 1ade678f9c Refactor main CMakeLists.txt. Generate manpages when pandoc is present in Debug builds. Add top level Makefile 2016-09-15 10:44:01 +02:00
Dave Murphy 087a3596c3 autoconfiscate 2012-04-28 02:13:58 +01:00
Daniel O'Connor 5e5d1fa747 Use pkg-config to find libusb CFLAGS and LDFLAGS. 2012-01-31 16:49:45 +10:30
Karl Palsson 83a5eb2ed3 Merge branch 'tmaster' into future
This branch should work for F1 and F4 devices.  It has currently been tested
with F1 value line, (a VL discovery board) programmed via gdb via both an
stlinkv1 and an stlinkv2.

F4 has _not_ yet been tested on this branch

Conflicts:
	.gitignore
	doc/tutorial/tutorial.pdf
	example/blink/main.c
	gdbserver/Makefile
	gdbserver/gdb-server.c
	src/stlink-common.c
	src/stlink-common.h
	src/stlink-usb.c
2011-11-15 00:57:09 +00:00
Karl Palsson 93da0169c0 Remove confusing distclean/clean dichotomy
in the top level, make clean cleans all stlink code.
in an application level, it only cleans that application
2011-11-14 03:03:07 +00:00
Dmitry Bravikov c85c172c63 Parsing the arguments of command line 2011-11-06 23:26:12 +06:00
Karl Palsson c98c487fa5 Merge branch 'master' of https://github.com/texane/stlink
Conflicts:
	Makefile
	doc/tutorial/tutorial.pdf
	example/blink/Makefile
	flash/main.c
	src/stlink-common.c
	src/stlink-usb.c

Mostly whitespace conflicts it seems.
2011-11-04 02:51:15 +00:00
Karl Palsson 214ecc8622 Successfully locate and open stlinkv1 by usb
Very very raw, this just finds the device and opens the usb handle.
2011-11-03 01:07:15 +00:00
Chris Samuelson 59a7e8b470 Place -lusb-1.0 as the last of the linker options 2011-10-22 21:23:53 -05:00
Karl Palsson d7e37a684a Replace all logging
I needed some sanity...
2011-10-22 20:32:02 +00:00
Karl Palsson 42d2da531f flag out the only scsi specific code
Also flag out some places where code appears unused.
2011-10-22 19:09:31 +00:00
Karl Palsson 076f1086fa Remove all #ifdefs for sg-utils.
We're starting on integration from github.com/afaerber
So, instead of scanning all the usb devices, just open what we want.
2011-10-22 18:05:24 +00:00
Karl Palsson 9bc72d4519 Merge upstream texane/master 2011-10-22 02:11:04 +00:00
Ned Konz 105e266a05 Allowed CONFIG_USE_LIBSG=0 to suppress STLink/V1 compilation
This will let people with Macintosh OS/X computers compile and use stlink with STLink/V2 devices, as libsg3 is not available for that platform.
2011-10-20 19:21:43 -07:00
Ned Konz 93051281c7 Added rules for subdirectories 2011-10-19 18:39:57 -07:00
Karl Palsson 7151f2cb0f Debugging is helpful! 2011-10-07 19:41:55 +00:00
Karl Palsson d31396111d Pluggable backends for libsg or libusb
Compiles, but not fully tested yet.
2011-10-07 19:41:18 +00:00
Karl Palsson d060c3c040 Initial commit of workable stm32l debug
Move towards a standard libstlink, with backends for libusb (stm32l discovery) and scsi
passthrough (stm32vl discovery) and a common front end.

Verified that stm32l branch works much the same, but more to go for stm32vl.
2011-10-06 23:22:33 +00:00